diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..5abc080 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,6 @@ +# Security Policy + +## Reporting Security Bugs + +Please report security bugs found in the site-reviews plugin's source code through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/wp-rocket). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin. +--- \ No newline at end of file diff --git a/assets/css/wpr-admin-common.css b/assets/css/wpr-admin-common.css new file mode 100644 index 0000000..02f2e49 --- /dev/null +++ b/assets/css/wpr-admin-common.css @@ -0,0 +1,25 @@ +.rocket-plugins-error{overflow:hidden; padding-left:20px; list-style-type:disc} +.rocket-plugins-error li{line-height:25px} +#wp-admin-bar-purge-all-all .dashicons{font:normal 1.5em/1 'dashicons'; -webkit-font-smoothing:antialiased; vertical-align:middle; padding-right:3px; display:inline-block} +.rocket-purchase, .dashicons.dashicons-update.rocket-dashicons:before{color:#D54E21} +.rocket-purchase{font-weight:900} +.rocket-renew{font-weight:400} +.rkt-disabled{color:#CCC} +.rkt-note{font-style:italic; font-weight:bold; font-size:smaller} +#wp-admin-bar-wp-rocket #wp-admin-bar-purge-all .ab-item>img, #wp-admin-bar-wp-rocket #wp-admin-bar-preload-cache .ab-item>img{max-width: 16px; max-height: 11px} +.rocket-promo-bubble { + display: inline-block; + vertical-align: top; + box-sizing: border-box; + margin: 1px 0 -1px 2px; + padding: 0 5px; + min-width: 18px; + height: 18px; + border-radius: 9px; + background-color: #00A66B; + color: #fff; + font-size: 11px; + line-height: 1.6; + text-align: center; + z-index: 26; +} diff --git a/assets/css/wpr-admin-rtl.css b/assets/css/wpr-admin-rtl.css new file mode 100644 index 0000000..9a89871 --- /dev/null +++ b/assets/css/wpr-admin-rtl.css @@ -0,0 +1,332 @@ +/*-----------------------------------------------*\ + +Author: Thomas Geisen (www.thomasgeisen.fr) +Method : SUITCSS (modified) + +--- This file is only for RTL languages + +\*-----------------------------------------------*/ +.wpr-wrap { + margin: 0 -20px 0 0; +} + +#hs-beacon iframe:nth-child(1) { + right: inherit !important; + left: 18px !important; +} +#hs-beacon iframe:nth-child(2) { + right: inherit !important; + left: 6px !important; +} + +.wpr-Page-col--fixed { + margin-left: 0; + margin-right: 24px; +} +@media (max-width: 1239px) { + .wpr-Page-col--fixed { + margin-right: 0; + } +} + +.wpr-Content { + border: 1px solid #E0E4E9; + border-right: none; +} + +.wpr-Content-tips { + right: unset; + left: 24px; +} + +.wpr-Sidebar-notice { + border: 1px solid #E8EBEE; + border-right: 2px solid #1EADBF; +} +.wpr-Sidebar .wpr-Sidebar-info h4 { + padding-left: inherit; + padding-right: 56px; +} + +.wpr-menuItem { + padding: 16px 20px 18px 44px; +} +.wpr-menuItem:before { + right: inherit !important; + left: 18px !important; +} +.wpr-menuItem:after { + border-width: 12px 0 12px 10px; + border-color: transparent transparent transparent #fff; + left: 0; + right: inherit; + transform: translateX(-12px); +} +.wpr-menuItem:hover { + transform: translateX(0); +} +.wpr-menuItem.wpr-subMenuItem { + padding: 10px 25px 8px 20px; +} + +.wpr-sectionHeader:before { + left: inherit; + right: 0; +} +.wpr-sectionHeader .wpr-title1:before { + margin-left: 24px; + margin-right: 0; +} + +.wpr-optionHeader .wpr-title2 { + padding-right: 0; + padding-left: 40px; +} + +.wpr-infoAction:before { + right: -26px; +} + +.wpr-fieldWarning { + padding: 16px 56px 24px 16px; +} +.wpr-fieldWarning:after { + left: inherit; + right: 20px; +} +.wpr-fieldWarning:before { + left: inherit; + right: -16px; +} +.wpr-fieldWarning-title:before { + left: inherit; + right: -40px; +} +.wpr-fieldWarning.wpr-radio-warning { + margin-left: 0; + margin-right: -32px; +} +.wpr-fieldWarning.wpr-radio-warning:after { + left: inherit; + right: 40px; +} + +@media only screen and (max-width: 400px) { + .wpr-fieldWarning.wpr-radio-warning { + margin-left: 0; + margin-right: -32px; + } + .wpr-fieldWarning.wpr-radio-warning .wpr-button { + padding-right: 8px; + padding-left: 32px; + } +} +@media only screen and (max-width: 350px) { + .wpr-radio-buttons { + padding-left: 0; + padding-right: 24px; + } + + .wpr-fieldWarning.wpr-radio-warning { + margin-left: 0; + margin-right: -24px; + padding-left: 0; + padding-right: 30px; + } + .wpr-fieldWarning.wpr-radio-warning .wpr-button { + white-space: normal; + padding-right: 8px; + padding-left: 25px; + } +} +.wpr-checkbox { + padding-left: 0; + padding-right: 32px; +} +.wpr-checkbox [type=checkbox]:not(:checked), +.wpr-checkbox [type=checkbox]:checked { + right: -9999px; +} +.wpr-checkbox [type=checkbox]:not(:checked) + label:before, +.wpr-checkbox [type=checkbox]:checked + label:before { + left: inherit; + right: 0; +} +.wpr-checkbox [type=checkbox]:not(:checked) + label:after, +.wpr-checkbox [type=checkbox]:checked + label:after { + left: inherit; + right: 2px; +} + +.wpr-radio { + padding-left: 0; + padding-right: 88px; +} +.wpr-radio [type=checkbox]:not(:checked), +.wpr-radio [type=checkbox]:checked { + right: -9999px; +} +.wpr-radio [type=checkbox]:not(:checked) + label:before, +.wpr-radio [type=checkbox]:checked + label:before { + left: inherit; + right: 0; +} +.wpr-radio [type=checkbox]:not(:checked) + label:after, +.wpr-radio [type=checkbox]:checked + label:after { + left: inherit; + right: 3px; +} +.wpr-radio [type=checkbox]:checked + label:after { + right: 33px; +} +.wpr-radio [type=checkbox]:checked + label .wpr-radio-ui, +.wpr-radio [type=checkbox]:not(:checked) + label .wpr-radio-ui:before, +.wpr-radio [type=checkbox]:checked + label .wpr-radio-ui:after { + right: 4px; +} +.wpr-radio [type=checkbox]:not(:checked) + label .wpr-radio-ui:before { + right: 27px; +} +.wpr-radio--reverse { + padding-left: 0; + padding-right: 72px; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label:before, +.wpr-radio--reverse [type=checkbox]:checked + label:before { + right: 0; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label:after, +.wpr-radio--reverse [type=checkbox]:checked + label:after { + right: 33px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:checked + label:after { + right: 3px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:checked + label .wpr-radio-ui, +.wpr-radio--reverse [type=checkbox]:not(:checked) + label .wpr-radio-ui:before, +.wpr-radio--reverse [type=checkbox]:checked + label .wpr-radio-ui:after { + right: 15px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label .wpr-radio-ui:before { + right: 6px; + left: inherit; +} + +.wpr-multiple .wpr-button { + margin-right: 16px; + margin-left: 0; +} +.wpr-multiple-close { + margin-right: 0; + margin-left: 16px; +} + +.wpr-addon .wpr-flex > div { + text-align: right; +} +.wpr-addon .wpr-addon-text { + margin-left: inherit; + margin-right: 32px; +} +@media (max-width: 1239px) { + .wpr-addon .wpr-addon-text { + margin-right: 16px; + } +} +@media (max-width: 1083px) { + .wpr-addon .wpr-addon-text { + margin-right: 32px; + } +} +@media (max-width: 783px) { + .wpr-addon .wpr-addon-text { + margin-right: 0; + } +} + +.wpr-tools-col:first-child { + padding-right: 72px; + padding-left: 24px; +} +.wpr-tools-col:last-child { + text-align: left; +} +@media (max-width: 783px) { + .wpr-tools-col:last-child { + text-align: right; + } +} +.wpr-tools-label:before { + left: inherit; + right: 0; +} + +.wpr-field .wpr-flex--egal > div:last-child { + text-align: left; +} +.wpr-field-list li:before { + display: inline-block; + margin-right: 0; + margin-left: 8px; +} +.wpr-field--split { + padding-right: 0; +} +.wpr-field--split + .wpr-field--split { + padding-left: 0; + padding-right: 16px; +} +.wpr-field--children { + padding-left: 0; + padding-right: 32px; +} +.wpr-field--children.wpr-field--textarea { + padding-left: 80px; + padding-right: 32px; +} +@media (max-width: 1239px) { + .wpr-field--children.wpr-field--textarea { + padding-left: 32px; + padding-right: 0; + } +} +@media (max-width: 783px) { + .wpr-field--children.wpr-field--textarea { + padding-left: 0; + } +} +.wpr-field--children.no-space { + padding-right: 0; +} +.wpr-field--checkbox .wpr-field-description { + margin-left: 0; + margin-right: 32px; +} +.wpr-field--radio .wpr-field-description { + margin-left: 0; + margin-right: 88px; +} + +.wpr-adblock img { + margin-right: 0; + margin-left: 16px; +} +.wpr-adblock-close { + right: inherit; + left: 24px; +} + +.wpr-notice { + background-position: 10% bottom; +} +.wpr-notice-container { + padding: 24px 40px 24px 25%; +} +.wpr-notice-close { + right: inherit; + left: 24px; +} \ No newline at end of file diff --git a/assets/css/wpr-admin-rtl.min.css b/assets/css/wpr-admin-rtl.min.css new file mode 100644 index 0000000..8eade54 --- /dev/null +++ b/assets/css/wpr-admin-rtl.min.css @@ -0,0 +1 @@ +.wpr-wrap{margin:0 -20px 0 0}#hs-beacon iframe:nth-child(1){right:inherit !important;left:18px !important}#hs-beacon iframe:nth-child(2){right:inherit !important;left:6px !important}.wpr-Page-col--fixed{margin-left:0;margin-right:24px}@media(max-width: 1239px){.wpr-Page-col--fixed{margin-right:0}}.wpr-Content{border:1px solid #e0e4e9;border-right:none}.wpr-Content-tips{right:unset;left:24px}.wpr-Sidebar-notice{border:1px solid #e8ebee;border-right:2px solid #1eadbf}.wpr-Sidebar .wpr-Sidebar-info h4{padding-left:inherit;padding-right:56px}.wpr-menuItem{padding:16px 20px 18px 44px}.wpr-menuItem:before{right:inherit !important;left:18px !important}.wpr-menuItem:after{border-width:12px 0 12px 10px;border-color:transparent transparent transparent #fff;left:0;right:inherit;transform:translateX(-12px)}.wpr-menuItem:hover{transform:translateX(0)}.wpr-menuItem.wpr-subMenuItem{padding:10px 25px 8px 20px}.wpr-sectionHeader:before{left:inherit;right:0}.wpr-sectionHeader .wpr-title1:before{margin-left:24px;margin-right:0}.wpr-optionHeader .wpr-title2{padding-right:0;padding-left:40px}.wpr-infoAction:before{right:-26px}.wpr-fieldWarning{padding:16px 56px 24px 16px}.wpr-fieldWarning:after{left:inherit;right:20px}.wpr-fieldWarning:before{left:inherit;right:-16px}.wpr-fieldWarning-title:before{left:inherit;right:-40px}.wpr-fieldWarning.wpr-radio-warning{margin-left:0;margin-right:-32px}.wpr-fieldWarning.wpr-radio-warning:after{left:inherit;right:40px}@media only screen and (max-width: 400px){.wpr-fieldWarning.wpr-radio-warning{margin-left:0;margin-right:-32px}.wpr-fieldWarning.wpr-radio-warning .wpr-button{padding-right:8px;padding-left:32px}}@media only screen and (max-width: 350px){.wpr-radio-buttons{padding-left:0;padding-right:24px}.wpr-fieldWarning.wpr-radio-warning{margin-left:0;margin-right:-24px;padding-left:0;padding-right:30px}.wpr-fieldWarning.wpr-radio-warning .wpr-button{white-space:normal;padding-right:8px;padding-left:25px}}.wpr-checkbox{padding-left:0;padding-right:32px}.wpr-checkbox [type=checkbox]:not(:checked),.wpr-checkbox [type=checkbox]:checked{right:-9999px}.wpr-checkbox [type=checkbox]:not(:checked)+label:before,.wpr-checkbox [type=checkbox]:checked+label:before{left:inherit;right:0}.wpr-checkbox [type=checkbox]:not(:checked)+label:after,.wpr-checkbox [type=checkbox]:checked+label:after{left:inherit;right:2px}.wpr-radio{padding-left:0;padding-right:88px}.wpr-radio [type=checkbox]:not(:checked),.wpr-radio [type=checkbox]:checked{right:-9999px}.wpr-radio [type=checkbox]:not(:checked)+label:before,.wpr-radio [type=checkbox]:checked+label:before{left:inherit;right:0}.wpr-radio [type=checkbox]:not(:checked)+label:after,.wpr-radio [type=checkbox]:checked+label:after{left:inherit;right:3px}.wpr-radio [type=checkbox]:checked+label:after{right:33px}.wpr-radio [type=checkbox]:checked+label .wpr-radio-ui,.wpr-radio [type=checkbox]:not(:checked)+label .wpr-radio-ui:before,.wpr-radio [type=checkbox]:checked+label .wpr-radio-ui:after{right:4px}.wpr-radio [type=checkbox]:not(:checked)+label .wpr-radio-ui:before{right:27px}.wpr-radio--reverse{padding-left:0;padding-right:72px}.wpr-radio--reverse [type=checkbox]:not(:checked)+label:before,.wpr-radio--reverse [type=checkbox]:checked+label:before{right:0;left:inherit}.wpr-radio--reverse [type=checkbox]:not(:checked)+label:after,.wpr-radio--reverse [type=checkbox]:checked+label:after{right:33px;left:inherit}.wpr-radio--reverse [type=checkbox]:checked+label:after{right:3px;left:inherit}.wpr-radio--reverse [type=checkbox]:checked+label .wpr-radio-ui,.wpr-radio--reverse [type=checkbox]:not(:checked)+label .wpr-radio-ui:before,.wpr-radio--reverse [type=checkbox]:checked+label .wpr-radio-ui:after{right:15px;left:inherit}.wpr-radio--reverse [type=checkbox]:not(:checked)+label .wpr-radio-ui:before{right:6px;left:inherit}.wpr-multiple .wpr-button{margin-right:16px;margin-left:0}.wpr-multiple-close{margin-right:0;margin-left:16px}.wpr-addon .wpr-flex>div{text-align:right}.wpr-addon .wpr-addon-text{margin-left:inherit;margin-right:32px}@media(max-width: 1239px){.wpr-addon .wpr-addon-text{margin-right:16px}}@media(max-width: 1083px){.wpr-addon .wpr-addon-text{margin-right:32px}}@media(max-width: 783px){.wpr-addon .wpr-addon-text{margin-right:0}}.wpr-tools-col:first-child{padding-right:72px;padding-left:24px}.wpr-tools-col:last-child{text-align:left}@media(max-width: 783px){.wpr-tools-col:last-child{text-align:right}}.wpr-tools-label:before{left:inherit;right:0}.wpr-field .wpr-flex--egal>div:last-child{text-align:left}.wpr-field-list li:before{display:inline-block;margin-right:0;margin-left:8px}.wpr-field--split{padding-right:0}.wpr-field--split+.wpr-field--split{padding-left:0;padding-right:16px}.wpr-field--children{padding-left:0;padding-right:32px}.wpr-field--children.wpr-field--textarea{padding-left:80px;padding-right:32px}@media(max-width: 1239px){.wpr-field--children.wpr-field--textarea{padding-left:32px;padding-right:0}}@media(max-width: 783px){.wpr-field--children.wpr-field--textarea{padding-left:0}}.wpr-field--children.no-space{padding-right:0}.wpr-field--checkbox .wpr-field-description{margin-left:0;margin-right:32px}.wpr-field--radio .wpr-field-description{margin-left:0;margin-right:88px}.wpr-adblock img{margin-right:0;margin-left:16px}.wpr-adblock-close{right:inherit;left:24px}.wpr-notice{background-position:10% bottom}.wpr-notice-container{padding:24px 40px 24px 25%}.wpr-notice-close{right:inherit;left:24px} \ No newline at end of file diff --git a/assets/css/wpr-admin.css b/assets/css/wpr-admin.css new file mode 100644 index 0000000..93c5d44 --- /dev/null +++ b/assets/css/wpr-admin.css @@ -0,0 +1,3037 @@ +@charset "UTF-8"; +/*-----------------------------------------------*\ + +Author: Thomas Geisen (www.thomasgeisen.fr) +Method : SUITCSS (modified) + +.ComponentName => Name of component (Ex : .SiteHeader) +.ComponentName--modifierName => Modifier of component (.SiteHeader--white, .SiteHeader--fixed) +.ComponentName-descendantName => Children of componant (.SiteHeader-logo, .SiteHeader-menu) +.ComponentName.isState => State of component (.isActive, .isOpen) + +More informations here : https://suitcss.github.io/ or http://www.alsacreations.com/article/lire/1641-bonnes-pratiques-en-css-bem-et-oocss.html (french) + +--- EVERY CLASS are prefixed with "wpr-" + +\*-----------------------------------------------*/ +h1, +h2, +h3, +h4 { + color: currentColor; + margin: 0; + font-weight: normal; +} + +button { + padding: 0; + border: none; + background: none; + cursor: pointer; +} + +a { + color: currentColor; + transition: color 200ms ease-out; + -webkit-transition: color 200ms ease-out; +} +a:hover { + color: currentColor; +} + +input[type=submit] { + cursor: pointer; + border: none; +} + +a:active, button:active { + outline: none; +} +a:focus, button:focus { + color: currentColor; + box-shadow: none; +} + +.wpr-wrap { + padding: 16px; + margin: 0 0 0 -20px; +} +@media (max-width: 783px) { + .wpr-wrap { + padding: 0; + margin: 0 0 0 -10px; + } +} + +.wpr-body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -ms-interpolation-mode: nearest-neighbor; + image-rendering: optimizeQuality; + text-rendering: optimizeLegibility; + display: flex; + color: #121116; + font-size: 0.875rem; + line-height: 1.5; +} + +.wpr-body * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +@media (max-width: 783px) { + #hs-beacon { + display: none !important; + } +} +.wpr-u-flex { + display: flex; + align-items: center; + justify-content: center; +} + +/*-----------------------------------------------*\ + + Icons in a font-icon with icomoon (https://icomoon.io/app) + +\*-----------------------------------------------*/ +@font-face { + font-family: "wpr-icomoon"; + src: url("../fonts/icomoon.eot"); + src: url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.ttf") format("truetype"), url("../fonts/icomoon.svg#icomoon") format("svg"); + font-weight: normal; + font-style: normal; +} +[class^=wpr-icon-]:before, [class*=" wpr-icon-"]:after, +[class^=wpr-icon-]:after, [class*=" wpr-icon-"]:before, +[id^=wpr-nav-]:before, [id*=" wpr-nav-"]:after, +[id^=wpr-nav-]:after, [id*=" wpr-nav-"]:before { + font-family: "wpr-icomoon"; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +[class^=wpr-icon-] span.hidden, +[class*=" wpr-icon-"] span.hidden { + display: inline-block; + height: 0; + width: 0; + overflow: hidden; +} + +.wpr-icon-chevron-right:before { + content: "\e900"; +} + +.wpr-icon-chevron-left:before { + content: "\e900"; + transform: rotate(180deg); +} + +.wpr-icon-chevron-down:before { + content: "\e901"; + transform: scale(0.6); +} + +.wpr-icon-chevron-up:before { + content: "\e902"; + top: 50%; + transform: translateY(-50%) scale(0.6); +} + +.wpr-icon-rollback:before { + content: "\e903"; +} + +.wpr-icon-addon:before, .wpr-addonSubMenuItem:before { + content: "\e904"; +} + +.wpr-icon-addons:before, #wpr-nav-addons:before { + content: "\e905"; +} + +.wpr-icon-book:before { + content: "\e906"; +} + +.wpr-icon-cdn:before, #wpr-nav-page_cdn:before { + content: "\e907"; +} + +.wpr-icon-database:before, #wpr-nav-database:before { + content: "\e908"; +} + +.wpr-icon-export:before { + content: "\e909"; +} + +.wpr-icon-files:before, #wpr-nav-cache:before { + content: "\e90a"; +} + +.wpr-icon-help:before { + content: "\e90b"; +} + +.wpr-icon-home:before, #wpr-nav-dashboard:before { + content: "\e90c"; +} + +.wpr-icon-import:before { + content: "\e90d"; +} + +.wpr-icon-important:before { + content: "\e90e"; +} + +.wpr-icon-information:before { + content: "\e90f"; +} + +.wpr-icon-information2:before { + content: "\e910"; +} + +.wpr-icon-interrogation:before { + content: "\e911"; +} + +.wpr-icon-media:before, #wpr-nav-media:before { + content: "\e912"; +} + +.wpr-icon-plus:before { + content: "\e913"; +} + +.wpr-icon-refresh:before, #wpr-nav-preload:before { + content: "\e914"; +} + +.wpr-icon-rules:before, #wpr-nav-advanced_cache:before { + content: "\e915"; +} + +.wpr-icon-stack:before, #wpr-nav-file_optimization:before { + content: "\e916"; +} + +.wpr-icon-tools:before, #wpr-nav-tools:before { + content: "\e917"; +} + +.wpr-icon-trash:before { + content: "\e918"; +} + +.wpr-icon-user:before { + content: "\e919"; +} + +.wpr-icon-check:before { + content: "\e920"; +} + +.wpr-icon-check2:before { + content: "\e921"; +} + +.wpr-icon-close:before { + content: "\e922"; +} + +.wpr-icon-heartbeat:before, #wpr-nav-heartbeat:before { + content: url("../img/heartbeat.svg"); +} + +.wpr-icon-heartbeat-hover:before, #wpr-nav-heartbeat.isActive:before, #wpr-nav-heartbeat:hover:before { + content: url("../img/heartbeat-hover.svg"); +} + +.wpr-icon-imagify:before, #wpr-nav-imagify:before { + content: url("../img/imagify.svg"); +} + +.wpr-icon-imagify-hover:before, #wpr-nav-imagify.isActive:before, #wpr-nav-imagify:hover:before { + content: url("../img/imagify-hover.svg"); +} + +.wpr-icon-tutorial:before, #wpr-nav-tutorials:before { + content: url("../img/play.svg"); +} + +.wpr-icon-tutorial-hover:before, #wpr-nav-tutorials.isActive:before, #wpr-nav-tutorials:hover:before { + content: url("../img/play-hover.svg"); +} + +.wpr-icon-tutorial-alt:before { + content: url("../img/play-alt.svg"); +} + +.wpr-title1 { + font-size: 1.625rem; + line-height: 1; + font-weight: 600; + letter-spacing: 0.01em; +} + +.wpr-title2 { + font-size: 1rem; + line-height: 1.5; + font-weight: bold; + letter-spacing: -0.02em; +} + +.wpr-title3, .wpr-select label, .wpr-select select, .wpr-field--radio label { + font-size: 0.875rem; + line-height: 1.7142857143; + font-weight: bold; + letter-spacing: -0.011em; +} + +/*-----------------------------------------------*\ + + Header / Navigation (left bar) + +\*-----------------------------------------------*/ +.wpr-Header { + display: flex; + flex-direction: column; + flex: 0 0 225px; +} +@media (max-width: 783px) { + .wpr-Header { + flex: 0 0 50px; + } +} +.wpr-Header-logo { + padding: 32px 0 24px; + text-align: center; +} +@media (max-width: 783px) { + .wpr-Header-logo { + padding: 16px 0 8px; + } +} +@media (max-width: 783px) { + .wpr-Header-logo-desktop { + display: none; + } +} +.wpr-Header-logo-mobile { + display: none; +} +@media (max-width: 783px) { + .wpr-Header-logo-mobile { + display: inline-block; + } +} +.wpr-Header-footer { + margin-top: auto; + padding: 48px 20px 0; + font-size: 0.6875rem; + line-height: 4.3636363636; + color: #666666; + opacity: 0.6; + font-weight: bold; +} +@media (max-width: 783px) { + .wpr-Header-footer { + display: none; + } +} + +/*-----------------------------------------------*\ + + Sidebar (right) + +\*-----------------------------------------------*/ +.wpr-Sidebar { + position: relative; + display: none; + flex: 0 0 290px; + padding: 24px 16px; +} +@media (max-width: 1239px) { + .wpr-Sidebar { + flex: 0 0 260px; + } +} +@media (max-width: 1083px) { + .wpr-Sidebar { + display: none !important; + } +} +.wpr-Sidebar-title { + margin-bottom: 32px; +} +.wpr-Sidebar-notice { + padding: 8px 16px; + margin-bottom: 16px; + background: #fff; + border: 1px solid #E8EBEE; + border-left: 2px solid #1EADBF; + border-radius: 0 3px 3px 0; + color: #666666; +} +.wpr-Sidebar-notice p { + margin: 0; +} +.wpr-Sidebar-notice-link { + display: inline-block; + margin-top: 8px; + font-size: 0.6875rem; + line-height: 1.8181818182; + color: #02707F; + letter-spacing: -0.05em; + text-transform: uppercase; + text-decoration: none; + font-weight: bold; +} +.wpr-Sidebar-notice-link:hover, .wpr-Sidebar-notice-link:focus { + color: #40BACB; +} +.wpr-Sidebar-info { + padding: 16px; + background: #EBFAF5; + margin-bottom: 16px; + border-radius: 3px; +} +.wpr-Sidebar-info h4 { + padding-left: 48px; + font-weight: 500; +} +.wpr-Sidebar-info p { + margin: 8px 0 0; + font-size: 0.6875rem; + line-height: 1.4545454545; + color: #666666; +} +.wpr-Sidebar-info i { + position: absolute; + display: block; + margin-top: -1px; + width: 40px; + height: 40px; + color: #00A66B; + font-size: 1.0625rem; + line-height: 2.3529411765; + background: #C6F0DE; + border-radius: 3px; + text-align: center; +} + +/*-----------------------------------------------*\ + + Main content of the page + +\*-----------------------------------------------*/ +.wpr-Content { + position: relative; + background: #fff; + padding: 32px 24px; + flex: 1 1 auto; + max-width: 1230px; +} +@media (max-width: 783px) { + .wpr-Content { + padding: 24px 16px; + } +} +.wpr-Content form > input:last-child { + margin-top: 24px; + color: #fff !important; +} +.wpr-Content.isNotFull { + max-width: 960px; +} +.wpr-Content-tips { + position: absolute; + top: 48px; + right: 24px; + font-weight: bold; + color: #666666; +} +@media (max-width: 1083px) { + .wpr-Content-tips { + display: none !important; + } +} + +/*-----------------------------------------------*\ + + Page / section + +\*-----------------------------------------------*/ +.wpr-Page { + margin-bottom: 32px; +} +.wpr-Page-row { + display: flex; + flex-direction: row; +} +@media (max-width: 1239px) { + .wpr-Page-row { + flex-direction: column; + } +} +.wpr-Page-col { + flex: 1 1 auto; +} +.wpr-Page-col--fixed { + margin-left: 24px; + flex: 0 0 325px; +} +@media (max-width: 1239px) { + .wpr-Page-col--fixed { + margin-left: 0; + } +} +.wpr-Page#dashboard #wpr-action-refresh_account:before { + transition: all 200ms ease-out; + opacity: 1; + transform: translateY(0); +} +.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isLoading:before { + animation: loading 1.2s infinite; +} +.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isHidden:before { + opacity: 0; +} +.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isShown:before { + opacity: 1; +} +@keyframes loading { + from { + transform: rotate(0); + } + to { + transform: rotate(360deg); + } +} +.wpr-Page#dashboard .wpr-documentation { + margin-top: 98px; + padding: 43px 16px; +} +@media (max-width: 1239px) { + .wpr-Page#dashboard .wpr-documentation { + margin-top: 40px; + } +} +.wpr-Page#dashboard .wpr-documentation .wpr-button { + margin-top: 8px; +} +.wpr-Page#dashboard .wpr-documentation i { + font-size: 3.375rem; + line-height: 1; +} +.wpr-Page#dashboard .wpr-radio { + padding-left: 72px; +} +.wpr-Page#dashboard .wpr-field--radio { + padding: 16px 8px; +} +.wpr-Page#dashboard .wpr-field--radio:first-child { + padding-top: 0; +} +.wpr-Page#dashboard .wpr-field--radio:last-child { + padding-bottom: 0; +} +.wpr-Page#dashboard .wpr-field--radio .wpr-field-description { + font-style: normal; + color: #666666; + margin-left: 72px; +} +.wpr-Page#dashboard .wpr-field-account { + padding-bottom: 0; +} +.wpr-Page#dashboard .wpr-infoAccount { + font-weight: bold; + margin-left: 8px; + color: #444444; +} +.wpr-Page#dashboard .wpr-infoAccount:before { + content: ""; + position: relative; + display: inline-block; + width: 13px; + height: 13px; + background: #E0E4E9; + border-radius: 50%; + color: #fff; + margin-right: 6px; + text-align: center; + top: 2px; + font-size: 0.5rem; + line-height: 1.625; +} +.wpr-Page#dashboard .wpr-infoAccount.wpr-isValid { + color: #00A66B; +} +.wpr-Page#dashboard .wpr-infoAccount.wpr-isValid:before { + content: "\e920"; + font-family: "wpr-icomoon"; + speak: none; + background: #3ECE9D; + top: -1px; +} +.wpr-Page#dashboard .wpr-infoAccount.wpr-isInvalid { + color: #D60E5B; +} +.wpr-Page#dashboard .wpr-infoAccount.wpr-isInvalid:before { + content: "!"; + font-weight: bold; + font-size: 0.625rem; + line-height: 1.3; + speak: none; + background: #D33F49; + top: -1px; +} +.wpr-Page#dashboard #wpr-account-data:before { + content: none; +} +.wpr-Page#tools #wpr-action-rocket_enable_mobile_cpcss:before { + transition: all 200ms ease-out; + opacity: 1; + transform: translateY(0); +} +.wpr-Page#tools #wpr-action-rocket_enable_mobile_cpcss.wpr-isLoading:before { + animation: loading 1.2s infinite; +} + +/*-----------------------------------------------*\ + + Popin analytics + +\*-----------------------------------------------*/ +.wpr-Popin { + display: none; + position: fixed; + width: 772px; + height: auto; + top: 50%; + left: 50%; + background: #fff; + border-radius: 3px; + transform: translateX(-50%) translateY(-50%); + z-index: 100000; +} +.wpr-Popin-overlay { + display: none; + position: fixed; + opacity: 0; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.8); + z-index: 99999; +} +.wpr-Popin-header { + display: flex; + align-items: center; + justify-content: space-between; + height: 64px; + padding: 0 32px; + background: #2D1656; + color: #fff; + font-weight: 600; +} +.wpr-Popin-close { + color: #665090; + font-size: 1.5rem; + line-height: 1; + transition: color 200ms ease-out; + -webkit-transition: color 200ms ease-out; +} +.wpr-Popin-close:hover, .wpr-Popin-close:focus { + color: #fff; + outline: none; +} +.wpr-Popin-content { + padding: 8px 32px; + color: #666666; +} +.wpr-Popin-flex { + display: flex; + flex-direction: row; + align-items: center; +} +.wpr-Popin-flex div { + margin-left: 32px; +} +.wpr-Popin p { + margin: 16px 0; +} +.wpr-Popin .wp-rocket-data-table { + padding: 12px 24px; + background: #F2F3F6 !important; + border: none; +} +.wpr-Popin .wp-rocket-data-table td { + width: 50%; + color: #121116; + padding: 8px 0; + padding-left: 4px; + border-bottom: 1px solid #c2cad4; +} +.wpr-Popin .wp-rocket-data-table td:not(.column-primary) { + font-family: "Monaco"; + font-size: 0.75rem; + line-height: 1.6666666667; + color: #666666; + letter-spacing: -0.01em; +} +.wpr-Popin .wp-rocket-data-table tr { + background: #F2F3F6; + border-bottom: 1px solid #E0E4E9; +} +.wpr-Popin .wp-rocket-data-table tr:last-child td { + border-bottom: none; +} +.wpr-Popin .wp-rocket-data-table strong { + font-weight: 500; +} +.wpr-Popin .wp-rocket-data-table em { + font-style: normal; +} +.wpr-Popin .wp-rocket-data-table code { + padding: 0; + margin: 0; + background: transparent; +} + +/*-----------------------------------------------*\ + + RocketCDN Banners & CTA + +\*-----------------------------------------------*/ +.wpr-rocketcdn-cta-small { + border-radius: 5px; + margin: 24px 0; + padding: 16px; +} +.wpr-rocketcdn-cta-small.wpr-isHidden { + display: none; +} +.wpr-rocketcdn-cta-small .notice-title { + font-weight: 700; +} +.wpr-rocketcdn-cta-small .wpr-flex { + display: flex; + justify-content: space-between; + align-items: center; +} +@media (max-width: 783px) { + .wpr-rocketcdn-cta-small .wpr-flex { + text-align: start; + flex-direction: column; + } +} + +.wpr-rocketcdn-cta { + margin: 10px 0; + position: relative; +} +.wpr-rocketcdn-cta.wpr-isHidden { + display: none; +} +.wpr-rocketcdn-cta-close { + position: absolute; + top: 16px; + right: 16px; + background: transparent; + border: 0; + color: rgba(255, 255, 255, 0.5); +} +.wpr-rocketcdn-cta-close--no-promo { + position: absolute; + top: 16px; + right: 16px; + background: transparent; + border: 0; + color: rgba(0, 0, 0, 0.5); +} +.wpr-rocketcdn-cta-close--no-promo:before { + content: "✕"; + font-weight: 700; + font-size: 1.5rem; + line-height: 1.3333333333; +} +.wpr-rocketcdn-cta-close:before { + content: "✕"; + color: #121116; + font-weight: 700; + font-size: 1.5rem; + line-height: 1.3333333333; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-promo { + background: #FFD147; + border-top-left-radius: 2px; + border-top-right-radius: 2px; + padding: 16px 48px 16px 16px; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-promo-title { + font-weight: 700; + font-size: 1.5rem; + line-height: 1.3333333333; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-promo-date { + margin: 0; + font-weight: 500; + font-size: 1rem; + line-height: 1.5; +} +.wpr-rocketcdn-cta-subtitle { + color: #444444; + margin-top: 0; + font-size: 0.875rem; + line-height: 1.7142857143; +} +.wpr-rocketcdn-cta-content { + background: #F9FAFB; + border-top: 1px solid #E8EBEE; + border-left: 1px solid #E8EBEE; + border-right: 1px solid #E8EBEE; + padding: 16px; +} +.wpr-rocketcdn-cta-content--no-promo { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + background: #F9FAFB; + border-top: 1px solid #E8EBEE; + border-left: 1px solid #E8EBEE; + border-right: 1px solid #E8EBEE; + padding: 16px; +} +.wpr-rocketcdn-cta .wpr-flex { + display: flex; + justify-content: space-between; + align-items: center; +} +@media (max-width: 783px) { + .wpr-rocketcdn-cta .wpr-flex { + text-align: start; + flex-direction: column; + } +} +.wpr-rocketcdn-cta .wpr-rocketcdn-features { + margin: 0; + padding-right: 16px; +} +@media (max-width: 783px) { + .wpr-rocketcdn-cta .wpr-rocketcdn-features { + border-right: none; + } +} +.wpr-rocketcdn-cta .wpr-rocketcdn-pricing { + background-color: #fff; + align-items: center; + display: flex; + flex-direction: column; + padding: 16px; + padding-bottom: 32px; + width: 33.3333333333%; + max-width: 219px; +} +@media (max-width: 783px) { + .wpr-rocketcdn-cta .wpr-rocketcdn-pricing { + width: auto; + } +} +.wpr-rocketcdn-cta .wpr-rocketcdn-pricing-regular { + color: #72777C; + margin-bottom: 8px; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-billing-detail { + margin-bottom: 16px; + font-size: 1rem; + line-height: 1.375; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-currency-major { + font-weight: 700; + font-size: 3rem; + line-height: 1.1666666667; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-currency-minor { + font-weight: 700; + vertical-align: top; + font-size: 1.5rem; + line-height: 1.3333333333; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-feature { + margin: 24px 0; + min-height: 30px; + padding-left: 62px; + position: relative; +} +.wpr-rocketcdn-cta .wpr-rocketcdn-feature:before { + position: absolute; + top: 50%; + left: 5px; + transform: translateY(-50%); +} +.wpr-rocketcdn-cta .wpr-rocketcdn-bandwidth:before { + content: url(../img/bandwidth.svg); +} +.wpr-rocketcdn-cta .wpr-rocketcdn-configuration:before { + content: url(../img/configuration.svg); +} +.wpr-rocketcdn-cta .wpr-rocketcdn-automatic:before { + content: url(../img/automatic.svg); +} +.wpr-rocketcdn-cta-footer { + color: #121116; + font-weight: 600; + padding: 16px 8px 8px; + font-size: 0.875rem; + line-height: 1.5714285714; +} +.wpr-rocketcdn-cta-footer a { + position: relative; + padding-left: 22px; +} +.wpr-rocketcdn-cta-footer a:before { + content: ""; + position: absolute; + width: 14px; + height: 15px; + background: url("../img/icon-i-circle.svg") no-repeat center center; + top: 3px; + left: 0; +} +.wpr-rocketcdn-cta-promo-footer { + color: #121116; + padding: 16px 8px 8px; + font-size: 0.875rem; + line-height: 1.5714285714; +} + +.wpr-rocketcdn-subscription { + text-align: end; +} +.wpr-rocketcdn-subscription .wpr-rocketcdn-open { + color: #666666; + text-decoration: underline; +} + +/* ----------------------------------------------- *\ + + Rocket Analytics CTA + +/* ----------------------------------------------- */ +.wpr-rocket-analytics-cta.wpr-isHidden { + display: none; +} + +/*-----------------------------------------------*\ + + Upgrade popin + +\*-----------------------------------------------*/ +.wpr-license-upgrade-button { + font-weight: bold; + text-decoration: underline; +} +.wpr-license-upgrade-button:hover { + text-decoration: none; +} + +.wpr-field.wpr-field-account .wpr-flex { + align-items: flex-start; +} + +.wpr-infoAccount-License { + flex: 1 0 60%; + margin-right: 16px; +} + +@media (max-width: 783px) { + .wpr-field.wpr-field-account .wpr-flex > div { + width: 100%; + } +} +.wpr-field.wpr-field-account .wpr-flex > div:last-child { + text-align: right; +} +@media (max-width: 783px) { + .wpr-field.wpr-field-account .wpr-flex > div:last-child { + text-align: left; + } +} + +.wpr-Popin-Upgrade .wpr-Popin-content { + padding-bottom: 32px; +} + +.wpr-Popin-Upgrade .wpr-Popin-flex { + justify-content: space-between; +} + +.wpr-Popin-Upgrade .wpr-Popin-flex > div { + align-items: center; + border: 1px solid #DADADA; + border-radius: 24px; + display: flex; + flex-direction: column; + margin: 0 16px 0 0; + padding: 24px; + text-align: center; + width: 50%; +} +.wpr-Popin-Upgrade .wpr-Popin-flex > div:last-child { + margin-right: 0; +} +@media (max-width: 783px) { + .wpr-Popin-Upgrade .wpr-Popin-flex > div { + margin: 0; + width: 100%; + } +} + +.wpr-Upgrade-Plus .wpr-upgrade-title::before { + content: url(../img/plus.svg); + display: block; + width: 117px; + height: 31px; + top: 0; + position: absolute; + left: 50%; + transform: translateX(-50%); +} + +.wpr-Upgrade-Infinite .wpr-upgrade-title::before { + content: url(../img/infinite.svg); + display: block; + width: 48px; + height: 31px; + top: 0; + position: absolute; + left: 50%; + transform: translateX(-50%); +} + +div.wpr-upgrade-saving { + background: #FFD147; + border-radius: 44px; + color: #121116; + font-weight: bold; + margin: 0 0 24px 0; + padding: 8px 16px; + text-align: center; +} + +.wpr-upgrade-title { + color: #F56F46; + font-size: 1.875rem; + line-height: 1.2; + margin-bottom: 16px; + padding-top: 55px; + position: relative; +} + +div.wpr-upgrade-prices { + color: #121116; + font-size: 3rem; + line-height: 1; + font-weight: bold; + margin: 0 0 16px 0; +} + +.wpr-upgrade-price-symbol { + font-size: 1.875rem; + line-height: 1; + vertical-align: super; +} + +.wpr-upgrade-price-regular { + color: #72777C; + font-size: 1rem; + line-height: 1; + vertical-align: top; +} + +div.wpr-upgrade-websites { + color: #121116; + font-size: 0.875rem; + line-height: 1; + font-weight: bold; + margin: 0 0 24px 0; +} + +.wpr-upgrade-link { + background: #fff; + border: 1px solid #F56F46; + border-radius: 800px; + color: #F56F46; + display: block; + font-size: 1rem; + line-height: 1.125; + font-weight: bold; + padding: 16px 24px; + text-decoration: none; +} +.wpr-upgrade-link:hover { + background: #F56F46; + color: #fff; +} +.wpr-upgrade-link::after { + content: "→"; + font-weight: normal; + margin-left: 8px; +} + +/*-----------------------------------------------*\ + + Promotions banner + +\*-----------------------------------------------*/ +.rocket-promo-banner { + background: #FFD147; + display: flex; + justify-content: space-around; + margin-top: 16px; + padding: 24px; + position: relative; +} +@media (max-width: 783px) { + .rocket-promo-banner { + flex-flow: column; + } +} +.rocket-promo-banner > div { + display: flex; + flex-flow: column; + width: 50%; +} +@media (max-width: 783px) { + .rocket-promo-banner > div { + width: 100%; + } +} + +.rocket-promo-title { + font-weight: bold; + margin-bottom: 24px; +} + +.rocket-promo-discount { + background: #fff; + border-radius: 44px; + display: inline-block; + margin-right: 8px; + padding: 8px 16px; + text-transform: uppercase; +} + +.rocket-promo-message, +.rocket-promo-deal { + font-size: 1rem; + line-height: 1.5; + margin-bottom: 0; +} + +.rocket-promo-deal { + margin-top: 8px; +} + +.rocket-promo-cta-block { + align-items: center; + margin-right: 24px; +} + +.rocket-promo-countdown { + display: flex; + flex-flow: row wrap; + width: 66%; +} +.rocket-promo-countdown > .rocket-countdown-item { + background: #fff; + border-radius: 8px; + flex: 1; + margin-right: 8px; + padding: 8px; + text-align: center; +} +.rocket-promo-countdown > .rocket-countdown-item > .rocket-countdown-value { + display: block; + font-size: 1.5rem; + line-height: 1; + font-weight: bold; +} + +.rocket-promo-cta { + background: #172153; + border-radius: 44px; + color: #fff; + font-weight: bold; + padding: 16px 32px; +} + +/*-----------------------------------------------*\ + + Renewals banner + +\*-----------------------------------------------*/ +.rocket-renewal-banner { + background: #FFD147; + display: flex; + flex-flow: row wrap; + align-items: center; + justify-content: space-evenly; + margin-top: 16px; + padding: 8px; +} + +.rocket-renewal-expired-banner { + background: #FFD147; + margin-top: 16px; + padding: 24px; + position: relative; +} + +.rocket-renewal-expired-banner-container { + display: flex; + justify-content: space-around; +} +@media (max-width: 783px) { + .rocket-renewal-expired-banner-container { + flex-flow: column; + } +} +.rocket-renewal-expired-banner-container > div { + display: flex; + flex-flow: column; + width: 50%; +} +@media (max-width: 783px) { + .rocket-renewal-expired-banner-container > div { + width: 100%; + } +} + +.rocket-renew-message { + margin: 0 16px; +} +.rocket-renew-message > p { + font-size: 0.875rem; + line-height: 1.5; +} + +.rocket-expired-message > p { + font-size: 0.875rem; + line-height: 1.5; + padding-left: 80px; +} + +.rocket-expired-title { + font-size: 1.375rem; + line-height: 1.5; + font-weight: bold; +} +.rocket-expired-title::before { + content: url(../img/warning.svg); + display: inline-block; + height: 48px; + width: 63px; + margin-right: 17px; + vertical-align: middle; +} + +.rocket-expired-cta-container { + justify-content: center; + align-items: center; +} + +.rocket-renew-cta { + display: block; + background: #172153; + border-radius: 44px; + color: #fff; + font-size: 1rem; + line-height: 1.125; + font-weight: bold; + padding: 16px 24px; + text-decoration: none; +} +.rocket-renew-cta:hover, .rocket-renew-cta:active, .rocket-renew-cta:focus { + color: #fff; +} +.rocket-renew-cta::after { + content: "→"; + font-weight: normal; + margin-left: 8px; +} + +/*-----------------------------------------------*\ + + Navigation menu item + +\*-----------------------------------------------*/ +.wpr-menuItem { + position: relative; + display: block; + padding: 16px 44px 18px 20px; + text-decoration: none; + color: #121116; + border-top: 1px solid #E0E4E9; + border-left: 2px solid transparent; + overflow: hidden; + transition: all 100ms ease-out; + -webkit-transition: all 100ms ease-out; +} +@media (max-width: 783px) { + .wpr-menuItem { + width: 57px; + height: 50px; + padding: 0; + } +} +.wpr-menuItem:before { + position: absolute; + top: calc(50% - 12px); + right: 18px; + text-align: center; + font-size: 1.4375rem; + line-height: 1; + color: #121116; + opacity: 0.4; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +.wpr-menuItem:hover, .wpr-menuItem.isActive { + color: #121116; + background: #fff; + border-left: 2px solid #F56640; +} +.wpr-menuItem:hover .wpr-menuItem-title, .wpr-menuItem.isActive .wpr-menuItem-title { + color: #F56640; +} +.wpr-menuItem:hover:before, .wpr-menuItem.isActive:before { + color: #F56640; + opacity: 1; +} +.wpr-menuItem:focus { + color: #121116; +} +.wpr-menuItem:focus:before { + color: #121116; +} +.wpr-menuItem-title { + font-size: 0.8125rem; + line-height: 1.4615384615; + font-weight: bold; + letter-spacing: -0.08px; + text-transform: uppercase; + color: #121116; +} +@media (max-width: 783px) { + .wpr-menuItem-title { + display: none !important; + } +} +.wpr-menuItem-description { + margin-top: 2px; + color: #72777C; + font-size: 0.8125rem; + line-height: 1.2307692308; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +@media (max-width: 783px) { + .wpr-menuItem-description { + display: none; + } +} +.wpr-menuItem.wpr-subMenuItem { + display: none; + padding: 10px 20px 8px 25px; +} +@media (max-width: 783px) { + .wpr-menuItem.wpr-subMenuItem { + padding: 8px 20px 8px 23px; + height: 35px; + } +} +.wpr-menuItem.wpr-subMenuItem .wpr-menuItem-title { + display: inline-block; + font-size: 0.8125rem; + line-height: 1.8461538462; + text-transform: inherit; + font-weight: 600; +} +.wpr-menuItem.wpr-subMenuItem:before { + position: relative; + display: inline-block; + top: 2px; + right: 2px; + margin-right: 8px; + font-size: 1rem; + line-height: 1; +} + +#wpr-nav-cache:before { + right: 20px; +} +#wpr-nav-tools:before { + right: 20px; +} +/*-----------------------------------------------*\ + + Section header of the page + +\*-----------------------------------------------*/ +.wpr-sectionHeader { + position: relative; + border-bottom: 1px solid #E0E4E9; + padding-bottom: 24px; +} +.wpr-sectionHeader:before { + content: ""; + position: absolute; + display: block; + width: 48px; + height: 2px; + bottom: -1px; + left: 0; + background: #F56640; +} +.wpr-sectionHeader .wpr-title1 { + line-height: 48px; +} +.wpr-sectionHeader .wpr-title1:before { + display: inline-block; + width: 48px; + height: 48px; + margin-right: 24px; + background: #FDE0D9; + color: #F56640; + text-align: center; + border-radius: 3px; +} +.wpr-sectionHeader-title { + margin-top: 8px; + padding-left: 72px; +} +.wpr-sectionHeader-description { + color: #666666; + margin-top: 8px; + padding-left: 72px; +} +.wpr-sectionHeader-logo { + vertical-align: top; + margin-right: 24px; +} + +/*-----------------------------------------------*\ + + Header of option group + +\*-----------------------------------------------*/ +.wpr-optionHeader { + position: relative; + display: flex; + justify-content: space-between; + margin-top: 48px; + padding-bottom: 9px; + border-bottom: 1px solid #E0E4E9; +} +.wpr-optionHeader .wpr-title2 { + line-height: 24px; + color: #F56640; + padding-right: 40px; +} +.wpr-optionHeader .wpr-infoAction { + margin-right: 8px; +} + +.wpr-optionHeader.wpr-isHidden { + display: none; +} + +/*-----------------------------------------------*\ + + Group of fields (fieldset) + +\*-----------------------------------------------*/ +.wpr-fieldsContainer { + margin-top: 8px; +} +.wpr-fieldsContainer-description { + color: #666666; +} +.wpr-fieldsContainer-description a:hover, +.wpr-fieldsContainer-description a:focus { + color: #1EADBF; +} +.wpr-fieldsContainer-fieldset { + margin-top: 16px; + background: #F9FAFB; + padding: 16px; + border: 1px solid #E8EBEE; + border-radius: 2px; +} +.wpr-fieldsContainer-fieldset--split { + display: flex; +} +.wpr-fieldsContainer-fieldset--split .wpr-field + .wpr-field { + border: none; +} +.wpr-fieldsContainer-fieldset--split .wpr-field { + flex: 0 0 50%; + padding: 0; +} +.wpr-fieldsContainer-fieldset--split .wpr-field:first-child { + padding-right: 15px; +} +.wpr-fieldsContainer-fieldset--split .wpr-field:last-child { + padding-left: 15px; +} +.wpr-fieldsContainer-helper { + margin-top: 16px; + color: #D60E5B; + font-weight: 500; +} +.wpr-fieldsContainer-helper:before { + position: relative; + top: 3px; + font-size: 1.125rem; + line-height: 1; + margin-right: 4px; +} + +.wpr-fieldsContainer.wpr-isHidden { + display: none; +} + +/*-----------------------------------------------*\ + + Link action inside .optionHeader (ex: Need help ?) + +\*-----------------------------------------------*/ +.wpr-infoAction { + position: relative; + height: 24px; + font-size: 0.8125rem; + line-height: 1.8461538462; + vertical-align: middle; + letter-spacing: -0.03em; + font-weight: 500; + color: #666666; + white-space: nowrap; + text-decoration: none; + transition: all 200ms ease-out; + -webkit-transition: all 200ms ease-out; +} +.wpr-infoAction:before { + position: absolute; + margin-left: -26px; + font-size: 1.125rem; + line-height: 1.3333333333; + transition: color 200ms ease-out; + -webkit-transition: color 200ms ease-out; +} +.wpr-infoAction--help { + text-transform: uppercase; + color: #02707F; + font-weight: bold; + font-size: 0.75rem; + line-height: 2; + letter-spacing: 0; +} +@media (max-width: 783px) { + .wpr-infoAction--help { + display: none; + } +} +.wpr-infoAction--help:before { + color: #1EADBF; +} +.wpr-infoAction:hover, .wpr-infoAction:focus { + color: #F56640; + outline: none; +} +.wpr-infoAction:hover:before, .wpr-infoAction:focus:before { + color: #FFA58B; +} + +/*-----------------------------------------------*\ + + Button call to action + +\*-----------------------------------------------*/ +.wpr-button { + position: relative; + display: inline-block; + width: auto; + padding: 8px 24px; + text-align: center; + background: #F56640; + box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); + text-transform: uppercase; + text-decoration: none; + letter-spacing: -0.08px; + font-weight: bold; + border-radius: 4px; + color: #fff !important; + white-space: nowrap; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + transition: all 200ms ease-out; + -webkit-transition: all 200ms ease-out; + font-size: 0.8125rem; + line-height: 1.5384615385; +} +.wpr-button:hover, .wpr-button:focus { + color: #fff !important; + transform: translateY(-2px); + box-shadow: 0 7px 14px rgba(50, 50, 93, 0.25), 0 3px 6px rgba(0, 0, 0, 0.2); +} +.wpr-button--small { + padding: 5px 0; + letter-spacing: -0.08px; + font-size: 0.6875rem; + line-height: 1.8181818182; +} +.wpr-button--icon { + min-width: 160px; + padding-left: 8px; + padding-right: 40px; + text-align: left; +} +.wpr-button--icon:before { + position: absolute; + right: 8px; + font-size: 0.9375rem; + line-height: 1.3333333333; +} +.wpr-button--fixed { + position: fixed; + display: flex; + padding: 8px 16px; + right: 24px; + bottom: 32px; + border-radius: 16px; +} +.wpr-button--fixed:before { + font-size: 1.125rem; + line-height: 1; + margin-right: 8px; +} +.wpr-button--purple { + background: #2D1656; +} +.wpr-button--blue { + min-width: inherit; + background: #1EADBF; +} +.wpr-button--lightBlue { + min-width: inherit; + background: #40BACB; +} +.wpr-button--red { + background: #D33F49; +} +.wpr-button--gray { + background: #E0E4E9; + color: #121116 !important; +} +.wpr-button--gray:hover, .wpr-button--gray:active, .wpr-button--gray:focus { + color: #121116 !important; +} +.wpr-button--gray.radio-active { + background: #2D1656 !important; + color: #fff !important; +} +.wpr-button--gray.radio-active:hover, .wpr-button--gray.radio-active:active, .wpr-button--gray.radio-active:focus { + color: #fff !important; +} +.wpr-button--blueDark { + background: #02707F; +} +.wpr-button:focus { + outline: none; + color: #fff !important; +} + +/*-----------------------------------------------*\ + + Field container + +\*-----------------------------------------------*/ +.wpr-field { + padding: 16px 0; + transition: opacity 150ms ease-out; + -webkit-transition: opacity 150ms ease-out; +} +.wpr-field + .wpr-field, .wpr-field + .wpr-warningContainer { + border-top: 1px solid #E0E4E9; +} +.wpr-field:first-child { + padding-top: 0; +} +.wpr-field:last-child { + padding-bottom: 0; +} +.wpr-field-description { + margin-top: 4px; + color: #666666; + font-size: 0.8125rem; + line-height: 1.5384615385; +} +.wpr-field-description .wpr-js-popin { + color: #444444; + text-decoration: underline; +} +.wpr-field-description .wpr-js-popin:hover, .wpr-field-description .wpr-js-popin:focus { + color: #1EADBF; +} +.wpr-field-description a:hover, +.wpr-field-description a:focus { + color: #1EADBF; +} +.wpr-field-description-helper { + color: #00A66B; +} +.wpr-field-description-label { + font-size: 0.875rem; + line-height: 1.4285714286; + font-weight: 500; + color: #666666; +} +.wpr-field-list { + margin: 0; + color: #666666; + font-weight: 500; +} +.wpr-field-list li + li { + margin-top: 16px; +} +.wpr-field-list li:before { + position: relative; + top: 3px; + margin-right: 8px; + color: #02707F; + font-size: 1.125rem; + line-height: 1.1111111111; +} +.wpr-field-list a { + text-decoration: none; +} +.wpr-field-list a:hover, .wpr-field-list a:focus { + color: #1EADBF; +} +.wpr-field-betweenText { + margin: 0 16px; + font-weight: bold; +} +.wpr-field .wpr-button { + margin: 8px 0; +} +.wpr-field .wpr-flex { + display: flex; + justify-content: space-between; + align-items: center; +} +@media (max-width: 783px) { + .wpr-field .wpr-flex { + text-align: left; + flex-direction: column; + } +} +.wpr-field .wpr-flex--egal > div { + flex: 0 0 50%; +} +@media (max-width: 783px) { + .wpr-field .wpr-flex--egal > div { + width: 100%; + } +} +.wpr-field .wpr-flex--egal > div:last-child { + text-align: right; +} +@media (max-width: 783px) { + .wpr-field .wpr-flex--egal > div:last-child { + text-align: left; + } +} +.wpr-field .wpr-flex--egal > div .wpr-field-description { + font-style: normal; + color: #666666; +} +.wpr-field p { + margin-bottom: 0; +} +.wpr-field label { + font-weight: 500; +} +.wpr-field h4 { + font-size: 0.875rem; + line-height: 1.7142857143; +} +.wpr-field.wpr-isDisabled { + opacity: 0.55; +} +.wpr-field.wpr-isParent { + padding-bottom: 0; + margin-bottom: 16px; +} +.wpr-field.wpr-Delayjs { + margin-top: 16px; +} +.wpr-field.wpr-RemoveUnUsedCss { + margin-bottom: 0; +} +.wpr-field.wpr-NoPaddingBottom { + padding-bottom: 0; +} +.wpr-field.wpr-isLastElem { + margin-top: 16px; +} +.wpr-field.wpr-isHidden { + display: none; +} +.wpr-field .wpr-isHidden { + display: none; +} +.wpr-field--children { + display: none; + padding-left: 32px; +} +.wpr-field--children.wpr-isOpen { + display: block; +} +.wpr-field--children.wpr-field--textarea { + padding-right: 80px; +} +@media (max-width: 1239px) { + .wpr-field--children.wpr-field--textarea { + padding-right: 32px; + } +} +@media (max-width: 783px) { + .wpr-field--children.wpr-field--textarea { + padding-right: 0; + } +} +.wpr-field--children.no-space { + padding-left: 0; +} +.wpr-field--checkbox .wpr-field-description { + margin-left: 32px; +} +.wpr-field--radio { + padding: 24px 16px; +} +.wpr-field--radio:first-child { + padding-top: 8px; +} +.wpr-field--radio:last-child { + padding-bottom: 8px; +} +.wpr-field--radio .wpr-field-description { + margin-left: 88px; +} +.wpr-field--radio .wpr-field-description button { + color: #666666; +} +.wpr-field--split { + display: inline-block; + width: 50%; + padding-right: 16px; + padding-bottom: 0; +} +.wpr-field--split + .wpr-field--split { + padding-left: 16px; + padding-right: 0; +} +.wpr-field--split + .wpr-field--split:nth-child(2) { + padding-top: 0; + border-top: none; +} +.wpr-field--cache .wpr-field--number, +.wpr-field--cache .wpr-field--select { + display: inline-block; + padding-top: 0; + width: auto; + padding-bottom: 0; + font-weight: bold; +} +.wpr-field--cache .wpr-field--select { + position: relative; + padding-left: 8px; + top: -2px; + border-top: none; +} +.wpr-field--cache .wpr-field--number .wpr-text input[type=number] { + background: #F2F3F6; + height: 35px; + border: 1px solid #E0E4E9; + font-family: inherit; + font-size: 1em; +} +.wpr-field--cache .wpr-field-description { + margin: 8px 0; + color: #00A66B; +} +.wpr-field--cache .wpr-field-description-label { + color: #121116; +} +.wpr-field--textarea .wpr-field-description pre { + background: rgba(0, 0, 0, 0.07); + padding: 1em; + margin: 1em 0 0; + white-space: normal; +} +.wpr-field--textarea .wpr-field-description pre code { + background: transparent; + -webkit-touch-callout: all; + -webkit-user-select: all; + -khtml-user-select: all; + -moz-user-select: all; + -ms-user-select: all; + user-select: all; + color: #121116; +} + +/*-----------------------------------------------*\ + + Field warning + +\*-----------------------------------------------*/ +.wpr-fieldWarning { + display: none; + position: relative; + padding: 16px 16px 24px 56px; + background: #19073B; + margin: 8px 0 0; + color: #fff; +} +.wpr-fieldWarning.wpr-isOpen { + display: block; +} +.wpr-fieldWarning:after { + content: ""; + position: absolute; + display: block; + top: -8px; + left: 20px; + width: 0; + height: 0; + border-style: solid; + border-width: 0 12px 8px 12px; + border-color: transparent transparent #19073B transparent; +} +.wpr-fieldWarning:before { + content: ""; + position: absolute; + display: block; + width: calc(100% + 32px); + height: 100%; + top: 0; + left: -16px; + background: #19073B; +} +.wpr-fieldWarning-title { + position: relative; + color: #F56640; + font-size: 0.875rem; + line-height: 1.4285714286; + font-weight: bold; +} +.wpr-fieldWarning-title:before { + position: absolute; + left: -36px; + font-size: 1.5rem; + line-height: 0.8333333333; +} +.wpr-fieldWarning-description { + position: relative; + margin-top: 8px; +} +.wpr-fieldWarning .wpr-button { + margin-top: 16px; +} +.wpr-fieldWarning.wpr-radio-warning { + margin-left: -32px; +} +.wpr-fieldWarning.wpr-radio-warning:after { + left: 40px; +} + +.wpr-warningContainer + .wpr-warningContainer, +.wpr-warningContainer + .wpr-field, +.wpr-field + .wpr-warningContainer { + border-top: 1px solid #E0E4E9; + padding-top: 16px; +} + +.wpr-warningContainer + .wpr-warningContainer, +.wpr-field + .wpr-warningContainer { + padding-bottom: 16px; +} + +@media only screen and (max-width: 400px) { + .wpr-fieldWarning.wpr-radio-warning { + margin-left: -32px; + } + .wpr-fieldWarning.wpr-radio-warning .wpr-button { + white-space: normal; + padding-right: 32px; + } +} +@media only screen and (max-width: 350px) { + .wpr-radio-buttons { + padding-left: 24px; + } + + .wpr-fieldWarning.wpr-radio-warning { + margin-left: -24px; + padding-left: 30px; + padding-right: 0; + } + .wpr-fieldWarning.wpr-radio-warning .wpr-button { + padding-right: 24px; + } +} +/*-----------------------------------------------*\ + + Documentation + +\*-----------------------------------------------*/ +.wpr-documentation { + padding: 24px 16px; + border-radius: 4px; + color: #fff; + text-align: center; + background: #40BACB; +} +.wpr-documentation p { + margin: 8px 0 16px; + font-weight: 500; +} +.wpr-documentation i { + display: block; + font-size: 2.25rem; + line-height: 1; + margin-bottom: 8px; +} +.wpr-documentation .wpr-button { + padding-left: 16px; + padding-right: 16px; +} + +/*-----------------------------------------------*\ + + Addon style + +\*-----------------------------------------------*/ +.wpr-addon { + padding: 24px 0; +} +.wpr-addon .wpr-flex { + align-items: flex-start; +} +@media (max-width: 783px) { + .wpr-addon .wpr-flex { + align-items: center; + } +} +.wpr-addon .wpr-flex > div { + text-align: left; +} +.wpr-addon .wpr-addon-title { + margin-bottom: 16px; + font-weight: 500; +} +.wpr-addon .wpr-field-description { + font-style: normal; +} +.wpr-addon .wpr-field-helper { + font-size: 0.8125rem; + line-height: 1.5384615385; + color: #666666; + background-color: #E0E4E9; + padding: 8px; + margin: 8px 0; +} +.wpr-addon .wpr-field-helper span.wpr-helper-title { + font-weight: 600; +} +.wpr-addon .wpr-field-helper span.wpr-helper-title::after { + content: "\a"; + white-space: pre; +} +.wpr-addon .wpr-addon-logo { + text-align: center; + flex: 0 0 160px; +} +@media (max-width: 1239px) { + .wpr-addon .wpr-addon-logo { + max-width: 100px; + } + .wpr-addon .wpr-addon-logo img { + width: 100%; + height: auto; + } +} +@media (max-width: 1083px) { + .wpr-addon .wpr-addon-logo { + max-width: 160px; + } +} +@media (max-width: 783px) { + .wpr-addon .wpr-addon-logo { + flex: 0 0 auto; + margin-bottom: 16px; + } +} +.wpr-addon .wpr-addon-text { + margin-left: 32px; + flex: 1 1 auto; +} +@media (max-width: 1239px) { + .wpr-addon .wpr-addon-text { + margin-left: 16px; + } +} +@media (max-width: 1083px) { + .wpr-addon .wpr-addon-text { + margin-left: 32px; + } +} +@media (max-width: 783px) { + .wpr-addon .wpr-addon-text { + margin-left: 0; + } +} +.wpr-addon .wpr-addon-text a { + display: inline-block; + margin-top: 24px; +} +.wpr-addon .wpr-addon-text .button { + margin-top: 24px; +} +.wpr-addon .wpr-addon-text .wpr-add-on-helper { + font-weight: normal; + color: #1eadbf; +} +.wpr-addon .wpr-addon-text .wpr-add-on-helper a { + margin-top: 0; +} + +.wpr-webp-addon .wpr-addon .wpr-addon-text a { + margin-top: 0px; +} + +/*-----------------------------------------------*\ + + Notice for first time on dashboard + +\*-----------------------------------------------*/ +.notice-wpr-warning { + background: #FFD147; + display: flex; + flex-flow: row wrap; + align-items: center; + margin-top: 16px; + padding: 8px 32px; + border: 0; +} +.notice-wpr-warning p:first-child { + font-size: 1rem; + line-height: 1.125; + margin-left: 80px; +} +.notice-wpr-warning p:first-child::before { + content: url(../img/warning.svg); + display: inline-block; + height: 48px; + width: 63px; + margin-right: 17px; + vertical-align: middle; + margin-left: -80px; +} +@media (max-width: 1239px) { + .notice-wpr-warning p:first-child::before { + margin-bottom: -30px; + } +} +.notice-wpr-warning p:last-child { + margin-left: 63px; + flex-basis: 100%; + align-items: center; + justify-content: flex-start; + display: flex; +} +@media (max-width: 783px) { + .notice-wpr-warning p:last-child { + align-content: center; + flex-direction: column; + margin-left: 0; + } +} +.notice-wpr-warning p:last-child a { + margin: 0 16px; +} +@media (max-width: 783px) { + .notice-wpr-warning p:last-child a { + margin: 8px 16px; + } +} +.notice-wpr-warning p:last-child a:first-child { + display: block; + background: #172153; + border-radius: 44px; + color: #fff; + font-size: 1rem; + line-height: 1.125; + font-weight: bold; + padding: 16px 24px; + text-decoration: none; +} +.notice-wpr-warning p:last-child a:first-child:hover, .notice-wpr-warning p:last-child a:first-child:active, .notice-wpr-warning p:last-child a:first-child:focus { + color: #fff; +} +.notice-wpr-warning p:last-child a:first-child::after { + content: "→"; + font-weight: normal; + margin-left: 8px; +} + +.wpr-notice { + position: relative; + color: #444444; + background: #EBFAF5 url("../img/bg-activated.svg") no-repeat 90% bottom; + background-size: 350px; + margin-top: 24px; + border-radius: 4px; + overflow: hidden; +} +.wpr-notice-container { + padding: 24px 25% 24px 40px; +} +.wpr-notice-supTitle { + font-size: 1rem; + line-height: 1.375; + font-weight: bold; +} +.wpr-notice-title { + font-size: 1.5rem; + line-height: 1.3333333333; + color: #3ECE9D; + margin-top: 16px; + font-weight: bold; +} +.wpr-notice-description { + font-size: 0.875rem; + line-height: 1.5714285714; + margin: 16px 0 24px; +} +.wpr-notice-continue { + color: #666666; +} +.wpr-notice-close { + position: absolute; + top: 24px; + right: 24px; + color: #666666; + text-decoration: none; + font-size: 1.5rem; + line-height: 1; + transition: color 200ms ease-out; + -webkit-transition: color 200ms ease-out; +} +.wpr-notice-close:hover { + color: #444444; +} +.wpr-notice-close:focus { + outline: none; +} + +/*-----------------------------------------------*\ + + Tools style + +\*-----------------------------------------------*/ +.wpr-tools { + position: relative; + display: flex; + flex-direction: row; + padding: 32px 0; +} +@media (max-width: 1239px) { + .wpr-tools { + flex-direction: column; + } +} +@media (max-width: 1083px) { + .wpr-tools { + flex-direction: row; + } +} +@media (max-width: 783px) { + .wpr-tools { + flex-direction: column; + } +} +.wpr-tools:nth-child(2) { + margin-top: 16px; +} +.wpr-tools + .wpr-tools { + border-top: 1px solid #E0E4E9; +} +.wpr-tools-label { + display: block; +} +.wpr-tools-label:before { + position: absolute; + left: 0; + margin-top: 5px; + font-size: 2.25rem; + line-height: 1; + color: #F56640; +} +@media (max-width: 783px) { + .wpr-tools-label:before { + display: block; + position: initial; + } +} +.wpr-tools-col { + flex: 1 1 auto; +} +.wpr-tools-col:first-child { + padding-left: 72px; + padding-right: 24px; + min-width: 340px; +} +@media (max-width: 783px) { + .wpr-tools-col:first-child { + padding-left: 0; + padding-right: 0; + min-width: auto; + } +} +.wpr-tools-col:last-child { + text-align: right; +} +@media (max-width: 783px) { + .wpr-tools-col:last-child { + text-align: left; + } +} +.wpr-tools .wpr-button { + margin-top: 24px; + white-space: normal; +} +.wpr-tools .wpr-field-description { + font-style: normal; + color: #666666; +} +.wpr-tools #wpr-update-exclusion-msg { + min-height: 20px; +} + +/*-----------------------------------------------*\ + + Imagify Tab style + +\*-----------------------------------------------*/ +.wpr-imagify { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + margin-top: 30px; +} +.wpr-imagify-description { + width: 33.3333333333%; + padding-right: 60px; +} +@media (max-width: 1239px) { + .wpr-imagify-description { + width: auto; + padding-right: 0; + } +} +.wpr-imagify-screenshot { + width: 66.6666666667%; +} +@media (max-width: 1239px) { + .wpr-imagify-screenshot { + margin-top: 60px; + width: auto; + } +} +.wpr-imagify-screenshot img { + max-width: 100%; + height: auto; +} +.wpr-imagify-more, .wpr-imagify-name { + color: #00a8dc; + font-weight: 700; + margin-bottom: 0; +} +.wpr-imagify-more::before { + content: "✓"; + color: #000; + font-size: 2rem; + margin-right: 5px; +} +.wpr-imagify p { + font-size: 1rem; +} +.wpr-imagify p:first-child { + margin-top: 0; +} +.wpr-imagify ul { + margin-top: 0; + margin-left: 40px; + list-style-type: ">"; +} +.wpr-imagify li { + padding-left: 7px; +} +.wpr-imagify a { + text-decoration: none; +} +.wpr-imagify a:hover { + color: #00a8dc; +} +.wpr-imagify .button-primary { + background: #2abb9b; + border: 1px solid #bebebe; + box-shadow: none; + font-size: 1rem; + font-weight: 700; + height: auto; + line-height: 1; + margin-top: 60px; + padding: 20px 45px; + text-shadow: none; + text-transform: uppercase; +} + +.wpr-tutorials-section { + display: flex; + flex-flow: row wrap; +} + +div.wpr-tutorial-item { + width: 32%; + margin-bottom: 10px; + margin-right: 1%; +} + +.wpr-tutorial-link { + cursor: pointer; + transition: color 200ms ease-out; +} +.wpr-tutorial-link:hover { + color: #1EADBF; +} + +@media (max-width: 1083px) { + div.wpr-tutorial-item { + width: 48%; + } +} +@media (max-width: 783px) { + div.wpr-tutorial-item { + width: 100%; + } +} +/*-----------------------------------------------*\ + + RocketCDN modal style + +\*-----------------------------------------------*/ +.wpr-rocketcdn-modal { + display: none; +} +.wpr-rocketcdn-modal.is-open { + display: block; +} +.wpr-rocketcdn-modal__overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.6); + display: flex; + justify-content: center; + align-items: center; +} +.wpr-rocketcdn-modal__container { + max-width: 674px; + max-height: 100vh; + overflow-y: auto; + box-sizing: border-box; +} +.wpr-rocketcdn-modal iframe { + max-width: 100%; +} + +/*-----------------------------------------------*\ + + Custom checkbox + +\*-----------------------------------------------*/ +.wpr-checkbox { + position: relative; + padding-left: 32px; +} +.wpr-checkbox label { + user-select: none; +} + +.wpr-checkbox [type=checkbox]:not(:checked), +.wpr-checkbox [type=checkbox]:checked { + position: absolute; + left: -9999px; +} + +.wpr-checkbox [type=checkbox]:not(:checked) + label:before, +.wpr-checkbox [type=checkbox]:checked + label:before { + content: ""; + position: absolute; + left: 0; + top: 4px; + width: 14px; + height: 14px; + border: 2px solid #444444; + border-radius: 3px; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} + +.wpr-checkbox [type=checkbox]:not(:checked) + label:after, +.wpr-checkbox [type=checkbox]:checked + label:after { + content: "\e921"; + position: absolute; + top: 5px; + left: 2px; + color: #fff; + font-family: "wpr-icomoon"; + speak: none; + font-size: 0.875rem; + line-height: 1.2857142857; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} + +.wpr-checkbox [type=checkbox]:not(:checked) + label:after { + opacity: 0; + transform: scale(2); +} + +.wpr-checkbox [type=checkbox]:checked + label:after { + opacity: 1; + transform: scale(1); +} + +.wpr-checkbox [type=checkbox]:checked + label:before { + background: #19073B; + border-color: #19073B; +} + +.wpr-checkbox [type=checkbox]:checked:focus + label:before { + background: #665090; + border: 2px dotted #665090; +} + +.wpr-checkbox [type=checkbox]:focus + label:before { + border: 2px dotted #444444; +} + +.wpr-checkbox-warning { + color: #D33F49; + margin-left: 16px; +} + +.wpr-checkbox-warning::before { + margin-right: 8px; +} + +/*-----------------------------------------------*\ + + Custom radio (radio on/off) + +\*-----------------------------------------------*/ +.wpr-radio { + position: relative; + padding-left: 88px; +} +.wpr-radio label { + user-select: none; + font-weight: bold; +} +.wpr-radio [type=checkbox]:not(:checked), +.wpr-radio [type=checkbox]:checked { + position: absolute; + left: -9999px; +} +.wpr-radio [type=checkbox]:not(:checked) + label:before, +.wpr-radio [type=checkbox]:checked + label:before, +.wpr-radio [type=checkbox]:not(:checked) + label:after, +.wpr-radio [type=checkbox]:checked + label:after { + content: ""; + position: absolute; +} +.wpr-radio [type=checkbox]:not(:checked) + label:before, +.wpr-radio [type=checkbox]:checked + label:before { + left: 0; + width: 52px; + height: 22px; + background: #fff; + border-radius: 12px; + border: 1px solid #444444; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +.wpr-radio [type=checkbox]:not(:checked) + label:after, +.wpr-radio [type=checkbox]:checked + label:after { + width: 18px; + height: 18px; + border-radius: 100%; + background: #444444; + top: 3px; + left: 3px; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +.wpr-radio [type=checkbox]:disabled + label:after, +.wpr-radio [type=checkbox]:disabled + label:after { + background: #E0E4E9; +} +.wpr-radio [type=checkbox]:disabled + label:before, +.wpr-radio [type=checkbox]:disabled + label:before { + border: 1px solid #E0E4E9; +} +.wpr-radio [type=checkbox]:checked + label:before { + border-color: #1EADBF; +} +.wpr-radio [type=checkbox]:checked + label:after { + background: #1EADBF; + left: 33px; +} +.wpr-radio [type=checkbox]:checked + label .wpr-radio-ui, +.wpr-radio [type=checkbox]:not(:checked) + label .wpr-radio-ui:before, +.wpr-radio [type=checkbox]:checked + label .wpr-radio-ui:after { + position: absolute; + left: 4px; + width: 52px; + text-transform: uppercase; + letter-spacing: -0.01em; + font-weight: bold; + font-size: 0.6875rem; + line-height: 2.1818181818; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +.wpr-radio [type=checkbox]:not(:checked) + label .wpr-radio-ui:before { + content: attr(data-l10n-inactive); + left: 27px; + color: #666666; +} +.wpr-radio [type=checkbox]:checked + label .wpr-radio-ui:after { + content: attr(data-l10n-active); + color: #02707F; +} +.wpr-radio--reverse { + padding-right: 72px; + padding-left: 0; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label:before, +.wpr-radio--reverse [type=checkbox]:checked + label:before { + right: 0; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label:after, +.wpr-radio--reverse [type=checkbox]:checked + label:after { + right: 33px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:checked + label:after { + right: 3px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:checked + label .wpr-radio-ui, +.wpr-radio--reverse [type=checkbox]:not(:checked) + label .wpr-radio-ui:before, +.wpr-radio--reverse [type=checkbox]:checked + label .wpr-radio-ui:after { + right: -2px; + left: inherit; +} +.wpr-radio--reverse [type=checkbox]:not(:checked) + label .wpr-radio-ui:before { + right: -25px; + left: inherit; +} +.wpr-radio [type=checkbox]:not(:checked):focus + label:before { + border: 1px dashed #444444; +} +.wpr-radio [type=checkbox]:checked:focus + label:before { + border: 1px dashed #1EADBF; +} +.wpr-radio--tips [type=checkbox]:checked + label:before { + border-color: #3ECE9D; +} +.wpr-radio--tips [type=checkbox]:checked + label:after { + background: #3ECE9D; +} +.wpr-radio--tips [type=checkbox]:checked + label .wpr-radio-ui:after { + color: #00A66B; +} +.wpr-radio--tips [type=checkbox]:checked:focus + label:before { + border: 1px dashed #3ECE9D; +} + +/*-----------------------------------------------*\ + + Type = select + +\*-----------------------------------------------*/ +.wpr-select { + position: relative; +} +.wpr-select select { + margin: 0; + padding: 0 8px; + height: 36px; + border: 1px solid #E0E4E9; + background: #F2F3F6; + color: #121116; + box-shadow: none; + border-radius: 0; + letter-spacing: 0.011em; +} +.wpr-select select:focus { + outline: none; + border-color: #444444; + box-shadow: none; +} +.wpr-select select:disabled { + background-image: none; +} +.wpr-select label { + font-weight: bold; + margin-left: 8px; +} + +/*-----------------------------------------------*\ + + Type = textearea + +\*-----------------------------------------------*/ +.wpr-textarea { + margin-top: 8px; +} +.wpr-textarea textarea { + padding: 8px; + width: 100%; + height: 100px; + font-family: Monaco; + color: #121116; + background: #fff; + border: 2px solid #c2cad4; + border-radius: 3px; + font-size: 0.8125rem; + line-height: 1.2307692308; + transition: border 200ms ease-out; + -webkit-transition: border 200ms ease-out; +} +.wpr-textarea textarea:focus { + outline: none; + border-color: #444444; + box-shadow: none; +} +.wpr-textarea + .wpr-field-description { + color: #00A66B; +} + +/*-----------------------------------------------*\ + + Type = text + +\*-----------------------------------------------*/ +.wpr-text label { + color: #666666; +} +.wpr-text input[type=text], +.wpr-text input[type=number] { + margin-top: 8px; + padding: 0 8px; + width: 100%; + height: 32px; + color: #121116; + background: #fff; + border: 2px solid #c2cad4; + border-radius: 3px; + font-family: Monaco; + font-size: 0.75rem; + line-height: 1.3333333333; + transition: border 200ms ease-out; + -webkit-transition: border 200ms ease-out; +} +.wpr-text input[type=text]:focus, +.wpr-text input[type=number]:focus { + outline: none; + border-color: #444444; + box-shadow: none; +} +.wpr-text input[type=text].wpr-isError, +.wpr-text input[type=number].wpr-isError { + border-color: #D33F49; +} +.wpr-text input[type=number] { + width: 80px; +} +.wpr-text--number label { + margin-right: 8px; +} + +/*-----------------------------------------------*\ + + Type = File + +\*-----------------------------------------------*/ +.wpr-upload input[type=file] { + display: block; + width: 252px; + margin: 8px 8px 8px 0; + padding: 8px; + border: 1px solid #E0E4E9; + background: #F2F3F6; + color: #121116; + font-size: 0.6875rem; + line-height: 1.4545454545; +} +.wpr-upload input[type=file]:focus { + outline: none; + border-color: #444444; + box-shadow: none; +} + +/*-----------------------------------------------*\ + + Multiple field + +\*-----------------------------------------------*/ +.wpr-multiple { + display: flex; + align-items: center; + flex-wrap: wrap; +} +@media (max-width: 783px) { + .wpr-multiple { + align-items: center; + flex-direction: column; + } +} +.wpr-multiple .wpr-text { + flex: 1 1 auto; + position: relative; + top: -2px; +} +@media (max-width: 783px) { + .wpr-multiple .wpr-text { + width: 100%; + } +} +.wpr-multiple .wpr-button { + margin-left: 16px; + width: auto; + min-width: inherit; + padding-right: 30px; +} +@media (max-width: 783px) { + .wpr-multiple .wpr-button { + margin-left: 0; + } +} +.wpr-multiple input[type=text] { + flex-grow: 2; +} +.wpr-multiple select { + height: 30px; +} +.wpr-multiple-default { + margin-right: 20px; +} +.wpr-multiple-list { + display: none; + padding: 8px 0; + margin: 16px 0 0; + background: #F2F3F6; + border-radius: 2px; +} +.wpr-multiple-list li { + margin-bottom: 0; + padding: 4px 16px; + font-size: 0.8125rem; + line-height: 1.2307692308; + font-family: Monaco; +} +.wpr-multiple-list li span { + display: inline-block; + transition: all 150ms ease-out; + -webkit-transition: all 150ms ease-out; +} +.wpr-multiple-close { + position: relative; + top: 3px; + font-size: 1rem; + line-height: 1; + transition: color 200ms ease-out; + -webkit-transition: color 200ms ease-out; +} +.wpr-multiple-close:focus { + outline: none; +} +.wpr-multiple-close:hover, .wpr-multiple-close:focus { + color: #D33F49; +} +.wpr-multiple-close:hover + span, .wpr-multiple-close:focus + span { + color: #D33F49; +} + +/*-----------------------------------------------*\ + + Multiple select field + +\*-----------------------------------------------*/ +.wpr-multiple-select .wpr-list { + border: 2px solid #c2cad4; + background-color: #fff; + border-radius: 5px; + padding: 10px; + margin: 8px 0; +} +.wpr-multiple-select .wpr-list .wpr-list-header { + display: flex; + justify-content: space-between; +} +.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_ads:before { + font-family: "wpr-icomoon"; + content: "\e9b7"; + padding-right: 8px; +} +.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_plugins:before { + font-family: "wpr-icomoon"; + content: "\e991"; + padding-right: 8px; +} +.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_themes:before { + font-family: "wpr-icomoon"; + content: "\e927"; + padding-right: 8px; +} +.wpr-multiple-select .wpr-list .wpr-list-header .wpr-list-header-arrow { + width: 15px; + cursor: pointer; + display: flex; + transform: rotate(180deg); +} +.wpr-multiple-select .wpr-list .wpr-list-header h3 { + font-weight: 500; + color: #121116; + font-size: 0.875rem; + line-height: 1.5; +} +.wpr-multiple-select .wpr-list .wpr-list-body { + display: none; +} +.wpr-multiple-select .wpr-list .wpr-list-body li { + padding-left: 30px; +} +.wpr-multiple-select .wpr-list .wpr-list-body li .wpr-checkbox img { + width: 15px; +} +.wpr-multiple-select .wpr-list.open .wpr-list-body { + display: block; +} +.wpr-multiple-select .wpr-list.open .wpr-list-body .wpr-checkbox label { + color: #72777C; +} +.wpr-multiple-select .wpr-list.open .wpr-list-body .wpr-checkbox input[checked=checked] + label { + color: #121116; +} +.wpr-multiple-select .wpr-list.open .wpr-list-header { + border-bottom: 1px solid #c2cad4; + margin-bottom: 10px; + padding-bottom: 5px; +} +.wpr-multiple-select .wpr-list.open .wpr-list-header-arrow { + transform: rotate(0deg); +} + +/*-----------------------------------------------*\ + + Type = User Exclusion Textarea + +\*-----------------------------------------------*/ +.wpr-field--categorizedmultiselect .wpr-list { + padding-right: 15px; + padding-left: 15px; +} +.wpr-field--categorizedmultiselect .wpr-list.open .wpr-list-header { + padding-bottom: 9px; + margin-bottom: 10px; +} +.wpr-field--categorizedmultiselect .wpr-list.open .wpr-list-header { + max-height: 32px; +} +.wpr-field--categorizedmultiselect .wpr-list .wpr-list-header { + max-height: 32px; +} +.wpr-field--categorizedmultiselect .wpr-list [type=checkbox] + label:before { + top: 4px; +} +.wpr-field--categorizedmultiselect .wpr-list [type=checkbox]:checked + label:after { + top: 4px; +} +.wpr-field--categorizedmultiselect .wpr-list-header .wpr-checkbox { + padding-left: 29px; +} +.wpr-field--categorizedmultiselect .wpr-list-body { + display: block; + max-height: 250px; + overflow-y: auto; +} +.wpr-field--categorizedmultiselect .wpr-list-body ul { + margin: 0; +} +.wpr-field--categorizedmultiselect .wpr-list-body ul li { + margin-bottom: 10px; +} +.wpr-field--categorizedmultiselect .wpr-list-body ul li .wpr-checkbox { + padding-left: 25px; +} +.wpr-field--categorizedmultiselect .wpr-list-body ul li .wpr-checkbox label { + color: #121116 !important; + font-weight: normal; +} +.wpr-field--categorizedmultiselect .dashicons { + color: #72777c; +} +.wpr-field--categorizedmultiselect .wpr-multiple-select-title { + font-weight: bold; + margin-left: 5px; +} + +@media only screen and (min-width: 782px) { + .wpr-field--categorizedmultiselect { + padding-right: 80px; + } +} \ No newline at end of file diff --git a/assets/css/wpr-admin.min.css b/assets/css/wpr-admin.min.css new file mode 100644 index 0000000..eeb4334 --- /dev/null +++ b/assets/css/wpr-admin.min.css @@ -0,0 +1 @@ +h1,h2,h3,h4{color:currentColor;margin:0;font-weight:normal}button{padding:0;border:none;background:none;cursor:pointer}a{color:currentColor;transition:color 200ms ease-out;-webkit-transition:color 200ms ease-out}a:hover{color:currentColor}input[type=submit]{cursor:pointer;border:none}a:active,button:active{outline:none}a:focus,button:focus{color:currentColor;box-shadow:none}.wpr-wrap{padding:16px;margin:0 0 0 -20px}@media(max-width: 783px){.wpr-wrap{padding:0;margin:0 0 0 -10px}}.wpr-body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-ms-interpolation-mode:nearest-neighbor;image-rendering:optimizeQuality;text-rendering:optimizeLegibility;display:flex;color:#121116;font-size:0.875rem;line-height:1.5}.wpr-body *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media(max-width: 783px){#hs-beacon{display:none !important}}.wpr-u-flex{display:flex;align-items:center;justify-content:center}@font-face{font-family:"wpr-icomoon";src:url("../fonts/icomoon.eot");src:url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"),url("../fonts/icomoon.woff") format("woff"),url("../fonts/icomoon.ttf") format("truetype"),url("../fonts/icomoon.svg#icomoon") format("svg");font-weight:normal;font-style:normal}[class^=wpr-icon-]:before,[class*=" wpr-icon-"]:after,[class^=wpr-icon-]:after,[class*=" wpr-icon-"]:before,[id^=wpr-nav-]:before,[id*=" wpr-nav-"]:after,[id^=wpr-nav-]:after,[id*=" wpr-nav-"]:before{font-family:"wpr-icomoon";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class^=wpr-icon-] span.hidden,[class*=" wpr-icon-"] span.hidden{display:inline-block;height:0;width:0;overflow:hidden}.wpr-icon-chevron-right:before{content:""}.wpr-icon-chevron-left:before{content:"";transform:rotate(180deg)}.wpr-icon-chevron-down:before{content:"";transform:scale(0.6)}.wpr-icon-chevron-up:before{content:"";top:50%;transform:translateY(-50%) scale(0.6)}.wpr-icon-rollback:before{content:""}.wpr-icon-addon:before,.wpr-addonSubMenuItem:before{content:""}.wpr-icon-addons:before,#wpr-nav-addons:before{content:""}.wpr-icon-book:before{content:""}.wpr-icon-cdn:before,#wpr-nav-page_cdn:before{content:""}.wpr-icon-database:before,#wpr-nav-database:before{content:""}.wpr-icon-export:before{content:""}.wpr-icon-files:before,#wpr-nav-cache:before{content:""}.wpr-icon-help:before{content:""}.wpr-icon-home:before,#wpr-nav-dashboard:before{content:""}.wpr-icon-import:before{content:""}.wpr-icon-important:before{content:""}.wpr-icon-information:before{content:""}.wpr-icon-information2:before{content:""}.wpr-icon-interrogation:before{content:""}.wpr-icon-media:before,#wpr-nav-media:before{content:""}.wpr-icon-plus:before{content:""}.wpr-icon-refresh:before,#wpr-nav-preload:before{content:""}.wpr-icon-rules:before,#wpr-nav-advanced_cache:before{content:""}.wpr-icon-stack:before,#wpr-nav-file_optimization:before{content:""}.wpr-icon-tools:before,#wpr-nav-tools:before{content:""}.wpr-icon-trash:before{content:""}.wpr-icon-user:before{content:""}.wpr-icon-check:before{content:""}.wpr-icon-check2:before{content:""}.wpr-icon-close:before{content:""}.wpr-icon-heartbeat:before,#wpr-nav-heartbeat:before{content:url("../img/heartbeat.svg")}.wpr-icon-heartbeat-hover:before,#wpr-nav-heartbeat.isActive:before,#wpr-nav-heartbeat:hover:before{content:url("../img/heartbeat-hover.svg")}.wpr-icon-imagify:before,#wpr-nav-imagify:before{content:url("../img/imagify.svg")}.wpr-icon-imagify-hover:before,#wpr-nav-imagify.isActive:before,#wpr-nav-imagify:hover:before{content:url("../img/imagify-hover.svg")}.wpr-icon-tutorial:before,#wpr-nav-tutorials:before{content:url("../img/play.svg")}.wpr-icon-tutorial-hover:before,#wpr-nav-tutorials.isActive:before,#wpr-nav-tutorials:hover:before{content:url("../img/play-hover.svg")}.wpr-icon-tutorial-alt:before{content:url("../img/play-alt.svg")}.wpr-title1{font-size:1.625rem;line-height:1;font-weight:600;letter-spacing:.01em}.wpr-title2{font-size:1rem;line-height:1.5;font-weight:bold;letter-spacing:-0.02em}.wpr-title3,.wpr-select label,.wpr-select select,.wpr-field--radio label{font-size:0.875rem;line-height:1.7142857143;font-weight:bold;letter-spacing:-0.011em}.wpr-Header{display:flex;flex-direction:column;flex:0 0 225px}@media(max-width: 783px){.wpr-Header{flex:0 0 50px}}.wpr-Header-logo{padding:32px 0 24px;text-align:center}@media(max-width: 783px){.wpr-Header-logo{padding:16px 0 8px}}@media(max-width: 783px){.wpr-Header-logo-desktop{display:none}}.wpr-Header-logo-mobile{display:none}@media(max-width: 783px){.wpr-Header-logo-mobile{display:inline-block}}.wpr-Header-footer{margin-top:auto;padding:48px 20px 0;font-size:0.6875rem;line-height:4.3636363636;color:#666;opacity:.6;font-weight:bold}@media(max-width: 783px){.wpr-Header-footer{display:none}}.wpr-Sidebar{position:relative;display:none;flex:0 0 290px;padding:24px 16px}@media(max-width: 1239px){.wpr-Sidebar{flex:0 0 260px}}@media(max-width: 1083px){.wpr-Sidebar{display:none !important}}.wpr-Sidebar-title{margin-bottom:32px}.wpr-Sidebar-notice{padding:8px 16px;margin-bottom:16px;background:#fff;border:1px solid #e8ebee;border-left:2px solid #1eadbf;border-radius:0 3px 3px 0;color:#666}.wpr-Sidebar-notice p{margin:0}.wpr-Sidebar-notice-link{display:inline-block;margin-top:8px;font-size:0.6875rem;line-height:1.8181818182;color:#02707f;letter-spacing:-0.05em;text-transform:uppercase;text-decoration:none;font-weight:bold}.wpr-Sidebar-notice-link:hover,.wpr-Sidebar-notice-link:focus{color:#40bacb}.wpr-Sidebar-info{padding:16px;background:#ebfaf5;margin-bottom:16px;border-radius:3px}.wpr-Sidebar-info h4{padding-left:48px;font-weight:500}.wpr-Sidebar-info p{margin:8px 0 0;font-size:0.6875rem;line-height:1.4545454545;color:#666}.wpr-Sidebar-info i{position:absolute;display:block;margin-top:-1px;width:40px;height:40px;color:#00a66b;font-size:1.0625rem;line-height:2.3529411765;background:#c6f0de;border-radius:3px;text-align:center}.wpr-Content{position:relative;background:#fff;padding:32px 24px;flex:1 1 auto;max-width:1230px}@media(max-width: 783px){.wpr-Content{padding:24px 16px}}.wpr-Content form>input:last-child{margin-top:24px;color:#fff !important}.wpr-Content.isNotFull{max-width:960px}.wpr-Content-tips{position:absolute;top:48px;right:24px;font-weight:bold;color:#666}@media(max-width: 1083px){.wpr-Content-tips{display:none !important}}.wpr-Page{margin-bottom:32px}.wpr-Page-row{display:flex;flex-direction:row}@media(max-width: 1239px){.wpr-Page-row{flex-direction:column}}.wpr-Page-col{flex:1 1 auto}.wpr-Page-col--fixed{margin-left:24px;flex:0 0 325px}@media(max-width: 1239px){.wpr-Page-col--fixed{margin-left:0}}.wpr-Page#dashboard #wpr-action-refresh_account:before{transition:all 200ms ease-out;opacity:1;transform:translateY(0)}.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isLoading:before{animation:loading 1.2s infinite}.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isHidden:before{opacity:0}.wpr-Page#dashboard #wpr-action-refresh_account.wpr-isShown:before{opacity:1}@keyframes loading{from{transform:rotate(0)}to{transform:rotate(360deg)}}.wpr-Page#dashboard .wpr-documentation{margin-top:98px;padding:43px 16px}@media(max-width: 1239px){.wpr-Page#dashboard .wpr-documentation{margin-top:40px}}.wpr-Page#dashboard .wpr-documentation .wpr-button{margin-top:8px}.wpr-Page#dashboard .wpr-documentation i{font-size:3.375rem;line-height:1}.wpr-Page#dashboard .wpr-radio{padding-left:72px}.wpr-Page#dashboard .wpr-field--radio{padding:16px 8px}.wpr-Page#dashboard .wpr-field--radio:first-child{padding-top:0}.wpr-Page#dashboard .wpr-field--radio:last-child{padding-bottom:0}.wpr-Page#dashboard .wpr-field--radio .wpr-field-description{font-style:normal;color:#666;margin-left:72px}.wpr-Page#dashboard .wpr-field-account{padding-bottom:0}.wpr-Page#dashboard .wpr-infoAccount{font-weight:bold;margin-left:8px;color:#444}.wpr-Page#dashboard .wpr-infoAccount:before{content:"";position:relative;display:inline-block;width:13px;height:13px;background:#e0e4e9;border-radius:50%;color:#fff;margin-right:6px;text-align:center;top:2px;font-size:0.5rem;line-height:1.625}.wpr-Page#dashboard .wpr-infoAccount.wpr-isValid{color:#00a66b}.wpr-Page#dashboard .wpr-infoAccount.wpr-isValid:before{content:"";font-family:"wpr-icomoon";speak:none;background:#3ece9d;top:-1px}.wpr-Page#dashboard .wpr-infoAccount.wpr-isInvalid{color:#d60e5b}.wpr-Page#dashboard .wpr-infoAccount.wpr-isInvalid:before{content:"!";font-weight:bold;font-size:0.625rem;line-height:1.3;speak:none;background:#d33f49;top:-1px}.wpr-Page#dashboard #wpr-account-data:before{content:none}.wpr-Page#tools #wpr-action-rocket_enable_mobile_cpcss:before{transition:all 200ms ease-out;opacity:1;transform:translateY(0)}.wpr-Page#tools #wpr-action-rocket_enable_mobile_cpcss.wpr-isLoading:before{animation:loading 1.2s infinite}.wpr-Popin{display:none;position:fixed;width:772px;height:auto;top:50%;left:50%;background:#fff;border-radius:3px;transform:translateX(-50%) translateY(-50%);z-index:100000}.wpr-Popin-overlay{display:none;position:fixed;opacity:0;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.8);z-index:99999}.wpr-Popin-header{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 32px;background:#2d1656;color:#fff;font-weight:600}.wpr-Popin-close{color:#665090;font-size:1.5rem;line-height:1;transition:color 200ms ease-out;-webkit-transition:color 200ms ease-out}.wpr-Popin-close:hover,.wpr-Popin-close:focus{color:#fff;outline:none}.wpr-Popin-content{padding:8px 32px;color:#666}.wpr-Popin-flex{display:flex;flex-direction:row;align-items:center}.wpr-Popin-flex div{margin-left:32px}.wpr-Popin p{margin:16px 0}.wpr-Popin .wp-rocket-data-table{padding:12px 24px;background:#f2f3f6 !important;border:none}.wpr-Popin .wp-rocket-data-table td{width:50%;color:#121116;padding:8px 0;padding-left:4px;border-bottom:1px solid #c2cad4}.wpr-Popin .wp-rocket-data-table td:not(.column-primary){font-family:"Monaco";font-size:0.75rem;line-height:1.6666666667;color:#666;letter-spacing:-0.01em}.wpr-Popin .wp-rocket-data-table tr{background:#f2f3f6;border-bottom:1px solid #e0e4e9}.wpr-Popin .wp-rocket-data-table tr:last-child td{border-bottom:none}.wpr-Popin .wp-rocket-data-table strong{font-weight:500}.wpr-Popin .wp-rocket-data-table em{font-style:normal}.wpr-Popin .wp-rocket-data-table code{padding:0;margin:0;background:transparent}.wpr-rocketcdn-cta-small{border-radius:5px;margin:24px 0;padding:16px}.wpr-rocketcdn-cta-small.wpr-isHidden{display:none}.wpr-rocketcdn-cta-small .notice-title{font-weight:700}.wpr-rocketcdn-cta-small .wpr-flex{display:flex;justify-content:space-between;align-items:center}@media(max-width: 783px){.wpr-rocketcdn-cta-small .wpr-flex{text-align:start;flex-direction:column}}.wpr-rocketcdn-cta{margin:10px 0;position:relative}.wpr-rocketcdn-cta.wpr-isHidden{display:none}.wpr-rocketcdn-cta-close{position:absolute;top:16px;right:16px;background:transparent;border:0;color:rgba(255,255,255,.5)}.wpr-rocketcdn-cta-close--no-promo{position:absolute;top:16px;right:16px;background:transparent;border:0;color:rgba(0,0,0,.5)}.wpr-rocketcdn-cta-close--no-promo:before{content:"✕";font-weight:700;font-size:1.5rem;line-height:1.3333333333}.wpr-rocketcdn-cta-close:before{content:"✕";color:#121116;font-weight:700;font-size:1.5rem;line-height:1.3333333333}.wpr-rocketcdn-cta .wpr-rocketcdn-promo{background:#ffd147;border-top-left-radius:2px;border-top-right-radius:2px;padding:16px 48px 16px 16px}.wpr-rocketcdn-cta .wpr-rocketcdn-promo-title{font-weight:700;font-size:1.5rem;line-height:1.3333333333}.wpr-rocketcdn-cta .wpr-rocketcdn-promo-date{margin:0;font-weight:500;font-size:1rem;line-height:1.5}.wpr-rocketcdn-cta-subtitle{color:#444;margin-top:0;font-size:0.875rem;line-height:1.7142857143}.wpr-rocketcdn-cta-content{background:#f9fafb;border-top:1px solid #e8ebee;border-left:1px solid #e8ebee;border-right:1px solid #e8ebee;padding:16px}.wpr-rocketcdn-cta-content--no-promo{border-top-left-radius:2px;border-top-right-radius:2px;background:#f9fafb;border-top:1px solid #e8ebee;border-left:1px solid #e8ebee;border-right:1px solid #e8ebee;padding:16px}.wpr-rocketcdn-cta .wpr-flex{display:flex;justify-content:space-between;align-items:center}@media(max-width: 783px){.wpr-rocketcdn-cta .wpr-flex{text-align:start;flex-direction:column}}.wpr-rocketcdn-cta .wpr-rocketcdn-features{margin:0;padding-right:16px}@media(max-width: 783px){.wpr-rocketcdn-cta .wpr-rocketcdn-features{border-right:none}}.wpr-rocketcdn-cta .wpr-rocketcdn-pricing{background-color:#fff;align-items:center;display:flex;flex-direction:column;padding:16px;padding-bottom:32px;width:33.3333333333%;max-width:219px}@media(max-width: 783px){.wpr-rocketcdn-cta .wpr-rocketcdn-pricing{width:auto}}.wpr-rocketcdn-cta .wpr-rocketcdn-pricing-regular{color:#72777c;margin-bottom:8px}.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-billing-detail{margin-bottom:16px;font-size:1rem;line-height:1.375}.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-currency-major{font-weight:700;font-size:3rem;line-height:1.1666666667}.wpr-rocketcdn-cta .wpr-rocketcdn-pricing .wpr-rocketcdn-cta-currency-minor{font-weight:700;vertical-align:top;font-size:1.5rem;line-height:1.3333333333}.wpr-rocketcdn-cta .wpr-rocketcdn-feature{margin:24px 0;min-height:30px;padding-left:62px;position:relative}.wpr-rocketcdn-cta .wpr-rocketcdn-feature:before{position:absolute;top:50%;left:5px;transform:translateY(-50%)}.wpr-rocketcdn-cta .wpr-rocketcdn-bandwidth:before{content:url(../img/bandwidth.svg)}.wpr-rocketcdn-cta .wpr-rocketcdn-configuration:before{content:url(../img/configuration.svg)}.wpr-rocketcdn-cta .wpr-rocketcdn-automatic:before{content:url(../img/automatic.svg)}.wpr-rocketcdn-cta-footer{color:#121116;font-weight:600;padding:16px 8px 8px;font-size:0.875rem;line-height:1.5714285714}.wpr-rocketcdn-cta-footer a{position:relative;padding-left:22px}.wpr-rocketcdn-cta-footer a:before{content:"";position:absolute;width:14px;height:15px;background:url("../img/icon-i-circle.svg") no-repeat center center;top:3px;left:0}.wpr-rocketcdn-cta-promo-footer{color:#121116;padding:16px 8px 8px;font-size:0.875rem;line-height:1.5714285714}.wpr-rocketcdn-subscription{text-align:end}.wpr-rocketcdn-subscription .wpr-rocketcdn-open{color:#666;text-decoration:underline}.wpr-rocket-analytics-cta.wpr-isHidden{display:none}.wpr-license-upgrade-button{font-weight:bold;text-decoration:underline}.wpr-license-upgrade-button:hover{text-decoration:none}.wpr-field.wpr-field-account .wpr-flex{align-items:flex-start}.wpr-infoAccount-License{flex:1 0 60%;margin-right:16px}@media(max-width: 783px){.wpr-field.wpr-field-account .wpr-flex>div{width:100%}}.wpr-field.wpr-field-account .wpr-flex>div:last-child{text-align:right}@media(max-width: 783px){.wpr-field.wpr-field-account .wpr-flex>div:last-child{text-align:left}}.wpr-Popin-Upgrade .wpr-Popin-content{padding-bottom:32px}.wpr-Popin-Upgrade .wpr-Popin-flex{justify-content:space-between}.wpr-Popin-Upgrade .wpr-Popin-flex>div{align-items:center;border:1px solid #dadada;border-radius:24px;display:flex;flex-direction:column;margin:0 16px 0 0;padding:24px;text-align:center;width:50%}.wpr-Popin-Upgrade .wpr-Popin-flex>div:last-child{margin-right:0}@media(max-width: 783px){.wpr-Popin-Upgrade .wpr-Popin-flex>div{margin:0;width:100%}}.wpr-Upgrade-Plus .wpr-upgrade-title::before{content:url(../img/plus.svg);display:block;width:117px;height:31px;top:0;position:absolute;left:50%;transform:translateX(-50%)}.wpr-Upgrade-Infinite .wpr-upgrade-title::before{content:url(../img/infinite.svg);display:block;width:48px;height:31px;top:0;position:absolute;left:50%;transform:translateX(-50%)}div.wpr-upgrade-saving{background:#ffd147;border-radius:44px;color:#121116;font-weight:bold;margin:0 0 24px 0;padding:8px 16px;text-align:center}.wpr-upgrade-title{color:#f56f46;font-size:1.875rem;line-height:1.2;margin-bottom:16px;padding-top:55px;position:relative}div.wpr-upgrade-prices{color:#121116;font-size:3rem;line-height:1;font-weight:bold;margin:0 0 16px 0}.wpr-upgrade-price-symbol{font-size:1.875rem;line-height:1;vertical-align:super}.wpr-upgrade-price-regular{color:#72777c;font-size:1rem;line-height:1;vertical-align:top}div.wpr-upgrade-websites{color:#121116;font-size:0.875rem;line-height:1;font-weight:bold;margin:0 0 24px 0}.wpr-upgrade-link{background:#fff;border:1px solid #f56f46;border-radius:800px;color:#f56f46;display:block;font-size:1rem;line-height:1.125;font-weight:bold;padding:16px 24px;text-decoration:none}.wpr-upgrade-link:hover{background:#f56f46;color:#fff}.wpr-upgrade-link::after{content:"→";font-weight:normal;margin-left:8px}.rocket-promo-banner{background:#ffd147;display:flex;justify-content:space-around;margin-top:16px;padding:24px;position:relative}@media(max-width: 783px){.rocket-promo-banner{flex-flow:column}}.rocket-promo-banner>div{display:flex;flex-flow:column;width:50%}@media(max-width: 783px){.rocket-promo-banner>div{width:100%}}.rocket-promo-title{font-weight:bold;margin-bottom:24px}.rocket-promo-discount{background:#fff;border-radius:44px;display:inline-block;margin-right:8px;padding:8px 16px;text-transform:uppercase}.rocket-promo-message,.rocket-promo-deal{font-size:1rem;line-height:1.5;margin-bottom:0}.rocket-promo-deal{margin-top:8px}.rocket-promo-cta-block{align-items:center;margin-right:24px}.rocket-promo-countdown{display:flex;flex-flow:row wrap;width:66%}.rocket-promo-countdown>.rocket-countdown-item{background:#fff;border-radius:8px;flex:1;margin-right:8px;padding:8px;text-align:center}.rocket-promo-countdown>.rocket-countdown-item>.rocket-countdown-value{display:block;font-size:1.5rem;line-height:1;font-weight:bold}.rocket-promo-cta{background:#172153;border-radius:44px;color:#fff;font-weight:bold;padding:16px 32px}.rocket-renewal-banner{background:#ffd147;display:flex;flex-flow:row wrap;align-items:center;justify-content:space-evenly;margin-top:16px;padding:8px}.rocket-renewal-expired-banner{background:#ffd147;margin-top:16px;padding:24px;position:relative}.rocket-renewal-expired-banner-container{display:flex;justify-content:space-around}@media(max-width: 783px){.rocket-renewal-expired-banner-container{flex-flow:column}}.rocket-renewal-expired-banner-container>div{display:flex;flex-flow:column;width:50%}@media(max-width: 783px){.rocket-renewal-expired-banner-container>div{width:100%}}.rocket-renew-message{margin:0 16px}.rocket-renew-message>p{font-size:0.875rem;line-height:1.5}.rocket-expired-message>p{font-size:0.875rem;line-height:1.5;padding-left:80px}.rocket-expired-title{font-size:1.375rem;line-height:1.5;font-weight:bold}.rocket-expired-title::before{content:url(../img/warning.svg);display:inline-block;height:48px;width:63px;margin-right:17px;vertical-align:middle}.rocket-expired-cta-container{justify-content:center;align-items:center}.rocket-renew-cta{display:block;background:#172153;border-radius:44px;color:#fff;font-size:1rem;line-height:1.125;font-weight:bold;padding:16px 24px;text-decoration:none}.rocket-renew-cta:hover,.rocket-renew-cta:active,.rocket-renew-cta:focus{color:#fff}.rocket-renew-cta::after{content:"→";font-weight:normal;margin-left:8px}.wpr-menuItem{position:relative;display:block;padding:16px 44px 18px 20px;text-decoration:none;color:#121116;border-top:1px solid #e0e4e9;border-left:2px solid transparent;overflow:hidden;transition:all 100ms ease-out;-webkit-transition:all 100ms ease-out}@media(max-width: 783px){.wpr-menuItem{width:57px;height:50px;padding:0}}.wpr-menuItem:before{position:absolute;top:calc(50% - 12px);right:18px;text-align:center;font-size:1.4375rem;line-height:1;color:#121116;opacity:.4;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-menuItem:hover,.wpr-menuItem.isActive{color:#121116;background:#fff;border-left:2px solid #f56640}.wpr-menuItem:hover .wpr-menuItem-title,.wpr-menuItem.isActive .wpr-menuItem-title{color:#f56640}.wpr-menuItem:hover:before,.wpr-menuItem.isActive:before{color:#f56640;opacity:1}.wpr-menuItem:focus{color:#121116}.wpr-menuItem:focus:before{color:#121116}.wpr-menuItem-title{font-size:0.8125rem;line-height:1.4615384615;font-weight:bold;letter-spacing:-0.08px;text-transform:uppercase;color:#121116}@media(max-width: 783px){.wpr-menuItem-title{display:none !important}}.wpr-menuItem-description{margin-top:2px;color:#72777c;font-size:0.8125rem;line-height:1.2307692308;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}@media(max-width: 783px){.wpr-menuItem-description{display:none}}.wpr-menuItem.wpr-subMenuItem{display:none;padding:10px 20px 8px 25px}@media(max-width: 783px){.wpr-menuItem.wpr-subMenuItem{padding:8px 20px 8px 23px;height:35px}}.wpr-menuItem.wpr-subMenuItem .wpr-menuItem-title{display:inline-block;font-size:0.8125rem;line-height:1.8461538462;text-transform:inherit;font-weight:600}.wpr-menuItem.wpr-subMenuItem:before{position:relative;display:inline-block;top:2px;right:2px;margin-right:8px;font-size:1rem;line-height:1}#wpr-nav-cache:before{right:20px}#wpr-nav-tools:before{right:20px}.wpr-sectionHeader{position:relative;border-bottom:1px solid #e0e4e9;padding-bottom:24px}.wpr-sectionHeader:before{content:"";position:absolute;display:block;width:48px;height:2px;bottom:-1px;left:0;background:#f56640}.wpr-sectionHeader .wpr-title1{line-height:48px}.wpr-sectionHeader .wpr-title1:before{display:inline-block;width:48px;height:48px;margin-right:24px;background:#fde0d9;color:#f56640;text-align:center;border-radius:3px}.wpr-sectionHeader-title{margin-top:8px;padding-left:72px}.wpr-sectionHeader-description{color:#666;margin-top:8px;padding-left:72px}.wpr-sectionHeader-logo{vertical-align:top;margin-right:24px}.wpr-optionHeader{position:relative;display:flex;justify-content:space-between;margin-top:48px;padding-bottom:9px;border-bottom:1px solid #e0e4e9}.wpr-optionHeader .wpr-title2{line-height:24px;color:#f56640;padding-right:40px}.wpr-optionHeader .wpr-infoAction{margin-right:8px}.wpr-optionHeader.wpr-isHidden{display:none}.wpr-fieldsContainer{margin-top:8px}.wpr-fieldsContainer-description{color:#666}.wpr-fieldsContainer-description a:hover,.wpr-fieldsContainer-description a:focus{color:#1eadbf}.wpr-fieldsContainer-fieldset{margin-top:16px;background:#f9fafb;padding:16px;border:1px solid #e8ebee;border-radius:2px}.wpr-fieldsContainer-fieldset--split{display:flex}.wpr-fieldsContainer-fieldset--split .wpr-field+.wpr-field{border:none}.wpr-fieldsContainer-fieldset--split .wpr-field{flex:0 0 50%;padding:0}.wpr-fieldsContainer-fieldset--split .wpr-field:first-child{padding-right:15px}.wpr-fieldsContainer-fieldset--split .wpr-field:last-child{padding-left:15px}.wpr-fieldsContainer-helper{margin-top:16px;color:#d60e5b;font-weight:500}.wpr-fieldsContainer-helper:before{position:relative;top:3px;font-size:1.125rem;line-height:1;margin-right:4px}.wpr-fieldsContainer.wpr-isHidden{display:none}.wpr-infoAction{position:relative;height:24px;font-size:0.8125rem;line-height:1.8461538462;vertical-align:middle;letter-spacing:-0.03em;font-weight:500;color:#666;white-space:nowrap;text-decoration:none;transition:all 200ms ease-out;-webkit-transition:all 200ms ease-out}.wpr-infoAction:before{position:absolute;margin-left:-26px;font-size:1.125rem;line-height:1.3333333333;transition:color 200ms ease-out;-webkit-transition:color 200ms ease-out}.wpr-infoAction--help{text-transform:uppercase;color:#02707f;font-weight:bold;font-size:0.75rem;line-height:2;letter-spacing:0}@media(max-width: 783px){.wpr-infoAction--help{display:none}}.wpr-infoAction--help:before{color:#1eadbf}.wpr-infoAction:hover,.wpr-infoAction:focus{color:#f56640;outline:none}.wpr-infoAction:hover:before,.wpr-infoAction:focus:before{color:#ffa58b}.wpr-button{position:relative;display:inline-block;width:auto;padding:8px 24px;text-align:center;background:#f56640;box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);text-transform:uppercase;text-decoration:none;letter-spacing:-0.08px;font-weight:bold;border-radius:4px;color:#fff !important;white-space:nowrap;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:all 200ms ease-out;-webkit-transition:all 200ms ease-out;font-size:0.8125rem;line-height:1.5384615385}.wpr-button:hover,.wpr-button:focus{color:#fff !important;transform:translateY(-2px);box-shadow:0 7px 14px rgba(50,50,93,.25),0 3px 6px rgba(0,0,0,.2)}.wpr-button--small{padding:5px 0;letter-spacing:-0.08px;font-size:0.6875rem;line-height:1.8181818182}.wpr-button--icon{min-width:160px;padding-left:8px;padding-right:40px;text-align:left}.wpr-button--icon:before{position:absolute;right:8px;font-size:0.9375rem;line-height:1.3333333333}.wpr-button--fixed{position:fixed;display:flex;padding:8px 16px;right:24px;bottom:32px;border-radius:16px}.wpr-button--fixed:before{font-size:1.125rem;line-height:1;margin-right:8px}.wpr-button--purple{background:#2d1656}.wpr-button--blue{min-width:inherit;background:#1eadbf}.wpr-button--lightBlue{min-width:inherit;background:#40bacb}.wpr-button--red{background:#d33f49}.wpr-button--gray{background:#e0e4e9;color:#121116 !important}.wpr-button--gray:hover,.wpr-button--gray:active,.wpr-button--gray:focus{color:#121116 !important}.wpr-button--gray.radio-active{background:#2d1656 !important;color:#fff !important}.wpr-button--gray.radio-active:hover,.wpr-button--gray.radio-active:active,.wpr-button--gray.radio-active:focus{color:#fff !important}.wpr-button--blueDark{background:#02707f}.wpr-button:focus{outline:none;color:#fff !important}.wpr-field{padding:16px 0;transition:opacity 150ms ease-out;-webkit-transition:opacity 150ms ease-out}.wpr-field+.wpr-field,.wpr-field+.wpr-warningContainer{border-top:1px solid #e0e4e9}.wpr-field:first-child{padding-top:0}.wpr-field:last-child{padding-bottom:0}.wpr-field-description{margin-top:4px;color:#666;font-size:0.8125rem;line-height:1.5384615385}.wpr-field-description .wpr-js-popin{color:#444;text-decoration:underline}.wpr-field-description .wpr-js-popin:hover,.wpr-field-description .wpr-js-popin:focus{color:#1eadbf}.wpr-field-description a:hover,.wpr-field-description a:focus{color:#1eadbf}.wpr-field-description-helper{color:#00a66b}.wpr-field-description-label{font-size:0.875rem;line-height:1.4285714286;font-weight:500;color:#666}.wpr-field-list{margin:0;color:#666;font-weight:500}.wpr-field-list li+li{margin-top:16px}.wpr-field-list li:before{position:relative;top:3px;margin-right:8px;color:#02707f;font-size:1.125rem;line-height:1.1111111111}.wpr-field-list a{text-decoration:none}.wpr-field-list a:hover,.wpr-field-list a:focus{color:#1eadbf}.wpr-field-betweenText{margin:0 16px;font-weight:bold}.wpr-field .wpr-button{margin:8px 0}.wpr-field .wpr-flex{display:flex;justify-content:space-between;align-items:center}@media(max-width: 783px){.wpr-field .wpr-flex{text-align:left;flex-direction:column}}.wpr-field .wpr-flex--egal>div{flex:0 0 50%}@media(max-width: 783px){.wpr-field .wpr-flex--egal>div{width:100%}}.wpr-field .wpr-flex--egal>div:last-child{text-align:right}@media(max-width: 783px){.wpr-field .wpr-flex--egal>div:last-child{text-align:left}}.wpr-field .wpr-flex--egal>div .wpr-field-description{font-style:normal;color:#666}.wpr-field p{margin-bottom:0}.wpr-field label{font-weight:500}.wpr-field h4{font-size:0.875rem;line-height:1.7142857143}.wpr-field.wpr-isDisabled{opacity:.55}.wpr-field.wpr-isParent{padding-bottom:0;margin-bottom:16px}.wpr-field.wpr-Delayjs{margin-top:16px}.wpr-field.wpr-RemoveUnUsedCss{margin-bottom:0}.wpr-field.wpr-NoPaddingBottom{padding-bottom:0}.wpr-field.wpr-isLastElem{margin-top:16px}.wpr-field.wpr-isHidden{display:none}.wpr-field .wpr-isHidden{display:none}.wpr-field--children{display:none;padding-left:32px}.wpr-field--children.wpr-isOpen{display:block}.wpr-field--children.wpr-field--textarea{padding-right:80px}@media(max-width: 1239px){.wpr-field--children.wpr-field--textarea{padding-right:32px}}@media(max-width: 783px){.wpr-field--children.wpr-field--textarea{padding-right:0}}.wpr-field--children.no-space{padding-left:0}.wpr-field--checkbox .wpr-field-description{margin-left:32px}.wpr-field--radio{padding:24px 16px}.wpr-field--radio:first-child{padding-top:8px}.wpr-field--radio:last-child{padding-bottom:8px}.wpr-field--radio .wpr-field-description{margin-left:88px}.wpr-field--radio .wpr-field-description button{color:#666}.wpr-field--split{display:inline-block;width:50%;padding-right:16px;padding-bottom:0}.wpr-field--split+.wpr-field--split{padding-left:16px;padding-right:0}.wpr-field--split+.wpr-field--split:nth-child(2){padding-top:0;border-top:none}.wpr-field--cache .wpr-field--number,.wpr-field--cache .wpr-field--select{display:inline-block;padding-top:0;width:auto;padding-bottom:0;font-weight:bold}.wpr-field--cache .wpr-field--select{position:relative;padding-left:8px;top:-2px;border-top:none}.wpr-field--cache .wpr-field--number .wpr-text input[type=number]{background:#f2f3f6;height:35px;border:1px solid #e0e4e9;font-family:inherit;font-size:1em}.wpr-field--cache .wpr-field-description{margin:8px 0;color:#00a66b}.wpr-field--cache .wpr-field-description-label{color:#121116}.wpr-field--textarea .wpr-field-description pre{background:rgba(0,0,0,.07);padding:1em;margin:1em 0 0;white-space:normal}.wpr-field--textarea .wpr-field-description pre code{background:transparent;-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;color:#121116}.wpr-fieldWarning{display:none;position:relative;padding:16px 16px 24px 56px;background:#19073b;margin:8px 0 0;color:#fff}.wpr-fieldWarning.wpr-isOpen{display:block}.wpr-fieldWarning:after{content:"";position:absolute;display:block;top:-8px;left:20px;width:0;height:0;border-style:solid;border-width:0 12px 8px 12px;border-color:transparent transparent #19073b transparent}.wpr-fieldWarning:before{content:"";position:absolute;display:block;width:calc(100% + 32px);height:100%;top:0;left:-16px;background:#19073b}.wpr-fieldWarning-title{position:relative;color:#f56640;font-size:0.875rem;line-height:1.4285714286;font-weight:bold}.wpr-fieldWarning-title:before{position:absolute;left:-36px;font-size:1.5rem;line-height:.8333333333}.wpr-fieldWarning-description{position:relative;margin-top:8px}.wpr-fieldWarning .wpr-button{margin-top:16px}.wpr-fieldWarning.wpr-radio-warning{margin-left:-32px}.wpr-fieldWarning.wpr-radio-warning:after{left:40px}.wpr-warningContainer+.wpr-warningContainer,.wpr-warningContainer+.wpr-field,.wpr-field+.wpr-warningContainer{border-top:1px solid #e0e4e9;padding-top:16px}.wpr-warningContainer+.wpr-warningContainer,.wpr-field+.wpr-warningContainer{padding-bottom:16px}@media only screen and (max-width: 400px){.wpr-fieldWarning.wpr-radio-warning{margin-left:-32px}.wpr-fieldWarning.wpr-radio-warning .wpr-button{white-space:normal;padding-right:32px}}@media only screen and (max-width: 350px){.wpr-radio-buttons{padding-left:24px}.wpr-fieldWarning.wpr-radio-warning{margin-left:-24px;padding-left:30px;padding-right:0}.wpr-fieldWarning.wpr-radio-warning .wpr-button{padding-right:24px}}.wpr-documentation{padding:24px 16px;border-radius:4px;color:#fff;text-align:center;background:#40bacb}.wpr-documentation p{margin:8px 0 16px;font-weight:500}.wpr-documentation i{display:block;font-size:2.25rem;line-height:1;margin-bottom:8px}.wpr-documentation .wpr-button{padding-left:16px;padding-right:16px}.wpr-addon{padding:24px 0}.wpr-addon .wpr-flex{align-items:flex-start}@media(max-width: 783px){.wpr-addon .wpr-flex{align-items:center}}.wpr-addon .wpr-flex>div{text-align:left}.wpr-addon .wpr-addon-title{margin-bottom:16px;font-weight:500}.wpr-addon .wpr-field-description{font-style:normal}.wpr-addon .wpr-field-helper{font-size:0.8125rem;line-height:1.5384615385;color:#666;background-color:#e0e4e9;padding:8px;margin:8px 0}.wpr-addon .wpr-field-helper span.wpr-helper-title{font-weight:600}.wpr-addon .wpr-field-helper span.wpr-helper-title::after{content:"\a";white-space:pre}.wpr-addon .wpr-addon-logo{text-align:center;flex:0 0 160px}@media(max-width: 1239px){.wpr-addon .wpr-addon-logo{max-width:100px}.wpr-addon .wpr-addon-logo img{width:100%;height:auto}}@media(max-width: 1083px){.wpr-addon .wpr-addon-logo{max-width:160px}}@media(max-width: 783px){.wpr-addon .wpr-addon-logo{flex:0 0 auto;margin-bottom:16px}}.wpr-addon .wpr-addon-text{margin-left:32px;flex:1 1 auto}@media(max-width: 1239px){.wpr-addon .wpr-addon-text{margin-left:16px}}@media(max-width: 1083px){.wpr-addon .wpr-addon-text{margin-left:32px}}@media(max-width: 783px){.wpr-addon .wpr-addon-text{margin-left:0}}.wpr-addon .wpr-addon-text a{display:inline-block;margin-top:24px}.wpr-addon .wpr-addon-text .button{margin-top:24px}.wpr-addon .wpr-addon-text .wpr-add-on-helper{font-weight:normal;color:#1eadbf}.wpr-addon .wpr-addon-text .wpr-add-on-helper a{margin-top:0}.wpr-webp-addon .wpr-addon .wpr-addon-text a{margin-top:0px}.notice-wpr-warning{background:#ffd147;display:flex;flex-flow:row wrap;align-items:center;margin-top:16px;padding:8px 32px;border:0}.notice-wpr-warning p:first-child{font-size:1rem;line-height:1.125;margin-left:80px}.notice-wpr-warning p:first-child::before{content:url(../img/warning.svg);display:inline-block;height:48px;width:63px;margin-right:17px;vertical-align:middle;margin-left:-80px}@media(max-width: 1239px){.notice-wpr-warning p:first-child::before{margin-bottom:-30px}}.notice-wpr-warning p:last-child{margin-left:63px;flex-basis:100%;align-items:center;justify-content:flex-start;display:flex}@media(max-width: 783px){.notice-wpr-warning p:last-child{align-content:center;flex-direction:column;margin-left:0}}.notice-wpr-warning p:last-child a{margin:0 16px}@media(max-width: 783px){.notice-wpr-warning p:last-child a{margin:8px 16px}}.notice-wpr-warning p:last-child a:first-child{display:block;background:#172153;border-radius:44px;color:#fff;font-size:1rem;line-height:1.125;font-weight:bold;padding:16px 24px;text-decoration:none}.notice-wpr-warning p:last-child a:first-child:hover,.notice-wpr-warning p:last-child a:first-child:active,.notice-wpr-warning p:last-child a:first-child:focus{color:#fff}.notice-wpr-warning p:last-child a:first-child::after{content:"→";font-weight:normal;margin-left:8px}.wpr-notice{position:relative;color:#444;background:#ebfaf5 url("../img/bg-activated.svg") no-repeat 90% bottom;background-size:350px;margin-top:24px;border-radius:4px;overflow:hidden}.wpr-notice-container{padding:24px 25% 24px 40px}.wpr-notice-supTitle{font-size:1rem;line-height:1.375;font-weight:bold}.wpr-notice-title{font-size:1.5rem;line-height:1.3333333333;color:#3ece9d;margin-top:16px;font-weight:bold}.wpr-notice-description{font-size:0.875rem;line-height:1.5714285714;margin:16px 0 24px}.wpr-notice-continue{color:#666}.wpr-notice-close{position:absolute;top:24px;right:24px;color:#666;text-decoration:none;font-size:1.5rem;line-height:1;transition:color 200ms ease-out;-webkit-transition:color 200ms ease-out}.wpr-notice-close:hover{color:#444}.wpr-notice-close:focus{outline:none}.wpr-tools{position:relative;display:flex;flex-direction:row;padding:32px 0}@media(max-width: 1239px){.wpr-tools{flex-direction:column}}@media(max-width: 1083px){.wpr-tools{flex-direction:row}}@media(max-width: 783px){.wpr-tools{flex-direction:column}}.wpr-tools:nth-child(2){margin-top:16px}.wpr-tools+.wpr-tools{border-top:1px solid #e0e4e9}.wpr-tools-label{display:block}.wpr-tools-label:before{position:absolute;left:0;margin-top:5px;font-size:2.25rem;line-height:1;color:#f56640}@media(max-width: 783px){.wpr-tools-label:before{display:block;position:initial}}.wpr-tools-col{flex:1 1 auto}.wpr-tools-col:first-child{padding-left:72px;padding-right:24px;min-width:340px}@media(max-width: 783px){.wpr-tools-col:first-child{padding-left:0;padding-right:0;min-width:auto}}.wpr-tools-col:last-child{text-align:right}@media(max-width: 783px){.wpr-tools-col:last-child{text-align:left}}.wpr-tools .wpr-button{margin-top:24px;white-space:normal}.wpr-tools .wpr-field-description{font-style:normal;color:#666}.wpr-tools #wpr-update-exclusion-msg{min-height:20px}.wpr-imagify{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:30px}.wpr-imagify-description{width:33.3333333333%;padding-right:60px}@media(max-width: 1239px){.wpr-imagify-description{width:auto;padding-right:0}}.wpr-imagify-screenshot{width:66.6666666667%}@media(max-width: 1239px){.wpr-imagify-screenshot{margin-top:60px;width:auto}}.wpr-imagify-screenshot img{max-width:100%;height:auto}.wpr-imagify-more,.wpr-imagify-name{color:#00a8dc;font-weight:700;margin-bottom:0}.wpr-imagify-more::before{content:"✓";color:#000;font-size:2rem;margin-right:5px}.wpr-imagify p{font-size:1rem}.wpr-imagify p:first-child{margin-top:0}.wpr-imagify ul{margin-top:0;margin-left:40px;list-style-type:">"}.wpr-imagify li{padding-left:7px}.wpr-imagify a{text-decoration:none}.wpr-imagify a:hover{color:#00a8dc}.wpr-imagify .button-primary{background:#2abb9b;border:1px solid #bebebe;box-shadow:none;font-size:1rem;font-weight:700;height:auto;line-height:1;margin-top:60px;padding:20px 45px;text-shadow:none;text-transform:uppercase}.wpr-tutorials-section{display:flex;flex-flow:row wrap}div.wpr-tutorial-item{width:32%;margin-bottom:10px;margin-right:1%}.wpr-tutorial-link{cursor:pointer;transition:color 200ms ease-out}.wpr-tutorial-link:hover{color:#1eadbf}@media(max-width: 1083px){div.wpr-tutorial-item{width:48%}}@media(max-width: 783px){div.wpr-tutorial-item{width:100%}}.wpr-rocketcdn-modal{display:none}.wpr-rocketcdn-modal.is-open{display:block}.wpr-rocketcdn-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center}.wpr-rocketcdn-modal__container{max-width:674px;max-height:100vh;overflow-y:auto;box-sizing:border-box}.wpr-rocketcdn-modal iframe{max-width:100%}.wpr-checkbox{position:relative;padding-left:32px}.wpr-checkbox label{user-select:none}.wpr-checkbox [type=checkbox]:not(:checked),.wpr-checkbox [type=checkbox]:checked{position:absolute;left:-9999px}.wpr-checkbox [type=checkbox]:not(:checked)+label:before,.wpr-checkbox [type=checkbox]:checked+label:before{content:"";position:absolute;left:0;top:4px;width:14px;height:14px;border:2px solid #444;border-radius:3px;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-checkbox [type=checkbox]:not(:checked)+label:after,.wpr-checkbox [type=checkbox]:checked+label:after{content:"";position:absolute;top:5px;left:2px;color:#fff;font-family:"wpr-icomoon";speak:none;font-size:0.875rem;line-height:1.2857142857;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-checkbox [type=checkbox]:not(:checked)+label:after{opacity:0;transform:scale(2)}.wpr-checkbox [type=checkbox]:checked+label:after{opacity:1;transform:scale(1)}.wpr-checkbox [type=checkbox]:checked+label:before{background:#19073b;border-color:#19073b}.wpr-checkbox [type=checkbox]:checked:focus+label:before{background:#665090;border:2px dotted #665090}.wpr-checkbox [type=checkbox]:focus+label:before{border:2px dotted #444}.wpr-checkbox-warning{color:#d33f49;margin-left:16px}.wpr-checkbox-warning::before{margin-right:8px}.wpr-radio{position:relative;padding-left:88px}.wpr-radio label{user-select:none;font-weight:bold}.wpr-radio [type=checkbox]:not(:checked),.wpr-radio [type=checkbox]:checked{position:absolute;left:-9999px}.wpr-radio [type=checkbox]:not(:checked)+label:before,.wpr-radio [type=checkbox]:checked+label:before,.wpr-radio [type=checkbox]:not(:checked)+label:after,.wpr-radio [type=checkbox]:checked+label:after{content:"";position:absolute}.wpr-radio [type=checkbox]:not(:checked)+label:before,.wpr-radio [type=checkbox]:checked+label:before{left:0;width:52px;height:22px;background:#fff;border-radius:12px;border:1px solid #444;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-radio [type=checkbox]:not(:checked)+label:after,.wpr-radio [type=checkbox]:checked+label:after{width:18px;height:18px;border-radius:100%;background:#444;top:3px;left:3px;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-radio [type=checkbox]:disabled+label:after,.wpr-radio [type=checkbox]:disabled+label:after{background:#e0e4e9}.wpr-radio [type=checkbox]:disabled+label:before,.wpr-radio [type=checkbox]:disabled+label:before{border:1px solid #e0e4e9}.wpr-radio [type=checkbox]:checked+label:before{border-color:#1eadbf}.wpr-radio [type=checkbox]:checked+label:after{background:#1eadbf;left:33px}.wpr-radio [type=checkbox]:checked+label .wpr-radio-ui,.wpr-radio [type=checkbox]:not(:checked)+label .wpr-radio-ui:before,.wpr-radio [type=checkbox]:checked+label .wpr-radio-ui:after{position:absolute;left:4px;width:52px;text-transform:uppercase;letter-spacing:-0.01em;font-weight:bold;font-size:0.6875rem;line-height:2.1818181818;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-radio [type=checkbox]:not(:checked)+label .wpr-radio-ui:before{content:attr(data-l10n-inactive);left:27px;color:#666}.wpr-radio [type=checkbox]:checked+label .wpr-radio-ui:after{content:attr(data-l10n-active);color:#02707f}.wpr-radio--reverse{padding-right:72px;padding-left:0}.wpr-radio--reverse [type=checkbox]:not(:checked)+label:before,.wpr-radio--reverse [type=checkbox]:checked+label:before{right:0;left:inherit}.wpr-radio--reverse [type=checkbox]:not(:checked)+label:after,.wpr-radio--reverse [type=checkbox]:checked+label:after{right:33px;left:inherit}.wpr-radio--reverse [type=checkbox]:checked+label:after{right:3px;left:inherit}.wpr-radio--reverse [type=checkbox]:checked+label .wpr-radio-ui,.wpr-radio--reverse [type=checkbox]:not(:checked)+label .wpr-radio-ui:before,.wpr-radio--reverse [type=checkbox]:checked+label .wpr-radio-ui:after{right:-2px;left:inherit}.wpr-radio--reverse [type=checkbox]:not(:checked)+label .wpr-radio-ui:before{right:-25px;left:inherit}.wpr-radio [type=checkbox]:not(:checked):focus+label:before{border:1px dashed #444}.wpr-radio [type=checkbox]:checked:focus+label:before{border:1px dashed #1eadbf}.wpr-radio--tips [type=checkbox]:checked+label:before{border-color:#3ece9d}.wpr-radio--tips [type=checkbox]:checked+label:after{background:#3ece9d}.wpr-radio--tips [type=checkbox]:checked+label .wpr-radio-ui:after{color:#00a66b}.wpr-radio--tips [type=checkbox]:checked:focus+label:before{border:1px dashed #3ece9d}.wpr-select{position:relative}.wpr-select select{margin:0;padding:0 8px;height:36px;border:1px solid #e0e4e9;background:#f2f3f6;color:#121116;box-shadow:none;border-radius:0;letter-spacing:.011em}.wpr-select select:focus{outline:none;border-color:#444;box-shadow:none}.wpr-select select:disabled{background-image:none}.wpr-select label{font-weight:bold;margin-left:8px}.wpr-textarea{margin-top:8px}.wpr-textarea textarea{padding:8px;width:100%;height:100px;font-family:Monaco;color:#121116;background:#fff;border:2px solid #c2cad4;border-radius:3px;font-size:0.8125rem;line-height:1.2307692308;transition:border 200ms ease-out;-webkit-transition:border 200ms ease-out}.wpr-textarea textarea:focus{outline:none;border-color:#444;box-shadow:none}.wpr-textarea+.wpr-field-description{color:#00a66b}.wpr-text label{color:#666}.wpr-text input[type=text],.wpr-text input[type=number]{margin-top:8px;padding:0 8px;width:100%;height:32px;color:#121116;background:#fff;border:2px solid #c2cad4;border-radius:3px;font-family:Monaco;font-size:0.75rem;line-height:1.3333333333;transition:border 200ms ease-out;-webkit-transition:border 200ms ease-out}.wpr-text input[type=text]:focus,.wpr-text input[type=number]:focus{outline:none;border-color:#444;box-shadow:none}.wpr-text input[type=text].wpr-isError,.wpr-text input[type=number].wpr-isError{border-color:#d33f49}.wpr-text input[type=number]{width:80px}.wpr-text--number label{margin-right:8px}.wpr-upload input[type=file]{display:block;width:252px;margin:8px 8px 8px 0;padding:8px;border:1px solid #e0e4e9;background:#f2f3f6;color:#121116;font-size:0.6875rem;line-height:1.4545454545}.wpr-upload input[type=file]:focus{outline:none;border-color:#444;box-shadow:none}.wpr-multiple{display:flex;align-items:center;flex-wrap:wrap}@media(max-width: 783px){.wpr-multiple{align-items:center;flex-direction:column}}.wpr-multiple .wpr-text{flex:1 1 auto;position:relative;top:-2px}@media(max-width: 783px){.wpr-multiple .wpr-text{width:100%}}.wpr-multiple .wpr-button{margin-left:16px;width:auto;min-width:inherit;padding-right:30px}@media(max-width: 783px){.wpr-multiple .wpr-button{margin-left:0}}.wpr-multiple input[type=text]{flex-grow:2}.wpr-multiple select{height:30px}.wpr-multiple-default{margin-right:20px}.wpr-multiple-list{display:none;padding:8px 0;margin:16px 0 0;background:#f2f3f6;border-radius:2px}.wpr-multiple-list li{margin-bottom:0;padding:4px 16px;font-size:0.8125rem;line-height:1.2307692308;font-family:Monaco}.wpr-multiple-list li span{display:inline-block;transition:all 150ms ease-out;-webkit-transition:all 150ms ease-out}.wpr-multiple-close{position:relative;top:3px;font-size:1rem;line-height:1;transition:color 200ms ease-out;-webkit-transition:color 200ms ease-out}.wpr-multiple-close:focus{outline:none}.wpr-multiple-close:hover,.wpr-multiple-close:focus{color:#d33f49}.wpr-multiple-close:hover+span,.wpr-multiple-close:focus+span{color:#d33f49}.wpr-multiple-select .wpr-list{border:2px solid #c2cad4;background-color:#fff;border-radius:5px;padding:10px;margin:8px 0}.wpr-multiple-select .wpr-list .wpr-list-header{display:flex;justify-content:space-between}.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_ads:before{font-family:"wpr-icomoon";content:"";padding-right:8px}.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_plugins:before{font-family:"wpr-icomoon";content:"";padding-right:8px}.wpr-multiple-select .wpr-list .wpr-list-header .wpr-multiple-select-exclude_js_themes:before{font-family:"wpr-icomoon";content:"";padding-right:8px}.wpr-multiple-select .wpr-list .wpr-list-header .wpr-list-header-arrow{width:15px;cursor:pointer;display:flex;transform:rotate(180deg)}.wpr-multiple-select .wpr-list .wpr-list-header h3{font-weight:500;color:#121116;font-size:0.875rem;line-height:1.5}.wpr-multiple-select .wpr-list .wpr-list-body{display:none}.wpr-multiple-select .wpr-list .wpr-list-body li{padding-left:30px}.wpr-multiple-select .wpr-list .wpr-list-body li .wpr-checkbox img{width:15px}.wpr-multiple-select .wpr-list.open .wpr-list-body{display:block}.wpr-multiple-select .wpr-list.open .wpr-list-body .wpr-checkbox label{color:#72777c}.wpr-multiple-select .wpr-list.open .wpr-list-body .wpr-checkbox input[checked=checked]+label{color:#121116}.wpr-multiple-select .wpr-list.open .wpr-list-header{border-bottom:1px solid #c2cad4;margin-bottom:10px;padding-bottom:5px}.wpr-multiple-select .wpr-list.open .wpr-list-header-arrow{transform:rotate(0deg)}.wpr-field--categorizedmultiselect .wpr-list{padding-right:15px;padding-left:15px}.wpr-field--categorizedmultiselect .wpr-list.open .wpr-list-header{padding-bottom:9px;margin-bottom:10px}.wpr-field--categorizedmultiselect .wpr-list.open .wpr-list-header{max-height:32px}.wpr-field--categorizedmultiselect .wpr-list .wpr-list-header{max-height:32px}.wpr-field--categorizedmultiselect .wpr-list [type=checkbox]+label:before{top:4px}.wpr-field--categorizedmultiselect .wpr-list [type=checkbox]:checked+label:after{top:4px}.wpr-field--categorizedmultiselect .wpr-list-header .wpr-checkbox{padding-left:29px}.wpr-field--categorizedmultiselect .wpr-list-body{display:block;max-height:250px;overflow-y:auto}.wpr-field--categorizedmultiselect .wpr-list-body ul{margin:0}.wpr-field--categorizedmultiselect .wpr-list-body ul li{margin-bottom:10px}.wpr-field--categorizedmultiselect .wpr-list-body ul li .wpr-checkbox{padding-left:25px}.wpr-field--categorizedmultiselect .wpr-list-body ul li .wpr-checkbox label{color:#121116 !important;font-weight:normal}.wpr-field--categorizedmultiselect .dashicons{color:#72777c}.wpr-field--categorizedmultiselect .wpr-multiple-select-title{font-weight:bold;margin-left:5px}@media only screen and (min-width: 782px){.wpr-field--categorizedmultiselect{padding-right:80px}} \ No newline at end of file diff --git a/assets/css/wpr-modal.css b/assets/css/wpr-modal.css new file mode 100644 index 0000000..84fc1dd --- /dev/null +++ b/assets/css/wpr-modal.css @@ -0,0 +1,75 @@ +.wpr-modal { + display: none; +} + +.wpr-modal.is-open { + display: block; +} + +.wpr-modal-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0,0,0,0.6); + display: flex; + justify-content: center; + align-items: center; + z-index: 100; +} + +.wpr-modal-container { + background-color: #fff; + padding: 30px; + max-width: 645px; + max-height: 100vh; + overflow-y: auto; + box-sizing: border-box; +} + +.wpr-modal-header, +.wpr-modal-footer { + display: flex; + justify-content: space-between; + align-items: center; +} + +.wpr-modal-title { + font-size: 26px; + font-weight: 600; + line-height: 1.2; + margin: 0; +} + +.wpr-modal-footer { + margin-top: 40px; +} + +.wpr-modal-button { + border-radius: 4px; + cursor: pointer; + padding: 8px 20px; + text-transform: uppercase; +} + +.wpr-modal-cancel { + background: transparent; + border: 1px solid #000; +} + +.wpr-modal-confirm { + background: #F56F46; + border: none; + box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); + color: #fff; + transition: box-shadow 500ms ease-in; +} + +.wpr-modal-confirm:hover { + box-shadow: none; +} + +.wpr-modal .wpr-sub-list { + padding-left: 25px; +} diff --git a/assets/fonts/icomoon.eot b/assets/fonts/icomoon.eot new file mode 100644 index 0000000..ca87b37 Binary files /dev/null and b/assets/fonts/icomoon.eot differ diff --git a/assets/fonts/icomoon.svg b/assets/fonts/icomoon.svg new file mode 100644 index 0000000..6a4cc83 --- /dev/null +++ b/assets/fonts/icomoon.svg @@ -0,0 +1,39 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/icomoon.ttf b/assets/fonts/icomoon.ttf new file mode 100644 index 0000000..6a0202c Binary files /dev/null and b/assets/fonts/icomoon.ttf differ diff --git a/assets/fonts/icomoon.woff b/assets/fonts/icomoon.woff new file mode 100644 index 0000000..5da2c2c Binary files /dev/null and b/assets/fonts/icomoon.woff differ diff --git a/assets/img/automatic.svg b/assets/img/automatic.svg new file mode 100644 index 0000000..ff9fd3b --- /dev/null +++ b/assets/img/automatic.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/img/bandwidth.svg b/assets/img/bandwidth.svg new file mode 100644 index 0000000..3e28d02 --- /dev/null +++ b/assets/img/bandwidth.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/img/bg-activated.svg b/assets/img/bg-activated.svg new file mode 100644 index 0000000..7b9154a --- /dev/null +++ b/assets/img/bg-activated.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/configuration.svg b/assets/img/configuration.svg new file mode 100644 index 0000000..c57019a --- /dev/null +++ b/assets/img/configuration.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/img/heartbeat-hover.svg b/assets/img/heartbeat-hover.svg new file mode 100644 index 0000000..52dff42 --- /dev/null +++ b/assets/img/heartbeat-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/heartbeat.svg b/assets/img/heartbeat.svg new file mode 100644 index 0000000..aa35a55 --- /dev/null +++ b/assets/img/heartbeat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/icon-128x128.png b/assets/img/icon-128x128.png new file mode 100644 index 0000000..50d8049 Binary files /dev/null and b/assets/img/icon-128x128.png differ diff --git a/assets/img/icon-256x256.png b/assets/img/icon-256x256.png new file mode 100644 index 0000000..aeabf1e Binary files /dev/null and b/assets/img/icon-256x256.png differ diff --git a/assets/img/icon-i-circle.svg b/assets/img/icon-i-circle.svg new file mode 100644 index 0000000..6e8a8f6 --- /dev/null +++ b/assets/img/icon-i-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/img/imagify-hover.svg b/assets/img/imagify-hover.svg new file mode 100644 index 0000000..71069f2 --- /dev/null +++ b/assets/img/imagify-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/imagify.svg b/assets/img/imagify.svg new file mode 100644 index 0000000..4330643 --- /dev/null +++ b/assets/img/imagify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/infinite.svg b/assets/img/infinite.svg new file mode 100644 index 0000000..b283d42 --- /dev/null +++ b/assets/img/infinite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/logo-cloudflare.svg b/assets/img/logo-cloudflare.svg new file mode 100644 index 0000000..1da5af7 --- /dev/null +++ b/assets/img/logo-cloudflare.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/logo-cloudflare2.svg b/assets/img/logo-cloudflare2.svg new file mode 100644 index 0000000..f1241b9 --- /dev/null +++ b/assets/img/logo-cloudflare2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/logo-sucuri.png b/assets/img/logo-sucuri.png new file mode 100644 index 0000000..da98187 Binary files /dev/null and b/assets/img/logo-sucuri.png differ diff --git a/assets/img/logo-varnish.svg b/assets/img/logo-varnish.svg new file mode 100644 index 0000000..31a5fee --- /dev/null +++ b/assets/img/logo-varnish.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/logo-webp.svg b/assets/img/logo-webp.svg new file mode 100644 index 0000000..5f6afcc --- /dev/null +++ b/assets/img/logo-webp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/logo-wprocket-dark.svg b/assets/img/logo-wprocket-dark.svg new file mode 100644 index 0000000..91efff4 --- /dev/null +++ b/assets/img/logo-wprocket-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/one-com-logo.svg b/assets/img/one-com-logo.svg new file mode 100644 index 0000000..276e9be --- /dev/null +++ b/assets/img/one-com-logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/img/picto-wprocket-dark.svg b/assets/img/picto-wprocket-dark.svg new file mode 100644 index 0000000..b0e6e3b --- /dev/null +++ b/assets/img/picto-wprocket-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/play-alt.svg b/assets/img/play-alt.svg new file mode 100644 index 0000000..4ca3272 --- /dev/null +++ b/assets/img/play-alt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/play-hover.svg b/assets/img/play-hover.svg new file mode 100644 index 0000000..c9f6f83 --- /dev/null +++ b/assets/img/play-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/play.svg b/assets/img/play.svg new file mode 100644 index 0000000..0af490c --- /dev/null +++ b/assets/img/play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/plus.svg b/assets/img/plus.svg new file mode 100644 index 0000000..f77148d --- /dev/null +++ b/assets/img/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/warning.svg b/assets/img/warning.svg new file mode 100644 index 0000000..01de968 --- /dev/null +++ b/assets/img/warning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/youtube.png b/assets/img/youtube.png new file mode 100644 index 0000000..f5d4db1 Binary files /dev/null and b/assets/img/youtube.png differ diff --git a/assets/js/browser-checker.js b/assets/js/browser-checker.js new file mode 100644 index 0000000..cd6b8ac --- /dev/null +++ b/assets/js/browser-checker.js @@ -0,0 +1,109 @@ +class RocketBrowserCompatibilityChecker { + + constructor( options ) { + this.passiveSupported = false; + + this._checkPassiveOption( this ); + this.options = this.passiveSupported ? options : false; + } + + /** + * Initializes browser check for addEventListener passive option. + * + * @link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support + * @private + * + * @param self Instance of this object. + * @returns {boolean} + */ + _checkPassiveOption( self ) { + try { + const options = { + // This function will be called when the browser attempts to access the passive property. + get passive() { + self.passiveSupported = true; + return false; + } + }; + + window.addEventListener( 'test', null, options ); + window.removeEventListener( 'test', null, options ); + } catch ( err ) { + self.passiveSupported = false; + } + } + + /** + * Checks if the browser supports requestIdleCallback and cancelIdleCallback. If no, shims its behavior with a polyfills. + * + * @link @link https://developers.google.com/web/updates/2015/08/using-requestidlecallback + */ + initRequestIdleCallback() { + if ( ! 'requestIdleCallback' in window ) { + window.requestIdleCallback = ( cb ) => { + const start = Date.now(); + return setTimeout( () => { + cb( { + didTimeout: false, + timeRemaining: function timeRemaining() { + return Math.max( 0, 50 - ( Date.now() - start ) ); + } + } ); + }, 1 ); + }; + } + + if ( ! 'cancelIdleCallback' in window ) { + window.cancelIdleCallback = ( id ) => clearTimeout( id ); + } + } + + /** + * Detects if data saver mode is on. + * + * @link https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/save-data/#detecting_the_save-data_setting + * + * @returns {boolean|boolean} + */ + isDataSaverModeOn() { + return ( + 'connection' in navigator + && + true === navigator.connection.saveData + ); + } + + /** + * Checks if the browser supports link prefetch. + * + * @returns {boolean|boolean} + */ + supportsLinkPrefetch() { + const elem = document.createElement( 'link' ); + return ( + elem.relList + && + elem.relList.supports + && + elem.relList.supports( 'prefetch' ) + && + window.IntersectionObserver + && + 'isIntersecting' in IntersectionObserverEntry.prototype + ); + } + + isSlowConnection() { + return ( + 'connection' in navigator + && + 'effectiveType' in navigator.connection + && + ( + '2g' === navigator.connection.effectiveType + || + 'slow-2g' === navigator.connection.effectiveType + ) + ) + } +} diff --git a/assets/js/browser-checker.min.js b/assets/js/browser-checker.min.js new file mode 100644 index 0000000..cee63e9 --- /dev/null +++ b/assets/js/browser-checker.min.js @@ -0,0 +1 @@ +"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i 0 ) { + for ( let stylesheet_index = 0;stylesheet_index < preload_stylesheets.length;stylesheet_index++ ){ + let media = preload_stylesheets[stylesheet_index].getAttribute('media') || 'all'; + if( window.matchMedia(media).matches ){ + setTimeout( wprRemoveCPCSS, 200 ); + return; + } + } + } + + const elem = document.getElementById( 'rocket-critical-css' ); + if ( elem && 'remove' in elem ) { + elem.remove(); + } +} + +if ( window.addEventListener ) { + window.addEventListener( 'load', wprRemoveCPCSS ); +} else if ( window.attachEvent ) { + window.attachEvent( 'onload', wprRemoveCPCSS ); +} diff --git a/assets/js/cpcss-removal.min.js b/assets/js/cpcss-removal.min.js new file mode 100644 index 0000000..57fd104 --- /dev/null +++ b/assets/js/cpcss-removal.min.js @@ -0,0 +1 @@ +"use strict";function wprRemoveCPCSS(){var preload_stylesheets=document.querySelectorAll('link[data-rocket-async="style"][rel="preload"]');if(preload_stylesheets&&0{const e=t.getBoundingClientRect();if(e.bottom>=0&&e.top<=window.innerHeight)try{this._animateElement(t)}catch(t){}})}_animateElement(t){const e=JSON.parse(t.dataset.settings),i=e._animation_delay||e.animation_delay||0,n=e[this.animationSettingKeys.find(t=>e[t])];if("none"===n)return void t.classList.remove("elementor-invisible");t.classList.remove(n),this.currentAnimation&&t.classList.remove(this.currentAnimation),this.currentAnimation=n;let s=setTimeout(()=>{t.classList.remove("elementor-invisible"),t.classList.add("animated",n),this._removeAnimationSettings(t,e)},i);window.addEventListener("rocket-startLoading",function(){clearTimeout(s)})}_listAnimationSettingsKeys(t="mobile"){const e=[""];switch(t){case"mobile":e.unshift("_mobile");case"tablet":e.unshift("_tablet");case"desktop":e.unshift("_desktop")}const i=[];return["animation","_animation"].forEach(t=>{e.forEach(e=>{i.push(t+e)})}),i}_removeAnimationSettings(t,e){this._listAnimationSettingsKeys().forEach(t=>delete e[t]),t.dataset.settings=JSON.stringify(e)}static run(){const t=new RocketElementorAnimation;requestAnimationFrame(t._detectAnimations.bind(t))}}document.addEventListener("DOMContentLoaded",RocketElementorAnimation.run); \ No newline at end of file diff --git a/assets/js/heartbeat.js b/assets/js/heartbeat.js new file mode 100644 index 0000000..e69de29 diff --git a/assets/js/lazyload-css.js b/assets/js/lazyload-css.js new file mode 100644 index 0000000..bdd156f --- /dev/null +++ b/assets/js/lazyload-css.js @@ -0,0 +1,80 @@ +function rocket_css_lazyload_launch() { + + const usable_pairs = typeof rocket_pairs === 'undefined' ? [] : rocket_pairs; + + + const styleElement = document.querySelector('#wpr-lazyload-bg'); + + const threshold = rocket_lazyload_css_data.threshold || 300; + + const observer = new IntersectionObserver(entries => { + entries.forEach(entry => { + if (entry.isIntersecting) { + const pairs = usable_pairs.filter(s => entry.target.matches(s.selector)); + pairs.map(pair => { + if (pair) { + styleElement.innerHTML += pair.style; + pair.elements.forEach(el => { + // Stop observing the target element + observer.unobserve(el); + el.setAttribute(`data-rocket-lazy-bg-${pair.hash}`, 'loaded'); + }); + } + }) + } + }); + }, { + rootMargin: threshold + 'px' + }); + + function lazyload(e = []) { + + const pass = e.length > 0; + + if(! pass ) { + return; + } + + usable_pairs.forEach(pair => { + try { + + const elements = document.querySelectorAll(pair.selector); + elements.forEach(el => { + if(el.getAttribute(`data-rocket-lazy-bg-${pair.hash}`) === 'loaded') { + return; + } + observer.observe(el); + // Save el in the pair object (create a new empty array if it doesn't exist) + (pair.elements ||= []).push(el); + }); + } catch (error) { + console.error(error); + } + }); + } + + lazyload(); + + const observe_DOM = (function(){ + const MutationObserver = window.MutationObserver; + + return function( obj, callback ){ + if( !obj || obj.nodeType !== 1 ) return; + + // define a new observer + const mutationObserver = new MutationObserver(callback); + + // have the observer observe for changes in children + mutationObserver.observe( obj, { attributes: true, childList:true, subtree:true }) + return mutationObserver + + } + + })() + + const body = document.querySelector('body'); + + observe_DOM(body, lazyload) +} + +rocket_css_lazyload_launch(); \ No newline at end of file diff --git a/assets/js/lazyload-css.js.min.map b/assets/js/lazyload-css.js.min.map new file mode 100644 index 0000000..2f0bdc0 --- /dev/null +++ b/assets/js/lazyload-css.js.min.map @@ -0,0 +1 @@ +{"version":3,"names":[],"mappings":"","sources":["lazyload-css.js"],"sourcesContent":["!function o(n,c,s){function i(r,e){if(!c[r]){if(!n[r]){var t=\"function\"==typeof require&&require;if(!e&&t)return t(r,!0);if(a)return a(r,!0);throw(t=new Error(\"Cannot find module '\"+r+\"'\")).code=\"MODULE_NOT_FOUND\",t}t=c[r]={exports:{}},n[r][0].call(t.exports,function(e){return i(n[r][1][e]||e)},t,t.exports,o,n,c,s)}return c[r].exports}for(var a=\"function\"==typeof require&&require,e=0;e{e.forEach(r=>{if(r.isIntersecting){const e=rocket_pairs.filter(e=>r.target.matches(e.selector));e.map(e=>{e&&(t.innerHTML+=e.style,e.elements.forEach(e=>{e.setAttribute(\"data-rocket-lazy-bg\",\"loaded\"),o.unobserve(e)}))})}})},{rootMargin:r+\"px\"});e.forEach(r=>{try{const e=document.querySelectorAll(r.selector);e.forEach(e=>{o.observe(e),(r.elements||(r.elements=[])).push(e)})}catch(e){console.error(e)}})}()},{}]},{},[1]);"],"file":"lazyload-css.js"} \ No newline at end of file diff --git a/assets/js/lazyload-css.min.js b/assets/js/lazyload-css.min.js new file mode 100644 index 0000000..79a82b8 --- /dev/null +++ b/assets/js/lazyload-css.min.js @@ -0,0 +1 @@ +!function o(n,c,a){function s(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(r=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",r}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return s(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var u="function"==typeof require&&require,e=0;e{var e=t.selector;const r=document.querySelectorAll(e);r.forEach(e=>{e.setAttribute("data-rocket-lazy-bg-".concat(t.hash),"excluded")})});const o=document.querySelector("#wpr-lazyload-bg");var t=rocket_lazyload_css_data.threshold||300;const n=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const e=r.filter(e=>t.target.matches(e.selector));e.map(t=>{t&&(o.innerHTML+=t.style,t.elements.forEach(e=>{n.unobserve(e),e.setAttribute("data-rocket-lazy-bg-".concat(t.hash),"loaded")}))})}})},{rootMargin:t+"px"});function c(){0<(0{try{const e=document.querySelectorAll(t.selector);e.forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-".concat(t.hash))&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-".concat(t.hash))&&(n.observe(e),(t.elements||(t.elements=[])).push(e))})}catch(e){console.error(e)}})}c();const a=function(){const o=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType){const r=new o(t);return r.observe(e,{attributes:!0,childList:!0,subtree:!0}),r}}}();t=document.querySelector("body"),a(t,c)}()},{}]},{},[1]); diff --git a/assets/js/lazyload-css.min.js.map b/assets/js/lazyload-css.min.js.map new file mode 100644 index 0000000..bad726a --- /dev/null +++ b/assets/js/lazyload-css.min.js.map @@ -0,0 +1 @@ +{"version":3,"names":[],"mappings":"","sources":["lazyload-css.min.js"],"sourcesContent":["!function o(n,c,a){function s(t,e){if(!c[t]){if(!n[t]){var r=\"function\"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(r=new Error(\"Cannot find module '\"+t+\"'\")).code=\"MODULE_NOT_FOUND\",r}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return s(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var u=\"function\"==typeof require&&require,e=0;e{var e=t.selector;const r=document.querySelectorAll(e);r.forEach(e=>{e.setAttribute(\"data-rocket-lazy-bg-\".concat(t.hash),\"excluded\")})});const o=document.querySelector(\"#wpr-lazyload-bg\");var t=rocket_lazyload_css_data.threshold||300;const n=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const e=r.filter(e=>t.target.matches(e.selector));e.map(t=>{t&&(o.innerHTML+=t.style,t.elements.forEach(e=>{n.unobserve(e),e.setAttribute(\"data-rocket-lazy-bg-\".concat(t.hash),\"loaded\")}))})}})},{rootMargin:t+\"px\"});function c(){0<(0{try{const e=document.querySelectorAll(t.selector);e.forEach(e=>{\"loaded\"!==e.getAttribute(\"data-rocket-lazy-bg-\".concat(t.hash))&&\"excluded\"!==e.getAttribute(\"data-rocket-lazy-bg-\".concat(t.hash))&&(n.observe(e),(t.elements||(t.elements=[])).push(e))})}catch(e){console.error(e)}})}c();const a=function(){const o=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType){const r=new o(t);return r.observe(e,{attributes:!0,childList:!0,subtree:!0}),r}}}();t=document.querySelector(\"body\"),a(t,c)}()},{}]},{},[1]);"],"file":"lazyload-css.min.js"} \ No newline at end of file diff --git a/assets/js/lazyload-scripts.min.js b/assets/js/lazyload-scripts.min.js new file mode 100644 index 0000000..581bc35 --- /dev/null +++ b/assets/js/lazyload-scripts.min.js @@ -0,0 +1 @@ +class RocketLazyLoadScripts{constructor(){this.v="1.2.4",this.triggerEvents=["keydown","mousedown","mousemove","touchmove","touchstart","touchend","wheel"],this.userEventHandler=this._triggerListener.bind(this),this.touchStartHandler=this._onTouchStart.bind(this),this.touchMoveHandler=this._onTouchMove.bind(this),this.touchEndHandler=this._onTouchEnd.bind(this),this.clickHandler=this._onClick.bind(this),this.interceptedClicks=[],window.addEventListener("pageshow",t=>{this.persisted=t.persisted}),window.addEventListener("DOMContentLoaded",()=>{this._preconnect3rdParties()}),this.delayedScripts={normal:[],async:[],defer:[]},this.trash=[],this.allJQueries=[]}_addUserInteractionListener(t){if(document.hidden){t._triggerListener();return}this.triggerEvents.forEach(e=>window.addEventListener(e,t.userEventHandler,{passive:!0})),window.addEventListener("touchstart",t.touchStartHandler,{passive:!0}),window.addEventListener("mousedown",t.touchStartHandler),document.addEventListener("visibilitychange",t.userEventHandler)}_removeUserInteractionListener(){this.triggerEvents.forEach(t=>window.removeEventListener(t,this.userEventHandler,{passive:!0})),document.removeEventListener("visibilitychange",this.userEventHandler)}_onTouchStart(t){"HTML"!==t.target.tagName&&(window.addEventListener("touchend",this.touchEndHandler),window.addEventListener("mouseup",this.touchEndHandler),window.addEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.addEventListener("mousemove",this.touchMoveHandler),t.target.addEventListener("click",this.clickHandler),this._renameDOMAttribute(t.target,"onclick","rocket-onclick"),this._pendingClickStarted())}_onTouchMove(t){window.removeEventListener("touchend",this.touchEndHandler),window.removeEventListener("mouseup",this.touchEndHandler),window.removeEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.removeEventListener("mousemove",this.touchMoveHandler),t.target.removeEventListener("click",this.clickHandler),this._renameDOMAttribute(t.target,"rocket-onclick","onclick"),this._pendingClickFinished()}_onTouchEnd(){window.removeEventListener("touchend",this.touchEndHandler),window.removeEventListener("mouseup",this.touchEndHandler),window.removeEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.removeEventListener("mousemove",this.touchMoveHandler)}_onClick(t){t.target.removeEventListener("click",this.clickHandler),this._renameDOMAttribute(t.target,"rocket-onclick","onclick"),this.interceptedClicks.push(t),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this._pendingClickFinished()}_replayClicks(){window.removeEventListener("touchstart",this.touchStartHandler,{passive:!0}),window.removeEventListener("mousedown",this.touchStartHandler),this.interceptedClicks.forEach(t=>{t.target.dispatchEvent(new MouseEvent("click",{view:t.view,bubbles:!0,cancelable:!0}))})}_waitForPendingClicks(){return new Promise(t=>{this._isClickPending?this._pendingClickFinished=t:t()})}_pendingClickStarted(){this._isClickPending=!0}_pendingClickFinished(){this._isClickPending=!1}_renameDOMAttribute(t,e,r){t.hasAttribute&&t.hasAttribute(e)&&(event.target.setAttribute(r,event.target.getAttribute(e)),event.target.removeAttribute(e))}_triggerListener(){this._removeUserInteractionListener(this),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this._loadEverythingNow.bind(this)):this._loadEverythingNow()}_preconnect3rdParties(){let t=[];document.querySelectorAll("script[type=rocketlazyloadscript][data-rocket-src]").forEach(e=>{let r=e.getAttribute("data-rocket-src");if(r&&0!==r.indexOf("data:")){0===r.indexOf("//")&&(r=location.protocol+r);try{let i=new URL(r).origin;i!==location.origin&&t.push({src:i,crossOrigin:e.crossOrigin||"module"===e.getAttribute("data-rocket-type")})}catch(n){}}}),t=[...new Map(t.map(t=>[JSON.stringify(t),t])).values()],this._batchInjectResourceHints(t,"preconnect")}async _loadEverythingNow(){this.lastBreath=Date.now(),this._delayEventListeners(),this._delayJQueryReady(this),this._handleDocumentWrite(),this._registerAllDelayedScripts(),this._preloadAllScripts(),await this._loadScriptsFromList(this.delayedScripts.normal),await this._loadScriptsFromList(this.delayedScripts.defer),await this._loadScriptsFromList(this.delayedScripts.async);try{await this._triggerDOMContentLoaded(),await this._pendingWebpackRequests(this),await this._triggerWindowLoad()}catch(t){console.error(t)}window.dispatchEvent(new Event("rocket-allScriptsLoaded")),this._waitForPendingClicks().then(()=>{this._replayClicks()}),this._emptyTrash()}_registerAllDelayedScripts(){document.querySelectorAll("script[type=rocketlazyloadscript]").forEach(t=>{t.hasAttribute("data-rocket-src")?t.hasAttribute("async")&&!1!==t.async?this.delayedScripts.async.push(t):t.hasAttribute("defer")&&!1!==t.defer||"module"===t.getAttribute("data-rocket-type")?this.delayedScripts.defer.push(t):this.delayedScripts.normal.push(t):this.delayedScripts.normal.push(t)})}async _transformScript(t){if(await this._littleBreath(),!0===t.noModule&&"noModule"in HTMLScriptElement.prototype){t.setAttribute("data-rocket-status","skipped");return}return new Promise(navigator.userAgent.indexOf("Firefox/")>0||""===navigator.vendor?e=>{let r=document.createElement("script");[...t.attributes].forEach(t=>{let e=t.nodeName;"type"!==e&&("data-rocket-type"===e&&(e="type"),"data-rocket-src"===e&&(e="src"),r.setAttribute(e,t.nodeValue))}),t.text&&(r.text=t.text),r.hasAttribute("src")?(r.addEventListener("load",e),r.addEventListener("error",e)):(r.text=t.text,e());try{t.parentNode.replaceChild(r,t)}catch(i){e()}}:e=>{function r(){t.setAttribute("data-rocket-status","failed"),e()}try{let i=t.getAttribute("data-rocket-type"),n=t.getAttribute("data-rocket-src");i?(t.type=i,t.removeAttribute("data-rocket-type")):t.removeAttribute("type"),t.addEventListener("load",function r(){t.setAttribute("data-rocket-status","executed"),e()}),t.addEventListener("error",r),n?(t.removeAttribute("data-rocket-src"),t.src=n):t.src="data:text/javascript;base64,"+window.btoa(unescape(encodeURIComponent(t.text)))}catch(s){r()}})}async _loadScriptsFromList(t){let e=t.shift();return e&&e.isConnected?(await this._transformScript(e),this._loadScriptsFromList(t)):Promise.resolve()}_preloadAllScripts(){this._batchInjectResourceHints([...this.delayedScripts.normal,...this.delayedScripts.defer,...this.delayedScripts.async],"preload")}_batchInjectResourceHints(t,e){var r=document.createDocumentFragment();t.forEach(t=>{let i=t.getAttribute&&t.getAttribute("data-rocket-src")||t.src;if(i){let n=document.createElement("link");n.href=i,n.rel=e,"preconnect"!==e&&(n.as="script"),t.getAttribute&&"module"===t.getAttribute("data-rocket-type")&&(n.crossOrigin=!0),t.crossOrigin&&(n.crossOrigin=t.crossOrigin),t.integrity&&(n.integrity=t.integrity),r.appendChild(n),this.trash.push(n)}}),document.head.appendChild(r)}_delayEventListeners(){let t={};function e(e,r){!function e(r){!t[r]&&(t[r]={originalFunctions:{add:r.addEventListener,remove:r.removeEventListener},eventsToRewrite:[]},r.addEventListener=function(){arguments[0]=i(arguments[0]),t[r].originalFunctions.add.apply(r,arguments)},r.removeEventListener=function(){arguments[0]=i(arguments[0]),t[r].originalFunctions.remove.apply(r,arguments)});function i(e){return t[r].eventsToRewrite.indexOf(e)>=0?"rocket-"+e:e}}(e),t[e].eventsToRewrite.push(r)}function r(t,e){let r=t[e];Object.defineProperty(t,e,{get:()=>r||function(){},set(i){t["rocket"+e]=r=i}})}e(document,"DOMContentLoaded"),e(window,"DOMContentLoaded"),e(window,"load"),e(window,"pageshow"),e(document,"readystatechange"),r(document,"onreadystatechange"),r(window,"onload"),r(window,"onpageshow")}_delayJQueryReady(t){let e;function r(t){return t.split(" ").map(t=>"load"===t||0===t.indexOf("load.")?"rocket-jquery-load":t).join(" ")}function i(i){if(i&&i.fn&&!t.allJQueries.includes(i)){i.fn.ready=i.fn.init.prototype.ready=function(e){return t.domReadyFired?e.bind(document)(i):document.addEventListener("rocket-DOMContentLoaded",()=>e.bind(document)(i)),i([])};let n=i.fn.on;i.fn.on=i.fn.init.prototype.on=function(){return this[0]===window&&("string"==typeof arguments[0]||arguments[0]instanceof String?arguments[0]=r(arguments[0]):"object"==typeof arguments[0]&&Object.keys(arguments[0]).forEach(t=>{let e=arguments[0][t];delete arguments[0][t],arguments[0][r(t)]=e})),n.apply(this,arguments),this},t.allJQueries.push(i)}e=i}i(window.jQuery),Object.defineProperty(window,"jQuery",{get:()=>e,set(t){i(t)}})}async _pendingWebpackRequests(t){let e=document.querySelector("script[data-webpack]");async function r(){return new Promise(t=>{e.addEventListener("load",t),e.addEventListener("error",t)})}e&&(await r(),await t._requestAnimFrame(),await t._pendingWebpackRequests(t))}async _triggerDOMContentLoaded(){this.domReadyFired=!0,await this._littleBreath(),document.dispatchEvent(new Event("rocket-DOMContentLoaded")),await this._littleBreath(),window.dispatchEvent(new Event("rocket-DOMContentLoaded")),await this._littleBreath(),document.dispatchEvent(new Event("rocket-readystatechange")),await this._littleBreath(),document.rocketonreadystatechange&&document.rocketonreadystatechange()}async _triggerWindowLoad(){await this._littleBreath(),window.dispatchEvent(new Event("rocket-load")),await this._littleBreath(),window.rocketonload&&window.rocketonload(),await this._littleBreath(),this.allJQueries.forEach(t=>t(window).trigger("rocket-jquery-load")),await this._littleBreath();let t=new Event("rocket-pageshow");t.persisted=this.persisted,window.dispatchEvent(t),await this._littleBreath(),window.rocketonpageshow&&window.rocketonpageshow({persisted:this.persisted})}_handleDocumentWrite(){let t=new Map;document.write=document.writeln=function(e){let r=document.currentScript;r||console.error("WPRocket unable to document.write this: "+e);let i=document.createRange(),n=r.parentElement,s=t.get(r);void 0===s&&(s=r.nextSibling,t.set(r,s));let a=document.createDocumentFragment();i.setStart(a,0),a.appendChild(i.createContextualFragment(e)),n.insertBefore(a,s)}}async _littleBreath(){Date.now()-this.lastBreath>45&&(await this._requestAnimFrame(),this.lastBreath=Date.now())}async _requestAnimFrame(){return document.hidden?new Promise(t=>setTimeout(t)):new Promise(t=>requestAnimationFrame(t))}_emptyTrash(){this.trash.forEach(t=>t.remove())}static run(){let t=new RocketLazyLoadScripts;t._addUserInteractionListener(t)}}RocketLazyLoadScripts.run(); \ No newline at end of file diff --git a/assets/js/lazyload/11.0.6/lazyload.js b/assets/js/lazyload/11.0.6/lazyload.js new file mode 100644 index 0000000..4ff9bf6 --- /dev/null +++ b/assets/js/lazyload/11.0.6/lazyload.js @@ -0,0 +1,461 @@ +function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +(function (global, factory) { + (typeof exports === "undefined" ? "undefined" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.LazyLoad = factory(); +})(this, function () { + 'use strict'; + + var runningOnBrowser = typeof window !== "undefined"; + var isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent); + var supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window; + var supportsClassList = runningOnBrowser && "classList" in document.createElement("p"); + var defaultSettings = { + elements_selector: "img", + container: isBot || runningOnBrowser ? document : null, + threshold: 300, + thresholds: null, + data_src: "src", + data_srcset: "srcset", + data_sizes: "sizes", + data_bg: "bg", + class_loading: "loading", + class_loaded: "loaded", + class_error: "error", + load_delay: 0, + auto_unobserve: true, + callback_enter: null, + callback_exit: null, + callback_reveal: null, + callback_loaded: null, + callback_error: null, + callback_finish: null + }; + + var getInstanceSettings = function getInstanceSettings(customSettings) { + return _extends({}, defaultSettings, customSettings); + }; + + var dataPrefix = "data-"; + var processedDataName = "was-processed"; + var timeoutDataName = "ll-timeout"; + var trueString = "true"; + + var getData = function getData(element, attribute) { + return element.getAttribute(dataPrefix + attribute); + }; + + var setData = function setData(element, attribute, value) { + var attrName = dataPrefix + attribute; + + if (value === null) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + + var setWasProcessedData = function setWasProcessedData(element) { + return setData(element, processedDataName, trueString); + }; + + var getWasProcessedData = function getWasProcessedData(element) { + return getData(element, processedDataName) === trueString; + }; + + var setTimeoutData = function setTimeoutData(element, value) { + return setData(element, timeoutDataName, value); + }; + + var getTimeoutData = function getTimeoutData(element) { + return getData(element, timeoutDataName); + }; + + var purgeProcessedElements = function purgeProcessedElements(elements) { + return elements.filter(function (element) { + return !getWasProcessedData(element); + }); + }; + + var purgeOneElement = function purgeOneElement(elements, elementToPurge) { + return elements.filter(function (element) { + return element !== elementToPurge; + }); + }; + /* Creates instance and notifies it through the window element */ + + + var createInstance = function createInstance(classObj, options) { + var event; + var eventString = "LazyLoad::Initialized"; + var instance = new classObj(options); + + try { + // Works in modern browsers + event = new CustomEvent(eventString, { + detail: { + instance: instance + } + }); + } catch (err) { + // Works in Internet Explorer (all versions) + event = document.createEvent("CustomEvent"); + event.initCustomEvent(eventString, false, false, { + instance: instance + }); + } + + window.dispatchEvent(event); + }; + /* Auto initialization of one or more instances of lazyload, depending on the + options passed in (plain object or an array) */ + + + function autoInitialize(classObj, options) { + if (!options) { + return; + } + + if (!options.length) { + // Plain object + createInstance(classObj, options); + } else { + // Array of objects + for (var i = 0, optionsItem; optionsItem = options[i]; i += 1) { + createInstance(classObj, optionsItem); + } + } + } + + var callbackIfSet = function callbackIfSet(callback, argument) { + if (callback) { + callback(argument); + } + }; + + var updateLoadingCount = function updateLoadingCount(instance, plusMinus) { + instance._loadingCount += plusMinus; + + if (instance._elements.length === 0 && instance._loadingCount === 0) { + callbackIfSet(instance._settings.callback_finish); + } + }; + + var getSourceTags = function getSourceTags(parentTag) { + var sourceTags = []; + + for (var i = 0, childTag; childTag = parentTag.children[i]; i += 1) { + if (childTag.tagName === "SOURCE") { + sourceTags.push(childTag); + } + } + + return sourceTags; + }; + + var setAttributeIfValue = function setAttributeIfValue(element, attrName, value) { + if (!value) { + return; + } + + element.setAttribute(attrName, value); + }; + + var setImageAttributes = function setImageAttributes(element, settings) { + setAttributeIfValue(element, "sizes", getData(element, settings.data_sizes)); + setAttributeIfValue(element, "srcset", getData(element, settings.data_srcset)); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + + var setSourcesImg = function setSourcesImg(element, settings) { + var parent = element.parentNode; + + if (parent && parent.tagName === "PICTURE") { + var sourceTags = getSourceTags(parent); + sourceTags.forEach(function (sourceTag) { + setImageAttributes(sourceTag, settings); + }); + } + + setImageAttributes(element, settings); + }; + + var setSourcesIframe = function setSourcesIframe(element, settings) { + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + + var setSourcesVideo = function setSourcesVideo(element, settings) { + var sourceTags = getSourceTags(element); + sourceTags.forEach(function (sourceTag) { + setAttributeIfValue(sourceTag, "src", getData(sourceTag, settings.data_src)); + }); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + element.load(); + }; + + var setSourcesBgImage = function setSourcesBgImage(element, settings) { + var srcDataValue = getData(element, settings.data_src); + var bgDataValue = getData(element, settings.data_bg); + + if (srcDataValue) { + element.style.backgroundImage = "url(\"".concat(srcDataValue, "\")"); + } + + if (bgDataValue) { + element.style.backgroundImage = bgDataValue; + } + }; + + var setSourcesFunctions = { + IMG: setSourcesImg, + IFRAME: setSourcesIframe, + VIDEO: setSourcesVideo + }; + + var setSources = function setSources(element, instance) { + var settings = instance._settings; + var tagName = element.tagName; + var setSourcesFunction = setSourcesFunctions[tagName]; + + if (setSourcesFunction) { + setSourcesFunction(element, settings); + updateLoadingCount(instance, 1); + instance._elements = purgeOneElement(instance._elements, element); + return; + } + + setSourcesBgImage(element, settings); + }; + + var addClass = function addClass(element, className) { + if (supportsClassList) { + element.classList.add(className); + return; + } + + element.className += (element.className ? " " : "") + className; + }; + + var removeClass = function removeClass(element, className) { + if (supportsClassList) { + element.classList.remove(className); + return; + } + + element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, ""); + }; + + var genericLoadEventName = "load"; + var mediaLoadEventName = "loadeddata"; + var errorEventName = "error"; + + var addEventListener = function addEventListener(element, eventName, handler) { + element.addEventListener(eventName, handler); + }; + + var removeEventListener = function removeEventListener(element, eventName, handler) { + element.removeEventListener(eventName, handler); + }; + + var addEventListeners = function addEventListeners(element, loadHandler, errorHandler) { + addEventListener(element, genericLoadEventName, loadHandler); + addEventListener(element, mediaLoadEventName, loadHandler); + addEventListener(element, errorEventName, errorHandler); + }; + + var removeEventListeners = function removeEventListeners(element, loadHandler, errorHandler) { + removeEventListener(element, genericLoadEventName, loadHandler); + removeEventListener(element, mediaLoadEventName, loadHandler); + removeEventListener(element, errorEventName, errorHandler); + }; + + var eventHandler = function eventHandler(event, success, instance) { + var settings = instance._settings; + var className = success ? settings.class_loaded : settings.class_error; + var callback = success ? settings.callback_loaded : settings.callback_error; + var element = event.target; + removeClass(element, settings.class_loading); + addClass(element, className); + callbackIfSet(callback, element); + updateLoadingCount(instance, -1); + }; + + var addOneShotEventListeners = function addOneShotEventListeners(element, instance) { + var loadHandler = function loadHandler(event) { + eventHandler(event, true, instance); + removeEventListeners(element, loadHandler, errorHandler); + }; + + var errorHandler = function errorHandler(event) { + eventHandler(event, false, instance); + removeEventListeners(element, loadHandler, errorHandler); + }; + + addEventListeners(element, loadHandler, errorHandler); + }; + + var managedTags = ["IMG", "IFRAME", "VIDEO"]; + + var onEnter = function onEnter(element, instance) { + var settings = instance._settings; + callbackIfSet(settings.callback_enter, element); + + if (!settings.load_delay) { + revealAndUnobserve(element, instance); + return; + } + + delayLoad(element, instance); + }; + + var revealAndUnobserve = function revealAndUnobserve(element, instance) { + var observer = instance._observer; + revealElement(element, instance); + + if (observer && instance._settings.auto_unobserve) { + observer.unobserve(element); + } + }; + + var onExit = function onExit(element, instance) { + var settings = instance._settings; + callbackIfSet(settings.callback_exit, element); + + if (!settings.load_delay) { + return; + } + + cancelDelayLoad(element); + }; + + var cancelDelayLoad = function cancelDelayLoad(element) { + var timeoutId = getTimeoutData(element); + + if (!timeoutId) { + return; // do nothing if timeout doesn't exist + } + + clearTimeout(timeoutId); + setTimeoutData(element, null); + }; + + var delayLoad = function delayLoad(element, instance) { + var loadDelay = instance._settings.load_delay; + var timeoutId = getTimeoutData(element); + + if (timeoutId) { + return; // do nothing if timeout already set + } + + timeoutId = setTimeout(function () { + revealAndUnobserve(element, instance); + cancelDelayLoad(element); + }, loadDelay); + setTimeoutData(element, timeoutId); + }; + + var revealElement = function revealElement(element, instance, force) { + var settings = instance._settings; + + if (!force && getWasProcessedData(element)) { + return; // element has already been processed and force wasn't true + } + + if (managedTags.indexOf(element.tagName) > -1) { + addOneShotEventListeners(element, instance); + addClass(element, settings.class_loading); + } + + setSources(element, instance); + setWasProcessedData(element); + callbackIfSet(settings.callback_reveal, element); + callbackIfSet(settings.callback_set, element); + }; + + var isIntersecting = function isIntersecting(entry) { + return entry.isIntersecting || entry.intersectionRatio > 0; + }; + + var getObserverSettings = function getObserverSettings(settings) { + return { + root: settings.container === document ? null : settings.container, + rootMargin: settings.thresholds || settings.threshold + "px" + }; + }; + + var setObserver = function setObserver(instance) { + if (!supportsIntersectionObserver) { + return false; + } + + instance._observer = new IntersectionObserver(function (entries) { + entries.forEach(function (entry) { + return isIntersecting(entry) ? onEnter(entry.target, instance) : onExit(entry.target, instance); + }); + }, getObserverSettings(instance._settings)); + return true; + }; + + var LazyLoad = function LazyLoad(customSettings, elements) { + this._settings = getInstanceSettings(customSettings); + this._loadingCount = 0; + setObserver(this); + this.update(elements); + }; + + LazyLoad.prototype = { + update: function update(elements) { + var _this = this; + + var settings = this._settings; + + var _elements = elements || settings.container.querySelectorAll(settings.elements_selector); + + this._elements = purgeProcessedElements(Array.prototype.slice.call(_elements) // NOTE: nodeset to array for IE compatibility + ); + + if (isBot || !this._observer) { + this.loadAll(); + return; + } + + this._elements.forEach(function (element) { + _this._observer.observe(element); + }); + }, + destroy: function destroy() { + var _this2 = this; + + if (this._observer) { + this._elements.forEach(function (element) { + _this2._observer.unobserve(element); + }); + + this._observer = null; + } + + this._elements = null; + this._settings = null; + }, + load: function load(element, force) { + revealElement(element, this, force); + }, + loadAll: function loadAll() { + var _this3 = this; + + var elements = this._elements; + elements.forEach(function (element) { + revealAndUnobserve(element, _this3); + }); + } + }; + /* Automatic instances creation if required (useful for async script loading) */ + + if (runningOnBrowser) { + autoInitialize(LazyLoad, window.lazyLoadOptions); + } + + return LazyLoad; +}); \ No newline at end of file diff --git a/assets/js/lazyload/11.0.6/lazyload.min.js b/assets/js/lazyload/11.0.6/lazyload.min.js new file mode 100644 index 0000000..c9ad522 --- /dev/null +++ b/assets/js/lazyload/11.0.6/lazyload.min.js @@ -0,0 +1,2 @@ +function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e-1&&(k(t,e),h(t,o.class_loading)),m(t,e),function(t){s(t,"was-processed","true")}(t),d(o.callback_reveal,t),d(o.callback_set,t))},O=function(t){return!!n&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?A(t,e):L(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&x(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},N=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingCount=0,O(this),this.update(e)};return N.prototype={update:function(t){var n=this,o=this._settings,r=t||o.container.querySelectorAll(o.elements_selector);this._elements=function(t){return t.filter(function(t){return!i(t)})}(Array.prototype.slice.call(r)),!e&&this._observer?this._elements.forEach(function(t){n._observer.observe(t)}):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){z(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){L(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)u(t,n);else u(t,e)}(N,window.lazyLoadOptions),N}); +//# sourceMappingURL=lazyload.min.js.map diff --git a/assets/js/lazyload/11.0.6/lazyload.min.js.map b/assets/js/lazyload/11.0.6/lazyload.min.js.map new file mode 100644 index 0000000..327d95e --- /dev/null +++ b/assets/js/lazyload/11.0.6/lazyload.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["lazyload.js"],"names":["global","factory","exports","_typeof","module","define","amd","LazyLoad","this","runningOnBrowser","window","isBot","test","defaultSettings","elements_selector","threshold","thresholds","document","createElement","data_srcset","data_sizes","data_bg","class_loading","class_loaded","class_error","load_delay","auto_unobserve","callback_enter","callback_exit","callback_reveal","callback_loaded","callback_error","callback_finish","getInstanceSettings","getData","element","attribute","value","getAttribute","setData","attrName","setAttribute","processedDataName","removeAttribute","getWasProcessedData","setTimeoutData","getTimeoutData","timeoutDataName","createInstance","elementToPurge","options","event","instance","classObj","createEvent","initCustomEvent","dispatchEvent","callbackIfSet","autoInitialize","callback","argument","updateLoadingCount","plusMinus","_elements","length","_loadingCount","_settings","getSourceTags","parentTag","childTag","sourceTags","i","children","setAttributeIfValue","tagName","settings","data_src","backgroundImage","IMG","parent","parentNode","forEach","sourceTag","setImageAttributes","IFRAME","VIDEO","load","setSources","elements","setSourcesFunctions","setSourcesFunction","setSourcesVideo","filter","srcDataValue","bgDataValue","setSourcesBgImage","addClass","className","addEventListener","eventName","handler","removeEventListener","genericLoadEventName","errorHandler","removeClass","loadHandler","addEventListeners","errorEventName","success","removeEventListeners","target","supportsClassList","remove","replace","RegExp","eventHandler","addOneShotEventListeners","revealAndUnobserve","observer","unobserve","cancelDelayLoad","timeoutId","clearTimeout","loadDelay","revealElement","force","managedTags","indexOf","setTimeout","callback_set","setObserver","_observer","IntersectionObserver","entries","entry","setWasProcessedData","delayLoad","onEnter","root","container","rootMargin","isIntersecting","customSettings","getObserverSettings","trueString","prototype","update","_this","supportsIntersectionObserver","querySelectorAll","purgeProcessedElements","Array","observe","loadAll","_this2","_this3","optionsItem"],"mappings":"+cAAC,SAAUA,EAAQC,GACC,YAAnB,oBAAOC,QAAP,YAAAC,QAAOD,WAA0C,oBAAXE,OAAyBA,OAAOF,QAAUD,IAC9D,mBAAXI,QAAyBA,OAAOC,IAAMD,OAAOJ,GACnDD,EAAOO,SAAWN,IAHnB,CAAAO,KAAA,WAAkBP,aAIlB,IAACQ,EAAmB,oBAAAC,OAIfC,EAFNF,KAAsB,aAAGC,SAGvBD,oBAD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AUZ,UAAUpF,KAE1B3B,KAAK2H,UAAY,MAElB3H,KAAKuD,UAAY,KArBjBvD,KAAA0D,UAAKH,MAILuB,KAAA,SAASnD,EAAUgG,GAClBP,EAAK6B,EAALjJ,KAAAqH,IAwBF4B,QAAS,WAAW,IAAAE,EAAAnJ,KApBduD,KAAUkB,UACdA,QAAKkD,SAAAA,GACLd,EAFDlF,EAAAwH,OAOClJ,GAhUoC,SAArC4C,EAAAH,GACA,GAACA,EAGDC,GAAAA,EAAMI,OAEP7C,IAAAA,IAAO8C,EAAAA,EAAAA,EAAPoG,EAAA1G,EAAAqB,GAAAA,GAAA,EAZDvB,EAAAK,EAAAuG,QAUmD5G,EAAjDK,EAAAH,GA6TEQ,CAAInD,EAAJG,OAAe6G,iBAEhBhH","file":"lazyload.min.js","sourcesContent":["(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global.LazyLoad = factory());\n}(this, (function () { 'use strict';\n\nconst runningOnBrowser = typeof window !== \"undefined\";\n\nconst isBot =\n\t(runningOnBrowser && !(\"onscroll\" in window)) ||\n\t(typeof navigator !== \"undefined\" &&\n\t\t/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent));\n\nconst supportsIntersectionObserver =\n\trunningOnBrowser && \"IntersectionObserver\" in window;\n\nconst supportsClassList =\n\trunningOnBrowser && \"classList\" in document.createElement(\"p\");\n\nconst defaultSettings = {\n\telements_selector: \"img\",\n\tcontainer: isBot || runningOnBrowser ? document : null,\n\tthreshold: 300,\n\tthresholds: null,\n\tdata_src: \"src\",\n\tdata_srcset: \"srcset\",\n\tdata_sizes: \"sizes\",\n\tdata_bg: \"bg\",\n\tclass_loading: \"loading\",\n\tclass_loaded: \"loaded\",\n\tclass_error: \"error\",\n\tload_delay: 0,\n\tauto_unobserve: true,\n\tcallback_enter: null,\n\tcallback_exit: null,\n\tcallback_reveal: null,\n\tcallback_loaded: null,\n\tcallback_error: null,\n\tcallback_finish: null\n};\n\nvar getInstanceSettings = customSettings => {\n\treturn Object.assign({}, defaultSettings, customSettings);\n};\n\nconst dataPrefix = \"data-\";\nconst processedDataName = \"was-processed\";\nconst timeoutDataName = \"ll-timeout\";\nconst trueString = \"true\";\n\nconst getData = (element, attribute) => {\n\treturn element.getAttribute(dataPrefix + attribute);\n};\n\nconst setData = (element, attribute, value) => {\n\tvar attrName = dataPrefix + attribute;\n\tif (value === null) {\n\t\telement.removeAttribute(attrName);\n\t\treturn;\n\t}\n\telement.setAttribute(attrName, value);\n};\n\nconst setWasProcessedData = element =>\n\tsetData(element, processedDataName, trueString);\n\nconst getWasProcessedData = element =>\n\tgetData(element, processedDataName) === trueString;\n\nconst setTimeoutData = (element, value) =>\n\tsetData(element, timeoutDataName, value);\n\nconst getTimeoutData = element => getData(element, timeoutDataName);\n\nconst purgeProcessedElements = elements => {\n\treturn elements.filter(element => !getWasProcessedData(element));\n};\n\nconst purgeOneElement = (elements, elementToPurge) => {\n\treturn elements.filter(element => element !== elementToPurge);\n};\n\n/* Creates instance and notifies it through the window element */\nconst createInstance = function(classObj, options) {\n\tvar event;\n\tlet eventString = \"LazyLoad::Initialized\";\n\tlet instance = new classObj(options);\n\ttry {\n\t\t// Works in modern browsers\n\t\tevent = new CustomEvent(eventString, { detail: { instance } });\n\t} catch (err) {\n\t\t// Works in Internet Explorer (all versions)\n\t\tevent = document.createEvent(\"CustomEvent\");\n\t\tevent.initCustomEvent(eventString, false, false, { instance });\n\t}\n\twindow.dispatchEvent(event);\n};\n\n/* Auto initialization of one or more instances of lazyload, depending on the \n options passed in (plain object or an array) */\nfunction autoInitialize(classObj, options) {\n\tif (!options) {\n\t\treturn;\n\t}\n\tif (!options.length) {\n\t\t// Plain object\n\t\tcreateInstance(classObj, options);\n\t} else {\n\t\t// Array of objects\n\t\tfor (let i = 0, optionsItem; (optionsItem = options[i]); i += 1) {\n\t\t\tcreateInstance(classObj, optionsItem);\n\t\t}\n\t}\n}\n\nconst callbackIfSet = (callback, argument) => {\n\tif (callback) {\n\t\tcallback(argument);\n\t}\n};\n\nconst updateLoadingCount = (instance, plusMinus) => {\n\tinstance._loadingCount += plusMinus;\n\tif (instance._elements.length === 0 && instance._loadingCount === 0) {\n\t\tcallbackIfSet(instance._settings.callback_finish);\n\t}\n};\n\nconst getSourceTags = parentTag => {\n\tlet sourceTags = [];\n\tfor (let i = 0, childTag; (childTag = parentTag.children[i]); i += 1) {\n\t\tif (childTag.tagName === \"SOURCE\") {\n\t\t\tsourceTags.push(childTag);\n\t\t}\n\t}\n\treturn sourceTags;\n};\n\nconst setAttributeIfValue = (element, attrName, value) => {\n\tif (!value) {\n\t\treturn;\n\t}\n\telement.setAttribute(attrName, value);\n};\n\nconst setImageAttributes = (element, settings) => {\n\tsetAttributeIfValue(\n\t\telement,\n\t\t\"sizes\",\n\t\tgetData(element, settings.data_sizes)\n\t);\n\tsetAttributeIfValue(\n\t\telement,\n\t\t\"srcset\",\n\t\tgetData(element, settings.data_srcset)\n\t);\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\n};\n\nconst setSourcesImg = (element, settings) => {\n\tconst parent = element.parentNode;\n\n\tif (parent && parent.tagName === \"PICTURE\") {\n\t\tlet sourceTags = getSourceTags(parent);\n\t\tsourceTags.forEach(sourceTag => {\n\t\t\tsetImageAttributes(sourceTag, settings);\n\t\t});\n\t}\n\n\tsetImageAttributes(element, settings);\n};\n\nconst setSourcesIframe = (element, settings) => {\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\n};\n\nconst setSourcesVideo = (element, settings) => {\n\tlet sourceTags = getSourceTags(element);\n\tsourceTags.forEach(sourceTag => {\n\t\tsetAttributeIfValue(\n\t\t\tsourceTag,\n\t\t\t\"src\",\n\t\t\tgetData(sourceTag, settings.data_src)\n\t\t);\n\t});\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\n\telement.load();\n};\n\nconst setSourcesBgImage = (element, settings) => {\n\tconst srcDataValue = getData(element, settings.data_src);\n\tconst bgDataValue = getData(element, settings.data_bg);\n\n\tif (srcDataValue) {\n\t\telement.style.backgroundImage = `url(\"${srcDataValue}\")`;\n\t}\n\n\tif (bgDataValue) {\n\t\telement.style.backgroundImage = bgDataValue;\n\t}\n};\n\nconst setSourcesFunctions = {\n\tIMG: setSourcesImg,\n\tIFRAME: setSourcesIframe,\n\tVIDEO: setSourcesVideo\n};\n\nconst setSources = (element, instance) => {\n\tconst settings = instance._settings;\n\tconst tagName = element.tagName;\n\tconst setSourcesFunction = setSourcesFunctions[tagName];\n\tif (setSourcesFunction) {\n\t\tsetSourcesFunction(element, settings);\n\t\tupdateLoadingCount(instance, 1);\n\t\tinstance._elements = purgeOneElement(instance._elements, element);\n\t\treturn;\n\t}\n\tsetSourcesBgImage(element, settings);\n};\n\nconst addClass = (element, className) => {\n\tif (supportsClassList) {\n\t\telement.classList.add(className);\n\t\treturn;\n\t}\n\telement.className += (element.className ? \" \" : \"\") + className;\n};\n\nconst removeClass = (element, className) => {\n\tif (supportsClassList) {\n\t\telement.classList.remove(className);\n\t\treturn;\n\t}\n\telement.className = element.className.\n\t\treplace(new RegExp(\"(^|\\\\s+)\" + className + \"(\\\\s+|$)\"), \" \").\n\t\treplace(/^\\s+/, \"\").\n\t\treplace(/\\s+$/, \"\");\n};\n\nconst genericLoadEventName = \"load\";\nconst mediaLoadEventName = \"loadeddata\";\nconst errorEventName = \"error\";\n\nconst addEventListener = (element, eventName, handler) => {\n\telement.addEventListener(eventName, handler);\n};\n\nconst removeEventListener = (element, eventName, handler) => {\n\telement.removeEventListener(eventName, handler);\n};\n\nconst addEventListeners = (element, loadHandler, errorHandler) => {\n\taddEventListener(element, genericLoadEventName, loadHandler);\n\taddEventListener(element, mediaLoadEventName, loadHandler);\n\taddEventListener(element, errorEventName, errorHandler);\n};\n\nconst removeEventListeners = (element, loadHandler, errorHandler) => {\n\tremoveEventListener(element, genericLoadEventName, loadHandler);\n\tremoveEventListener(element, mediaLoadEventName, loadHandler);\n\tremoveEventListener(element, errorEventName, errorHandler);\n};\n\nconst eventHandler = function(event, success, instance) {\n\tvar settings = instance._settings;\n\tconst className = success ? settings.class_loaded : settings.class_error;\n\tconst callback = success\n\t\t? settings.callback_loaded\n\t\t: settings.callback_error;\n\tconst element = event.target;\n\n\tremoveClass(element, settings.class_loading);\n\taddClass(element, className);\n\tcallbackIfSet(callback, element);\n\n\tupdateLoadingCount(instance, -1);\n};\n\nconst addOneShotEventListeners = (element, instance) => {\n\tconst loadHandler = event => {\n\t\teventHandler(event, true, instance);\n\t\tremoveEventListeners(element, loadHandler, errorHandler);\n\t};\n\tconst errorHandler = event => {\n\t\teventHandler(event, false, instance);\n\t\tremoveEventListeners(element, loadHandler, errorHandler);\n\t};\n\taddEventListeners(element, loadHandler, errorHandler);\n};\n\nconst managedTags = [\"IMG\", \"IFRAME\", \"VIDEO\"];\n\nconst onEnter = (element, instance) => {\n\tconst settings = instance._settings;\n\tcallbackIfSet(settings.callback_enter, element);\n\tif (!settings.load_delay) {\n\t\trevealAndUnobserve(element, instance);\n\t\treturn;\n\t}\n\tdelayLoad(element, instance);\n};\n\nconst revealAndUnobserve = (element, instance) => {\n\tvar observer = instance._observer;\n\trevealElement(element, instance);\n\tif (observer && instance._settings.auto_unobserve) {\n\t\tobserver.unobserve(element);\n\t}\n};\n\nconst onExit = (element, instance) => {\n\tconst settings = instance._settings;\n\tcallbackIfSet(settings.callback_exit, element);\n\tif (!settings.load_delay) {\n\t\treturn;\n\t}\n\tcancelDelayLoad(element);\n};\n\nconst cancelDelayLoad = element => {\n\tvar timeoutId = getTimeoutData(element);\n\tif (!timeoutId) {\n\t\treturn; // do nothing if timeout doesn't exist\n\t}\n\tclearTimeout(timeoutId);\n\tsetTimeoutData(element, null);\n};\n\nconst delayLoad = (element, instance) => {\n\tvar loadDelay = instance._settings.load_delay;\n\tvar timeoutId = getTimeoutData(element);\n\tif (timeoutId) {\n\t\treturn; // do nothing if timeout already set\n\t}\n\ttimeoutId = setTimeout(function() {\n\t\trevealAndUnobserve(element, instance);\n\t\tcancelDelayLoad(element);\n\t}, loadDelay);\n\tsetTimeoutData(element, timeoutId);\n};\n\nconst revealElement = (element, instance, force) => {\n\tvar settings = instance._settings;\n\tif (!force && getWasProcessedData(element)) {\n\t\treturn; // element has already been processed and force wasn't true\n\t}\n\tif (managedTags.indexOf(element.tagName) > -1) {\n\t\taddOneShotEventListeners(element, instance);\n\t\taddClass(element, settings.class_loading);\n\t}\n\tsetSources(element, instance);\n\tsetWasProcessedData(element);\n\tcallbackIfSet(settings.callback_reveal, element);\n\tcallbackIfSet(settings.callback_set, element);\n};\n\nconst isIntersecting = entry =>\n\tentry.isIntersecting || entry.intersectionRatio > 0;\n\nconst getObserverSettings = settings => ({\n\troot: settings.container === document ? null : settings.container,\n\trootMargin: settings.thresholds || settings.threshold + \"px\"\n});\n\nconst setObserver = instance => {\n\tif (!supportsIntersectionObserver) {\n\t\treturn false;\n\t}\n\tinstance._observer = new IntersectionObserver(entries => {\n\t\tentries.forEach(entry =>\n\t\t\tisIntersecting(entry)\n\t\t\t\t? onEnter(entry.target, instance)\n\t\t\t\t: onExit(entry.target, instance)\n\t\t);\n\t}, getObserverSettings(instance._settings));\n\treturn true;\n};\n\nconst LazyLoad = function(customSettings, elements) {\n\tthis._settings = getInstanceSettings(customSettings);\n\tthis._loadingCount = 0;\n\tsetObserver(this);\n\tthis.update(elements);\n};\n\nLazyLoad.prototype = {\n\tupdate: function(elements) {\n\t\tconst settings = this._settings;\n\t\tconst _elements =\n\t\t\telements ||\n\t\t\tsettings.container.querySelectorAll(settings.elements_selector);\n\n\t\tthis._elements = purgeProcessedElements(\n\t\t\tArray.prototype.slice.call(_elements) // NOTE: nodeset to array for IE compatibility\n\t\t);\n\n\t\tif (isBot || !this._observer) {\n\t\t\tthis.loadAll();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._elements.forEach(element => {\n\t\t\tthis._observer.observe(element);\n\t\t});\n\t},\n\n\tdestroy: function() {\n\t\tif (this._observer) {\n\t\t\tthis._elements.forEach(element => {\n\t\t\t\tthis._observer.unobserve(element);\n\t\t\t});\n\t\t\tthis._observer = null;\n\t\t}\n\t\tthis._elements = null;\n\t\tthis._settings = null;\n\t},\n\n\tload: function(element, force) {\n\t\trevealElement(element, this, force);\n\t},\n\n\tloadAll: function() {\n\t\tvar elements = this._elements;\n\t\telements.forEach(element => {\n\t\t\trevealAndUnobserve(element, this);\n\t\t});\n\t}\n};\n\n/* Automatic instances creation if required (useful for async script loading) */\nif (runningOnBrowser) {\n\tautoInitialize(LazyLoad, window.lazyLoadOptions);\n}\n\nreturn LazyLoad;\n\n})));\n"]} \ No newline at end of file diff --git a/assets/js/lazyload/12.0/lazyload.js b/assets/js/lazyload/12.0/lazyload.js new file mode 100644 index 0000000..c00114e --- /dev/null +++ b/assets/js/lazyload/12.0/lazyload.js @@ -0,0 +1,491 @@ +function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +(function (global, factory) { + (typeof exports === "undefined" ? "undefined" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.LazyLoad = factory(); +})(this, function () { + 'use strict'; + + var runningOnBrowser = typeof window !== "undefined"; + var isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent); + var supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window; + var supportsClassList = runningOnBrowser && "classList" in document.createElement("p"); + var defaultSettings = { + elements_selector: "img", + container: isBot || runningOnBrowser ? document : null, + threshold: 300, + thresholds: null, + data_src: "src", + data_srcset: "srcset", + data_sizes: "sizes", + data_bg: "bg", + class_loading: "loading", + class_loaded: "loaded", + class_error: "error", + load_delay: 0, + auto_unobserve: true, + callback_enter: null, + callback_exit: null, + callback_reveal: null, + callback_loaded: null, + callback_error: null, + callback_finish: null, + use_native: false + }; + + var getInstanceSettings = function getInstanceSettings(customSettings) { + return _extends({}, defaultSettings, customSettings); + }; + /* Creates instance and notifies it through the window element */ + + + var createInstance = function createInstance(classObj, options) { + var event; + var eventString = "LazyLoad::Initialized"; + var instance = new classObj(options); + + try { + // Works in modern browsers + event = new CustomEvent(eventString, { + detail: { + instance: instance + } + }); + } catch (err) { + // Works in Internet Explorer (all versions) + event = document.createEvent("CustomEvent"); + event.initCustomEvent(eventString, false, false, { + instance: instance + }); + } + + window.dispatchEvent(event); + }; + /* Auto initialization of one or more instances of lazyload, depending on the + options passed in (plain object or an array) */ + + + function autoInitialize(classObj, options) { + if (!options) { + return; + } + + if (!options.length) { + // Plain object + createInstance(classObj, options); + } else { + // Array of objects + for (var i = 0, optionsItem; optionsItem = options[i]; i += 1) { + createInstance(classObj, optionsItem); + } + } + } + + var dataPrefix = "data-"; + var processedDataName = "was-processed"; + var timeoutDataName = "ll-timeout"; + var trueString = "true"; + + var getData = function getData(element, attribute) { + return element.getAttribute(dataPrefix + attribute); + }; + + var setData = function setData(element, attribute, value) { + var attrName = dataPrefix + attribute; + + if (value === null) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + + var setWasProcessedData = function setWasProcessedData(element) { + return setData(element, processedDataName, trueString); + }; + + var getWasProcessedData = function getWasProcessedData(element) { + return getData(element, processedDataName) === trueString; + }; + + var setTimeoutData = function setTimeoutData(element, value) { + return setData(element, timeoutDataName, value); + }; + + var getTimeoutData = function getTimeoutData(element) { + return getData(element, timeoutDataName); + }; + + var purgeProcessedElements = function purgeProcessedElements(elements) { + return elements.filter(function (element) { + return !getWasProcessedData(element); + }); + }; + + var purgeOneElement = function purgeOneElement(elements, elementToPurge) { + return elements.filter(function (element) { + return element !== elementToPurge; + }); + }; + + var callbackIfSet = function callbackIfSet(callback, argument) { + if (callback) { + callback(argument); + } + }; + + var updateLoadingCount = function updateLoadingCount(instance, plusMinus) { + instance._loadingCount += plusMinus; + + if (instance._elements.length === 0 && instance._loadingCount === 0) { + callbackIfSet(instance._settings.callback_finish); + } + }; + + var getSourceTags = function getSourceTags(parentTag) { + var sourceTags = []; + + for (var i = 0, childTag; childTag = parentTag.children[i]; i += 1) { + if (childTag.tagName === "SOURCE") { + sourceTags.push(childTag); + } + } + + return sourceTags; + }; + + var setAttributeIfValue = function setAttributeIfValue(element, attrName, value) { + if (!value) { + return; + } + + element.setAttribute(attrName, value); + }; + + var setImageAttributes = function setImageAttributes(element, settings) { + setAttributeIfValue(element, "sizes", getData(element, settings.data_sizes)); + setAttributeIfValue(element, "srcset", getData(element, settings.data_srcset)); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + + var setSourcesImg = function setSourcesImg(element, settings) { + var parent = element.parentNode; + + if (parent && parent.tagName === "PICTURE") { + var sourceTags = getSourceTags(parent); + sourceTags.forEach(function (sourceTag) { + setImageAttributes(sourceTag, settings); + }); + } + + setImageAttributes(element, settings); + }; + + var setSourcesIframe = function setSourcesIframe(element, settings) { + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + + var setSourcesVideo = function setSourcesVideo(element, settings) { + var sourceTags = getSourceTags(element); + sourceTags.forEach(function (sourceTag) { + setAttributeIfValue(sourceTag, "src", getData(sourceTag, settings.data_src)); + }); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + element.load(); + }; + + var setSourcesBgImage = function setSourcesBgImage(element, settings) { + var srcDataValue = getData(element, settings.data_src); + var bgDataValue = getData(element, settings.data_bg); + + if (srcDataValue) { + element.style.backgroundImage = "url(\"".concat(srcDataValue, "\")"); + } + + if (bgDataValue) { + element.style.backgroundImage = bgDataValue; + } + }; + + var setSourcesFunctions = { + IMG: setSourcesImg, + IFRAME: setSourcesIframe, + VIDEO: setSourcesVideo + }; + + var setSources = function setSources(element, instance) { + var settings = instance._settings; + var tagName = element.tagName; + var setSourcesFunction = setSourcesFunctions[tagName]; + + if (setSourcesFunction) { + setSourcesFunction(element, settings); + updateLoadingCount(instance, 1); + instance._elements = purgeOneElement(instance._elements, element); + return; + } + + setSourcesBgImage(element, settings); + }; + + var addClass = function addClass(element, className) { + if (supportsClassList) { + element.classList.add(className); + return; + } + + element.className += (element.className ? " " : "") + className; + }; + + var removeClass = function removeClass(element, className) { + if (supportsClassList) { + element.classList.remove(className); + return; + } + + element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, ""); + }; + + var genericLoadEventName = "load"; + var mediaLoadEventName = "loadeddata"; + var errorEventName = "error"; + + var addEventListener = function addEventListener(element, eventName, handler) { + element.addEventListener(eventName, handler); + }; + + var removeEventListener = function removeEventListener(element, eventName, handler) { + element.removeEventListener(eventName, handler); + }; + + var addEventListeners = function addEventListeners(element, loadHandler, errorHandler) { + addEventListener(element, genericLoadEventName, loadHandler); + addEventListener(element, mediaLoadEventName, loadHandler); + addEventListener(element, errorEventName, errorHandler); + }; + + var removeEventListeners = function removeEventListeners(element, loadHandler, errorHandler) { + removeEventListener(element, genericLoadEventName, loadHandler); + removeEventListener(element, mediaLoadEventName, loadHandler); + removeEventListener(element, errorEventName, errorHandler); + }; + + var eventHandler = function eventHandler(event, success, instance) { + var settings = instance._settings; + var className = success ? settings.class_loaded : settings.class_error; + var callback = success ? settings.callback_loaded : settings.callback_error; + var element = event.target; + removeClass(element, settings.class_loading); + addClass(element, className); + callbackIfSet(callback, element); + updateLoadingCount(instance, -1); + }; + + var addOneShotEventListeners = function addOneShotEventListeners(element, instance) { + var loadHandler = function loadHandler(event) { + eventHandler(event, true, instance); + removeEventListeners(element, loadHandler, errorHandler); + }; + + var errorHandler = function errorHandler(event) { + eventHandler(event, false, instance); + removeEventListeners(element, loadHandler, errorHandler); + }; + + addEventListeners(element, loadHandler, errorHandler); + }; + + var managedTags = ["IMG", "IFRAME", "VIDEO"]; + + var onEnter = function onEnter(element, instance) { + var settings = instance._settings; + callbackIfSet(settings.callback_enter, element); + + if (!settings.load_delay) { + revealAndUnobserve(element, instance); + return; + } + + delayLoad(element, instance); + }; + + var revealAndUnobserve = function revealAndUnobserve(element, instance) { + var observer = instance._observer; + revealElement(element, instance); + + if (observer && instance._settings.auto_unobserve) { + observer.unobserve(element); + } + }; + + var onExit = function onExit(element, instance) { + var settings = instance._settings; + callbackIfSet(settings.callback_exit, element); + + if (!settings.load_delay) { + return; + } + + cancelDelayLoad(element); + }; + + var cancelDelayLoad = function cancelDelayLoad(element) { + var timeoutId = getTimeoutData(element); + + if (!timeoutId) { + return; // do nothing if timeout doesn't exist + } + + clearTimeout(timeoutId); + setTimeoutData(element, null); + }; + + var delayLoad = function delayLoad(element, instance) { + var loadDelay = instance._settings.load_delay; + var timeoutId = getTimeoutData(element); + + if (timeoutId) { + return; // do nothing if timeout already set + } + + timeoutId = setTimeout(function () { + revealAndUnobserve(element, instance); + cancelDelayLoad(element); + }, loadDelay); + setTimeoutData(element, timeoutId); + }; + + var revealElement = function revealElement(element, instance, force) { + var settings = instance._settings; + + if (!force && getWasProcessedData(element)) { + return; // element has already been processed and force wasn't true + } + + if (managedTags.indexOf(element.tagName) > -1) { + addOneShotEventListeners(element, instance); + addClass(element, settings.class_loading); + } + + setSources(element, instance); + setWasProcessedData(element); + callbackIfSet(settings.callback_reveal, element); + callbackIfSet(settings.callback_set, element); + }; + + var isIntersecting = function isIntersecting(entry) { + return entry.isIntersecting || entry.intersectionRatio > 0; + }; + + var getObserverSettings = function getObserverSettings(settings) { + return { + root: settings.container === document ? null : settings.container, + rootMargin: settings.thresholds || settings.threshold + "px" + }; + }; + + var setObserver = function setObserver(instance) { + if (!supportsIntersectionObserver) { + return false; + } + + instance._observer = new IntersectionObserver(function (entries) { + entries.forEach(function (entry) { + return isIntersecting(entry) ? onEnter(entry.target, instance) : onExit(entry.target, instance); + }); + }, getObserverSettings(instance._settings)); + return true; + }; + + var nativeLazyTags = ["IMG", "IFRAME"]; + + var shouldUseNative = function shouldUseNative(settings) { + return settings.use_native && "loading" in HTMLImageElement.prototype; + }; + + var loadAllNative = function loadAllNative(instance) { + instance._elements.forEach(function (element) { + if (nativeLazyTags.indexOf(element.tagName) === -1) { + return; + } + + element.setAttribute("loading", "lazy"); + revealElement(element, instance); + }); + }; + + var nodeSetToArray = function nodeSetToArray(nodeSet) { + return Array.prototype.slice.call(nodeSet); + }; + + var queryElements = function queryElements(settings) { + return settings.container.querySelectorAll(settings.elements_selector); + }; + + var getElements = function getElements(elements, settings) { + return purgeProcessedElements(nodeSetToArray(elements || queryElements(settings))); + }; + + var LazyLoad = function LazyLoad(customSettings, elements) { + this._settings = getInstanceSettings(customSettings); + this._loadingCount = 0; + setObserver(this); + this.update(elements); + }; + + LazyLoad.prototype = { + update: function update(elements) { + var _this = this; + + var settings = this._settings; + this._elements = getElements(elements, settings); + + if (isBot || !this._observer) { + this.loadAll(); + return; + } + + if (shouldUseNative(settings)) { + loadAllNative(this); + this._elements = getElements(elements, settings); + } + + this._elements.forEach(function (element) { + _this._observer.observe(element); + }); + }, + destroy: function destroy() { + var _this2 = this; + + if (this._observer) { + this._elements.forEach(function (element) { + _this2._observer.unobserve(element); + }); + + this._observer = null; + } + + this._elements = null; + this._settings = null; + }, + load: function load(element, force) { + revealElement(element, this, force); + }, + loadAll: function loadAll() { + var _this3 = this; + + this._elements.forEach(function (element) { + revealAndUnobserve(element, _this3); + }); + } + }; + /* Automatic instances creation if required (useful for async script loading) */ + + if (runningOnBrowser) { + autoInitialize(LazyLoad, window.lazyLoadOptions); + } + + return LazyLoad; +}); \ No newline at end of file diff --git a/assets/js/lazyload/12.0/lazyload.min.js b/assets/js/lazyload/12.0/lazyload.min.js new file mode 100644 index 0000000..12facf2 --- /dev/null +++ b/assets/js/lazyload/12.0/lazyload.min.js @@ -0,0 +1,2 @@ +function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e-1&&(I(t,e),h(t,o.class_loading)),b(t,e),function(t){s(t,"was-processed","true")}(t),d(o.callback_reveal,t),d(o.callback_set,t))},O=function(t){return!!n&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?x(t,e):A(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&L(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},N=["IMG","IFRAME"],C=function(t,e){return function(t){return t.filter(function(t){return!c(t)})}((n=t||function(t){return t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var n},M=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingCount=0,O(this),this.update(e)};return M.prototype={update:function(t){var n,o=this,r=this._settings;(this._elements=C(t,r),!e&&this._observer)?(function(t){return t.use_native&&"loading"in HTMLImageElement.prototype}(r)&&((n=this)._elements.forEach(function(t){-1!==N.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),z(t,n))}),this._elements=C(t,r)),this._elements.forEach(function(t){o._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){z(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){A(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)a(t,n);else a(t,e)}(M,window.lazyLoadOptions),M}); +//# sourceMappingURL=lazyload.min.js.map diff --git a/assets/js/lazyload/12.0/lazyload.min.js.map b/assets/js/lazyload/12.0/lazyload.min.js.map new file mode 100644 index 0000000..ed990c2 --- /dev/null +++ b/assets/js/lazyload/12.0/lazyload.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["lazyload.js"],"names":["global","factory","exports","_typeof","module","define","amd","LazyLoad","this","runningOnBrowser","window","isBot","test","defaultSettings","elements_selector","threshold","thresholds","document","createElement","data_srcset","data_sizes","data_bg","class_loading","class_loaded","class_error","load_delay","auto_unobserve","callback_enter","callback_exit","callback_reveal","callback_loaded","callback_error","callback_finish","use_native","getInstanceSettings","createInstance","classObj","options","event","detail","instance","CustomEvent","err","createEvent","eventString","dispatchEvent","dataPrefix","element","attribute","processedDataName","setData","value","attrName","getData","removeAttribute","getWasProcessedData","setTimeoutData","setWasProcessedData","getTimeoutData","callback","argument","updateLoadingCount","_loadingCount","plusMinus","_elements","length","callbackIfSet","_settings","getSourceTags","parentTag","childTag","sourceTags","i","children","setAttribute","setAttributeIfValue","tagName","settings","data_src","backgroundImage","IMG","parent","parentNode","forEach","sourceTag","setImageAttributes","IFRAME","VIDEO","load","setSources","elements","setSourcesFunctions","setSourcesFunction","setSourcesVideo","timeoutDataName","srcDataValue","bgDataValue","setSourcesBgImage","addClass","className","addEventListener","eventName","handler","removeEventListener","genericLoadEventName","errorHandler","removeClass","loadHandler","addEventListeners","errorEventName","success","removeEventListeners","target","supportsClassList","remove","replace","RegExp","eventHandler","addOneShotEventListeners","revealAndUnobserve","observer","unobserve","cancelDelayLoad","timeoutId","clearTimeout","loadDelay","revealElement","force","managedTags","indexOf","setTimeout","callback_set","setObserver","_observer","IntersectionObserver","entries","entry","delayLoad","onEnter","root","container","rootMargin","isIntersecting","nativeLazyTags","getElements","trueString","purgeProcessedElements","getObserverSettings","querySelectorAll","queryElements","shouldUseNative","customSettings","loadAllNative","prototype","update","_this","nodeSetToArray","loadAll","destroy","_this2","_this3","autoInitialize","optionsItem"],"mappings":"+cAAC,SAAUA,EAAQC,GACC,YAAnB,oBAAOC,QAAP,YAAAC,QAAOD,WAA0C,oBAAXE,OAAyBA,OAAOF,Q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' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global.LazyLoad = factory());\n}(this, (function () { 'use strict';\n\nconst runningOnBrowser = typeof window !== \"undefined\";\r\n\r\nconst isBot =\r\n\t(runningOnBrowser && !(\"onscroll\" in window)) ||\r\n\t(typeof navigator !== \"undefined\" &&\r\n\t\t/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent));\r\n\r\nconst supportsIntersectionObserver =\r\n\trunningOnBrowser && \"IntersectionObserver\" in window;\r\n\r\nconst supportsClassList =\r\n\trunningOnBrowser && \"classList\" in document.createElement(\"p\");\n\nconst defaultSettings = {\r\n\telements_selector: \"img\",\r\n\tcontainer: isBot || runningOnBrowser ? document : null,\r\n\tthreshold: 300,\r\n\tthresholds: null,\r\n\tdata_src: \"src\",\r\n\tdata_srcset: \"srcset\",\r\n\tdata_sizes: \"sizes\",\r\n\tdata_bg: \"bg\",\r\n\tclass_loading: \"loading\",\r\n\tclass_loaded: \"loaded\",\r\n\tclass_error: \"error\",\r\n\tload_delay: 0,\r\n\tauto_unobserve: true,\r\n\tcallback_enter: null,\r\n\tcallback_exit: null,\r\n\tcallback_reveal: null,\r\n\tcallback_loaded: null,\r\n\tcallback_error: null,\r\n\tcallback_finish: null,\r\n\tuse_native: false\r\n};\r\n\r\nvar getInstanceSettings = customSettings => {\r\n\treturn Object.assign({}, defaultSettings, customSettings);\r\n};\n\n/* Creates instance and notifies it through the window element */\r\nconst createInstance = function(classObj, options) {\r\n\tvar event;\r\n\tlet eventString = \"LazyLoad::Initialized\";\r\n\tlet instance = new classObj(options);\r\n\ttry {\r\n\t\t// Works in modern browsers\r\n\t\tevent = new CustomEvent(eventString, { detail: { instance } });\r\n\t} catch (err) {\r\n\t\t// Works in Internet Explorer (all versions)\r\n\t\tevent = document.createEvent(\"CustomEvent\");\r\n\t\tevent.initCustomEvent(eventString, false, false, { instance });\r\n\t}\r\n\twindow.dispatchEvent(event);\r\n};\r\n\r\n/* Auto initialization of one or more instances of lazyload, depending on the \r\n options passed in (plain object or an array) */\r\nfunction autoInitialize(classObj, options) {\r\n\tif (!options) {\r\n\t\treturn;\r\n\t}\r\n\tif (!options.length) {\r\n\t\t// Plain object\r\n\t\tcreateInstance(classObj, options);\r\n\t} else {\r\n\t\t// Array of objects\r\n\t\tfor (let i = 0, optionsItem; (optionsItem = options[i]); i += 1) {\r\n\t\t\tcreateInstance(classObj, optionsItem);\r\n\t\t}\r\n\t}\r\n}\n\nconst dataPrefix = \"data-\";\r\nconst processedDataName = \"was-processed\";\r\nconst timeoutDataName = \"ll-timeout\";\r\nconst trueString = \"true\";\r\n\r\nconst getData = (element, attribute) => {\r\n\treturn element.getAttribute(dataPrefix + attribute);\r\n};\r\n\r\nconst setData = (element, attribute, value) => {\r\n\tvar attrName = dataPrefix + attribute;\r\n\tif (value === null) {\r\n\t\telement.removeAttribute(attrName);\r\n\t\treturn;\r\n\t}\r\n\telement.setAttribute(attrName, value);\r\n};\r\n\r\nconst setWasProcessedData = element =>\r\n\tsetData(element, processedDataName, trueString);\r\n\r\nconst getWasProcessedData = element =>\r\n\tgetData(element, processedDataName) === trueString;\r\n\r\nconst setTimeoutData = (element, value) =>\r\n\tsetData(element, timeoutDataName, value);\r\n\r\nconst getTimeoutData = element => getData(element, timeoutDataName);\n\nconst purgeProcessedElements = elements => {\r\n\treturn elements.filter(element => !getWasProcessedData(element));\r\n};\r\n\r\nconst purgeOneElement = (elements, elementToPurge) => {\r\n\treturn elements.filter(element => element !== elementToPurge);\r\n};\n\nconst callbackIfSet = (callback, argument) => {\r\n\tif (callback) {\r\n\t\tcallback(argument);\r\n\t}\r\n};\n\nconst updateLoadingCount = (instance, plusMinus) => {\r\n\tinstance._loadingCount += plusMinus;\r\n\tif (instance._elements.length === 0 && instance._loadingCount === 0) {\r\n\t\tcallbackIfSet(instance._settings.callback_finish);\r\n\t}\r\n};\n\nconst getSourceTags = parentTag => {\r\n\tlet sourceTags = [];\r\n\tfor (let i = 0, childTag; (childTag = parentTag.children[i]); i += 1) {\r\n\t\tif (childTag.tagName === \"SOURCE\") {\r\n\t\t\tsourceTags.push(childTag);\r\n\t\t}\r\n\t}\r\n\treturn sourceTags;\r\n};\r\n\r\nconst setAttributeIfValue = (element, attrName, value) => {\r\n\tif (!value) {\r\n\t\treturn;\r\n\t}\r\n\telement.setAttribute(attrName, value);\r\n};\r\n\r\nconst setImageAttributes = (element, settings) => {\r\n\tsetAttributeIfValue(\r\n\t\telement,\r\n\t\t\"sizes\",\r\n\t\tgetData(element, settings.data_sizes)\r\n\t);\r\n\tsetAttributeIfValue(\r\n\t\telement,\r\n\t\t\"srcset\",\r\n\t\tgetData(element, settings.data_srcset)\r\n\t);\r\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\r\n};\r\n\r\nconst setSourcesImg = (element, settings) => {\r\n\tconst parent = element.parentNode;\r\n\r\n\tif (parent && parent.tagName === \"PICTURE\") {\r\n\t\tlet sourceTags = getSourceTags(parent);\r\n\t\tsourceTags.forEach(sourceTag => {\r\n\t\t\tsetImageAttributes(sourceTag, settings);\r\n\t\t});\r\n\t}\r\n\r\n\tsetImageAttributes(element, settings);\r\n};\r\n\r\nconst setSourcesIframe = (element, settings) => {\r\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\r\n};\r\n\r\nconst setSourcesVideo = (element, settings) => {\r\n\tlet sourceTags = getSourceTags(element);\r\n\tsourceTags.forEach(sourceTag => {\r\n\t\tsetAttributeIfValue(\r\n\t\t\tsourceTag,\r\n\t\t\t\"src\",\r\n\t\t\tgetData(sourceTag, settings.data_src)\r\n\t\t);\r\n\t});\r\n\tsetAttributeIfValue(element, \"src\", getData(element, settings.data_src));\r\n\telement.load();\r\n};\r\n\r\nconst setSourcesBgImage = (element, settings) => {\r\n\tconst srcDataValue = getData(element, settings.data_src);\r\n\tconst bgDataValue = getData(element, settings.data_bg);\r\n\r\n\tif (srcDataValue) {\r\n\t\telement.style.backgroundImage = `url(\"${srcDataValue}\")`;\r\n\t}\r\n\r\n\tif (bgDataValue) {\r\n\t\telement.style.backgroundImage = bgDataValue;\r\n\t}\r\n};\r\n\r\nconst setSourcesFunctions = {\r\n\tIMG: setSourcesImg,\r\n\tIFRAME: setSourcesIframe,\r\n\tVIDEO: setSourcesVideo\r\n};\r\n\r\nconst setSources = (element, instance) => {\r\n\tconst settings = instance._settings;\r\n\tconst tagName = element.tagName;\r\n\tconst setSourcesFunction = setSourcesFunctions[tagName];\r\n\tif (setSourcesFunction) {\r\n\t\tsetSourcesFunction(element, settings);\r\n\t\tupdateLoadingCount(instance, 1);\r\n\t\tinstance._elements = purgeOneElement(instance._elements, element);\r\n\t\treturn;\r\n\t}\r\n\tsetSourcesBgImage(element, settings);\r\n};\n\nconst addClass = (element, className) => {\r\n\tif (supportsClassList) {\r\n\t\telement.classList.add(className);\r\n\t\treturn;\r\n\t}\r\n\telement.className += (element.className ? \" \" : \"\") + className;\r\n};\r\n\r\nconst removeClass = (element, className) => {\r\n\tif (supportsClassList) {\r\n\t\telement.classList.remove(className);\r\n\t\treturn;\r\n\t}\r\n\telement.className = element.className.\r\n\t\treplace(new RegExp(\"(^|\\\\s+)\" + className + \"(\\\\s+|$)\"), \" \").\r\n\t\treplace(/^\\s+/, \"\").\r\n\t\treplace(/\\s+$/, \"\");\r\n};\n\nconst genericLoadEventName = \"load\";\r\nconst mediaLoadEventName = \"loadeddata\";\r\nconst errorEventName = \"error\";\r\n\r\nconst addEventListener = (element, eventName, handler) => {\r\n\telement.addEventListener(eventName, handler);\r\n};\r\n\r\nconst removeEventListener = (element, eventName, handler) => {\r\n\telement.removeEventListener(eventName, handler);\r\n};\r\n\r\nconst addEventListeners = (element, loadHandler, errorHandler) => {\r\n\taddEventListener(element, genericLoadEventName, loadHandler);\r\n\taddEventListener(element, mediaLoadEventName, loadHandler);\r\n\taddEventListener(element, errorEventName, errorHandler);\r\n};\r\n\r\nconst removeEventListeners = (element, loadHandler, errorHandler) => {\r\n\tremoveEventListener(element, genericLoadEventName, loadHandler);\r\n\tremoveEventListener(element, mediaLoadEventName, loadHandler);\r\n\tremoveEventListener(element, errorEventName, errorHandler);\r\n};\r\n\r\nconst eventHandler = function(event, success, instance) {\r\n\tvar settings = instance._settings;\r\n\tconst className = success ? settings.class_loaded : settings.class_error;\r\n\tconst callback = success\r\n\t\t? settings.callback_loaded\r\n\t\t: settings.callback_error;\r\n\tconst element = event.target;\r\n\r\n\tremoveClass(element, settings.class_loading);\r\n\taddClass(element, className);\r\n\tcallbackIfSet(callback, element);\r\n\r\n\tupdateLoadingCount(instance, -1);\r\n};\r\n\r\nconst addOneShotEventListeners = (element, instance) => {\r\n\tconst loadHandler = event => {\r\n\t\teventHandler(event, true, instance);\r\n\t\tremoveEventListeners(element, loadHandler, errorHandler);\r\n\t};\r\n\tconst errorHandler = event => {\r\n\t\teventHandler(event, false, instance);\r\n\t\tremoveEventListeners(element, loadHandler, errorHandler);\r\n\t};\r\n\taddEventListeners(element, loadHandler, errorHandler);\r\n};\n\nconst managedTags = [\"IMG\", \"IFRAME\", \"VIDEO\"];\r\n\r\nconst onEnter = (element, instance) => {\r\n\tconst settings = instance._settings;\r\n\tcallbackIfSet(settings.callback_enter, element);\r\n\tif (!settings.load_delay) {\r\n\t\trevealAndUnobserve(element, instance);\r\n\t\treturn;\r\n\t}\r\n\tdelayLoad(element, instance);\r\n};\r\n\r\nconst revealAndUnobserve = (element, instance) => {\r\n\tvar observer = instance._observer;\r\n\trevealElement(element, instance);\r\n\tif (observer && instance._settings.auto_unobserve) {\r\n\t\tobserver.unobserve(element);\r\n\t}\r\n};\r\n\r\nconst onExit = (element, instance) => {\r\n\tconst settings = instance._settings;\r\n\tcallbackIfSet(settings.callback_exit, element);\r\n\tif (!settings.load_delay) {\r\n\t\treturn;\r\n\t}\r\n\tcancelDelayLoad(element);\r\n};\r\n\r\nconst cancelDelayLoad = element => {\r\n\tvar timeoutId = getTimeoutData(element);\r\n\tif (!timeoutId) {\r\n\t\treturn; // do nothing if timeout doesn't exist\r\n\t}\r\n\tclearTimeout(timeoutId);\r\n\tsetTimeoutData(element, null);\r\n};\r\n\r\nconst delayLoad = (element, instance) => {\r\n\tvar loadDelay = instance._settings.load_delay;\r\n\tvar timeoutId = getTimeoutData(element);\r\n\tif (timeoutId) {\r\n\t\treturn; // do nothing if timeout already set\r\n\t}\r\n\ttimeoutId = setTimeout(function() {\r\n\t\trevealAndUnobserve(element, instance);\r\n\t\tcancelDelayLoad(element);\r\n\t}, loadDelay);\r\n\tsetTimeoutData(element, timeoutId);\r\n};\r\n\r\nconst revealElement = (element, instance, force) => {\r\n\tvar settings = instance._settings;\r\n\tif (!force && getWasProcessedData(element)) {\r\n\t\treturn; // element has already been processed and force wasn't true\r\n\t}\r\n\tif (managedTags.indexOf(element.tagName) > -1) {\r\n\t\taddOneShotEventListeners(element, instance);\r\n\t\taddClass(element, settings.class_loading);\r\n\t}\r\n\tsetSources(element, instance);\r\n\tsetWasProcessedData(element);\r\n\tcallbackIfSet(settings.callback_reveal, element);\r\n\tcallbackIfSet(settings.callback_set, element);\r\n};\n\nconst isIntersecting = entry =>\r\n\tentry.isIntersecting || entry.intersectionRatio > 0;\r\n\r\nconst getObserverSettings = settings => ({\r\n\troot: settings.container === document ? null : settings.container,\r\n\trootMargin: settings.thresholds || settings.threshold + \"px\"\r\n});\r\n\r\nconst setObserver = instance => {\r\n\tif (!supportsIntersectionObserver) {\r\n\t\treturn false;\r\n\t}\r\n\tinstance._observer = new IntersectionObserver(entries => {\r\n\t\tentries.forEach(entry =>\r\n\t\t\tisIntersecting(entry)\r\n\t\t\t\t? onEnter(entry.target, instance)\r\n\t\t\t\t: onExit(entry.target, instance)\r\n\t\t);\r\n\t}, getObserverSettings(instance._settings));\r\n\treturn true;\r\n};\n\nconst nativeLazyTags = [\"IMG\", \"IFRAME\"];\r\n\r\nconst shouldUseNative = settings =>\r\n\tsettings.use_native && \"loading\" in HTMLImageElement.prototype;\r\n\r\nconst loadAllNative = instance => {\r\n\tinstance._elements.forEach(element => {\r\n\t\tif (nativeLazyTags.indexOf(element.tagName) === -1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\telement.setAttribute(\"loading\", \"lazy\");\r\n\t\trevealElement(element, instance);\r\n\t});\r\n};\n\nconst nodeSetToArray = nodeSet => Array.prototype.slice.call(nodeSet);\n\nconst queryElements = settings =>\r\n\tsettings.container.querySelectorAll(settings.elements_selector);\r\n\r\nconst getElements = (elements, settings) =>\r\n\tpurgeProcessedElements(nodeSetToArray(elements || queryElements(settings)));\n\nconst LazyLoad = function(customSettings, elements) {\r\n\tthis._settings = getInstanceSettings(customSettings);\r\n\tthis._loadingCount = 0;\r\n\tsetObserver(this);\r\n\tthis.update(elements);\r\n};\r\n\r\nLazyLoad.prototype = {\r\n\tupdate: function(elements) {\r\n\t\tvar settings = this._settings;\r\n\t\tthis._elements = getElements(elements, settings);\r\n\t\tif (isBot || !this._observer) {\r\n\t\t\tthis.loadAll();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (shouldUseNative(settings)) {\r\n\t\t\tloadAllNative(this);\r\n\t\t\tthis._elements = getElements(elements, settings);\r\n\t\t}\r\n\t\tthis._elements.forEach(element => {\r\n\t\t\tthis._observer.observe(element);\r\n\t\t});\r\n\t},\r\n\r\n\tdestroy: function() {\r\n\t\tif (this._observer) {\r\n\t\t\tthis._elements.forEach(element => {\r\n\t\t\t\tthis._observer.unobserve(element);\r\n\t\t\t});\r\n\t\t\tthis._observer = null;\r\n\t\t}\r\n\t\tthis._elements = null;\r\n\t\tthis._settings = null;\r\n\t},\r\n\r\n\tload: function(element, force) {\r\n\t\trevealElement(element, this, force);\r\n\t},\r\n\r\n\tloadAll: function() {\r\n\t\tthis._elements.forEach(element => {\r\n\t\t\trevealAndUnobserve(element, this);\r\n\t\t});\r\n\t}\r\n};\r\n\r\n/* Automatic instances creation if required (useful for async script loading) */\r\nif (runningOnBrowser) {\r\n\tautoInitialize(LazyLoad, window.lazyLoadOptions);\r\n}\n\nreturn LazyLoad;\n\n})));\n"]} \ No newline at end of file diff --git a/assets/js/lazyload/16.1/lazyload.js b/assets/js/lazyload/16.1/lazyload.js new file mode 100644 index 0000000..e0d495a --- /dev/null +++ b/assets/js/lazyload/16.1/lazyload.js @@ -0,0 +1,733 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = global || self, global.LazyLoad = factory()); +}(this, (function () { 'use strict'; + + function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); + } + + var runningOnBrowser = typeof window !== "undefined"; + var isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent); + var supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window; + var supportsClassList = runningOnBrowser && "classList" in document.createElement("p"); + var isHiDpi = runningOnBrowser && window.devicePixelRatio > 1; + + var defaultSettings = { + elements_selector: "IMG", + container: isBot || runningOnBrowser ? document : null, + threshold: 300, + thresholds: null, + data_src: "src", + data_srcset: "srcset", + data_sizes: "sizes", + data_bg: "bg", + data_bg_hidpi: "bg-hidpi", + data_bg_multi: "bg-multi", + data_bg_multi_hidpi: "bg-multi-hidpi", + data_poster: "poster", + class_applied: "applied", + class_loading: "loading", + class_loaded: "loaded", + class_error: "error", + unobserve_completed: true, + unobserve_entered: false, + cancel_on_exit: false, + callback_enter: null, + callback_exit: null, + callback_applied: null, + callback_loading: null, + callback_loaded: null, + callback_error: null, + callback_finish: null, + callback_cancel: null, + use_native: false + }; + var getExtendedSettings = function getExtendedSettings(customSettings) { + return _extends({}, defaultSettings, customSettings); + }; + + /* Creates instance and notifies it through the window element */ + var createInstance = function createInstance(classObj, options) { + var event; + var eventString = "LazyLoad::Initialized"; + var instance = new classObj(options); + + try { + // Works in modern browsers + event = new CustomEvent(eventString, { + detail: { + instance: instance + } + }); + } catch (err) { + // Works in Internet Explorer (all versions) + event = document.createEvent("CustomEvent"); + event.initCustomEvent(eventString, false, false, { + instance: instance + }); + } + + window.dispatchEvent(event); + }; + /* Auto initialization of one or more instances of lazyload, depending on the + options passed in (plain object or an array) */ + + + var autoInitialize = function autoInitialize(classObj, options) { + if (!options) { + return; + } + + if (!options.length) { + // Plain object + createInstance(classObj, options); + } else { + // Array of objects + for (var i = 0, optionsItem; optionsItem = options[i]; i += 1) { + createInstance(classObj, optionsItem); + } + } + }; + + var statusLoading = "loading"; + var statusLoaded = "loaded"; + var statusApplied = "applied"; + var statusError = "error"; + var statusNative = "native"; + + var dataPrefix = "data-"; + var statusDataName = "ll-status"; + var getData = function getData(element, attribute) { + return element.getAttribute(dataPrefix + attribute); + }; + var setData = function setData(element, attribute, value) { + var attrName = dataPrefix + attribute; + + if (value === null) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + var getStatus = function getStatus(element) { + return getData(element, statusDataName); + }; + var setStatus = function setStatus(element, status) { + return setData(element, statusDataName, status); + }; + var resetStatus = function resetStatus(element) { + return setStatus(element, null); + }; + var hasEmptyStatus = function hasEmptyStatus(element) { + return getStatus(element) === null; + }; + var hasStatusLoading = function hasStatusLoading(element) { + return getStatus(element) === statusLoading; + }; + var hasStatusError = function hasStatusError(element) { + return getStatus(element) === statusError; + }; + var hasStatusNative = function hasStatusNative(element) { + return getStatus(element) === statusNative; + }; + var hadStartedLoading = function hadStartedLoading(element) { + return !hasEmptyStatus(element); + }; + + var safeCallback = function safeCallback(callback, arg1, arg2, arg3) { + if (!callback) { + return; + } + + if (arg3 !== undefined) { + callback(arg1, arg2, arg3); + return; + } + + if (arg2 !== undefined) { + callback(arg1, arg2); + return; + } + + callback(arg1); + }; + + var addClass = function addClass(element, className) { + if (supportsClassList) { + element.classList.add(className); + return; + } + + element.className += (element.className ? " " : "") + className; + }; + var removeClass = function removeClass(element, className) { + if (supportsClassList) { + element.classList.remove(className); + return; + } + + element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, ""); + }; + + var addTempImage = function addTempImage(element) { + element.llTempImage = document.createElement("IMG"); + }; + var deleteTempImage = function deleteTempImage(element) { + delete element.llTempImage; + }; + var getTempImage = function getTempImage(element) { + return element.llTempImage; + }; + + var unobserve = function unobserve(element, instance) { + if (!instance) return; + var observer = instance._observer; + if (!observer) return; + observer.unobserve(element); + }; + var resetObserver = function resetObserver(observer) { + observer.disconnect(); + }; + var unobserveIfRequired = function unobserveIfRequired(element, settings, instance) { + if (settings.unobserve_entered) unobserve(element, instance); + }; + + var updateLoadingCount = function updateLoadingCount(instance, delta) { + if (!instance) return; + instance.loadingCount += delta; + }; + var decreaseToLoadCount = function decreaseToLoadCount(instance) { + if (!instance) return; + instance.toLoadCount -= 1; + }; + var setToLoadCount = function setToLoadCount(instance, value) { + if (!instance) return; + instance.toLoadCount = value; + }; + var isSomethingLoading = function isSomethingLoading(instance) { + return instance.loadingCount > 0; + }; + var haveElementsToLoad = function haveElementsToLoad(instance) { + return instance.toLoadCount > 0; + }; + + var getSourceTags = function getSourceTags(parentTag) { + var sourceTags = []; + + for (var i = 0, childTag; childTag = parentTag.children[i]; i += 1) { + if (childTag.tagName === "SOURCE") { + sourceTags.push(childTag); + } + } + + return sourceTags; + }; + var setAttributeIfValue = function setAttributeIfValue(element, attrName, value) { + if (!value) { + return; + } + + element.setAttribute(attrName, value); + }; + var resetAttribute = function resetAttribute(element, attrName) { + element.removeAttribute(attrName); + }; + var hasOriginalAttributes = function hasOriginalAttributes(element) { + return !!element.llOriginalAttrs; + }; + var saveOriginalImageAttributes = function saveOriginalImageAttributes(element) { + if (hasOriginalAttributes(element)) { + return; + } + + var originalAttributes = {}; + originalAttributes["src"] = element.getAttribute("src"); + originalAttributes["srcset"] = element.getAttribute("srcset"); + originalAttributes["sizes"] = element.getAttribute("sizes"); + element.llOriginalAttrs = originalAttributes; + }; + var restoreOriginalImageAttributes = function restoreOriginalImageAttributes(element) { + if (!hasOriginalAttributes(element)) { + return; + } + + var originalAttributes = element.llOriginalAttrs; + setAttributeIfValue(element, "src", originalAttributes["src"]); + setAttributeIfValue(element, "srcset", originalAttributes["srcset"]); + setAttributeIfValue(element, "sizes", originalAttributes["sizes"]); + }; + var setImageAttributes = function setImageAttributes(element, settings) { + setAttributeIfValue(element, "sizes", getData(element, settings.data_sizes)); + setAttributeIfValue(element, "srcset", getData(element, settings.data_srcset)); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + var resetImageAttributes = function resetImageAttributes(element) { + resetAttribute(element, "src"); + resetAttribute(element, "srcset"); + resetAttribute(element, "sizes"); + }; + var forEachPictureSource = function forEachPictureSource(element, fn) { + var parent = element.parentNode; + + if (!parent || parent.tagName !== "PICTURE") { + return; + } + + var sourceTags = getSourceTags(parent); + sourceTags.forEach(fn); + }; + var forEachVideoSource = function forEachVideoSource(element, fn) { + var sourceTags = getSourceTags(element); + sourceTags.forEach(fn); + }; + var restoreOriginalAttributesImg = function restoreOriginalAttributesImg(element) { + forEachPictureSource(element, function (sourceTag) { + restoreOriginalImageAttributes(sourceTag); + }); + restoreOriginalImageAttributes(element); + }; + var setSourcesImg = function setSourcesImg(element, settings) { + forEachPictureSource(element, function (sourceTag) { + saveOriginalImageAttributes(sourceTag); + setImageAttributes(sourceTag, settings); + }); + saveOriginalImageAttributes(element); + setImageAttributes(element, settings); + }; + var resetSourcesImg = function resetSourcesImg(element) { + forEachPictureSource(element, function (sourceTag) { + resetImageAttributes(sourceTag); + }); + resetImageAttributes(element); + }; + var setSourcesIframe = function setSourcesIframe(element, settings) { + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + }; + var setSourcesVideo = function setSourcesVideo(element, settings) { + forEachVideoSource(element, function (sourceTag) { + setAttributeIfValue(sourceTag, "src", getData(sourceTag, settings.data_src)); + }); + setAttributeIfValue(element, "poster", getData(element, settings.data_poster)); + setAttributeIfValue(element, "src", getData(element, settings.data_src)); + element.load(); + }; + var setSourcesFunctions = { + IMG: setSourcesImg, + IFRAME: setSourcesIframe, + VIDEO: setSourcesVideo + }; + var setBackground = function setBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg); + var bgHiDpiValue = getData(element, settings.data_bg_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + if (!bgDataValue) return; + element.style.backgroundImage = "url(\"".concat(bgDataValue, "\")"); + getTempImage(element).setAttribute("src", bgDataValue); + manageLoading(element, settings, instance); + }; // NOTE: THE TEMP IMAGE TRICK CANNOT BE DONE WITH data-multi-bg + // BECAUSE INSIDE ITS VALUES MUST BE WRAPPED WITH URL() AND ONE OF THEM + // COULD BE A GRADIENT BACKGROUND IMAGE + + var setMultiBackground = function setMultiBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg_multi); + var bgHiDpiValue = getData(element, settings.data_bg_multi_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + + if (!bgDataValue) { + return; + } + + element.style.backgroundImage = bgDataValue; + manageApplied(element, settings, instance); + }; + var setSources = function setSources(element, settings) { + var setSourcesFunction = setSourcesFunctions[element.tagName]; + + if (!setSourcesFunction) { + return; + } + + setSourcesFunction(element, settings); + }; + var manageApplied = function manageApplied(element, settings, instance) { + addClass(element, settings.class_applied); + setStatus(element, statusApplied); + removeDataMultiBackground(element, settings); + + if (settings.unobserve_completed) { + // Unobserve now because we can't do it on load + unobserve(element, settings); + } + + safeCallback(settings.callback_applied, element, instance); + }; + var manageLoading = function manageLoading(element, settings, instance) { + updateLoadingCount(instance, +1); + addClass(element, settings.class_loading); + setStatus(element, statusLoading); + safeCallback(settings.callback_loading, element, instance); + }; // REMOVE DATA ATTRIBUTES -------------- + + var removeDataImg = function removeDataImg(element, settings) { + setData(element, settings.data_src, null); + setData(element, settings.data_srcset, null); + setData(element, settings.data_sizes, null); + forEachPictureSource(element, function (sourceTag) { + setData(sourceTag, settings.data_srcset, null); + setData(sourceTag, settings.data_sizes, null); + }); + }; + var removeDataIframe = function removeDataIframe(element, settings) { + setData(element, settings.data_src, null); + }; + var removeDataVideo = function removeDataVideo(element, settings) { + setData(element, settings.data_src, null); + setData(element, settings.data_poster, null); + forEachVideoSource(element, function (sourceTag) { + setData(sourceTag, settings.data_src, null); + }); + }; + var removeDataFunctions = { + IMG: removeDataImg, + IFRAME: removeDataIframe, + VIDEO: removeDataVideo + }; + var removeDataBackground = function removeDataBackground(element, settings) { + setData(element, settings.data_bg, null); + setData(element, settings.data_bg_hidpi, null); + }; + var removeDataMultiBackground = function removeDataMultiBackground(element, settings) { + setData(element, settings.data_bg_multi, null); + setData(element, settings.data_bg_multi_hidpi, null); + }; + var removeDataAttributes = function removeDataAttributes(element, settings) { + var removeDataFunction = removeDataFunctions[element.tagName]; + + if (removeDataFunction) { + removeDataFunction(element, settings); + return; + } + + removeDataBackground(element, settings); + }; + + var elementsWithLoadEvent = ["IMG", "IFRAME", "VIDEO"]; + var hasLoadEvent = function hasLoadEvent(element) { + return elementsWithLoadEvent.indexOf(element.tagName) > -1; + }; + var checkFinish = function checkFinish(settings, instance) { + if (instance && !isSomethingLoading(instance) && !haveElementsToLoad(instance)) { + safeCallback(settings.callback_finish, instance); + } + }; + var addEventListener = function addEventListener(element, eventName, handler) { + element.addEventListener(eventName, handler); + element.llEvLisnrs[eventName] = handler; + }; + var removeEventListener = function removeEventListener(element, eventName, handler) { + element.removeEventListener(eventName, handler); + }; + var hasEventListeners = function hasEventListeners(element) { + return !!element.llEvLisnrs; + }; + var addEventListeners = function addEventListeners(element, loadHandler, errorHandler) { + if (!hasEventListeners(element)) element.llEvLisnrs = {}; + var loadEventName = element.tagName === "VIDEO" ? "loadeddata" : "load"; + addEventListener(element, loadEventName, loadHandler); + addEventListener(element, "error", errorHandler); + }; + var removeEventListeners = function removeEventListeners(element) { + if (!hasEventListeners(element)) { + return; + } + + var eventListeners = element.llEvLisnrs; + + for (var eventName in eventListeners) { + var handler = eventListeners[eventName]; + removeEventListener(element, eventName, handler); + } + + delete element.llEvLisnrs; + }; + var doneHandler = function doneHandler(element, settings, instance) { + deleteTempImage(element); + updateLoadingCount(instance, -1); + decreaseToLoadCount(instance); + removeClass(element, settings.class_loading); + + if (settings.unobserve_completed) { + unobserve(element, instance); + } + }; + var loadHandler = function loadHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_loaded); + setStatus(element, statusLoaded); + removeDataAttributes(element, settings); + safeCallback(settings.callback_loaded, element, instance); + if (!goingNative) checkFinish(settings, instance); + }; + var errorHandler = function errorHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_error); + setStatus(element, statusError); + safeCallback(settings.callback_error, element, instance); + if (!goingNative) checkFinish(settings, instance); + }; + var addOneShotEventListeners = function addOneShotEventListeners(element, settings, instance) { + var elementToListenTo = getTempImage(element) || element; + + if (hasEventListeners(elementToListenTo)) { + // This happens when loading is retried twice + return; + } + + var _loadHandler = function _loadHandler(event) { + loadHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + var _errorHandler = function _errorHandler(event) { + errorHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + addEventListeners(elementToListenTo, _loadHandler, _errorHandler); + }; + + var loadBackground = function loadBackground(element, settings, instance) { + addTempImage(element); + addOneShotEventListeners(element, settings, instance); + setBackground(element, settings, instance); + setMultiBackground(element, settings, instance); + }; + + var loadRegular = function loadRegular(element, settings, instance) { + addOneShotEventListeners(element, settings, instance); + setSources(element, settings); + manageLoading(element, settings, instance); + }; + + var load = function load(element, settings, instance) { + if (hasLoadEvent(element)) { + loadRegular(element, settings, instance); + } else { + loadBackground(element, settings, instance); + } + }; + var loadNative = function loadNative(element, settings, instance) { + addOneShotEventListeners(element, settings, instance); + setSources(element, settings); + removeDataAttributes(element, settings); + setStatus(element, statusNative); + }; + + var cancelLoadingIfRequired = function cancelLoadingIfRequired(element, entry, settings, instance) { + if (!settings.cancel_on_exit) return; + if (!hasStatusLoading(element)) return; + if (element.tagName !== "IMG") return; //Works only on images + + removeEventListeners(element); + resetSourcesImg(element); + restoreOriginalAttributesImg(element); + removeClass(element, settings.class_loading); + updateLoadingCount(instance, -1); + resetStatus(element); + safeCallback(settings.callback_cancel, element, entry, instance); + }; + + var onEnter = function onEnter(element, entry, settings, instance) { + safeCallback(settings.callback_enter, element, entry, instance); + unobserveIfRequired(element, settings, instance); + if (hadStartedLoading(element)) return; //Prevent loading it again + + load(element, settings, instance); + }; + var onExit = function onExit(element, entry, settings, instance) { + if (hasEmptyStatus(element)) return; //Ignore the first pass, at landing + + cancelLoadingIfRequired(element, entry, settings, instance); + safeCallback(settings.callback_exit, element, entry, instance); + }; + + var tagsWithNativeLazy = ["IMG", "IFRAME"]; + var shouldUseNative = function shouldUseNative(settings) { + return settings.use_native && "loading" in HTMLImageElement.prototype; + }; + var loadAllNative = function loadAllNative(elements, settings, instance) { + elements.forEach(function (element) { + if (tagsWithNativeLazy.indexOf(element.tagName) === -1) { + return; + } + + element.setAttribute("loading", "lazy"); //TODO: Move inside the loadNative method + + loadNative(element, settings, instance); + }); + setToLoadCount(instance, 0); + }; + + var isIntersecting = function isIntersecting(entry) { + return entry.isIntersecting || entry.intersectionRatio > 0; + }; + + var getObserverSettings = function getObserverSettings(settings) { + return { + root: settings.container === document ? null : settings.container, + rootMargin: settings.thresholds || settings.threshold + "px" + }; + }; + + var intersectionHandler = function intersectionHandler(entries, settings, instance) { + entries.forEach(function (entry) { + return isIntersecting(entry) ? onEnter(entry.target, entry, settings, instance) : onExit(entry.target, entry, settings, instance); + }); + }; + + var observeElements = function observeElements(observer, elements) { + elements.forEach(function (element) { + observer.observe(element); + }); + }; + var updateObserver = function updateObserver(observer, elementsToObserve) { + resetObserver(observer); + observeElements(observer, elementsToObserve); + }; + var setObserver = function setObserver(settings, instance) { + if (!supportsIntersectionObserver || shouldUseNative(settings)) { + return; + } + + instance._observer = new IntersectionObserver(function (entries) { + intersectionHandler(entries, settings, instance); + }, getObserverSettings(settings)); + }; + + var toArray = function toArray(nodeSet) { + return Array.prototype.slice.call(nodeSet); + }; + var queryElements = function queryElements(settings) { + return settings.container.querySelectorAll(settings.elements_selector); + }; + var excludeManagedElements = function excludeManagedElements(elements) { + return toArray(elements).filter(hasEmptyStatus); + }; + var hasError = function hasError(element) { + return hasStatusError(element); + }; + var filterErrorElements = function filterErrorElements(elements) { + return toArray(elements).filter(hasError); + }; + var getElementsToLoad = function getElementsToLoad(elements, settings) { + return excludeManagedElements(elements || queryElements(settings)); + }; + + var retryLazyLoad = function retryLazyLoad(settings, instance) { + var errorElements = filterErrorElements(queryElements(settings)); + errorElements.forEach(function (element) { + removeClass(element, settings.class_error); + resetStatus(element); + }); + instance.update(); + }; + var setOnlineCheck = function setOnlineCheck(settings, instance) { + if (!runningOnBrowser) { + return; + } + + window.addEventListener("online", function () { + retryLazyLoad(settings, instance); + }); + }; + + var LazyLoad = function LazyLoad(customSettings, elements) { + var settings = getExtendedSettings(customSettings); + this._settings = settings; + this.loadingCount = 0; + setObserver(settings, this); + setOnlineCheck(settings, this); + this.update(elements); + }; + + LazyLoad.prototype = { + update: function update(givenNodeset) { + var settings = this._settings; + var elementsToLoad = getElementsToLoad(givenNodeset, settings); + setToLoadCount(this, elementsToLoad.length); + + if (isBot || !supportsIntersectionObserver) { + this.loadAll(elementsToLoad); + return; + } + + if (shouldUseNative(settings)) { + loadAllNative(elementsToLoad, settings, this); + return; + } + + updateObserver(this._observer, elementsToLoad); + }, + destroy: function destroy() { + // Observer + if (this._observer) { + this._observer.disconnect(); + } // Clean custom attributes on elements + + + queryElements(this._settings).forEach(function (element) { + delete element.llOriginalAttrs; + }); // Delete all internal props + + delete this._observer; + delete this._settings; + delete this.loadingCount; + delete this.toLoadCount; + }, + loadAll: function loadAll(elements) { + var _this = this; + + var settings = this._settings; + var elementsToLoad = getElementsToLoad(elements, settings); + elementsToLoad.forEach(function (element) { + load(element, settings, _this); + }); + } + }; + + LazyLoad.load = function (element, customSettings) { + var settings = getExtendedSettings(customSettings); + load(element, settings); + }; + + LazyLoad.resetStatus = function (element) { + resetStatus(element); + }; // Automatic instances creation if required (useful for async script loading) + + + if (runningOnBrowser) { + autoInitialize(LazyLoad, window.lazyLoadOptions); + } + + return LazyLoad; + +}))); diff --git a/assets/js/lazyload/16.1/lazyload.min.js b/assets/js/lazyload/16.1/lazyload.min.js new file mode 100644 index 0000000..d4eee20 --- /dev/null +++ b/assets/js/lazyload/16.1/lazyload.min.js @@ -0,0 +1 @@ +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t=t||self).LazyLoad=n()}(this,(function(){"use strict";function t(){return(t=Object.assign||function(t){for(var n=1;n1,r={elements_selector:"IMG",container:e||n?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!1,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},c=function(n){return t({},r,n)},l=function(t,n){var e,i=new t(n);try{e=new CustomEvent("LazyLoad::Initialized",{detail:{instance:i}})}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:i})}window.dispatchEvent(e)},s=function(t,n){return t.getAttribute("data-"+n)},u=function(t,n,e){var i="data-"+n;null!==e?t.setAttribute(i,e):t.removeAttribute(i)},d=function(t){return s(t,"ll-status")},f=function(t,n){return u(t,"ll-status",n)},_=function(t){return f(t,null)},g=function(t){return null===d(t)},v=function(t){return"native"===d(t)},b=function(t,n,e,i){t&&(void 0===i?void 0===e?t(n):t(n,e):t(n,e,i))},p=function(t,n){a?t.classList.add(n):t.className+=(t.className?" ":"")+n},h=function(t,n){a?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},m=function(t){return t.llTempImage},E=function(t,n){if(n){var e=n._observer;e&&e.unobserve(t)}},I=function(t,n){t&&(t.loadingCount+=n)},A=function(t,n){t&&(t.toLoadCount=n)},L=function(t){for(var n,e=[],i=0;n=t.children[i];i+=1)"SOURCE"===n.tagName&&e.push(n);return e},y=function(t,n,e){e&&t.setAttribute(n,e)},w=function(t,n){t.removeAttribute(n)},k=function(t){return!!t.llOriginalAttrs},z=function(t){if(!k(t)){var n={};n.src=t.getAttribute("src"),n.srcset=t.getAttribute("srcset"),n.sizes=t.getAttribute("sizes"),t.llOriginalAttrs=n}},O=function(t){if(k(t)){var n=t.llOriginalAttrs;y(t,"src",n.src),y(t,"srcset",n.srcset),y(t,"sizes",n.sizes)}},C=function(t,n){y(t,"sizes",s(t,n.data_sizes)),y(t,"srcset",s(t,n.data_srcset)),y(t,"src",s(t,n.data_src))},M=function(t){w(t,"src"),w(t,"srcset"),w(t,"sizes")},N=function(t,n){var e=t.parentNode;e&&"PICTURE"===e.tagName&&L(e).forEach(n)},x=function(t,n){L(t).forEach(n)},R={IMG:function(t,n){N(t,(function(t){z(t),C(t,n)})),z(t),C(t,n)},IFRAME:function(t,n){y(t,"src",s(t,n.data_src))},VIDEO:function(t,n){x(t,(function(t){y(t,"src",s(t,n.data_src))})),y(t,"poster",s(t,n.data_poster)),y(t,"src",s(t,n.data_src)),t.load()}},G=function(t,n){var e=R[t.tagName];e&&e(t,n)},T=function(t,n,e){I(e,1),p(t,n.class_loading),f(t,"loading"),b(n.callback_loading,t,e)},D={IMG:function(t,n){u(t,n.data_src,null),u(t,n.data_srcset,null),u(t,n.data_sizes,null),N(t,(function(t){u(t,n.data_srcset,null),u(t,n.data_sizes,null)}))},IFRAME:function(t,n){u(t,n.data_src,null)},VIDEO:function(t,n){u(t,n.data_src,null),u(t,n.data_poster,null),x(t,(function(t){u(t,n.data_src,null)}))}},F=function(t,n){u(t,n.data_bg_multi,null),u(t,n.data_bg_multi_hidpi,null)},V=function(t,n){var e=D[t.tagName];e?e(t,n):function(t,n){u(t,n.data_bg,null),u(t,n.data_bg_hidpi,null)}(t,n)},j=["IMG","IFRAME","VIDEO"],P=function(t,n){!n||function(t){return t.loadingCount>0}(n)||function(t){return t.toLoadCount>0}(n)||b(t.callback_finish,n)},S=function(t,n,e){t.addEventListener(n,e),t.llEvLisnrs[n]=e},U=function(t,n,e){t.removeEventListener(n,e)},$=function(t){return!!t.llEvLisnrs},q=function(t){if($(t)){var n=t.llEvLisnrs;for(var e in n){var i=n[e];U(t,e,i)}delete t.llEvLisnrs}},H=function(t,n,e){!function(t){delete t.llTempImage}(t),I(e,-1),function(t){t&&(t.toLoadCount-=1)}(e),h(t,n.class_loading),n.unobserve_completed&&E(t,e)},B=function(t,n,e){var i=m(t)||t;$(i)||function(t,n,e){$(t)||(t.llEvLisnrs={});var i="VIDEO"===t.tagName?"loadeddata":"load";S(t,i,n),S(t,"error",e)}(i,(function(a){!function(t,n,e,i){var a=v(n);H(n,e,i),p(n,e.class_loaded),f(n,"loaded"),V(n,e),b(e.callback_loaded,n,i),a||P(e,i)}(0,t,n,e),q(i)}),(function(a){!function(t,n,e,i){var a=v(n);H(n,e,i),p(n,e.class_error),f(n,"error"),b(e.callback_error,n,i),a||P(e,i)}(0,t,n,e),q(i)}))},J=function(t,n,e){!function(t){t.llTempImage=document.createElement("IMG")}(t),B(t,n,e),function(t,n,e){var i=s(t,n.data_bg),a=s(t,n.data_bg_hidpi),r=o&&a?a:i;r&&(t.style.backgroundImage='url("'.concat(r,'")'),m(t).setAttribute("src",r),T(t,n,e))}(t,n,e),function(t,n,e){var i=s(t,n.data_bg_multi),a=s(t,n.data_bg_multi_hidpi),r=o&&a?a:i;r&&(t.style.backgroundImage=r,function(t,n,e){p(t,n.class_applied),f(t,"applied"),F(t,n),n.unobserve_completed&&E(t,n),b(n.callback_applied,t,e)}(t,n,e))}(t,n,e)},K=function(t,n,e){!function(t){return j.indexOf(t.tagName)>-1}(t)?J(t,n,e):function(t,n,e){B(t,n,e),G(t,n),T(t,n,e)}(t,n,e)},Q=["IMG","IFRAME"],W=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},X=function(t,n,e){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,n,e,i){b(e.callback_enter,t,n,i),function(t,n,e){n.unobserve_entered&&E(t,e)}(t,e,i),function(t){return!g(t)}(t)||K(t,e,i)}(t.target,t,n,e):function(t,n,e,i){g(t)||(function(t,n,e,i){e.cancel_on_exit&&function(t){return"loading"===d(t)}(t)&&"IMG"===t.tagName&&(q(t),function(t){N(t,(function(t){M(t)})),M(t)}(t),function(t){N(t,(function(t){O(t)})),O(t)}(t),h(t,e.class_loading),I(i,-1),_(t),b(e.callback_cancel,t,n,i))}(t,n,e,i),b(e.callback_exit,t,n,i))}(t.target,t,n,e)}))},Y=function(t){return Array.prototype.slice.call(t)},Z=function(t){return t.container.querySelectorAll(t.elements_selector)},tt=function(t){return function(t){return"error"===d(t)}(t)},nt=function(t,n){return function(t){return Y(t).filter(g)}(t||Z(n))},et=function(t,e){var a=c(t);this._settings=a,this.loadingCount=0,function(t,n){i&&!W(t)&&(n._observer=new IntersectionObserver((function(e){X(e,t,n)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(a,this),function(t,e){n&&window.addEventListener("online",(function(){!function(t,n){var e;(e=Z(t),Y(e).filter(tt)).forEach((function(n){h(n,t.class_error),_(n)})),n.update()}(t,e)}))}(a,this),this.update(e)};return et.prototype={update:function(t){var n,a,o=this._settings,r=nt(t,o);A(this,r.length),!e&&i?W(o)?function(t,n,e){t.forEach((function(t){-1!==Q.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),function(t,n,e){B(t,n,e),G(t,n),V(t,n),f(t,"native")}(t,n,e))})),A(e,0)}(r,o,this):(a=r,function(t){t.disconnect()}(n=this._observer),function(t,n){n.forEach((function(n){t.observe(n)}))}(n,a)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),Z(this._settings).forEach((function(t){delete t.llOriginalAttrs})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var n=this,e=this._settings;nt(t,e).forEach((function(t){K(t,e,n)}))}},et.load=function(t,n){var e=c(n);K(t,e)},et.resetStatus=function(t){_(t)},n&&function(t,n){if(n)if(n.length)for(var e,i=0;e=n[i];i+=1)l(t,e);else l(t,n)}(et,window.lazyLoadOptions),et})); diff --git a/assets/js/lazyload/17.5/lazyload.js b/assets/js/lazyload/17.5/lazyload.js new file mode 100644 index 0000000..a1bf5c1 --- /dev/null +++ b/assets/js/lazyload/17.5/lazyload.js @@ -0,0 +1,813 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.LazyLoad = factory()); + }(this, (function () { 'use strict'; + + function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); + } + + var runningOnBrowser = typeof window !== "undefined"; + var isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent); + var supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window; + var supportsClassList = runningOnBrowser && "classList" in document.createElement("p"); + var isHiDpi = runningOnBrowser && window.devicePixelRatio > 1; + + var defaultSettings = { + elements_selector: ".lazy", + container: isBot || runningOnBrowser ? document : null, + threshold: 300, + thresholds: null, + data_src: "src", + data_srcset: "srcset", + data_sizes: "sizes", + data_bg: "bg", + data_bg_hidpi: "bg-hidpi", + data_bg_multi: "bg-multi", + data_bg_multi_hidpi: "bg-multi-hidpi", + data_poster: "poster", + class_applied: "applied", + class_loading: "loading", + class_loaded: "loaded", + class_error: "error", + class_entered: "entered", + class_exited: "exited", + unobserve_completed: true, + unobserve_entered: false, + cancel_on_exit: true, + callback_enter: null, + callback_exit: null, + callback_applied: null, + callback_loading: null, + callback_loaded: null, + callback_error: null, + callback_finish: null, + callback_cancel: null, + use_native: false + }; + var getExtendedSettings = function getExtendedSettings(customSettings) { + return _extends({}, defaultSettings, customSettings); + }; + + /* Creates instance and notifies it through the window element */ + var createInstance = function createInstance(classObj, options) { + var event; + var eventString = "LazyLoad::Initialized"; + var instance = new classObj(options); + + try { + // Works in modern browsers + event = new CustomEvent(eventString, { + detail: { + instance: instance + } + }); + } catch (err) { + // Works in Internet Explorer (all versions) + event = document.createEvent("CustomEvent"); + event.initCustomEvent(eventString, false, false, { + instance: instance + }); + } + + window.dispatchEvent(event); + }; + /* Auto initialization of one or more instances of lazyload, depending on the + options passed in (plain object or an array) */ + + + var autoInitialize = function autoInitialize(classObj, options) { + if (!options) { + return; + } + + if (!options.length) { + // Plain object + createInstance(classObj, options); + } else { + // Array of objects + for (var i = 0, optionsItem; optionsItem = options[i]; i += 1) { + createInstance(classObj, optionsItem); + } + } + }; + + var SRC = "src"; + var SRCSET = "srcset"; + var SIZES = "sizes"; + var POSTER = "poster"; + var ORIGINALS = "llOriginalAttrs"; + + var statusLoading = "loading"; + var statusLoaded = "loaded"; + var statusApplied = "applied"; + var statusEntered = "entered"; + var statusError = "error"; + var statusNative = "native"; + + var dataPrefix = "data-"; + var statusDataName = "ll-status"; + var getData = function getData(element, attribute) { + return element.getAttribute(dataPrefix + attribute); + }; + var setData = function setData(element, attribute, value) { + var attrName = dataPrefix + attribute; + + if (value === null) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + var getStatus = function getStatus(element) { + return getData(element, statusDataName); + }; + var setStatus = function setStatus(element, status) { + return setData(element, statusDataName, status); + }; + var resetStatus = function resetStatus(element) { + return setStatus(element, null); + }; + var hasEmptyStatus = function hasEmptyStatus(element) { + return getStatus(element) === null; + }; + var hasStatusLoading = function hasStatusLoading(element) { + return getStatus(element) === statusLoading; + }; + var hasStatusError = function hasStatusError(element) { + return getStatus(element) === statusError; + }; + var hasStatusNative = function hasStatusNative(element) { + return getStatus(element) === statusNative; + }; + var statusesAfterLoading = [statusLoading, statusLoaded, statusApplied, statusError]; + var hadStartedLoading = function hadStartedLoading(element) { + return statusesAfterLoading.indexOf(getStatus(element)) >= 0; + }; + + var safeCallback = function safeCallback(callback, arg1, arg2, arg3) { + if (!callback) { + return; + } + + if (arg3 !== undefined) { + callback(arg1, arg2, arg3); + return; + } + + if (arg2 !== undefined) { + callback(arg1, arg2); + return; + } + + callback(arg1); + }; + + var addClass = function addClass(element, className) { + if (supportsClassList) { + element.classList.add(className); + return; + } + + element.className += (element.className ? " " : "") + className; + }; + var removeClass = function removeClass(element, className) { + if (supportsClassList) { + element.classList.remove(className); + return; + } + + element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, ""); + }; + + var addTempImage = function addTempImage(element) { + element.llTempImage = document.createElement("IMG"); + }; + var deleteTempImage = function deleteTempImage(element) { + delete element.llTempImage; + }; + var getTempImage = function getTempImage(element) { + return element.llTempImage; + }; + + var unobserve = function unobserve(element, instance) { + if (!instance) return; + var observer = instance._observer; + if (!observer) return; + observer.unobserve(element); + }; + var resetObserver = function resetObserver(observer) { + observer.disconnect(); + }; + var unobserveEntered = function unobserveEntered(element, settings, instance) { + if (settings.unobserve_entered) unobserve(element, instance); + }; + + var updateLoadingCount = function updateLoadingCount(instance, delta) { + if (!instance) return; + instance.loadingCount += delta; + }; + var decreaseToLoadCount = function decreaseToLoadCount(instance) { + if (!instance) return; + instance.toLoadCount -= 1; + }; + var setToLoadCount = function setToLoadCount(instance, value) { + if (!instance) return; + instance.toLoadCount = value; + }; + var isSomethingLoading = function isSomethingLoading(instance) { + return instance.loadingCount > 0; + }; + var haveElementsToLoad = function haveElementsToLoad(instance) { + return instance.toLoadCount > 0; + }; + + var getSourceTags = function getSourceTags(parentTag) { + var sourceTags = []; + + for (var i = 0, childTag; childTag = parentTag.children[i]; i += 1) { + if (childTag.tagName === "SOURCE") { + sourceTags.push(childTag); + } + } + + return sourceTags; + }; + + var forEachPictureSource = function forEachPictureSource(element, fn) { + var parent = element.parentNode; + + if (!parent || parent.tagName !== "PICTURE") { + return; + } + + var sourceTags = getSourceTags(parent); + sourceTags.forEach(fn); + }; + var forEachVideoSource = function forEachVideoSource(element, fn) { + var sourceTags = getSourceTags(element); + sourceTags.forEach(fn); + }; + + var attrsSrc = [SRC]; + var attrsSrcPoster = [SRC, POSTER]; + var attrsSrcSrcsetSizes = [SRC, SRCSET, SIZES]; + var hasOriginalAttrs = function hasOriginalAttrs(element) { + return !!element[ORIGINALS]; + }; + var getOriginalAttrs = function getOriginalAttrs(element) { + return element[ORIGINALS]; + }; + var deleteOriginalAttrs = function deleteOriginalAttrs(element) { + return delete element[ORIGINALS]; + }; // ## SAVE ## + + var setOriginalsObject = function setOriginalsObject(element, attributes) { + if (hasOriginalAttrs(element)) { + return; + } + + var originals = {}; + attributes.forEach(function (attribute) { + originals[attribute] = element.getAttribute(attribute); + }); + element[ORIGINALS] = originals; + }; + var saveOriginalBackgroundStyle = function saveOriginalBackgroundStyle(element) { + if (hasOriginalAttrs(element)) { + return; + } + + element[ORIGINALS] = { + backgroundImage: element.style.backgroundImage + }; + }; // ## RESTORE ## + + var setOrResetAttribute = function setOrResetAttribute(element, attrName, value) { + if (!value) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + + var restoreOriginalAttrs = function restoreOriginalAttrs(element, attributes) { + if (!hasOriginalAttrs(element)) { + return; + } + + var originals = getOriginalAttrs(element); + attributes.forEach(function (attribute) { + setOrResetAttribute(element, attribute, originals[attribute]); + }); + }; + var restoreOriginalBgImage = function restoreOriginalBgImage(element) { + if (!hasOriginalAttrs(element)) { + return; + } + + var originals = getOriginalAttrs(element); + element.style.backgroundImage = originals.backgroundImage; + }; + + var manageApplied = function manageApplied(element, settings, instance) { + addClass(element, settings.class_applied); + setStatus(element, statusApplied); // Instance is not provided when loading is called from static class + + if (!instance) return; + + if (settings.unobserve_completed) { + // Unobserve now because we can't do it on load + unobserve(element, settings); + } + + safeCallback(settings.callback_applied, element, instance); + }; + var manageLoading = function manageLoading(element, settings, instance) { + addClass(element, settings.class_loading); + setStatus(element, statusLoading); // Instance is not provided when loading is called from static class + + if (!instance) return; + updateLoadingCount(instance, +1); + safeCallback(settings.callback_loading, element, instance); + }; + var setAttributeIfValue = function setAttributeIfValue(element, attrName, value) { + if (!value) { + return; + } + + element.setAttribute(attrName, value); + }; + var setImageAttributes = function setImageAttributes(element, settings) { + setAttributeIfValue(element, SIZES, getData(element, settings.data_sizes)); + setAttributeIfValue(element, SRCSET, getData(element, settings.data_srcset)); + setAttributeIfValue(element, SRC, getData(element, settings.data_src)); + }; + var setSourcesImg = function setSourcesImg(imgEl, settings) { + forEachPictureSource(imgEl, function (sourceTag) { + setOriginalsObject(sourceTag, attrsSrcSrcsetSizes); + setImageAttributes(sourceTag, settings); + }); + setOriginalsObject(imgEl, attrsSrcSrcsetSizes); + setImageAttributes(imgEl, settings); + }; + var setSourcesIframe = function setSourcesIframe(iframe, settings) { + setOriginalsObject(iframe, attrsSrc); + setAttributeIfValue(iframe, SRC, getData(iframe, settings.data_src)); + }; + var setSourcesVideo = function setSourcesVideo(videoEl, settings) { + forEachVideoSource(videoEl, function (sourceEl) { + setOriginalsObject(sourceEl, attrsSrc); + setAttributeIfValue(sourceEl, SRC, getData(sourceEl, settings.data_src)); + }); + setOriginalsObject(videoEl, attrsSrcPoster); + setAttributeIfValue(videoEl, POSTER, getData(videoEl, settings.data_poster)); + setAttributeIfValue(videoEl, SRC, getData(videoEl, settings.data_src)); + videoEl.load(); + }; + var setBackground = function setBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg); + var bgHiDpiValue = getData(element, settings.data_bg_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + if (!bgDataValue) return; + element.style.backgroundImage = "url(\"".concat(bgDataValue, "\")"); + getTempImage(element).setAttribute(SRC, bgDataValue); + manageLoading(element, settings, instance); + }; // NOTE: THE TEMP IMAGE TRICK CANNOT BE DONE WITH data-multi-bg + // BECAUSE INSIDE ITS VALUES MUST BE WRAPPED WITH URL() AND ONE OF THEM + // COULD BE A GRADIENT BACKGROUND IMAGE + + var setMultiBackground = function setMultiBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg_multi); + var bgHiDpiValue = getData(element, settings.data_bg_multi_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + + if (!bgDataValue) { + return; + } + + element.style.backgroundImage = bgDataValue; + manageApplied(element, settings, instance); + }; + var setSourcesFunctions = { + IMG: setSourcesImg, + IFRAME: setSourcesIframe, + VIDEO: setSourcesVideo + }; + var setSourcesNative = function setSourcesNative(element, settings) { + var setSourcesFunction = setSourcesFunctions[element.tagName]; + + if (!setSourcesFunction) { + return; + } + + setSourcesFunction(element, settings); + }; + var setSources = function setSources(element, settings, instance) { + var setSourcesFunction = setSourcesFunctions[element.tagName]; + + if (!setSourcesFunction) { + return; + } + + setSourcesFunction(element, settings); + manageLoading(element, settings, instance); + }; + + var elementsWithLoadEvent = ["IMG", "IFRAME", "VIDEO"]; + var hasLoadEvent = function hasLoadEvent(element) { + return elementsWithLoadEvent.indexOf(element.tagName) > -1; + }; + var checkFinish = function checkFinish(settings, instance) { + if (instance && !isSomethingLoading(instance) && !haveElementsToLoad(instance)) { + safeCallback(settings.callback_finish, instance); + } + }; + var addEventListener = function addEventListener(element, eventName, handler) { + element.addEventListener(eventName, handler); + element.llEvLisnrs[eventName] = handler; + }; + var removeEventListener = function removeEventListener(element, eventName, handler) { + element.removeEventListener(eventName, handler); + }; + var hasEventListeners = function hasEventListeners(element) { + return !!element.llEvLisnrs; + }; + var addEventListeners = function addEventListeners(element, loadHandler, errorHandler) { + if (!hasEventListeners(element)) element.llEvLisnrs = {}; + var loadEventName = element.tagName === "VIDEO" ? "loadeddata" : "load"; + addEventListener(element, loadEventName, loadHandler); + addEventListener(element, "error", errorHandler); + }; + var removeEventListeners = function removeEventListeners(element) { + if (!hasEventListeners(element)) { + return; + } + + var eventListeners = element.llEvLisnrs; + + for (var eventName in eventListeners) { + var handler = eventListeners[eventName]; + removeEventListener(element, eventName, handler); + } + + delete element.llEvLisnrs; + }; + var doneHandler = function doneHandler(element, settings, instance) { + deleteTempImage(element); + updateLoadingCount(instance, -1); + decreaseToLoadCount(instance); + removeClass(element, settings.class_loading); + + if (settings.unobserve_completed) { + unobserve(element, instance); + } + }; + var loadHandler = function loadHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_loaded); + setStatus(element, statusLoaded); + safeCallback(settings.callback_loaded, element, instance); + if (!goingNative) checkFinish(settings, instance); + }; + var errorHandler = function errorHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_error); + setStatus(element, statusError); + safeCallback(settings.callback_error, element, instance); + if (!goingNative) checkFinish(settings, instance); + }; + var addOneShotEventListeners = function addOneShotEventListeners(element, settings, instance) { + var elementToListenTo = getTempImage(element) || element; + + if (hasEventListeners(elementToListenTo)) { + // This happens when loading is retried twice + return; + } + + var _loadHandler = function _loadHandler(event) { + loadHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + var _errorHandler = function _errorHandler(event) { + errorHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + addEventListeners(elementToListenTo, _loadHandler, _errorHandler); + }; + + var loadBackground = function loadBackground(element, settings, instance) { + addTempImage(element); + addOneShotEventListeners(element, settings, instance); + saveOriginalBackgroundStyle(element); + setBackground(element, settings, instance); + setMultiBackground(element, settings, instance); + }; + + var loadRegular = function loadRegular(element, settings, instance) { + addOneShotEventListeners(element, settings, instance); + setSources(element, settings, instance); + }; + + var load = function load(element, settings, instance) { + if (hasLoadEvent(element)) { + loadRegular(element, settings, instance); + } else { + loadBackground(element, settings, instance); + } + }; + var loadNative = function loadNative(element, settings, instance) { + element.setAttribute("loading", "lazy"); + addOneShotEventListeners(element, settings, instance); + setSourcesNative(element, settings); + setStatus(element, statusNative); + }; + + var removeImageAttributes = function removeImageAttributes(element) { + element.removeAttribute(SRC); + element.removeAttribute(SRCSET); + element.removeAttribute(SIZES); + }; + + var resetSourcesImg = function resetSourcesImg(element) { + forEachPictureSource(element, function (sourceTag) { + removeImageAttributes(sourceTag); + }); + removeImageAttributes(element); + }; + + var restoreImg = function restoreImg(imgEl) { + forEachPictureSource(imgEl, function (sourceEl) { + restoreOriginalAttrs(sourceEl, attrsSrcSrcsetSizes); + }); + restoreOriginalAttrs(imgEl, attrsSrcSrcsetSizes); + }; + var restoreVideo = function restoreVideo(videoEl) { + forEachVideoSource(videoEl, function (sourceEl) { + restoreOriginalAttrs(sourceEl, attrsSrc); + }); + restoreOriginalAttrs(videoEl, attrsSrcPoster); + videoEl.load(); + }; + var restoreIframe = function restoreIframe(iframeEl) { + restoreOriginalAttrs(iframeEl, attrsSrc); + }; + var restoreFunctions = { + IMG: restoreImg, + IFRAME: restoreIframe, + VIDEO: restoreVideo + }; + + var restoreAttributes = function restoreAttributes(element) { + var restoreFunction = restoreFunctions[element.tagName]; + + if (!restoreFunction) { + restoreOriginalBgImage(element); + return; + } + + restoreFunction(element); + }; + + var resetClasses = function resetClasses(element, settings) { + if (hasEmptyStatus(element) || hasStatusNative(element)) { + return; + } + + removeClass(element, settings.class_entered); + removeClass(element, settings.class_exited); + removeClass(element, settings.class_applied); + removeClass(element, settings.class_loading); + removeClass(element, settings.class_loaded); + removeClass(element, settings.class_error); + }; + + var restore = function restore(element, settings) { + restoreAttributes(element); + resetClasses(element, settings); + resetStatus(element); + deleteOriginalAttrs(element); + }; + + var cancelLoading = function cancelLoading(element, entry, settings, instance) { + if (!settings.cancel_on_exit) return; + if (!hasStatusLoading(element)) return; + if (element.tagName !== "IMG") return; //Works only on images + + removeEventListeners(element); + resetSourcesImg(element); + restoreImg(element); + removeClass(element, settings.class_loading); + updateLoadingCount(instance, -1); + resetStatus(element); + safeCallback(settings.callback_cancel, element, entry, instance); + }; + + var onEnter = function onEnter(element, entry, settings, instance) { + var dontLoad = hadStartedLoading(element); + /* Save status + before setting it, to prevent loading it again. Fixes #526. */ + + setStatus(element, statusEntered); + addClass(element, settings.class_entered); + removeClass(element, settings.class_exited); + unobserveEntered(element, settings, instance); + safeCallback(settings.callback_enter, element, entry, instance); + if (dontLoad) return; + load(element, settings, instance); + }; + var onExit = function onExit(element, entry, settings, instance) { + if (hasEmptyStatus(element)) return; //Ignore the first pass, at landing + + addClass(element, settings.class_exited); + cancelLoading(element, entry, settings, instance); + safeCallback(settings.callback_exit, element, entry, instance); + }; + + var tagsWithNativeLazy = ["IMG", "IFRAME", "VIDEO"]; + var shouldUseNative = function shouldUseNative(settings) { + return settings.use_native && "loading" in HTMLImageElement.prototype; + }; + var loadAllNative = function loadAllNative(elements, settings, instance) { + elements.forEach(function (element) { + if (tagsWithNativeLazy.indexOf(element.tagName) === -1) { + return; + } + + loadNative(element, settings, instance); + }); + setToLoadCount(instance, 0); + }; + + var isIntersecting = function isIntersecting(entry) { + return entry.isIntersecting || entry.intersectionRatio > 0; + }; + + var getObserverSettings = function getObserverSettings(settings) { + return { + root: settings.container === document ? null : settings.container, + rootMargin: settings.thresholds || settings.threshold + "px" + }; + }; + + var intersectionHandler = function intersectionHandler(entries, settings, instance) { + entries.forEach(function (entry) { + return isIntersecting(entry) ? onEnter(entry.target, entry, settings, instance) : onExit(entry.target, entry, settings, instance); + }); + }; + + var observeElements = function observeElements(observer, elements) { + elements.forEach(function (element) { + observer.observe(element); + }); + }; + var updateObserver = function updateObserver(observer, elementsToObserve) { + resetObserver(observer); + observeElements(observer, elementsToObserve); + }; + var setObserver = function setObserver(settings, instance) { + if (!supportsIntersectionObserver || shouldUseNative(settings)) { + return; + } + + instance._observer = new IntersectionObserver(function (entries) { + intersectionHandler(entries, settings, instance); + }, getObserverSettings(settings)); + }; + + var toArray = function toArray(nodeSet) { + return Array.prototype.slice.call(nodeSet); + }; + var queryElements = function queryElements(settings) { + return settings.container.querySelectorAll(settings.elements_selector); + }; + var excludeManagedElements = function excludeManagedElements(elements) { + return toArray(elements).filter(hasEmptyStatus); + }; + var hasError = function hasError(element) { + return hasStatusError(element); + }; + var filterErrorElements = function filterErrorElements(elements) { + return toArray(elements).filter(hasError); + }; + var getElementsToLoad = function getElementsToLoad(elements, settings) { + return excludeManagedElements(elements || queryElements(settings)); + }; + + var retryLazyLoad = function retryLazyLoad(settings, instance) { + var errorElements = filterErrorElements(queryElements(settings)); + errorElements.forEach(function (element) { + removeClass(element, settings.class_error); + resetStatus(element); + }); + instance.update(); + }; + var setOnlineCheck = function setOnlineCheck(settings, instance) { + if (!runningOnBrowser) { + return; + } + + window.addEventListener("online", function () { + retryLazyLoad(settings, instance); + }); + }; + + var LazyLoad = function LazyLoad(customSettings, elements) { + var settings = getExtendedSettings(customSettings); + this._settings = settings; + this.loadingCount = 0; + setObserver(settings, this); + setOnlineCheck(settings, this); + this.update(elements); + }; + + LazyLoad.prototype = { + update: function update(givenNodeset) { + var settings = this._settings; + var elementsToLoad = getElementsToLoad(givenNodeset, settings); + setToLoadCount(this, elementsToLoad.length); + + if (isBot || !supportsIntersectionObserver) { + this.loadAll(elementsToLoad); + return; + } + + if (shouldUseNative(settings)) { + loadAllNative(elementsToLoad, settings, this); + return; + } + + updateObserver(this._observer, elementsToLoad); + }, + destroy: function destroy() { + // Observer + if (this._observer) { + this._observer.disconnect(); + } // Clean custom attributes on elements + + + queryElements(this._settings).forEach(function (element) { + deleteOriginalAttrs(element); + }); // Delete all internal props + + delete this._observer; + delete this._settings; + delete this.loadingCount; + delete this.toLoadCount; + }, + loadAll: function loadAll(elements) { + var _this = this; + + var settings = this._settings; + var elementsToLoad = getElementsToLoad(elements, settings); + elementsToLoad.forEach(function (element) { + unobserve(element, _this); + load(element, settings, _this); + }); + }, + restoreAll: function restoreAll() { + var settings = this._settings; + queryElements(settings).forEach(function (element) { + restore(element, settings); + }); + } + }; + + LazyLoad.load = function (element, customSettings) { + var settings = getExtendedSettings(customSettings); + load(element, settings); + }; + + LazyLoad.resetStatus = function (element) { + resetStatus(element); + }; // Automatic instances creation if required (useful for async script loading) + + + if (runningOnBrowser) { + autoInitialize(LazyLoad, window.lazyLoadOptions); + } + + return LazyLoad; + + }))); diff --git a/assets/js/lazyload/17.5/lazyload.min.js b/assets/js/lazyload/17.5/lazyload.min.js new file mode 100644 index 0000000..2b1b196 --- /dev/null +++ b/assets/js/lazyload/17.5/lazyload.min.js @@ -0,0 +1 @@ +!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).LazyLoad=t()}(this,(function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t1,r={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},c=function(t){return n({},r,t)},u=function(n,t){var e,i="LazyLoad::Initialized",o=new n(t);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},l="src",s="srcset",f="sizes",d="poster",_="llOriginalAttrs",g="loading",v="loaded",b="applied",p="error",h="native",m="data-",E="ll-status",I=function(n,t){return n.getAttribute(m+t)},y=function(n){return I(n,E)},A=function(n,t){return function(n,t,e){var i="data-ll-status";null!==e?n.setAttribute(i,e):n.removeAttribute(i)}(n,0,t)},k=function(n){return A(n,null)},L=function(n){return null===y(n)},w=function(n){return y(n)===h},x=[g,v,b,p],O=function(n,t,e,i){n&&(void 0===i?void 0===e?n(t):n(t,e):n(t,e,i))},N=function(n,t){o?n.classList.add(t):n.className+=(n.className?" ":"")+t},C=function(n,t){o?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},M=function(n){return n.llTempImage},z=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},R=function(n,t){n&&(n.loadingCount+=t)},T=function(n,t){n&&(n.toLoadCount=t)},G=function(n){for(var t,e=[],i=0;t=n.children[i];i+=1)"SOURCE"===t.tagName&&e.push(t);return e},D=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&G(e).forEach(t)},V=function(n,t){G(n).forEach(t)},F=[l],j=[l,d],P=[l,s,f],S=function(n){return!!n[_]},U=function(n){return n[_]},$=function(n){return delete n[_]},q=function(n,t){if(!S(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},H=function(n,t){if(S(n)){var e=U(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},B=function(n,t,e){N(n,t.class_loading),A(n,g),e&&(R(e,1),O(t.callback_loading,n,e))},J=function(n,t,e){e&&n.setAttribute(t,e)},K=function(n,t){J(n,f,I(n,t.data_sizes)),J(n,s,I(n,t.data_srcset)),J(n,l,I(n,t.data_src))},Q={IMG:function(n,t){D(n,(function(n){q(n,P),K(n,t)})),q(n,P),K(n,t)},IFRAME:function(n,t){q(n,F),J(n,l,I(n,t.data_src))},VIDEO:function(n,t){V(n,(function(n){q(n,F),J(n,l,I(n,t.data_src))})),q(n,j),J(n,d,I(n,t.data_poster)),J(n,l,I(n,t.data_src)),n.load()}},W=["IMG","IFRAME","VIDEO"],X=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||O(n.callback_finish,t)},Y=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},Z=function(n,t,e){n.removeEventListener(t,e)},nn=function(n){return!!n.llEvLisnrs},tn=function(n){if(nn(n)){var t=n.llEvLisnrs;for(var e in t){var i=t[e];Z(n,e,i)}delete n.llEvLisnrs}},en=function(n,t,e){!function(n){delete n.llTempImage}(n),R(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),C(n,t.class_loading),t.unobserve_completed&&z(n,e)},on=function(n,t,e){var i=M(n)||n;nn(i)||function(n,t,e){nn(n)||(n.llEvLisnrs={});var i="VIDEO"===n.tagName?"loadeddata":"load";Y(n,i,t),Y(n,"error",e)}(i,(function(o){!function(n,t,e,i){var o=w(t);en(t,e,i),N(t,e.class_loaded),A(t,v),O(e.callback_loaded,t,i),o||X(e,i)}(0,n,t,e),tn(i)}),(function(o){!function(n,t,e,i){var o=w(t);en(t,e,i),N(t,e.class_error),A(t,p),O(e.callback_error,t,i),o||X(e,i)}(0,n,t,e),tn(i)}))},an=function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),on(n,t,e),function(n){S(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var i=I(n,t.data_bg),o=I(n,t.data_bg_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage='url("'.concat(r,'")'),M(n).setAttribute(l,r),B(n,t,e))}(n,t,e),function(n,t,e){var i=I(n,t.data_bg_multi),o=I(n,t.data_bg_multi_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage=r,function(n,t,e){N(n,t.class_applied),A(n,b),e&&(t.unobserve_completed&&z(n,t),O(t.callback_applied,n,e))}(n,t,e))}(n,t,e)},rn=function(n,t,e){!function(n){return W.indexOf(n.tagName)>-1}(n)?an(n,t,e):function(n,t,e){on(n,t,e),function(n,t,e){var i=Q[n.tagName];i&&(i(n,t),B(n,t,e))}(n,t,e)}(n,t,e)},cn=function(n){n.removeAttribute(l),n.removeAttribute(s),n.removeAttribute(f)},un=function(n){D(n,(function(n){H(n,P)})),H(n,P)},ln={IMG:un,IFRAME:function(n){H(n,F)},VIDEO:function(n){V(n,(function(n){H(n,F)})),H(n,j),n.load()}},sn=function(n,t){(function(n){var t=ln[n.tagName];t?t(n):function(n){if(S(n)){var t=U(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){L(n)||w(n)||(C(n,t.class_entered),C(n,t.class_exited),C(n,t.class_applied),C(n,t.class_loading),C(n,t.class_loaded),C(n,t.class_error))}(n,t),k(n),$(n)},fn=["IMG","IFRAME","VIDEO"],dn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},_n=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,i){var o=function(n){return x.indexOf(y(n))>=0}(n);A(n,"entered"),N(n,e.class_entered),C(n,e.class_exited),function(n,t,e){t.unobserve_entered&&z(n,e)}(n,e,i),O(e.callback_enter,n,t,i),o||rn(n,e,i)}(n.target,n,t,e):function(n,t,e,i){L(n)||(N(n,e.class_exited),function(n,t,e,i){e.cancel_on_exit&&function(n){return y(n)===g}(n)&&"IMG"===n.tagName&&(tn(n),function(n){D(n,(function(n){cn(n)})),cn(n)}(n),un(n),C(n,e.class_loading),R(i,-1),k(n),O(e.callback_cancel,n,t,i))}(n,t,e,i),O(e.callback_exit,n,t,i))}(n.target,n,t,e)}))},gn=function(n){return Array.prototype.slice.call(n)},vn=function(n){return n.container.querySelectorAll(n.elements_selector)},bn=function(n){return function(n){return y(n)===p}(n)},pn=function(n,t){return function(n){return gn(n).filter(L)}(n||vn(t))},hn=function(n,e){var o=c(n);this._settings=o,this.loadingCount=0,function(n,t){i&&!dn(n)&&(t._observer=new IntersectionObserver((function(e){_n(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(o,this),function(n,e){t&&window.addEventListener("online",(function(){!function(n,t){var e;(e=vn(n),gn(e).filter(bn)).forEach((function(t){C(t,n.class_error),k(t)})),t.update()}(n,e)}))}(o,this),this.update(e)};return hn.prototype={update:function(n){var t,o,a=this._settings,r=pn(n,a);T(this,r.length),!e&&i?dn(a)?function(n,t,e){n.forEach((function(n){-1!==fn.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),on(n,t,e),function(n,t){var e=Q[n.tagName];e&&e(n,t)}(n,t),A(n,h)}(n,t,e)})),T(e,0)}(r,a,this):(o=r,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,o)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),vn(this._settings).forEach((function(n){$(n)})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;pn(n,e).forEach((function(n){z(n,t),rn(n,e,t)}))},restoreAll:function(){var n=this._settings;vn(n).forEach((function(t){sn(t,n)}))}},hn.load=function(n,t){var e=c(t);rn(n,e)},hn.resetStatus=function(n){k(n)},t&&function(n,t){if(t)if(t.length)for(var e,i=0;e=t[i];i+=1)u(n,e);else u(n,t)}(hn,window.lazyLoadOptions),hn})); diff --git a/assets/js/lazyload/17.8.3/lazyload.js b/assets/js/lazyload/17.8.3/lazyload.js new file mode 100644 index 0000000..203fa75 --- /dev/null +++ b/assets/js/lazyload/17.8.3/lazyload.js @@ -0,0 +1,862 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.LazyLoad = factory()); +}(this, (function () { 'use strict'; + + function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); + } + + var runningOnBrowser = typeof window !== "undefined"; + var isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent); + var supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window; + var supportsClassList = runningOnBrowser && "classList" in document.createElement("p"); + var isHiDpi = runningOnBrowser && window.devicePixelRatio > 1; + + var defaultSettings = { + elements_selector: ".lazy", + container: isBot || runningOnBrowser ? document : null, + threshold: 300, + thresholds: null, + data_src: "src", + data_srcset: "srcset", + data_sizes: "sizes", + data_bg: "bg", + data_bg_hidpi: "bg-hidpi", + data_bg_multi: "bg-multi", + data_bg_multi_hidpi: "bg-multi-hidpi", + data_bg_set: "bg-set", + data_poster: "poster", + class_applied: "applied", + class_loading: "loading", + class_loaded: "loaded", + class_error: "error", + class_entered: "entered", + class_exited: "exited", + unobserve_completed: true, + unobserve_entered: false, + cancel_on_exit: true, + callback_enter: null, + callback_exit: null, + callback_applied: null, + callback_loading: null, + callback_loaded: null, + callback_error: null, + callback_finish: null, + callback_cancel: null, + use_native: false, + restore_on_error: false + }; + var getExtendedSettings = function getExtendedSettings(customSettings) { + return _extends({}, defaultSettings, customSettings); + }; + + /* Creates instance and notifies it through the window element */ + var createInstance = function createInstance(classObj, options) { + var event; + var eventString = "LazyLoad::Initialized"; + var instance = new classObj(options); + + try { + // Works in modern browsers + event = new CustomEvent(eventString, { + detail: { + instance: instance + } + }); + } catch (err) { + // Works in Internet Explorer (all versions) + event = document.createEvent("CustomEvent"); + event.initCustomEvent(eventString, false, false, { + instance: instance + }); + } + + window.dispatchEvent(event); + }; + /* Auto initialization of one or more instances of lazyload, depending on the + options passed in (plain object or an array) */ + + + var autoInitialize = function autoInitialize(classObj, options) { + if (!options) { + return; + } + + if (!options.length) { + // Plain object + createInstance(classObj, options); + } else { + // Array of objects + for (var i = 0, optionsItem; optionsItem = options[i]; i += 1) { + createInstance(classObj, optionsItem); + } + } + }; + + var SRC = "src"; + var SRCSET = "srcset"; + var SIZES = "sizes"; + var POSTER = "poster"; + var ORIGINALS = "llOriginalAttrs"; + var DATA = "data"; + + var statusLoading = "loading"; + var statusLoaded = "loaded"; + var statusApplied = "applied"; + var statusEntered = "entered"; + var statusError = "error"; + var statusNative = "native"; + + var dataPrefix = "data-"; + var statusDataName = "ll-status"; + var getData = function getData(element, attribute) { + return element.getAttribute(dataPrefix + attribute); + }; + var setData = function setData(element, attribute, value) { + var attrName = dataPrefix + attribute; + + if (value === null) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + var getStatus = function getStatus(element) { + return getData(element, statusDataName); + }; + var setStatus = function setStatus(element, status) { + return setData(element, statusDataName, status); + }; + var resetStatus = function resetStatus(element) { + return setStatus(element, null); + }; + var hasEmptyStatus = function hasEmptyStatus(element) { + return getStatus(element) === null; + }; + var hasStatusLoading = function hasStatusLoading(element) { + return getStatus(element) === statusLoading; + }; + var hasStatusError = function hasStatusError(element) { + return getStatus(element) === statusError; + }; + var hasStatusNative = function hasStatusNative(element) { + return getStatus(element) === statusNative; + }; + var statusesAfterLoading = [statusLoading, statusLoaded, statusApplied, statusError]; + var hadStartedLoading = function hadStartedLoading(element) { + return statusesAfterLoading.indexOf(getStatus(element)) >= 0; + }; + + var safeCallback = function safeCallback(callback, arg1, arg2, arg3) { + if (!callback) { + return; + } + + if (arg3 !== undefined) { + callback(arg1, arg2, arg3); + return; + } + + if (arg2 !== undefined) { + callback(arg1, arg2); + return; + } + + callback(arg1); + }; + + var addClass = function addClass(element, className) { + if (supportsClassList) { + element.classList.add(className); + return; + } + + element.className += (element.className ? " " : "") + className; + }; + var removeClass = function removeClass(element, className) { + if (supportsClassList) { + element.classList.remove(className); + return; + } + + element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, ""); + }; + + var addTempImage = function addTempImage(element) { + element.llTempImage = document.createElement("IMG"); + }; + var deleteTempImage = function deleteTempImage(element) { + delete element.llTempImage; + }; + var getTempImage = function getTempImage(element) { + return element.llTempImage; + }; + + var unobserve = function unobserve(element, instance) { + if (!instance) return; + var observer = instance._observer; + if (!observer) return; + observer.unobserve(element); + }; + var resetObserver = function resetObserver(observer) { + observer.disconnect(); + }; + var unobserveEntered = function unobserveEntered(element, settings, instance) { + if (settings.unobserve_entered) unobserve(element, instance); + }; + + var updateLoadingCount = function updateLoadingCount(instance, delta) { + if (!instance) return; + instance.loadingCount += delta; + }; + var decreaseToLoadCount = function decreaseToLoadCount(instance) { + if (!instance) return; + instance.toLoadCount -= 1; + }; + var setToLoadCount = function setToLoadCount(instance, value) { + if (!instance) return; + instance.toLoadCount = value; + }; + var isSomethingLoading = function isSomethingLoading(instance) { + return instance.loadingCount > 0; + }; + var haveElementsToLoad = function haveElementsToLoad(instance) { + return instance.toLoadCount > 0; + }; + + var getSourceTags = function getSourceTags(parentTag) { + var sourceTags = []; + + for (var i = 0, childTag; childTag = parentTag.children[i]; i += 1) { + if (childTag.tagName === "SOURCE") { + sourceTags.push(childTag); + } + } + + return sourceTags; + }; + + var forEachPictureSource = function forEachPictureSource(element, fn) { + var parent = element.parentNode; + + if (!parent || parent.tagName !== "PICTURE") { + return; + } + + var sourceTags = getSourceTags(parent); + sourceTags.forEach(fn); + }; + var forEachVideoSource = function forEachVideoSource(element, fn) { + var sourceTags = getSourceTags(element); + sourceTags.forEach(fn); + }; + + var attrsSrc = [SRC]; + var attrsSrcPoster = [SRC, POSTER]; + var attrsSrcSrcsetSizes = [SRC, SRCSET, SIZES]; + var attrsData = [DATA]; + var hasOriginalAttrs = function hasOriginalAttrs(element) { + return !!element[ORIGINALS]; + }; + var getOriginalAttrs = function getOriginalAttrs(element) { + return element[ORIGINALS]; + }; + var deleteOriginalAttrs = function deleteOriginalAttrs(element) { + return delete element[ORIGINALS]; + }; // ## SAVE ## + + var setOriginalsObject = function setOriginalsObject(element, attributes) { + if (hasOriginalAttrs(element)) { + return; + } + + var originals = {}; + attributes.forEach(function (attribute) { + originals[attribute] = element.getAttribute(attribute); + }); + element[ORIGINALS] = originals; + }; + var saveOriginalBackgroundStyle = function saveOriginalBackgroundStyle(element) { + if (hasOriginalAttrs(element)) { + return; + } + + element[ORIGINALS] = { + backgroundImage: element.style.backgroundImage + }; + }; // ## RESTORE ## + + var setOrResetAttribute = function setOrResetAttribute(element, attrName, value) { + if (!value) { + element.removeAttribute(attrName); + return; + } + + element.setAttribute(attrName, value); + }; + + var restoreOriginalAttrs = function restoreOriginalAttrs(element, attributes) { + if (!hasOriginalAttrs(element)) { + return; + } + + var originals = getOriginalAttrs(element); + attributes.forEach(function (attribute) { + setOrResetAttribute(element, attribute, originals[attribute]); + }); + }; + var restoreOriginalBgImage = function restoreOriginalBgImage(element) { + if (!hasOriginalAttrs(element)) { + return; + } + + var originals = getOriginalAttrs(element); + element.style.backgroundImage = originals.backgroundImage; + }; + + var manageApplied = function manageApplied(element, settings, instance) { + addClass(element, settings.class_applied); + setStatus(element, statusApplied); // Instance is not provided when loading is called from static class + + if (!instance) return; + + if (settings.unobserve_completed) { + // Unobserve now because we can't do it on load + unobserve(element, settings); + } + + safeCallback(settings.callback_applied, element, instance); + }; + var manageLoading = function manageLoading(element, settings, instance) { + addClass(element, settings.class_loading); + setStatus(element, statusLoading); // Instance is not provided when loading is called from static class + + if (!instance) return; + updateLoadingCount(instance, +1); + safeCallback(settings.callback_loading, element, instance); + }; + var setAttributeIfValue = function setAttributeIfValue(element, attrName, value) { + if (!value) { + return; + } + + element.setAttribute(attrName, value); + }; + var setImageAttributes = function setImageAttributes(element, settings) { + setAttributeIfValue(element, SIZES, getData(element, settings.data_sizes)); + setAttributeIfValue(element, SRCSET, getData(element, settings.data_srcset)); + setAttributeIfValue(element, SRC, getData(element, settings.data_src)); + }; + var setSourcesImg = function setSourcesImg(imgEl, settings) { + forEachPictureSource(imgEl, function (sourceTag) { + setOriginalsObject(sourceTag, attrsSrcSrcsetSizes); + setImageAttributes(sourceTag, settings); + }); + setOriginalsObject(imgEl, attrsSrcSrcsetSizes); + setImageAttributes(imgEl, settings); + }; + var setSourcesIframe = function setSourcesIframe(iframe, settings) { + setOriginalsObject(iframe, attrsSrc); + setAttributeIfValue(iframe, SRC, getData(iframe, settings.data_src)); + }; + var setSourcesVideo = function setSourcesVideo(videoEl, settings) { + forEachVideoSource(videoEl, function (sourceEl) { + setOriginalsObject(sourceEl, attrsSrc); + setAttributeIfValue(sourceEl, SRC, getData(sourceEl, settings.data_src)); + }); + setOriginalsObject(videoEl, attrsSrcPoster); + setAttributeIfValue(videoEl, POSTER, getData(videoEl, settings.data_poster)); + setAttributeIfValue(videoEl, SRC, getData(videoEl, settings.data_src)); + videoEl.load(); + }; + var setSourcesObject = function setSourcesObject(object, settings) { + setOriginalsObject(object, attrsData); + setAttributeIfValue(object, DATA, getData(object, settings.data_src)); + }; + var setBackground = function setBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg); + var bgHiDpiValue = getData(element, settings.data_bg_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + if (!bgDataValue) return; + element.style.backgroundImage = "url(\"".concat(bgDataValue, "\")"); + getTempImage(element).setAttribute(SRC, bgDataValue); + manageLoading(element, settings, instance); + }; // NOTE: THE TEMP IMAGE TRICK CANNOT BE DONE WITH data-multi-bg + // BECAUSE INSIDE ITS VALUES MUST BE WRAPPED WITH URL() AND ONE OF THEM + // COULD BE A GRADIENT BACKGROUND IMAGE + + var setMultiBackground = function setMultiBackground(element, settings, instance) { + var bg1xValue = getData(element, settings.data_bg_multi); + var bgHiDpiValue = getData(element, settings.data_bg_multi_hidpi); + var bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue; + + if (!bgDataValue) { + return; + } + + element.style.backgroundImage = bgDataValue; + manageApplied(element, settings, instance); + }; + var setImgsetBackground = function setImgsetBackground(element, settings, instance) { + var bgImgSetDataValue = getData(element, settings.data_bg_set); + + if (!bgImgSetDataValue) { + return; + } + + var imgSetValues = bgImgSetDataValue.split("|"); + var bgImageValues = imgSetValues.map(function (value) { + return "image-set(".concat(value, ")"); + }); + element.style.backgroundImage = bgImageValues.join(); // Temporary fix for Chromeium with the -webkit- prefix + + if (element.style.backgroundImage === '') { + bgImageValues = imgSetValues.map(function (value) { + return "-webkit-image-set(".concat(value, ")"); + }); + element.style.backgroundImage = bgImageValues.join(); + } + + manageApplied(element, settings, instance); + }; + var setSourcesFunctions = { + IMG: setSourcesImg, + IFRAME: setSourcesIframe, + VIDEO: setSourcesVideo, + OBJECT: setSourcesObject + }; + var setSourcesNative = function setSourcesNative(element, settings) { + var setSourcesFunction = setSourcesFunctions[element.tagName]; + + if (!setSourcesFunction) { + return; + } + + setSourcesFunction(element, settings); + }; + var setSources = function setSources(element, settings, instance) { + var setSourcesFunction = setSourcesFunctions[element.tagName]; + + if (!setSourcesFunction) { + return; + } + + setSourcesFunction(element, settings); + manageLoading(element, settings, instance); + }; + + var elementsWithLoadEvent = ["IMG", "IFRAME", "VIDEO", "OBJECT"]; + var hasLoadEvent = function hasLoadEvent(element) { + return elementsWithLoadEvent.indexOf(element.tagName) > -1; + }; + var checkFinish = function checkFinish(settings, instance) { + if (instance && !isSomethingLoading(instance) && !haveElementsToLoad(instance)) { + safeCallback(settings.callback_finish, instance); + } + }; + var addEventListener = function addEventListener(element, eventName, handler) { + element.addEventListener(eventName, handler); + element.llEvLisnrs[eventName] = handler; + }; + var removeEventListener = function removeEventListener(element, eventName, handler) { + element.removeEventListener(eventName, handler); + }; + var hasEventListeners = function hasEventListeners(element) { + return !!element.llEvLisnrs; + }; + var addEventListeners = function addEventListeners(element, loadHandler, errorHandler) { + if (!hasEventListeners(element)) element.llEvLisnrs = {}; + var loadEventName = element.tagName === "VIDEO" ? "loadeddata" : "load"; + addEventListener(element, loadEventName, loadHandler); + addEventListener(element, "error", errorHandler); + }; + var removeEventListeners = function removeEventListeners(element) { + if (!hasEventListeners(element)) { + return; + } + + var eventListeners = element.llEvLisnrs; + + for (var eventName in eventListeners) { + var handler = eventListeners[eventName]; + removeEventListener(element, eventName, handler); + } + + delete element.llEvLisnrs; + }; + var doneHandler = function doneHandler(element, settings, instance) { + deleteTempImage(element); + updateLoadingCount(instance, -1); + decreaseToLoadCount(instance); + removeClass(element, settings.class_loading); + + if (settings.unobserve_completed) { + unobserve(element, instance); + } + }; + var loadHandler = function loadHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_loaded); + setStatus(element, statusLoaded); + safeCallback(settings.callback_loaded, element, instance); + if (!goingNative) checkFinish(settings, instance); + }; + var errorHandler = function errorHandler(event, element, settings, instance) { + var goingNative = hasStatusNative(element); + doneHandler(element, settings, instance); + addClass(element, settings.class_error); + setStatus(element, statusError); + safeCallback(settings.callback_error, element, instance); + if (settings.restore_on_error) restoreOriginalAttrs(element, attrsSrcSrcsetSizes); + if (!goingNative) checkFinish(settings, instance); + }; + var addOneShotEventListeners = function addOneShotEventListeners(element, settings, instance) { + var elementToListenTo = getTempImage(element) || element; + + if (hasEventListeners(elementToListenTo)) { + // This happens when loading is retried twice + return; + } + + var _loadHandler = function _loadHandler(event) { + loadHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + var _errorHandler = function _errorHandler(event) { + errorHandler(event, element, settings, instance); + removeEventListeners(elementToListenTo); + }; + + addEventListeners(elementToListenTo, _loadHandler, _errorHandler); + }; + + var loadBackground = function loadBackground(element, settings, instance) { + addTempImage(element); + addOneShotEventListeners(element, settings, instance); + saveOriginalBackgroundStyle(element); + setBackground(element, settings, instance); + setMultiBackground(element, settings, instance); + setImgsetBackground(element, settings, instance); + }; + + var loadRegular = function loadRegular(element, settings, instance) { + addOneShotEventListeners(element, settings, instance); + setSources(element, settings, instance); + }; + + var load = function load(element, settings, instance) { + if (hasLoadEvent(element)) { + loadRegular(element, settings, instance); + } else { + loadBackground(element, settings, instance); + } + }; + var loadNative = function loadNative(element, settings, instance) { + element.setAttribute("loading", "lazy"); + addOneShotEventListeners(element, settings, instance); + setSourcesNative(element, settings); + setStatus(element, statusNative); + }; + + var removeImageAttributes = function removeImageAttributes(element) { + element.removeAttribute(SRC); + element.removeAttribute(SRCSET); + element.removeAttribute(SIZES); + }; + + var resetSourcesImg = function resetSourcesImg(element) { + forEachPictureSource(element, function (sourceTag) { + removeImageAttributes(sourceTag); + }); + removeImageAttributes(element); + }; + + var restoreImg = function restoreImg(imgEl) { + forEachPictureSource(imgEl, function (sourceEl) { + restoreOriginalAttrs(sourceEl, attrsSrcSrcsetSizes); + }); + restoreOriginalAttrs(imgEl, attrsSrcSrcsetSizes); + }; + var restoreVideo = function restoreVideo(videoEl) { + forEachVideoSource(videoEl, function (sourceEl) { + restoreOriginalAttrs(sourceEl, attrsSrc); + }); + restoreOriginalAttrs(videoEl, attrsSrcPoster); + videoEl.load(); + }; + var restoreIframe = function restoreIframe(iframeEl) { + restoreOriginalAttrs(iframeEl, attrsSrc); + }; + var restoreObject = function restoreObject(objectEl) { + restoreOriginalAttrs(objectEl, attrsData); + }; + var restoreFunctions = { + IMG: restoreImg, + IFRAME: restoreIframe, + VIDEO: restoreVideo, + OBJECT: restoreObject + }; + + var restoreAttributes = function restoreAttributes(element) { + var restoreFunction = restoreFunctions[element.tagName]; + + if (!restoreFunction) { + restoreOriginalBgImage(element); + return; + } + + restoreFunction(element); + }; + + var resetClasses = function resetClasses(element, settings) { + if (hasEmptyStatus(element) || hasStatusNative(element)) { + return; + } + + removeClass(element, settings.class_entered); + removeClass(element, settings.class_exited); + removeClass(element, settings.class_applied); + removeClass(element, settings.class_loading); + removeClass(element, settings.class_loaded); + removeClass(element, settings.class_error); + }; + + var restore = function restore(element, settings) { + restoreAttributes(element); + resetClasses(element, settings); + resetStatus(element); + deleteOriginalAttrs(element); + }; + + var cancelLoading = function cancelLoading(element, entry, settings, instance) { + if (!settings.cancel_on_exit) return; + if (!hasStatusLoading(element)) return; + if (element.tagName !== "IMG") return; //Works only on images + + removeEventListeners(element); + resetSourcesImg(element); + restoreImg(element); + removeClass(element, settings.class_loading); + updateLoadingCount(instance, -1); + resetStatus(element); + safeCallback(settings.callback_cancel, element, entry, instance); + }; + + var onEnter = function onEnter(element, entry, settings, instance) { + var dontLoad = hadStartedLoading(element); + /* Save status + before setting it, to prevent loading it again. Fixes #526. */ + + setStatus(element, statusEntered); + addClass(element, settings.class_entered); + removeClass(element, settings.class_exited); + unobserveEntered(element, settings, instance); + safeCallback(settings.callback_enter, element, entry, instance); + if (dontLoad) return; + load(element, settings, instance); + }; + var onExit = function onExit(element, entry, settings, instance) { + if (hasEmptyStatus(element)) return; //Ignore the first pass, at landing + + addClass(element, settings.class_exited); + cancelLoading(element, entry, settings, instance); + safeCallback(settings.callback_exit, element, entry, instance); + }; + + var tagsWithNativeLazy = ["IMG", "IFRAME", "VIDEO"]; + var shouldUseNative = function shouldUseNative(settings) { + return settings.use_native && "loading" in HTMLImageElement.prototype; + }; + var loadAllNative = function loadAllNative(elements, settings, instance) { + elements.forEach(function (element) { + if (tagsWithNativeLazy.indexOf(element.tagName) === -1) { + return; + } + + loadNative(element, settings, instance); + }); + setToLoadCount(instance, 0); + }; + + var isIntersecting = function isIntersecting(entry) { + return entry.isIntersecting || entry.intersectionRatio > 0; + }; + + var getObserverSettings = function getObserverSettings(settings) { + return { + root: settings.container === document ? null : settings.container, + rootMargin: settings.thresholds || settings.threshold + "px" + }; + }; + + var intersectionHandler = function intersectionHandler(entries, settings, instance) { + entries.forEach(function (entry) { + return isIntersecting(entry) ? onEnter(entry.target, entry, settings, instance) : onExit(entry.target, entry, settings, instance); + }); + }; + + var observeElements = function observeElements(observer, elements) { + elements.forEach(function (element) { + observer.observe(element); + }); + }; + var updateObserver = function updateObserver(observer, elementsToObserve) { + resetObserver(observer); + observeElements(observer, elementsToObserve); + }; + var setObserver = function setObserver(settings, instance) { + if (!supportsIntersectionObserver || shouldUseNative(settings)) { + return; + } + + instance._observer = new IntersectionObserver(function (entries) { + intersectionHandler(entries, settings, instance); + }, getObserverSettings(settings)); + }; + + var toArray = function toArray(nodeSet) { + return Array.prototype.slice.call(nodeSet); + }; + var queryElements = function queryElements(settings) { + return settings.container.querySelectorAll(settings.elements_selector); + }; + var excludeManagedElements = function excludeManagedElements(elements) { + return toArray(elements).filter(hasEmptyStatus); + }; + var hasError = function hasError(element) { + return hasStatusError(element); + }; + var filterErrorElements = function filterErrorElements(elements) { + return toArray(elements).filter(hasError); + }; + var getElementsToLoad = function getElementsToLoad(elements, settings) { + return excludeManagedElements(elements || queryElements(settings)); + }; + + var retryLazyLoad = function retryLazyLoad(settings, instance) { + var errorElements = filterErrorElements(queryElements(settings)); + errorElements.forEach(function (element) { + removeClass(element, settings.class_error); + resetStatus(element); + }); + instance.update(); + }; + var setOnlineCheck = function setOnlineCheck(settings, instance) { + if (!runningOnBrowser) { + return; + } + + instance._onlineHandler = function () { + retryLazyLoad(settings, instance); + }; + + window.addEventListener("online", instance._onlineHandler); + }; + var resetOnlineCheck = function resetOnlineCheck(instance) { + if (!runningOnBrowser) { + return; + } + + window.removeEventListener("online", instance._onlineHandler); + }; + + var LazyLoad = function LazyLoad(customSettings, elements) { + var settings = getExtendedSettings(customSettings); + this._settings = settings; + this.loadingCount = 0; + setObserver(settings, this); + setOnlineCheck(settings, this); + this.update(elements); + }; + + LazyLoad.prototype = { + update: function update(givenNodeset) { + var settings = this._settings; + var elementsToLoad = getElementsToLoad(givenNodeset, settings); + setToLoadCount(this, elementsToLoad.length); + + if (isBot || !supportsIntersectionObserver) { + this.loadAll(elementsToLoad); + return; + } + + if (shouldUseNative(settings)) { + loadAllNative(elementsToLoad, settings, this); + return; + } + + updateObserver(this._observer, elementsToLoad); + }, + destroy: function destroy() { + // Observer + if (this._observer) { + this._observer.disconnect(); + } // Clean handlers + + + resetOnlineCheck(this); // Clean custom attributes on elements + + queryElements(this._settings).forEach(function (element) { + deleteOriginalAttrs(element); + }); // Delete all internal props + + delete this._observer; + delete this._settings; + delete this._onlineHandler; + delete this.loadingCount; + delete this.toLoadCount; + }, + loadAll: function loadAll(elements) { + var _this = this; + + var settings = this._settings; + var elementsToLoad = getElementsToLoad(elements, settings); + elementsToLoad.forEach(function (element) { + unobserve(element, _this); + load(element, settings, _this); + }); + }, + restoreAll: function restoreAll() { + var settings = this._settings; + queryElements(settings).forEach(function (element) { + restore(element, settings); + }); + } + }; + + LazyLoad.load = function (element, customSettings) { + var settings = getExtendedSettings(customSettings); + load(element, settings); + }; + + LazyLoad.resetStatus = function (element) { + resetStatus(element); + }; // Automatic instances creation if required (useful for async script loading) + + + if (runningOnBrowser) { + autoInitialize(LazyLoad, window.lazyLoadOptions); + } + + return LazyLoad; + +}))); \ No newline at end of file diff --git a/assets/js/lazyload/17.8.3/lazyload.min.js b/assets/js/lazyload/17.8.3/lazyload.min.js new file mode 100644 index 0000000..d22c794 --- /dev/null +++ b/assets/js/lazyload/17.8.3/lazyload.min.js @@ -0,0 +1 @@ +!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).LazyLoad=t()}(this,(function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t1,r={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},c=function(t){return n({},r,t)},l=function(n,t){var e,i="LazyLoad::Initialized",o=new n(t);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},u="src",s="srcset",d="sizes",f="poster",_="llOriginalAttrs",g="data",v="loading",b="loaded",m="applied",p="error",h="native",E="data-",I="ll-status",y=function(n,t){return n.getAttribute(E+t)},k=function(n){return y(n,I)},w=function(n,t){return function(n,t,e){var i="data-ll-status";null!==e?n.setAttribute(i,e):n.removeAttribute(i)}(n,0,t)},A=function(n){return w(n,null)},L=function(n){return null===k(n)},O=function(n){return k(n)===h},x=[v,b,m,p],C=function(n,t,e,i){n&&(void 0===i?void 0===e?n(t):n(t,e):n(t,e,i))},N=function(n,t){o?n.classList.add(t):n.className+=(n.className?" ":"")+t},M=function(n,t){o?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},z=function(n){return n.llTempImage},T=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},R=function(n,t){n&&(n.loadingCount+=t)},G=function(n,t){n&&(n.toLoadCount=t)},j=function(n){for(var t,e=[],i=0;t=n.children[i];i+=1)"SOURCE"===t.tagName&&e.push(t);return e},D=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&j(e).forEach(t)},H=function(n,t){j(n).forEach(t)},V=[u],F=[u,f],B=[u,s,d],J=[g],P=function(n){return!!n[_]},S=function(n){return n[_]},U=function(n){return delete n[_]},$=function(n,t){if(!P(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},q=function(n,t){if(P(n)){var e=S(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},K=function(n,t,e){N(n,t.class_applied),w(n,m),e&&(t.unobserve_completed&&T(n,t),C(t.callback_applied,n,e))},Q=function(n,t,e){N(n,t.class_loading),w(n,v),e&&(R(e,1),C(t.callback_loading,n,e))},W=function(n,t,e){e&&n.setAttribute(t,e)},X=function(n,t){W(n,d,y(n,t.data_sizes)),W(n,s,y(n,t.data_srcset)),W(n,u,y(n,t.data_src))},Y={IMG:function(n,t){D(n,(function(n){$(n,B),X(n,t)})),$(n,B),X(n,t)},IFRAME:function(n,t){$(n,V),W(n,u,y(n,t.data_src))},VIDEO:function(n,t){H(n,(function(n){$(n,V),W(n,u,y(n,t.data_src))})),$(n,F),W(n,f,y(n,t.data_poster)),W(n,u,y(n,t.data_src)),n.load()},OBJECT:function(n,t){$(n,J),W(n,g,y(n,t.data_src))}},Z=["IMG","IFRAME","VIDEO","OBJECT"],nn=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||C(n.callback_finish,t)},tn=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},en=function(n,t,e){n.removeEventListener(t,e)},on=function(n){return!!n.llEvLisnrs},an=function(n){if(on(n)){var t=n.llEvLisnrs;for(var e in t){var i=t[e];en(n,e,i)}delete n.llEvLisnrs}},rn=function(n,t,e){!function(n){delete n.llTempImage}(n),R(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),M(n,t.class_loading),t.unobserve_completed&&T(n,e)},cn=function(n,t,e){var i=z(n)||n;on(i)||function(n,t,e){on(n)||(n.llEvLisnrs={});var i="VIDEO"===n.tagName?"loadeddata":"load";tn(n,i,t),tn(n,"error",e)}(i,(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_loaded),w(t,b),C(e.callback_loaded,t,i),o||nn(e,i)}(0,n,t,e),an(i)}),(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_error),w(t,p),C(e.callback_error,t,i),e.restore_on_error&&q(t,B),o||nn(e,i)}(0,n,t,e),an(i)}))},ln=function(n,t,e){!function(n){return Z.indexOf(n.tagName)>-1}(n)?function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),cn(n,t,e),function(n){P(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var i=y(n,t.data_bg),o=y(n,t.data_bg_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage='url("'.concat(r,'")'),z(n).setAttribute(u,r),Q(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_multi),o=y(n,t.data_bg_multi_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage=r,K(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_set);if(i){var o=i.split("|"),a=o.map((function(n){return"image-set(".concat(n,")")}));n.style.backgroundImage=a.join(),""===n.style.backgroundImage&&(a=o.map((function(n){return"-webkit-image-set(".concat(n,")")})),n.style.backgroundImage=a.join()),K(n,t,e)}}(n,t,e)}(n,t,e):function(n,t,e){cn(n,t,e),function(n,t,e){var i=Y[n.tagName];i&&(i(n,t),Q(n,t,e))}(n,t,e)}(n,t,e)},un=function(n){n.removeAttribute(u),n.removeAttribute(s),n.removeAttribute(d)},sn=function(n){D(n,(function(n){q(n,B)})),q(n,B)},dn={IMG:sn,IFRAME:function(n){q(n,V)},VIDEO:function(n){H(n,(function(n){q(n,V)})),q(n,F),n.load()},OBJECT:function(n){q(n,J)}},fn=function(n,t){(function(n){var t=dn[n.tagName];t?t(n):function(n){if(P(n)){var t=S(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){L(n)||O(n)||(M(n,t.class_entered),M(n,t.class_exited),M(n,t.class_applied),M(n,t.class_loading),M(n,t.class_loaded),M(n,t.class_error))}(n,t),A(n),U(n)},_n=["IMG","IFRAME","VIDEO"],gn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},vn=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,i){var o=function(n){return x.indexOf(k(n))>=0}(n);w(n,"entered"),N(n,e.class_entered),M(n,e.class_exited),function(n,t,e){t.unobserve_entered&&T(n,e)}(n,e,i),C(e.callback_enter,n,t,i),o||ln(n,e,i)}(n.target,n,t,e):function(n,t,e,i){L(n)||(N(n,e.class_exited),function(n,t,e,i){e.cancel_on_exit&&function(n){return k(n)===v}(n)&&"IMG"===n.tagName&&(an(n),function(n){D(n,(function(n){un(n)})),un(n)}(n),sn(n),M(n,e.class_loading),R(i,-1),A(n),C(e.callback_cancel,n,t,i))}(n,t,e,i),C(e.callback_exit,n,t,i))}(n.target,n,t,e)}))},bn=function(n){return Array.prototype.slice.call(n)},mn=function(n){return n.container.querySelectorAll(n.elements_selector)},pn=function(n){return function(n){return k(n)===p}(n)},hn=function(n,t){return function(n){return bn(n).filter(L)}(n||mn(t))},En=function(n,e){var o=c(n);this._settings=o,this.loadingCount=0,function(n,t){i&&!gn(n)&&(t._observer=new IntersectionObserver((function(e){vn(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(o,this),function(n,e){t&&(e._onlineHandler=function(){!function(n,t){var e;(e=mn(n),bn(e).filter(pn)).forEach((function(t){M(t,n.class_error),A(t)})),t.update()}(n,e)},window.addEventListener("online",e._onlineHandler))}(o,this),this.update(e)};return En.prototype={update:function(n){var t,o,a=this._settings,r=hn(n,a);G(this,r.length),!e&&i?gn(a)?function(n,t,e){n.forEach((function(n){-1!==_n.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),cn(n,t,e),function(n,t){var e=Y[n.tagName];e&&e(n,t)}(n,t),w(n,h)}(n,t,e)})),G(e,0)}(r,a,this):(o=r,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,o)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),t&&window.removeEventListener("online",this._onlineHandler),mn(this._settings).forEach((function(n){U(n)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;hn(n,e).forEach((function(n){T(n,t),ln(n,e,t)}))},restoreAll:function(){var n=this._settings;mn(n).forEach((function(t){fn(t,n)}))}},En.load=function(n,t){var e=c(t);ln(n,e)},En.resetStatus=function(n){A(n)},t&&function(n,t){if(t)if(t.length)for(var e,i=0;e=t[i];i+=1)l(n,e);else l(n,t)}(En,window.lazyLoadOptions),En})); \ No newline at end of file diff --git a/assets/js/micromodal.min.js b/assets/js/micromodal.min.js new file mode 100644 index 0000000..09167d2 --- /dev/null +++ b/assets/js/micromodal.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).MicroModal=t()}(this,(function(){"use strict";function e(e,t){for(var o=0;oe.length)&&(t=e.length);for(var o=0,n=new Array(t);o0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var i,a,r;return i=o,(a=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(o),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(i.prototype,a),r&&e(i,r),o}(),a=null,r=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'')),!1},s=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var o in t)r(o);return!0},{init:function(e){var o=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=t(document.querySelectorAll("[".concat(o.openTrigger,"]"))),r=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(n,o.openTrigger);if(!0!==o.debugMode||!1!==s(n,r))for(var l in r){var c=r[l];o.targetModal=l,o.triggers=t(c),a=new i(o)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===r(e)||(a&&a.removeEventListeners(),(a=new i(o)).showModal())},close:function(e){e?a.closeModalById(e):a.closeModal()}});return"undefined"!=typeof window&&(window.MicroModal=l),l})); diff --git a/assets/js/preload-links.js b/assets/js/preload-links.js new file mode 100644 index 0000000..436d013 --- /dev/null +++ b/assets/js/preload-links.js @@ -0,0 +1,255 @@ +class RocketPreloadLinks { + + constructor( browser, config ) { + this.browser = browser; + this.config = config; + this.options = this.browser.options; + + this.prefetched = new Set; + this.eventTime = null; + this.threshold = 1111; + this.numOnHover = 0; + } + + /** + * Initializes the handler. + */ + init() { + if ( + ! this.browser.supportsLinkPrefetch() + || + this.browser.isDataSaverModeOn() + || + this.browser.isSlowConnection() + ) { + return; + } + + this.regex = { + excludeUris: RegExp( this.config.excludeUris, 'i' ), + images: RegExp( '.(' + this.config.imageExt + ')$', 'i' ), + fileExt: RegExp( '.(' + this.config.fileExt + ')$', 'i' ) + }; + + this._initListeners( this ); + } + + /** + * Initializes the event listeners. + * + * @private + * + * @param self instance of this object, used for binding "this" to the listeners. + */ + _initListeners( self ) { + // Setting onHoverDelay to -1 disables the "on-hover" feature. + if ( this.config.onHoverDelay > -1 ) { + document.addEventListener( 'mouseover', self.listener.bind( self ), self.listenerOptions ); + } + + document.addEventListener( 'mousedown', self.listener.bind( self ), self.listenerOptions ); + document.addEventListener( 'touchstart', self.listener.bind( self ), self.listenerOptions ); + } + + /** + * Event listener. Processes when near or on a valid hyperlink. + * + * @param Event event Event instance. + */ + listener( event ) { + const linkElem = event.target.closest( 'a' ); + const url = this._prepareUrl( linkElem ); + if ( null === url ) { + return; + } + + switch ( event.type ) { + case 'mousedown': + case 'touchstart': + this._addPrefetchLink( url ); + break; + case 'mouseover': + this._earlyPrefetch( linkElem, url, 'mouseout' ); + } + } + + /** + * + * @private + * + * @param Element|null linkElem + * @param object url + * @param string resetEvent + */ + _earlyPrefetch( linkElem, url, resetEvent ) { + const doPrefetch = () => { + falseTrigger = null; + + // Start the rate throttle: 1 sec timeout. + if ( 0 === this.numOnHover ) { + setTimeout( () => this.numOnHover = 0, 1000 ); + } + // Bail out when exceeding the rate throttle. + else if ( this.numOnHover > this.config.rateThrottle ) { + return; + } + + this.numOnHover++; + this._addPrefetchLink( url ); + }; + + // Delay to avoid false triggers for hover/touch/tap. + let falseTrigger = setTimeout( doPrefetch, this.config.onHoverDelay ); + + // On reset event, reset the false trigger timer. + const reset = () => { + linkElem.removeEventListener( resetEvent, reset, { passive: true } ); + if ( null === falseTrigger ) { + return; + } + + clearTimeout( falseTrigger ); + falseTrigger = null; + }; + linkElem.addEventListener( resetEvent, reset, { passive: true } ); + } + + /** + * Adds a for the given URL. + * + * @param string url The Given URL to prefetch. + */ + _addPrefetchLink( url ) { + this.prefetched.add( url.href ); + + return new Promise( ( resolve, reject ) => { + const elem = document.createElement( 'link' ); + elem.rel = 'prefetch'; + elem.href = url.href; + elem.onload = resolve; + elem.onerror = reject; + + document.head.appendChild( elem ); + } ).catch(() => { + // ignore and continue. + }); + } + + /** + * Prepares the target link's URL. + * + * @private + * + * @param Element|null linkElem Instance of the link element. + * @returns {null|*} + */ + _prepareUrl( linkElem ) { + if ( + null === linkElem + || + typeof linkElem !== 'object' + || + ! 'href' in linkElem + || + // Link prefetching only works on http/https protocol. + [ 'http:', 'https:' ].indexOf( linkElem.protocol ) === -1 + ) { + return null; + } + + const origin = linkElem.href.substring( 0, this.config.siteUrl.length ); + const pathname = this._getPathname( linkElem.href, origin ); + const url = { + original: linkElem.href, + protocol: linkElem.protocol, + origin: origin, + pathname: pathname, + href: origin + pathname + }; + + return this._isLinkOk( url ) ? url : null; + } + + /** + * Gets the URL's pathname. Note: ensures the pathname matches the permalink structure. + * + * @private + * + * @param object url Instance of the URL. + * @param string origin The target link href's origin. + * @returns {string} + */ + _getPathname( url, origin ) { + let pathname = origin + ? url.substring( this.config.siteUrl.length ) + : url; + + if ( ! pathname.startsWith( '/' ) ) { + pathname = '/' + pathname; + } + + if ( this._shouldAddTrailingSlash( pathname ) ) { + return pathname + '/'; + } + + return pathname; + } + + _shouldAddTrailingSlash( pathname ) { + return ( + this.config.usesTrailingSlash + && + ! pathname.endsWith( '/' ) + && + ! this.regex.fileExt.test( pathname ) + ); + } + + /** + * Checks if the given link element is okay to process. + * + * @private + * + * @param object url URL parts object. + * + * @returns {boolean} + */ + _isLinkOk( url ) { + if ( null === url || typeof url !== 'object' ) { + return false; + } + + return ( + ! this.prefetched.has( url.href ) + && + url.origin === this.config.siteUrl // is an internal document. + && + url.href.indexOf( '?' ) === -1 // not a query string. + && + url.href.indexOf( '#' ) === -1 // not an anchor. + && + ! this.regex.excludeUris.test( url.href ) // not excluded. + && + ! this.regex.images.test( url.href ) // not an image. + ); + } + + /** + * Named static constructor to encapsulate how to create the object. + */ + static run() { + // Bail out if the configuration not passed from the server. + if ( typeof RocketPreloadLinksConfig === 'undefined' ) { + return; + } + + const browser = new RocketBrowserCompatibilityChecker( { + capture: true, + passive: true + } ); + const instance = new RocketPreloadLinks( browser, RocketPreloadLinksConfig ); + instance.init(); + } +} + +RocketPreloadLinks.run(); diff --git a/assets/js/preload-links.min.js b/assets/js/preload-links.min.js new file mode 100644 index 0000000..49e0a54 --- /dev/null +++ b/assets/js/preload-links.min.js @@ -0,0 +1,3 @@ +(function() { +"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;ni.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); +}()); diff --git a/assets/js/wpr-admin-common.js b/assets/js/wpr-admin-common.js new file mode 100644 index 0000000..92a97f2 --- /dev/null +++ b/assets/js/wpr-admin-common.js @@ -0,0 +1,62 @@ +jQuery( document ).ready( function( $ ){ +var sent = false; + $( '.rocket-dismiss' ).on( 'click', function( e ) { + e.preventDefault(); + var url = $( this ).attr( 'href' ).replace( 'admin-post', 'admin-ajax' ); + $.get( url ).done( $( this ).closest( '.notice' ).hide( 'slow' ) ); + }); + + $( '#deactivate' ).click( function() { + $( '#export_settings' ).prop( 'checked', false ); + $( '#export_settings' ).hide(); + $( 'label[for=export_settings]' ).hide(); + }); + + $( '#safe_mode' ).click( function() { + $( '#export_settings' ).show(); + $( 'label[for=export_settings]' ).show(); + $( '#export_settings' ).prop( 'checked', true ); + }); + + $( '#wpr-deactivation-intent-form' ).submit(function (e) { + const checked = $( '#export_settings' ).prop('checked'); + if(! checked || sent) { + return true; + } + + e.preventDefault(); + $.ajax( { + url: rocket_option_export.rest_url_option_export, + method: 'GET', + success: function( data, textStatus, xhr ) { + const disposition = xhr.getResponseHeader('content-disposition'); + + const filenames = disposition.match('filename="([^"]+)"'); + + if(! filenames.length) { + return; + } + + const filename = filenames.pop(); + + const url = URL.createObjectURL( new Blob( [ JSON.stringify(data, null, 2) ], { + type: "octet/stream" + })); + + var a = document.createElement("a"); + document.body.appendChild(a); + a.style = "display: none"; + a.href = url; + a.download = filename; + a.click(); + window.URL.revokeObjectURL(url); + }, + complete: function () { + sent = true; + $( '#wpr-deactivation-intent-form' ).submit(); + } + } ); + + return true; + }); +} ); diff --git a/assets/js/wpr-admin.js b/assets/js/wpr-admin.js new file mode 100644 index 0000000..afc94fa --- /dev/null +++ b/assets/js/wpr-admin.js @@ -0,0 +1,3352 @@ +(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i= 0) { + return; + } + + $.post(ajaxurl, { + action: 'rocket_toggle_option', + _ajax_nonce: rocket_ajax_data.nonce, + option: { + name: name, + value: value + } + }, function (response) {}); + }); + /** + * Save enable CPCSS for mobiles option. + */ + + $('#wpr-action-rocket_enable_mobile_cpcss').on('click', function (e) { + e.preventDefault(); + $('#wpr-action-rocket_enable_mobile_cpcss').addClass('wpr-isLoading'); + $.post(ajaxurl, { + action: 'rocket_enable_mobile_cpcss', + _ajax_nonce: rocket_ajax_data.nonce + }, function (response) { + if (response.success) { + // Hide Mobile CPCSS btn on success. + $('#wpr-action-rocket_enable_mobile_cpcss').hide(); + $('.wpr-hide-on-click').hide(); + $('.wpr-show-on-click').show(); + $('#wpr-action-rocket_enable_mobile_cpcss').removeClass('wpr-isLoading'); + } + }); + }); + /** + * Save enable Google Fonts Optimization option. + */ + + $('#wpr-action-rocket_enable_google_fonts').on('click', function (e) { + e.preventDefault(); + $('#wpr-action-rocket_enable_google_fonts').addClass('wpr-isLoading'); + $.post(ajaxurl, { + action: 'rocket_enable_google_fonts', + _ajax_nonce: rocket_ajax_data.nonce + }, function (response) { + if (response.success) { + // Hide Mobile CPCSS btn on success. + $('#wpr-action-rocket_enable_google_fonts').hide(); + $('.wpr-hide-on-click').hide(); + $('.wpr-show-on-click').show(); + $('#wpr-action-rocket_enable_google_fonts').removeClass('wpr-isLoading'); + $('#minify_google_fonts').val(1); + } + }); + }); + $('#rocket-dismiss-promotion').on('click', function (e) { + e.preventDefault(); + $.post(ajaxurl, { + action: 'rocket_dismiss_promo', + nonce: rocket_ajax_data.nonce + }, function (response) { + if (response.success) { + $('#rocket-promo-banner').hide('slow'); + } + }); + }); + $('#rocket-dismiss-renewal').on('click', function (e) { + e.preventDefault(); + $.post(ajaxurl, { + action: 'rocket_dismiss_renewal', + nonce: rocket_ajax_data.nonce + }, function (response) { + if (response.success) { + $('#rocket-renewal-banner').hide('slow'); + } + }); + }); + $('#wpr-update-exclusion-list').on('click', function (e) { + e.preventDefault(); + $('#wpr-update-exclusion-msg').html(''); + $.ajax({ + url: rocket_ajax_data.rest_url, + beforeSend: function (xhr) { + xhr.setRequestHeader('X-WP-Nonce', rocket_ajax_data.rest_nonce); + }, + method: "PUT", + success: function (responses) { + let exclusion_msg_container = $('#wpr-update-exclusion-msg'); + exclusion_msg_container.html(''); + + if (undefined !== responses['success']) { + exclusion_msg_container.append('
' + responses['message'] + '
'); + return; + } + + Object.keys(responses).forEach(response_key => { + exclusion_msg_container.append('' + response_key + ': '); + exclusion_msg_container.append(responses[response_key]['message']); + exclusion_msg_container.append('
'); + }); + } + }); + }); +}); + +},{}],2:[function(require,module,exports){ +"use strict"; + +require("../lib/greensock/TweenLite.min.js"); + +require("../lib/greensock/TimelineLite.min.js"); + +require("../lib/greensock/easing/EasePack.min.js"); + +require("../lib/greensock/plugins/CSSPlugin.min.js"); + +require("../lib/greensock/plugins/ScrollToPlugin.min.js"); + +require("../global/pageManager.js"); + +require("../global/main.js"); + +require("../global/fields.js"); + +require("../global/beacon.js"); + +require("../global/ajax.js"); + +require("../global/rocketcdn.js"); + +require("../global/countdown.js"); + +},{"../global/ajax.js":1,"../global/beacon.js":3,"../global/countdown.js":4,"../global/fields.js":5,"../global/main.js":6,"../global/pageManager.js":7,"../global/rocketcdn.js":8,"../lib/greensock/TimelineLite.min.js":9,"../lib/greensock/TweenLite.min.js":10,"../lib/greensock/easing/EasePack.min.js":11,"../lib/greensock/plugins/CSSPlugin.min.js":12,"../lib/greensock/plugins/ScrollToPlugin.min.js":13}],3:[function(require,module,exports){ +"use strict"; + +var $ = jQuery; +$(document).ready(function () { + if ('Beacon' in window) { + /** + * Show beacons on button "help" click + */ + var $help = $('.wpr-infoAction--help'); + $help.on('click', function (e) { + var ids = $(this).data('beacon-id'); + wprCallBeacon(ids); + return false; + }); + + function wprCallBeacon(aID) { + aID = aID.split(','); + + if (aID.length === 0) { + return; + } + + if (aID.length > 1) { + window.Beacon("suggest", aID); + setTimeout(function () { + window.Beacon("open"); + }, 200); + } else { + window.Beacon("article", aID.toString()); + } + } + } +}); + +},{}],4:[function(require,module,exports){ +"use strict"; + +function getTimeRemaining(endtime) { + const start = Date.now(); + const total = endtime * 1000 - start; + const seconds = Math.floor(total / 1000 % 60); + const minutes = Math.floor(total / 1000 / 60 % 60); + const hours = Math.floor(total / (1000 * 60 * 60) % 24); + const days = Math.floor(total / (1000 * 60 * 60 * 24)); + return { + total, + days, + hours, + minutes, + seconds + }; +} + +function initializeClock(id, endtime) { + const clock = document.getElementById(id); + + if (clock === null) { + return; + } + + const daysSpan = clock.querySelector('.rocket-countdown-days'); + const hoursSpan = clock.querySelector('.rocket-countdown-hours'); + const minutesSpan = clock.querySelector('.rocket-countdown-minutes'); + const secondsSpan = clock.querySelector('.rocket-countdown-seconds'); + + function updateClock() { + const t = getTimeRemaining(endtime); + + if (t.total < 0) { + clearInterval(timeinterval); + return; + } + + daysSpan.innerHTML = t.days; + hoursSpan.innerHTML = ('0' + t.hours).slice(-2); + minutesSpan.innerHTML = ('0' + t.minutes).slice(-2); + secondsSpan.innerHTML = ('0' + t.seconds).slice(-2); + } + + updateClock(); + const timeinterval = setInterval(updateClock, 1000); +} + +function rucssTimer(id, endtime) { + const timer = document.getElementById(id); + const notice = document.getElementById('rocket-notice-rucss-processing'); + const success = document.getElementById('rocket-notice-rucss-success'); + + if (timer === null) { + return; + } + + function updateTimer() { + const start = Date.now(); + const remaining = Math.floor((endtime * 1000 - start) / 1000); + + if (remaining <= 0) { + clearInterval(timerInterval); + + if (notice !== null) { + notice.classList.add('hidden'); + } + + if (success !== null) { + success.classList.remove('hidden'); + } + + const data = new FormData(); + data.append('action', 'rocket_spawn_cron'); + data.append('nonce', rocket_ajax_data.nonce); + fetch(ajaxurl, { + method: 'POST', + credentials: 'same-origin', + body: data + }); + return; + } + + timer.innerHTML = remaining; + } + + updateTimer(); + const timerInterval = setInterval(updateTimer, 1000); +} + +if (!Date.now) { + Date.now = function now() { + return new Date().getTime(); + }; +} + +if (typeof rocket_ajax_data.promo_end !== 'undefined') { + initializeClock('rocket-promo-countdown', rocket_ajax_data.promo_end); +} + +if (typeof rocket_ajax_data.license_expiration !== 'undefined') { + initializeClock('rocket-renew-countdown', rocket_ajax_data.license_expiration); +} + +if (typeof rocket_ajax_data.notice_end_time !== 'undefined') { + rucssTimer('rocket-rucss-timer', rocket_ajax_data.notice_end_time); +} + +},{}],5:[function(require,module,exports){ +"use strict"; + +var $ = jQuery; +$(document).ready(function () { + /*** + * Check parent / show children + ***/ + function wprShowChildren(aElem) { + var parentId, $children; + aElem = $(aElem); + parentId = aElem.attr('id'); + $children = $('[data-parent="' + parentId + '"]'); // Test check for switch + + if (aElem.is(':checked')) { + $children.addClass('wpr-isOpen'); + $children.each(function () { + if ($(this).find('input[type=checkbox]').is(':checked')) { + var id = $(this).find('input[type=checkbox]').attr('id'); + $('[data-parent="' + id + '"]').addClass('wpr-isOpen'); + } + }); + } else { + $children.removeClass('wpr-isOpen'); + $children.each(function () { + var id = $(this).find('input[type=checkbox]').attr('id'); + $('[data-parent="' + id + '"]').removeClass('wpr-isOpen'); + }); + } + } + /** + * Tell if the given child field has an active parent field. + * + * @param object $field A jQuery object of a ".wpr-field" field. + * @return bool|null + */ + + + function wprIsParentActive($field) { + var $parent; + + if (!$field.length) { + // ¯\_(ツ)_/¯ + return null; + } + + $parent = $field.data('parent'); + + if (typeof $parent !== 'string') { + // This field has no parent field: then we can display it. + return true; + } + + $parent = $parent.replace(/^\s+|\s+$/g, ''); + + if ('' === $parent) { + // This field has no parent field: then we can display it. + return true; + } + + $parent = $('#' + $parent); + + if (!$parent.length) { + // This field's parent is missing: let's consider it's not active then. + return false; + } + + if (!$parent.is(':checked') && $parent.is('input')) { + // This field's parent is checkbox and not checked: don't display the field then. + return false; + } + + if (!$parent.hasClass('radio-active') && $parent.is('button')) { + // This field's parent button and is not active: don't display the field then. + return false; + } // Go recursive to the last parent. + + + return wprIsParentActive($parent.closest('.wpr-field')); + } // Display/Hide childern fields on checkbox change. + + + $('.wpr-isParent input[type=checkbox]').on('change', function () { + wprShowChildren($(this)); + }); // On page load, display the active fields. + + $('.wpr-field--children').each(function () { + var $field = $(this); + + if (wprIsParentActive($field)) { + $field.addClass('wpr-isOpen'); + } + }); + /*** + * Warning fields + ***/ + + var $warningParent = $('.wpr-field--parent'); + var $warningParentInput = $('.wpr-field--parent input[type=checkbox]'); // If already checked + + $warningParentInput.each(function () { + wprShowChildren($(this)); + }); + $warningParent.on('change', function () { + wprShowWarning($(this)); + }); + + function wprShowWarning(aElem) { + var $warningField = aElem.next('.wpr-fieldWarning'), + $thisCheckbox = aElem.find('input[type=checkbox]'), + $nextWarning = aElem.parent().next('.wpr-warningContainer'), + $nextFields = $nextWarning.find('.wpr-field'), + parentId = aElem.find('input[type=checkbox]').attr('id'), + $children = $('[data-parent="' + parentId + '"]'); // Check warning parent + + if ($thisCheckbox.is(':checked')) { + $warningField.addClass('wpr-isOpen'); + $thisCheckbox.prop('checked', false); + aElem.trigger('change'); + var $warningButton = $warningField.find('.wpr-button'); // Validate the warning + + $warningButton.on('click', function () { + $thisCheckbox.prop('checked', true); + $warningField.removeClass('wpr-isOpen'); + $children.addClass('wpr-isOpen'); // If next elem = disabled + + if ($nextWarning.length > 0) { + $nextFields.removeClass('wpr-isDisabled'); + $nextFields.find('input').prop('disabled', false); + } + + return false; + }); + } else { + $nextFields.addClass('wpr-isDisabled'); + $nextFields.find('input').prop('disabled', true); + $nextFields.find('input[type=checkbox]').prop('checked', false); + $children.removeClass('wpr-isOpen'); + } + } + /** + * CNAMES add/remove lines + */ + + + $(document).on('click', '.wpr-multiple-close', function (e) { + e.preventDefault(); + $(this).parent().slideUp('slow', function () { + $(this).remove(); + }); + }); + $('.wpr-button--addMulti').on('click', function (e) { + e.preventDefault(); + $($('#wpr-cname-model').html()).appendTo('#wpr-cnames-list'); + }); + /*** + * Wpr Radio button + ***/ + + var disable_radio_warning = false; + $(document).on('click', '.wpr-radio-buttons-container button', function (e) { + e.preventDefault(); + + if ($(this).hasClass('radio-active')) { + return false; + } + + var $parent = $(this).parents('.wpr-radio-buttons'); + $parent.find('.wpr-radio-buttons-container button').removeClass('radio-active'); + $parent.find('.wpr-extra-fields-container').removeClass('wpr-isOpen'); + $parent.find('.wpr-fieldWarning').removeClass('wpr-isOpen'); + $(this).addClass('radio-active'); + wprShowRadioWarning($(this)); + }); + + function wprShowRadioWarning($elm) { + disable_radio_warning = false; + $elm.trigger("before_show_radio_warning", [$elm]); + + if (!$elm.hasClass('has-warning') || disable_radio_warning) { + wprShowRadioButtonChildren($elm); + $elm.trigger("radio_button_selected", [$elm]); + return false; + } + + var $warningField = $('[data-parent="' + $elm.attr('id') + '"].wpr-fieldWarning'); + $warningField.addClass('wpr-isOpen'); + var $warningButton = $warningField.find('.wpr-button'); // Validate the warning + + $warningButton.on('click', function () { + $warningField.removeClass('wpr-isOpen'); + wprShowRadioButtonChildren($elm); + $elm.trigger("radio_button_selected", [$elm]); + return false; + }); + } + + function wprShowRadioButtonChildren($elm) { + var $parent = $elm.parents('.wpr-radio-buttons'); + var $children = $('.wpr-extra-fields-container[data-parent="' + $elm.attr('id') + '"]'); + $children.addClass('wpr-isOpen'); + } + /*** + * Wpr Optimize Css Delivery Field + ***/ + + + var rucssActive = parseInt($('#remove_unused_css').val()); + $("#optimize_css_delivery_method .wpr-radio-buttons-container button").on("radio_button_selected", function (event, $elm) { + toggleActiveOptimizeCssDeliveryMethod($elm); + }); + $("#optimize_css_delivery").on("change", function () { + if ($(this).is(":not(:checked)")) { + disableOptimizeCssDelivery(); + } else { + var default_radio_button_id = '#' + $('#optimize_css_delivery_method').data('default'); + $(default_radio_button_id).trigger('click'); + } + }); + + function toggleActiveOptimizeCssDeliveryMethod($elm) { + var optimize_method = $elm.data('value'); + + if ('remove_unused_css' === optimize_method) { + $('#remove_unused_css').val(1); + $('#async_css').val(0); + } else { + $('#remove_unused_css').val(0); + $('#async_css').val(1); + } + } + + function disableOptimizeCssDelivery() { + $('#remove_unused_css').val(0); + $('#async_css').val(0); + } + + $("#optimize_css_delivery_method .wpr-radio-buttons-container button").on("before_show_radio_warning", function (event, $elm) { + disable_radio_warning = 'remove_unused_css' === $elm.data('value') && 1 === rucssActive; + }); + $(".wpr-multiple-select .wpr-list-header-arrow").click(function (e) { + $(e.target).closest('.wpr-multiple-select .wpr-list').toggleClass('open'); + }); + $('.wpr-multiple-select .wpr-checkbox').click(function (e) { + const checkbox = $(this).find('input'); + const is_checked = checkbox.attr('checked') !== undefined; + checkbox.attr('checked', is_checked ? null : 'checked'); + const sub_checkboxes = $(checkbox).closest('.wpr-list').find('.wpr-list-body input[type="checkbox"]'); + + if (checkbox.hasClass('wpr-main-checkbox')) { + $.map(sub_checkboxes, checkbox => { + $(checkbox).attr('checked', is_checked ? null : 'checked'); + }); + return; + } + + const main_checkbox = $(checkbox).closest('.wpr-list').find('.wpr-main-checkbox'); + const sub_checked = $.map(sub_checkboxes, checkbox => { + if ($(checkbox).attr('checked') === undefined) { + return; + } + + return checkbox; + }); + main_checkbox.attr('checked', sub_checked.length === sub_checkboxes.length ? 'checked' : null); + }); + + if ($('.wpr-main-checkbox').length > 0) { + $('.wpr-main-checkbox').each((checkbox_key, checkbox) => { + let parent_list = $(checkbox).parents('.wpr-list'); + let not_checked = parent_list.find('.wpr-list-body input[type=checkbox]:not(:checked)').length; + $(checkbox).attr('checked', not_checked <= 0 ? 'checked' : null); + }); + } +}); + +},{}],6:[function(require,module,exports){ +"use strict"; + +var $ = jQuery; +$(document).ready(function () { + /*** + * Dashboard notice + ***/ + var $notice = $('.wpr-notice'); + var $noticeClose = $('#wpr-congratulations-notice'); + $noticeClose.on('click', function () { + wprCloseDashboardNotice(); + return false; + }); + + function wprCloseDashboardNotice() { + var vTL = new TimelineLite().to($notice, 1, { + autoAlpha: 0, + x: 40, + ease: Power4.easeOut + }).to($notice, 0.6, { + height: 0, + marginTop: 0, + ease: Power4.easeOut + }, '=-.4').set($notice, { + 'display': 'none' + }); + } + /** + * Rocket Analytics notice info collect + */ + + + $('.rocket-analytics-data-container').hide(); + $('.rocket-preview-analytics-data').on('click', function (e) { + e.preventDefault(); + $(this).parent().next('.rocket-analytics-data-container').toggle(); + }); + /*** + * Hide / show Rocket addon tabs. + ***/ + + $('.wpr-toggle-button').each(function () { + var $button = $(this); + var $checkbox = $button.closest('.wpr-fieldsContainer-fieldset').find('.wpr-radio :checkbox'); + var $menuItem = $('[href="' + $button.attr('href') + '"].wpr-menuItem'); + $checkbox.on('change', function () { + if ($checkbox.is(':checked')) { + $menuItem.css('display', 'block'); + $button.css('display', 'inline-block'); + } else { + $menuItem.css('display', 'none'); + $button.css('display', 'none'); + } + }).trigger('change'); + }); + /*** + * Show popin analytics + ***/ + + var $wprAnalyticsPopin = $('.wpr-Popin-Analytics'), + $wprPopinOverlay = $('.wpr-Popin-overlay'), + $wprAnalyticsClosePopin = $('.wpr-Popin-Analytics-close'), + $wprAnalyticsPopinButton = $('.wpr-Popin-Analytics .wpr-button'), + $wprAnalyticsOpenPopin = $('.wpr-js-popin'); + $wprAnalyticsOpenPopin.on('click', function (e) { + e.preventDefault(); + wprOpenAnalytics(); + return false; + }); + $wprAnalyticsClosePopin.on('click', function (e) { + e.preventDefault(); + wprCloseAnalytics(); + return false; + }); + $wprAnalyticsPopinButton.on('click', function (e) { + e.preventDefault(); + wprActivateAnalytics(); + return false; + }); + + function wprOpenAnalytics() { + var vTL = new TimelineLite().set($wprAnalyticsPopin, { + 'display': 'block' + }).set($wprPopinOverlay, { + 'display': 'block' + }).fromTo($wprPopinOverlay, 0.6, { + autoAlpha: 0 + }, { + autoAlpha: 1, + ease: Power4.easeOut + }).fromTo($wprAnalyticsPopin, 0.6, { + autoAlpha: 0, + marginTop: -24 + }, { + autoAlpha: 1, + marginTop: 0, + ease: Power4.easeOut + }, '=-.5'); + } + + function wprCloseAnalytics() { + var vTL = new TimelineLite().fromTo($wprAnalyticsPopin, 0.6, { + autoAlpha: 1, + marginTop: 0 + }, { + autoAlpha: 0, + marginTop: -24, + ease: Power4.easeOut + }).fromTo($wprPopinOverlay, 0.6, { + autoAlpha: 1 + }, { + autoAlpha: 0, + ease: Power4.easeOut + }, '=-.5').set($wprAnalyticsPopin, { + 'display': 'none' + }).set($wprPopinOverlay, { + 'display': 'none' + }); + } + + function wprActivateAnalytics() { + wprCloseAnalytics(); + $('#analytics_enabled').prop('checked', true); + $('#analytics_enabled').trigger('change'); + } + /*** + * Show popin upgrade + ***/ + + + var $wprUpgradePopin = $('.wpr-Popin-Upgrade'), + $wprUpgradeClosePopin = $('.wpr-Popin-Upgrade-close'), + $wprUpgradeOpenPopin = $('.wpr-popin-upgrade-toggle'); + $wprUpgradeOpenPopin.on('click', function (e) { + e.preventDefault(); + wprOpenUpgradePopin(); + return false; + }); + $wprUpgradeClosePopin.on('click', function () { + wprCloseUpgradePopin(); + return false; + }); + + function wprOpenUpgradePopin() { + var vTL = new TimelineLite(); + vTL.set($wprUpgradePopin, { + 'display': 'block' + }).set($wprPopinOverlay, { + 'display': 'block' + }).fromTo($wprPopinOverlay, 0.6, { + autoAlpha: 0 + }, { + autoAlpha: 1, + ease: Power4.easeOut + }).fromTo($wprUpgradePopin, 0.6, { + autoAlpha: 0, + marginTop: -24 + }, { + autoAlpha: 1, + marginTop: 0, + ease: Power4.easeOut + }, '=-.5'); + } + + function wprCloseUpgradePopin() { + var vTL = new TimelineLite(); + vTL.fromTo($wprUpgradePopin, 0.6, { + autoAlpha: 1, + marginTop: 0 + }, { + autoAlpha: 0, + marginTop: -24, + ease: Power4.easeOut + }).fromTo($wprPopinOverlay, 0.6, { + autoAlpha: 1 + }, { + autoAlpha: 0, + ease: Power4.easeOut + }, '=-.5').set($wprUpgradePopin, { + 'display': 'none' + }).set($wprPopinOverlay, { + 'display': 'none' + }); + } + /*** + * Sidebar on/off + ***/ + + + var $wprSidebar = $('.wpr-Sidebar'); + var $wprButtonTips = $('.wpr-js-tips'); + $wprButtonTips.on('change', function () { + wprDetectTips($(this)); + }); + + function wprDetectTips(aElem) { + if (aElem.is(':checked')) { + $wprSidebar.css('display', 'block'); + localStorage.setItem('wpr-show-sidebar', 'on'); + } else { + $wprSidebar.css('display', 'none'); + localStorage.setItem('wpr-show-sidebar', 'off'); + } + } + /*** + * Detect Adblock + ***/ + + + if (document.getElementById('LKgOcCRpwmAj')) { + $('.wpr-adblock').css('display', 'none'); + } else { + $('.wpr-adblock').css('display', 'block'); + } + + var $adblock = $('.wpr-adblock'); + var $adblockClose = $('.wpr-adblock-close'); + $adblockClose.on('click', function () { + wprCloseAdblockNotice(); + return false; + }); + + function wprCloseAdblockNotice() { + var vTL = new TimelineLite().to($adblock, 1, { + autoAlpha: 0, + x: 40, + ease: Power4.easeOut + }).to($adblock, 0.4, { + height: 0, + marginTop: 0, + ease: Power4.easeOut + }, '=-.4').set($adblock, { + 'display': 'none' + }); + } +}); + +},{}],7:[function(require,module,exports){ +"use strict"; + +document.addEventListener('DOMContentLoaded', function () { + var $pageManager = document.querySelector(".wpr-Content"); + + if ($pageManager) { + new PageManager($pageManager); + } +}); +/*-----------------------------------------------*\ + CLASS PAGEMANAGER +\*-----------------------------------------------*/ + +/** + * Manages the display of pages / section for WP Rocket plugin + * + * Public method : + detectID - Detect ID with hash + getBodyTop - Get body top position + change - Displays the corresponding page + * + */ + +function PageManager(aElem) { + var refThis = this; + this.$body = document.querySelector('.wpr-body'); + this.$menuItems = document.querySelectorAll('.wpr-menuItem'); + this.$submitButton = document.querySelector('.wpr-Content > form > #wpr-options-submit'); + this.$pages = document.querySelectorAll('.wpr-Page'); + this.$sidebar = document.querySelector('.wpr-Sidebar'); + this.$content = document.querySelector('.wpr-Content'); + this.$tips = document.querySelector('.wpr-Content-tips'); + this.$links = document.querySelectorAll('.wpr-body a'); + this.$menuItem = null; + this.$page = null; + this.pageId = null; + this.bodyTop = 0; + this.buttonText = this.$submitButton.value; + refThis.getBodyTop(); // If url page change + + window.onhashchange = function () { + refThis.detectID(); + }; // If hash already exist (after refresh page for example) + + + if (window.location.hash) { + this.bodyTop = 0; + this.detectID(); + } else { + var session = localStorage.getItem('wpr-hash'); + this.bodyTop = 0; + + if (session) { + window.location.hash = session; + this.detectID(); + } else { + this.$menuItems[0].classList.add('isActive'); + localStorage.setItem('wpr-hash', 'dashboard'); + window.location.hash = '#dashboard'; + } + } // Click link same hash + + + for (var i = 0; i < this.$links.length; i++) { + this.$links[i].onclick = function () { + refThis.getBodyTop(); + var hrefSplit = this.href.split('#')[1]; + + if (hrefSplit == refThis.pageId && hrefSplit != undefined) { + refThis.detectID(); + return false; + } + }; + } // Click links not WP rocket to reset hash + + + var $otherlinks = document.querySelectorAll('#adminmenumain a, #wpadminbar a'); + + for (var i = 0; i < $otherlinks.length; i++) { + $otherlinks[i].onclick = function () { + localStorage.setItem('wpr-hash', ''); + }; + } +} +/* +* Page detect ID +*/ + + +PageManager.prototype.detectID = function () { + this.pageId = window.location.hash.split('#')[1]; + localStorage.setItem('wpr-hash', this.pageId); + this.$page = document.querySelector('.wpr-Page#' + this.pageId); + this.$menuItem = document.getElementById('wpr-nav-' + this.pageId); + this.change(); +}; +/* +* Get body top position +*/ + + +PageManager.prototype.getBodyTop = function () { + var bodyPos = this.$body.getBoundingClientRect(); + this.bodyTop = bodyPos.top + window.pageYOffset - 47; // #wpadminbar + padding-top .wpr-wrap - 1 - 47 +}; +/* +* Page change +*/ + + +PageManager.prototype.change = function () { + var refThis = this; + document.documentElement.scrollTop = refThis.bodyTop; // Hide other pages + + for (var i = 0; i < this.$pages.length; i++) { + this.$pages[i].style.display = 'none'; + } + + for (var i = 0; i < this.$menuItems.length; i++) { + this.$menuItems[i].classList.remove('isActive'); + } // Show current default page + + + this.$page.style.display = 'block'; + this.$submitButton.style.display = 'block'; + + if (null === localStorage.getItem('wpr-show-sidebar')) { + localStorage.setItem('wpr-show-sidebar', 'on'); + } + + if ('on' === localStorage.getItem('wpr-show-sidebar')) { + this.$sidebar.style.display = 'block'; + } else if ('off' === localStorage.getItem('wpr-show-sidebar')) { + this.$sidebar.style.display = 'none'; + document.querySelector('#wpr-js-tips').removeAttribute('checked'); + } + + this.$tips.style.display = 'block'; + this.$menuItem.classList.add('isActive'); + this.$submitButton.value = this.buttonText; + this.$content.classList.add('isNotFull'); // Exception for dashboard + + if (this.pageId == "dashboard") { + this.$sidebar.style.display = 'none'; + this.$tips.style.display = 'none'; + this.$submitButton.style.display = 'none'; + this.$content.classList.remove('isNotFull'); + } // Exception for addons + + + if (this.pageId == "addons") { + this.$submitButton.style.display = 'none'; + } // Exception for database + + + if (this.pageId == "database") { + this.$submitButton.style.display = 'none'; + } // Exception for tools and addons + + + if (this.pageId == "tools" || this.pageId == "addons") { + this.$submitButton.style.display = 'none'; + } + + if (this.pageId == "imagify") { + this.$sidebar.style.display = 'none'; + this.$tips.style.display = 'none'; + this.$submitButton.style.display = 'none'; + } + + if (this.pageId == "tutorials") { + this.$submitButton.style.display = 'none'; + } +}; + +},{}],8:[function(require,module,exports){ +"use strict"; + +/*eslint-env es6*/ +((document, window) => { + 'use strict'; + + document.addEventListener('DOMContentLoaded', () => { + document.querySelectorAll('.wpr-rocketcdn-open').forEach(el => { + el.addEventListener('click', e => { + e.preventDefault(); + }); + }); + maybeOpenModal(); + MicroModal.init({ + disableScroll: true + }); + }); + window.addEventListener('load', () => { + let openCTA = document.querySelector('#wpr-rocketcdn-open-cta'), + closeCTA = document.querySelector('#wpr-rocketcdn-close-cta'), + smallCTA = document.querySelector('#wpr-rocketcdn-cta-small'), + bigCTA = document.querySelector('#wpr-rocketcdn-cta'); + + if (null !== openCTA && null !== smallCTA && null !== bigCTA) { + openCTA.addEventListener('click', e => { + e.preventDefault(); + smallCTA.classList.add('wpr-isHidden'); + bigCTA.classList.remove('wpr-isHidden'); + sendHTTPRequest(getPostData('big')); + }); + } + + if (null !== closeCTA && null !== smallCTA && null !== bigCTA) { + closeCTA.addEventListener('click', e => { + e.preventDefault(); + smallCTA.classList.remove('wpr-isHidden'); + bigCTA.classList.add('wpr-isHidden'); + sendHTTPRequest(getPostData('small')); + }); + } + + function getPostData(status) { + let postData = ''; + postData += 'action=toggle_rocketcdn_cta'; + postData += '&status=' + status; + postData += '&nonce=' + rocket_ajax_data.nonce; + return postData; + } + }); + + window.onmessage = e => { + const iframeURL = rocket_ajax_data.origin_url; + + if (e.origin !== iframeURL) { + return; + } + + setCDNFrameHeight(e.data); + closeModal(e.data); + tokenHandler(e.data, iframeURL); + processStatus(e.data); + enableCDN(e.data, iframeURL); + disableCDN(e.data, iframeURL); + validateTokenAndCNAME(e.data); + }; + + function maybeOpenModal() { + let postData = ''; + postData += 'action=rocketcdn_process_status'; + postData += '&nonce=' + rocket_ajax_data.nonce; + const request = sendHTTPRequest(postData); + + request.onreadystatechange = () => { + if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) { + let responseTxt = JSON.parse(request.responseText); + + if (true === responseTxt.success) { + MicroModal.show('wpr-rocketcdn-modal'); + } + } + }; + } + + function closeModal(data) { + if (!data.hasOwnProperty('cdnFrameClose')) { + return; + } + + MicroModal.close('wpr-rocketcdn-modal'); + let pages = ['iframe-payment-success', 'iframe-unsubscribe-success']; + + if (!data.hasOwnProperty('cdn_page_message')) { + return; + } + + if (pages.indexOf(data.cdn_page_message) === -1) { + return; + } + + document.location.reload(); + } + + function processStatus(data) { + if (!data.hasOwnProperty('rocketcdn_process')) { + return; + } + + let postData = ''; + postData += 'action=rocketcdn_process_set'; + postData += '&status=' + data.rocketcdn_process; + postData += '&nonce=' + rocket_ajax_data.nonce; + sendHTTPRequest(postData); + } + + function enableCDN(data, iframeURL) { + let iframe = document.querySelector('#rocketcdn-iframe').contentWindow; + + if (!data.hasOwnProperty('rocketcdn_url')) { + return; + } + + let postData = ''; + postData += 'action=rocketcdn_enable'; + postData += '&cdn_url=' + data.rocketcdn_url; + postData += '&nonce=' + rocket_ajax_data.nonce; + const request = sendHTTPRequest(postData); + + request.onreadystatechange = () => { + if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) { + let responseTxt = JSON.parse(request.responseText); + iframe.postMessage({ + 'success': responseTxt.success, + 'data': responseTxt.data, + 'rocketcdn': true + }, iframeURL); + } + }; + } + + function disableCDN(data, iframeURL) { + let iframe = document.querySelector('#rocketcdn-iframe').contentWindow; + + if (!data.hasOwnProperty('rocketcdn_disable')) { + return; + } + + let postData = ''; + postData += 'action=rocketcdn_disable'; + postData += '&nonce=' + rocket_ajax_data.nonce; + const request = sendHTTPRequest(postData); + + request.onreadystatechange = () => { + if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) { + let responseTxt = JSON.parse(request.responseText); + iframe.postMessage({ + 'success': responseTxt.success, + 'data': responseTxt.data, + 'rocketcdn': true + }, iframeURL); + } + }; + } + + function sendHTTPRequest(postData) { + const httpRequest = new XMLHttpRequest(); + httpRequest.open('POST', ajaxurl); + httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); + httpRequest.send(postData); + return httpRequest; + } + + function setCDNFrameHeight(data) { + if (!data.hasOwnProperty('cdnFrameHeight')) { + return; + } + + document.getElementById('rocketcdn-iframe').style.height = `${data.cdnFrameHeight}px`; + } + + function tokenHandler(data, iframeURL) { + let iframe = document.querySelector('#rocketcdn-iframe').contentWindow; + + if (!data.hasOwnProperty('rocketcdn_token')) { + let data = { + process: "subscribe", + message: "token_not_received" + }; + iframe.postMessage({ + 'success': false, + 'data': data, + 'rocketcdn': true + }, iframeURL); + return; + } + + let postData = ''; + postData += 'action=save_rocketcdn_token'; + postData += '&value=' + data.rocketcdn_token; + postData += '&nonce=' + rocket_ajax_data.nonce; + const request = sendHTTPRequest(postData); + + request.onreadystatechange = () => { + if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) { + let responseTxt = JSON.parse(request.responseText); + iframe.postMessage({ + 'success': responseTxt.success, + 'data': responseTxt.data, + 'rocketcdn': true + }, iframeURL); + } + }; + } + + function validateTokenAndCNAME(data) { + if (!data.hasOwnProperty('rocketcdn_validate_token') || !data.hasOwnProperty('rocketcdn_validate_cname')) { + return; + } + + let postData = ''; + postData += 'action=rocketcdn_validate_token_cname'; + postData += '&cdn_url=' + data.rocketcdn_validate_cname; + postData += '&cdn_token=' + data.rocketcdn_validate_token; + postData += '&nonce=' + rocket_ajax_data.nonce; + const request = sendHTTPRequest(postData); + } +})(document, window); + +},{}],9:[function(require,module,exports){ +"use strict"; + +/*! + * VERSION: 1.12.1 + * DATE: 2014-06-26 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. + * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +(window._gsQueue || (window._gsQueue = [])).push(function () { + "use strict"; + + window._gsDefine("TimelineLite", ["core.Animation", "core.SimpleTimeline", "TweenLite"], function (t, e, i) { + var s = function (t) { + e.call(this, t), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate; + var i, + s, + r = this.vars; + + for (s in r) i = r[s], a(i) && -1 !== i.join("").indexOf("{self}") && (r[s] = this._swapSelfInParams(i)); + + a(r.tweens) && this.add(r.tweens, 0, r.align, r.stagger); + }, + r = 1e-10, + n = i._internals.isSelector, + a = i._internals.isArray, + o = [], + h = window._gsDefine.globals, + l = function (t) { + var e, + i = {}; + + for (e in t) i[e] = t[e]; + + return i; + }, + _ = function (t, e, i, s) { + t._timeline.pause(t._startTime), e && e.apply(s || t._timeline, i || o); + }, + u = o.slice, + f = s.prototype = new e(); + + return s.version = "1.12.1", f.constructor = s, f.kill()._gc = !1, f.to = function (t, e, s, r) { + var n = s.repeat && h.TweenMax || i; + return e ? this.add(new n(t, e, s), r) : this.set(t, s, r); + }, f.from = function (t, e, s, r) { + return this.add((s.repeat && h.TweenMax || i).from(t, e, s), r); + }, f.fromTo = function (t, e, s, r, n) { + var a = r.repeat && h.TweenMax || i; + return e ? this.add(a.fromTo(t, e, s, r), n) : this.set(t, r, n); + }, f.staggerTo = function (t, e, r, a, o, h, _, f) { + var p, + c = new s({ + onComplete: h, + onCompleteParams: _, + onCompleteScope: f, + smoothChildTiming: this.smoothChildTiming + }); + + for ("string" == typeof t && (t = i.selector(t) || t), n(t) && (t = u.call(t, 0)), a = a || 0, p = 0; t.length > p; p++) r.startAt && (r.startAt = l(r.startAt)), c.to(t[p], e, l(r), p * a); + + return this.add(c, o); + }, f.staggerFrom = function (t, e, i, s, r, n, a, o) { + return i.immediateRender = 0 != i.immediateRender, i.runBackwards = !0, this.staggerTo(t, e, i, s, r, n, a, o); + }, f.staggerFromTo = function (t, e, i, s, r, n, a, o, h) { + return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, this.staggerTo(t, e, s, r, n, a, o, h); + }, f.call = function (t, e, s, r) { + return this.add(i.delayedCall(0, t, e, s), r); + }, f.set = function (t, e, s) { + return s = this._parseTimeOrLabel(s, 0, !0), null == e.immediateRender && (e.immediateRender = s === this._time && !this._paused), this.add(new i(t, 0, e), s); + }, s.exportRoot = function (t, e) { + t = t || {}, null == t.smoothChildTiming && (t.smoothChildTiming = !0); + var r, + n, + a = new s(t), + o = a._timeline; + + for (null == e && (e = !0), o._remove(a, !0), a._startTime = 0, a._rawPrevTime = a._time = a._totalTime = o._time, r = o._first; r;) n = r._next, e && r instanceof i && r.target === r.vars.onComplete || a.add(r, r._startTime - r._delay), r = n; + + return o.add(a, 0), a; + }, f.add = function (r, n, o, h) { + var l, _, u, f, p, c; + + if ("number" != typeof n && (n = this._parseTimeOrLabel(n, 0, !0, r)), !(r instanceof t)) { + if (r instanceof Array || r && r.push && a(r)) { + for (o = o || "normal", h = h || 0, l = n, _ = r.length, u = 0; _ > u; u++) a(f = r[u]) && (f = new s({ + tweens: f + })), this.add(f, l), "string" != typeof f && "function" != typeof f && ("sequence" === o ? l = f._startTime + f.totalDuration() / f._timeScale : "start" === o && (f._startTime -= f.delay())), l += h; + + return this._uncache(!0); + } + + if ("string" == typeof r) return this.addLabel(r, n); + if ("function" != typeof r) throw "Cannot add " + r + " into the timeline; it is not a tween, timeline, function, or string."; + r = i.delayedCall(0, r); + } + + if (e.prototype.add.call(this, r, n), (this._gc || this._time === this._duration) && !this._paused && this._duration < this.duration()) for (p = this, c = p.rawTime() > r._startTime; p._timeline;) c && p._timeline.smoothChildTiming ? p.totalTime(p._totalTime, !0) : p._gc && p._enabled(!0, !1), p = p._timeline; + return this; + }, f.remove = function (e) { + if (e instanceof t) return this._remove(e, !1); + + if (e instanceof Array || e && e.push && a(e)) { + for (var i = e.length; --i > -1;) this.remove(e[i]); + + return this; + } + + return "string" == typeof e ? this.removeLabel(e) : this.kill(null, e); + }, f._remove = function (t, i) { + e.prototype._remove.call(this, t, i); + + var s = this._last; + return s ? this._time > s._startTime + s._totalDuration / s._timeScale && (this._time = this.duration(), this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this; + }, f.append = function (t, e) { + return this.add(t, this._parseTimeOrLabel(null, e, !0, t)); + }, f.insert = f.insertMultiple = function (t, e, i, s) { + return this.add(t, e || 0, i, s); + }, f.appendMultiple = function (t, e, i, s) { + return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, s); + }, f.addLabel = function (t, e) { + return this._labels[t] = this._parseTimeOrLabel(e), this; + }, f.addPause = function (t, e, i, s) { + return this.call(_, ["{self}", e, i, s], this, t); + }, f.removeLabel = function (t) { + return delete this._labels[t], this; + }, f.getLabelTime = function (t) { + return null != this._labels[t] ? this._labels[t] : -1; + }, f._parseTimeOrLabel = function (e, i, s, r) { + var n; + if (r instanceof t && r.timeline === this) this.remove(r);else if (r && (r instanceof Array || r.push && a(r))) for (n = r.length; --n > -1;) r[n] instanceof t && r[n].timeline === this && this.remove(r[n]); + if ("string" == typeof i) return this._parseTimeOrLabel(i, s && "number" == typeof e && null == this._labels[i] ? e - this.duration() : 0, s); + if (i = i || 0, "string" != typeof e || !isNaN(e) && null == this._labels[e]) null == e && (e = this.duration());else { + if (n = e.indexOf("="), -1 === n) return null == this._labels[e] ? s ? this._labels[e] = this.duration() + i : i : this._labels[e] + i; + i = parseInt(e.charAt(n - 1) + "1", 10) * Number(e.substr(n + 1)), e = n > 1 ? this._parseTimeOrLabel(e.substr(0, n - 1), 0, s) : this.duration(); + } + return Number(e) + i; + }, f.seek = function (t, e) { + return this.totalTime("number" == typeof t ? t : this._parseTimeOrLabel(t), e !== !1); + }, f.stop = function () { + return this.paused(!0); + }, f.gotoAndPlay = function (t, e) { + return this.play(t, e); + }, f.gotoAndStop = function (t, e) { + return this.pause(t, e); + }, f.render = function (t, e, i) { + this._gc && this._enabled(!0, !1); + + var s, + n, + a, + h, + l, + _ = this._dirty ? this.totalDuration() : this._totalDuration, + u = this._time, + f = this._startTime, + p = this._timeScale, + c = this._paused; + + if (t >= _ ? (this._totalTime = this._time = _, this._reversed || this._hasPausedChild() || (n = !0, h = "onComplete", 0 === this._duration && (0 === t || 0 > this._rawPrevTime || this._rawPrevTime === r) && this._rawPrevTime !== t && this._first && (l = !0, this._rawPrevTime > r && (h = "onReverseComplete"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, t = _ + 1e-4) : 1e-7 > t ? (this._totalTime = this._time = 0, (0 !== u || 0 === this._duration && this._rawPrevTime !== r && (this._rawPrevTime > 0 || 0 > t && this._rawPrevTime >= 0)) && (h = "onReverseComplete", n = this._reversed), 0 > t ? (this._active = !1, 0 === this._duration && this._rawPrevTime >= 0 && this._first && (l = !0), this._rawPrevTime = t) : (this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, t = 0, this._initted || (l = !0))) : this._totalTime = this._time = this._rawPrevTime = t, this._time !== u && this._first || i || l) { + if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== u && t > 0 && (this._active = !0), 0 === u && this.vars.onStart && 0 !== this._time && (e || this.vars.onStart.apply(this.vars.onStartScope || this, this.vars.onStartParams || o)), this._time >= u) for (s = this._first; s && (a = s._next, !this._paused || c);) (s._active || s._startTime <= this._time && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a;else for (s = this._last; s && (a = s._prev, !this._paused || c);) (s._active || u >= s._startTime && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a; + this._onUpdate && (e || this._onUpdate.apply(this.vars.onUpdateScope || this, this.vars.onUpdateParams || o)), h && (this._gc || (f === this._startTime || p !== this._timeScale) && (0 === this._time || _ >= this.totalDuration()) && (n && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[h] && this.vars[h].apply(this.vars[h + "Scope"] || this, this.vars[h + "Params"] || o))); + } + }, f._hasPausedChild = function () { + for (var t = this._first; t;) { + if (t._paused || t instanceof s && t._hasPausedChild()) return !0; + t = t._next; + } + + return !1; + }, f.getChildren = function (t, e, s, r) { + r = r || -9999999999; + + for (var n = [], a = this._first, o = 0; a;) r > a._startTime || (a instanceof i ? e !== !1 && (n[o++] = a) : (s !== !1 && (n[o++] = a), t !== !1 && (n = n.concat(a.getChildren(!0, e, s)), o = n.length))), a = a._next; + + return n; + }, f.getTweensOf = function (t, e) { + var s, + r, + n = this._gc, + a = [], + o = 0; + + for (n && this._enabled(!0, !0), s = i.getTweensOf(t), r = s.length; --r > -1;) (s[r].timeline === this || e && this._contains(s[r])) && (a[o++] = s[r]); + + return n && this._enabled(!1, !0), a; + }, f._contains = function (t) { + for (var e = t.timeline; e;) { + if (e === this) return !0; + e = e.timeline; + } + + return !1; + }, f.shiftChildren = function (t, e, i) { + i = i || 0; + + for (var s, r = this._first, n = this._labels; r;) r._startTime >= i && (r._startTime += t), r = r._next; + + if (e) for (s in n) n[s] >= i && (n[s] += t); + return this._uncache(!0); + }, f._kill = function (t, e) { + if (!t && !e) return this._enabled(!1, !1); + + for (var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), s = i.length, r = !1; --s > -1;) i[s]._kill(t, e) && (r = !0); + + return r; + }, f.clear = function (t) { + var e = this.getChildren(!1, !0, !0), + i = e.length; + + for (this._time = this._totalTime = 0; --i > -1;) e[i]._enabled(!1, !1); + + return t !== !1 && (this._labels = {}), this._uncache(!0); + }, f.invalidate = function () { + for (var t = this._first; t;) t.invalidate(), t = t._next; + + return this; + }, f._enabled = function (t, i) { + if (t === this._gc) for (var s = this._first; s;) s._enabled(t, !0), s = s._next; + return e.prototype._enabled.call(this, t, i); + }, f.duration = function (t) { + return arguments.length ? (0 !== this.duration() && 0 !== t && this.timeScale(this._duration / t), this) : (this._dirty && this.totalDuration(), this._duration); + }, f.totalDuration = function (t) { + if (!arguments.length) { + if (this._dirty) { + for (var e, i, s = 0, r = this._last, n = 999999999999; r;) e = r._prev, r._dirty && r.totalDuration(), r._startTime > n && this._sortChildren && !r._paused ? this.add(r, r._startTime - r._delay) : n = r._startTime, 0 > r._startTime && !r._paused && (s -= r._startTime, this._timeline.smoothChildTiming && (this._startTime += r._startTime / this._timeScale), this.shiftChildren(-r._startTime, !1, -9999999999), n = 0), i = r._startTime + r._totalDuration / r._timeScale, i > s && (s = i), r = e; + + this._duration = this._totalDuration = s, this._dirty = !1; + } + + return this._totalDuration; + } + + return 0 !== this.totalDuration() && 0 !== t && this.timeScale(this._totalDuration / t), this; + }, f.usesFrames = function () { + for (var e = this._timeline; e._timeline;) e = e._timeline; + + return e === t._rootFramesTimeline; + }, f.rawTime = function () { + return this._paused ? this._totalTime : (this._timeline.rawTime() - this._startTime) * this._timeScale; + }, s; + }, !0); +}), window._gsDefine && window._gsQueue.pop()(); + +},{}],10:[function(require,module,exports){ +"use strict"; + +/*! + * VERSION: 1.12.1 + * DATE: 2014-06-26 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. + * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +(function (t) { + "use strict"; + + var e = t.GreenSockGlobals || t; + + if (!e.TweenLite) { + var i, + s, + n, + r, + a, + o = function (t) { + var i, + s = t.split("."), + n = e; + + for (i = 0; s.length > i; i++) n[s[i]] = n = n[s[i]] || {}; + + return n; + }, + l = o("com.greensock"), + h = 1e-10, + _ = [].slice, + u = function () {}, + m = function () { + var t = Object.prototype.toString, + e = t.call([]); + return function (i) { + return null != i && (i instanceof Array || "object" == typeof i && !!i.push && t.call(i) === e); + }; + }(), + f = {}, + p = function (i, s, n, r) { + this.sc = f[i] ? f[i].sc : [], f[i] = this, this.gsClass = null, this.func = n; + var a = []; + this.check = function (l) { + for (var h, _, u, m, c = s.length, d = c; --c > -1;) (h = f[s[c]] || new p(s[c], [])).gsClass ? (a[c] = h.gsClass, d--) : l && h.sc.push(this); + + if (0 === d && n) for (_ = ("com.greensock." + i).split("."), u = _.pop(), m = o(_.join("."))[u] = this.gsClass = n.apply(n, a), r && (e[u] = m, "function" == typeof define && define.amd ? define((t.GreenSockAMDPath ? t.GreenSockAMDPath + "/" : "") + i.split(".").join("/"), [], function () { + return m; + }) : "undefined" != typeof module && module.exports && (module.exports = m)), c = 0; this.sc.length > c; c++) this.sc[c].check(); + }, this.check(!0); + }, + c = t._gsDefine = function (t, e, i, s) { + return new p(t, e, i, s); + }, + d = l._class = function (t, e, i) { + return e = e || function () {}, c(t, [], function () { + return e; + }, i), e; + }; + + c.globals = e; + + var v = [0, 0, 1, 1], + g = [], + T = d("easing.Ease", function (t, e, i, s) { + this._func = t, this._type = i || 0, this._power = s || 0, this._params = e ? v.concat(e) : v; + }, !0), + y = T.map = {}, + w = T.register = function (t, e, i, s) { + for (var n, r, a, o, h = e.split(","), _ = h.length, u = (i || "easeIn,easeOut,easeInOut").split(","); --_ > -1;) for (r = h[_], n = s ? d("easing." + r, null, !0) : l.easing[r] || {}, a = u.length; --a > -1;) o = u[a], y[r + "." + o] = y[o + r] = n[o] = t.getRatio ? t : t[o] || new t(); + }; + + for (n = T.prototype, n._calcEnd = !1, n.getRatio = function (t) { + if (this._func) return this._params[0] = t, this._func.apply(null, this._params); + var e = this._type, + i = this._power, + s = 1 === e ? 1 - t : 2 === e ? t : .5 > t ? 2 * t : 2 * (1 - t); + return 1 === i ? s *= s : 2 === i ? s *= s * s : 3 === i ? s *= s * s * s : 4 === i && (s *= s * s * s * s), 1 === e ? 1 - s : 2 === e ? s : .5 > t ? s / 2 : 1 - s / 2; + }, i = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], s = i.length; --s > -1;) n = i[s] + ",Power" + s, w(new T(null, null, 1, s), n, "easeOut", !0), w(new T(null, null, 2, s), n, "easeIn" + (0 === s ? ",easeNone" : "")), w(new T(null, null, 3, s), n, "easeInOut"); + + y.linear = l.easing.Linear.easeIn, y.swing = l.easing.Quad.easeInOut; + var P = d("events.EventDispatcher", function (t) { + this._listeners = {}, this._eventTarget = t || this; + }); + n = P.prototype, n.addEventListener = function (t, e, i, s, n) { + n = n || 0; + var o, + l, + h = this._listeners[t], + _ = 0; + + for (null == h && (this._listeners[t] = h = []), l = h.length; --l > -1;) o = h[l], o.c === e && o.s === i ? h.splice(l, 1) : 0 === _ && n > o.pr && (_ = l + 1); + + h.splice(_, 0, { + c: e, + s: i, + up: s, + pr: n + }), this !== r || a || r.wake(); + }, n.removeEventListener = function (t, e) { + var i, + s = this._listeners[t]; + if (s) for (i = s.length; --i > -1;) if (s[i].c === e) return s.splice(i, 1), void 0; + }, n.dispatchEvent = function (t) { + var e, + i, + s, + n = this._listeners[t]; + if (n) for (e = n.length, i = this._eventTarget; --e > -1;) s = n[e], s.up ? s.c.call(s.s || i, { + type: t, + target: i + }) : s.c.call(s.s || i); + }; + + var k = t.requestAnimationFrame, + b = t.cancelAnimationFrame, + A = Date.now || function () { + return new Date().getTime(); + }, + S = A(); + + for (i = ["ms", "moz", "webkit", "o"], s = i.length; --s > -1 && !k;) k = t[i[s] + "RequestAnimationFrame"], b = t[i[s] + "CancelAnimationFrame"] || t[i[s] + "CancelRequestAnimationFrame"]; + + d("Ticker", function (t, e) { + var i, + s, + n, + o, + l, + _ = this, + m = A(), + f = e !== !1 && k, + p = 500, + c = 33, + d = function (t) { + var e, + r, + a = A() - S; + a > p && (m += a - c), S += a, _.time = (S - m) / 1e3, e = _.time - l, (!i || e > 0 || t === !0) && (_.frame++, l += e + (e >= o ? .004 : o - e), r = !0), t !== !0 && (n = s(d)), r && _.dispatchEvent("tick"); + }; + + P.call(_), _.time = _.frame = 0, _.tick = function () { + d(!0); + }, _.lagSmoothing = function (t, e) { + p = t || 1 / h, c = Math.min(e, p, 0); + }, _.sleep = function () { + null != n && (f && b ? b(n) : clearTimeout(n), s = u, n = null, _ === r && (a = !1)); + }, _.wake = function () { + null !== n ? _.sleep() : _.frame > 10 && (S = A() - p + 5), s = 0 === i ? u : f && k ? k : function (t) { + return setTimeout(t, 0 | 1e3 * (l - _.time) + 1); + }, _ === r && (a = !0), d(2); + }, _.fps = function (t) { + return arguments.length ? (i = t, o = 1 / (i || 60), l = this.time + o, _.wake(), void 0) : i; + }, _.useRAF = function (t) { + return arguments.length ? (_.sleep(), f = t, _.fps(i), void 0) : f; + }, _.fps(t), setTimeout(function () { + f && (!n || 5 > _.frame) && _.useRAF(!1); + }, 1500); + }), n = l.Ticker.prototype = new l.events.EventDispatcher(), n.constructor = l.Ticker; + var x = d("core.Animation", function (t, e) { + if (this.vars = e = e || {}, this._duration = this._totalDuration = t || 0, this._delay = Number(e.delay) || 0, this._timeScale = 1, this._active = e.immediateRender === !0, this.data = e.data, this._reversed = e.reversed === !0, B) { + a || r.wake(); + var i = this.vars.useFrames ? Q : B; + i.add(this, i._time), this.vars.paused && this.paused(!0); + } + }); + r = x.ticker = new l.Ticker(), n = x.prototype, n._dirty = n._gc = n._initted = n._paused = !1, n._totalTime = n._time = 0, n._rawPrevTime = -1, n._next = n._last = n._onUpdate = n._timeline = n.timeline = null, n._paused = !1; + + var C = function () { + a && A() - S > 2e3 && r.wake(), setTimeout(C, 2e3); + }; + + C(), n.play = function (t, e) { + return null != t && this.seek(t, e), this.reversed(!1).paused(!1); + }, n.pause = function (t, e) { + return null != t && this.seek(t, e), this.paused(!0); + }, n.resume = function (t, e) { + return null != t && this.seek(t, e), this.paused(!1); + }, n.seek = function (t, e) { + return this.totalTime(Number(t), e !== !1); + }, n.restart = function (t, e) { + return this.reversed(!1).paused(!1).totalTime(t ? -this._delay : 0, e !== !1, !0); + }, n.reverse = function (t, e) { + return null != t && this.seek(t || this.totalDuration(), e), this.reversed(!0).paused(!1); + }, n.render = function () {}, n.invalidate = function () { + return this; + }, n.isActive = function () { + var t, + e = this._timeline, + i = this._startTime; + return !e || !this._gc && !this._paused && e.isActive() && (t = e.rawTime()) >= i && i + this.totalDuration() / this._timeScale > t; + }, n._enabled = function (t, e) { + return a || r.wake(), this._gc = !t, this._active = this.isActive(), e !== !0 && (t && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !t && this.timeline && this._timeline._remove(this, !0)), !1; + }, n._kill = function () { + return this._enabled(!1, !1); + }, n.kill = function (t, e) { + return this._kill(t, e), this; + }, n._uncache = function (t) { + for (var e = t ? this : this.timeline; e;) e._dirty = !0, e = e.timeline; + + return this; + }, n._swapSelfInParams = function (t) { + for (var e = t.length, i = t.concat(); --e > -1;) "{self}" === t[e] && (i[e] = this); + + return i; + }, n.eventCallback = function (t, e, i, s) { + if ("on" === (t || "").substr(0, 2)) { + var n = this.vars; + if (1 === arguments.length) return n[t]; + null == e ? delete n[t] : (n[t] = e, n[t + "Params"] = m(i) && -1 !== i.join("").indexOf("{self}") ? this._swapSelfInParams(i) : i, n[t + "Scope"] = s), "onUpdate" === t && (this._onUpdate = e); + } + + return this; + }, n.delay = function (t) { + return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + t - this._delay), this._delay = t, this) : this._delay; + }, n.duration = function (t) { + return arguments.length ? (this._duration = this._totalDuration = t, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && 0 !== t && this.totalTime(this._totalTime * (t / this._duration), !0), this) : (this._dirty = !1, this._duration); + }, n.totalDuration = function (t) { + return this._dirty = !1, arguments.length ? this.duration(t) : this._totalDuration; + }, n.time = function (t, e) { + return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(t > this._duration ? this._duration : t, e)) : this._time; + }, n.totalTime = function (t, e, i) { + if (a || r.wake(), !arguments.length) return this._totalTime; + + if (this._timeline) { + if (0 > t && !i && (t += this.totalDuration()), this._timeline.smoothChildTiming) { + this._dirty && this.totalDuration(); + var s = this._totalDuration, + n = this._timeline; + if (t > s && !i && (t = s), this._startTime = (this._paused ? this._pauseTime : n._time) - (this._reversed ? s - t : t) / this._timeScale, n._dirty || this._uncache(!1), n._timeline) for (; n._timeline;) n._timeline._time !== (n._startTime + n._totalTime) / n._timeScale && n.totalTime(n._totalTime, !0), n = n._timeline; + } + + this._gc && this._enabled(!0, !1), (this._totalTime !== t || 0 === this._duration) && (this.render(t, e, !1), z.length && q()); + } + + return this; + }, n.progress = n.totalProgress = function (t, e) { + return arguments.length ? this.totalTime(this.duration() * t, e) : this._time / this.duration(); + }, n.startTime = function (t) { + return arguments.length ? (t !== this._startTime && (this._startTime = t, this.timeline && this.timeline._sortChildren && this.timeline.add(this, t - this._delay)), this) : this._startTime; + }, n.timeScale = function (t) { + if (!arguments.length) return this._timeScale; + + if (t = t || h, this._timeline && this._timeline.smoothChildTiming) { + var e = this._pauseTime, + i = e || 0 === e ? e : this._timeline.totalTime(); + this._startTime = i - (i - this._startTime) * this._timeScale / t; + } + + return this._timeScale = t, this._uncache(!1); + }, n.reversed = function (t) { + return arguments.length ? (t != this._reversed && (this._reversed = t, this.totalTime(this._timeline && !this._timeline.smoothChildTiming ? this.totalDuration() - this._totalTime : this._totalTime, !0)), this) : this._reversed; + }, n.paused = function (t) { + if (!arguments.length) return this._paused; + + if (t != this._paused && this._timeline) { + a || t || r.wake(); + var e = this._timeline, + i = e.rawTime(), + s = i - this._pauseTime; + !t && e.smoothChildTiming && (this._startTime += s, this._uncache(!1)), this._pauseTime = t ? i : null, this._paused = t, this._active = this.isActive(), !t && 0 !== s && this._initted && this.duration() && this.render(e.smoothChildTiming ? this._totalTime : (i - this._startTime) / this._timeScale, !0, !0); + } + + return this._gc && !t && this._enabled(!0, !1), this; + }; + var R = d("core.SimpleTimeline", function (t) { + x.call(this, 0, t), this.autoRemoveChildren = this.smoothChildTiming = !0; + }); + n = R.prototype = new x(), n.constructor = R, n.kill()._gc = !1, n._first = n._last = null, n._sortChildren = !1, n.add = n.insert = function (t, e) { + var i, s; + if (t._startTime = Number(e || 0) + t._delay, t._paused && this !== t._timeline && (t._pauseTime = t._startTime + (this.rawTime() - t._startTime) / t._timeScale), t.timeline && t.timeline._remove(t, !0), t.timeline = t._timeline = this, t._gc && t._enabled(!0, !0), i = this._last, this._sortChildren) for (s = t._startTime; i && i._startTime > s;) i = i._prev; + return i ? (t._next = i._next, i._next = t) : (t._next = this._first, this._first = t), t._next ? t._next._prev = t : this._last = t, t._prev = i, this._timeline && this._uncache(!0), this; + }, n._remove = function (t, e) { + return t.timeline === this && (e || t._enabled(!1, !0), t.timeline = null, t._prev ? t._prev._next = t._next : this._first === t && (this._first = t._next), t._next ? t._next._prev = t._prev : this._last === t && (this._last = t._prev), this._timeline && this._uncache(!0)), this; + }, n.render = function (t, e, i) { + var s, + n = this._first; + + for (this._totalTime = this._time = this._rawPrevTime = t; n;) s = n._next, (n._active || t >= n._startTime && !n._paused) && (n._reversed ? n.render((n._dirty ? n.totalDuration() : n._totalDuration) - (t - n._startTime) * n._timeScale, e, i) : n.render((t - n._startTime) * n._timeScale, e, i)), n = s; + }, n.rawTime = function () { + return a || r.wake(), this._totalTime; + }; + + var D = d("TweenLite", function (e, i, s) { + if (x.call(this, i, s), this.render = D.prototype.render, null == e) throw "Cannot tween a null target."; + this.target = e = "string" != typeof e ? e : D.selector(e) || e; + var n, + r, + a, + o = e.jquery || e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType), + l = this.vars.overwrite; + if (this._overwrite = l = null == l ? G[D.defaultOverwrite] : "number" == typeof l ? l >> 0 : G[l], (o || e instanceof Array || e.push && m(e)) && "number" != typeof e[0]) for (this._targets = a = _.call(e, 0), this._propLookup = [], this._siblings = [], n = 0; a.length > n; n++) r = a[n], r ? "string" != typeof r ? r.length && r !== t && r[0] && (r[0] === t || r[0].nodeType && r[0].style && !r.nodeType) ? (a.splice(n--, 1), this._targets = a = a.concat(_.call(r, 0))) : (this._siblings[n] = M(r, this, !1), 1 === l && this._siblings[n].length > 1 && $(r, this, null, 1, this._siblings[n])) : (r = a[n--] = D.selector(r), "string" == typeof r && a.splice(n + 1, 1)) : a.splice(n--, 1);else this._propLookup = {}, this._siblings = M(e, this, !1), 1 === l && this._siblings.length > 1 && $(e, this, null, 1, this._siblings); + (this.vars.immediateRender || 0 === i && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -h, this.render(-this._delay)); + }, !0), + I = function (e) { + return e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType); + }, + E = function (t, e) { + var i, + s = {}; + + for (i in t) j[i] || i in e && "transform" !== i && "x" !== i && "y" !== i && "width" !== i && "height" !== i && "className" !== i && "border" !== i || !(!L[i] || L[i] && L[i]._autoCSS) || (s[i] = t[i], delete t[i]); + + t.css = s; + }; + + n = D.prototype = new x(), n.constructor = D, n.kill()._gc = !1, n.ratio = 0, n._firstPT = n._targets = n._overwrittenProps = n._startAt = null, n._notifyPluginsOfEnabled = n._lazy = !1, D.version = "1.12.1", D.defaultEase = n._ease = new T(null, null, 1, 1), D.defaultOverwrite = "auto", D.ticker = r, D.autoSleep = !0, D.lagSmoothing = function (t, e) { + r.lagSmoothing(t, e); + }, D.selector = t.$ || t.jQuery || function (e) { + return t.$ ? (D.selector = t.$, t.$(e)) : t.document ? t.document.getElementById("#" === e.charAt(0) ? e.substr(1) : e) : e; + }; + + var z = [], + O = {}, + N = D._internals = { + isArray: m, + isSelector: I, + lazyTweens: z + }, + L = D._plugins = {}, + U = N.tweenLookup = {}, + F = 0, + j = N.reservedProps = { + ease: 1, + delay: 1, + overwrite: 1, + onComplete: 1, + onCompleteParams: 1, + onCompleteScope: 1, + useFrames: 1, + runBackwards: 1, + startAt: 1, + onUpdate: 1, + onUpdateParams: 1, + onUpdateScope: 1, + onStart: 1, + onStartParams: 1, + onStartScope: 1, + onReverseComplete: 1, + onReverseCompleteParams: 1, + onReverseCompleteScope: 1, + onRepeat: 1, + onRepeatParams: 1, + onRepeatScope: 1, + easeParams: 1, + yoyo: 1, + immediateRender: 1, + repeat: 1, + repeatDelay: 1, + data: 1, + paused: 1, + reversed: 1, + autoCSS: 1, + lazy: 1 + }, + G = { + none: 0, + all: 1, + auto: 2, + concurrent: 3, + allOnStart: 4, + preexisting: 5, + "true": 1, + "false": 0 + }, + Q = x._rootFramesTimeline = new R(), + B = x._rootTimeline = new R(), + q = function () { + var t = z.length; + + for (O = {}; --t > -1;) i = z[t], i && i._lazy !== !1 && (i.render(i._lazy, !1, !0), i._lazy = !1); + + z.length = 0; + }; + + B._startTime = r.time, Q._startTime = r.frame, B._active = Q._active = !0, setTimeout(q, 1), x._updateRoot = D.render = function () { + var t, e, i; + + if (z.length && q(), B.render((r.time - B._startTime) * B._timeScale, !1, !1), Q.render((r.frame - Q._startTime) * Q._timeScale, !1, !1), z.length && q(), !(r.frame % 120)) { + for (i in U) { + for (e = U[i].tweens, t = e.length; --t > -1;) e[t]._gc && e.splice(t, 1); + + 0 === e.length && delete U[i]; + } + + if (i = B._first, (!i || i._paused) && D.autoSleep && !Q._first && 1 === r._listeners.tick.length) { + for (; i && i._paused;) i = i._next; + + i || r.sleep(); + } + } + }, r.addEventListener("tick", x._updateRoot); + + var M = function (t, e, i) { + var s, + n, + r = t._gsTweenID; + if (U[r || (t._gsTweenID = r = "t" + F++)] || (U[r] = { + target: t, + tweens: [] + }), e && (s = U[r].tweens, s[n = s.length] = e, i)) for (; --n > -1;) s[n] === e && s.splice(n, 1); + return U[r].tweens; + }, + $ = function (t, e, i, s, n) { + var r, a, o, l; + + if (1 === s || s >= 4) { + for (l = n.length, r = 0; l > r; r++) if ((o = n[r]) !== e) o._gc || o._enabled(!1, !1) && (a = !0);else if (5 === s) break; + + return a; + } + + var _, + u = e._startTime + h, + m = [], + f = 0, + p = 0 === e._duration; + + for (r = n.length; --r > -1;) (o = n[r]) === e || o._gc || o._paused || (o._timeline !== e._timeline ? (_ = _ || K(e, 0, p), 0 === K(o, _, p) && (m[f++] = o)) : u >= o._startTime && o._startTime + o.totalDuration() / o._timeScale > u && ((p || !o._initted) && 2e-10 >= u - o._startTime || (m[f++] = o))); + + for (r = f; --r > -1;) o = m[r], 2 === s && o._kill(i, t) && (a = !0), (2 !== s || !o._firstPT && o._initted) && o._enabled(!1, !1) && (a = !0); + + return a; + }, + K = function (t, e, i) { + for (var s = t._timeline, n = s._timeScale, r = t._startTime; s._timeline;) { + if (r += s._startTime, n *= s._timeScale, s._paused) return -100; + s = s._timeline; + } + + return r /= n, r > e ? r - e : i && r === e || !t._initted && 2 * h > r - e ? h : (r += t.totalDuration() / t._timeScale / n) > e + h ? 0 : r - e - h; + }; + + n._init = function () { + var t, + e, + i, + s, + n, + r = this.vars, + a = this._overwrittenProps, + o = this._duration, + l = !!r.immediateRender, + h = r.ease; + + if (r.startAt) { + this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), n = {}; + + for (s in r.startAt) n[s] = r.startAt[s]; + + if (n.overwrite = !1, n.immediateRender = !0, n.lazy = l && r.lazy !== !1, n.startAt = n.delay = null, this._startAt = D.to(this.target, 0, n), l) if (this._time > 0) this._startAt = null;else if (0 !== o) return; + } else if (r.runBackwards && 0 !== o) if (this._startAt) this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null;else { + i = {}; + + for (s in r) j[s] && "autoCSS" !== s || (i[s] = r[s]); + + if (i.overwrite = 0, i.data = "isFromStart", i.lazy = l && r.lazy !== !1, i.immediateRender = l, this._startAt = D.to(this.target, 0, i), l) { + if (0 === this._time) return; + } else this._startAt._init(), this._startAt._enabled(!1); + } + + if (this._ease = h ? h instanceof T ? r.easeParams instanceof Array ? h.config.apply(h, r.easeParams) : h : "function" == typeof h ? new T(h, r.easeParams) : y[h] || D.defaultEase : D.defaultEase, this._easeType = this._ease._type, this._easePower = this._ease._power, this._firstPT = null, this._targets) for (t = this._targets.length; --t > -1;) this._initProps(this._targets[t], this._propLookup[t] = {}, this._siblings[t], a ? a[t] : null) && (e = !0);else e = this._initProps(this.target, this._propLookup, this._siblings, a); + if (e && D._onPluginEvent("_onInitAllProps", this), a && (this._firstPT || "function" != typeof this.target && this._enabled(!1, !1)), r.runBackwards) for (i = this._firstPT; i;) i.s += i.c, i.c = -i.c, i = i._next; + this._onUpdate = r.onUpdate, this._initted = !0; + }, n._initProps = function (e, i, s, n) { + var r, a, o, l, h, _; + + if (null == e) return !1; + O[e._gsTweenID] && q(), this.vars.css || e.style && e !== t && e.nodeType && L.css && this.vars.autoCSS !== !1 && E(this.vars, e); + + for (r in this.vars) { + if (_ = this.vars[r], j[r]) _ && (_ instanceof Array || _.push && m(_)) && -1 !== _.join("").indexOf("{self}") && (this.vars[r] = _ = this._swapSelfInParams(_, this));else if (L[r] && (l = new L[r]())._onInitTween(e, this.vars[r], this)) { + for (this._firstPT = h = { + _next: this._firstPT, + t: l, + p: "setRatio", + s: 0, + c: 1, + f: !0, + n: r, + pg: !0, + pr: l._priority + }, a = l._overwriteProps.length; --a > -1;) i[l._overwriteProps[a]] = this._firstPT; + + (l._priority || l._onInitAllProps) && (o = !0), (l._onDisable || l._onEnable) && (this._notifyPluginsOfEnabled = !0); + } else this._firstPT = i[r] = h = { + _next: this._firstPT, + t: e, + p: r, + f: "function" == typeof e[r], + n: r, + pg: !1, + pr: 0 + }, h.s = h.f ? e[r.indexOf("set") || "function" != typeof e["get" + r.substr(3)] ? r : "get" + r.substr(3)]() : parseFloat(e[r]), h.c = "string" == typeof _ && "=" === _.charAt(1) ? parseInt(_.charAt(0) + "1", 10) * Number(_.substr(2)) : Number(_) - h.s || 0; + h && h._next && (h._next._prev = h); + } + + return n && this._kill(n, e) ? this._initProps(e, i, s, n) : this._overwrite > 1 && this._firstPT && s.length > 1 && $(e, this, i, this._overwrite, s) ? (this._kill(i, e), this._initProps(e, i, s, n)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (O[e._gsTweenID] = !0), o); + }, n.render = function (t, e, i) { + var s, + n, + r, + a, + o = this._time, + l = this._duration, + _ = this._rawPrevTime; + if (t >= l) this._totalTime = this._time = l, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (s = !0, n = "onComplete"), 0 === l && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > _ || _ === h) && _ !== t && (i = !0, _ > h && (n = "onReverseComplete")), this._rawPrevTime = a = !e || t || _ === t ? t : h);else if (1e-7 > t) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== o || 0 === l && _ > 0 && _ !== h) && (n = "onReverseComplete", s = this._reversed), 0 > t ? (this._active = !1, 0 === l && (this._initted || !this.vars.lazy || i) && (_ >= 0 && (i = !0), this._rawPrevTime = a = !e || t || _ === t ? t : h)) : this._initted || (i = !0);else if (this._totalTime = this._time = t, this._easeType) { + var u = t / l, + m = this._easeType, + f = this._easePower; + (1 === m || 3 === m && u >= .5) && (u = 1 - u), 3 === m && (u *= 2), 1 === f ? u *= u : 2 === f ? u *= u * u : 3 === f ? u *= u * u * u : 4 === f && (u *= u * u * u * u), this.ratio = 1 === m ? 1 - u : 2 === m ? u : .5 > t / l ? u / 2 : 1 - u / 2; + } else this.ratio = this._ease.getRatio(t / l); + + if (this._time !== o || i) { + if (!this._initted) { + if (this._init(), !this._initted || this._gc) return; + if (!i && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration)) return this._time = this._totalTime = o, this._rawPrevTime = _, z.push(this), this._lazy = t, void 0; + this._time && !s ? this.ratio = this._ease.getRatio(this._time / l) : s && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1)); + } + + for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== o && t >= 0 && (this._active = !0), 0 === o && (this._startAt && (t >= 0 ? this._startAt.render(t, e, i) : n || (n = "_dummyGS")), this.vars.onStart && (0 !== this._time || 0 === l) && (e || this.vars.onStart.apply(this.vars.onStartScope || this, this.vars.onStartParams || g))), r = this._firstPT; r;) r.f ? r.t[r.p](r.c * this.ratio + r.s) : r.t[r.p] = r.c * this.ratio + r.s, r = r._next; + + this._onUpdate && (0 > t && this._startAt && this._startTime && this._startAt.render(t, e, i), e || (this._time !== o || s) && this._onUpdate.apply(this.vars.onUpdateScope || this, this.vars.onUpdateParams || g)), n && (this._gc || (0 > t && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(t, e, i), s && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[n] && this.vars[n].apply(this.vars[n + "Scope"] || this, this.vars[n + "Params"] || g), 0 === l && this._rawPrevTime === h && a !== h && (this._rawPrevTime = 0))); + } + }, n._kill = function (t, e) { + if ("all" === t && (t = null), null == t && (null == e || e === this.target)) return this._lazy = !1, this._enabled(!1, !1); + e = "string" != typeof e ? e || this._targets || this.target : D.selector(e) || e; + var i, s, n, r, a, o, l, h; + if ((m(e) || I(e)) && "number" != typeof e[0]) for (i = e.length; --i > -1;) this._kill(t, e[i]) && (o = !0);else { + if (this._targets) { + for (i = this._targets.length; --i > -1;) if (e === this._targets[i]) { + a = this._propLookup[i] || {}, this._overwrittenProps = this._overwrittenProps || [], s = this._overwrittenProps[i] = t ? this._overwrittenProps[i] || {} : "all"; + break; + } + } else { + if (e !== this.target) return !1; + a = this._propLookup, s = this._overwrittenProps = t ? this._overwrittenProps || {} : "all"; + } + + if (a) { + l = t || a, h = t !== s && "all" !== s && t !== a && ("object" != typeof t || !t._tempKill); + + for (n in l) (r = a[n]) && (r.pg && r.t._kill(l) && (o = !0), r.pg && 0 !== r.t._overwriteProps.length || (r._prev ? r._prev._next = r._next : r === this._firstPT && (this._firstPT = r._next), r._next && (r._next._prev = r._prev), r._next = r._prev = null), delete a[n]), h && (s[n] = 1); + + !this._firstPT && this._initted && this._enabled(!1, !1); + } + } + return o; + }, n.invalidate = function () { + return this._notifyPluginsOfEnabled && D._onPluginEvent("_onDisable", this), this._firstPT = null, this._overwrittenProps = null, this._onUpdate = null, this._startAt = null, this._initted = this._active = this._notifyPluginsOfEnabled = this._lazy = !1, this._propLookup = this._targets ? {} : [], this; + }, n._enabled = function (t, e) { + if (a || r.wake(), t && this._gc) { + var i, + s = this._targets; + if (s) for (i = s.length; --i > -1;) this._siblings[i] = M(s[i], this, !0);else this._siblings = M(this.target, this, !0); + } + + return x.prototype._enabled.call(this, t, e), this._notifyPluginsOfEnabled && this._firstPT ? D._onPluginEvent(t ? "_onEnable" : "_onDisable", this) : !1; + }, D.to = function (t, e, i) { + return new D(t, e, i); + }, D.from = function (t, e, i) { + return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new D(t, e, i); + }, D.fromTo = function (t, e, i, s) { + return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, new D(t, e, s); + }, D.delayedCall = function (t, e, i, s, n) { + return new D(e, 0, { + delay: t, + onComplete: e, + onCompleteParams: i, + onCompleteScope: s, + onReverseComplete: e, + onReverseCompleteParams: i, + onReverseCompleteScope: s, + immediateRender: !1, + useFrames: n, + overwrite: 0 + }); + }, D.set = function (t, e) { + return new D(t, 0, e); + }, D.getTweensOf = function (t, e) { + if (null == t) return []; + t = "string" != typeof t ? t : D.selector(t) || t; + var i, s, n, r; + + if ((m(t) || I(t)) && "number" != typeof t[0]) { + for (i = t.length, s = []; --i > -1;) s = s.concat(D.getTweensOf(t[i], e)); + + for (i = s.length; --i > -1;) for (r = s[i], n = i; --n > -1;) r === s[n] && s.splice(i, 1); + } else for (s = M(t).concat(), i = s.length; --i > -1;) (s[i]._gc || e && !s[i].isActive()) && s.splice(i, 1); + + return s; + }, D.killTweensOf = D.killDelayedCallsTo = function (t, e, i) { + "object" == typeof e && (i = e, e = !1); + + for (var s = D.getTweensOf(t, e), n = s.length; --n > -1;) s[n]._kill(i, t); + }; + var H = d("plugins.TweenPlugin", function (t, e) { + this._overwriteProps = (t || "").split(","), this._propName = this._overwriteProps[0], this._priority = e || 0, this._super = H.prototype; + }, !0); + + if (n = H.prototype, H.version = "1.10.1", H.API = 2, n._firstPT = null, n._addTween = function (t, e, i, s, n, r) { + var a, o; + return null != s && (a = "number" == typeof s || "=" !== s.charAt(1) ? Number(s) - i : parseInt(s.charAt(0) + "1", 10) * Number(s.substr(2))) ? (this._firstPT = o = { + _next: this._firstPT, + t: t, + p: e, + s: i, + c: a, + f: "function" == typeof t[e], + n: n || e, + r: r + }, o._next && (o._next._prev = o), o) : void 0; + }, n.setRatio = function (t) { + for (var e, i = this._firstPT, s = 1e-6; i;) e = i.c * t + i.s, i.r ? e = Math.round(e) : s > e && e > -s && (e = 0), i.f ? i.t[i.p](e) : i.t[i.p] = e, i = i._next; + }, n._kill = function (t) { + var e, + i = this._overwriteProps, + s = this._firstPT; + if (null != t[this._propName]) this._overwriteProps = [];else for (e = i.length; --e > -1;) null != t[i[e]] && i.splice(e, 1); + + for (; s;) null != t[s.n] && (s._next && (s._next._prev = s._prev), s._prev ? (s._prev._next = s._next, s._prev = null) : this._firstPT === s && (this._firstPT = s._next)), s = s._next; + + return !1; + }, n._roundProps = function (t, e) { + for (var i = this._firstPT; i;) (t[this._propName] || null != i.n && t[i.n.split(this._propName + "_").join("")]) && (i.r = e), i = i._next; + }, D._onPluginEvent = function (t, e) { + var i, + s, + n, + r, + a, + o = e._firstPT; + + if ("_onInitAllProps" === t) { + for (; o;) { + for (a = o._next, s = n; s && s.pr > o.pr;) s = s._next; + + (o._prev = s ? s._prev : r) ? o._prev._next = o : n = o, (o._next = s) ? s._prev = o : r = o, o = a; + } + + o = e._firstPT = n; + } + + for (; o;) o.pg && "function" == typeof o.t[t] && o.t[t]() && (i = !0), o = o._next; + + return i; + }, H.activate = function (t) { + for (var e = t.length; --e > -1;) t[e].API === H.API && (L[new t[e]()._propName] = t[e]); + + return !0; + }, c.plugin = function (t) { + if (!(t && t.propName && t.init && t.API)) throw "illegal plugin definition."; + var e, + i = t.propName, + s = t.priority || 0, + n = t.overwriteProps, + r = { + init: "_onInitTween", + set: "setRatio", + kill: "_kill", + round: "_roundProps", + initAll: "_onInitAllProps" + }, + a = d("plugins." + i.charAt(0).toUpperCase() + i.substr(1) + "Plugin", function () { + H.call(this, i, s), this._overwriteProps = n || []; + }, t.global === !0), + o = a.prototype = new H(i); + o.constructor = a, a.API = t.API; + + for (e in r) "function" == typeof t[e] && (o[r[e]] = t[e]); + + return a.version = t.version, H.activate([a]), a; + }, i = t._gsQueue) { + for (s = 0; i.length > s; s++) i[s](); + + for (n in f) f[n].func || t.console.log("GSAP encountered missing dependency: com.greensock." + n); + } + + a = !1; + } +})(window); + +},{}],11:[function(require,module,exports){ +"use strict"; + +/*! + * VERSION: beta 1.9.3 + * DATE: 2013-04-02 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. + * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + **/ +(window._gsQueue || (window._gsQueue = [])).push(function () { + "use strict"; + + window._gsDefine("easing.Back", ["easing.Ease"], function (t) { + var e, + i, + s, + r = window.GreenSockGlobals || window, + n = r.com.greensock, + a = 2 * Math.PI, + o = Math.PI / 2, + h = n._class, + l = function (e, i) { + var s = h("easing." + e, function () {}, !0), + r = s.prototype = new t(); + return r.constructor = s, r.getRatio = i, s; + }, + _ = t.register || function () {}, + u = function (t, e, i, s) { + var r = h("easing." + t, { + easeOut: new e(), + easeIn: new i(), + easeInOut: new s() + }, !0); + return _(r, t), r; + }, + c = function (t, e, i) { + this.t = t, this.v = e, i && (this.next = i, i.prev = this, this.c = i.v - e, this.gap = i.t - t); + }, + f = function (e, i) { + var s = h("easing." + e, function (t) { + this._p1 = t || 0 === t ? t : 1.70158, this._p2 = 1.525 * this._p1; + }, !0), + r = s.prototype = new t(); + return r.constructor = s, r.getRatio = i, r.config = function (t) { + return new s(t); + }, s; + }, + p = u("Back", f("BackOut", function (t) { + return (t -= 1) * t * ((this._p1 + 1) * t + this._p1) + 1; + }), f("BackIn", function (t) { + return t * t * ((this._p1 + 1) * t - this._p1); + }), f("BackInOut", function (t) { + return 1 > (t *= 2) ? .5 * t * t * ((this._p2 + 1) * t - this._p2) : .5 * ((t -= 2) * t * ((this._p2 + 1) * t + this._p2) + 2); + })), + m = h("easing.SlowMo", function (t, e, i) { + e = e || 0 === e ? e : .7, null == t ? t = .7 : t > 1 && (t = 1), this._p = 1 !== t ? e : 0, this._p1 = (1 - t) / 2, this._p2 = t, this._p3 = this._p1 + this._p2, this._calcEnd = i === !0; + }, !0), + d = m.prototype = new t(); + + return d.constructor = m, d.getRatio = function (t) { + var e = t + (.5 - t) * this._p; + return this._p1 > t ? this._calcEnd ? 1 - (t = 1 - t / this._p1) * t : e - (t = 1 - t / this._p1) * t * t * t * e : t > this._p3 ? this._calcEnd ? 1 - (t = (t - this._p3) / this._p1) * t : e + (t - e) * (t = (t - this._p3) / this._p1) * t * t * t : this._calcEnd ? 1 : e; + }, m.ease = new m(.7, .7), d.config = m.config = function (t, e, i) { + return new m(t, e, i); + }, e = h("easing.SteppedEase", function (t) { + t = t || 1, this._p1 = 1 / t, this._p2 = t + 1; + }, !0), d = e.prototype = new t(), d.constructor = e, d.getRatio = function (t) { + return 0 > t ? t = 0 : t >= 1 && (t = .999999999), (this._p2 * t >> 0) * this._p1; + }, d.config = e.config = function (t) { + return new e(t); + }, i = h("easing.RoughEase", function (e) { + e = e || {}; + + for (var i, s, r, n, a, o, h = e.taper || "none", l = [], _ = 0, u = 0 | (e.points || 20), f = u, p = e.randomize !== !1, m = e.clamp === !0, d = e.template instanceof t ? e.template : null, g = "number" == typeof e.strength ? .4 * e.strength : .4; --f > -1;) i = p ? Math.random() : 1 / u * f, s = d ? d.getRatio(i) : i, "none" === h ? r = g : "out" === h ? (n = 1 - i, r = n * n * g) : "in" === h ? r = i * i * g : .5 > i ? (n = 2 * i, r = .5 * n * n * g) : (n = 2 * (1 - i), r = .5 * n * n * g), p ? s += Math.random() * r - .5 * r : f % 2 ? s += .5 * r : s -= .5 * r, m && (s > 1 ? s = 1 : 0 > s && (s = 0)), l[_++] = { + x: i, + y: s + }; + + for (l.sort(function (t, e) { + return t.x - e.x; + }), o = new c(1, 1, null), f = u; --f > -1;) a = l[f], o = new c(a.x, a.y, o); + + this._prev = new c(0, 0, 0 !== o.t ? o : o.next); + }, !0), d = i.prototype = new t(), d.constructor = i, d.getRatio = function (t) { + var e = this._prev; + + if (t > e.t) { + for (; e.next && t >= e.t;) e = e.next; + + e = e.prev; + } else for (; e.prev && e.t >= t;) e = e.prev; + + return this._prev = e, e.v + (t - e.t) / e.gap * e.c; + }, d.config = function (t) { + return new i(t); + }, i.ease = new i(), u("Bounce", l("BounceOut", function (t) { + return 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375; + }), l("BounceIn", function (t) { + return 1 / 2.75 > (t = 1 - t) ? 1 - 7.5625 * t * t : 2 / 2.75 > t ? 1 - (7.5625 * (t -= 1.5 / 2.75) * t + .75) : 2.5 / 2.75 > t ? 1 - (7.5625 * (t -= 2.25 / 2.75) * t + .9375) : 1 - (7.5625 * (t -= 2.625 / 2.75) * t + .984375); + }), l("BounceInOut", function (t) { + var e = .5 > t; + return t = e ? 1 - 2 * t : 2 * t - 1, t = 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375, e ? .5 * (1 - t) : .5 * t + .5; + })), u("Circ", l("CircOut", function (t) { + return Math.sqrt(1 - (t -= 1) * t); + }), l("CircIn", function (t) { + return -(Math.sqrt(1 - t * t) - 1); + }), l("CircInOut", function (t) { + return 1 > (t *= 2) ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1); + })), s = function (e, i, s) { + var r = h("easing." + e, function (t, e) { + this._p1 = t || 1, this._p2 = e || s, this._p3 = this._p2 / a * (Math.asin(1 / this._p1) || 0); + }, !0), + n = r.prototype = new t(); + return n.constructor = r, n.getRatio = i, n.config = function (t, e) { + return new r(t, e); + }, r; + }, u("Elastic", s("ElasticOut", function (t) { + return this._p1 * Math.pow(2, -10 * t) * Math.sin((t - this._p3) * a / this._p2) + 1; + }, .3), s("ElasticIn", function (t) { + return -(this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2)); + }, .3), s("ElasticInOut", function (t) { + return 1 > (t *= 2) ? -.5 * this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2) : .5 * this._p1 * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2) + 1; + }, .45)), u("Expo", l("ExpoOut", function (t) { + return 1 - Math.pow(2, -10 * t); + }), l("ExpoIn", function (t) { + return Math.pow(2, 10 * (t - 1)) - .001; + }), l("ExpoInOut", function (t) { + return 1 > (t *= 2) ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * (t - 1))); + })), u("Sine", l("SineOut", function (t) { + return Math.sin(t * o); + }), l("SineIn", function (t) { + return -Math.cos(t * o) + 1; + }), l("SineInOut", function (t) { + return -.5 * (Math.cos(Math.PI * t) - 1); + })), h("easing.EaseLookup", { + find: function (e) { + return t.map[e]; + } + }, !0), _(r.SlowMo, "SlowMo", "ease,"), _(i, "RoughEase", "ease,"), _(e, "SteppedEase", "ease,"), p; + }, !0); +}), window._gsDefine && window._gsQueue.pop()(); + +},{}],12:[function(require,module,exports){ +"use strict"; + +/*! + * VERSION: 1.12.1 + * DATE: 2014-06-26 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. + * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +(window._gsQueue || (window._gsQueue = [])).push(function () { + "use strict"; + + window._gsDefine("plugins.CSSPlugin", ["plugins.TweenPlugin", "TweenLite"], function (t, e) { + var i, + r, + s, + n, + a = function () { + t.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = a.prototype.setRatio; + }, + o = {}, + l = a.prototype = new t("css"); + + l.constructor = a, a.version = "1.12.1", a.API = 2, a.defaultTransformPerspective = 0, a.defaultSkewType = "compensated", l = "px", a.suffixMap = { + top: l, + right: l, + bottom: l, + left: l, + width: l, + height: l, + fontSize: l, + padding: l, + margin: l, + perspective: l, + lineHeight: "" + }; + + var h, + u, + f, + _, + p, + c, + d = /(?:\d|\-\d|\.\d|\-\.\d)+/g, + m = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, + g = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, + v = /[^\d\-\.]/g, + y = /(?:\d|\-|\+|=|#|\.)*/g, + T = /opacity *= *([^)]*)/i, + w = /opacity:([^;]*)/i, + x = /alpha\(opacity *=.+?\)/i, + b = /^(rgb|hsl)/, + P = /([A-Z])/g, + S = /-([a-z])/gi, + C = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, + R = function (t, e) { + return e.toUpperCase(); + }, + k = /(?:Left|Right|Width)/i, + A = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, + O = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, + D = /,(?=[^\)]*(?:\(|$))/gi, + M = Math.PI / 180, + L = 180 / Math.PI, + N = {}, + X = document, + z = X.createElement("div"), + I = X.createElement("img"), + E = a._internals = { + _specialProps: o + }, + F = navigator.userAgent, + Y = function () { + var t, + e = F.indexOf("Android"), + i = X.createElement("div"); + return f = -1 !== F.indexOf("Safari") && -1 === F.indexOf("Chrome") && (-1 === e || Number(F.substr(e + 8, 1)) > 3), p = f && 6 > Number(F.substr(F.indexOf("Version/") + 8, 1)), _ = -1 !== F.indexOf("Firefox"), /MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F) && (c = parseFloat(RegExp.$1)), i.innerHTML = "
a", t = i.getElementsByTagName("a")[0], t ? /^0.55/.test(t.style.opacity) : !1; + }(), + B = function (t) { + return T.test("string" == typeof t ? t : (t.currentStyle ? t.currentStyle.filter : t.style.filter) || "") ? parseFloat(RegExp.$1) / 100 : 1; + }, + U = function (t) { + window.console && console.log(t); + }, + W = "", + j = "", + V = function (t, e) { + e = e || z; + var i, + r, + s = e.style; + if (void 0 !== s[t]) return t; + + for (t = t.charAt(0).toUpperCase() + t.substr(1), i = ["O", "Moz", "ms", "Ms", "Webkit"], r = 5; --r > -1 && void 0 === s[i[r] + t];); + + return r >= 0 ? (j = 3 === r ? "ms" : i[r], W = "-" + j.toLowerCase() + "-", j + t) : null; + }, + H = X.defaultView ? X.defaultView.getComputedStyle : function () {}, + q = a.getStyle = function (t, e, i, r, s) { + var n; + return Y || "opacity" !== e ? (!r && t.style[e] ? n = t.style[e] : (i = i || H(t)) ? n = i[e] || i.getPropertyValue(e) || i.getPropertyValue(e.replace(P, "-$1").toLowerCase()) : t.currentStyle && (n = t.currentStyle[e]), null == s || n && "none" !== n && "auto" !== n && "auto auto" !== n ? n : s) : B(t); + }, + Q = E.convertToPixels = function (t, i, r, s, n) { + if ("px" === s || !s) return r; + if ("auto" === s || !r) return 0; + var o, + l, + h, + u = k.test(i), + f = t, + _ = z.style, + p = 0 > r; + if (p && (r = -r), "%" === s && -1 !== i.indexOf("border")) o = r / 100 * (u ? t.clientWidth : t.clientHeight);else { + if (_.cssText = "border:0 solid red;position:" + q(t, "position") + ";line-height:0;", "%" !== s && f.appendChild) _[u ? "borderLeftWidth" : "borderTopWidth"] = r + s;else { + if (f = t.parentNode || X.body, l = f._gsCache, h = e.ticker.frame, l && u && l.time === h) return l.width * r / 100; + _[u ? "width" : "height"] = r + s; + } + f.appendChild(z), o = parseFloat(z[u ? "offsetWidth" : "offsetHeight"]), f.removeChild(z), u && "%" === s && a.cacheWidths !== !1 && (l = f._gsCache = f._gsCache || {}, l.time = h, l.width = 100 * (o / r)), 0 !== o || n || (o = Q(t, i, r, s, !0)); + } + return p ? -o : o; + }, + Z = E.calculateOffset = function (t, e, i) { + if ("absolute" !== q(t, "position", i)) return 0; + var r = "left" === e ? "Left" : "Top", + s = q(t, "margin" + r, i); + return t["offset" + r] - (Q(t, e, parseFloat(s), s.replace(y, "")) || 0); + }, + $ = function (t, e) { + var i, + r, + s = {}; + if (e = e || H(t, null)) { + if (i = e.length) for (; --i > -1;) s[e[i].replace(S, R)] = e.getPropertyValue(e[i]);else for (i in e) s[i] = e[i]; + } else if (e = t.currentStyle || t.style) for (i in e) "string" == typeof i && void 0 === s[i] && (s[i.replace(S, R)] = e[i]); + return Y || (s.opacity = B(t)), r = Pe(t, e, !1), s.rotation = r.rotation, s.skewX = r.skewX, s.scaleX = r.scaleX, s.scaleY = r.scaleY, s.x = r.x, s.y = r.y, xe && (s.z = r.z, s.rotationX = r.rotationX, s.rotationY = r.rotationY, s.scaleZ = r.scaleZ), s.filters && delete s.filters, s; + }, + G = function (t, e, i, r, s) { + var n, + a, + o, + l = {}, + h = t.style; + + for (a in i) "cssText" !== a && "length" !== a && isNaN(a) && (e[a] !== (n = i[a]) || s && s[a]) && -1 === a.indexOf("Origin") && ("number" == typeof n || "string" == typeof n) && (l[a] = "auto" !== n || "left" !== a && "top" !== a ? "" !== n && "auto" !== n && "none" !== n || "string" != typeof e[a] || "" === e[a].replace(v, "") ? n : 0 : Z(t, a), void 0 !== h[a] && (o = new fe(h, a, h[a], o))); + + if (r) for (a in r) "className" !== a && (l[a] = r[a]); + return { + difs: l, + firstMPT: o + }; + }, + K = { + width: ["Left", "Right"], + height: ["Top", "Bottom"] + }, + J = ["marginLeft", "marginRight", "marginTop", "marginBottom"], + te = function (t, e, i) { + var r = parseFloat("width" === e ? t.offsetWidth : t.offsetHeight), + s = K[e], + n = s.length; + + for (i = i || H(t, null); --n > -1;) r -= parseFloat(q(t, "padding" + s[n], i, !0)) || 0, r -= parseFloat(q(t, "border" + s[n] + "Width", i, !0)) || 0; + + return r; + }, + ee = function (t, e) { + (null == t || "" === t || "auto" === t || "auto auto" === t) && (t = "0 0"); + var i = t.split(" "), + r = -1 !== t.indexOf("left") ? "0%" : -1 !== t.indexOf("right") ? "100%" : i[0], + s = -1 !== t.indexOf("top") ? "0%" : -1 !== t.indexOf("bottom") ? "100%" : i[1]; + return null == s ? s = "0" : "center" === s && (s = "50%"), ("center" === r || isNaN(parseFloat(r)) && -1 === (r + "").indexOf("=")) && (r = "50%"), e && (e.oxp = -1 !== r.indexOf("%"), e.oyp = -1 !== s.indexOf("%"), e.oxr = "=" === r.charAt(1), e.oyr = "=" === s.charAt(1), e.ox = parseFloat(r.replace(v, "")), e.oy = parseFloat(s.replace(v, ""))), r + " " + s + (i.length > 2 ? " " + i[2] : ""); + }, + ie = function (t, e) { + return "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * parseFloat(t.substr(2)) : parseFloat(t) - parseFloat(e); + }, + re = function (t, e) { + return null == t ? e : "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * Number(t.substr(2)) + e : parseFloat(t); + }, + se = function (t, e, i, r) { + var s, + n, + a, + o, + l = 1e-6; + return null == t ? o = e : "number" == typeof t ? o = t : (s = 360, n = t.split("_"), a = Number(n[0].replace(v, "")) * (-1 === t.indexOf("rad") ? 1 : L) - ("=" === t.charAt(1) ? 0 : e), n.length && (r && (r[i] = e + a), -1 !== t.indexOf("short") && (a %= s, a !== a % (s / 2) && (a = 0 > a ? a + s : a - s)), -1 !== t.indexOf("_cw") && 0 > a ? a = (a + 9999999999 * s) % s - (0 | a / s) * s : -1 !== t.indexOf("ccw") && a > 0 && (a = (a - 9999999999 * s) % s - (0 | a / s) * s)), o = e + a), l > o && o > -l && (o = 0), o; + }, + ne = { + aqua: [0, 255, 255], + lime: [0, 255, 0], + silver: [192, 192, 192], + black: [0, 0, 0], + maroon: [128, 0, 0], + teal: [0, 128, 128], + blue: [0, 0, 255], + navy: [0, 0, 128], + white: [255, 255, 255], + fuchsia: [255, 0, 255], + olive: [128, 128, 0], + yellow: [255, 255, 0], + orange: [255, 165, 0], + gray: [128, 128, 128], + purple: [128, 0, 128], + green: [0, 128, 0], + red: [255, 0, 0], + pink: [255, 192, 203], + cyan: [0, 255, 255], + transparent: [255, 255, 255, 0] + }, + ae = function (t, e, i) { + return t = 0 > t ? t + 1 : t > 1 ? t - 1 : t, 0 | 255 * (1 > 6 * t ? e + 6 * (i - e) * t : .5 > t ? i : 2 > 3 * t ? e + 6 * (i - e) * (2 / 3 - t) : e) + .5; + }, + oe = function (t) { + var e, i, r, s, n, a; + return t && "" !== t ? "number" == typeof t ? [t >> 16, 255 & t >> 8, 255 & t] : ("," === t.charAt(t.length - 1) && (t = t.substr(0, t.length - 1)), ne[t] ? ne[t] : "#" === t.charAt(0) ? (4 === t.length && (e = t.charAt(1), i = t.charAt(2), r = t.charAt(3), t = "#" + e + e + i + i + r + r), t = parseInt(t.substr(1), 16), [t >> 16, 255 & t >> 8, 255 & t]) : "hsl" === t.substr(0, 3) ? (t = t.match(d), s = Number(t[0]) % 360 / 360, n = Number(t[1]) / 100, a = Number(t[2]) / 100, i = .5 >= a ? a * (n + 1) : a + n - a * n, e = 2 * a - i, t.length > 3 && (t[3] = Number(t[3])), t[0] = ae(s + 1 / 3, e, i), t[1] = ae(s, e, i), t[2] = ae(s - 1 / 3, e, i), t) : (t = t.match(d) || ne.transparent, t[0] = Number(t[0]), t[1] = Number(t[1]), t[2] = Number(t[2]), t.length > 3 && (t[3] = Number(t[3])), t)) : ne.black; + }, + le = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b"; + + for (l in ne) le += "|" + l + "\\b"; + + le = RegExp(le + ")", "gi"); + + var he = function (t, e, i, r) { + if (null == t) return function (t) { + return t; + }; + var s, + n = e ? (t.match(le) || [""])[0] : "", + a = t.split(n).join("").match(g) || [], + o = t.substr(0, t.indexOf(a[0])), + l = ")" === t.charAt(t.length - 1) ? ")" : "", + h = -1 !== t.indexOf(" ") ? " " : ",", + u = a.length, + f = u > 0 ? a[0].replace(d, "") : ""; + return u ? s = e ? function (t) { + var e, _, p, c; + + if ("number" == typeof t) t += f;else if (r && D.test(t)) { + for (c = t.replace(D, "|").split("|"), p = 0; c.length > p; p++) c[p] = s(c[p]); + + return c.join(","); + } + if (e = (t.match(le) || [n])[0], _ = t.split(e).join("").match(g) || [], p = _.length, u > p--) for (; u > ++p;) _[p] = i ? _[0 | (p - 1) / 2] : a[p]; + return o + _.join(h) + h + e + l + (-1 !== t.indexOf("inset") ? " inset" : ""); + } : function (t) { + var e, n, _; + + if ("number" == typeof t) t += f;else if (r && D.test(t)) { + for (n = t.replace(D, "|").split("|"), _ = 0; n.length > _; _++) n[_] = s(n[_]); + + return n.join(","); + } + if (e = t.match(g) || [], _ = e.length, u > _--) for (; u > ++_;) e[_] = i ? e[0 | (_ - 1) / 2] : a[_]; + return o + e.join(h) + l; + } : function (t) { + return t; + }; + }, + ue = function (t) { + return t = t.split(","), function (e, i, r, s, n, a, o) { + var l, + h = (i + "").split(" "); + + for (o = {}, l = 0; 4 > l; l++) o[t[l]] = h[l] = h[l] || h[(l - 1) / 2 >> 0]; + + return s.parse(e, o, n, a); + }; + }, + fe = (E._setPluginRatio = function (t) { + this.plugin.setRatio(t); + + for (var e, i, r, s, n = this.data, a = n.proxy, o = n.firstMPT, l = 1e-6; o;) e = a[o.v], o.r ? e = Math.round(e) : l > e && e > -l && (e = 0), o.t[o.p] = e, o = o._next; + + if (n.autoRotate && (n.autoRotate.rotation = a.rotation), 1 === t) for (o = n.firstMPT; o;) { + if (i = o.t, i.type) { + if (1 === i.type) { + for (s = i.xs0 + i.s + i.xs1, r = 1; i.l > r; r++) s += i["xn" + r] + i["xs" + (r + 1)]; + + i.e = s; + } + } else i.e = i.s + i.xs0; + + o = o._next; + } + }, function (t, e, i, r, s) { + this.t = t, this.p = e, this.v = i, this.r = s, r && (r._prev = this, this._next = r); + }), + _e = (E._parseToProxy = function (t, e, i, r, s, n) { + var a, + o, + l, + h, + u, + f = r, + _ = {}, + p = {}, + c = i._transform, + d = N; + + for (i._transform = null, N = e, r = u = i.parse(t, e, r, s), N = d, n && (i._transform = c, f && (f._prev = null, f._prev && (f._prev._next = null))); r && r !== f;) { + if (1 >= r.type && (o = r.p, p[o] = r.s + r.c, _[o] = r.s, n || (h = new fe(r, "s", o, h, r.r), r.c = 0), 1 === r.type)) for (a = r.l; --a > 0;) l = "xn" + a, o = r.p + "_" + l, p[o] = r.data[l], _[o] = r[l], n || (h = new fe(r, l, o, h, r.rxp[l])); + r = r._next; + } + + return { + proxy: _, + end: p, + firstMPT: h, + pt: u + }; + }, E.CSSPropTween = function (t, e, r, s, a, o, l, h, u, f, _) { + this.t = t, this.p = e, this.s = r, this.c = s, this.n = l || e, t instanceof _e || n.push(this.n), this.r = h, this.type = o || 0, u && (this.pr = u, i = !0), this.b = void 0 === f ? r : f, this.e = void 0 === _ ? r + s : _, a && (this._next = a, a._prev = this); + }), + pe = a.parseComplex = function (t, e, i, r, s, n, a, o, l, u) { + i = i || n || "", a = new _e(t, e, 0, 0, a, u ? 2 : 1, null, !1, o, i, r), r += ""; + + var f, + _, + p, + c, + g, + v, + y, + T, + w, + x, + P, + S, + C = i.split(", ").join(",").split(" "), + R = r.split(", ").join(",").split(" "), + k = C.length, + A = h !== !1; + + for ((-1 !== r.indexOf(",") || -1 !== i.indexOf(",")) && (C = C.join(" ").replace(D, ", ").split(" "), R = R.join(" ").replace(D, ", ").split(" "), k = C.length), k !== R.length && (C = (n || "").split(" "), k = C.length), a.plugin = l, a.setRatio = u, f = 0; k > f; f++) if (c = C[f], g = R[f], T = parseFloat(c), T || 0 === T) a.appendXtra("", T, ie(g, T), g.replace(m, ""), A && -1 !== g.indexOf("px"), !0);else if (s && ("#" === c.charAt(0) || ne[c] || b.test(c))) S = "," === g.charAt(g.length - 1) ? ")," : ")", c = oe(c), g = oe(g), w = c.length + g.length > 6, w && !Y && 0 === g[3] ? (a["xs" + a.l] += a.l ? " transparent" : "transparent", a.e = a.e.split(R[f]).join("transparent")) : (Y || (w = !1), a.appendXtra(w ? "rgba(" : "rgb(", c[0], g[0] - c[0], ",", !0, !0).appendXtra("", c[1], g[1] - c[1], ",", !0).appendXtra("", c[2], g[2] - c[2], w ? "," : S, !0), w && (c = 4 > c.length ? 1 : c[3], a.appendXtra("", c, (4 > g.length ? 1 : g[3]) - c, S, !1)));else if (v = c.match(d)) { + if (y = g.match(m), !y || y.length !== v.length) return a; + + for (p = 0, _ = 0; v.length > _; _++) P = v[_], x = c.indexOf(P, p), a.appendXtra(c.substr(p, x - p), Number(P), ie(y[_], P), "", A && "px" === c.substr(x + P.length, 2), 0 === _), p = x + P.length; + + a["xs" + a.l] += c.substr(p); + } else a["xs" + a.l] += a.l ? " " + c : c; + + if (-1 !== r.indexOf("=") && a.data) { + for (S = a.xs0 + a.data.s, f = 1; a.l > f; f++) S += a["xs" + f] + a.data["xn" + f]; + + a.e = S + a["xs" + f]; + } + + return a.l || (a.type = -1, a.xs0 = a.e), a.xfirst || a; + }, + ce = 9; + + for (l = _e.prototype, l.l = l.pr = 0; --ce > 0;) l["xn" + ce] = 0, l["xs" + ce] = ""; + + l.xs0 = "", l._next = l._prev = l.xfirst = l.data = l.plugin = l.setRatio = l.rxp = null, l.appendXtra = function (t, e, i, r, s, n) { + var a = this, + o = a.l; + return a["xs" + o] += n && o ? " " + t : t || "", i || 0 === o || a.plugin ? (a.l++, a.type = a.setRatio ? 2 : 1, a["xs" + a.l] = r || "", o > 0 ? (a.data["xn" + o] = e + i, a.rxp["xn" + o] = s, a["xn" + o] = e, a.plugin || (a.xfirst = new _e(a, "xn" + o, e, i, a.xfirst || a, 0, a.n, s, a.pr), a.xfirst.xs0 = 0), a) : (a.data = { + s: e + i + }, a.rxp = {}, a.s = e, a.c = i, a.r = s, a)) : (a["xs" + o] += e + (r || ""), a); + }; + + var de = function (t, e) { + e = e || {}, this.p = e.prefix ? V(t) || t : t, o[t] = o[this.p] = this, this.format = e.formatter || he(e.defaultValue, e.color, e.collapsible, e.multi), e.parser && (this.parse = e.parser), this.clrs = e.color, this.multi = e.multi, this.keyword = e.keyword, this.dflt = e.defaultValue, this.pr = e.priority || 0; + }, + me = E._registerComplexSpecialProp = function (t, e, i) { + "object" != typeof e && (e = { + parser: i + }); + var r, + s, + n = t.split(","), + a = e.defaultValue; + + for (i = i || [a], r = 0; n.length > r; r++) e.prefix = 0 === r && e.prefix, e.defaultValue = i[r] || a, s = new de(n[r], e); + }, + ge = function (t) { + if (!o[t]) { + var e = t.charAt(0).toUpperCase() + t.substr(1) + "Plugin"; + me(t, { + parser: function (t, i, r, s, n, a, l) { + var h = (window.GreenSockGlobals || window).com.greensock.plugins[e]; + return h ? (h._cssRegister(), o[r].parse(t, i, r, s, n, a, l)) : (U("Error: " + e + " js file not loaded."), n); + } + }); + } + }; + + l = de.prototype, l.parseComplex = function (t, e, i, r, s, n) { + var a, + o, + l, + h, + u, + f, + _ = this.keyword; + + if (this.multi && (D.test(i) || D.test(e) ? (o = e.replace(D, "|").split("|"), l = i.replace(D, "|").split("|")) : _ && (o = [e], l = [i])), l) { + for (h = l.length > o.length ? l.length : o.length, a = 0; h > a; a++) e = o[a] = o[a] || this.dflt, i = l[a] = l[a] || this.dflt, _ && (u = e.indexOf(_), f = i.indexOf(_), u !== f && (i = -1 === f ? l : o, i[a] += " " + _)); + + e = o.join(", "), i = l.join(", "); + } + + return pe(t, this.p, e, i, this.clrs, this.dflt, r, this.pr, s, n); + }, l.parse = function (t, e, i, r, n, a) { + return this.parseComplex(t.style, this.format(q(t, this.p, s, !1, this.dflt)), this.format(e), n, a); + }, a.registerSpecialProp = function (t, e, i) { + me(t, { + parser: function (t, r, s, n, a, o) { + var l = new _e(t, s, 0, 0, a, 2, s, !1, i); + return l.plugin = o, l.setRatio = e(t, r, n._tween, s), l; + }, + priority: i + }); + }; + + var ve = "scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective".split(","), + ye = V("transform"), + Te = W + "transform", + we = V("transformOrigin"), + xe = null !== V("perspective"), + be = E.Transform = function () { + this.skewY = 0; + }, + Pe = E.getTransform = function (t, e, i, r) { + if (t._gsTransform && i && !r) return t._gsTransform; + + var s, + n, + o, + l, + h, + u, + f, + _, + p, + c, + d, + m, + g, + v = i ? t._gsTransform || new be() : new be(), + y = 0 > v.scaleX, + T = 2e-5, + w = 1e5, + x = 179.99, + b = x * M, + P = xe ? parseFloat(q(t, we, e, !1, "0 0 0").split(" ")[2]) || v.zOrigin || 0 : 0; + + for (ye ? s = q(t, Te, e, !0) : t.currentStyle && (s = t.currentStyle.filter.match(A), s = s && 4 === s.length ? [s[0].substr(4), Number(s[2].substr(4)), Number(s[1].substr(4)), s[3].substr(4), v.x || 0, v.y || 0].join(",") : ""), n = (s || "").match(/(?:\-|\b)[\d\-\.e]+\b/gi) || [], o = n.length; --o > -1;) l = Number(n[o]), n[o] = (h = l - (l |= 0)) ? (0 | h * w + (0 > h ? -.5 : .5)) / w + l : l; + + if (16 === n.length) { + var S = n[8], + C = n[9], + R = n[10], + k = n[12], + O = n[13], + D = n[14]; + + if (v.zOrigin && (D = -v.zOrigin, k = S * D - n[12], O = C * D - n[13], D = R * D + v.zOrigin - n[14]), !i || r || null == v.rotationX) { + var N, + X, + z, + I, + E, + F, + Y, + B = n[0], + U = n[1], + W = n[2], + j = n[3], + V = n[4], + H = n[5], + Q = n[6], + Z = n[7], + $ = n[11], + G = Math.atan2(Q, R), + K = -b > G || G > b; + v.rotationX = G * L, G && (I = Math.cos(-G), E = Math.sin(-G), N = V * I + S * E, X = H * I + C * E, z = Q * I + R * E, S = V * -E + S * I, C = H * -E + C * I, R = Q * -E + R * I, $ = Z * -E + $ * I, V = N, H = X, Q = z), G = Math.atan2(S, B), v.rotationY = G * L, G && (F = -b > G || G > b, I = Math.cos(-G), E = Math.sin(-G), N = B * I - S * E, X = U * I - C * E, z = W * I - R * E, C = U * E + C * I, R = W * E + R * I, $ = j * E + $ * I, B = N, U = X, W = z), G = Math.atan2(U, H), v.rotation = G * L, G && (Y = -b > G || G > b, I = Math.cos(-G), E = Math.sin(-G), B = B * I + V * E, X = U * I + H * E, H = U * -E + H * I, Q = W * -E + Q * I, U = X), Y && K ? v.rotation = v.rotationX = 0 : Y && F ? v.rotation = v.rotationY = 0 : F && K && (v.rotationY = v.rotationX = 0), v.scaleX = (0 | Math.sqrt(B * B + U * U) * w + .5) / w, v.scaleY = (0 | Math.sqrt(H * H + C * C) * w + .5) / w, v.scaleZ = (0 | Math.sqrt(Q * Q + R * R) * w + .5) / w, v.skewX = 0, v.perspective = $ ? 1 / (0 > $ ? -$ : $) : 0, v.x = k, v.y = O, v.z = D; + } + } else if (!(xe && !r && n.length && v.x === n[4] && v.y === n[5] && (v.rotationX || v.rotationY) || void 0 !== v.x && "none" === q(t, "display", e))) { + var J = n.length >= 6, + te = J ? n[0] : 1, + ee = n[1] || 0, + ie = n[2] || 0, + re = J ? n[3] : 1; + v.x = n[4] || 0, v.y = n[5] || 0, u = Math.sqrt(te * te + ee * ee), f = Math.sqrt(re * re + ie * ie), _ = te || ee ? Math.atan2(ee, te) * L : v.rotation || 0, p = ie || re ? Math.atan2(ie, re) * L + _ : v.skewX || 0, c = u - Math.abs(v.scaleX || 0), d = f - Math.abs(v.scaleY || 0), Math.abs(p) > 90 && 270 > Math.abs(p) && (y ? (u *= -1, p += 0 >= _ ? 180 : -180, _ += 0 >= _ ? 180 : -180) : (f *= -1, p += 0 >= p ? 180 : -180)), m = (_ - v.rotation) % 180, g = (p - v.skewX) % 180, (void 0 === v.skewX || c > T || -T > c || d > T || -T > d || m > -x && x > m && false | m * w || g > -x && x > g && false | g * w) && (v.scaleX = u, v.scaleY = f, v.rotation = _, v.skewX = p), xe && (v.rotationX = v.rotationY = v.z = 0, v.perspective = parseFloat(a.defaultTransformPerspective) || 0, v.scaleZ = 1); + } + + v.zOrigin = P; + + for (o in v) T > v[o] && v[o] > -T && (v[o] = 0); + + return i && (t._gsTransform = v), v; + }, + Se = function (t) { + var e, + i, + r = this.data, + s = -r.rotation * M, + n = s + r.skewX * M, + a = 1e5, + o = (0 | Math.cos(s) * r.scaleX * a) / a, + l = (0 | Math.sin(s) * r.scaleX * a) / a, + h = (0 | Math.sin(n) * -r.scaleY * a) / a, + u = (0 | Math.cos(n) * r.scaleY * a) / a, + f = this.t.style, + _ = this.t.currentStyle; + + if (_) { + i = l, l = -h, h = -i, e = _.filter, f.filter = ""; + var p, + d, + m = this.t.offsetWidth, + g = this.t.offsetHeight, + v = "absolute" !== _.position, + w = "progid:DXImageTransform.Microsoft.Matrix(M11=" + o + ", M12=" + l + ", M21=" + h + ", M22=" + u, + x = r.x, + b = r.y; + + if (null != r.ox && (p = (r.oxp ? .01 * m * r.ox : r.ox) - m / 2, d = (r.oyp ? .01 * g * r.oy : r.oy) - g / 2, x += p - (p * o + d * l), b += d - (p * h + d * u)), v ? (p = m / 2, d = g / 2, w += ", Dx=" + (p - (p * o + d * l) + x) + ", Dy=" + (d - (p * h + d * u) + b) + ")") : w += ", sizingMethod='auto expand')", f.filter = -1 !== e.indexOf("DXImageTransform.Microsoft.Matrix(") ? e.replace(O, w) : w + " " + e, (0 === t || 1 === t) && 1 === o && 0 === l && 0 === h && 1 === u && (v && -1 === w.indexOf("Dx=0, Dy=0") || T.test(e) && 100 !== parseFloat(RegExp.$1) || -1 === e.indexOf("gradient(" && e.indexOf("Alpha")) && f.removeAttribute("filter")), !v) { + var P, + S, + C, + R = 8 > c ? 1 : -1; + + for (p = r.ieOffsetX || 0, d = r.ieOffsetY || 0, r.ieOffsetX = Math.round((m - ((0 > o ? -o : o) * m + (0 > l ? -l : l) * g)) / 2 + x), r.ieOffsetY = Math.round((g - ((0 > u ? -u : u) * g + (0 > h ? -h : h) * m)) / 2 + b), ce = 0; 4 > ce; ce++) S = J[ce], P = _[S], i = -1 !== P.indexOf("px") ? parseFloat(P) : Q(this.t, S, parseFloat(P), P.replace(y, "")) || 0, C = i !== r[S] ? 2 > ce ? -r.ieOffsetX : -r.ieOffsetY : 2 > ce ? p - r.ieOffsetX : d - r.ieOffsetY, f[S] = (r[S] = Math.round(i - C * (0 === ce || 2 === ce ? 1 : R))) + "px"; + } + } + }, + Ce = E.set3DTransformRatio = function (t) { + var e, + i, + r, + s, + n, + a, + o, + l, + h, + u, + f, + p, + c, + d, + m, + g, + v, + y, + T, + w, + x, + b, + P, + S = this.data, + C = this.t.style, + R = S.rotation * M, + k = S.scaleX, + A = S.scaleY, + O = S.scaleZ, + D = S.perspective; + if (!(1 !== t && 0 !== t || "auto" !== S.force3D || S.rotationY || S.rotationX || 1 !== O || D || S.z)) return Re.call(this, t), void 0; + + if (_) { + var L = 1e-4; + L > k && k > -L && (k = O = 2e-5), L > A && A > -L && (A = O = 2e-5), !D || S.z || S.rotationX || S.rotationY || (D = 0); + } + + if (R || S.skewX) y = Math.cos(R), T = Math.sin(R), e = y, n = T, S.skewX && (R -= S.skewX * M, y = Math.cos(R), T = Math.sin(R), "simple" === S.skewType && (w = Math.tan(S.skewX * M), w = Math.sqrt(1 + w * w), y *= w, T *= w)), i = -T, a = y;else { + if (!(S.rotationY || S.rotationX || 1 !== O || D)) return C[ye] = "translate3d(" + S.x + "px," + S.y + "px," + S.z + "px)" + (1 !== k || 1 !== A ? " scale(" + k + "," + A + ")" : ""), void 0; + e = a = 1, i = n = 0; + } + f = 1, r = s = o = l = h = u = p = c = d = 0, m = D ? -1 / D : 0, g = S.zOrigin, v = 1e5, R = S.rotationY * M, R && (y = Math.cos(R), T = Math.sin(R), h = f * -T, c = m * -T, r = e * T, o = n * T, f *= y, m *= y, e *= y, n *= y), R = S.rotationX * M, R && (y = Math.cos(R), T = Math.sin(R), w = i * y + r * T, x = a * y + o * T, b = u * y + f * T, P = d * y + m * T, r = i * -T + r * y, o = a * -T + o * y, f = u * -T + f * y, m = d * -T + m * y, i = w, a = x, u = b, d = P), 1 !== O && (r *= O, o *= O, f *= O, m *= O), 1 !== A && (i *= A, a *= A, u *= A, d *= A), 1 !== k && (e *= k, n *= k, h *= k, c *= k), g && (p -= g, s = r * p, l = o * p, p = f * p + g), s = (w = (s += S.x) - (s |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + s : s, l = (w = (l += S.y) - (l |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + l : l, p = (w = (p += S.z) - (p |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + p : p, C[ye] = "matrix3d(" + [(0 | e * v) / v, (0 | n * v) / v, (0 | h * v) / v, (0 | c * v) / v, (0 | i * v) / v, (0 | a * v) / v, (0 | u * v) / v, (0 | d * v) / v, (0 | r * v) / v, (0 | o * v) / v, (0 | f * v) / v, (0 | m * v) / v, s, l, p, D ? 1 + -p / D : 1].join(",") + ")"; + }, + Re = E.set2DTransformRatio = function (t) { + var e, + i, + r, + s, + n, + a = this.data, + o = this.t, + l = o.style; + return a.rotationX || a.rotationY || a.z || a.force3D === !0 || "auto" === a.force3D && 1 !== t && 0 !== t ? (this.setRatio = Ce, Ce.call(this, t), void 0) : (a.rotation || a.skewX ? (e = a.rotation * M, i = e - a.skewX * M, r = 1e5, s = a.scaleX * r, n = a.scaleY * r, l[ye] = "matrix(" + (0 | Math.cos(e) * s) / r + "," + (0 | Math.sin(e) * s) / r + "," + (0 | Math.sin(i) * -n) / r + "," + (0 | Math.cos(i) * n) / r + "," + a.x + "," + a.y + ")") : l[ye] = "matrix(" + a.scaleX + ",0,0," + a.scaleY + "," + a.x + "," + a.y + ")", void 0); + }; + + me("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType", { + parser: function (t, e, i, r, n, o, l) { + if (r._transform) return n; + + var h, + u, + f, + _, + p, + c, + d, + m = r._transform = Pe(t, s, !0, l.parseTransform), + g = t.style, + v = 1e-6, + y = ve.length, + T = l, + w = {}; + + if ("string" == typeof T.transform && ye) f = z.style, f[ye] = T.transform, f.display = "block", f.position = "absolute", X.body.appendChild(z), h = Pe(z, null, !1), X.body.removeChild(z);else if ("object" == typeof T) { + if (h = { + scaleX: re(null != T.scaleX ? T.scaleX : T.scale, m.scaleX), + scaleY: re(null != T.scaleY ? T.scaleY : T.scale, m.scaleY), + scaleZ: re(T.scaleZ, m.scaleZ), + x: re(T.x, m.x), + y: re(T.y, m.y), + z: re(T.z, m.z), + perspective: re(T.transformPerspective, m.perspective) + }, d = T.directionalRotation, null != d) if ("object" == typeof d) for (f in d) T[f] = d[f];else T.rotation = d; + h.rotation = se("rotation" in T ? T.rotation : "shortRotation" in T ? T.shortRotation + "_short" : "rotationZ" in T ? T.rotationZ : m.rotation, m.rotation, "rotation", w), xe && (h.rotationX = se("rotationX" in T ? T.rotationX : "shortRotationX" in T ? T.shortRotationX + "_short" : m.rotationX || 0, m.rotationX, "rotationX", w), h.rotationY = se("rotationY" in T ? T.rotationY : "shortRotationY" in T ? T.shortRotationY + "_short" : m.rotationY || 0, m.rotationY, "rotationY", w)), h.skewX = null == T.skewX ? m.skewX : se(T.skewX, m.skewX), h.skewY = null == T.skewY ? m.skewY : se(T.skewY, m.skewY), (u = h.skewY - m.skewY) && (h.skewX += u, h.rotation += u); + } + + for (xe && null != T.force3D && (m.force3D = T.force3D, c = !0), m.skewType = T.skewType || m.skewType || a.defaultSkewType, p = m.force3D || m.z || m.rotationX || m.rotationY || h.z || h.rotationX || h.rotationY || h.perspective, p || null == T.scale || (h.scaleZ = 1); --y > -1;) i = ve[y], _ = h[i] - m[i], (_ > v || -v > _ || null != N[i]) && (c = !0, n = new _e(m, i, m[i], _, n), i in w && (n.e = w[i]), n.xs0 = 0, n.plugin = o, r._overwriteProps.push(n.n)); + + return _ = T.transformOrigin, (_ || xe && p && m.zOrigin) && (ye ? (c = !0, i = we, _ = (_ || q(t, i, s, !1, "50% 50%")) + "", n = new _e(g, i, 0, 0, n, -1, "transformOrigin"), n.b = g[i], n.plugin = o, xe ? (f = m.zOrigin, _ = _.split(" "), m.zOrigin = (_.length > 2 && (0 === f || "0px" !== _[2]) ? parseFloat(_[2]) : f) || 0, n.xs0 = n.e = _[0] + " " + (_[1] || "50%") + " 0px", n = new _e(m, "zOrigin", 0, 0, n, -1, n.n), n.b = f, n.xs0 = n.e = m.zOrigin) : n.xs0 = n.e = _) : ee(_ + "", m)), c && (r._transformType = p || 3 === this._transformType ? 3 : 2), n; + }, + prefix: !0 + }), me("boxShadow", { + defaultValue: "0px 0px 0px 0px #999", + prefix: !0, + color: !0, + multi: !0, + keyword: "inset" + }), me("borderRadius", { + defaultValue: "0px", + parser: function (t, e, i, n, a) { + e = this.format(e); + + var o, + l, + h, + u, + f, + _, + p, + c, + d, + m, + g, + v, + y, + T, + w, + x, + b = ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomRightRadius", "borderBottomLeftRadius"], + P = t.style; + + for (d = parseFloat(t.offsetWidth), m = parseFloat(t.offsetHeight), o = e.split(" "), l = 0; b.length > l; l++) this.p.indexOf("border") && (b[l] = V(b[l])), f = u = q(t, b[l], s, !1, "0px"), -1 !== f.indexOf(" ") && (u = f.split(" "), f = u[0], u = u[1]), _ = h = o[l], p = parseFloat(f), v = f.substr((p + "").length), y = "=" === _.charAt(1), y ? (c = parseInt(_.charAt(0) + "1", 10), _ = _.substr(2), c *= parseFloat(_), g = _.substr((c + "").length - (0 > c ? 1 : 0)) || "") : (c = parseFloat(_), g = _.substr((c + "").length)), "" === g && (g = r[i] || v), g !== v && (T = Q(t, "borderLeft", p, v), w = Q(t, "borderTop", p, v), "%" === g ? (f = 100 * (T / d) + "%", u = 100 * (w / m) + "%") : "em" === g ? (x = Q(t, "borderLeft", 1, "em"), f = T / x + "em", u = w / x + "em") : (f = T + "px", u = w + "px"), y && (_ = parseFloat(f) + c + g, h = parseFloat(u) + c + g)), a = pe(P, b[l], f + " " + u, _ + " " + h, !1, "0px", a); + + return a; + }, + prefix: !0, + formatter: he("0px 0px 0px 0px", !1, !0) + }), me("backgroundPosition", { + defaultValue: "0 0", + parser: function (t, e, i, r, n, a) { + var o, + l, + h, + u, + f, + _, + p = "background-position", + d = s || H(t, null), + m = this.format((d ? c ? d.getPropertyValue(p + "-x") + " " + d.getPropertyValue(p + "-y") : d.getPropertyValue(p) : t.currentStyle.backgroundPositionX + " " + t.currentStyle.backgroundPositionY) || "0 0"), + g = this.format(e); + + if (-1 !== m.indexOf("%") != (-1 !== g.indexOf("%")) && (_ = q(t, "backgroundImage").replace(C, ""), _ && "none" !== _)) { + for (o = m.split(" "), l = g.split(" "), I.setAttribute("src", _), h = 2; --h > -1;) m = o[h], u = -1 !== m.indexOf("%"), u !== (-1 !== l[h].indexOf("%")) && (f = 0 === h ? t.offsetWidth - I.width : t.offsetHeight - I.height, o[h] = u ? parseFloat(m) / 100 * f + "px" : 100 * (parseFloat(m) / f) + "%"); + + m = o.join(" "); + } + + return this.parseComplex(t.style, m, g, n, a); + }, + formatter: ee + }), me("backgroundSize", { + defaultValue: "0 0", + formatter: ee + }), me("perspective", { + defaultValue: "0px", + prefix: !0 + }), me("perspectiveOrigin", { + defaultValue: "50% 50%", + prefix: !0 + }), me("transformStyle", { + prefix: !0 + }), me("backfaceVisibility", { + prefix: !0 + }), me("userSelect", { + prefix: !0 + }), me("margin", { + parser: ue("marginTop,marginRight,marginBottom,marginLeft") + }), me("padding", { + parser: ue("paddingTop,paddingRight,paddingBottom,paddingLeft") + }), me("clip", { + defaultValue: "rect(0px,0px,0px,0px)", + parser: function (t, e, i, r, n, a) { + var o, l, h; + return 9 > c ? (l = t.currentStyle, h = 8 > c ? " " : ",", o = "rect(" + l.clipTop + h + l.clipRight + h + l.clipBottom + h + l.clipLeft + ")", e = this.format(e).split(",").join(h)) : (o = this.format(q(t, this.p, s, !1, this.dflt)), e = this.format(e)), this.parseComplex(t.style, o, e, n, a); + } + }), me("textShadow", { + defaultValue: "0px 0px 0px #999", + color: !0, + multi: !0 + }), me("autoRound,strictUnits", { + parser: function (t, e, i, r, s) { + return s; + } + }), me("border", { + defaultValue: "0px solid #000", + parser: function (t, e, i, r, n, a) { + return this.parseComplex(t.style, this.format(q(t, "borderTopWidth", s, !1, "0px") + " " + q(t, "borderTopStyle", s, !1, "solid") + " " + q(t, "borderTopColor", s, !1, "#000")), this.format(e), n, a); + }, + color: !0, + formatter: function (t) { + var e = t.split(" "); + return e[0] + " " + (e[1] || "solid") + " " + (t.match(le) || ["#000"])[0]; + } + }), me("borderWidth", { + parser: ue("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth") + }), me("float,cssFloat,styleFloat", { + parser: function (t, e, i, r, s) { + var n = t.style, + a = "cssFloat" in n ? "cssFloat" : "styleFloat"; + return new _e(n, a, 0, 0, s, -1, i, !1, 0, n[a], e); + } + }); + + var ke = function (t) { + var e, + i = this.t, + r = i.filter || q(this.data, "filter"), + s = 0 | this.s + this.c * t; + 100 === s && (-1 === r.indexOf("atrix(") && -1 === r.indexOf("radient(") && -1 === r.indexOf("oader(") ? (i.removeAttribute("filter"), e = !q(this.data, "filter")) : (i.filter = r.replace(x, ""), e = !0)), e || (this.xn1 && (i.filter = r = r || "alpha(opacity=" + s + ")"), -1 === r.indexOf("pacity") ? 0 === s && this.xn1 || (i.filter = r + " alpha(opacity=" + s + ")") : i.filter = r.replace(T, "opacity=" + s)); + }; + + me("opacity,alpha,autoAlpha", { + defaultValue: "1", + parser: function (t, e, i, r, n, a) { + var o = parseFloat(q(t, "opacity", s, !1, "1")), + l = t.style, + h = "autoAlpha" === i; + return "string" == typeof e && "=" === e.charAt(1) && (e = ("-" === e.charAt(0) ? -1 : 1) * parseFloat(e.substr(2)) + o), h && 1 === o && "hidden" === q(t, "visibility", s) && 0 !== e && (o = 0), Y ? n = new _e(l, "opacity", o, e - o, n) : (n = new _e(l, "opacity", 100 * o, 100 * (e - o), n), n.xn1 = h ? 1 : 0, l.zoom = 1, n.type = 2, n.b = "alpha(opacity=" + n.s + ")", n.e = "alpha(opacity=" + (n.s + n.c) + ")", n.data = t, n.plugin = a, n.setRatio = ke), h && (n = new _e(l, "visibility", 0, 0, n, -1, null, !1, 0, 0 !== o ? "inherit" : "hidden", 0 === e ? "hidden" : "inherit"), n.xs0 = "inherit", r._overwriteProps.push(n.n), r._overwriteProps.push(i)), n; + } + }); + + var Ae = function (t, e) { + e && (t.removeProperty ? ("ms" === e.substr(0, 2) && (e = "M" + e.substr(1)), t.removeProperty(e.replace(P, "-$1").toLowerCase())) : t.removeAttribute(e)); + }, + Oe = function (t) { + if (this.t._gsClassPT = this, 1 === t || 0 === t) { + this.t.setAttribute("class", 0 === t ? this.b : this.e); + + for (var e = this.data, i = this.t.style; e;) e.v ? i[e.p] = e.v : Ae(i, e.p), e = e._next; + + 1 === t && this.t._gsClassPT === this && (this.t._gsClassPT = null); + } else this.t.getAttribute("class") !== this.e && this.t.setAttribute("class", this.e); + }; + + me("className", { + parser: function (t, e, r, n, a, o, l) { + var h, + u, + f, + _, + p, + c = t.getAttribute("class") || "", + d = t.style.cssText; + + if (a = n._classNamePT = new _e(t, r, 0, 0, a, 2), a.setRatio = Oe, a.pr = -11, i = !0, a.b = c, u = $(t, s), f = t._gsClassPT) { + for (_ = {}, p = f.data; p;) _[p.p] = 1, p = p._next; + + f.setRatio(1); + } + + return t._gsClassPT = a, a.e = "=" !== e.charAt(1) ? e : c.replace(RegExp("\\s*\\b" + e.substr(2) + "\\b"), "") + ("+" === e.charAt(0) ? " " + e.substr(2) : ""), n._tween._duration && (t.setAttribute("class", a.e), h = G(t, u, $(t), l, _), t.setAttribute("class", c), a.data = h.firstMPT, t.style.cssText = d, a = a.xfirst = n.parse(t, h.difs, a, o)), a; + } + }); + + var De = function (t) { + if ((1 === t || 0 === t) && this.data._totalTime === this.data._totalDuration && "isFromStart" !== this.data.data) { + var e, + i, + r, + s, + n = this.t.style, + a = o.transform.parse; + if ("all" === this.e) n.cssText = "", s = !0;else for (e = this.e.split(","), r = e.length; --r > -1;) i = e[r], o[i] && (o[i].parse === a ? s = !0 : i = "transformOrigin" === i ? we : o[i].p), Ae(n, i); + s && (Ae(n, ye), this.t._gsTransform && delete this.t._gsTransform); + } + }; + + for (me("clearProps", { + parser: function (t, e, r, s, n) { + return n = new _e(t, r, 0, 0, n, 2), n.setRatio = De, n.e = e, n.pr = -10, n.data = s._tween, i = !0, n; + } + }), l = "bezier,throwProps,physicsProps,physics2D".split(","), ce = l.length; ce--;) ge(l[ce]); + + l = a.prototype, l._firstPT = null, l._onInitTween = function (t, e, o) { + if (!t.nodeType) return !1; + this._target = t, this._tween = o, this._vars = e, h = e.autoRound, i = !1, r = e.suffixMap || a.suffixMap, s = H(t, ""), n = this._overwriteProps; + + var l, + _, + c, + d, + m, + g, + v, + y, + T, + x = t.style; + + if (u && "" === x.zIndex && (l = q(t, "zIndex", s), ("auto" === l || "" === l) && this._addLazySet(x, "zIndex", 0)), "string" == typeof e && (d = x.cssText, l = $(t, s), x.cssText = d + ";" + e, l = G(t, l, $(t)).difs, !Y && w.test(e) && (l.opacity = parseFloat(RegExp.$1)), e = l, x.cssText = d), this._firstPT = _ = this.parse(t, e, null), this._transformType) { + for (T = 3 === this._transformType, ye ? f && (u = !0, "" === x.zIndex && (v = q(t, "zIndex", s), ("auto" === v || "" === v) && this._addLazySet(x, "zIndex", 0)), p && this._addLazySet(x, "WebkitBackfaceVisibility", this._vars.WebkitBackfaceVisibility || (T ? "visible" : "hidden"))) : x.zoom = 1, c = _; c && c._next;) c = c._next; + + y = new _e(t, "transform", 0, 0, null, 2), this._linkCSSP(y, null, c), y.setRatio = T && xe ? Ce : ye ? Re : Se, y.data = this._transform || Pe(t, s, !0), n.pop(); + } + + if (i) { + for (; _;) { + for (g = _._next, c = d; c && c.pr > _.pr;) c = c._next; + + (_._prev = c ? c._prev : m) ? _._prev._next = _ : d = _, (_._next = c) ? c._prev = _ : m = _, _ = g; + } + + this._firstPT = d; + } + + return !0; + }, l.parse = function (t, e, i, n) { + var a, + l, + u, + f, + _, + p, + c, + d, + m, + g, + v = t.style; + + for (a in e) p = e[a], l = o[a], l ? i = l.parse(t, p, a, this, i, n, e) : (_ = q(t, a, s) + "", m = "string" == typeof p, "color" === a || "fill" === a || "stroke" === a || -1 !== a.indexOf("Color") || m && b.test(p) ? (m || (p = oe(p), p = (p.length > 3 ? "rgba(" : "rgb(") + p.join(",") + ")"), i = pe(v, a, _, p, !0, "transparent", i, 0, n)) : !m || -1 === p.indexOf(" ") && -1 === p.indexOf(",") ? (u = parseFloat(_), c = u || 0 === u ? _.substr((u + "").length) : "", ("" === _ || "auto" === _) && ("width" === a || "height" === a ? (u = te(t, a, s), c = "px") : "left" === a || "top" === a ? (u = Z(t, a, s), c = "px") : (u = "opacity" !== a ? 0 : 1, c = "")), g = m && "=" === p.charAt(1), g ? (f = parseInt(p.charAt(0) + "1", 10), p = p.substr(2), f *= parseFloat(p), d = p.replace(y, "")) : (f = parseFloat(p), d = m ? p.substr((f + "").length) || "" : ""), "" === d && (d = a in r ? r[a] : c), p = f || 0 === f ? (g ? f + u : f) + d : e[a], c !== d && "" !== d && (f || 0 === f) && u && (u = Q(t, a, u, c), "%" === d ? (u /= Q(t, a, 100, "%") / 100, e.strictUnits !== !0 && (_ = u + "%")) : "em" === d ? u /= Q(t, a, 1, "em") : "px" !== d && (f = Q(t, a, f, d), d = "px"), g && (f || 0 === f) && (p = f + u + d)), g && (f += u), !u && 0 !== u || !f && 0 !== f ? void 0 !== v[a] && (p || "NaN" != p + "" && null != p) ? (i = new _e(v, a, f || u || 0, 0, i, -1, a, !1, 0, _, p), i.xs0 = "none" !== p || "display" !== a && -1 === a.indexOf("Style") ? p : _) : U("invalid " + a + " tween value: " + e[a]) : (i = new _e(v, a, u, f - u, i, 0, a, h !== !1 && ("px" === d || "zIndex" === a), 0, _, p), i.xs0 = d)) : i = pe(v, a, _, p, !0, null, i, 0, n)), n && i && !i.plugin && (i.plugin = n); + + return i; + }, l.setRatio = function (t) { + var e, + i, + r, + s = this._firstPT, + n = 1e-6; + if (1 !== t || this._tween._time !== this._tween._duration && 0 !== this._tween._time) { + if (t || this._tween._time !== this._tween._duration && 0 !== this._tween._time || this._tween._rawPrevTime === -1e-6) for (; s;) { + if (e = s.c * t + s.s, s.r ? e = Math.round(e) : n > e && e > -n && (e = 0), s.type) { + if (1 === s.type) { + if (r = s.l, 2 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2;else if (3 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3;else if (4 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4;else if (5 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4 + s.xn4 + s.xs5;else { + for (i = s.xs0 + e + s.xs1, r = 1; s.l > r; r++) i += s["xn" + r] + s["xs" + (r + 1)]; + + s.t[s.p] = i; + } + } else -1 === s.type ? s.t[s.p] = s.xs0 : s.setRatio && s.setRatio(t); + } else s.t[s.p] = e + s.xs0; + s = s._next; + } else for (; s;) 2 !== s.type ? s.t[s.p] = s.b : s.setRatio(t), s = s._next; + } else for (; s;) 2 !== s.type ? s.t[s.p] = s.e : s.setRatio(t), s = s._next; + }, l._enableTransforms = function (t) { + this._transformType = t || 3 === this._transformType ? 3 : 2, this._transform = this._transform || Pe(this._target, s, !0); + }; + + var Me = function () { + this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0); + }; + + l._addLazySet = function (t, e, i) { + var r = this._firstPT = new _e(t, e, 0, 0, this._firstPT, 2); + r.e = i, r.setRatio = Me, r.data = this; + }, l._linkCSSP = function (t, e, i, r) { + return t && (e && (e._prev = t), t._next && (t._next._prev = t._prev), t._prev ? t._prev._next = t._next : this._firstPT === t && (this._firstPT = t._next, r = !0), i ? i._next = t : r || null !== this._firstPT || (this._firstPT = t), t._next = e, t._prev = i), t; + }, l._kill = function (e) { + var i, + r, + s, + n = e; + + if (e.autoAlpha || e.alpha) { + n = {}; + + for (r in e) n[r] = e[r]; + + n.opacity = 1, n.autoAlpha && (n.visibility = 1); + } + + return e.className && (i = this._classNamePT) && (s = i.xfirst, s && s._prev ? this._linkCSSP(s._prev, i._next, s._prev._prev) : s === this._firstPT && (this._firstPT = i._next), i._next && this._linkCSSP(i._next, i._next._next, s._prev), this._classNamePT = null), t.prototype._kill.call(this, n); + }; + + var Le = function (t, e, i) { + var r, s, n, a; + if (t.slice) for (s = t.length; --s > -1;) Le(t[s], e, i);else for (r = t.childNodes, s = r.length; --s > -1;) n = r[s], a = n.type, n.style && (e.push($(n)), i && i.push(n)), 1 !== a && 9 !== a && 11 !== a || !n.childNodes.length || Le(n, e, i); + }; + + return a.cascadeTo = function (t, i, r) { + var s, + n, + a, + o = e.to(t, i, r), + l = [o], + h = [], + u = [], + f = [], + _ = e._internals.reservedProps; + + for (t = o._targets || o.target, Le(t, h, f), o.render(i, !0), Le(t, u), o.render(0, !0), o._enabled(!0), s = f.length; --s > -1;) if (n = G(f[s], h[s], u[s]), n.firstMPT) { + n = n.difs; + + for (a in r) _[a] && (n[a] = r[a]); + + l.push(e.to(f[s], i, n)); + } + + return l; + }, t.activate([a]), a; + }, !0); +}), window._gsDefine && window._gsQueue.pop()(); + +},{}],13:[function(require,module,exports){ +"use strict"; + +/*! + * VERSION: 1.7.3 + * DATE: 2014-01-14 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. + * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + **/ +(window._gsQueue || (window._gsQueue = [])).push(function () { + "use strict"; + + var t = document.documentElement, + e = window, + i = function (i, s) { + var r = "x" === s ? "Width" : "Height", + n = "scroll" + r, + a = "client" + r, + o = document.body; + return i === e || i === t || i === o ? Math.max(t[n], o[n]) - (e["inner" + r] || Math.max(t[a], o[a])) : i[n] - i["offset" + r]; + }, + s = window._gsDefine.plugin({ + propName: "scrollTo", + API: 2, + version: "1.7.3", + init: function (t, s, r) { + return this._wdw = t === e, this._target = t, this._tween = r, "object" != typeof s && (s = { + y: s + }), this._autoKill = s.autoKill !== !1, this.x = this.xPrev = this.getX(), this.y = this.yPrev = this.getY(), null != s.x ? (this._addTween(this, "x", this.x, "max" === s.x ? i(t, "x") : s.x, "scrollTo_x", !0), this._overwriteProps.push("scrollTo_x")) : this.skipX = !0, null != s.y ? (this._addTween(this, "y", this.y, "max" === s.y ? i(t, "y") : s.y, "scrollTo_y", !0), this._overwriteProps.push("scrollTo_y")) : this.skipY = !0, !0; + }, + set: function (t) { + this._super.setRatio.call(this, t); + + var s = this._wdw || !this.skipX ? this.getX() : this.xPrev, + r = this._wdw || !this.skipY ? this.getY() : this.yPrev, + n = r - this.yPrev, + a = s - this.xPrev; + this._autoKill && (!this.skipX && (a > 7 || -7 > a) && i(this._target, "x") > s && (this.skipX = !0), !this.skipY && (n > 7 || -7 > n) && i(this._target, "y") > r && (this.skipY = !0), this.skipX && this.skipY && this._tween.kill()), this._wdw ? e.scrollTo(this.skipX ? s : this.x, this.skipY ? r : this.y) : (this.skipY || (this._target.scrollTop = this.y), this.skipX || (this._target.scrollLeft = this.x)), this.xPrev = this.x, this.yPrev = this.y; + } + }), + r = s.prototype; + + s.max = i, r.getX = function () { + return this._wdw ? null != e.pageXOffset ? e.pageXOffset : null != t.scrollLeft ? t.scrollLeft : document.body.scrollLeft : this._target.scrollLeft; + }, r.getY = function () { + return this._wdw ? null != e.pageYOffset ? e.pageYOffset : null != t.scrollTop ? t.scrollTop : document.body.scrollTop : this._target.scrollTop; + }, r._kill = function (t) { + return t.scrollTo_x && (this.skipX = !0), t.scrollTo_y && (this.skipY = !0), this._super._kill.call(this, t); + }; +}), window._gsDefine && window._gsQueue.pop()(); + +},{}]},{},[2]) +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJzcmMvanMvZ2xvYmFsL2FqYXguanMiLCJzcmMvanMvZ2xvYmFsL2FwcC5qcyIsInNyYy9qcy9nbG9iYWwvYmVhY29uLmpzIiwic3JjL2pzL2dsb2JhbC9jb3VudGRvd24uanMiLCJzcmMvanMvZ2xvYmFsL2ZpZWxkcy5qcyIsInNyYy9qcy9nbG9iYWwvbWFpbi5qcyIsInNyYy9qcy9nbG9iYWwvcGFnZU1hbmFnZXIuan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ICAgICBfaXNSZWZyZXNoaW5nID0gdHJ1ZTtcbiAgICAgICAgICAgIGJ1dHRvbi50cmlnZ2VyKCAnYmx1cicgKTtcbiAgICAgICAgICAgIGJ1dHRvbi5hZGRDbGFzcygnd3ByLWlzTG9hZGluZycpO1xuICAgICAgICAgICAgZXhwaXJlLnJlbW92ZUNsYXNzKCd3cHItaXNWYWxpZCB3cHItaXNJbnZhbGlkJyk7XG5cbiAgICAgICAgICAgICQucG9zdChcbiAgICAgICAgICAgICAgICBhamF4dXJsLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgYWN0aW9uOiAncm9ja2V0X3JlZnJlc2hfY3VzdG9tZXJfZGF0YScsXG4gICAgICAgICAgICAgICAgICAgIF9hamF4X25vbmNlOiByb2NrZXRfYWpheF9kYXRhLm5vbmNlLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgZnVuY3Rpb24ocmVzcG9uc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgYnV0dG9uLnJlbW92ZUNsYXNzKCd3cHItaXNMb2FkaW5nJyk7XG4gICAgICAgICAgICAgICAgICAgIGJ1dHRvbi5hZGRDbGFzcygnd3ByLWlzSGlkZGVuJyk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKCB0cnVlID09PSByZXNwb25zZS5zdWNjZXNzICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgYWNjb3VudC5odG1sKHJlc3BvbnNlLmRhdGEubGljZW5zZV90eXBlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGV4cGlyZS5hZGRDbGFzcyhyZXNwb25zZS5kYXRhLmxpY2Vuc2VfY2xhc3MpLmh0bWwocmVzcG9uc2UuZGF0YS5saWNlbnNlX2V4cGlyYXRpb24pO1xuICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXR0b24ucmVtb3ZlQ2xhc3MoJ3dwci1pY29uLXJlZnJlc2ggd3ByLWlzSGlkZGVuJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnV0dG9uLmFkZENsYXNzKCd3cHItaWNvbi1jaGVjaycpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSwgMjUwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBlbHNle1xuICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXR0b24ucmVtb3ZlQ2xhc3MoJ3dwci1pY29uLXJlZnJlc2ggd3ByLWlzSGlkZGVuJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnV0dG9uLmFkZENsYXNzKCd3cHItaWNvbi1jbG9zZScpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSwgMjUwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgdlRMID0gbmV3IFRpbWVsaW5lTGl0ZSh7b25Db21wbGV0ZTpmdW5jdGlvbigpe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9pc1JlZnJlc2hpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH19KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAuc2V0KGJ1dHRvbiwge2Nzczp7Y2xhc3NOYW1lOicrPXdwci1pc0hpZGRlbid9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonLT13cHItaWNvbi1jaGVjayd9fSwgMC4yNSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonLT13cHItaWNvbi1jbG9zZSd9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonKz13cHItaWNvbi1yZWZyZXNoJ319LCAwLjI1KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAuc2V0KGJ1dHRvbiwge2Nzczp7Y2xhc3NOYW1lOictPXdwci1pc0hpZGRlbid9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgIDtcbiAgICAgICAgICAgICAgICAgICAgfSwgMjAwMCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfSk7XG5cbiAgICAvKipcbiAgICAgKiBTYXZlIFRvZ2dsZSBvcHRpb24gdmFsdWVzIG9uIGNoYW5nZVxuICAgICAqL1xuICAgICQoJy53cHItcmFkaW8gaW5wdXRbdHlwZT1jaGVja2JveF0nKS5vbignY2hhbmdlJywgZnVuY3Rpb24oZSkge1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgIHZhciBuYW1lICA9ICQodGhpcykuYXR0cignaWQnKTtcbiAgICAgICAgdmFyIHZhbHVlID0gJCh0aGlzKS5wcm9wKCdjaGVja2VkJykgPyAxIDogMDtcblxuXHRcdHZhciBleGNsdWRlZCA9IFsgJ2Nsb3VkZmxhcmVfYXV0b19zZXR0aW5ncycsICdjbG91ZGZsYXJlX2Rldm1vZGUnIF07XG5cdFx0aWYgKCBleGNsdWRlZC5pbmRleE9mKCBuYW1lICkgPj0gMCApIHtcblx0XHRcdHJldHVybjtcblx0XHR9XG5cbiAgICAgICAgJC5wb3N0KFxuICAgICAgICAgICAgYWpheHVybCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBhY3Rpb246ICdyb2NrZXRfdG9nZ2xlX29wdGlvbicsXG4gICAgICAgICAgICAgICAgX2FqYXhfbm9uY2U6IHJvY2tldF9hamF4X2RhdGEubm9uY2UsXG4gICAgICAgICAgICAgICAgb3B0aW9uOiB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Nob3coKTtcbiAgICAgICAgICAgICAgICAgICAgJCgnI3dwci1hY3Rpb24tcm9ja2V0X2VuYWJsZV9nb29nbGVfZm9udHMnKS5yZW1vdmVDbGFzcygnd3ByLWlzTG9hZGluZycpO1xuICAgICAgICAgICAgICAgICAgICAkKCcjbWluaWZ5X2dvb2dsZV9mb250cycpLnZhbCgxKTtcblx0XHRcdFx0fVxuXHRcdFx0fVxuICAgICAgICApO1xuICAgIH0pO1xuXG4gICAgJCggJyNyb2NrZXQtZGlzbWlzcy1wcm9tb3Rpb24nICkub24oICdjbGljaycsIGZ1bmN0aW9uKCBlICkge1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG5cbiAgICAgICAgJC5wb3N0KFxuICAgICAgICAgICAgYWpheHVybCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBhY3Rpb246ICdyb2NrZXRfZGlzbWlzc19wcm9tbycsXG4gICAgICAgICAgICAgICAgbm9uY2U6IHJvY2tldF9hamF4X2RhdGEubm9uY2VcbiAgICAgICAgICAgIH0sXG5cdFx0XHRmdW5jdGlvbihyZXNwb25zZSkge1xuXHRcdFx0XHRpZiAoIHJlc3BvbnNlLnN1Y2Nlc3MgKSB7XG5cdFx0XHRcdFx0JCgnI3JvY2tldC1wcm9tby1iYW5uZXInKS5oaWRlKCAnc2xvdycgKTtcblx0XHRcdFx0fVxuXHRcdFx0fVxuICAgICAgICApO1xuICAgIH0gKTtcblxuICAgICQoICcjcm9ja2V0LWRpc21pc3MtcmVuZXdhbCcgKS5vbiggJ2NsaWNrJywgZnVuY3Rpb24oIGUgKSB7XG4gICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcblxuICAgICAgICAkLnBvc3QoXG4gICAgICAgICAgICBhamF4dXJsLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGFjdGlvbjogJ3JvY2tldF9kaXNtaXNzX3JlbmV3YWwnLFxuICAgICAgICAgICAgICAgIG5vbmNlOiByb2NrZXRfYWpheF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yXG5pbXBvcnQgJy4uL2dsb2JhbC9iZWFjb24uanMnO1xyXG5pbXBvcnQgJy4uL2dsb2JhbC9hamF4LmpzJztcclxuaW1wb3J0ICcuLi9nbG9iYWwvcm9ja2V0Y2RuLmpzJztcclxuaW1wb3J0ICcuLi9nbG9iYWwvY291bnRkb3duLmpzJzsiLCJ2YXIgJCA9IGpRdWVyeTtcbiQoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCl7XG4gICAgaWYgKCdCZWFjb24nIGluIHdpbmRvdykge1xuICAgICAgICAvKipcbiAgICAgICAgICogU2hvdyBiZWFjb25zIG9uIGJ1dHRvbiBcImhlbHBcIiBjbGlja1xuICAgICAgICAgKi9cbiAgICAgICAgdmFyICRoZWxwID0gJCgnLndwci1pbmZvQWN0aW9uLS1oZWxwJyk7XG4gICAgICAgICRoZWxwLm9uKCdjbGljaycsIGZ1bmN0aW9uKGUpe1xuICAgICAgICAgICAgdmFyIGlkcyA9ICQodGhpcykuZGF0YSgnYmVhY29uLWlkJyk7XG4gICAgICAgICAgICB3cHJDYWxsQmVhY29uKGlkcyk7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGZ1bmN0aW9uIHdwckNhbGxCZWFjb24oYUlEKXtcbiAgICAgICAgICAgIGFJRCA9IGFJRC5zcGxpdCgnLCcpO1xuICAgICAgICAgICAgaWYgKCBhSUQubGVuZ3RoID09PSAwICkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmICggYUlELmxlbmd0aCA+IDEgKSB7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJzdWdnZXN0XCIsIGFJRCk7XG5cbiAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJvcGVuXCIpO1xuICAgICAgICAgICAgICAgICAgICB9LCAyMDApO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJhcnRpY2xlXCIsIGFJRC50b1N0cmluZygpKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgfVxuICAgIH1cbn0pO1xuIiwiZnVuY3Rpb24gZ2V0VGltZVJlbWFpbmluZyhlbmR0aW1lKXtcbiAgICBjb25zdCBzdGFydCA9IERhdGUubm93KCk7XG4gICAgY29uc3QgdG90YWwgPSAoZW5kdGltZSAqIDEwMDApIC0gc3RhcnQ7XG4gICAgY29uc3Qgc2Vjb25kcyA9IE1hdGguZmxvb3IoICh0b3RhbC8xMDAwKSAlIDYwICk7XG4gICAgY29uc3QgbWludXRlcyA9IE1hdGguZmxvb3IoICh0b3RhbC8xMDAwLzYwKSAlIDYwICk7XG4gICAgY29uc3QgaG91cnMgPSBNYXRoLmZsb29yKCAodG90YWwvKDEwMDAqNjAqNjApKSAlIDI0ICk7XG4gICAgY29uc3QgZGF5cyA9IE1hdGguZmxvb3IoIHRvdGFsLygxMDAwKjYwKjYwKjI0KSApO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgdG90YWwsXG4gICAgICAgIGRheXMsXG4gICAgICAgIGhvdXJzLFxuICAgICAgICBtaW51dGVzLFxuICAgICAgICBzZWNvbmRzXG4gICAgfTtcbn1cblxuZnVuY3Rpb24gaW5pdGlhbGl6ZUNsb2NrKGlkLCBlbmR0aW1lKSB7XG4gICAgY29uc3QgY2xvY2sgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChpZCk7XG5cbiAgICBpZiAoY2xvY2sgPT09IG51bGwpIHtcbiAgICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIGNvbnN0IGRheXNTcGFuID0gY2xvY2sucXVlcnlTZWxlY3RvcignLnJvY2tldC1jb3VudGRvd24tZGF5cycpO1xuICAgIGNvbnN0IGhvdXJz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B0aGUgZ2l2ZW4gY2hpbGQgZmllbGQgaGFzIGFuIGFjdGl2ZSBwYXJlbnQgZmllbGQuXG4gICAgICpcbiAgICAgKiBAcGFyYW0gIG9iamVjdCAkZmllbGQgQSBqUXVlcnkgb2JqZWN0IG9mIGEgXCIud3ByLWZpZWxkXCIgZmllbGQuXG4gICAgICogQHJldHVybiBib29sfG51bGxcbiAgICAgKi9cbiAgICBmdW5jdGlvbiB3cHJJc1BhcmVudEFjdGl2ZSggJGZpZWxkICkge1xuICAgICAgICB2YXIgJHBhcmVudDtcblxuICAgICAgICBpZiAoICEgJGZpZWxkLmxlbmd0aCApIHtcbiAgICAgICAgICAgIC8vIMKvXFxfKOODhClfL8KvXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgICRwYXJlbnQgPSAkZmllbGQuZGF0YSggJ3BhcmVudCcgKTtcblxuICAgICAgICBpZiAoIHR5cGVvZiAkcGFyZW50ICE9PSAnc3RyaW5nJyApIHtcbiAgICAgICAgICAgIC8vIFRoaXMgZmllbGQgaGFzIG5vIHBhcmVudCBmaWVsZDogdGhlbiB3ZSBjYW4gZGlzcGxheSBpdC5cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgJHBhcmVudCA9ICRwYXJlbnQucmVwbGFjZSggL15cXHMrfFxccyskL2csICcnICk7XG5cbiAgICAgICAgaWYgKCAnJyA9PT0gJHBhcmVudCApIHtcbiAgICAgICAgICAgIC8vIFRoaXMgZmllbGQgaGFzIG5vIHBhcmVudCBmaWVsZDogdGhlbiB3ZSBjYW4gZGlzcGxheSBpdC5cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgJHBhcmVudCA9ICQoICcjJyArICRwYXJlbnQgKTtcblxuICAgICAgICBpZiAoICEgJHBhcmVudC5sZW5ndGggKSB7XG4gICAgICAgICAgICAvLyBUaGlzIGZpZWxkJ3Mgc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l2ZSBmaWVsZHMuXG4gICAgJCggJy53cHItZmllbGQtLWNoaWxkcmVuJyApLmVhY2goIGZ1bmN0aW9uKCkge1xuICAgICAgICB2YXIgJGZpZWxkID0gJCggdGhpcyApO1xuXG4gICAgICAgIGlmICggd3BySXNQYXJlbnRBY3RpdmUoICRmaWVsZCApICkge1xuICAgICAgICAgICAgJGZpZWxkLmFkZENsYXNzKCAnd3ByLWlzT3BlbicgKTtcbiAgICAgICAgfVxuICAgIH0gKTtcblxuXG5cblxuICAgIC8qKipcbiAgICAqIFdhcm5pbmcgZmllbGRzXG4gICAgKioqL1xuXG4gICAgdmFyICR3YXJuaW5nUGFyZW50ID0gJCgnLndwci1maWVsZC0tcGFyZW50Jyk7XG4gICAgdmFyICR3YXJuaW5nUGFyZW50SW5wdXQgPSAkKCcud3ByLWZpZWxkLS1wYXJlbnQgaW5wdXRbdHlwZT1jaGVja2JveF0nKTtcblxuICAgIC8vIElmIGFscmVhZHkgY2hlY2tlZFxuICAgICR3YXJuaW5nUGFyZW50SW5wdXQuZWFjaChmdW5jdGlvbigpe1xuICAgICAgICB3cHJTaG93Q2hpbGRyZW4oJCh0aGlzKSk7XG4gICAgfSk7XG5cbiAgICAkd2FybmluZ1BhcmVudC5vbignY2hhbmdlJywgZnVuY3Rpb24oKSB7XG4gICAgICAgIHdwclNob3dXYXJuaW5nKCQodGhpcykpO1xuICAgIH0pO1xuXG4gICAgZnVuY3Rpb24gd3ByU2hvd1dhcm5pbmcoYUVsZW0pe1xuICAgICAgICB2YXIgJHdhcm5pbmdGaWVsZCA9IGFFbGVtLm5leHQoJy53cHItZmllbGRXYXJuaW5nJyksXG4gICAgICAgICAgICAkdGhpc0NoZWNrYm94ID0gYUVsZW0uZmluZCgnaW5wdXRbdHlwZT1jaGVja2JveF0nKSxcbiAgICAgICAgICAgICRuZXh0V2FybmluZyA9IGFFbGVtLnBhcmVudCgpLm5leHQoJy53cHItd2FybmluZ0NvbnRhaW5lcicpLFxuICAgICAgICAgICAgJG5leHRGaWVsZHMgPSAkbmV4dFdhcm5pbmcuZmluZCgnLndwci1maWVsZCcpLFxuICAgICAgICAgICAgcGFyZW50SWQgPSBhRWxlbS5maW5kKCdpbnB1dFt0eXBlPWNoZWNrYm94XScpLmF0dHIoJ2lkJyksXG4gICAgICAgICAgICAkY2hpbGRyZW4gPSAkKCdbZGF0YS1wYXJlbnQ9XCInICsgcGFyZW50SWQgKyAnXCJdJylcbiAgICAgICAgO1xuXG4gICAgICAgIC8vIENoZWNrIHdhcm5pbmcgcGFyZW50XG4gICAgICAgIGlmKCR0aGlzQ2hlY2tib3guaXMoJzpjaGVja2VkJykpe1xuICAgICAgICAgICAgJHdhcm5pbmdGaWVsZC5hZGRDbGFzcygnd3ByLWlzT3BlbicpO1xuICAgICAgICAgICAgJHRoaXNDaGVja2JveC5wcm9wKCdjaGVja2VkJywgZmFsc2UpO1xuICAgICAgICAgICAgYUVsZW0udHJpZ2dlcignY2hhbmdlJyk7XG5cblxuICAgICAgICAgICAgdmFyICR3YXJuaW5nQnV0dG9uID0gJHdhcm5pbmdGaWVsZC5maW5kKCcud3ByLWJ1dHRvbicpO1xuXG4gICAgICAgICAgICAvLyBWYWxpZGF0ZSB0aGUgd2FybmluZ1xuICAgICAgICAgICAgJHdhcm5pbmdCdXR0b24ub24oJ2NsaWNrJywgZnVuY3Rpb24oKXtcbiAgICAgICAgICAgICAgICAkdGhpc0NoZWNrYm94LnByb3AoJ2NoZWNrZWQnLCB0cnVlKTtcbiAgICAgICAgICAgICAgICAkd2FybmluZ0ZpZWxkLnJlbW92ZUNsYXNzKCd3cHItaXNPcGVuJyk7XG4gICAgICAgICAgICAgICAgJGNoaWxkcmVuLmFkZENsYXNzKCd3cHItaXNPcGVuJyk7XG5cbiAgICAgICAgICAgICAgICAvLyBJZiBuZXh0IGVsZW0gPSBkaXNhYmxlZFxuICAgICAgICAgICAgICAgIGlmKCRuZXh0V2FybmluZy5sZW5ndGggPiAwKXtcbiAgICAgICAgICAgICAgIC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A9dGhpcy55KSx0aGlzLnNraXBYfHwodGhpcy5fdGFyZ2V0LnNjcm9sbExlZnQ9dGhpcy54KSksdGhpcy54UHJldj10aGlzLngsdGhpcy55UHJldj10aGlzLnl9fSkscj1zLnByb3RvdHlwZTtzLm1heD1pLHIuZ2V0WD1mdW5jdGlvbigpe3JldHVybiB0aGlzLl93ZHc/bnVsbCE9ZS5wYWdlWE9mZnNldD9lLnBhZ2VYT2Zmc2V0Om51bGwhPXQuc2Nyb2xsTGVmdD90LnNjcm9sbExlZnQ6ZG9jdW1lbnQuYm9keS5zY3JvbGxMZWZ0OnRoaXMuX3RhcmdldC5zY3JvbGxMZWZ0fSxyLmdldFk9ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5fd2R3P251bGwhPWUucGFnZVlPZmZzZXQ/ZS5wYWdlWU9mZnNldDpudWxsIT10LnNjcm9sbFRvcD90LnNjcm9sbFRvcDpkb2N1bWVudC5ib2R5LnNjcm9sbFRvcDp0aGlzLl90YXJnZXQuc2Nyb2xsVG9wfSxyLl9raWxsPWZ1bmN0aW9uKHQpe3JldHVybiB0LnNjcm9sbFRvX3gmJih0aGlzLnNraXBYPSEwKSx0LnNjcm9sbFRvX3kmJih0aGlzLnNraXBZPSEwKSx0aGlzLl9zdXBlci5fa2lsbC5jYWxsKHRoaXMsdCl9fSksd2luZG93Ll9nc0RlZmluZSYmd2luZG93Ll9nc1F1ZXVlLnBvcCgpKCk7Il19 + +//# sourceMappingURL=wpr-admin.js.map diff --git a/assets/js/wpr-admin.js.map b/assets/js/wpr-admin.js.map new file mode 100644 index 0000000..2c7207b --- /dev/null +++ b/assets/js/wpr-admin.js.map @@ -0,0 +1 @@ +{"version":3,"names":[],"mappings":"","sources":["wpr-admin.js"],"sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i= 0) {\n return;\n }\n\n $.post(ajaxurl, {\n action: 'rocket_toggle_option',\n _ajax_nonce: rocket_ajax_data.nonce,\n option: {\n name: name,\n value: value\n }\n }, function (response) {});\n });\n /**\n * Save enable CPCSS for mobiles option.\n */\n\n $('#wpr-action-rocket_enable_mobile_cpcss').on('click', function (e) {\n e.preventDefault();\n $('#wpr-action-rocket_enable_mobile_cpcss').addClass('wpr-isLoading');\n $.post(ajaxurl, {\n action: 'rocket_enable_mobile_cpcss',\n _ajax_nonce: rocket_ajax_data.nonce\n }, function (response) {\n if (response.success) {\n // Hide Mobile CPCSS btn on success.\n $('#wpr-action-rocket_enable_mobile_cpcss').hide();\n $('.wpr-hide-on-click').hide();\n $('.wpr-show-on-click').show();\n $('#wpr-action-rocket_enable_mobile_cpcss').removeClass('wpr-isLoading');\n }\n });\n });\n /**\n * Save enable Google Fonts Optimization option.\n */\n\n $('#wpr-action-rocket_enable_google_fonts').on('click', function (e) {\n e.preventDefault();\n $('#wpr-action-rocket_enable_google_fonts').addClass('wpr-isLoading');\n $.post(ajaxurl, {\n action: 'rocket_enable_google_fonts',\n _ajax_nonce: rocket_ajax_data.nonce\n }, function (response) {\n if (response.success) {\n // Hide Mobile CPCSS btn on success.\n $('#wpr-action-rocket_enable_google_fonts').hide();\n $('.wpr-hide-on-click').hide();\n $('.wpr-show-on-click').show();\n $('#wpr-action-rocket_enable_google_fonts').removeClass('wpr-isLoading');\n $('#minify_google_fonts').val(1);\n }\n });\n });\n $('#rocket-dismiss-promotion').on('click', function (e) {\n e.preventDefault();\n $.post(ajaxurl, {\n action: 'rocket_dismiss_promo',\n nonce: rocket_ajax_data.nonce\n }, function (response) {\n if (response.success) {\n $('#rocket-promo-banner').hide('slow');\n }\n });\n });\n $('#rocket-dismiss-renewal').on('click', function (e) {\n e.preventDefault();\n $.post(ajaxurl, {\n action: 'rocket_dismiss_renewal',\n nonce: rocket_ajax_data.nonce\n }, function (response) {\n if (response.success) {\n $('#rocket-renewal-banner').hide('slow');\n }\n });\n });\n $('#wpr-update-exclusion-list').on('click', function (e) {\n e.preventDefault();\n $('#wpr-update-exclusion-msg').html('');\n $.ajax({\n url: rocket_ajax_data.rest_url,\n beforeSend: function (xhr) {\n xhr.setRequestHeader('X-WP-Nonce', rocket_ajax_data.rest_nonce);\n },\n method: \"PUT\",\n success: function (responses) {\n let exclusion_msg_container = $('#wpr-update-exclusion-msg');\n exclusion_msg_container.html('');\n\n if (undefined !== responses['success']) {\n exclusion_msg_container.append('
' + responses['message'] + '
');\n return;\n }\n\n Object.keys(responses).forEach(response_key => {\n exclusion_msg_container.append('' + response_key + ': ');\n exclusion_msg_container.append(responses[response_key]['message']);\n exclusion_msg_container.append('
');\n });\n }\n });\n });\n});\n\n},{}],2:[function(require,module,exports){\n\"use strict\";\n\nrequire(\"../lib/greensock/TweenLite.min.js\");\n\nrequire(\"../lib/greensock/TimelineLite.min.js\");\n\nrequire(\"../lib/greensock/easing/EasePack.min.js\");\n\nrequire(\"../lib/greensock/plugins/CSSPlugin.min.js\");\n\nrequire(\"../lib/greensock/plugins/ScrollToPlugin.min.js\");\n\nrequire(\"../global/pageManager.js\");\n\nrequire(\"../global/main.js\");\n\nrequire(\"../global/fields.js\");\n\nrequire(\"../global/beacon.js\");\n\nrequire(\"../global/ajax.js\");\n\nrequire(\"../global/rocketcdn.js\");\n\nrequire(\"../global/countdown.js\");\n\n},{\"../global/ajax.js\":1,\"../global/beacon.js\":3,\"../global/countdown.js\":4,\"../global/fields.js\":5,\"../global/main.js\":6,\"../global/pageManager.js\":7,\"../global/rocketcdn.js\":8,\"../lib/greensock/TimelineLite.min.js\":9,\"../lib/greensock/TweenLite.min.js\":10,\"../lib/greensock/easing/EasePack.min.js\":11,\"../lib/greensock/plugins/CSSPlugin.min.js\":12,\"../lib/greensock/plugins/ScrollToPlugin.min.js\":13}],3:[function(require,module,exports){\n\"use strict\";\n\nvar $ = jQuery;\n$(document).ready(function () {\n if ('Beacon' in window) {\n /**\n * Show beacons on button \"help\" click\n */\n var $help = $('.wpr-infoAction--help');\n $help.on('click', function (e) {\n var ids = $(this).data('beacon-id');\n wprCallBeacon(ids);\n return false;\n });\n\n function wprCallBeacon(aID) {\n aID = aID.split(',');\n\n if (aID.length === 0) {\n return;\n }\n\n if (aID.length > 1) {\n window.Beacon(\"suggest\", aID);\n setTimeout(function () {\n window.Beacon(\"open\");\n }, 200);\n } else {\n window.Beacon(\"article\", aID.toString());\n }\n }\n }\n});\n\n},{}],4:[function(require,module,exports){\n\"use strict\";\n\nfunction getTimeRemaining(endtime) {\n const start = Date.now();\n const total = endtime * 1000 - start;\n const seconds = Math.floor(total / 1000 % 60);\n const minutes = Math.floor(total / 1000 / 60 % 60);\n const hours = Math.floor(total / (1000 * 60 * 60) % 24);\n const days = Math.floor(total / (1000 * 60 * 60 * 24));\n return {\n total,\n days,\n hours,\n minutes,\n seconds\n };\n}\n\nfunction initializeClock(id, endtime) {\n const clock = document.getElementById(id);\n\n if (clock === null) {\n return;\n }\n\n const daysSpan = clock.querySelector('.rocket-countdown-days');\n const hoursSpan = clock.querySelector('.rocket-countdown-hours');\n const minutesSpan = clock.querySelector('.rocket-countdown-minutes');\n const secondsSpan = clock.querySelector('.rocket-countdown-seconds');\n\n function updateClock() {\n const t = getTimeRemaining(endtime);\n\n if (t.total < 0) {\n clearInterval(timeinterval);\n return;\n }\n\n daysSpan.innerHTML = t.days;\n hoursSpan.innerHTML = ('0' + t.hours).slice(-2);\n minutesSpan.innerHTML = ('0' + t.minutes).slice(-2);\n secondsSpan.innerHTML = ('0' + t.seconds).slice(-2);\n }\n\n updateClock();\n const timeinterval = setInterval(updateClock, 1000);\n}\n\nfunction rucssTimer(id, endtime) {\n const timer = document.getElementById(id);\n const notice = document.getElementById('rocket-notice-rucss-processing');\n const success = document.getElementById('rocket-notice-rucss-success');\n\n if (timer === null) {\n return;\n }\n\n function updateTimer() {\n const start = Date.now();\n const remaining = Math.floor((endtime * 1000 - start) / 1000);\n\n if (remaining <= 0) {\n clearInterval(timerInterval);\n\n if (notice !== null) {\n notice.classList.add('hidden');\n }\n\n if (success !== null) {\n success.classList.remove('hidden');\n }\n\n const data = new FormData();\n data.append('action', 'rocket_spawn_cron');\n data.append('nonce', rocket_ajax_data.nonce);\n fetch(ajaxurl, {\n method: 'POST',\n credentials: 'same-origin',\n body: data\n });\n return;\n }\n\n timer.innerHTML = remaining;\n }\n\n updateTimer();\n const timerInterval = setInterval(updateTimer, 1000);\n}\n\nif (!Date.now) {\n Date.now = function now() {\n return new Date().getTime();\n };\n}\n\nif (typeof rocket_ajax_data.promo_end !== 'undefined') {\n initializeClock('rocket-promo-countdown', rocket_ajax_data.promo_end);\n}\n\nif (typeof rocket_ajax_data.license_expiration !== 'undefined') {\n initializeClock('rocket-renew-countdown', rocket_ajax_data.license_expiration);\n}\n\nif (typeof rocket_ajax_data.notice_end_time !== 'undefined') {\n rucssTimer('rocket-rucss-timer', rocket_ajax_data.notice_end_time);\n}\n\n},{}],5:[function(require,module,exports){\n\"use strict\";\n\nvar $ = jQuery;\n$(document).ready(function () {\n /***\n * Check parent / show children\n ***/\n function wprShowChildren(aElem) {\n var parentId, $children;\n aElem = $(aElem);\n parentId = aElem.attr('id');\n $children = $('[data-parent=\"' + parentId + '\"]'); // Test check for switch\n\n if (aElem.is(':checked')) {\n $children.addClass('wpr-isOpen');\n $children.each(function () {\n if ($(this).find('input[type=checkbox]').is(':checked')) {\n var id = $(this).find('input[type=checkbox]').attr('id');\n $('[data-parent=\"' + id + '\"]').addClass('wpr-isOpen');\n }\n });\n } else {\n $children.removeClass('wpr-isOpen');\n $children.each(function () {\n var id = $(this).find('input[type=checkbox]').attr('id');\n $('[data-parent=\"' + id + '\"]').removeClass('wpr-isOpen');\n });\n }\n }\n /**\n * Tell if the given child field has an active parent field.\n *\n * @param object $field A jQuery object of a \".wpr-field\" field.\n * @return bool|null\n */\n\n\n function wprIsParentActive($field) {\n var $parent;\n\n if (!$field.length) {\n // ¯\\_(ツ)_/¯\n return null;\n }\n\n $parent = $field.data('parent');\n\n if (typeof $parent !== 'string') {\n // This field has no parent field: then we can display it.\n return true;\n }\n\n $parent = $parent.replace(/^\\s+|\\s+$/g, '');\n\n if ('' === $parent) {\n // This field has no parent field: then we can display it.\n return true;\n }\n\n $parent = $('#' + $parent);\n\n if (!$parent.length) {\n // This field's parent is missing: let's consider it's not active then.\n return false;\n }\n\n if (!$parent.is(':checked') && $parent.is('input')) {\n // This field's parent is checkbox and not checked: don't display the field then.\n return false;\n }\n\n if (!$parent.hasClass('radio-active') && $parent.is('button')) {\n // This field's parent button and is not active: don't display the field then.\n return false;\n } // Go recursive to the last parent.\n\n\n return wprIsParentActive($parent.closest('.wpr-field'));\n } // Display/Hide childern fields on checkbox change.\n\n\n $('.wpr-isParent input[type=checkbox]').on('change', function () {\n wprShowChildren($(this));\n }); // On page load, display the active fields.\n\n $('.wpr-field--children').each(function () {\n var $field = $(this);\n\n if (wprIsParentActive($field)) {\n $field.addClass('wpr-isOpen');\n }\n });\n /***\n * Warning fields\n ***/\n\n var $warningParent = $('.wpr-field--parent');\n var $warningParentInput = $('.wpr-field--parent input[type=checkbox]'); // If already checked\n\n $warningParentInput.each(function () {\n wprShowChildren($(this));\n });\n $warningParent.on('change', function () {\n wprShowWarning($(this));\n });\n\n function wprShowWarning(aElem) {\n var $warningField = aElem.next('.wpr-fieldWarning'),\n $thisCheckbox = aElem.find('input[type=checkbox]'),\n $nextWarning = aElem.parent().next('.wpr-warningContainer'),\n $nextFields = $nextWarning.find('.wpr-field'),\n parentId = aElem.find('input[type=checkbox]').attr('id'),\n $children = $('[data-parent=\"' + parentId + '\"]'); // Check warning parent\n\n if ($thisCheckbox.is(':checked')) {\n $warningField.addClass('wpr-isOpen');\n $thisCheckbox.prop('checked', false);\n aElem.trigger('change');\n var $warningButton = $warningField.find('.wpr-button'); // Validate the warning\n\n $warningButton.on('click', function () {\n $thisCheckbox.prop('checked', true);\n $warningField.removeClass('wpr-isOpen');\n $children.addClass('wpr-isOpen'); // If next elem = disabled\n\n if ($nextWarning.length > 0) {\n $nextFields.removeClass('wpr-isDisabled');\n $nextFields.find('input').prop('disabled', false);\n }\n\n return false;\n });\n } else {\n $nextFields.addClass('wpr-isDisabled');\n $nextFields.find('input').prop('disabled', true);\n $nextFields.find('input[type=checkbox]').prop('checked', false);\n $children.removeClass('wpr-isOpen');\n }\n }\n /**\n * CNAMES add/remove lines\n */\n\n\n $(document).on('click', '.wpr-multiple-close', function (e) {\n e.preventDefault();\n $(this).parent().slideUp('slow', function () {\n $(this).remove();\n });\n });\n $('.wpr-button--addMulti').on('click', function (e) {\n e.preventDefault();\n $($('#wpr-cname-model').html()).appendTo('#wpr-cnames-list');\n });\n /***\n * Wpr Radio button\n ***/\n\n var disable_radio_warning = false;\n $(document).on('click', '.wpr-radio-buttons-container button', function (e) {\n e.preventDefault();\n\n if ($(this).hasClass('radio-active')) {\n return false;\n }\n\n var $parent = $(this).parents('.wpr-radio-buttons');\n $parent.find('.wpr-radio-buttons-container button').removeClass('radio-active');\n $parent.find('.wpr-extra-fields-container').removeClass('wpr-isOpen');\n $parent.find('.wpr-fieldWarning').removeClass('wpr-isOpen');\n $(this).addClass('radio-active');\n wprShowRadioWarning($(this));\n });\n\n function wprShowRadioWarning($elm) {\n disable_radio_warning = false;\n $elm.trigger(\"before_show_radio_warning\", [$elm]);\n\n if (!$elm.hasClass('has-warning') || disable_radio_warning) {\n wprShowRadioButtonChildren($elm);\n $elm.trigger(\"radio_button_selected\", [$elm]);\n return false;\n }\n\n var $warningField = $('[data-parent=\"' + $elm.attr('id') + '\"].wpr-fieldWarning');\n $warningField.addClass('wpr-isOpen');\n var $warningButton = $warningField.find('.wpr-button'); // Validate the warning\n\n $warningButton.on('click', function () {\n $warningField.removeClass('wpr-isOpen');\n wprShowRadioButtonChildren($elm);\n $elm.trigger(\"radio_button_selected\", [$elm]);\n return false;\n });\n }\n\n function wprShowRadioButtonChildren($elm) {\n var $parent = $elm.parents('.wpr-radio-buttons');\n var $children = $('.wpr-extra-fields-container[data-parent=\"' + $elm.attr('id') + '\"]');\n $children.addClass('wpr-isOpen');\n }\n /***\n * Wpr Optimize Css Delivery Field\n ***/\n\n\n var rucssActive = parseInt($('#remove_unused_css').val());\n $(\"#optimize_css_delivery_method .wpr-radio-buttons-container button\").on(\"radio_button_selected\", function (event, $elm) {\n toggleActiveOptimizeCssDeliveryMethod($elm);\n });\n $(\"#optimize_css_delivery\").on(\"change\", function () {\n if ($(this).is(\":not(:checked)\")) {\n disableOptimizeCssDelivery();\n } else {\n var default_radio_button_id = '#' + $('#optimize_css_delivery_method').data('default');\n $(default_radio_button_id).trigger('click');\n }\n });\n\n function toggleActiveOptimizeCssDeliveryMethod($elm) {\n var optimize_method = $elm.data('value');\n\n if ('remove_unused_css' === optimize_method) {\n $('#remove_unused_css').val(1);\n $('#async_css').val(0);\n } else {\n $('#remove_unused_css').val(0);\n $('#async_css').val(1);\n }\n }\n\n function disableOptimizeCssDelivery() {\n $('#remove_unused_css').val(0);\n $('#async_css').val(0);\n }\n\n $(\"#optimize_css_delivery_method .wpr-radio-buttons-container button\").on(\"before_show_radio_warning\", function (event, $elm) {\n disable_radio_warning = 'remove_unused_css' === $elm.data('value') && 1 === rucssActive;\n });\n $(\".wpr-multiple-select .wpr-list-header-arrow\").click(function (e) {\n $(e.target).closest('.wpr-multiple-select .wpr-list').toggleClass('open');\n });\n $('.wpr-multiple-select .wpr-checkbox').click(function (e) {\n const checkbox = $(this).find('input');\n const is_checked = checkbox.attr('checked') !== undefined;\n checkbox.attr('checked', is_checked ? null : 'checked');\n const sub_checkboxes = $(checkbox).closest('.wpr-list').find('.wpr-list-body input[type=\"checkbox\"]');\n\n if (checkbox.hasClass('wpr-main-checkbox')) {\n $.map(sub_checkboxes, checkbox => {\n $(checkbox).attr('checked', is_checked ? null : 'checked');\n });\n return;\n }\n\n const main_checkbox = $(checkbox).closest('.wpr-list').find('.wpr-main-checkbox');\n const sub_checked = $.map(sub_checkboxes, checkbox => {\n if ($(checkbox).attr('checked') === undefined) {\n return;\n }\n\n return checkbox;\n });\n main_checkbox.attr('checked', sub_checked.length === sub_checkboxes.length ? 'checked' : null);\n });\n\n if ($('.wpr-main-checkbox').length > 0) {\n $('.wpr-main-checkbox').each((checkbox_key, checkbox) => {\n let parent_list = $(checkbox).parents('.wpr-list');\n let not_checked = parent_list.find('.wpr-list-body input[type=checkbox]:not(:checked)').length;\n $(checkbox).attr('checked', not_checked <= 0 ? 'checked' : null);\n });\n }\n});\n\n},{}],6:[function(require,module,exports){\n\"use strict\";\n\nvar $ = jQuery;\n$(document).ready(function () {\n /***\n * Dashboard notice\n ***/\n var $notice = $('.wpr-notice');\n var $noticeClose = $('#wpr-congratulations-notice');\n $noticeClose.on('click', function () {\n wprCloseDashboardNotice();\n return false;\n });\n\n function wprCloseDashboardNotice() {\n var vTL = new TimelineLite().to($notice, 1, {\n autoAlpha: 0,\n x: 40,\n ease: Power4.easeOut\n }).to($notice, 0.6, {\n height: 0,\n marginTop: 0,\n ease: Power4.easeOut\n }, '=-.4').set($notice, {\n 'display': 'none'\n });\n }\n /**\n * Rocket Analytics notice info collect\n */\n\n\n $('.rocket-analytics-data-container').hide();\n $('.rocket-preview-analytics-data').on('click', function (e) {\n e.preventDefault();\n $(this).parent().next('.rocket-analytics-data-container').toggle();\n });\n /***\n * Hide / show Rocket addon tabs.\n ***/\n\n $('.wpr-toggle-button').each(function () {\n var $button = $(this);\n var $checkbox = $button.closest('.wpr-fieldsContainer-fieldset').find('.wpr-radio :checkbox');\n var $menuItem = $('[href=\"' + $button.attr('href') + '\"].wpr-menuItem');\n $checkbox.on('change', function () {\n if ($checkbox.is(':checked')) {\n $menuItem.css('display', 'block');\n $button.css('display', 'inline-block');\n } else {\n $menuItem.css('display', 'none');\n $button.css('display', 'none');\n }\n }).trigger('change');\n });\n /***\n * Show popin analytics\n ***/\n\n var $wprAnalyticsPopin = $('.wpr-Popin-Analytics'),\n $wprPopinOverlay = $('.wpr-Popin-overlay'),\n $wprAnalyticsClosePopin = $('.wpr-Popin-Analytics-close'),\n $wprAnalyticsPopinButton = $('.wpr-Popin-Analytics .wpr-button'),\n $wprAnalyticsOpenPopin = $('.wpr-js-popin');\n $wprAnalyticsOpenPopin.on('click', function (e) {\n e.preventDefault();\n wprOpenAnalytics();\n return false;\n });\n $wprAnalyticsClosePopin.on('click', function (e) {\n e.preventDefault();\n wprCloseAnalytics();\n return false;\n });\n $wprAnalyticsPopinButton.on('click', function (e) {\n e.preventDefault();\n wprActivateAnalytics();\n return false;\n });\n\n function wprOpenAnalytics() {\n var vTL = new TimelineLite().set($wprAnalyticsPopin, {\n 'display': 'block'\n }).set($wprPopinOverlay, {\n 'display': 'block'\n }).fromTo($wprPopinOverlay, 0.6, {\n autoAlpha: 0\n }, {\n autoAlpha: 1,\n ease: Power4.easeOut\n }).fromTo($wprAnalyticsPopin, 0.6, {\n autoAlpha: 0,\n marginTop: -24\n }, {\n autoAlpha: 1,\n marginTop: 0,\n ease: Power4.easeOut\n }, '=-.5');\n }\n\n function wprCloseAnalytics() {\n var vTL = new TimelineLite().fromTo($wprAnalyticsPopin, 0.6, {\n autoAlpha: 1,\n marginTop: 0\n }, {\n autoAlpha: 0,\n marginTop: -24,\n ease: Power4.easeOut\n }).fromTo($wprPopinOverlay, 0.6, {\n autoAlpha: 1\n }, {\n autoAlpha: 0,\n ease: Power4.easeOut\n }, '=-.5').set($wprAnalyticsPopin, {\n 'display': 'none'\n }).set($wprPopinOverlay, {\n 'display': 'none'\n });\n }\n\n function wprActivateAnalytics() {\n wprCloseAnalytics();\n $('#analytics_enabled').prop('checked', true);\n $('#analytics_enabled').trigger('change');\n }\n /***\n * Show popin upgrade\n ***/\n\n\n var $wprUpgradePopin = $('.wpr-Popin-Upgrade'),\n $wprUpgradeClosePopin = $('.wpr-Popin-Upgrade-close'),\n $wprUpgradeOpenPopin = $('.wpr-popin-upgrade-toggle');\n $wprUpgradeOpenPopin.on('click', function (e) {\n e.preventDefault();\n wprOpenUpgradePopin();\n return false;\n });\n $wprUpgradeClosePopin.on('click', function () {\n wprCloseUpgradePopin();\n return false;\n });\n\n function wprOpenUpgradePopin() {\n var vTL = new TimelineLite();\n vTL.set($wprUpgradePopin, {\n 'display': 'block'\n }).set($wprPopinOverlay, {\n 'display': 'block'\n }).fromTo($wprPopinOverlay, 0.6, {\n autoAlpha: 0\n }, {\n autoAlpha: 1,\n ease: Power4.easeOut\n }).fromTo($wprUpgradePopin, 0.6, {\n autoAlpha: 0,\n marginTop: -24\n }, {\n autoAlpha: 1,\n marginTop: 0,\n ease: Power4.easeOut\n }, '=-.5');\n }\n\n function wprCloseUpgradePopin() {\n var vTL = new TimelineLite();\n vTL.fromTo($wprUpgradePopin, 0.6, {\n autoAlpha: 1,\n marginTop: 0\n }, {\n autoAlpha: 0,\n marginTop: -24,\n ease: Power4.easeOut\n }).fromTo($wprPopinOverlay, 0.6, {\n autoAlpha: 1\n }, {\n autoAlpha: 0,\n ease: Power4.easeOut\n }, '=-.5').set($wprUpgradePopin, {\n 'display': 'none'\n }).set($wprPopinOverlay, {\n 'display': 'none'\n });\n }\n /***\n * Sidebar on/off\n ***/\n\n\n var $wprSidebar = $('.wpr-Sidebar');\n var $wprButtonTips = $('.wpr-js-tips');\n $wprButtonTips.on('change', function () {\n wprDetectTips($(this));\n });\n\n function wprDetectTips(aElem) {\n if (aElem.is(':checked')) {\n $wprSidebar.css('display', 'block');\n localStorage.setItem('wpr-show-sidebar', 'on');\n } else {\n $wprSidebar.css('display', 'none');\n localStorage.setItem('wpr-show-sidebar', 'off');\n }\n }\n /***\n * Detect Adblock\n ***/\n\n\n if (document.getElementById('LKgOcCRpwmAj')) {\n $('.wpr-adblock').css('display', 'none');\n } else {\n $('.wpr-adblock').css('display', 'block');\n }\n\n var $adblock = $('.wpr-adblock');\n var $adblockClose = $('.wpr-adblock-close');\n $adblockClose.on('click', function () {\n wprCloseAdblockNotice();\n return false;\n });\n\n function wprCloseAdblockNotice() {\n var vTL = new TimelineLite().to($adblock, 1, {\n autoAlpha: 0,\n x: 40,\n ease: Power4.easeOut\n }).to($adblock, 0.4, {\n height: 0,\n marginTop: 0,\n ease: Power4.easeOut\n }, '=-.4').set($adblock, {\n 'display': 'none'\n });\n }\n});\n\n},{}],7:[function(require,module,exports){\n\"use strict\";\n\ndocument.addEventListener('DOMContentLoaded', function () {\n var $pageManager = document.querySelector(\".wpr-Content\");\n\n if ($pageManager) {\n new PageManager($pageManager);\n }\n});\n/*-----------------------------------------------*\\\n\t\tCLASS PAGEMANAGER\n\\*-----------------------------------------------*/\n\n/**\n * Manages the display of pages / section for WP Rocket plugin\n *\n * Public method :\n detectID - Detect ID with hash\n getBodyTop - Get body top position\n\t change - Displays the corresponding page\n *\n */\n\nfunction PageManager(aElem) {\n var refThis = this;\n this.$body = document.querySelector('.wpr-body');\n this.$menuItems = document.querySelectorAll('.wpr-menuItem');\n this.$submitButton = document.querySelector('.wpr-Content > form > #wpr-options-submit');\n this.$pages = document.querySelectorAll('.wpr-Page');\n this.$sidebar = document.querySelector('.wpr-Sidebar');\n this.$content = document.querySelector('.wpr-Content');\n this.$tips = document.querySelector('.wpr-Content-tips');\n this.$links = document.querySelectorAll('.wpr-body a');\n this.$menuItem = null;\n this.$page = null;\n this.pageId = null;\n this.bodyTop = 0;\n this.buttonText = this.$submitButton.value;\n refThis.getBodyTop(); // If url page change\n\n window.onhashchange = function () {\n refThis.detectID();\n }; // If hash already exist (after refresh page for example)\n\n\n if (window.location.hash) {\n this.bodyTop = 0;\n this.detectID();\n } else {\n var session = localStorage.getItem('wpr-hash');\n this.bodyTop = 0;\n\n if (session) {\n window.location.hash = session;\n this.detectID();\n } else {\n this.$menuItems[0].classList.add('isActive');\n localStorage.setItem('wpr-hash', 'dashboard');\n window.location.hash = '#dashboard';\n }\n } // Click link same hash\n\n\n for (var i = 0; i < this.$links.length; i++) {\n this.$links[i].onclick = function () {\n refThis.getBodyTop();\n var hrefSplit = this.href.split('#')[1];\n\n if (hrefSplit == refThis.pageId && hrefSplit != undefined) {\n refThis.detectID();\n return false;\n }\n };\n } // Click links not WP rocket to reset hash\n\n\n var $otherlinks = document.querySelectorAll('#adminmenumain a, #wpadminbar a');\n\n for (var i = 0; i < $otherlinks.length; i++) {\n $otherlinks[i].onclick = function () {\n localStorage.setItem('wpr-hash', '');\n };\n }\n}\n/*\n* Page detect ID\n*/\n\n\nPageManager.prototype.detectID = function () {\n this.pageId = window.location.hash.split('#')[1];\n localStorage.setItem('wpr-hash', this.pageId);\n this.$page = document.querySelector('.wpr-Page#' + this.pageId);\n this.$menuItem = document.getElementById('wpr-nav-' + this.pageId);\n this.change();\n};\n/*\n* Get body top position\n*/\n\n\nPageManager.prototype.getBodyTop = function () {\n var bodyPos = this.$body.getBoundingClientRect();\n this.bodyTop = bodyPos.top + window.pageYOffset - 47; // #wpadminbar + padding-top .wpr-wrap - 1 - 47\n};\n/*\n* Page change\n*/\n\n\nPageManager.prototype.change = function () {\n var refThis = this;\n document.documentElement.scrollTop = refThis.bodyTop; // Hide other pages\n\n for (var i = 0; i < this.$pages.length; i++) {\n this.$pages[i].style.display = 'none';\n }\n\n for (var i = 0; i < this.$menuItems.length; i++) {\n this.$menuItems[i].classList.remove('isActive');\n } // Show current default page\n\n\n this.$page.style.display = 'block';\n this.$submitButton.style.display = 'block';\n\n if (null === localStorage.getItem('wpr-show-sidebar')) {\n localStorage.setItem('wpr-show-sidebar', 'on');\n }\n\n if ('on' === localStorage.getItem('wpr-show-sidebar')) {\n this.$sidebar.style.display = 'block';\n } else if ('off' === localStorage.getItem('wpr-show-sidebar')) {\n this.$sidebar.style.display = 'none';\n document.querySelector('#wpr-js-tips').removeAttribute('checked');\n }\n\n this.$tips.style.display = 'block';\n this.$menuItem.classList.add('isActive');\n this.$submitButton.value = this.buttonText;\n this.$content.classList.add('isNotFull'); // Exception for dashboard\n\n if (this.pageId == \"dashboard\") {\n this.$sidebar.style.display = 'none';\n this.$tips.style.display = 'none';\n this.$submitButton.style.display = 'none';\n this.$content.classList.remove('isNotFull');\n } // Exception for addons\n\n\n if (this.pageId == \"addons\") {\n this.$submitButton.style.display = 'none';\n } // Exception for database\n\n\n if (this.pageId == \"database\") {\n this.$submitButton.style.display = 'none';\n } // Exception for tools and addons\n\n\n if (this.pageId == \"tools\" || this.pageId == \"addons\") {\n this.$submitButton.style.display = 'none';\n }\n\n if (this.pageId == \"imagify\") {\n this.$sidebar.style.display = 'none';\n this.$tips.style.display = 'none';\n this.$submitButton.style.display = 'none';\n }\n\n if (this.pageId == \"tutorials\") {\n this.$submitButton.style.display = 'none';\n }\n};\n\n},{}],8:[function(require,module,exports){\n\"use strict\";\n\n/*eslint-env es6*/\n((document, window) => {\n 'use strict';\n\n document.addEventListener('DOMContentLoaded', () => {\n document.querySelectorAll('.wpr-rocketcdn-open').forEach(el => {\n el.addEventListener('click', e => {\n e.preventDefault();\n });\n });\n maybeOpenModal();\n MicroModal.init({\n disableScroll: true\n });\n });\n window.addEventListener('load', () => {\n let openCTA = document.querySelector('#wpr-rocketcdn-open-cta'),\n closeCTA = document.querySelector('#wpr-rocketcdn-close-cta'),\n smallCTA = document.querySelector('#wpr-rocketcdn-cta-small'),\n bigCTA = document.querySelector('#wpr-rocketcdn-cta');\n\n if (null !== openCTA && null !== smallCTA && null !== bigCTA) {\n openCTA.addEventListener('click', e => {\n e.preventDefault();\n smallCTA.classList.add('wpr-isHidden');\n bigCTA.classList.remove('wpr-isHidden');\n sendHTTPRequest(getPostData('big'));\n });\n }\n\n if (null !== closeCTA && null !== smallCTA && null !== bigCTA) {\n closeCTA.addEventListener('click', e => {\n e.preventDefault();\n smallCTA.classList.remove('wpr-isHidden');\n bigCTA.classList.add('wpr-isHidden');\n sendHTTPRequest(getPostData('small'));\n });\n }\n\n function getPostData(status) {\n let postData = '';\n postData += 'action=toggle_rocketcdn_cta';\n postData += '&status=' + status;\n postData += '&nonce=' + rocket_ajax_data.nonce;\n return postData;\n }\n });\n\n window.onmessage = e => {\n const iframeURL = rocket_ajax_data.origin_url;\n\n if (e.origin !== iframeURL) {\n return;\n }\n\n setCDNFrameHeight(e.data);\n closeModal(e.data);\n tokenHandler(e.data, iframeURL);\n processStatus(e.data);\n enableCDN(e.data, iframeURL);\n disableCDN(e.data, iframeURL);\n validateTokenAndCNAME(e.data);\n };\n\n function maybeOpenModal() {\n let postData = '';\n postData += 'action=rocketcdn_process_status';\n postData += '&nonce=' + rocket_ajax_data.nonce;\n const request = sendHTTPRequest(postData);\n\n request.onreadystatechange = () => {\n if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) {\n let responseTxt = JSON.parse(request.responseText);\n\n if (true === responseTxt.success) {\n MicroModal.show('wpr-rocketcdn-modal');\n }\n }\n };\n }\n\n function closeModal(data) {\n if (!data.hasOwnProperty('cdnFrameClose')) {\n return;\n }\n\n MicroModal.close('wpr-rocketcdn-modal');\n let pages = ['iframe-payment-success', 'iframe-unsubscribe-success'];\n\n if (!data.hasOwnProperty('cdn_page_message')) {\n return;\n }\n\n if (pages.indexOf(data.cdn_page_message) === -1) {\n return;\n }\n\n document.location.reload();\n }\n\n function processStatus(data) {\n if (!data.hasOwnProperty('rocketcdn_process')) {\n return;\n }\n\n let postData = '';\n postData += 'action=rocketcdn_process_set';\n postData += '&status=' + data.rocketcdn_process;\n postData += '&nonce=' + rocket_ajax_data.nonce;\n sendHTTPRequest(postData);\n }\n\n function enableCDN(data, iframeURL) {\n let iframe = document.querySelector('#rocketcdn-iframe').contentWindow;\n\n if (!data.hasOwnProperty('rocketcdn_url')) {\n return;\n }\n\n let postData = '';\n postData += 'action=rocketcdn_enable';\n postData += '&cdn_url=' + data.rocketcdn_url;\n postData += '&nonce=' + rocket_ajax_data.nonce;\n const request = sendHTTPRequest(postData);\n\n request.onreadystatechange = () => {\n if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) {\n let responseTxt = JSON.parse(request.responseText);\n iframe.postMessage({\n 'success': responseTxt.success,\n 'data': responseTxt.data,\n 'rocketcdn': true\n }, iframeURL);\n }\n };\n }\n\n function disableCDN(data, iframeURL) {\n let iframe = document.querySelector('#rocketcdn-iframe').contentWindow;\n\n if (!data.hasOwnProperty('rocketcdn_disable')) {\n return;\n }\n\n let postData = '';\n postData += 'action=rocketcdn_disable';\n postData += '&nonce=' + rocket_ajax_data.nonce;\n const request = sendHTTPRequest(postData);\n\n request.onreadystatechange = () => {\n if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) {\n let responseTxt = JSON.parse(request.responseText);\n iframe.postMessage({\n 'success': responseTxt.success,\n 'data': responseTxt.data,\n 'rocketcdn': true\n }, iframeURL);\n }\n };\n }\n\n function sendHTTPRequest(postData) {\n const httpRequest = new XMLHttpRequest();\n httpRequest.open('POST', ajaxurl);\n httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');\n httpRequest.send(postData);\n return httpRequest;\n }\n\n function setCDNFrameHeight(data) {\n if (!data.hasOwnProperty('cdnFrameHeight')) {\n return;\n }\n\n document.getElementById('rocketcdn-iframe').style.height = `${data.cdnFrameHeight}px`;\n }\n\n function tokenHandler(data, iframeURL) {\n let iframe = document.querySelector('#rocketcdn-iframe').contentWindow;\n\n if (!data.hasOwnProperty('rocketcdn_token')) {\n let data = {\n process: \"subscribe\",\n message: \"token_not_received\"\n };\n iframe.postMessage({\n 'success': false,\n 'data': data,\n 'rocketcdn': true\n }, iframeURL);\n return;\n }\n\n let postData = '';\n postData += 'action=save_rocketcdn_token';\n postData += '&value=' + data.rocketcdn_token;\n postData += '&nonce=' + rocket_ajax_data.nonce;\n const request = sendHTTPRequest(postData);\n\n request.onreadystatechange = () => {\n if (request.readyState === XMLHttpRequest.DONE && 200 === request.status) {\n let responseTxt = JSON.parse(request.responseText);\n iframe.postMessage({\n 'success': responseTxt.success,\n 'data': responseTxt.data,\n 'rocketcdn': true\n }, iframeURL);\n }\n };\n }\n\n function validateTokenAndCNAME(data) {\n if (!data.hasOwnProperty('rocketcdn_validate_token') || !data.hasOwnProperty('rocketcdn_validate_cname')) {\n return;\n }\n\n let postData = '';\n postData += 'action=rocketcdn_validate_token_cname';\n postData += '&cdn_url=' + data.rocketcdn_validate_cname;\n postData += '&cdn_token=' + data.rocketcdn_validate_token;\n postData += '&nonce=' + rocket_ajax_data.nonce;\n const request = sendHTTPRequest(postData);\n }\n})(document, window);\n\n},{}],9:[function(require,module,exports){\n\"use strict\";\n\n/*!\r\n * VERSION: 1.12.1\r\n * DATE: 2014-06-26\r\n * UPDATES AND DOCS AT: http://www.greensock.com\r\n *\r\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\r\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\r\n * Club GreenSock members, the software agreement that was issued with your membership.\r\n * \r\n * @author: Jack Doyle, jack@greensock.com\r\n */\n(window._gsQueue || (window._gsQueue = [])).push(function () {\n \"use strict\";\n\n window._gsDefine(\"TimelineLite\", [\"core.Animation\", \"core.SimpleTimeline\", \"TweenLite\"], function (t, e, i) {\n var s = function (t) {\n e.call(this, t), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;\n var i,\n s,\n r = this.vars;\n\n for (s in r) i = r[s], a(i) && -1 !== i.join(\"\").indexOf(\"{self}\") && (r[s] = this._swapSelfInParams(i));\n\n a(r.tweens) && this.add(r.tweens, 0, r.align, r.stagger);\n },\n r = 1e-10,\n n = i._internals.isSelector,\n a = i._internals.isArray,\n o = [],\n h = window._gsDefine.globals,\n l = function (t) {\n var e,\n i = {};\n\n for (e in t) i[e] = t[e];\n\n return i;\n },\n _ = function (t, e, i, s) {\n t._timeline.pause(t._startTime), e && e.apply(s || t._timeline, i || o);\n },\n u = o.slice,\n f = s.prototype = new e();\n\n return s.version = \"1.12.1\", f.constructor = s, f.kill()._gc = !1, f.to = function (t, e, s, r) {\n var n = s.repeat && h.TweenMax || i;\n return e ? this.add(new n(t, e, s), r) : this.set(t, s, r);\n }, f.from = function (t, e, s, r) {\n return this.add((s.repeat && h.TweenMax || i).from(t, e, s), r);\n }, f.fromTo = function (t, e, s, r, n) {\n var a = r.repeat && h.TweenMax || i;\n return e ? this.add(a.fromTo(t, e, s, r), n) : this.set(t, r, n);\n }, f.staggerTo = function (t, e, r, a, o, h, _, f) {\n var p,\n c = new s({\n onComplete: h,\n onCompleteParams: _,\n onCompleteScope: f,\n smoothChildTiming: this.smoothChildTiming\n });\n\n for (\"string\" == typeof t && (t = i.selector(t) || t), n(t) && (t = u.call(t, 0)), a = a || 0, p = 0; t.length > p; p++) r.startAt && (r.startAt = l(r.startAt)), c.to(t[p], e, l(r), p * a);\n\n return this.add(c, o);\n }, f.staggerFrom = function (t, e, i, s, r, n, a, o) {\n return i.immediateRender = 0 != i.immediateRender, i.runBackwards = !0, this.staggerTo(t, e, i, s, r, n, a, o);\n }, f.staggerFromTo = function (t, e, i, s, r, n, a, o, h) {\n return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, this.staggerTo(t, e, s, r, n, a, o, h);\n }, f.call = function (t, e, s, r) {\n return this.add(i.delayedCall(0, t, e, s), r);\n }, f.set = function (t, e, s) {\n return s = this._parseTimeOrLabel(s, 0, !0), null == e.immediateRender && (e.immediateRender = s === this._time && !this._paused), this.add(new i(t, 0, e), s);\n }, s.exportRoot = function (t, e) {\n t = t || {}, null == t.smoothChildTiming && (t.smoothChildTiming = !0);\n var r,\n n,\n a = new s(t),\n o = a._timeline;\n\n for (null == e && (e = !0), o._remove(a, !0), a._startTime = 0, a._rawPrevTime = a._time = a._totalTime = o._time, r = o._first; r;) n = r._next, e && r instanceof i && r.target === r.vars.onComplete || a.add(r, r._startTime - r._delay), r = n;\n\n return o.add(a, 0), a;\n }, f.add = function (r, n, o, h) {\n var l, _, u, f, p, c;\n\n if (\"number\" != typeof n && (n = this._parseTimeOrLabel(n, 0, !0, r)), !(r instanceof t)) {\n if (r instanceof Array || r && r.push && a(r)) {\n for (o = o || \"normal\", h = h || 0, l = n, _ = r.length, u = 0; _ > u; u++) a(f = r[u]) && (f = new s({\n tweens: f\n })), this.add(f, l), \"string\" != typeof f && \"function\" != typeof f && (\"sequence\" === o ? l = f._startTime + f.totalDuration() / f._timeScale : \"start\" === o && (f._startTime -= f.delay())), l += h;\n\n return this._uncache(!0);\n }\n\n if (\"string\" == typeof r) return this.addLabel(r, n);\n if (\"function\" != typeof r) throw \"Cannot add \" + r + \" into the timeline; it is not a tween, timeline, function, or string.\";\n r = i.delayedCall(0, r);\n }\n\n if (e.prototype.add.call(this, r, n), (this._gc || this._time === this._duration) && !this._paused && this._duration < this.duration()) for (p = this, c = p.rawTime() > r._startTime; p._timeline;) c && p._timeline.smoothChildTiming ? p.totalTime(p._totalTime, !0) : p._gc && p._enabled(!0, !1), p = p._timeline;\n return this;\n }, f.remove = function (e) {\n if (e instanceof t) return this._remove(e, !1);\n\n if (e instanceof Array || e && e.push && a(e)) {\n for (var i = e.length; --i > -1;) this.remove(e[i]);\n\n return this;\n }\n\n return \"string\" == typeof e ? this.removeLabel(e) : this.kill(null, e);\n }, f._remove = function (t, i) {\n e.prototype._remove.call(this, t, i);\n\n var s = this._last;\n return s ? this._time > s._startTime + s._totalDuration / s._timeScale && (this._time = this.duration(), this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this;\n }, f.append = function (t, e) {\n return this.add(t, this._parseTimeOrLabel(null, e, !0, t));\n }, f.insert = f.insertMultiple = function (t, e, i, s) {\n return this.add(t, e || 0, i, s);\n }, f.appendMultiple = function (t, e, i, s) {\n return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, s);\n }, f.addLabel = function (t, e) {\n return this._labels[t] = this._parseTimeOrLabel(e), this;\n }, f.addPause = function (t, e, i, s) {\n return this.call(_, [\"{self}\", e, i, s], this, t);\n }, f.removeLabel = function (t) {\n return delete this._labels[t], this;\n }, f.getLabelTime = function (t) {\n return null != this._labels[t] ? this._labels[t] : -1;\n }, f._parseTimeOrLabel = function (e, i, s, r) {\n var n;\n if (r instanceof t && r.timeline === this) this.remove(r);else if (r && (r instanceof Array || r.push && a(r))) for (n = r.length; --n > -1;) r[n] instanceof t && r[n].timeline === this && this.remove(r[n]);\n if (\"string\" == typeof i) return this._parseTimeOrLabel(i, s && \"number\" == typeof e && null == this._labels[i] ? e - this.duration() : 0, s);\n if (i = i || 0, \"string\" != typeof e || !isNaN(e) && null == this._labels[e]) null == e && (e = this.duration());else {\n if (n = e.indexOf(\"=\"), -1 === n) return null == this._labels[e] ? s ? this._labels[e] = this.duration() + i : i : this._labels[e] + i;\n i = parseInt(e.charAt(n - 1) + \"1\", 10) * Number(e.substr(n + 1)), e = n > 1 ? this._parseTimeOrLabel(e.substr(0, n - 1), 0, s) : this.duration();\n }\n return Number(e) + i;\n }, f.seek = function (t, e) {\n return this.totalTime(\"number\" == typeof t ? t : this._parseTimeOrLabel(t), e !== !1);\n }, f.stop = function () {\n return this.paused(!0);\n }, f.gotoAndPlay = function (t, e) {\n return this.play(t, e);\n }, f.gotoAndStop = function (t, e) {\n return this.pause(t, e);\n }, f.render = function (t, e, i) {\n this._gc && this._enabled(!0, !1);\n\n var s,\n n,\n a,\n h,\n l,\n _ = this._dirty ? this.totalDuration() : this._totalDuration,\n u = this._time,\n f = this._startTime,\n p = this._timeScale,\n c = this._paused;\n\n if (t >= _ ? (this._totalTime = this._time = _, this._reversed || this._hasPausedChild() || (n = !0, h = \"onComplete\", 0 === this._duration && (0 === t || 0 > this._rawPrevTime || this._rawPrevTime === r) && this._rawPrevTime !== t && this._first && (l = !0, this._rawPrevTime > r && (h = \"onReverseComplete\"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, t = _ + 1e-4) : 1e-7 > t ? (this._totalTime = this._time = 0, (0 !== u || 0 === this._duration && this._rawPrevTime !== r && (this._rawPrevTime > 0 || 0 > t && this._rawPrevTime >= 0)) && (h = \"onReverseComplete\", n = this._reversed), 0 > t ? (this._active = !1, 0 === this._duration && this._rawPrevTime >= 0 && this._first && (l = !0), this._rawPrevTime = t) : (this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, t = 0, this._initted || (l = !0))) : this._totalTime = this._time = this._rawPrevTime = t, this._time !== u && this._first || i || l) {\n if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== u && t > 0 && (this._active = !0), 0 === u && this.vars.onStart && 0 !== this._time && (e || this.vars.onStart.apply(this.vars.onStartScope || this, this.vars.onStartParams || o)), this._time >= u) for (s = this._first; s && (a = s._next, !this._paused || c);) (s._active || s._startTime <= this._time && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a;else for (s = this._last; s && (a = s._prev, !this._paused || c);) (s._active || u >= s._startTime && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a;\n this._onUpdate && (e || this._onUpdate.apply(this.vars.onUpdateScope || this, this.vars.onUpdateParams || o)), h && (this._gc || (f === this._startTime || p !== this._timeScale) && (0 === this._time || _ >= this.totalDuration()) && (n && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[h] && this.vars[h].apply(this.vars[h + \"Scope\"] || this, this.vars[h + \"Params\"] || o)));\n }\n }, f._hasPausedChild = function () {\n for (var t = this._first; t;) {\n if (t._paused || t instanceof s && t._hasPausedChild()) return !0;\n t = t._next;\n }\n\n return !1;\n }, f.getChildren = function (t, e, s, r) {\n r = r || -9999999999;\n\n for (var n = [], a = this._first, o = 0; a;) r > a._startTime || (a instanceof i ? e !== !1 && (n[o++] = a) : (s !== !1 && (n[o++] = a), t !== !1 && (n = n.concat(a.getChildren(!0, e, s)), o = n.length))), a = a._next;\n\n return n;\n }, f.getTweensOf = function (t, e) {\n var s,\n r,\n n = this._gc,\n a = [],\n o = 0;\n\n for (n && this._enabled(!0, !0), s = i.getTweensOf(t), r = s.length; --r > -1;) (s[r].timeline === this || e && this._contains(s[r])) && (a[o++] = s[r]);\n\n return n && this._enabled(!1, !0), a;\n }, f._contains = function (t) {\n for (var e = t.timeline; e;) {\n if (e === this) return !0;\n e = e.timeline;\n }\n\n return !1;\n }, f.shiftChildren = function (t, e, i) {\n i = i || 0;\n\n for (var s, r = this._first, n = this._labels; r;) r._startTime >= i && (r._startTime += t), r = r._next;\n\n if (e) for (s in n) n[s] >= i && (n[s] += t);\n return this._uncache(!0);\n }, f._kill = function (t, e) {\n if (!t && !e) return this._enabled(!1, !1);\n\n for (var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), s = i.length, r = !1; --s > -1;) i[s]._kill(t, e) && (r = !0);\n\n return r;\n }, f.clear = function (t) {\n var e = this.getChildren(!1, !0, !0),\n i = e.length;\n\n for (this._time = this._totalTime = 0; --i > -1;) e[i]._enabled(!1, !1);\n\n return t !== !1 && (this._labels = {}), this._uncache(!0);\n }, f.invalidate = function () {\n for (var t = this._first; t;) t.invalidate(), t = t._next;\n\n return this;\n }, f._enabled = function (t, i) {\n if (t === this._gc) for (var s = this._first; s;) s._enabled(t, !0), s = s._next;\n return e.prototype._enabled.call(this, t, i);\n }, f.duration = function (t) {\n return arguments.length ? (0 !== this.duration() && 0 !== t && this.timeScale(this._duration / t), this) : (this._dirty && this.totalDuration(), this._duration);\n }, f.totalDuration = function (t) {\n if (!arguments.length) {\n if (this._dirty) {\n for (var e, i, s = 0, r = this._last, n = 999999999999; r;) e = r._prev, r._dirty && r.totalDuration(), r._startTime > n && this._sortChildren && !r._paused ? this.add(r, r._startTime - r._delay) : n = r._startTime, 0 > r._startTime && !r._paused && (s -= r._startTime, this._timeline.smoothChildTiming && (this._startTime += r._startTime / this._timeScale), this.shiftChildren(-r._startTime, !1, -9999999999), n = 0), i = r._startTime + r._totalDuration / r._timeScale, i > s && (s = i), r = e;\n\n this._duration = this._totalDuration = s, this._dirty = !1;\n }\n\n return this._totalDuration;\n }\n\n return 0 !== this.totalDuration() && 0 !== t && this.timeScale(this._totalDuration / t), this;\n }, f.usesFrames = function () {\n for (var e = this._timeline; e._timeline;) e = e._timeline;\n\n return e === t._rootFramesTimeline;\n }, f.rawTime = function () {\n return this._paused ? this._totalTime : (this._timeline.rawTime() - this._startTime) * this._timeScale;\n }, s;\n }, !0);\n}), window._gsDefine && window._gsQueue.pop()();\n\n},{}],10:[function(require,module,exports){\n\"use strict\";\n\n/*!\r\n * VERSION: 1.12.1\r\n * DATE: 2014-06-26\r\n * UPDATES AND DOCS AT: http://www.greensock.com\r\n *\r\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\r\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\r\n * Club GreenSock members, the software agreement that was issued with your membership.\r\n * \r\n * @author: Jack Doyle, jack@greensock.com\r\n */\n(function (t) {\n \"use strict\";\n\n var e = t.GreenSockGlobals || t;\n\n if (!e.TweenLite) {\n var i,\n s,\n n,\n r,\n a,\n o = function (t) {\n var i,\n s = t.split(\".\"),\n n = e;\n\n for (i = 0; s.length > i; i++) n[s[i]] = n = n[s[i]] || {};\n\n return n;\n },\n l = o(\"com.greensock\"),\n h = 1e-10,\n _ = [].slice,\n u = function () {},\n m = function () {\n var t = Object.prototype.toString,\n e = t.call([]);\n return function (i) {\n return null != i && (i instanceof Array || \"object\" == typeof i && !!i.push && t.call(i) === e);\n };\n }(),\n f = {},\n p = function (i, s, n, r) {\n this.sc = f[i] ? f[i].sc : [], f[i] = this, this.gsClass = null, this.func = n;\n var a = [];\n this.check = function (l) {\n for (var h, _, u, m, c = s.length, d = c; --c > -1;) (h = f[s[c]] || new p(s[c], [])).gsClass ? (a[c] = h.gsClass, d--) : l && h.sc.push(this);\n\n if (0 === d && n) for (_ = (\"com.greensock.\" + i).split(\".\"), u = _.pop(), m = o(_.join(\".\"))[u] = this.gsClass = n.apply(n, a), r && (e[u] = m, \"function\" == typeof define && define.amd ? define((t.GreenSockAMDPath ? t.GreenSockAMDPath + \"/\" : \"\") + i.split(\".\").join(\"/\"), [], function () {\n return m;\n }) : \"undefined\" != typeof module && module.exports && (module.exports = m)), c = 0; this.sc.length > c; c++) this.sc[c].check();\n }, this.check(!0);\n },\n c = t._gsDefine = function (t, e, i, s) {\n return new p(t, e, i, s);\n },\n d = l._class = function (t, e, i) {\n return e = e || function () {}, c(t, [], function () {\n return e;\n }, i), e;\n };\n\n c.globals = e;\n\n var v = [0, 0, 1, 1],\n g = [],\n T = d(\"easing.Ease\", function (t, e, i, s) {\n this._func = t, this._type = i || 0, this._power = s || 0, this._params = e ? v.concat(e) : v;\n }, !0),\n y = T.map = {},\n w = T.register = function (t, e, i, s) {\n for (var n, r, a, o, h = e.split(\",\"), _ = h.length, u = (i || \"easeIn,easeOut,easeInOut\").split(\",\"); --_ > -1;) for (r = h[_], n = s ? d(\"easing.\" + r, null, !0) : l.easing[r] || {}, a = u.length; --a > -1;) o = u[a], y[r + \".\" + o] = y[o + r] = n[o] = t.getRatio ? t : t[o] || new t();\n };\n\n for (n = T.prototype, n._calcEnd = !1, n.getRatio = function (t) {\n if (this._func) return this._params[0] = t, this._func.apply(null, this._params);\n var e = this._type,\n i = this._power,\n s = 1 === e ? 1 - t : 2 === e ? t : .5 > t ? 2 * t : 2 * (1 - t);\n return 1 === i ? s *= s : 2 === i ? s *= s * s : 3 === i ? s *= s * s * s : 4 === i && (s *= s * s * s * s), 1 === e ? 1 - s : 2 === e ? s : .5 > t ? s / 2 : 1 - s / 2;\n }, i = [\"Linear\", \"Quad\", \"Cubic\", \"Quart\", \"Quint,Strong\"], s = i.length; --s > -1;) n = i[s] + \",Power\" + s, w(new T(null, null, 1, s), n, \"easeOut\", !0), w(new T(null, null, 2, s), n, \"easeIn\" + (0 === s ? \",easeNone\" : \"\")), w(new T(null, null, 3, s), n, \"easeInOut\");\n\n y.linear = l.easing.Linear.easeIn, y.swing = l.easing.Quad.easeInOut;\n var P = d(\"events.EventDispatcher\", function (t) {\n this._listeners = {}, this._eventTarget = t || this;\n });\n n = P.prototype, n.addEventListener = function (t, e, i, s, n) {\n n = n || 0;\n var o,\n l,\n h = this._listeners[t],\n _ = 0;\n\n for (null == h && (this._listeners[t] = h = []), l = h.length; --l > -1;) o = h[l], o.c === e && o.s === i ? h.splice(l, 1) : 0 === _ && n > o.pr && (_ = l + 1);\n\n h.splice(_, 0, {\n c: e,\n s: i,\n up: s,\n pr: n\n }), this !== r || a || r.wake();\n }, n.removeEventListener = function (t, e) {\n var i,\n s = this._listeners[t];\n if (s) for (i = s.length; --i > -1;) if (s[i].c === e) return s.splice(i, 1), void 0;\n }, n.dispatchEvent = function (t) {\n var e,\n i,\n s,\n n = this._listeners[t];\n if (n) for (e = n.length, i = this._eventTarget; --e > -1;) s = n[e], s.up ? s.c.call(s.s || i, {\n type: t,\n target: i\n }) : s.c.call(s.s || i);\n };\n\n var k = t.requestAnimationFrame,\n b = t.cancelAnimationFrame,\n A = Date.now || function () {\n return new Date().getTime();\n },\n S = A();\n\n for (i = [\"ms\", \"moz\", \"webkit\", \"o\"], s = i.length; --s > -1 && !k;) k = t[i[s] + \"RequestAnimationFrame\"], b = t[i[s] + \"CancelAnimationFrame\"] || t[i[s] + \"CancelRequestAnimationFrame\"];\n\n d(\"Ticker\", function (t, e) {\n var i,\n s,\n n,\n o,\n l,\n _ = this,\n m = A(),\n f = e !== !1 && k,\n p = 500,\n c = 33,\n d = function (t) {\n var e,\n r,\n a = A() - S;\n a > p && (m += a - c), S += a, _.time = (S - m) / 1e3, e = _.time - l, (!i || e > 0 || t === !0) && (_.frame++, l += e + (e >= o ? .004 : o - e), r = !0), t !== !0 && (n = s(d)), r && _.dispatchEvent(\"tick\");\n };\n\n P.call(_), _.time = _.frame = 0, _.tick = function () {\n d(!0);\n }, _.lagSmoothing = function (t, e) {\n p = t || 1 / h, c = Math.min(e, p, 0);\n }, _.sleep = function () {\n null != n && (f && b ? b(n) : clearTimeout(n), s = u, n = null, _ === r && (a = !1));\n }, _.wake = function () {\n null !== n ? _.sleep() : _.frame > 10 && (S = A() - p + 5), s = 0 === i ? u : f && k ? k : function (t) {\n return setTimeout(t, 0 | 1e3 * (l - _.time) + 1);\n }, _ === r && (a = !0), d(2);\n }, _.fps = function (t) {\n return arguments.length ? (i = t, o = 1 / (i || 60), l = this.time + o, _.wake(), void 0) : i;\n }, _.useRAF = function (t) {\n return arguments.length ? (_.sleep(), f = t, _.fps(i), void 0) : f;\n }, _.fps(t), setTimeout(function () {\n f && (!n || 5 > _.frame) && _.useRAF(!1);\n }, 1500);\n }), n = l.Ticker.prototype = new l.events.EventDispatcher(), n.constructor = l.Ticker;\n var x = d(\"core.Animation\", function (t, e) {\n if (this.vars = e = e || {}, this._duration = this._totalDuration = t || 0, this._delay = Number(e.delay) || 0, this._timeScale = 1, this._active = e.immediateRender === !0, this.data = e.data, this._reversed = e.reversed === !0, B) {\n a || r.wake();\n var i = this.vars.useFrames ? Q : B;\n i.add(this, i._time), this.vars.paused && this.paused(!0);\n }\n });\n r = x.ticker = new l.Ticker(), n = x.prototype, n._dirty = n._gc = n._initted = n._paused = !1, n._totalTime = n._time = 0, n._rawPrevTime = -1, n._next = n._last = n._onUpdate = n._timeline = n.timeline = null, n._paused = !1;\n\n var C = function () {\n a && A() - S > 2e3 && r.wake(), setTimeout(C, 2e3);\n };\n\n C(), n.play = function (t, e) {\n return null != t && this.seek(t, e), this.reversed(!1).paused(!1);\n }, n.pause = function (t, e) {\n return null != t && this.seek(t, e), this.paused(!0);\n }, n.resume = function (t, e) {\n return null != t && this.seek(t, e), this.paused(!1);\n }, n.seek = function (t, e) {\n return this.totalTime(Number(t), e !== !1);\n }, n.restart = function (t, e) {\n return this.reversed(!1).paused(!1).totalTime(t ? -this._delay : 0, e !== !1, !0);\n }, n.reverse = function (t, e) {\n return null != t && this.seek(t || this.totalDuration(), e), this.reversed(!0).paused(!1);\n }, n.render = function () {}, n.invalidate = function () {\n return this;\n }, n.isActive = function () {\n var t,\n e = this._timeline,\n i = this._startTime;\n return !e || !this._gc && !this._paused && e.isActive() && (t = e.rawTime()) >= i && i + this.totalDuration() / this._timeScale > t;\n }, n._enabled = function (t, e) {\n return a || r.wake(), this._gc = !t, this._active = this.isActive(), e !== !0 && (t && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !t && this.timeline && this._timeline._remove(this, !0)), !1;\n }, n._kill = function () {\n return this._enabled(!1, !1);\n }, n.kill = function (t, e) {\n return this._kill(t, e), this;\n }, n._uncache = function (t) {\n for (var e = t ? this : this.timeline; e;) e._dirty = !0, e = e.timeline;\n\n return this;\n }, n._swapSelfInParams = function (t) {\n for (var e = t.length, i = t.concat(); --e > -1;) \"{self}\" === t[e] && (i[e] = this);\n\n return i;\n }, n.eventCallback = function (t, e, i, s) {\n if (\"on\" === (t || \"\").substr(0, 2)) {\n var n = this.vars;\n if (1 === arguments.length) return n[t];\n null == e ? delete n[t] : (n[t] = e, n[t + \"Params\"] = m(i) && -1 !== i.join(\"\").indexOf(\"{self}\") ? this._swapSelfInParams(i) : i, n[t + \"Scope\"] = s), \"onUpdate\" === t && (this._onUpdate = e);\n }\n\n return this;\n }, n.delay = function (t) {\n return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + t - this._delay), this._delay = t, this) : this._delay;\n }, n.duration = function (t) {\n return arguments.length ? (this._duration = this._totalDuration = t, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && 0 !== t && this.totalTime(this._totalTime * (t / this._duration), !0), this) : (this._dirty = !1, this._duration);\n }, n.totalDuration = function (t) {\n return this._dirty = !1, arguments.length ? this.duration(t) : this._totalDuration;\n }, n.time = function (t, e) {\n return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(t > this._duration ? this._duration : t, e)) : this._time;\n }, n.totalTime = function (t, e, i) {\n if (a || r.wake(), !arguments.length) return this._totalTime;\n\n if (this._timeline) {\n if (0 > t && !i && (t += this.totalDuration()), this._timeline.smoothChildTiming) {\n this._dirty && this.totalDuration();\n var s = this._totalDuration,\n n = this._timeline;\n if (t > s && !i && (t = s), this._startTime = (this._paused ? this._pauseTime : n._time) - (this._reversed ? s - t : t) / this._timeScale, n._dirty || this._uncache(!1), n._timeline) for (; n._timeline;) n._timeline._time !== (n._startTime + n._totalTime) / n._timeScale && n.totalTime(n._totalTime, !0), n = n._timeline;\n }\n\n this._gc && this._enabled(!0, !1), (this._totalTime !== t || 0 === this._duration) && (this.render(t, e, !1), z.length && q());\n }\n\n return this;\n }, n.progress = n.totalProgress = function (t, e) {\n return arguments.length ? this.totalTime(this.duration() * t, e) : this._time / this.duration();\n }, n.startTime = function (t) {\n return arguments.length ? (t !== this._startTime && (this._startTime = t, this.timeline && this.timeline._sortChildren && this.timeline.add(this, t - this._delay)), this) : this._startTime;\n }, n.timeScale = function (t) {\n if (!arguments.length) return this._timeScale;\n\n if (t = t || h, this._timeline && this._timeline.smoothChildTiming) {\n var e = this._pauseTime,\n i = e || 0 === e ? e : this._timeline.totalTime();\n this._startTime = i - (i - this._startTime) * this._timeScale / t;\n }\n\n return this._timeScale = t, this._uncache(!1);\n }, n.reversed = function (t) {\n return arguments.length ? (t != this._reversed && (this._reversed = t, this.totalTime(this._timeline && !this._timeline.smoothChildTiming ? this.totalDuration() - this._totalTime : this._totalTime, !0)), this) : this._reversed;\n }, n.paused = function (t) {\n if (!arguments.length) return this._paused;\n\n if (t != this._paused && this._timeline) {\n a || t || r.wake();\n var e = this._timeline,\n i = e.rawTime(),\n s = i - this._pauseTime;\n !t && e.smoothChildTiming && (this._startTime += s, this._uncache(!1)), this._pauseTime = t ? i : null, this._paused = t, this._active = this.isActive(), !t && 0 !== s && this._initted && this.duration() && this.render(e.smoothChildTiming ? this._totalTime : (i - this._startTime) / this._timeScale, !0, !0);\n }\n\n return this._gc && !t && this._enabled(!0, !1), this;\n };\n var R = d(\"core.SimpleTimeline\", function (t) {\n x.call(this, 0, t), this.autoRemoveChildren = this.smoothChildTiming = !0;\n });\n n = R.prototype = new x(), n.constructor = R, n.kill()._gc = !1, n._first = n._last = null, n._sortChildren = !1, n.add = n.insert = function (t, e) {\n var i, s;\n if (t._startTime = Number(e || 0) + t._delay, t._paused && this !== t._timeline && (t._pauseTime = t._startTime + (this.rawTime() - t._startTime) / t._timeScale), t.timeline && t.timeline._remove(t, !0), t.timeline = t._timeline = this, t._gc && t._enabled(!0, !0), i = this._last, this._sortChildren) for (s = t._startTime; i && i._startTime > s;) i = i._prev;\n return i ? (t._next = i._next, i._next = t) : (t._next = this._first, this._first = t), t._next ? t._next._prev = t : this._last = t, t._prev = i, this._timeline && this._uncache(!0), this;\n }, n._remove = function (t, e) {\n return t.timeline === this && (e || t._enabled(!1, !0), t.timeline = null, t._prev ? t._prev._next = t._next : this._first === t && (this._first = t._next), t._next ? t._next._prev = t._prev : this._last === t && (this._last = t._prev), this._timeline && this._uncache(!0)), this;\n }, n.render = function (t, e, i) {\n var s,\n n = this._first;\n\n for (this._totalTime = this._time = this._rawPrevTime = t; n;) s = n._next, (n._active || t >= n._startTime && !n._paused) && (n._reversed ? n.render((n._dirty ? n.totalDuration() : n._totalDuration) - (t - n._startTime) * n._timeScale, e, i) : n.render((t - n._startTime) * n._timeScale, e, i)), n = s;\n }, n.rawTime = function () {\n return a || r.wake(), this._totalTime;\n };\n\n var D = d(\"TweenLite\", function (e, i, s) {\n if (x.call(this, i, s), this.render = D.prototype.render, null == e) throw \"Cannot tween a null target.\";\n this.target = e = \"string\" != typeof e ? e : D.selector(e) || e;\n var n,\n r,\n a,\n o = e.jquery || e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType),\n l = this.vars.overwrite;\n if (this._overwrite = l = null == l ? G[D.defaultOverwrite] : \"number\" == typeof l ? l >> 0 : G[l], (o || e instanceof Array || e.push && m(e)) && \"number\" != typeof e[0]) for (this._targets = a = _.call(e, 0), this._propLookup = [], this._siblings = [], n = 0; a.length > n; n++) r = a[n], r ? \"string\" != typeof r ? r.length && r !== t && r[0] && (r[0] === t || r[0].nodeType && r[0].style && !r.nodeType) ? (a.splice(n--, 1), this._targets = a = a.concat(_.call(r, 0))) : (this._siblings[n] = M(r, this, !1), 1 === l && this._siblings[n].length > 1 && $(r, this, null, 1, this._siblings[n])) : (r = a[n--] = D.selector(r), \"string\" == typeof r && a.splice(n + 1, 1)) : a.splice(n--, 1);else this._propLookup = {}, this._siblings = M(e, this, !1), 1 === l && this._siblings.length > 1 && $(e, this, null, 1, this._siblings);\n (this.vars.immediateRender || 0 === i && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -h, this.render(-this._delay));\n }, !0),\n I = function (e) {\n return e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType);\n },\n E = function (t, e) {\n var i,\n s = {};\n\n for (i in t) j[i] || i in e && \"transform\" !== i && \"x\" !== i && \"y\" !== i && \"width\" !== i && \"height\" !== i && \"className\" !== i && \"border\" !== i || !(!L[i] || L[i] && L[i]._autoCSS) || (s[i] = t[i], delete t[i]);\n\n t.css = s;\n };\n\n n = D.prototype = new x(), n.constructor = D, n.kill()._gc = !1, n.ratio = 0, n._firstPT = n._targets = n._overwrittenProps = n._startAt = null, n._notifyPluginsOfEnabled = n._lazy = !1, D.version = \"1.12.1\", D.defaultEase = n._ease = new T(null, null, 1, 1), D.defaultOverwrite = \"auto\", D.ticker = r, D.autoSleep = !0, D.lagSmoothing = function (t, e) {\n r.lagSmoothing(t, e);\n }, D.selector = t.$ || t.jQuery || function (e) {\n return t.$ ? (D.selector = t.$, t.$(e)) : t.document ? t.document.getElementById(\"#\" === e.charAt(0) ? e.substr(1) : e) : e;\n };\n\n var z = [],\n O = {},\n N = D._internals = {\n isArray: m,\n isSelector: I,\n lazyTweens: z\n },\n L = D._plugins = {},\n U = N.tweenLookup = {},\n F = 0,\n j = N.reservedProps = {\n ease: 1,\n delay: 1,\n overwrite: 1,\n onComplete: 1,\n onCompleteParams: 1,\n onCompleteScope: 1,\n useFrames: 1,\n runBackwards: 1,\n startAt: 1,\n onUpdate: 1,\n onUpdateParams: 1,\n onUpdateScope: 1,\n onStart: 1,\n onStartParams: 1,\n onStartScope: 1,\n onReverseComplete: 1,\n onReverseCompleteParams: 1,\n onReverseCompleteScope: 1,\n onRepeat: 1,\n onRepeatParams: 1,\n onRepeatScope: 1,\n easeParams: 1,\n yoyo: 1,\n immediateRender: 1,\n repeat: 1,\n repeatDelay: 1,\n data: 1,\n paused: 1,\n reversed: 1,\n autoCSS: 1,\n lazy: 1\n },\n G = {\n none: 0,\n all: 1,\n auto: 2,\n concurrent: 3,\n allOnStart: 4,\n preexisting: 5,\n \"true\": 1,\n \"false\": 0\n },\n Q = x._rootFramesTimeline = new R(),\n B = x._rootTimeline = new R(),\n q = function () {\n var t = z.length;\n\n for (O = {}; --t > -1;) i = z[t], i && i._lazy !== !1 && (i.render(i._lazy, !1, !0), i._lazy = !1);\n\n z.length = 0;\n };\n\n B._startTime = r.time, Q._startTime = r.frame, B._active = Q._active = !0, setTimeout(q, 1), x._updateRoot = D.render = function () {\n var t, e, i;\n\n if (z.length && q(), B.render((r.time - B._startTime) * B._timeScale, !1, !1), Q.render((r.frame - Q._startTime) * Q._timeScale, !1, !1), z.length && q(), !(r.frame % 120)) {\n for (i in U) {\n for (e = U[i].tweens, t = e.length; --t > -1;) e[t]._gc && e.splice(t, 1);\n\n 0 === e.length && delete U[i];\n }\n\n if (i = B._first, (!i || i._paused) && D.autoSleep && !Q._first && 1 === r._listeners.tick.length) {\n for (; i && i._paused;) i = i._next;\n\n i || r.sleep();\n }\n }\n }, r.addEventListener(\"tick\", x._updateRoot);\n\n var M = function (t, e, i) {\n var s,\n n,\n r = t._gsTweenID;\n if (U[r || (t._gsTweenID = r = \"t\" + F++)] || (U[r] = {\n target: t,\n tweens: []\n }), e && (s = U[r].tweens, s[n = s.length] = e, i)) for (; --n > -1;) s[n] === e && s.splice(n, 1);\n return U[r].tweens;\n },\n $ = function (t, e, i, s, n) {\n var r, a, o, l;\n\n if (1 === s || s >= 4) {\n for (l = n.length, r = 0; l > r; r++) if ((o = n[r]) !== e) o._gc || o._enabled(!1, !1) && (a = !0);else if (5 === s) break;\n\n return a;\n }\n\n var _,\n u = e._startTime + h,\n m = [],\n f = 0,\n p = 0 === e._duration;\n\n for (r = n.length; --r > -1;) (o = n[r]) === e || o._gc || o._paused || (o._timeline !== e._timeline ? (_ = _ || K(e, 0, p), 0 === K(o, _, p) && (m[f++] = o)) : u >= o._startTime && o._startTime + o.totalDuration() / o._timeScale > u && ((p || !o._initted) && 2e-10 >= u - o._startTime || (m[f++] = o)));\n\n for (r = f; --r > -1;) o = m[r], 2 === s && o._kill(i, t) && (a = !0), (2 !== s || !o._firstPT && o._initted) && o._enabled(!1, !1) && (a = !0);\n\n return a;\n },\n K = function (t, e, i) {\n for (var s = t._timeline, n = s._timeScale, r = t._startTime; s._timeline;) {\n if (r += s._startTime, n *= s._timeScale, s._paused) return -100;\n s = s._timeline;\n }\n\n return r /= n, r > e ? r - e : i && r === e || !t._initted && 2 * h > r - e ? h : (r += t.totalDuration() / t._timeScale / n) > e + h ? 0 : r - e - h;\n };\n\n n._init = function () {\n var t,\n e,\n i,\n s,\n n,\n r = this.vars,\n a = this._overwrittenProps,\n o = this._duration,\n l = !!r.immediateRender,\n h = r.ease;\n\n if (r.startAt) {\n this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), n = {};\n\n for (s in r.startAt) n[s] = r.startAt[s];\n\n if (n.overwrite = !1, n.immediateRender = !0, n.lazy = l && r.lazy !== !1, n.startAt = n.delay = null, this._startAt = D.to(this.target, 0, n), l) if (this._time > 0) this._startAt = null;else if (0 !== o) return;\n } else if (r.runBackwards && 0 !== o) if (this._startAt) this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null;else {\n i = {};\n\n for (s in r) j[s] && \"autoCSS\" !== s || (i[s] = r[s]);\n\n if (i.overwrite = 0, i.data = \"isFromStart\", i.lazy = l && r.lazy !== !1, i.immediateRender = l, this._startAt = D.to(this.target, 0, i), l) {\n if (0 === this._time) return;\n } else this._startAt._init(), this._startAt._enabled(!1);\n }\n\n if (this._ease = h ? h instanceof T ? r.easeParams instanceof Array ? h.config.apply(h, r.easeParams) : h : \"function\" == typeof h ? new T(h, r.easeParams) : y[h] || D.defaultEase : D.defaultEase, this._easeType = this._ease._type, this._easePower = this._ease._power, this._firstPT = null, this._targets) for (t = this._targets.length; --t > -1;) this._initProps(this._targets[t], this._propLookup[t] = {}, this._siblings[t], a ? a[t] : null) && (e = !0);else e = this._initProps(this.target, this._propLookup, this._siblings, a);\n if (e && D._onPluginEvent(\"_onInitAllProps\", this), a && (this._firstPT || \"function\" != typeof this.target && this._enabled(!1, !1)), r.runBackwards) for (i = this._firstPT; i;) i.s += i.c, i.c = -i.c, i = i._next;\n this._onUpdate = r.onUpdate, this._initted = !0;\n }, n._initProps = function (e, i, s, n) {\n var r, a, o, l, h, _;\n\n if (null == e) return !1;\n O[e._gsTweenID] && q(), this.vars.css || e.style && e !== t && e.nodeType && L.css && this.vars.autoCSS !== !1 && E(this.vars, e);\n\n for (r in this.vars) {\n if (_ = this.vars[r], j[r]) _ && (_ instanceof Array || _.push && m(_)) && -1 !== _.join(\"\").indexOf(\"{self}\") && (this.vars[r] = _ = this._swapSelfInParams(_, this));else if (L[r] && (l = new L[r]())._onInitTween(e, this.vars[r], this)) {\n for (this._firstPT = h = {\n _next: this._firstPT,\n t: l,\n p: \"setRatio\",\n s: 0,\n c: 1,\n f: !0,\n n: r,\n pg: !0,\n pr: l._priority\n }, a = l._overwriteProps.length; --a > -1;) i[l._overwriteProps[a]] = this._firstPT;\n\n (l._priority || l._onInitAllProps) && (o = !0), (l._onDisable || l._onEnable) && (this._notifyPluginsOfEnabled = !0);\n } else this._firstPT = i[r] = h = {\n _next: this._firstPT,\n t: e,\n p: r,\n f: \"function\" == typeof e[r],\n n: r,\n pg: !1,\n pr: 0\n }, h.s = h.f ? e[r.indexOf(\"set\") || \"function\" != typeof e[\"get\" + r.substr(3)] ? r : \"get\" + r.substr(3)]() : parseFloat(e[r]), h.c = \"string\" == typeof _ && \"=\" === _.charAt(1) ? parseInt(_.charAt(0) + \"1\", 10) * Number(_.substr(2)) : Number(_) - h.s || 0;\n h && h._next && (h._next._prev = h);\n }\n\n return n && this._kill(n, e) ? this._initProps(e, i, s, n) : this._overwrite > 1 && this._firstPT && s.length > 1 && $(e, this, i, this._overwrite, s) ? (this._kill(i, e), this._initProps(e, i, s, n)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (O[e._gsTweenID] = !0), o);\n }, n.render = function (t, e, i) {\n var s,\n n,\n r,\n a,\n o = this._time,\n l = this._duration,\n _ = this._rawPrevTime;\n if (t >= l) this._totalTime = this._time = l, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (s = !0, n = \"onComplete\"), 0 === l && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > _ || _ === h) && _ !== t && (i = !0, _ > h && (n = \"onReverseComplete\")), this._rawPrevTime = a = !e || t || _ === t ? t : h);else if (1e-7 > t) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== o || 0 === l && _ > 0 && _ !== h) && (n = \"onReverseComplete\", s = this._reversed), 0 > t ? (this._active = !1, 0 === l && (this._initted || !this.vars.lazy || i) && (_ >= 0 && (i = !0), this._rawPrevTime = a = !e || t || _ === t ? t : h)) : this._initted || (i = !0);else if (this._totalTime = this._time = t, this._easeType) {\n var u = t / l,\n m = this._easeType,\n f = this._easePower;\n (1 === m || 3 === m && u >= .5) && (u = 1 - u), 3 === m && (u *= 2), 1 === f ? u *= u : 2 === f ? u *= u * u : 3 === f ? u *= u * u * u : 4 === f && (u *= u * u * u * u), this.ratio = 1 === m ? 1 - u : 2 === m ? u : .5 > t / l ? u / 2 : 1 - u / 2;\n } else this.ratio = this._ease.getRatio(t / l);\n\n if (this._time !== o || i) {\n if (!this._initted) {\n if (this._init(), !this._initted || this._gc) return;\n if (!i && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration)) return this._time = this._totalTime = o, this._rawPrevTime = _, z.push(this), this._lazy = t, void 0;\n this._time && !s ? this.ratio = this._ease.getRatio(this._time / l) : s && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1));\n }\n\n for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== o && t >= 0 && (this._active = !0), 0 === o && (this._startAt && (t >= 0 ? this._startAt.render(t, e, i) : n || (n = \"_dummyGS\")), this.vars.onStart && (0 !== this._time || 0 === l) && (e || this.vars.onStart.apply(this.vars.onStartScope || this, this.vars.onStartParams || g))), r = this._firstPT; r;) r.f ? r.t[r.p](r.c * this.ratio + r.s) : r.t[r.p] = r.c * this.ratio + r.s, r = r._next;\n\n this._onUpdate && (0 > t && this._startAt && this._startTime && this._startAt.render(t, e, i), e || (this._time !== o || s) && this._onUpdate.apply(this.vars.onUpdateScope || this, this.vars.onUpdateParams || g)), n && (this._gc || (0 > t && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(t, e, i), s && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[n] && this.vars[n].apply(this.vars[n + \"Scope\"] || this, this.vars[n + \"Params\"] || g), 0 === l && this._rawPrevTime === h && a !== h && (this._rawPrevTime = 0)));\n }\n }, n._kill = function (t, e) {\n if (\"all\" === t && (t = null), null == t && (null == e || e === this.target)) return this._lazy = !1, this._enabled(!1, !1);\n e = \"string\" != typeof e ? e || this._targets || this.target : D.selector(e) || e;\n var i, s, n, r, a, o, l, h;\n if ((m(e) || I(e)) && \"number\" != typeof e[0]) for (i = e.length; --i > -1;) this._kill(t, e[i]) && (o = !0);else {\n if (this._targets) {\n for (i = this._targets.length; --i > -1;) if (e === this._targets[i]) {\n a = this._propLookup[i] || {}, this._overwrittenProps = this._overwrittenProps || [], s = this._overwrittenProps[i] = t ? this._overwrittenProps[i] || {} : \"all\";\n break;\n }\n } else {\n if (e !== this.target) return !1;\n a = this._propLookup, s = this._overwrittenProps = t ? this._overwrittenProps || {} : \"all\";\n }\n\n if (a) {\n l = t || a, h = t !== s && \"all\" !== s && t !== a && (\"object\" != typeof t || !t._tempKill);\n\n for (n in l) (r = a[n]) && (r.pg && r.t._kill(l) && (o = !0), r.pg && 0 !== r.t._overwriteProps.length || (r._prev ? r._prev._next = r._next : r === this._firstPT && (this._firstPT = r._next), r._next && (r._next._prev = r._prev), r._next = r._prev = null), delete a[n]), h && (s[n] = 1);\n\n !this._firstPT && this._initted && this._enabled(!1, !1);\n }\n }\n return o;\n }, n.invalidate = function () {\n return this._notifyPluginsOfEnabled && D._onPluginEvent(\"_onDisable\", this), this._firstPT = null, this._overwrittenProps = null, this._onUpdate = null, this._startAt = null, this._initted = this._active = this._notifyPluginsOfEnabled = this._lazy = !1, this._propLookup = this._targets ? {} : [], this;\n }, n._enabled = function (t, e) {\n if (a || r.wake(), t && this._gc) {\n var i,\n s = this._targets;\n if (s) for (i = s.length; --i > -1;) this._siblings[i] = M(s[i], this, !0);else this._siblings = M(this.target, this, !0);\n }\n\n return x.prototype._enabled.call(this, t, e), this._notifyPluginsOfEnabled && this._firstPT ? D._onPluginEvent(t ? \"_onEnable\" : \"_onDisable\", this) : !1;\n }, D.to = function (t, e, i) {\n return new D(t, e, i);\n }, D.from = function (t, e, i) {\n return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new D(t, e, i);\n }, D.fromTo = function (t, e, i, s) {\n return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, new D(t, e, s);\n }, D.delayedCall = function (t, e, i, s, n) {\n return new D(e, 0, {\n delay: t,\n onComplete: e,\n onCompleteParams: i,\n onCompleteScope: s,\n onReverseComplete: e,\n onReverseCompleteParams: i,\n onReverseCompleteScope: s,\n immediateRender: !1,\n useFrames: n,\n overwrite: 0\n });\n }, D.set = function (t, e) {\n return new D(t, 0, e);\n }, D.getTweensOf = function (t, e) {\n if (null == t) return [];\n t = \"string\" != typeof t ? t : D.selector(t) || t;\n var i, s, n, r;\n\n if ((m(t) || I(t)) && \"number\" != typeof t[0]) {\n for (i = t.length, s = []; --i > -1;) s = s.concat(D.getTweensOf(t[i], e));\n\n for (i = s.length; --i > -1;) for (r = s[i], n = i; --n > -1;) r === s[n] && s.splice(i, 1);\n } else for (s = M(t).concat(), i = s.length; --i > -1;) (s[i]._gc || e && !s[i].isActive()) && s.splice(i, 1);\n\n return s;\n }, D.killTweensOf = D.killDelayedCallsTo = function (t, e, i) {\n \"object\" == typeof e && (i = e, e = !1);\n\n for (var s = D.getTweensOf(t, e), n = s.length; --n > -1;) s[n]._kill(i, t);\n };\n var H = d(\"plugins.TweenPlugin\", function (t, e) {\n this._overwriteProps = (t || \"\").split(\",\"), this._propName = this._overwriteProps[0], this._priority = e || 0, this._super = H.prototype;\n }, !0);\n\n if (n = H.prototype, H.version = \"1.10.1\", H.API = 2, n._firstPT = null, n._addTween = function (t, e, i, s, n, r) {\n var a, o;\n return null != s && (a = \"number\" == typeof s || \"=\" !== s.charAt(1) ? Number(s) - i : parseInt(s.charAt(0) + \"1\", 10) * Number(s.substr(2))) ? (this._firstPT = o = {\n _next: this._firstPT,\n t: t,\n p: e,\n s: i,\n c: a,\n f: \"function\" == typeof t[e],\n n: n || e,\n r: r\n }, o._next && (o._next._prev = o), o) : void 0;\n }, n.setRatio = function (t) {\n for (var e, i = this._firstPT, s = 1e-6; i;) e = i.c * t + i.s, i.r ? e = Math.round(e) : s > e && e > -s && (e = 0), i.f ? i.t[i.p](e) : i.t[i.p] = e, i = i._next;\n }, n._kill = function (t) {\n var e,\n i = this._overwriteProps,\n s = this._firstPT;\n if (null != t[this._propName]) this._overwriteProps = [];else for (e = i.length; --e > -1;) null != t[i[e]] && i.splice(e, 1);\n\n for (; s;) null != t[s.n] && (s._next && (s._next._prev = s._prev), s._prev ? (s._prev._next = s._next, s._prev = null) : this._firstPT === s && (this._firstPT = s._next)), s = s._next;\n\n return !1;\n }, n._roundProps = function (t, e) {\n for (var i = this._firstPT; i;) (t[this._propName] || null != i.n && t[i.n.split(this._propName + \"_\").join(\"\")]) && (i.r = e), i = i._next;\n }, D._onPluginEvent = function (t, e) {\n var i,\n s,\n n,\n r,\n a,\n o = e._firstPT;\n\n if (\"_onInitAllProps\" === t) {\n for (; o;) {\n for (a = o._next, s = n; s && s.pr > o.pr;) s = s._next;\n\n (o._prev = s ? s._prev : r) ? o._prev._next = o : n = o, (o._next = s) ? s._prev = o : r = o, o = a;\n }\n\n o = e._firstPT = n;\n }\n\n for (; o;) o.pg && \"function\" == typeof o.t[t] && o.t[t]() && (i = !0), o = o._next;\n\n return i;\n }, H.activate = function (t) {\n for (var e = t.length; --e > -1;) t[e].API === H.API && (L[new t[e]()._propName] = t[e]);\n\n return !0;\n }, c.plugin = function (t) {\n if (!(t && t.propName && t.init && t.API)) throw \"illegal plugin definition.\";\n var e,\n i = t.propName,\n s = t.priority || 0,\n n = t.overwriteProps,\n r = {\n init: \"_onInitTween\",\n set: \"setRatio\",\n kill: \"_kill\",\n round: \"_roundProps\",\n initAll: \"_onInitAllProps\"\n },\n a = d(\"plugins.\" + i.charAt(0).toUpperCase() + i.substr(1) + \"Plugin\", function () {\n H.call(this, i, s), this._overwriteProps = n || [];\n }, t.global === !0),\n o = a.prototype = new H(i);\n o.constructor = a, a.API = t.API;\n\n for (e in r) \"function\" == typeof t[e] && (o[r[e]] = t[e]);\n\n return a.version = t.version, H.activate([a]), a;\n }, i = t._gsQueue) {\n for (s = 0; i.length > s; s++) i[s]();\n\n for (n in f) f[n].func || t.console.log(\"GSAP encountered missing dependency: com.greensock.\" + n);\n }\n\n a = !1;\n }\n})(window);\n\n},{}],11:[function(require,module,exports){\n\"use strict\";\n\n/*!\r\n * VERSION: beta 1.9.3\r\n * DATE: 2013-04-02\r\n * UPDATES AND DOCS AT: http://www.greensock.com\r\n *\r\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\r\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\r\n * Club GreenSock members, the software agreement that was issued with your membership.\r\n * \r\n * @author: Jack Doyle, jack@greensock.com\r\n **/\n(window._gsQueue || (window._gsQueue = [])).push(function () {\n \"use strict\";\n\n window._gsDefine(\"easing.Back\", [\"easing.Ease\"], function (t) {\n var e,\n i,\n s,\n r = window.GreenSockGlobals || window,\n n = r.com.greensock,\n a = 2 * Math.PI,\n o = Math.PI / 2,\n h = n._class,\n l = function (e, i) {\n var s = h(\"easing.\" + e, function () {}, !0),\n r = s.prototype = new t();\n return r.constructor = s, r.getRatio = i, s;\n },\n _ = t.register || function () {},\n u = function (t, e, i, s) {\n var r = h(\"easing.\" + t, {\n easeOut: new e(),\n easeIn: new i(),\n easeInOut: new s()\n }, !0);\n return _(r, t), r;\n },\n c = function (t, e, i) {\n this.t = t, this.v = e, i && (this.next = i, i.prev = this, this.c = i.v - e, this.gap = i.t - t);\n },\n f = function (e, i) {\n var s = h(\"easing.\" + e, function (t) {\n this._p1 = t || 0 === t ? t : 1.70158, this._p2 = 1.525 * this._p1;\n }, !0),\n r = s.prototype = new t();\n return r.constructor = s, r.getRatio = i, r.config = function (t) {\n return new s(t);\n }, s;\n },\n p = u(\"Back\", f(\"BackOut\", function (t) {\n return (t -= 1) * t * ((this._p1 + 1) * t + this._p1) + 1;\n }), f(\"BackIn\", function (t) {\n return t * t * ((this._p1 + 1) * t - this._p1);\n }), f(\"BackInOut\", function (t) {\n return 1 > (t *= 2) ? .5 * t * t * ((this._p2 + 1) * t - this._p2) : .5 * ((t -= 2) * t * ((this._p2 + 1) * t + this._p2) + 2);\n })),\n m = h(\"easing.SlowMo\", function (t, e, i) {\n e = e || 0 === e ? e : .7, null == t ? t = .7 : t > 1 && (t = 1), this._p = 1 !== t ? e : 0, this._p1 = (1 - t) / 2, this._p2 = t, this._p3 = this._p1 + this._p2, this._calcEnd = i === !0;\n }, !0),\n d = m.prototype = new t();\n\n return d.constructor = m, d.getRatio = function (t) {\n var e = t + (.5 - t) * this._p;\n return this._p1 > t ? this._calcEnd ? 1 - (t = 1 - t / this._p1) * t : e - (t = 1 - t / this._p1) * t * t * t * e : t > this._p3 ? this._calcEnd ? 1 - (t = (t - this._p3) / this._p1) * t : e + (t - e) * (t = (t - this._p3) / this._p1) * t * t * t : this._calcEnd ? 1 : e;\n }, m.ease = new m(.7, .7), d.config = m.config = function (t, e, i) {\n return new m(t, e, i);\n }, e = h(\"easing.SteppedEase\", function (t) {\n t = t || 1, this._p1 = 1 / t, this._p2 = t + 1;\n }, !0), d = e.prototype = new t(), d.constructor = e, d.getRatio = function (t) {\n return 0 > t ? t = 0 : t >= 1 && (t = .999999999), (this._p2 * t >> 0) * this._p1;\n }, d.config = e.config = function (t) {\n return new e(t);\n }, i = h(\"easing.RoughEase\", function (e) {\n e = e || {};\n\n for (var i, s, r, n, a, o, h = e.taper || \"none\", l = [], _ = 0, u = 0 | (e.points || 20), f = u, p = e.randomize !== !1, m = e.clamp === !0, d = e.template instanceof t ? e.template : null, g = \"number\" == typeof e.strength ? .4 * e.strength : .4; --f > -1;) i = p ? Math.random() : 1 / u * f, s = d ? d.getRatio(i) : i, \"none\" === h ? r = g : \"out\" === h ? (n = 1 - i, r = n * n * g) : \"in\" === h ? r = i * i * g : .5 > i ? (n = 2 * i, r = .5 * n * n * g) : (n = 2 * (1 - i), r = .5 * n * n * g), p ? s += Math.random() * r - .5 * r : f % 2 ? s += .5 * r : s -= .5 * r, m && (s > 1 ? s = 1 : 0 > s && (s = 0)), l[_++] = {\n x: i,\n y: s\n };\n\n for (l.sort(function (t, e) {\n return t.x - e.x;\n }), o = new c(1, 1, null), f = u; --f > -1;) a = l[f], o = new c(a.x, a.y, o);\n\n this._prev = new c(0, 0, 0 !== o.t ? o : o.next);\n }, !0), d = i.prototype = new t(), d.constructor = i, d.getRatio = function (t) {\n var e = this._prev;\n\n if (t > e.t) {\n for (; e.next && t >= e.t;) e = e.next;\n\n e = e.prev;\n } else for (; e.prev && e.t >= t;) e = e.prev;\n\n return this._prev = e, e.v + (t - e.t) / e.gap * e.c;\n }, d.config = function (t) {\n return new i(t);\n }, i.ease = new i(), u(\"Bounce\", l(\"BounceOut\", function (t) {\n return 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375;\n }), l(\"BounceIn\", function (t) {\n return 1 / 2.75 > (t = 1 - t) ? 1 - 7.5625 * t * t : 2 / 2.75 > t ? 1 - (7.5625 * (t -= 1.5 / 2.75) * t + .75) : 2.5 / 2.75 > t ? 1 - (7.5625 * (t -= 2.25 / 2.75) * t + .9375) : 1 - (7.5625 * (t -= 2.625 / 2.75) * t + .984375);\n }), l(\"BounceInOut\", function (t) {\n var e = .5 > t;\n return t = e ? 1 - 2 * t : 2 * t - 1, t = 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375, e ? .5 * (1 - t) : .5 * t + .5;\n })), u(\"Circ\", l(\"CircOut\", function (t) {\n return Math.sqrt(1 - (t -= 1) * t);\n }), l(\"CircIn\", function (t) {\n return -(Math.sqrt(1 - t * t) - 1);\n }), l(\"CircInOut\", function (t) {\n return 1 > (t *= 2) ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n })), s = function (e, i, s) {\n var r = h(\"easing.\" + e, function (t, e) {\n this._p1 = t || 1, this._p2 = e || s, this._p3 = this._p2 / a * (Math.asin(1 / this._p1) || 0);\n }, !0),\n n = r.prototype = new t();\n return n.constructor = r, n.getRatio = i, n.config = function (t, e) {\n return new r(t, e);\n }, r;\n }, u(\"Elastic\", s(\"ElasticOut\", function (t) {\n return this._p1 * Math.pow(2, -10 * t) * Math.sin((t - this._p3) * a / this._p2) + 1;\n }, .3), s(\"ElasticIn\", function (t) {\n return -(this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2));\n }, .3), s(\"ElasticInOut\", function (t) {\n return 1 > (t *= 2) ? -.5 * this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2) : .5 * this._p1 * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - this._p3) * a / this._p2) + 1;\n }, .45)), u(\"Expo\", l(\"ExpoOut\", function (t) {\n return 1 - Math.pow(2, -10 * t);\n }), l(\"ExpoIn\", function (t) {\n return Math.pow(2, 10 * (t - 1)) - .001;\n }), l(\"ExpoInOut\", function (t) {\n return 1 > (t *= 2) ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * (t - 1)));\n })), u(\"Sine\", l(\"SineOut\", function (t) {\n return Math.sin(t * o);\n }), l(\"SineIn\", function (t) {\n return -Math.cos(t * o) + 1;\n }), l(\"SineInOut\", function (t) {\n return -.5 * (Math.cos(Math.PI * t) - 1);\n })), h(\"easing.EaseLookup\", {\n find: function (e) {\n return t.map[e];\n }\n }, !0), _(r.SlowMo, \"SlowMo\", \"ease,\"), _(i, \"RoughEase\", \"ease,\"), _(e, \"SteppedEase\", \"ease,\"), p;\n }, !0);\n}), window._gsDefine && window._gsQueue.pop()();\n\n},{}],12:[function(require,module,exports){\n\"use strict\";\n\n/*!\r\n * VERSION: 1.12.1\r\n * DATE: 2014-06-26\r\n * UPDATES AND DOCS AT: http://www.greensock.com\r\n *\r\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\r\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\r\n * Club GreenSock members, the software agreement that was issued with your membership.\r\n * \r\n * @author: Jack Doyle, jack@greensock.com\r\n */\n(window._gsQueue || (window._gsQueue = [])).push(function () {\n \"use strict\";\n\n window._gsDefine(\"plugins.CSSPlugin\", [\"plugins.TweenPlugin\", \"TweenLite\"], function (t, e) {\n var i,\n r,\n s,\n n,\n a = function () {\n t.call(this, \"css\"), this._overwriteProps.length = 0, this.setRatio = a.prototype.setRatio;\n },\n o = {},\n l = a.prototype = new t(\"css\");\n\n l.constructor = a, a.version = \"1.12.1\", a.API = 2, a.defaultTransformPerspective = 0, a.defaultSkewType = \"compensated\", l = \"px\", a.suffixMap = {\n top: l,\n right: l,\n bottom: l,\n left: l,\n width: l,\n height: l,\n fontSize: l,\n padding: l,\n margin: l,\n perspective: l,\n lineHeight: \"\"\n };\n\n var h,\n u,\n f,\n _,\n p,\n c,\n d = /(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d)+/g,\n m = /(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d|\\+=\\d|\\-=\\d|\\+=.\\d|\\-=\\.\\d)+/g,\n g = /(?:\\+=|\\-=|\\-|\\b)[\\d\\-\\.]+[a-zA-Z0-9]*(?:%|\\b)/gi,\n v = /[^\\d\\-\\.]/g,\n y = /(?:\\d|\\-|\\+|=|#|\\.)*/g,\n T = /opacity *= *([^)]*)/i,\n w = /opacity:([^;]*)/i,\n x = /alpha\\(opacity *=.+?\\)/i,\n b = /^(rgb|hsl)/,\n P = /([A-Z])/g,\n S = /-([a-z])/gi,\n C = /(^(?:url\\(\\\"|url\\())|(?:(\\\"\\))$|\\)$)/gi,\n R = function (t, e) {\n return e.toUpperCase();\n },\n k = /(?:Left|Right|Width)/i,\n A = /(M11|M12|M21|M22)=[\\d\\-\\.e]+/gi,\n O = /progid\\:DXImageTransform\\.Microsoft\\.Matrix\\(.+?\\)/i,\n D = /,(?=[^\\)]*(?:\\(|$))/gi,\n M = Math.PI / 180,\n L = 180 / Math.PI,\n N = {},\n X = document,\n z = X.createElement(\"div\"),\n I = X.createElement(\"img\"),\n E = a._internals = {\n _specialProps: o\n },\n F = navigator.userAgent,\n Y = function () {\n var t,\n e = F.indexOf(\"Android\"),\n i = X.createElement(\"div\");\n return f = -1 !== F.indexOf(\"Safari\") && -1 === F.indexOf(\"Chrome\") && (-1 === e || Number(F.substr(e + 8, 1)) > 3), p = f && 6 > Number(F.substr(F.indexOf(\"Version/\") + 8, 1)), _ = -1 !== F.indexOf(\"Firefox\"), /MSIE ([0-9]{1,}[\\.0-9]{0,})/.exec(F) && (c = parseFloat(RegExp.$1)), i.innerHTML = \"a\", t = i.getElementsByTagName(\"a\")[0], t ? /^0.55/.test(t.style.opacity) : !1;\n }(),\n B = function (t) {\n return T.test(\"string\" == typeof t ? t : (t.currentStyle ? t.currentStyle.filter : t.style.filter) || \"\") ? parseFloat(RegExp.$1) / 100 : 1;\n },\n U = function (t) {\n window.console && console.log(t);\n },\n W = \"\",\n j = \"\",\n V = function (t, e) {\n e = e || z;\n var i,\n r,\n s = e.style;\n if (void 0 !== s[t]) return t;\n\n for (t = t.charAt(0).toUpperCase() + t.substr(1), i = [\"O\", \"Moz\", \"ms\", \"Ms\", \"Webkit\"], r = 5; --r > -1 && void 0 === s[i[r] + t];);\n\n return r >= 0 ? (j = 3 === r ? \"ms\" : i[r], W = \"-\" + j.toLowerCase() + \"-\", j + t) : null;\n },\n H = X.defaultView ? X.defaultView.getComputedStyle : function () {},\n q = a.getStyle = function (t, e, i, r, s) {\n var n;\n return Y || \"opacity\" !== e ? (!r && t.style[e] ? n = t.style[e] : (i = i || H(t)) ? n = i[e] || i.getPropertyValue(e) || i.getPropertyValue(e.replace(P, \"-$1\").toLowerCase()) : t.currentStyle && (n = t.currentStyle[e]), null == s || n && \"none\" !== n && \"auto\" !== n && \"auto auto\" !== n ? n : s) : B(t);\n },\n Q = E.convertToPixels = function (t, i, r, s, n) {\n if (\"px\" === s || !s) return r;\n if (\"auto\" === s || !r) return 0;\n var o,\n l,\n h,\n u = k.test(i),\n f = t,\n _ = z.style,\n p = 0 > r;\n if (p && (r = -r), \"%\" === s && -1 !== i.indexOf(\"border\")) o = r / 100 * (u ? t.clientWidth : t.clientHeight);else {\n if (_.cssText = \"border:0 solid red;position:\" + q(t, \"position\") + \";line-height:0;\", \"%\" !== s && f.appendChild) _[u ? \"borderLeftWidth\" : \"borderTopWidth\"] = r + s;else {\n if (f = t.parentNode || X.body, l = f._gsCache, h = e.ticker.frame, l && u && l.time === h) return l.width * r / 100;\n _[u ? \"width\" : \"height\"] = r + s;\n }\n f.appendChild(z), o = parseFloat(z[u ? \"offsetWidth\" : \"offsetHeight\"]), f.removeChild(z), u && \"%\" === s && a.cacheWidths !== !1 && (l = f._gsCache = f._gsCache || {}, l.time = h, l.width = 100 * (o / r)), 0 !== o || n || (o = Q(t, i, r, s, !0));\n }\n return p ? -o : o;\n },\n Z = E.calculateOffset = function (t, e, i) {\n if (\"absolute\" !== q(t, \"position\", i)) return 0;\n var r = \"left\" === e ? \"Left\" : \"Top\",\n s = q(t, \"margin\" + r, i);\n return t[\"offset\" + r] - (Q(t, e, parseFloat(s), s.replace(y, \"\")) || 0);\n },\n $ = function (t, e) {\n var i,\n r,\n s = {};\n if (e = e || H(t, null)) {\n if (i = e.length) for (; --i > -1;) s[e[i].replace(S, R)] = e.getPropertyValue(e[i]);else for (i in e) s[i] = e[i];\n } else if (e = t.currentStyle || t.style) for (i in e) \"string\" == typeof i && void 0 === s[i] && (s[i.replace(S, R)] = e[i]);\n return Y || (s.opacity = B(t)), r = Pe(t, e, !1), s.rotation = r.rotation, s.skewX = r.skewX, s.scaleX = r.scaleX, s.scaleY = r.scaleY, s.x = r.x, s.y = r.y, xe && (s.z = r.z, s.rotationX = r.rotationX, s.rotationY = r.rotationY, s.scaleZ = r.scaleZ), s.filters && delete s.filters, s;\n },\n G = function (t, e, i, r, s) {\n var n,\n a,\n o,\n l = {},\n h = t.style;\n\n for (a in i) \"cssText\" !== a && \"length\" !== a && isNaN(a) && (e[a] !== (n = i[a]) || s && s[a]) && -1 === a.indexOf(\"Origin\") && (\"number\" == typeof n || \"string\" == typeof n) && (l[a] = \"auto\" !== n || \"left\" !== a && \"top\" !== a ? \"\" !== n && \"auto\" !== n && \"none\" !== n || \"string\" != typeof e[a] || \"\" === e[a].replace(v, \"\") ? n : 0 : Z(t, a), void 0 !== h[a] && (o = new fe(h, a, h[a], o)));\n\n if (r) for (a in r) \"className\" !== a && (l[a] = r[a]);\n return {\n difs: l,\n firstMPT: o\n };\n },\n K = {\n width: [\"Left\", \"Right\"],\n height: [\"Top\", \"Bottom\"]\n },\n J = [\"marginLeft\", \"marginRight\", \"marginTop\", \"marginBottom\"],\n te = function (t, e, i) {\n var r = parseFloat(\"width\" === e ? t.offsetWidth : t.offsetHeight),\n s = K[e],\n n = s.length;\n\n for (i = i || H(t, null); --n > -1;) r -= parseFloat(q(t, \"padding\" + s[n], i, !0)) || 0, r -= parseFloat(q(t, \"border\" + s[n] + \"Width\", i, !0)) || 0;\n\n return r;\n },\n ee = function (t, e) {\n (null == t || \"\" === t || \"auto\" === t || \"auto auto\" === t) && (t = \"0 0\");\n var i = t.split(\" \"),\n r = -1 !== t.indexOf(\"left\") ? \"0%\" : -1 !== t.indexOf(\"right\") ? \"100%\" : i[0],\n s = -1 !== t.indexOf(\"top\") ? \"0%\" : -1 !== t.indexOf(\"bottom\") ? \"100%\" : i[1];\n return null == s ? s = \"0\" : \"center\" === s && (s = \"50%\"), (\"center\" === r || isNaN(parseFloat(r)) && -1 === (r + \"\").indexOf(\"=\")) && (r = \"50%\"), e && (e.oxp = -1 !== r.indexOf(\"%\"), e.oyp = -1 !== s.indexOf(\"%\"), e.oxr = \"=\" === r.charAt(1), e.oyr = \"=\" === s.charAt(1), e.ox = parseFloat(r.replace(v, \"\")), e.oy = parseFloat(s.replace(v, \"\"))), r + \" \" + s + (i.length > 2 ? \" \" + i[2] : \"\");\n },\n ie = function (t, e) {\n return \"string\" == typeof t && \"=\" === t.charAt(1) ? parseInt(t.charAt(0) + \"1\", 10) * parseFloat(t.substr(2)) : parseFloat(t) - parseFloat(e);\n },\n re = function (t, e) {\n return null == t ? e : \"string\" == typeof t && \"=\" === t.charAt(1) ? parseInt(t.charAt(0) + \"1\", 10) * Number(t.substr(2)) + e : parseFloat(t);\n },\n se = function (t, e, i, r) {\n var s,\n n,\n a,\n o,\n l = 1e-6;\n return null == t ? o = e : \"number\" == typeof t ? o = t : (s = 360, n = t.split(\"_\"), a = Number(n[0].replace(v, \"\")) * (-1 === t.indexOf(\"rad\") ? 1 : L) - (\"=\" === t.charAt(1) ? 0 : e), n.length && (r && (r[i] = e + a), -1 !== t.indexOf(\"short\") && (a %= s, a !== a % (s / 2) && (a = 0 > a ? a + s : a - s)), -1 !== t.indexOf(\"_cw\") && 0 > a ? a = (a + 9999999999 * s) % s - (0 | a / s) * s : -1 !== t.indexOf(\"ccw\") && a > 0 && (a = (a - 9999999999 * s) % s - (0 | a / s) * s)), o = e + a), l > o && o > -l && (o = 0), o;\n },\n ne = {\n aqua: [0, 255, 255],\n lime: [0, 255, 0],\n silver: [192, 192, 192],\n black: [0, 0, 0],\n maroon: [128, 0, 0],\n teal: [0, 128, 128],\n blue: [0, 0, 255],\n navy: [0, 0, 128],\n white: [255, 255, 255],\n fuchsia: [255, 0, 255],\n olive: [128, 128, 0],\n yellow: [255, 255, 0],\n orange: [255, 165, 0],\n gray: [128, 128, 128],\n purple: [128, 0, 128],\n green: [0, 128, 0],\n red: [255, 0, 0],\n pink: [255, 192, 203],\n cyan: [0, 255, 255],\n transparent: [255, 255, 255, 0]\n },\n ae = function (t, e, i) {\n return t = 0 > t ? t + 1 : t > 1 ? t - 1 : t, 0 | 255 * (1 > 6 * t ? e + 6 * (i - e) * t : .5 > t ? i : 2 > 3 * t ? e + 6 * (i - e) * (2 / 3 - t) : e) + .5;\n },\n oe = function (t) {\n var e, i, r, s, n, a;\n return t && \"\" !== t ? \"number\" == typeof t ? [t >> 16, 255 & t >> 8, 255 & t] : (\",\" === t.charAt(t.length - 1) && (t = t.substr(0, t.length - 1)), ne[t] ? ne[t] : \"#\" === t.charAt(0) ? (4 === t.length && (e = t.charAt(1), i = t.charAt(2), r = t.charAt(3), t = \"#\" + e + e + i + i + r + r), t = parseInt(t.substr(1), 16), [t >> 16, 255 & t >> 8, 255 & t]) : \"hsl\" === t.substr(0, 3) ? (t = t.match(d), s = Number(t[0]) % 360 / 360, n = Number(t[1]) / 100, a = Number(t[2]) / 100, i = .5 >= a ? a * (n + 1) : a + n - a * n, e = 2 * a - i, t.length > 3 && (t[3] = Number(t[3])), t[0] = ae(s + 1 / 3, e, i), t[1] = ae(s, e, i), t[2] = ae(s - 1 / 3, e, i), t) : (t = t.match(d) || ne.transparent, t[0] = Number(t[0]), t[1] = Number(t[1]), t[2] = Number(t[2]), t.length > 3 && (t[3] = Number(t[3])), t)) : ne.black;\n },\n le = \"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#.+?\\\\b\";\n\n for (l in ne) le += \"|\" + l + \"\\\\b\";\n\n le = RegExp(le + \")\", \"gi\");\n\n var he = function (t, e, i, r) {\n if (null == t) return function (t) {\n return t;\n };\n var s,\n n = e ? (t.match(le) || [\"\"])[0] : \"\",\n a = t.split(n).join(\"\").match(g) || [],\n o = t.substr(0, t.indexOf(a[0])),\n l = \")\" === t.charAt(t.length - 1) ? \")\" : \"\",\n h = -1 !== t.indexOf(\" \") ? \" \" : \",\",\n u = a.length,\n f = u > 0 ? a[0].replace(d, \"\") : \"\";\n return u ? s = e ? function (t) {\n var e, _, p, c;\n\n if (\"number\" == typeof t) t += f;else if (r && D.test(t)) {\n for (c = t.replace(D, \"|\").split(\"|\"), p = 0; c.length > p; p++) c[p] = s(c[p]);\n\n return c.join(\",\");\n }\n if (e = (t.match(le) || [n])[0], _ = t.split(e).join(\"\").match(g) || [], p = _.length, u > p--) for (; u > ++p;) _[p] = i ? _[0 | (p - 1) / 2] : a[p];\n return o + _.join(h) + h + e + l + (-1 !== t.indexOf(\"inset\") ? \" inset\" : \"\");\n } : function (t) {\n var e, n, _;\n\n if (\"number\" == typeof t) t += f;else if (r && D.test(t)) {\n for (n = t.replace(D, \"|\").split(\"|\"), _ = 0; n.length > _; _++) n[_] = s(n[_]);\n\n return n.join(\",\");\n }\n if (e = t.match(g) || [], _ = e.length, u > _--) for (; u > ++_;) e[_] = i ? e[0 | (_ - 1) / 2] : a[_];\n return o + e.join(h) + l;\n } : function (t) {\n return t;\n };\n },\n ue = function (t) {\n return t = t.split(\",\"), function (e, i, r, s, n, a, o) {\n var l,\n h = (i + \"\").split(\" \");\n\n for (o = {}, l = 0; 4 > l; l++) o[t[l]] = h[l] = h[l] || h[(l - 1) / 2 >> 0];\n\n return s.parse(e, o, n, a);\n };\n },\n fe = (E._setPluginRatio = function (t) {\n this.plugin.setRatio(t);\n\n for (var e, i, r, s, n = this.data, a = n.proxy, o = n.firstMPT, l = 1e-6; o;) e = a[o.v], o.r ? e = Math.round(e) : l > e && e > -l && (e = 0), o.t[o.p] = e, o = o._next;\n\n if (n.autoRotate && (n.autoRotate.rotation = a.rotation), 1 === t) for (o = n.firstMPT; o;) {\n if (i = o.t, i.type) {\n if (1 === i.type) {\n for (s = i.xs0 + i.s + i.xs1, r = 1; i.l > r; r++) s += i[\"xn\" + r] + i[\"xs\" + (r + 1)];\n\n i.e = s;\n }\n } else i.e = i.s + i.xs0;\n\n o = o._next;\n }\n }, function (t, e, i, r, s) {\n this.t = t, this.p = e, this.v = i, this.r = s, r && (r._prev = this, this._next = r);\n }),\n _e = (E._parseToProxy = function (t, e, i, r, s, n) {\n var a,\n o,\n l,\n h,\n u,\n f = r,\n _ = {},\n p = {},\n c = i._transform,\n d = N;\n\n for (i._transform = null, N = e, r = u = i.parse(t, e, r, s), N = d, n && (i._transform = c, f && (f._prev = null, f._prev && (f._prev._next = null))); r && r !== f;) {\n if (1 >= r.type && (o = r.p, p[o] = r.s + r.c, _[o] = r.s, n || (h = new fe(r, \"s\", o, h, r.r), r.c = 0), 1 === r.type)) for (a = r.l; --a > 0;) l = \"xn\" + a, o = r.p + \"_\" + l, p[o] = r.data[l], _[o] = r[l], n || (h = new fe(r, l, o, h, r.rxp[l]));\n r = r._next;\n }\n\n return {\n proxy: _,\n end: p,\n firstMPT: h,\n pt: u\n };\n }, E.CSSPropTween = function (t, e, r, s, a, o, l, h, u, f, _) {\n this.t = t, this.p = e, this.s = r, this.c = s, this.n = l || e, t instanceof _e || n.push(this.n), this.r = h, this.type = o || 0, u && (this.pr = u, i = !0), this.b = void 0 === f ? r : f, this.e = void 0 === _ ? r + s : _, a && (this._next = a, a._prev = this);\n }),\n pe = a.parseComplex = function (t, e, i, r, s, n, a, o, l, u) {\n i = i || n || \"\", a = new _e(t, e, 0, 0, a, u ? 2 : 1, null, !1, o, i, r), r += \"\";\n\n var f,\n _,\n p,\n c,\n g,\n v,\n y,\n T,\n w,\n x,\n P,\n S,\n C = i.split(\", \").join(\",\").split(\" \"),\n R = r.split(\", \").join(\",\").split(\" \"),\n k = C.length,\n A = h !== !1;\n\n for ((-1 !== r.indexOf(\",\") || -1 !== i.indexOf(\",\")) && (C = C.join(\" \").replace(D, \", \").split(\" \"), R = R.join(\" \").replace(D, \", \").split(\" \"), k = C.length), k !== R.length && (C = (n || \"\").split(\" \"), k = C.length), a.plugin = l, a.setRatio = u, f = 0; k > f; f++) if (c = C[f], g = R[f], T = parseFloat(c), T || 0 === T) a.appendXtra(\"\", T, ie(g, T), g.replace(m, \"\"), A && -1 !== g.indexOf(\"px\"), !0);else if (s && (\"#\" === c.charAt(0) || ne[c] || b.test(c))) S = \",\" === g.charAt(g.length - 1) ? \"),\" : \")\", c = oe(c), g = oe(g), w = c.length + g.length > 6, w && !Y && 0 === g[3] ? (a[\"xs\" + a.l] += a.l ? \" transparent\" : \"transparent\", a.e = a.e.split(R[f]).join(\"transparent\")) : (Y || (w = !1), a.appendXtra(w ? \"rgba(\" : \"rgb(\", c[0], g[0] - c[0], \",\", !0, !0).appendXtra(\"\", c[1], g[1] - c[1], \",\", !0).appendXtra(\"\", c[2], g[2] - c[2], w ? \",\" : S, !0), w && (c = 4 > c.length ? 1 : c[3], a.appendXtra(\"\", c, (4 > g.length ? 1 : g[3]) - c, S, !1)));else if (v = c.match(d)) {\n if (y = g.match(m), !y || y.length !== v.length) return a;\n\n for (p = 0, _ = 0; v.length > _; _++) P = v[_], x = c.indexOf(P, p), a.appendXtra(c.substr(p, x - p), Number(P), ie(y[_], P), \"\", A && \"px\" === c.substr(x + P.length, 2), 0 === _), p = x + P.length;\n\n a[\"xs\" + a.l] += c.substr(p);\n } else a[\"xs\" + a.l] += a.l ? \" \" + c : c;\n\n if (-1 !== r.indexOf(\"=\") && a.data) {\n for (S = a.xs0 + a.data.s, f = 1; a.l > f; f++) S += a[\"xs\" + f] + a.data[\"xn\" + f];\n\n a.e = S + a[\"xs\" + f];\n }\n\n return a.l || (a.type = -1, a.xs0 = a.e), a.xfirst || a;\n },\n ce = 9;\n\n for (l = _e.prototype, l.l = l.pr = 0; --ce > 0;) l[\"xn\" + ce] = 0, l[\"xs\" + ce] = \"\";\n\n l.xs0 = \"\", l._next = l._prev = l.xfirst = l.data = l.plugin = l.setRatio = l.rxp = null, l.appendXtra = function (t, e, i, r, s, n) {\n var a = this,\n o = a.l;\n return a[\"xs\" + o] += n && o ? \" \" + t : t || \"\", i || 0 === o || a.plugin ? (a.l++, a.type = a.setRatio ? 2 : 1, a[\"xs\" + a.l] = r || \"\", o > 0 ? (a.data[\"xn\" + o] = e + i, a.rxp[\"xn\" + o] = s, a[\"xn\" + o] = e, a.plugin || (a.xfirst = new _e(a, \"xn\" + o, e, i, a.xfirst || a, 0, a.n, s, a.pr), a.xfirst.xs0 = 0), a) : (a.data = {\n s: e + i\n }, a.rxp = {}, a.s = e, a.c = i, a.r = s, a)) : (a[\"xs\" + o] += e + (r || \"\"), a);\n };\n\n var de = function (t, e) {\n e = e || {}, this.p = e.prefix ? V(t) || t : t, o[t] = o[this.p] = this, this.format = e.formatter || he(e.defaultValue, e.color, e.collapsible, e.multi), e.parser && (this.parse = e.parser), this.clrs = e.color, this.multi = e.multi, this.keyword = e.keyword, this.dflt = e.defaultValue, this.pr = e.priority || 0;\n },\n me = E._registerComplexSpecialProp = function (t, e, i) {\n \"object\" != typeof e && (e = {\n parser: i\n });\n var r,\n s,\n n = t.split(\",\"),\n a = e.defaultValue;\n\n for (i = i || [a], r = 0; n.length > r; r++) e.prefix = 0 === r && e.prefix, e.defaultValue = i[r] || a, s = new de(n[r], e);\n },\n ge = function (t) {\n if (!o[t]) {\n var e = t.charAt(0).toUpperCase() + t.substr(1) + \"Plugin\";\n me(t, {\n parser: function (t, i, r, s, n, a, l) {\n var h = (window.GreenSockGlobals || window).com.greensock.plugins[e];\n return h ? (h._cssRegister(), o[r].parse(t, i, r, s, n, a, l)) : (U(\"Error: \" + e + \" js file not loaded.\"), n);\n }\n });\n }\n };\n\n l = de.prototype, l.parseComplex = function (t, e, i, r, s, n) {\n var a,\n o,\n l,\n h,\n u,\n f,\n _ = this.keyword;\n\n if (this.multi && (D.test(i) || D.test(e) ? (o = e.replace(D, \"|\").split(\"|\"), l = i.replace(D, \"|\").split(\"|\")) : _ && (o = [e], l = [i])), l) {\n for (h = l.length > o.length ? l.length : o.length, a = 0; h > a; a++) e = o[a] = o[a] || this.dflt, i = l[a] = l[a] || this.dflt, _ && (u = e.indexOf(_), f = i.indexOf(_), u !== f && (i = -1 === f ? l : o, i[a] += \" \" + _));\n\n e = o.join(\", \"), i = l.join(\", \");\n }\n\n return pe(t, this.p, e, i, this.clrs, this.dflt, r, this.pr, s, n);\n }, l.parse = function (t, e, i, r, n, a) {\n return this.parseComplex(t.style, this.format(q(t, this.p, s, !1, this.dflt)), this.format(e), n, a);\n }, a.registerSpecialProp = function (t, e, i) {\n me(t, {\n parser: function (t, r, s, n, a, o) {\n var l = new _e(t, s, 0, 0, a, 2, s, !1, i);\n return l.plugin = o, l.setRatio = e(t, r, n._tween, s), l;\n },\n priority: i\n });\n };\n\n var ve = \"scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective\".split(\",\"),\n ye = V(\"transform\"),\n Te = W + \"transform\",\n we = V(\"transformOrigin\"),\n xe = null !== V(\"perspective\"),\n be = E.Transform = function () {\n this.skewY = 0;\n },\n Pe = E.getTransform = function (t, e, i, r) {\n if (t._gsTransform && i && !r) return t._gsTransform;\n\n var s,\n n,\n o,\n l,\n h,\n u,\n f,\n _,\n p,\n c,\n d,\n m,\n g,\n v = i ? t._gsTransform || new be() : new be(),\n y = 0 > v.scaleX,\n T = 2e-5,\n w = 1e5,\n x = 179.99,\n b = x * M,\n P = xe ? parseFloat(q(t, we, e, !1, \"0 0 0\").split(\" \")[2]) || v.zOrigin || 0 : 0;\n\n for (ye ? s = q(t, Te, e, !0) : t.currentStyle && (s = t.currentStyle.filter.match(A), s = s && 4 === s.length ? [s[0].substr(4), Number(s[2].substr(4)), Number(s[1].substr(4)), s[3].substr(4), v.x || 0, v.y || 0].join(\",\") : \"\"), n = (s || \"\").match(/(?:\\-|\\b)[\\d\\-\\.e]+\\b/gi) || [], o = n.length; --o > -1;) l = Number(n[o]), n[o] = (h = l - (l |= 0)) ? (0 | h * w + (0 > h ? -.5 : .5)) / w + l : l;\n\n if (16 === n.length) {\n var S = n[8],\n C = n[9],\n R = n[10],\n k = n[12],\n O = n[13],\n D = n[14];\n\n if (v.zOrigin && (D = -v.zOrigin, k = S * D - n[12], O = C * D - n[13], D = R * D + v.zOrigin - n[14]), !i || r || null == v.rotationX) {\n var N,\n X,\n z,\n I,\n E,\n F,\n Y,\n B = n[0],\n U = n[1],\n W = n[2],\n j = n[3],\n V = n[4],\n H = n[5],\n Q = n[6],\n Z = n[7],\n $ = n[11],\n G = Math.atan2(Q, R),\n K = -b > G || G > b;\n v.rotationX = G * L, G && (I = Math.cos(-G), E = Math.sin(-G), N = V * I + S * E, X = H * I + C * E, z = Q * I + R * E, S = V * -E + S * I, C = H * -E + C * I, R = Q * -E + R * I, $ = Z * -E + $ * I, V = N, H = X, Q = z), G = Math.atan2(S, B), v.rotationY = G * L, G && (F = -b > G || G > b, I = Math.cos(-G), E = Math.sin(-G), N = B * I - S * E, X = U * I - C * E, z = W * I - R * E, C = U * E + C * I, R = W * E + R * I, $ = j * E + $ * I, B = N, U = X, W = z), G = Math.atan2(U, H), v.rotation = G * L, G && (Y = -b > G || G > b, I = Math.cos(-G), E = Math.sin(-G), B = B * I + V * E, X = U * I + H * E, H = U * -E + H * I, Q = W * -E + Q * I, U = X), Y && K ? v.rotation = v.rotationX = 0 : Y && F ? v.rotation = v.rotationY = 0 : F && K && (v.rotationY = v.rotationX = 0), v.scaleX = (0 | Math.sqrt(B * B + U * U) * w + .5) / w, v.scaleY = (0 | Math.sqrt(H * H + C * C) * w + .5) / w, v.scaleZ = (0 | Math.sqrt(Q * Q + R * R) * w + .5) / w, v.skewX = 0, v.perspective = $ ? 1 / (0 > $ ? -$ : $) : 0, v.x = k, v.y = O, v.z = D;\n }\n } else if (!(xe && !r && n.length && v.x === n[4] && v.y === n[5] && (v.rotationX || v.rotationY) || void 0 !== v.x && \"none\" === q(t, \"display\", e))) {\n var J = n.length >= 6,\n te = J ? n[0] : 1,\n ee = n[1] || 0,\n ie = n[2] || 0,\n re = J ? n[3] : 1;\n v.x = n[4] || 0, v.y = n[5] || 0, u = Math.sqrt(te * te + ee * ee), f = Math.sqrt(re * re + ie * ie), _ = te || ee ? Math.atan2(ee, te) * L : v.rotation || 0, p = ie || re ? Math.atan2(ie, re) * L + _ : v.skewX || 0, c = u - Math.abs(v.scaleX || 0), d = f - Math.abs(v.scaleY || 0), Math.abs(p) > 90 && 270 > Math.abs(p) && (y ? (u *= -1, p += 0 >= _ ? 180 : -180, _ += 0 >= _ ? 180 : -180) : (f *= -1, p += 0 >= p ? 180 : -180)), m = (_ - v.rotation) % 180, g = (p - v.skewX) % 180, (void 0 === v.skewX || c > T || -T > c || d > T || -T > d || m > -x && x > m && false | m * w || g > -x && x > g && false | g * w) && (v.scaleX = u, v.scaleY = f, v.rotation = _, v.skewX = p), xe && (v.rotationX = v.rotationY = v.z = 0, v.perspective = parseFloat(a.defaultTransformPerspective) || 0, v.scaleZ = 1);\n }\n\n v.zOrigin = P;\n\n for (o in v) T > v[o] && v[o] > -T && (v[o] = 0);\n\n return i && (t._gsTransform = v), v;\n },\n Se = function (t) {\n var e,\n i,\n r = this.data,\n s = -r.rotation * M,\n n = s + r.skewX * M,\n a = 1e5,\n o = (0 | Math.cos(s) * r.scaleX * a) / a,\n l = (0 | Math.sin(s) * r.scaleX * a) / a,\n h = (0 | Math.sin(n) * -r.scaleY * a) / a,\n u = (0 | Math.cos(n) * r.scaleY * a) / a,\n f = this.t.style,\n _ = this.t.currentStyle;\n\n if (_) {\n i = l, l = -h, h = -i, e = _.filter, f.filter = \"\";\n var p,\n d,\n m = this.t.offsetWidth,\n g = this.t.offsetHeight,\n v = \"absolute\" !== _.position,\n w = \"progid:DXImageTransform.Microsoft.Matrix(M11=\" + o + \", M12=\" + l + \", M21=\" + h + \", M22=\" + u,\n x = r.x,\n b = r.y;\n\n if (null != r.ox && (p = (r.oxp ? .01 * m * r.ox : r.ox) - m / 2, d = (r.oyp ? .01 * g * r.oy : r.oy) - g / 2, x += p - (p * o + d * l), b += d - (p * h + d * u)), v ? (p = m / 2, d = g / 2, w += \", Dx=\" + (p - (p * o + d * l) + x) + \", Dy=\" + (d - (p * h + d * u) + b) + \")\") : w += \", sizingMethod='auto expand')\", f.filter = -1 !== e.indexOf(\"DXImageTransform.Microsoft.Matrix(\") ? e.replace(O, w) : w + \" \" + e, (0 === t || 1 === t) && 1 === o && 0 === l && 0 === h && 1 === u && (v && -1 === w.indexOf(\"Dx=0, Dy=0\") || T.test(e) && 100 !== parseFloat(RegExp.$1) || -1 === e.indexOf(\"gradient(\" && e.indexOf(\"Alpha\")) && f.removeAttribute(\"filter\")), !v) {\n var P,\n S,\n C,\n R = 8 > c ? 1 : -1;\n\n for (p = r.ieOffsetX || 0, d = r.ieOffsetY || 0, r.ieOffsetX = Math.round((m - ((0 > o ? -o : o) * m + (0 > l ? -l : l) * g)) / 2 + x), r.ieOffsetY = Math.round((g - ((0 > u ? -u : u) * g + (0 > h ? -h : h) * m)) / 2 + b), ce = 0; 4 > ce; ce++) S = J[ce], P = _[S], i = -1 !== P.indexOf(\"px\") ? parseFloat(P) : Q(this.t, S, parseFloat(P), P.replace(y, \"\")) || 0, C = i !== r[S] ? 2 > ce ? -r.ieOffsetX : -r.ieOffsetY : 2 > ce ? p - r.ieOffsetX : d - r.ieOffsetY, f[S] = (r[S] = Math.round(i - C * (0 === ce || 2 === ce ? 1 : R))) + \"px\";\n }\n }\n },\n Ce = E.set3DTransformRatio = function (t) {\n var e,\n i,\n r,\n s,\n n,\n a,\n o,\n l,\n h,\n u,\n f,\n p,\n c,\n d,\n m,\n g,\n v,\n y,\n T,\n w,\n x,\n b,\n P,\n S = this.data,\n C = this.t.style,\n R = S.rotation * M,\n k = S.scaleX,\n A = S.scaleY,\n O = S.scaleZ,\n D = S.perspective;\n if (!(1 !== t && 0 !== t || \"auto\" !== S.force3D || S.rotationY || S.rotationX || 1 !== O || D || S.z)) return Re.call(this, t), void 0;\n\n if (_) {\n var L = 1e-4;\n L > k && k > -L && (k = O = 2e-5), L > A && A > -L && (A = O = 2e-5), !D || S.z || S.rotationX || S.rotationY || (D = 0);\n }\n\n if (R || S.skewX) y = Math.cos(R), T = Math.sin(R), e = y, n = T, S.skewX && (R -= S.skewX * M, y = Math.cos(R), T = Math.sin(R), \"simple\" === S.skewType && (w = Math.tan(S.skewX * M), w = Math.sqrt(1 + w * w), y *= w, T *= w)), i = -T, a = y;else {\n if (!(S.rotationY || S.rotationX || 1 !== O || D)) return C[ye] = \"translate3d(\" + S.x + \"px,\" + S.y + \"px,\" + S.z + \"px)\" + (1 !== k || 1 !== A ? \" scale(\" + k + \",\" + A + \")\" : \"\"), void 0;\n e = a = 1, i = n = 0;\n }\n f = 1, r = s = o = l = h = u = p = c = d = 0, m = D ? -1 / D : 0, g = S.zOrigin, v = 1e5, R = S.rotationY * M, R && (y = Math.cos(R), T = Math.sin(R), h = f * -T, c = m * -T, r = e * T, o = n * T, f *= y, m *= y, e *= y, n *= y), R = S.rotationX * M, R && (y = Math.cos(R), T = Math.sin(R), w = i * y + r * T, x = a * y + o * T, b = u * y + f * T, P = d * y + m * T, r = i * -T + r * y, o = a * -T + o * y, f = u * -T + f * y, m = d * -T + m * y, i = w, a = x, u = b, d = P), 1 !== O && (r *= O, o *= O, f *= O, m *= O), 1 !== A && (i *= A, a *= A, u *= A, d *= A), 1 !== k && (e *= k, n *= k, h *= k, c *= k), g && (p -= g, s = r * p, l = o * p, p = f * p + g), s = (w = (s += S.x) - (s |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + s : s, l = (w = (l += S.y) - (l |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + l : l, p = (w = (p += S.z) - (p |= 0)) ? (0 | w * v + (0 > w ? -.5 : .5)) / v + p : p, C[ye] = \"matrix3d(\" + [(0 | e * v) / v, (0 | n * v) / v, (0 | h * v) / v, (0 | c * v) / v, (0 | i * v) / v, (0 | a * v) / v, (0 | u * v) / v, (0 | d * v) / v, (0 | r * v) / v, (0 | o * v) / v, (0 | f * v) / v, (0 | m * v) / v, s, l, p, D ? 1 + -p / D : 1].join(\",\") + \")\";\n },\n Re = E.set2DTransformRatio = function (t) {\n var e,\n i,\n r,\n s,\n n,\n a = this.data,\n o = this.t,\n l = o.style;\n return a.rotationX || a.rotationY || a.z || a.force3D === !0 || \"auto\" === a.force3D && 1 !== t && 0 !== t ? (this.setRatio = Ce, Ce.call(this, t), void 0) : (a.rotation || a.skewX ? (e = a.rotation * M, i = e - a.skewX * M, r = 1e5, s = a.scaleX * r, n = a.scaleY * r, l[ye] = \"matrix(\" + (0 | Math.cos(e) * s) / r + \",\" + (0 | Math.sin(e) * s) / r + \",\" + (0 | Math.sin(i) * -n) / r + \",\" + (0 | Math.cos(i) * n) / r + \",\" + a.x + \",\" + a.y + \")\") : l[ye] = \"matrix(\" + a.scaleX + \",0,0,\" + a.scaleY + \",\" + a.x + \",\" + a.y + \")\", void 0);\n };\n\n me(\"transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType\", {\n parser: function (t, e, i, r, n, o, l) {\n if (r._transform) return n;\n\n var h,\n u,\n f,\n _,\n p,\n c,\n d,\n m = r._transform = Pe(t, s, !0, l.parseTransform),\n g = t.style,\n v = 1e-6,\n y = ve.length,\n T = l,\n w = {};\n\n if (\"string\" == typeof T.transform && ye) f = z.style, f[ye] = T.transform, f.display = \"block\", f.position = \"absolute\", X.body.appendChild(z), h = Pe(z, null, !1), X.body.removeChild(z);else if (\"object\" == typeof T) {\n if (h = {\n scaleX: re(null != T.scaleX ? T.scaleX : T.scale, m.scaleX),\n scaleY: re(null != T.scaleY ? T.scaleY : T.scale, m.scaleY),\n scaleZ: re(T.scaleZ, m.scaleZ),\n x: re(T.x, m.x),\n y: re(T.y, m.y),\n z: re(T.z, m.z),\n perspective: re(T.transformPerspective, m.perspective)\n }, d = T.directionalRotation, null != d) if (\"object\" == typeof d) for (f in d) T[f] = d[f];else T.rotation = d;\n h.rotation = se(\"rotation\" in T ? T.rotation : \"shortRotation\" in T ? T.shortRotation + \"_short\" : \"rotationZ\" in T ? T.rotationZ : m.rotation, m.rotation, \"rotation\", w), xe && (h.rotationX = se(\"rotationX\" in T ? T.rotationX : \"shortRotationX\" in T ? T.shortRotationX + \"_short\" : m.rotationX || 0, m.rotationX, \"rotationX\", w), h.rotationY = se(\"rotationY\" in T ? T.rotationY : \"shortRotationY\" in T ? T.shortRotationY + \"_short\" : m.rotationY || 0, m.rotationY, \"rotationY\", w)), h.skewX = null == T.skewX ? m.skewX : se(T.skewX, m.skewX), h.skewY = null == T.skewY ? m.skewY : se(T.skewY, m.skewY), (u = h.skewY - m.skewY) && (h.skewX += u, h.rotation += u);\n }\n\n for (xe && null != T.force3D && (m.force3D = T.force3D, c = !0), m.skewType = T.skewType || m.skewType || a.defaultSkewType, p = m.force3D || m.z || m.rotationX || m.rotationY || h.z || h.rotationX || h.rotationY || h.perspective, p || null == T.scale || (h.scaleZ = 1); --y > -1;) i = ve[y], _ = h[i] - m[i], (_ > v || -v > _ || null != N[i]) && (c = !0, n = new _e(m, i, m[i], _, n), i in w && (n.e = w[i]), n.xs0 = 0, n.plugin = o, r._overwriteProps.push(n.n));\n\n return _ = T.transformOrigin, (_ || xe && p && m.zOrigin) && (ye ? (c = !0, i = we, _ = (_ || q(t, i, s, !1, \"50% 50%\")) + \"\", n = new _e(g, i, 0, 0, n, -1, \"transformOrigin\"), n.b = g[i], n.plugin = o, xe ? (f = m.zOrigin, _ = _.split(\" \"), m.zOrigin = (_.length > 2 && (0 === f || \"0px\" !== _[2]) ? parseFloat(_[2]) : f) || 0, n.xs0 = n.e = _[0] + \" \" + (_[1] || \"50%\") + \" 0px\", n = new _e(m, \"zOrigin\", 0, 0, n, -1, n.n), n.b = f, n.xs0 = n.e = m.zOrigin) : n.xs0 = n.e = _) : ee(_ + \"\", m)), c && (r._transformType = p || 3 === this._transformType ? 3 : 2), n;\n },\n prefix: !0\n }), me(\"boxShadow\", {\n defaultValue: \"0px 0px 0px 0px #999\",\n prefix: !0,\n color: !0,\n multi: !0,\n keyword: \"inset\"\n }), me(\"borderRadius\", {\n defaultValue: \"0px\",\n parser: function (t, e, i, n, a) {\n e = this.format(e);\n\n var o,\n l,\n h,\n u,\n f,\n _,\n p,\n c,\n d,\n m,\n g,\n v,\n y,\n T,\n w,\n x,\n b = [\"borderTopLeftRadius\", \"borderTopRightRadius\", \"borderBottomRightRadius\", \"borderBottomLeftRadius\"],\n P = t.style;\n\n for (d = parseFloat(t.offsetWidth), m = parseFloat(t.offsetHeight), o = e.split(\" \"), l = 0; b.length > l; l++) this.p.indexOf(\"border\") && (b[l] = V(b[l])), f = u = q(t, b[l], s, !1, \"0px\"), -1 !== f.indexOf(\" \") && (u = f.split(\" \"), f = u[0], u = u[1]), _ = h = o[l], p = parseFloat(f), v = f.substr((p + \"\").length), y = \"=\" === _.charAt(1), y ? (c = parseInt(_.charAt(0) + \"1\", 10), _ = _.substr(2), c *= parseFloat(_), g = _.substr((c + \"\").length - (0 > c ? 1 : 0)) || \"\") : (c = parseFloat(_), g = _.substr((c + \"\").length)), \"\" === g && (g = r[i] || v), g !== v && (T = Q(t, \"borderLeft\", p, v), w = Q(t, \"borderTop\", p, v), \"%\" === g ? (f = 100 * (T / d) + \"%\", u = 100 * (w / m) + \"%\") : \"em\" === g ? (x = Q(t, \"borderLeft\", 1, \"em\"), f = T / x + \"em\", u = w / x + \"em\") : (f = T + \"px\", u = w + \"px\"), y && (_ = parseFloat(f) + c + g, h = parseFloat(u) + c + g)), a = pe(P, b[l], f + \" \" + u, _ + \" \" + h, !1, \"0px\", a);\n\n return a;\n },\n prefix: !0,\n formatter: he(\"0px 0px 0px 0px\", !1, !0)\n }), me(\"backgroundPosition\", {\n defaultValue: \"0 0\",\n parser: function (t, e, i, r, n, a) {\n var o,\n l,\n h,\n u,\n f,\n _,\n p = \"background-position\",\n d = s || H(t, null),\n m = this.format((d ? c ? d.getPropertyValue(p + \"-x\") + \" \" + d.getPropertyValue(p + \"-y\") : d.getPropertyValue(p) : t.currentStyle.backgroundPositionX + \" \" + t.currentStyle.backgroundPositionY) || \"0 0\"),\n g = this.format(e);\n\n if (-1 !== m.indexOf(\"%\") != (-1 !== g.indexOf(\"%\")) && (_ = q(t, \"backgroundImage\").replace(C, \"\"), _ && \"none\" !== _)) {\n for (o = m.split(\" \"), l = g.split(\" \"), I.setAttribute(\"src\", _), h = 2; --h > -1;) m = o[h], u = -1 !== m.indexOf(\"%\"), u !== (-1 !== l[h].indexOf(\"%\")) && (f = 0 === h ? t.offsetWidth - I.width : t.offsetHeight - I.height, o[h] = u ? parseFloat(m) / 100 * f + \"px\" : 100 * (parseFloat(m) / f) + \"%\");\n\n m = o.join(\" \");\n }\n\n return this.parseComplex(t.style, m, g, n, a);\n },\n formatter: ee\n }), me(\"backgroundSize\", {\n defaultValue: \"0 0\",\n formatter: ee\n }), me(\"perspective\", {\n defaultValue: \"0px\",\n prefix: !0\n }), me(\"perspectiveOrigin\", {\n defaultValue: \"50% 50%\",\n prefix: !0\n }), me(\"transformStyle\", {\n prefix: !0\n }), me(\"backfaceVisibility\", {\n prefix: !0\n }), me(\"userSelect\", {\n prefix: !0\n }), me(\"margin\", {\n parser: ue(\"marginTop,marginRight,marginBottom,marginLeft\")\n }), me(\"padding\", {\n parser: ue(\"paddingTop,paddingRight,paddingBottom,paddingLeft\")\n }), me(\"clip\", {\n defaultValue: \"rect(0px,0px,0px,0px)\",\n parser: function (t, e, i, r, n, a) {\n var o, l, h;\n return 9 > c ? (l = t.currentStyle, h = 8 > c ? \" \" : \",\", o = \"rect(\" + l.clipTop + h + l.clipRight + h + l.clipBottom + h + l.clipLeft + \")\", e = this.format(e).split(\",\").join(h)) : (o = this.format(q(t, this.p, s, !1, this.dflt)), e = this.format(e)), this.parseComplex(t.style, o, e, n, a);\n }\n }), me(\"textShadow\", {\n defaultValue: \"0px 0px 0px #999\",\n color: !0,\n multi: !0\n }), me(\"autoRound,strictUnits\", {\n parser: function (t, e, i, r, s) {\n return s;\n }\n }), me(\"border\", {\n defaultValue: \"0px solid #000\",\n parser: function (t, e, i, r, n, a) {\n return this.parseComplex(t.style, this.format(q(t, \"borderTopWidth\", s, !1, \"0px\") + \" \" + q(t, \"borderTopStyle\", s, !1, \"solid\") + \" \" + q(t, \"borderTopColor\", s, !1, \"#000\")), this.format(e), n, a);\n },\n color: !0,\n formatter: function (t) {\n var e = t.split(\" \");\n return e[0] + \" \" + (e[1] || \"solid\") + \" \" + (t.match(le) || [\"#000\"])[0];\n }\n }), me(\"borderWidth\", {\n parser: ue(\"borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth\")\n }), me(\"float,cssFloat,styleFloat\", {\n parser: function (t, e, i, r, s) {\n var n = t.style,\n a = \"cssFloat\" in n ? \"cssFloat\" : \"styleFloat\";\n return new _e(n, a, 0, 0, s, -1, i, !1, 0, n[a], e);\n }\n });\n\n var ke = function (t) {\n var e,\n i = this.t,\n r = i.filter || q(this.data, \"filter\"),\n s = 0 | this.s + this.c * t;\n 100 === s && (-1 === r.indexOf(\"atrix(\") && -1 === r.indexOf(\"radient(\") && -1 === r.indexOf(\"oader(\") ? (i.removeAttribute(\"filter\"), e = !q(this.data, \"filter\")) : (i.filter = r.replace(x, \"\"), e = !0)), e || (this.xn1 && (i.filter = r = r || \"alpha(opacity=\" + s + \")\"), -1 === r.indexOf(\"pacity\") ? 0 === s && this.xn1 || (i.filter = r + \" alpha(opacity=\" + s + \")\") : i.filter = r.replace(T, \"opacity=\" + s));\n };\n\n me(\"opacity,alpha,autoAlpha\", {\n defaultValue: \"1\",\n parser: function (t, e, i, r, n, a) {\n var o = parseFloat(q(t, \"opacity\", s, !1, \"1\")),\n l = t.style,\n h = \"autoAlpha\" === i;\n return \"string\" == typeof e && \"=\" === e.charAt(1) && (e = (\"-\" === e.charAt(0) ? -1 : 1) * parseFloat(e.substr(2)) + o), h && 1 === o && \"hidden\" === q(t, \"visibility\", s) && 0 !== e && (o = 0), Y ? n = new _e(l, \"opacity\", o, e - o, n) : (n = new _e(l, \"opacity\", 100 * o, 100 * (e - o), n), n.xn1 = h ? 1 : 0, l.zoom = 1, n.type = 2, n.b = \"alpha(opacity=\" + n.s + \")\", n.e = \"alpha(opacity=\" + (n.s + n.c) + \")\", n.data = t, n.plugin = a, n.setRatio = ke), h && (n = new _e(l, \"visibility\", 0, 0, n, -1, null, !1, 0, 0 !== o ? \"inherit\" : \"hidden\", 0 === e ? \"hidden\" : \"inherit\"), n.xs0 = \"inherit\", r._overwriteProps.push(n.n), r._overwriteProps.push(i)), n;\n }\n });\n\n var Ae = function (t, e) {\n e && (t.removeProperty ? (\"ms\" === e.substr(0, 2) && (e = \"M\" + e.substr(1)), t.removeProperty(e.replace(P, \"-$1\").toLowerCase())) : t.removeAttribute(e));\n },\n Oe = function (t) {\n if (this.t._gsClassPT = this, 1 === t || 0 === t) {\n this.t.setAttribute(\"class\", 0 === t ? this.b : this.e);\n\n for (var e = this.data, i = this.t.style; e;) e.v ? i[e.p] = e.v : Ae(i, e.p), e = e._next;\n\n 1 === t && this.t._gsClassPT === this && (this.t._gsClassPT = null);\n } else this.t.getAttribute(\"class\") !== this.e && this.t.setAttribute(\"class\", this.e);\n };\n\n me(\"className\", {\n parser: function (t, e, r, n, a, o, l) {\n var h,\n u,\n f,\n _,\n p,\n c = t.getAttribute(\"class\") || \"\",\n d = t.style.cssText;\n\n if (a = n._classNamePT = new _e(t, r, 0, 0, a, 2), a.setRatio = Oe, a.pr = -11, i = !0, a.b = c, u = $(t, s), f = t._gsClassPT) {\n for (_ = {}, p = f.data; p;) _[p.p] = 1, p = p._next;\n\n f.setRatio(1);\n }\n\n return t._gsClassPT = a, a.e = \"=\" !== e.charAt(1) ? e : c.replace(RegExp(\"\\\\s*\\\\b\" + e.substr(2) + \"\\\\b\"), \"\") + (\"+\" === e.charAt(0) ? \" \" + e.substr(2) : \"\"), n._tween._duration && (t.setAttribute(\"class\", a.e), h = G(t, u, $(t), l, _), t.setAttribute(\"class\", c), a.data = h.firstMPT, t.style.cssText = d, a = a.xfirst = n.parse(t, h.difs, a, o)), a;\n }\n });\n\n var De = function (t) {\n if ((1 === t || 0 === t) && this.data._totalTime === this.data._totalDuration && \"isFromStart\" !== this.data.data) {\n var e,\n i,\n r,\n s,\n n = this.t.style,\n a = o.transform.parse;\n if (\"all\" === this.e) n.cssText = \"\", s = !0;else for (e = this.e.split(\",\"), r = e.length; --r > -1;) i = e[r], o[i] && (o[i].parse === a ? s = !0 : i = \"transformOrigin\" === i ? we : o[i].p), Ae(n, i);\n s && (Ae(n, ye), this.t._gsTransform && delete this.t._gsTransform);\n }\n };\n\n for (me(\"clearProps\", {\n parser: function (t, e, r, s, n) {\n return n = new _e(t, r, 0, 0, n, 2), n.setRatio = De, n.e = e, n.pr = -10, n.data = s._tween, i = !0, n;\n }\n }), l = \"bezier,throwProps,physicsProps,physics2D\".split(\",\"), ce = l.length; ce--;) ge(l[ce]);\n\n l = a.prototype, l._firstPT = null, l._onInitTween = function (t, e, o) {\n if (!t.nodeType) return !1;\n this._target = t, this._tween = o, this._vars = e, h = e.autoRound, i = !1, r = e.suffixMap || a.suffixMap, s = H(t, \"\"), n = this._overwriteProps;\n\n var l,\n _,\n c,\n d,\n m,\n g,\n v,\n y,\n T,\n x = t.style;\n\n if (u && \"\" === x.zIndex && (l = q(t, \"zIndex\", s), (\"auto\" === l || \"\" === l) && this._addLazySet(x, \"zIndex\", 0)), \"string\" == typeof e && (d = x.cssText, l = $(t, s), x.cssText = d + \";\" + e, l = G(t, l, $(t)).difs, !Y && w.test(e) && (l.opacity = parseFloat(RegExp.$1)), e = l, x.cssText = d), this._firstPT = _ = this.parse(t, e, null), this._transformType) {\n for (T = 3 === this._transformType, ye ? f && (u = !0, \"\" === x.zIndex && (v = q(t, \"zIndex\", s), (\"auto\" === v || \"\" === v) && this._addLazySet(x, \"zIndex\", 0)), p && this._addLazySet(x, \"WebkitBackfaceVisibility\", this._vars.WebkitBackfaceVisibility || (T ? \"visible\" : \"hidden\"))) : x.zoom = 1, c = _; c && c._next;) c = c._next;\n\n y = new _e(t, \"transform\", 0, 0, null, 2), this._linkCSSP(y, null, c), y.setRatio = T && xe ? Ce : ye ? Re : Se, y.data = this._transform || Pe(t, s, !0), n.pop();\n }\n\n if (i) {\n for (; _;) {\n for (g = _._next, c = d; c && c.pr > _.pr;) c = c._next;\n\n (_._prev = c ? c._prev : m) ? _._prev._next = _ : d = _, (_._next = c) ? c._prev = _ : m = _, _ = g;\n }\n\n this._firstPT = d;\n }\n\n return !0;\n }, l.parse = function (t, e, i, n) {\n var a,\n l,\n u,\n f,\n _,\n p,\n c,\n d,\n m,\n g,\n v = t.style;\n\n for (a in e) p = e[a], l = o[a], l ? i = l.parse(t, p, a, this, i, n, e) : (_ = q(t, a, s) + \"\", m = \"string\" == typeof p, \"color\" === a || \"fill\" === a || \"stroke\" === a || -1 !== a.indexOf(\"Color\") || m && b.test(p) ? (m || (p = oe(p), p = (p.length > 3 ? \"rgba(\" : \"rgb(\") + p.join(\",\") + \")\"), i = pe(v, a, _, p, !0, \"transparent\", i, 0, n)) : !m || -1 === p.indexOf(\" \") && -1 === p.indexOf(\",\") ? (u = parseFloat(_), c = u || 0 === u ? _.substr((u + \"\").length) : \"\", (\"\" === _ || \"auto\" === _) && (\"width\" === a || \"height\" === a ? (u = te(t, a, s), c = \"px\") : \"left\" === a || \"top\" === a ? (u = Z(t, a, s), c = \"px\") : (u = \"opacity\" !== a ? 0 : 1, c = \"\")), g = m && \"=\" === p.charAt(1), g ? (f = parseInt(p.charAt(0) + \"1\", 10), p = p.substr(2), f *= parseFloat(p), d = p.replace(y, \"\")) : (f = parseFloat(p), d = m ? p.substr((f + \"\").length) || \"\" : \"\"), \"\" === d && (d = a in r ? r[a] : c), p = f || 0 === f ? (g ? f + u : f) + d : e[a], c !== d && \"\" !== d && (f || 0 === f) && u && (u = Q(t, a, u, c), \"%\" === d ? (u /= Q(t, a, 100, \"%\") / 100, e.strictUnits !== !0 && (_ = u + \"%\")) : \"em\" === d ? u /= Q(t, a, 1, \"em\") : \"px\" !== d && (f = Q(t, a, f, d), d = \"px\"), g && (f || 0 === f) && (p = f + u + d)), g && (f += u), !u && 0 !== u || !f && 0 !== f ? void 0 !== v[a] && (p || \"NaN\" != p + \"\" && null != p) ? (i = new _e(v, a, f || u || 0, 0, i, -1, a, !1, 0, _, p), i.xs0 = \"none\" !== p || \"display\" !== a && -1 === a.indexOf(\"Style\") ? p : _) : U(\"invalid \" + a + \" tween value: \" + e[a]) : (i = new _e(v, a, u, f - u, i, 0, a, h !== !1 && (\"px\" === d || \"zIndex\" === a), 0, _, p), i.xs0 = d)) : i = pe(v, a, _, p, !0, null, i, 0, n)), n && i && !i.plugin && (i.plugin = n);\n\n return i;\n }, l.setRatio = function (t) {\n var e,\n i,\n r,\n s = this._firstPT,\n n = 1e-6;\n if (1 !== t || this._tween._time !== this._tween._duration && 0 !== this._tween._time) {\n if (t || this._tween._time !== this._tween._duration && 0 !== this._tween._time || this._tween._rawPrevTime === -1e-6) for (; s;) {\n if (e = s.c * t + s.s, s.r ? e = Math.round(e) : n > e && e > -n && (e = 0), s.type) {\n if (1 === s.type) {\n if (r = s.l, 2 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2;else if (3 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3;else if (4 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4;else if (5 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4 + s.xn4 + s.xs5;else {\n for (i = s.xs0 + e + s.xs1, r = 1; s.l > r; r++) i += s[\"xn\" + r] + s[\"xs\" + (r + 1)];\n\n s.t[s.p] = i;\n }\n } else -1 === s.type ? s.t[s.p] = s.xs0 : s.setRatio && s.setRatio(t);\n } else s.t[s.p] = e + s.xs0;\n s = s._next;\n } else for (; s;) 2 !== s.type ? s.t[s.p] = s.b : s.setRatio(t), s = s._next;\n } else for (; s;) 2 !== s.type ? s.t[s.p] = s.e : s.setRatio(t), s = s._next;\n }, l._enableTransforms = function (t) {\n this._transformType = t || 3 === this._transformType ? 3 : 2, this._transform = this._transform || Pe(this._target, s, !0);\n };\n\n var Me = function () {\n this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0);\n };\n\n l._addLazySet = function (t, e, i) {\n var r = this._firstPT = new _e(t, e, 0, 0, this._firstPT, 2);\n r.e = i, r.setRatio = Me, r.data = this;\n }, l._linkCSSP = function (t, e, i, r) {\n return t && (e && (e._prev = t), t._next && (t._next._prev = t._prev), t._prev ? t._prev._next = t._next : this._firstPT === t && (this._firstPT = t._next, r = !0), i ? i._next = t : r || null !== this._firstPT || (this._firstPT = t), t._next = e, t._prev = i), t;\n }, l._kill = function (e) {\n var i,\n r,\n s,\n n = e;\n\n if (e.autoAlpha || e.alpha) {\n n = {};\n\n for (r in e) n[r] = e[r];\n\n n.opacity = 1, n.autoAlpha && (n.visibility = 1);\n }\n\n return e.className && (i = this._classNamePT) && (s = i.xfirst, s && s._prev ? this._linkCSSP(s._prev, i._next, s._prev._prev) : s === this._firstPT && (this._firstPT = i._next), i._next && this._linkCSSP(i._next, i._next._next, s._prev), this._classNamePT = null), t.prototype._kill.call(this, n);\n };\n\n var Le = function (t, e, i) {\n var r, s, n, a;\n if (t.slice) for (s = t.length; --s > -1;) Le(t[s], e, i);else for (r = t.childNodes, s = r.length; --s > -1;) n = r[s], a = n.type, n.style && (e.push($(n)), i && i.push(n)), 1 !== a && 9 !== a && 11 !== a || !n.childNodes.length || Le(n, e, i);\n };\n\n return a.cascadeTo = function (t, i, r) {\n var s,\n n,\n a,\n o = e.to(t, i, r),\n l = [o],\n h = [],\n u = [],\n f = [],\n _ = e._internals.reservedProps;\n\n for (t = o._targets || o.target, Le(t, h, f), o.render(i, !0), Le(t, u), o.render(0, !0), o._enabled(!0), s = f.length; --s > -1;) if (n = G(f[s], h[s], u[s]), n.firstMPT) {\n n = n.difs;\n\n for (a in r) _[a] && (n[a] = r[a]);\n\n l.push(e.to(f[s], i, n));\n }\n\n return l;\n }, t.activate([a]), a;\n }, !0);\n}), window._gsDefine && window._gsQueue.pop()();\n\n},{}],13:[function(require,module,exports){\n\"use strict\";\n\n/*!\r\n * VERSION: 1.7.3\r\n * DATE: 2014-01-14\r\n * UPDATES AND DOCS AT: http://www.greensock.com\r\n *\r\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\r\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\r\n * Club GreenSock members, the software agreement that was issued with your membership.\r\n * \r\n * @author: Jack Doyle, jack@greensock.com\r\n **/\n(window._gsQueue || (window._gsQueue = [])).push(function () {\n \"use strict\";\n\n var t = document.documentElement,\n e = window,\n i = function (i, s) {\n var r = \"x\" === s ? \"Width\" : \"Height\",\n n = \"scroll\" + r,\n a = \"client\" + r,\n o = document.body;\n return i === e || i === t || i === o ? Math.max(t[n], o[n]) - (e[\"inner\" + r] || Math.max(t[a], o[a])) : i[n] - i[\"offset\" + r];\n },\n s = window._gsDefine.plugin({\n propName: \"scrollTo\",\n API: 2,\n version: \"1.7.3\",\n init: function (t, s, r) {\n return this._wdw = t === e, this._target = t, this._tween = r, \"object\" != typeof s && (s = {\n y: s\n }), this._autoKill = s.autoKill !== !1, this.x = this.xPrev = this.getX(), this.y = this.yPrev = this.getY(), null != s.x ? (this._addTween(this, \"x\", this.x, \"max\" === s.x ? i(t, \"x\") : s.x, \"scrollTo_x\", !0), this._overwriteProps.push(\"scrollTo_x\")) : this.skipX = !0, null != s.y ? (this._addTween(this, \"y\", this.y, \"max\" === s.y ? i(t, \"y\") : s.y, \"scrollTo_y\", !0), this._overwriteProps.push(\"scrollTo_y\")) : this.skipY = !0, !0;\n },\n set: function (t) {\n this._super.setRatio.call(this, t);\n\n var s = this._wdw || !this.skipX ? this.getX() : this.xPrev,\n r = this._wdw || !this.skipY ? this.getY() : this.yPrev,\n n = r - this.yPrev,\n a = s - this.xPrev;\n this._autoKill && (!this.skipX && (a > 7 || -7 > a) && i(this._target, \"x\") > s && (this.skipX = !0), !this.skipY && (n > 7 || -7 > n) && i(this._target, \"y\") > r && (this.skipY = !0), this.skipX && this.skipY && this._tween.kill()), this._wdw ? e.scrollTo(this.skipX ? s : this.x, this.skipY ? r : this.y) : (this.skipY || (this._target.scrollTop = this.y), this.skipX || (this._target.scrollLeft = this.x)), this.xPrev = this.x, this.yPrev = this.y;\n }\n }),\n r = s.prototype;\n\n s.max = i, r.getX = function () {\n return this._wdw ? null != e.pageXOffset ? e.pageXOffset : null != t.scrollLeft ? t.scrollLeft : document.body.scrollLeft : this._target.scrollLeft;\n }, r.getY = function () {\n return this._wdw ? null != e.pageYOffset ? e.pageYOffset : null != t.scrollTop ? t.scrollTop : document.body.scrollTop : this._target.scrollTop;\n }, r._kill = function (t) {\n return t.scrollTo_x && (this.skipX = !0), t.scrollTo_y && (this.skipY = !0), this._super._kill.call(this, t);\n };\n}), window._gsDefine && window._gsQueue.pop()();\n\n},{}]},{},[2])\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJzcmMvanMvZ2xvYmFsL2FqYXguanMiLCJzcmMvanMvZ2xvYmFsL2FwcC5qcyIsInNyYy9qcy9nbG9iYWwvYmVhY29uLmpzIiwic3JjL2pzL2dsb2JhbC9jb3VudGRvd24uanMiLCJzcmMvanMvZ2xvYmFsL2ZpZWxkcy5qcyIsInNyYy9qcy9nbG9iYWwvbWFpbi5qcyIsInNyYy9qcy9nbG9iYWwvcGFnZU1hbmFnZXIuanMiLCJzcmMvanMvZ2xvYmFsL3JvY2tldGNkbi5qcyIsInNyYy9qcy9saWIvZ3JlZW5zb2NrL1RpbWVsaW5lTGl0ZS5taW4uanMiLCJzcmMvanMvbGliL2dyZWVuc29jay9Ud2VlbkxpdGUubWluLmpzIiwic3JjL2pzL2xpYi9ncmVlbnNvY2svZWFzaW5nL0Vhc2VQYWNrLm1pbi5qcyIsInNyYy9qcy9saWIvZ3JlZW5zb2NrL3BsdWdpbnMvQ1NTUGx1Z2luLm1pbi5qcyIsInNyYy9qcy9saWIvZ3JlZW5zb2NrL3BsdWdpbnMvU2Nyb2xsVG9QbHVnaW4ubWluLmpzIl0sIm5hbWVzIjpbX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VybiBvKG58fHIpfSxwLHAuZXhwb3J0cyxyLGUsbix0KX1yZXR1cm4gbltpXS5leHBvcnRzfWZvcih2YXIgdT1cImZ1bmN0aW9uXCI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlLGk9MDtpPHQubGVuZ3RoO2krKylvKHRbaV0pO3JldHVybiBvfXJldHVybiByfSkoKSIsInZhciAkID0galF1ZXJ5O1xuJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXtcbiAgICAvKipcbiAgICAgKiBSZWZyZXNoIExpY2Vuc2UgZGF0YVxuICAgICAqL1xuICAgIHZhciBfaXNSZWZyZXNoaW5nID0gZmFsc2U7XG4gICAgJCgnI3dwci1hY3Rpb24tcmVmcmVzaF9hY2NvdW50Jykub24oJ2NsaWNrJywgZnVuY3Rpb24oZSkge1xuICAgICAgICBpZighX2lzUmVmcmVzaGluZyl7XG4gICAgICAgICAgICB2YXIgYnV0dG9uID0gJCh0aGlzKTtcbiAgICAgICAgICAgIHZhciBhY2NvdW50ID0gJCgnI3dwci1hY2NvdW50LWRhdGEnKTtcbiAgICAgICAgICAgIHZhciBleHBpcmUgPSAkKCcjd3ByLWV4cGlyYXRpb24tZGF0YScpO1xuXG4gICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICBfaXNSZWZyZXNoaW5nID0gdHJ1ZTtcbiAgICAgICAgICAgIGJ1dHRvbi50cmlnZ2VyKCAnYmx1cicgKTtcbiAgICAgICAgICAgIGJ1dHRvbi5hZGRDbGFzcygnd3ByLWlzTG9hZGluZycpO1xuICAgICAgICAgICAgZXhwaXJlLnJlbW92ZUNsYXNzKCd3cHItaXNWYWxpZCB3cHItaXNJbnZhbGlkJyk7XG5cbiAgICAgICAgICAgICQucG9zdChcbiAgICAgICAgICAgICAgICBhamF4dXJsLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgYWN0aW9uOiAncm9ja2V0X3JlZnJlc2hfY3VzdG9tZXJfZGF0YScsXG4gICAgICAgICAgICAgICAgICAgIF9hamF4X25vbmNlOiByb2NrZXRfYWpheF9kYXRhLm5vbmNlLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgZnVuY3Rpb24ocmVzcG9uc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgYnV0dG9uLnJlbW92ZUNsYXNzKCd3cHItaXNMb2FkaW5nJyk7XG4gICAgICAgICAgICAgICAgICAgIGJ1dHRvbi5hZGRDbGFzcygnd3ByLWlzSGlkZGVuJyk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKCB0cnVlID09PSByZXNwb25zZS5zdWNjZXNzICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgYWNjb3VudC5odG1sKHJlc3BvbnNlLmRhdGEubGljZW5zZV90eXBlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGV4cGlyZS5hZGRDbGFzcyhyZXNwb25zZS5kYXRhLmxpY2Vuc2VfY2xhc3MpLmh0bWwocmVzcG9uc2UuZGF0YS5saWNlbnNlX2V4cGlyYXRpb24pO1xuICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXR0b24ucmVtb3ZlQ2xhc3MoJ3dwci1pY29uLXJlZnJlc2ggd3ByLWlzSGlkZGVuJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnV0dG9uLmFkZENsYXNzKCd3cHItaWNvbi1jaGVjaycpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSwgMjUwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBlbHNle1xuICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXR0b24ucmVtb3ZlQ2xhc3MoJ3dwci1pY29uLXJlZnJlc2ggd3ByLWlzSGlkZGVuJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnV0dG9uLmFkZENsYXNzKCd3cHItaWNvbi1jbG9zZScpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSwgMjUwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgdlRMID0gbmV3IFRpbWVsaW5lTGl0ZSh7b25Db21wbGV0ZTpmdW5jdGlvbigpe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9pc1JlZnJlc2hpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH19KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAuc2V0KGJ1dHRvbiwge2Nzczp7Y2xhc3NOYW1lOicrPXdwci1pc0hpZGRlbid9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonLT13cHItaWNvbi1jaGVjayd9fSwgMC4yNSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonLT13cHItaWNvbi1jbG9zZSd9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgLnNldChidXR0b24sIHtjc3M6e2NsYXNzTmFtZTonKz13cHItaWNvbi1yZWZyZXNoJ319LCAwLjI1KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAuc2V0KGJ1dHRvbiwge2Nzczp7Y2xhc3NOYW1lOictPXdwci1pc0hpZGRlbid9fSlcbiAgICAgICAgICAgICAgICAgICAgICAgIDtcbiAgICAgICAgICAgICAgICAgICAgfSwgMjAwMCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfSk7XG5cbiAgICAvKipcbiAgICAgKiBTYXZlIFRvZ2dsZSBvcHRpb24gdmFsdWVzIG9uIGNoYW5nZVxuICAgICAqL1xuICAgICQoJy53cHItcmFkaW8gaW5wdXRbdHlwZT1jaGVja2JveF0nKS5vbignY2hhbmdlJywgZnVuY3Rpb24oZSkge1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgIHZhciBuYW1lICA9ICQodGhpcykuYXR0cignaWQnKTtcbiAgICAgICAgdmFyIHZhbHVlID0gJCh0aGlzKS5wcm9wKCdjaGVja2VkJykgPyAxIDogMDtcblxuXHRcdHZhciBleGNsdWRlZCA9IFsgJ2Nsb3VkZmxhcmVfYXV0b19zZXR0aW5ncycsICdjbG91ZGZsYXJlX2Rldm1vZGUnIF07XG5cdFx0aWYgKCBleGNsdWRlZC5pbmRleE9mKCBuYW1lICkgPj0gMCApIHtcblx0XHRcdHJldHVybjtcblx0XHR9XG5cbiAgICAgICAgJC5wb3N0KFxuICAgICAgICAgICAgYWpheHVybCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBhY3Rpb246ICdyb2NrZXRfdG9nZ2xlX29wdGlvbicsXG4gICAgICAgICAgICAgICAgX2FqYXhfbm9uY2U6IHJvY2tldF9hamF4X2RhdGEubm9uY2UsXG4gICAgICAgICAgICAgICAgb3B0aW9uOiB7XG4gICAgICAgICAgICAgICAgICAgIG5hbWU6IG5hbWUsXG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiB2YWx1ZVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBmdW5jdGlvbihyZXNwb25zZSkge31cbiAgICAgICAgKTtcblx0fSk7XG5cblx0LyoqXG4gICAgICogU2F2ZSBlbmFibGUgQ1BDU1MgZm9yIG1vYmlsZXMgb3B0aW9uLlxuICAgICAqL1xuICAgICQoJyN3cHItYWN0aW9uLXJvY2tldF9lbmFibGVfbW9iaWxlX2NwY3NzJykub24oJ2NsaWNrJywgZnVuY3Rpb24oZSkge1xu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cbiAgICAgICAgJC5wb3N0KFxuICAgICAgICAgICAgYWpheHVybCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBhY3Rpb246ICdyb2NrZXRfZGlzbWlzc19wcm9tbycsXG4gICAgICAgICAgICAgICAgbm9uY2U6IHJvY2tldF9hamF4X2RhdGEubm9uY2VcbiAgICAgICAgICAgIH0sXG5cdFx0XHRmdW5jdGlvbihyZXNwb25zZSkge1xuXHRcdFx0XHRpZiAoIHJlc3BvbnNlLnN1Y2Nlc3MgKSB7XG5cdFx0XHRcdFx0JCgnI3JvY2tldC1wcm9tby1iYW5uZXInKS5oaWRlKCAnc2xvdycgKTtcblx0XHRcdFx0fVxuXHRcdFx0fVxuICAgICAgICApO1xuICAgIH0gKTtcblxuICAgICQoICcjcm9ja2V0LWRpc21pc3MtcmVuZXdhbCcgKS5vbiggJ2NsaWNrJywgZnVuY3Rpb24oIGUgKSB7XG4gICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcblxuICAgICAgICAkLnBvc3QoXG4gICAgICAgICAgICBhamF4dXJsLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGFjdGlvbjogJ3JvY2tldF9kaXNtaXNzX3JlbmV3YWwnLFxuICAgICAgICAgICAgICAgIG5vbmNlOiByb2NrZXRfYWpheF9kYXRhLm5vbmNlXG4gICAgICAgICAgICB9LFxuXHRcdFx0ZnVuY3Rpb24ocmVzcG9uc2UpIHtcblx0XHRcdFx0aWYgKCByZXNwb25zZS5zdWNjZXNzICkge1xuXHRcdFx0XHRcdCQoJyNyb2NrZXQtcmVuZXdhbC1iYW5uZXInKS5oaWRlKCAnc2xvdycgKTtcblx0XHRcdFx0fVxuXHRcdFx0fVxuICAgICAgICApO1xuICAgIH0gKTtcblx0JCggJyN3cHItdXBkYXRlLWV4Y2x1c2lvbi1saXN0JyApLm9uKCAnY2xpY2snLCBmdW5jdGlvbiggZSApIHtcblx0XHRlLnByZXZlbnREZWZhdWx0KCk7XG5cdFx0J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gICAgICAgKi9cbiAgICAgICAgdmFyICRoZWxwID0gJCgnLndwci1pbmZvQWN0aW9uLS1oZWxwJyk7XG4gICAgICAgICRoZWxwLm9uKCdjbGljaycsIGZ1bmN0aW9uKGUpe1xuICAgICAgICAgICAgdmFyIGlkcyA9ICQodGhpcykuZGF0YSgnYmVhY29uLWlkJyk7XG4gICAgICAgICAgICB3cHJDYWxsQmVhY29uKGlkcyk7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGZ1bmN0aW9uIHdwckNhbGxCZWFjb24oYUlEKXtcbiAgICAgICAgICAgIGFJRCA9IGFJRC5zcGxpdCgnLCcpO1xuICAgICAgICAgICAgaWYgKCBhSUQubGVuZ3RoID09PSAwICkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmICggYUlELmxlbmd0aCA+IDEgKSB7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJzdWdnZXN0XCIsIGFJRCk7XG5cbiAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJvcGVuXCIpO1xuICAgICAgICAgICAgICAgICAgICB9LCAyMDApO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvdy5CZWFjb24oXCJhcnRpY2xlXCIsIGFJRC50b1N0cmluZygpKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgfVxuICAgIH1cbn0pO1xuIiwiZnVuY3Rpb24gZ2V0VGltZVJlbWFpbmluZyhlbmR0aW1lKXtcbiAgICBjb25zdCBzdGFydCA9IERhdGUubm93KCk7XG4gICAgY29uc3QgdG90YWwgPSAoZW5kdGltZSAqIDEwMDApIC0gc3RhcnQ7XG4gICAgY29uc3Qgc2Vjb25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fKOODhClfL8KvXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgICRwYXJlbnQgPSAkZmllbGQuZGF0YSggJ3BhcmVudCcgKTtcblxuICAgICAgICBpZiAoIHR5cGVvZiAkcGFyZW50ICE9PSAnc3RyaW5nJyApIHtcbiAgICAgICAgICAgIC8vIFRoaXMgZmllbGQgaGFzIG5vIHBhcmVudCBmaWVsZDogdGhlbiB3ZSBjYW4gZGlzcGxheSBpdC5cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgJHBhcmVudCA9ICRwYXJlbnQucmVwbGFjZSggL15cXHMrfFxccyskL2csICcnICk7XG5cbiAgICAgICAgaWYgKCAnJyA9PT0gJHBhcmVudCApIHtcbiAgICAgICAgICAgIC8vIFRoaXMgZmllbGQgaGFzIG5vIHBhcmVudCBmaWVsZDogdGhlbiB3ZSBjYW4gZGlzcGxheSBpdC5cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgJHBhcmVudCA9ICQoICcjJyArICRwYXJlbnQgKTtcblxuICAgICAgICBpZiAoICEgJHBhcmVudC5sZW5ndGggKSB7XG4gICAgICAgICAgICAvLyBUaGlzIGZpZWxkJ3MgcGFyZW50IGlzIG1pc3Npbmc6IGxldCdzIGNvbnNpZGVyIGl0J3Mgbm90IGFjdGl2ZSB0aGVuLlxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCAhICRwYXJlbnQuaXMoICc6Y2hlY2tlZCcgKSAmJiAkcGFyZW50LmlzKCdpbnB1dCcpKSB7XG4gICAgICAgICAgICAvLyBUaGlzIGZpZWxkJ3MgcGFyZW50IGlzIGNoZWNrYm94IGFuZCBub3QgY2hlY2tlZDogZG9uJ3QgZGlzcGxheSB0aGUgZmllbGQgdGhlbi5cbiAgICAgICAgICAgIHJldHVybiBmYWxzZTt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pbmdGaWVsZC5hZGRDbGFzcygnd3ByLWlzT3BlbicpO1xuICAgICAgICAgICAgJHRoaXNDaGVja2JveC5wcm9wKCdjaGVja2VkJywgZmFsc2UpO1xuICAgICAgICAgICAgYUVsZW0udHJpZ2dlcignY2hhbmdlJyk7XG5cblxuICAgICAgICAgICAgdmFyICR3YXJuaW5nQnV0dG9uID0gJHdhcm5pbmdGaWVsZC5maW5kKCcud3ByLWJ1dHRvbicpO1xuXG4gICAgICAgICAgICAvLyBWYWxpZGF0ZSB0aGUgd2FybmluZ1xuICAgICAgICAgICAgJHdhcm5pbmdCdXR0b24ub24oJ2NsaWNrJywgZnVuY3Rpb24oKXtcbiAgICAgICAgICAgICAgICAkdGhpc0NoZWNrYm94LnByb3AoJ2NoZWNrZWQnLCB0cnVlKTtcbiAgICAgICAgICAgICAgICAkd2FybmluZ0ZpZWxkLnJlbW92ZUNsYXNzKCd3cHItaXNPcGVuJyk7XG4gICAgICAgICAgICAgICAgJGNoaWxkcmVuLmFkZENsYXNzKCd3cHItaXNPcGVuJyk7XG5cbiAgICAgICAgICAgICAgICAvLyBJZiBuZXh0IGVsZW0gPSBkaXNhYmxlZFxuICAgICAgICAgICAgICAgIGlmKCRuZXh0V2FybmluZy5sZW5ndGggPiAwKXtcbiAgICAgICAgICAgICAgICAgICAgJG5leHRGaWVsZHMucmVtb3ZlQ2xhc3MoJ3dwci1pc0Rpc2FibGVkJyk7XG4gICAgICAgICAgICAgICAgICAgICRuZXh0RmllbGRzLmZpbmQoJ2lucHV0JykucHJvcCgnZGlzYWJsZWQnLCBmYWxzZSk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgZWxzZXtcbiAgICAgICAgICAgICRuZXh0RmllbGRzLmFkZENsYXNzKCd3cHItaXNEaXNhYmxlZCcpO1xuICAgICAgICAgICAgJG5leHRGaWVsZHMuZmluZ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nVuY3Rpb24oKXtyZXR1cm4gdGhpcy5fd2R3P251bGwhPWUucGFnZVlPZmZzZXQ/ZS5wYWdlWU9mZnNldDpudWxsIT10LnNjcm9sbFRvcD90LnNjcm9sbFRvcDpkb2N1bWVudC5ib2R5LnNjcm9sbFRvcDp0aGlzLl90YXJnZXQuc2Nyb2xsVG9wfSxyLl9raWxsPWZ1bmN0aW9uKHQpe3JldHVybiB0LnNjcm9sbFRvX3gmJih0aGlzLnNraXBYPSEwKSx0LnNjcm9sbFRvX3kmJih0aGlzLnNraXBZPSEwKSx0aGlzLl9zdXBlci5fa2lsbC5jYWxsKHRoaXMsdCl9fSksd2luZG93Ll9nc0RlZmluZSYmd2luZG93Ll9nc1F1ZXVlLnBvcCgpKCk7Il19\n"],"file":"wpr-admin.js"} \ No newline at end of file diff --git a/assets/js/wpr-admin.js.min.map b/assets/js/wpr-admin.js.min.map new file mode 100644 index 0000000..7ef59af --- /dev/null +++ b/assets/js/wpr-admin.js.min.map @@ -0,0 +1 @@ +{"version":3,"names":[],"mappings":"","sources":["wpr-admin.js"],"sourcesContent":["!function s(n,r,a){function o(e,t){if(!r[e]){if(!n[e]){var i=\"function\"==typeof require&&require;if(!t&&i)return i(e,!0);if(l)return l(e,!0);throw(i=new Error(\"Cannot find module '\"+e+\"'\")).code=\"MODULE_NOT_FOUND\",i}i=r[e]={exports:{}},n[e][0].call(i.exports,function(t){return o(n[e][1][t]||t)},i,i.exports,s,n,r,a)}return r[e].exports}for(var l=\"function\"==typeof require&&require,t=0;t{i.append(\"\"+t+\": \"),i.append(e[t].message),i.append(\"
\")}):i.append('
'+e.message+\"
\")}})})})},{}],2:[function(t,e,i){\"use strict\";t(\"../lib/greensock/TweenLite.min.js\"),t(\"../lib/greensock/TimelineLite.min.js\"),t(\"../lib/greensock/easing/EasePack.min.js\"),t(\"../lib/greensock/plugins/CSSPlugin.min.js\"),t(\"../lib/greensock/plugins/ScrollToPlugin.min.js\"),t(\"../global/pageManager.js\"),t(\"../global/main.js\"),t(\"../global/fields.js\"),t(\"../global/beacon.js\"),t(\"../global/ajax.js\"),t(\"../global/rocketcdn.js\"),t(\"../global/countdown.js\")},{\"../global/ajax.js\":1,\"../global/beacon.js\":3,\"../global/countdown.js\":4,\"../global/fields.js\":5,\"../global/main.js\":6,\"../global/pageManager.js\":7,\"../global/rocketcdn.js\":8,\"../lib/greensock/TimelineLite.min.js\":9,\"../lib/greensock/TweenLite.min.js\":10,\"../lib/greensock/easing/EasePack.min.js\":11,\"../lib/greensock/plugins/CSSPlugin.min.js\":12,\"../lib/greensock/plugins/ScrollToPlugin.min.js\":13}],3:[function(t,e,i){\"use strict\";var s=jQuery;s(document).ready(function(){\"Beacon\"in window&&s(\".wpr-infoAction--help\").on(\"click\",function(t){var e=s(this).data(\"beacon-id\");return 0!==(e=(e=e).split(\",\")).length&&(1{o(t).attr(\"checked\",i?null:\"checked\")});else{const r=o(e).closest(\".wpr-list\").find(\".wpr-main-checkbox\");var n=o.map(s,t=>{if(void 0!==o(t).attr(\"checked\"))return t});r.attr(\"checked\",n.length===s.length?\"checked\":null)}}),0{let i=o(e).parents(\".wpr-list\");var s=i.find(\".wpr-list-body input[type=checkbox]:not(:checked)\").length;o(e).attr(\"checked\",s<=0?\"checked\":null)})})},{}],6:[function(t,e,i){\"use strict\";var c=jQuery;c(document).ready(function(){var t=c(\".wpr-notice\");c(\"#wpr-congratulations-notice\").on(\"click\",function(){return(new TimelineLite).to(t,1,{autoAlpha:0,x:40,ease:Power4.easeOut}).to(t,.6,{height:0,marginTop:0,ease:Power4.easeOut},\"=-.4\").set(t,{display:\"none\"}),!1}),c(\".rocket-analytics-data-container\").hide(),c(\".rocket-preview-analytics-data\").on(\"click\",function(t){t.preventDefault(),c(this).parent().next(\".rocket-analytics-data-container\").toggle()}),c(\".wpr-toggle-button\").each(function(){var t=c(this),e=t.closest(\".wpr-fieldsContainer-fieldset\").find(\".wpr-radio :checkbox\"),i=c('[href=\"'+t.attr(\"href\")+'\"].wpr-menuItem');e.on(\"change\",function(){e.is(\":checked\")?(i.css(\"display\",\"block\"),t.css(\"display\",\"inline-block\")):(i.css(\"display\",\"none\"),t.css(\"display\",\"none\"))}).trigger(\"change\")});var e=c(\".wpr-Popin-Analytics\"),i=c(\".wpr-Popin-overlay\"),s=c(\".wpr-Popin-Analytics-close\"),n=c(\".wpr-Popin-Analytics .wpr-button\");function r(){(new TimelineLite).fromTo(e,.6,{autoAlpha:1,marginTop:0},{autoAlpha:0,marginTop:-24,ease:Power4.easeOut}).fromTo(i,.6,{autoAlpha:1},{autoAlpha:0,ease:Power4.easeOut},\"=-.5\").set(e,{display:\"none\"}).set(i,{display:\"none\"})}c(\".wpr-js-popin\").on(\"click\",function(t){return t.preventDefault(),(new TimelineLite).set(e,{display:\"block\"}).set(i,{display:\"block\"}).fromTo(i,.6,{autoAlpha:0},{autoAlpha:1,ease:Power4.easeOut}).fromTo(e,.6,{autoAlpha:0,marginTop:-24},{autoAlpha:1,marginTop:0,ease:Power4.easeOut},\"=-.5\"),!1}),s.on(\"click\",function(t){return t.preventDefault(),r(),!1}),n.on(\"click\",function(t){return t.preventDefault(),r(),c(\"#analytics_enabled\").prop(\"checked\",!0),c(\"#analytics_enabled\").trigger(\"change\"),!1}),c(\"#analytics_enabled\").on(\"change\",function(){c(\".wpr-rocket-analytics-cta\").toggleClass(\"wpr-isHidden\"),console.log(\"Change\")});var a=c(\".wpr-Popin-Upgrade\"),n=c(\".wpr-Popin-Upgrade-close\");c(\".wpr-popin-upgrade-toggle\").on(\"click\",function(t){return t.preventDefault(),(new TimelineLite).set(a,{display:\"block\"}).set(i,{display:\"block\"}).fromTo(i,.6,{autoAlpha:0},{autoAlpha:1,ease:Power4.easeOut}).fromTo(a,.6,{autoAlpha:0,marginTop:-24},{autoAlpha:1,marginTop:0,ease:Power4.easeOut},\"=-.5\"),!1}),n.on(\"click\",function(){return(new TimelineLite).fromTo(a,.6,{autoAlpha:1,marginTop:0},{autoAlpha:0,marginTop:-24,ease:Power4.easeOut}).fromTo(i,.6,{autoAlpha:1},{autoAlpha:0,ease:Power4.easeOut},\"=-.5\").set(a,{display:\"none\"}).set(i,{display:\"none\"}),!1});var o=c(\".wpr-Sidebar\");c(\".wpr-js-tips\").on(\"change\",function(){c(this).is(\":checked\")?(o.css(\"display\",\"block\"),localStorage.setItem(\"wpr-show-sidebar\",\"on\")):(o.css(\"display\",\"none\"),localStorage.setItem(\"wpr-show-sidebar\",\"off\"))}),document.getElementById(\"LKgOcCRpwmAj\")?c(\".wpr-adblock\").css(\"display\",\"none\"):c(\".wpr-adblock\").css(\"display\",\"block\");var l=c(\".wpr-adblock\");c(\".wpr-adblock-close\").on(\"click\",function(){return(new TimelineLite).to(l,1,{autoAlpha:0,x:40,ease:Power4.easeOut}).to(l,.4,{height:0,marginTop:0,ease:Power4.easeOut},\"=-.4\").set(l,{display:\"none\"}),!1})})},{}],7:[function(t,e,i){\"use strict\";function s(t){var e,i=this;this.$body=document.querySelector(\".wpr-body\"),this.$menuItems=document.querySelectorAll(\".wpr-menuItem\"),this.$submitButton=document.querySelector(\".wpr-Content > form > #wpr-options-submit\"),this.$pages=document.querySelectorAll(\".wpr-Page\"),this.$sidebar=document.querySelector(\".wpr-Sidebar\"),this.$content=document.querySelector(\".wpr-Content\"),this.$tips=document.querySelector(\".wpr-Content-tips\"),this.$links=document.querySelectorAll(\".wpr-body a\"),this.$menuItem=null,this.$page=null,this.pageId=null,this.bodyTop=0,this.buttonText=this.$submitButton.value,i.getBodyTop(),window.onhashchange=function(){i.detectID()},window.location.hash?(this.bodyTop=0,this.detectID()):(e=localStorage.getItem(\"wpr-hash\"),this.bodyTop=0,e?(window.location.hash=e,this.detectID()):(this.$menuItems[0].classList.add(\"isActive\"),localStorage.setItem(\"wpr-hash\",\"dashboard\"),window.location.hash=\"#dashboard\"));for(var s=0;s{a.querySelectorAll(\".wpr-rocketcdn-open\").forEach(t=>{t.addEventListener(\"click\",t=>{t.preventDefault()})}),function(){var t=\"\";t+=\"action=rocketcdn_process_status\";const e=r(t+=\"&nonce=\"+rocket_ajax_data.nonce);e.onreadystatechange=()=>{e.readyState===XMLHttpRequest.DONE&&200===e.status&&!0===JSON.parse(e.responseText).success&&MicroModal.show(\"wpr-rocketcdn-modal\")}}(),MicroModal.init({disableScroll:!0})}),s.addEventListener(\"load\",()=>{let t=a.querySelector(\"#wpr-rocketcdn-open-cta\"),e=a.querySelector(\"#wpr-rocketcdn-close-cta\"),i=a.querySelector(\"#wpr-rocketcdn-cta-small\"),s=a.querySelector(\"#wpr-rocketcdn-cta\");function n(t){var e=\"\";return e+=\"action=toggle_rocketcdn_cta\",e+=\"&status=\"+t,e+=\"&nonce=\"+rocket_ajax_data.nonce}null!==t&&null!==i&&null!==s&&t.addEventListener(\"click\",t=>{t.preventDefault(),i.classList.add(\"wpr-isHidden\"),s.classList.remove(\"wpr-isHidden\"),r(n(\"big\"))}),null!==e&&null!==i&&null!==s&&e.addEventListener(\"click\",t=>{t.preventDefault(),i.classList.remove(\"wpr-isHidden\"),s.classList.add(\"wpr-isHidden\"),r(n(\"small\"))})}),s.onmessage=t=>{var e,i,s=rocket_ajax_data.origin_url;t.origin===s&&((e=t.data).hasOwnProperty(\"cdnFrameHeight\")&&(a.getElementById(\"rocketcdn-iframe\").style.height=\"\".concat(e.cdnFrameHeight,\"px\")),(i=t.data).hasOwnProperty(\"cdnFrameClose\")&&(MicroModal.close(\"wpr-rocketcdn-modal\"),i.hasOwnProperty(\"cdn_page_message\")&&-1!==[\"iframe-payment-success\",\"iframe-unsubscribe-success\"].indexOf(i.cdn_page_message)&&a.location.reload()),function(t,e){let i=a.querySelector(\"#rocketcdn-iframe\").contentWindow;if(t.hasOwnProperty(\"rocketcdn_token\")){var s=\"\";s+=\"action=save_rocketcdn_token\",s+=\"&value=\"+t.rocketcdn_token;const n=r(s+=\"&nonce=\"+rocket_ajax_data.nonce);n.onreadystatechange=()=>{var t;n.readyState===XMLHttpRequest.DONE&&200===n.status&&(t=JSON.parse(n.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}else{s={process:\"subscribe\",message:\"token_not_received\"};i.postMessage({success:!1,data:s,rocketcdn:!0},e)}}(t.data,s),(e=t.data).hasOwnProperty(\"rocketcdn_process\")&&(i=\"\",i+=\"action=rocketcdn_process_set\",i+=\"&status=\"+e.rocketcdn_process,r(i+=\"&nonce=\"+rocket_ajax_data.nonce)),function(t,e){let i=a.querySelector(\"#rocketcdn-iframe\").contentWindow;if(t.hasOwnProperty(\"rocketcdn_url\")){var s=\"\";s+=\"action=rocketcdn_enable\",s+=\"&cdn_url=\"+t.rocketcdn_url;const n=r(s+=\"&nonce=\"+rocket_ajax_data.nonce);n.onreadystatechange=()=>{var t;n.readyState===XMLHttpRequest.DONE&&200===n.status&&(t=JSON.parse(n.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}}(t.data,s),function(t,e){let i=a.querySelector(\"#rocketcdn-iframe\").contentWindow;if(t.hasOwnProperty(\"rocketcdn_disable\")){t=\"\";t+=\"action=rocketcdn_disable\";const s=r(t+=\"&nonce=\"+rocket_ajax_data.nonce);s.onreadystatechange=()=>{var t;s.readyState===XMLHttpRequest.DONE&&200===s.status&&(t=JSON.parse(s.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}}(t.data,s),(s=t.data).hasOwnProperty(\"rocketcdn_validate_token\")&&s.hasOwnProperty(\"rocketcdn_validate_cname\")&&(t=\"\",t+=\"action=rocketcdn_validate_token_cname\",t+=\"&cdn_url=\"+s.rocketcdn_validate_cname,t+=\"&cdn_token=\"+s.rocketcdn_validate_token,r(t+=\"&nonce=\"+rocket_ajax_data.nonce)))}},{}],9:[function(t,e,i){\"use strict\";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine(\"TimelineLite\",[\"core.Animation\",\"core.SimpleTimeline\",\"TweenLite\"],function(h,u,p){function d(t){u.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,s=this.vars;for(i in s)e=s[i],g(e)&&-1!==e.join(\"\").indexOf(\"{self}\")&&(s[i]=this._swapSelfInParams(e));g(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)}function _(t){var e,i={};for(e in t)i[e]=t[e];return i}function n(t,e,i,s){t._timeline.pause(t._startTime),e&&e.apply(s||t._timeline,i||w)}var f=1e-10,m=p._internals.isSelector,g=p._internals.isArray,w=[],a=window._gsDefine.globals,v=w.slice,t=d.prototype=new u;return d.version=\"1.12.1\",t.constructor=d,t.kill()._gc=!1,t.to=function(t,e,i,s){var n=i.repeat&&a.TweenMax||p;return e?this.add(new n(t,e,i),s):this.set(t,i,s)},t.from=function(t,e,i,s){return this.add((i.repeat&&a.TweenMax||p).from(t,e,i),s)},t.fromTo=function(t,e,i,s,n){var r=s.repeat&&a.TweenMax||p;return e?this.add(r.fromTo(t,e,i,s),n):this.set(t,s,n)},t.staggerTo=function(t,e,i,s,n,r,a,o){var l,c=new d({onComplete:r,onCompleteParams:a,onCompleteScope:o,smoothChildTiming:this.smoothChildTiming});for(\"string\"==typeof t&&(t=p.selector(t)||t),m(t)&&(t=v.call(t,0)),s=s||0,l=0;t.length>l;l++)i.startAt&&(i.startAt=_(i.startAt)),c.to(t[l],e,_(i),l*s);return this.add(c,n)},t.staggerFrom=function(t,e,i,s,n,r,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,n,r,a,o)},t.staggerFromTo=function(t,e,i,s,n,r,a,o,l){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,n,r,a,o,l)},t.call=function(t,e,i,s){return this.add(p.delayedCall(0,t,e,i),s)},t.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new p(t,0,e),i)},d.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,s,n=new d(t),t=n._timeline;for(null==e&&(e=!0),t._remove(n,!0),n._startTime=0,n._rawPrevTime=n._time=n._totalTime=t._time,i=t._first;i;)s=i._next,e&&i instanceof p&&i.target===i.vars.onComplete||n.add(i,i._startTime-i._delay),i=s;return t.add(n,0),n},t.add=function(t,e,i,s){var n,r,a,o,l,c;if(\"number\"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof h)){if(t instanceof Array||t&&t.push&&g(t)){for(i=i||\"normal\",s=s||0,n=e,r=t.length,a=0;at._startTime;l._timeline;)c&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},t.remove=function(t){if(t instanceof h)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&g(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return\"string\"==typeof t?this.removeLabel(t):this.kill(null,t)},t._remove=function(t,e){u.prototype._remove.call(this,t,e);e=this._last;return e?this._time>e._startTime+e._totalDuration/e._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},t.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},t.insert=t.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},t.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},t.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},t.addPause=function(t,e,i,s){return this.call(n,[\"{self}\",e,i,s],this,t)},t.removeLabel=function(t){return delete this._labels[t],this},t.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},t._parseTimeOrLabel=function(t,e,i,s){var n;if(s instanceof h&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&g(s)))for(n=s.length;-1<--n;)s[n]instanceof h&&s[n].timeline===this&&this.remove(s[n]);if(\"string\"==typeof e)return this._parseTimeOrLabel(e,i&&\"number\"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,\"string\"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(n=t.indexOf(\"=\")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(n-1)+\"1\",10)*Number(t.substr(n+1)),t=1f&&(a=\"onReverseComplete\"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:f,t=l+1e-4):t<1e-7?(((this._totalTime=this._time=0)!==c||0===this._duration&&this._rawPrevTime!==f&&(0=c)for(s=this._first;s&&(r=s._next,!this._paused||p);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r;else for(s=this._last;s&&(r=s._prev,!this._paused||p);)(s._active||c>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||w)),a&&(this._gc||h!==this._startTime&&u===this._timeScale||!(0===this._time||l>=this.totalDuration())||(n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+\"Scope\"]||this,this.vars[a+\"Params\"]||w)))}},t._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},t.getChildren=function(t,e,i,s){s=s||-9999999999;for(var n=[],r=this._first,a=0;r;)s>r._startTime||(r instanceof p?!1!==e&&(n[a++]=r):(!1!==i&&(n[a++]=r),!1!==t&&(a=(n=n.concat(r.getChildren(!0,e,i))).length))),r=r._next;return n},t.getTweensOf=function(t,e){var i,s,n=this._gc,r=[],a=0;for(n&&this._enabled(!0,!0),s=(i=p.getTweensOf(t)).length;-1<--s;)(i[s].timeline===this||e&&this._contains(i[s]))&&(r[a++]=i[s]);return n&&this._enabled(!1,!0),r},t._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},t.shiftChildren=function(t,e,i){i=i||0;for(var s,n=this._first,r=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(s in r)r[s]>=i&&(r[s]+=t);return this._uncache(!0)},t._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,n=!1;-1<--s;)i[s]._kill(t,e)&&(n=!0);return n},t.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},t.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},t._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return u.prototype._enabled.call(this,t,e)},t.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},t.totalDuration=function(t){if(arguments.length)return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this;if(this._dirty){for(var e,i,s=0,n=this._last,r=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>r&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):r=n._startTime,n._startTime<0&&!n._paused&&(s-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),r=0),s<(i=n._startTime+n._totalDuration/n._timeScale)&&(s=i),n=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration},t.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===h._rootFramesTimeline},t.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],10:[function(t,Q,e){\"use strict\";!function(p){var e,i,d=p.GreenSockGlobals||p;if(!d.TweenLite){var _,f=function(t){for(var e=t.split(\".\"),i=d,s=0;e.length>s;s++)i[e[s]]=i=i[e[s]]||{};return i},u=f(\"com.greensock\"),m=1e-10,o=[].slice,g=function(){},h=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||\"object\"==typeof t&&!!t.push&&e.call(t)===i)}),w={},v=function(o,l,c,h){this.sc=w[o]?w[o].sc:[],(w[o]=this).gsClass=null,this.func=c;var u=[];this.check=function(t){for(var e,i,s,n,r=l.length,a=r;-1<--r;)(e=w[l[r]]||new v(l[r],[])).gsClass?(u[r]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&c)for(s=(i=(\"com.greensock.\"+o).split(\".\")).pop(),n=f(i.join(\".\"))[s]=this.gsClass=c.apply(c,u),h&&(d[s]=n,\"function\"==typeof define&&define.amd?define((p.GreenSockAMDPath?p.GreenSockAMDPath+\"/\":\"\")+o.split(\".\").join(\"/\"),[],function(){return n}):void 0!==Q&&Q.exports&&(Q.exports=n)),r=0;this.sc.length>r;r++)this.sc[r].check()},this.check(!0)},s=p._gsDefine=function(t,e,i,s){return new v(t,e,i,s)},y=u._class=function(t,e,i){return e=e||function(){},s(t,[],function(){return e},i),e};s.globals=d;var t,n=[0,0,1,1],x=[],b=y(\"easing.Ease\",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?n.concat(e):n},!0),T=b.map={},r=b.register=function(t,e,i,s){for(var n,r,a,o,l=e.split(\",\"),c=l.length,h=(i||\"easeIn,easeOut,easeInOut\").split(\",\");-1<--c;)for(r=l[c],n=s?y(\"easing.\"+r,null,!0):u.easing[r]||{},a=h.length;-1<--a;)o=h[a],T[r+\".\"+o]=T[o+r]=n[o]=t.getRatio?t:t[o]||new t};for((t=b.prototype)._calcEnd=!1,t.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},l=(a=[\"Linear\",\"Quad\",\"Cubic\",\"Quart\",\"Quint,Strong\"]).length;-1<--l;)t=a[l]+\",Power\"+l,r(new b(null,null,1,l),t,\"easeOut\",!0),r(new b(null,null,2,l),t,\"easeIn\"+(0===l?\",easeNone\":\"\")),r(new b(null,null,3,l),t,\"easeInOut\");T.linear=u.easing.Linear.easeIn,T.swing=u.easing.Quad.easeInOut;var k=y(\"events.EventDispatcher\",function(t){this._listeners={},this._eventTarget=t||this});(t=k.prototype).addEventListener=function(t,e,i,s,n){n=n||0;var r,a,o=this._listeners[t],l=0;for(null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(r=o[a]).c===e&&r.s===i?o.splice(a,1):0===l&&n>r.pr&&(l=a+1);o.splice(l,0,{c:e,s:i,up:s,pr:n}),this!==A||_||A.wake()},t.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;-1<--i;)if(s[i].c===e)return void s.splice(i,1)},t.dispatchEvent=function(t){var e,i,s,n=this._listeners[t];if(n)for(e=n.length,i=this._eventTarget;-1<--e;)(s=n[e]).up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};for(var a,P=p.requestAnimationFrame,S=p.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O(),l=(a=[\"ms\",\"moz\",\"webkit\",\"o\"]).length;-1<--l&&!P;)P=p[a[l]+\"RequestAnimationFrame\"],S=p[a[l]+\"CancelAnimationFrame\"]||p[a[l]+\"CancelRequestAnimationFrame\"];y(\"Ticker\",function(t,e){var s,n,r,a,o,l=this,c=O(),i=!1!==e&&P,h=500,u=33,p=function(t){var e,i=O()-C;h=i&&i+this.totalDuration()/this._timeScale>t},t._enabled=function(t,e){return _||A.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},t._kill=function(){return this._enabled(!1,!1)},t.kill=function(t,e){return this._kill(t,e),this},t._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},t._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)\"{self}\"===t[e]&&(i[e]=this);return i},t.eventCallback=function(t,e,i,s){if(\"on\"===(t||\"\").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+\"Params\"]=h(i)&&-1!==i.join(\"\").indexOf(\"{self}\")?this._swapSelfInParams(i):i,n[t+\"Scope\"]=s),\"onUpdate\"===t&&(this._onUpdate=e)}return this},t.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},t.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0this._duration?this._duration:t,e)):this._time},t.totalTime=function(t,e,i){if(_||A.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,n=this._timeline;if(ss;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},t._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},t.render=function(t,e,i){var s,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)s=n._next,(n._active||t>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s},t.rawTime=function(){return _||A.wake(),this._totalTime};var I=y(\"TweenLite\",function(t,e,i){if(c.call(this,e,i),this.render=I.prototype.render,null==t)throw\"Cannot tween a null target.\";this.target=t=\"string\"==typeof t&&I.selector(t)||t;var s,n,r,i=t.jquery||t.length&&t!==p&&t[0]&&(t[0]===p||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?F[I.defaultOverwrite]:\"number\"==typeof a?a>>0:F[a],(i||t instanceof Array||t.push&&h(t))&&\"number\"!=typeof t[0])for(this._targets=r=o.call(t,0),this._propLookup=[],this._siblings=[],s=0;r.length>s;s++)(n=r[s])?\"string\"!=typeof n?n.length&&n!==p&&n[0]&&(n[0]===p||n[0].nodeType&&n[0].style&&!n.nodeType)?(r.splice(s--,1),this._targets=r=r.concat(o.call(n,0))):(this._siblings[s]=H(n,this,!1),1===a&&1=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(h[u++]=a)));for(d=u;-1<--d;)a=h[d],2===s&&a._kill(i,t)&&(r=!0),(2!==s||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(r=!0);return r},W=function(t,e,i){for(var s=t._timeline,n=s._timeScale,r=t._startTime;s._timeline;){if(r+=s._startTime,n*=s._timeScale,s._paused)return-100;s=s._timeline}return e<(r/=n)?r-e:i&&r===e||!t._initted&&r-e<2*m?m:(r+=t.totalDuration()/t._timeScale/n)>e+m?0:r-e-m};t._init=function(){var t,e,i,s,n,r=this.vars,a=this._overwrittenProps,o=this._duration,l=!!r.immediateRender,c=r.ease;if(r.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},r.startAt)n[s]=r.startAt[s];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&!1!==r.lazy,n.startAt=n.delay=null,this._startAt=I.to(this.target,0,n),l)if(0o.pr;)s=s._next;(o._prev=s?s._prev:r)?o._prev._next=o:n=o,(o._next=s)?s._prev=o:r=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&\"function\"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},V.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===V.API&&(E[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw\"illegal plugin definition.\";var e,i=t.propName,s=t.priority||0,n=t.overwriteProps,r={init:\"_onInitTween\",set:\"setRatio\",kill:\"_kill\",round:\"_roundProps\",initAll:\"_onInitAllProps\"},a=y(\"plugins.\"+i.charAt(0).toUpperCase()+i.substr(1)+\"Plugin\",function(){V.call(this,i,s),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new V(i);for(e in(o.constructor=a).API=t.API,r)\"function\"==typeof t[e]&&(o[r[e]]=t[e]);return a.version=t.version,V.activate([a]),a},a=p._gsQueue){for(l=0;a.length>l;l++)a[l]();for(t in w)w[t].func||p.console.log(\"GSAP encountered missing dependency: com.greensock.\"+t)}_=!1}}(window)},{}],11:[function(t,e,i){\"use strict\";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine(\"easing.Back\",[\"easing.Ease\"],function(m){function t(t,e){var i=c(\"easing.\"+t,function(){},!0);return(t=i.prototype=new m).constructor=i,t.getRatio=e,i}function e(t,e,i,s){return s=c(\"easing.\"+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0),h(s,t),s}function g(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=c(\"easing.\"+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0);return(t=i.prototype=new m).constructor=i,t.getRatio=e,t.config=function(t){return new i(t)},i}var s,n,r=window.GreenSockGlobals||window,a=r.com.greensock,o=2*Math.PI,l=Math.PI/2,c=a._class,h=m.register||function(){},u=e(\"Back\",i(\"BackOut\",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),i(\"BackIn\",function(t){return t*t*((this._p1+1)*t-this._p1)}),i(\"BackInOut\",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),p=c(\"easing.SlowMo\",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},p.ease=new p(.7,.7),a.config=p.config=function(t,e,i){return new p(t,e,i)},(a=(s=c(\"easing.SteppedEase\",function(t){this._p1=1/(t=t||1),this._p2=t+1},!0)).prototype=new m).constructor=s,a.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},a.config=s.config=function(t){return new s(t)},(a=(n=c(\"easing.RoughEase\",function(t){for(var e,i,s,n,r,a,o=(t=t||{}).taper||\"none\",l=[],c=0,h=0|(t.points||20),u=h,p=!1!==t.randomize,d=!0===t.clamp,_=t.template instanceof m?t.template:null,f=\"number\"==typeof t.strength?.4*t.strength:.4;-1<--u;)e=p?Math.random():1/h*u,i=_?_.getRatio(e):e,s=\"none\"===o?f:\"out\"===o?(n=1-e)*n*f:\"in\"===o?e*e*f:.5*(n=e<.5?2*e:2*(1-e))*n*f,p?i+=Math.random()*s-.5*s:u%2?i+=.5*s:i-=.5*s,d&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},a.config=function(t){return new n(t)},n.ease=new n,e(\"Bounce\",t(\"BounceOut\",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t(\"BounceIn\",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t(\"BounceInOut\",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e(\"Circ\",t(\"CircOut\",function(t){return Math.sqrt(1- --t*t)}),t(\"CircIn\",function(t){return-(Math.sqrt(1-t*t)-1)}),t(\"CircInOut\",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e(\"Elastic\",(a=function(t,e,i){var s=c(\"easing.\"+t,function(t,e){this._p1=t||1,this._p2=e||i,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),t=s.prototype=new m;return t.constructor=s,t.getRatio=e,t.config=function(t,e){return new s(t,e)},s})(\"ElasticOut\",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),a(\"ElasticIn\",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*o/this._p2))},.3),a(\"ElasticInOut\",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*o/this._p2)+1},.45)),e(\"Expo\",t(\"ExpoOut\",function(t){return 1-Math.pow(2,-10*t)}),t(\"ExpoIn\",function(t){return Math.pow(2,10*(t-1))-.001}),t(\"ExpoInOut\",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e(\"Sine\",t(\"SineOut\",function(t){return Math.sin(t*l)}),t(\"SineIn\",function(t){return 1-Math.cos(t*l)}),t(\"SineInOut\",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),c(\"easing.EaseLookup\",{find:function(t){return m.map[t]}},!0),h(r.SlowMo,\"SlowMo\",\"ease,\"),h(n,\"RoughEase\",\"ease,\"),h(s,\"SteppedEase\",\"ease,\"),u},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],12:[function(t,e,i){\"use strict\";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine(\"plugins.CSSPlugin\",[\"plugins.TweenPlugin\",\"TweenLite\"],function(r,p){function N(){r.call(this,\"css\"),this._overwriteProps.length=0,this.setRatio=N.prototype.setRatio}var d,x,b,u,_={},t=N.prototype=new r(\"css\");(t.constructor=N).version=\"1.12.1\",N.API=2,N.defaultTransformPerspective=0,N.defaultSkewType=\"compensated\",N.suffixMap={top:t=\"px\",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:\"\"};function n(t,e){return e.toUpperCase()}function a(t){return L.test(\"string\"==typeof t?t:(t.currentStyle||t.style).filter||\"\")?parseFloat(RegExp.$1)/100:1}function f(t){window.console&&console.log(t)}function T(t,e){var i,s,n=(e=e||Z).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=[\"O\",\"Moz\",\"ms\",\"Ms\",\"Webkit\"],s=5;-1<--s&&void 0===n[i[s]+t];);return 0<=s?(tt=\"-\"+(et=3===s?\"ms\":i[s]).toLowerCase()+\"-\",et+t):null}function m(t,e){var i,s={};if(e=e||it(t,null))if(i=e.length)for(;-1<--i;)s[e[i].replace(Y,n)]=e.getPropertyValue(e[i]);else for(i in e)s[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)\"string\"==typeof i&&void 0===s[i]&&(s[i.replace(Y,n)]=e[i]);return J||(s.opacity=a(t)),t=Pt(t,e,!1),s.rotation=t.rotation,s.skewX=t.skewX,s.scaleX=t.scaleX,s.scaleY=t.scaleY,s.x=t.x,s.y=t.y,Tt&&(s.z=t.z,s.rotationX=t.rotationX,s.rotationY=t.rotationY,s.scaleZ=t.scaleZ),s.filters&&delete s.filters,s}function g(t,e,i,s,n){var r,a,o,l={},c=t.style;for(a in i)\"cssText\"!==a&&\"length\"!==a&&isNaN(a)&&(e[a]!==(r=i[a])||n&&n[a])&&-1===a.indexOf(\"Origin\")&&(\"number\"==typeof r||\"string\"==typeof r)&&(l[a]=\"auto\"!==r||\"left\"!==a&&\"top\"!==a?\"\"!==r&&\"auto\"!==r&&\"none\"!==r||\"string\"!=typeof e[a]||\"\"===e[a].replace(D,\"\")?r:0:rt(t,a),void 0!==c[a]&&(o=new pt(c,a,c[a],o)));if(s)for(a in s)\"className\"!==a&&(l[a]=s[a]);return{difs:l,firstMPT:o}}function w(t,e){var i=(t=null==t||\"\"===t||\"auto\"===t||\"auto auto\"===t?\"0 0\":t).split(\" \"),s=-1!==t.indexOf(\"left\")?\"0%\":-1!==t.indexOf(\"right\")?\"100%\":i[0];return null==(t=-1!==t.indexOf(\"top\")?\"0%\":-1!==t.indexOf(\"bottom\")?\"100%\":i[1])?t=\"0\":\"center\"===t&&(t=\"50%\"),(\"center\"===s||isNaN(parseFloat(s))&&-1===(s+\"\").indexOf(\"=\"))&&(s=\"50%\"),e&&(e.oxp=-1!==s.indexOf(\"%\"),e.oyp=-1!==t.indexOf(\"%\"),e.oxr=\"=\"===s.charAt(1),e.oyr=\"=\"===t.charAt(1),e.ox=parseFloat(s.replace(D,\"\")),e.oy=parseFloat(t.replace(D,\"\"))),s+\" \"+t+(2>16,255&t>>8,255&t]:(\",\"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),lt[t]||(\"#\"===t.charAt(0)?(4===t.length&&(t=\"#\"+(e=t.charAt(1))+e+(i=t.charAt(2))+i+(r=t.charAt(3))+r),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):(\"hsl\"===t.substr(0,3)?(t=t.match(A),s=Number(t[0])%360/360,n=Number(t[1])/100,e=2*(r=Number(t[2])/100)-(i=r<=.5?r*(1+n):r+n-r*n),3a\",!!(i=i.getElementsByTagName(\"a\")[0])&&/^0.55/.test(i.style.opacity)),tt=\"\",et=\"\",it=Q.defaultView?Q.defaultView.getComputedStyle:function(){},st=N.getStyle=function(t,e,i,s,n){var r;return J||\"opacity\"!==e?(!s&&t.style[e]?r=t.style[e]:(i=i||it(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(z,\"-$1\").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==n||r&&\"none\"!==r&&\"auto\"!==r&&\"auto auto\"!==r?r:n):a(t)},nt=s.convertToPixels=function(t,e,i,s,n){if(\"px\"===s||!s)return i;if(\"auto\"===s||!i)return 0;var r,a,o,l=$.test(e),c=t,h=Z.style,u=i<0;if(u&&(i=-i),\"%\"===s&&-1!==e.indexOf(\"border\"))r=i/100*(l?t.clientWidth:t.clientHeight);else{if(h.cssText=\"border:0 solid red;position:\"+st(t,\"position\")+\";line-height:0;\",\"%\"!==s&&c.appendChild)h[l?\"borderLeftWidth\":\"borderTopWidth\"]=i+s;else{if(a=(c=t.parentNode||Q.body)._gsCache,o=p.ticker.frame,a&&l&&a.time===o)return a.width*i/100;h[l?\"width\":\"height\"]=i+s}c.appendChild(Z),r=parseFloat(Z[l?\"offsetWidth\":\"offsetHeight\"]),c.removeChild(Z),l&&\"%\"===s&&!1!==N.cacheWidths&&((a=c._gsCache=c._gsCache||{}).time=o,a.width=r/i*100),0!==r||n||(r=nt(t,e,i,s,!0))}return u?-r:r},rt=s.calculateOffset=function(t,e,i){if(\"absolute\"!==st(t,\"position\",i))return 0;var s=\"left\"===e?\"Left\":\"Top\",i=st(t,\"margin\"+s,i);return t[\"offset\"+s]-(nt(t,e,parseFloat(i),i.replace(j,\"\"))||0)},at={width:[\"Left\",\"Right\"],height:[\"Top\",\"Bottom\"]},ot=[\"marginLeft\",\"marginRight\",\"marginTop\",\"marginBottom\"],lt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ct=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#.+?\\\\b\";for(t in lt)ct+=\"|\"+t+\"\\\\b\";function ht(t,e,r,a){if(null==t)return function(t){return t};var o,l=e?(t.match(ct)||[\"\"])[0]:\"\",c=t.split(l).join(\"\").match(I)||[],h=t.substr(0,t.indexOf(c[0])),u=\")\"===t.charAt(t.length-1)?\")\":\"\",p=-1!==t.indexOf(\" \")?\" \":\",\",d=c.length,_=0s;s++)n[s]=o(n[s]);return n.join(\",\")}if(e=(t.match(ct)||[l])[0],s=(i=t.split(e).join(\"\").match(I)||[]).length,d>s--)for(;d>++s;)i[s]=r?i[0|(s-1)/2]:c[s];return h+i.join(p)+p+e+u+(-1!==t.indexOf(\"inset\")?\" inset\":\"\")}:function(t){var e,i,s;if(\"number\"==typeof t)t+=_;else if(a&&H.test(t)){for(i=t.replace(H,\"|\").split(\"|\"),s=0;i.length>s;s++)i[s]=o(i[s]);return i.join(\",\")}if(s=(e=t.match(I)||[]).length,d>s--)for(;d>++s;)e[s]=r?e[0|(s-1)/2]:c[s];return h+e.join(p)+u}:function(t){return t}}function ut(c){return c=c.split(\",\"),function(t,e,i,s,n,r,a){var o,l=(e+\"\").split(\" \");for(a={},o=0;o<4;o++)a[c[o]]=l[o]=l[o]||l[(o-1)/2>>0];return s.parse(t,a,n,r)}}var ct=RegExp(ct+\")\",\"gi\"),pt=(s._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,n,r=this.data,a=r.proxy,o=r.firstMPT;o;)e=a[o.v],o.r?e=Math.round(e):e<1e-6&&-1e-6s;s++)n+=i[\"xn\"+s]+i[\"xs\"+(s+1)];i.e=n}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,s,n){this.t=t,this.p=e,this.v=i,this.r=n,s&&((s._prev=this)._next=s)}),dt=(s._parseToProxy=function(t,e,i,s,n,r){var a,o,l,c,h=s,u={},p={},d=i._transform,_=V;for(i._transform=null,V=e,s=n=i.parse(t,e,s,n),V=_,r&&(i._transform=d,h&&(h._prev=null,h._prev&&(h._prev._next=null)));s&&s!==h;){if(s.type<=1&&(p[o=s.p]=s.s+s.c,u[o]=s.s,r||(c=new pt(s,\"s\",o,c,s.r),s.c=0),1===s.type))for(a=s.l;0<--a;)p[o=s.p+\"_\"+(l=\"xn\"+a)]=s.data[l],u[o]=s[l],r||(c=new pt(s,l,o,c,s.rxp[l]));s=s._next}return{proxy:u,end:p,firstMPT:c,pt:n}},s.CSSPropTween=function(t,e,i,s,n,r,a,o,l,c,h){this.t=t,this.p=e,this.s=i,this.c=s,this.n=a||e,t instanceof dt||u.push(this.n),this.r=o,this.type=r||0,l&&(this.pr=l,d=!0),this.b=void 0===c?i:c,this.e=void 0===h?i+s:h,n&&((this._next=n)._prev=this)}),_t=N.parseComplex=function(t,e,i,s,n,r,a,o,l,c){a=new dt(t,e,0,0,a,c?2:1,null,!1,o,i=i||r||\"\",s),s+=\"\";var h,u,p,d,_,f,m,g,w,v,y,x=i.split(\", \").join(\",\").split(\" \"),b=s.split(\", \").join(\",\").split(\" \"),T=x.length,k=!1!==O;for(-1===s.indexOf(\",\")&&-1===i.indexOf(\",\")||(x=x.join(\" \").replace(H,\", \").split(\" \"),b=b.join(\" \").replace(H,\", \").split(\" \"),T=x.length),T!==b.length&&(T=(x=(r||\"\").split(\" \")).length),a.plugin=l,a.setRatio=c,h=0;hu;u++)v=f[u],w=d.indexOf(v,p),a.appendXtra(d.substr(p,w-p),Number(v),P(m[u],v),\"\",k&&\"px\"===d.substr(w+v.length,2),0===u),p=w+v.length;a[\"xs\"+a.l]+=d.substr(p)}else a[\"xs\"+a.l]+=a.l?\" \"+d:d;if(-1!==s.indexOf(\"=\")&&a.data){for(y=a.xs0+a.data.s,h=1;a.l>h;h++)y+=a[\"xs\"+h]+a.data[\"xn\"+h];a.e=y+a[\"xs\"+h]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},ft=9;for((t=dt.prototype).l=t.pr=0;0<--ft;)t[\"xn\"+ft]=0,t[\"xs\"+ft]=\"\";t.xs0=\"\",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,s,n,r){var a=this,o=a.l;return a[\"xs\"+o]+=r&&o?\" \"+t:t||\"\",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a[\"xs\"+a.l]=s||\"\",0s;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||r,new mt(n[s],e)};(t=mt.prototype).parseComplex=function(t,e,i,s,n,r){var a,o,l,c,h,u=this.keyword;if(this.multi&&(H.test(i)||H.test(e)?(o=e.replace(H,\"|\").split(\"|\"),l=i.replace(H,\"|\").split(\"|\")):u&&(o=[e],l=[i])),l){for(c=(l.length>o.length?l:o).length,a=0;aI[r]&&I[r]>-j&&(I[r]=0);return i&&(t._gsTransform=I),I},St=s.set3DTransformRatio=function(t){var e,i,s,n,r,a,o,l,c,h,u,p,d,_,f,m,g,w,v,y,x,b,T=this.data,k=this.t.style,P=T.rotation*U,S=T.scaleX,O=T.scaleY,C=T.scaleZ,A=T.perspective;if(1!==t&&0!==t||\"auto\"!==T.force3D||T.rotationY||T.rotationX||1!==C||A||T.z){if(M&&(S<1e-4&&-1e-4y;y++)this.p.indexOf(\"border\")&&(f[y]=T(f[y])),-1!==(o=a=st(t,f[y],b,!1,\"0px\")).indexOf(\" \")&&(o=(a=o.split(\" \"))[0],a=a[1]),l=r=v[y],d=parseFloat(o),_=o.substr((d+\"\").length),(h=\"\"===(h=(u=\"=\"===l.charAt(1))?(c=parseInt(l.charAt(0)+\"1\",10),l=l.substr(2),c*=parseFloat(l),l.substr((c+\"\").length-(c<0?1:0))||\"\"):(c=parseFloat(l),l.substr((c+\"\").length)))?x[i]||_:h)!==_&&(p=nt(t,\"borderLeft\",d,_),d=nt(t,\"borderTop\",d,_),a=\"%\"===h?(o=p/g*100+\"%\",d/w*100+\"%\"):\"em\"===h?(o=p/(_=nt(t,\"borderLeft\",1,\"em\"))+\"em\",d/_+\"em\"):(o=p+\"px\",d+\"px\"),u&&(l=parseFloat(o)+c+h,r=parseFloat(a)+c+h)),n=_t(m,f[y],o+\" \"+a,l+\" \"+r,!1,\"0px\",n);return n},prefix:!0,formatter:ht(\"0px 0px 0px 0px\",!1,!0)}),gt(\"backgroundPosition\",{defaultValue:\"0 0\",parser:function(t,e,i,s,n,r){var a,o,l,c,h,u,p=\"background-position\",d=b||it(t,null),_=this.format((d?C?d.getPropertyValue(p+\"-x\")+\" \"+d.getPropertyValue(p+\"-y\"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+\" \"+t.currentStyle.backgroundPositionY)||\"0 0\"),e=this.format(e);if(-1!==_.indexOf(\"%\")!=(-1!==e.indexOf(\"%\"))&&((u=st(t,\"backgroundImage\").replace(F,\"\"))&&\"none\"!==u)){for(a=_.split(\" \"),o=e.split(\" \"),G.setAttribute(\"src\",u),l=2;-1<--l;)(c=-1!==(_=a[l]).indexOf(\"%\"))!=(-1!==o[l].indexOf(\"%\"))&&(h=0===l?t.offsetWidth-G.width:t.offsetHeight-G.height,a[l]=c?parseFloat(_)/100*h+\"px\":parseFloat(_)/h*100+\"%\");_=a.join(\" \")}return this.parseComplex(t.style,_,e,n,r)},formatter:w}),gt(\"backgroundSize\",{defaultValue:\"0 0\",formatter:w}),gt(\"perspective\",{defaultValue:\"0px\",prefix:!0}),gt(\"perspectiveOrigin\",{defaultValue:\"50% 50%\",prefix:!0}),gt(\"transformStyle\",{prefix:!0}),gt(\"backfaceVisibility\",{prefix:!0}),gt(\"userSelect\",{prefix:!0}),gt(\"margin\",{parser:ut(\"marginTop,marginRight,marginBottom,marginLeft\")}),gt(\"padding\",{parser:ut(\"paddingTop,paddingRight,paddingBottom,paddingLeft\")}),gt(\"clip\",{defaultValue:\"rect(0px,0px,0px,0px)\",parser:function(t,e,i,s,n,r){var a,o;return e=C<9?(a=t.currentStyle,o=C<8?\" \":\",\",a=\"rect(\"+a.clipTop+o+a.clipRight+o+a.clipBottom+o+a.clipLeft+\")\",this.format(e).split(\",\").join(o)):(a=this.format(st(t,this.p,b,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,n,r)}}),gt(\"textShadow\",{defaultValue:\"0px 0px 0px #999\",color:!0,multi:!0}),gt(\"autoRound,strictUnits\",{parser:function(t,e,i,s,n){return n}}),gt(\"border\",{defaultValue:\"0px solid #000\",parser:function(t,e,i,s,n,r){return this.parseComplex(t.style,this.format(st(t,\"borderTopWidth\",b,!1,\"0px\")+\" \"+st(t,\"borderTopStyle\",b,!1,\"solid\")+\" \"+st(t,\"borderTopColor\",b,!1,\"#000\")),this.format(e),n,r)},color:!0,formatter:function(t){var e=t.split(\" \");return e[0]+\" \"+(e[1]||\"solid\")+\" \"+(t.match(ct)||[\"#000\"])[0]}}),gt(\"borderWidth\",{parser:ut(\"borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth\")}),gt(\"float,cssFloat,styleFloat\",{parser:function(t,e,i,s,n){var r=t.style,t=\"cssFloat\"in r?\"cssFloat\":\"styleFloat\";return new dt(r,t,0,0,n,-1,i,!1,0,r[t],e)}});function Ct(t){var e,i=this.t,s=i.filter||st(this.data,\"filter\"),t=0|this.s+this.c*t;(e=100==t?-1===s.indexOf(\"atrix(\")&&-1===s.indexOf(\"radient(\")&&-1===s.indexOf(\"oader(\")?(i.removeAttribute(\"filter\"),!st(this.data,\"filter\")):(i.filter=s.replace(l,\"\"),!0):e)||(this.xn1&&(i.filter=s=s||\"alpha(opacity=\"+t+\")\"),-1===s.indexOf(\"pacity\")?0==t&&this.xn1||(i.filter=s+\" alpha(opacity=\"+t+\")\"):i.filter=s.replace(L,\"opacity=\"+t))}gt(\"opacity,alpha,autoAlpha\",{defaultValue:\"1\",parser:function(t,e,i,s,n,r){var a=parseFloat(st(t,\"opacity\",b,!1,\"1\")),o=t.style,l=\"autoAlpha\"===i;return\"string\"==typeof e&&\"=\"===e.charAt(1)&&(e=(\"-\"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&\"hidden\"===st(t,\"visibility\",b)&&0!==e&&(a=0),J?n=new dt(o,\"opacity\",a,e-a,n):((n=new dt(o,\"opacity\",100*a,100*(e-a),n)).xn1=l?1:0,o.zoom=1,n.type=2,n.b=\"alpha(opacity=\"+n.s+\")\",n.e=\"alpha(opacity=\"+(n.s+n.c)+\")\",n.data=t,n.plugin=r,n.setRatio=Ct),l&&((n=new dt(o,\"visibility\",0,0,n,-1,null,!1,0,0!==a?\"inherit\":\"hidden\",0===e?\"hidden\":\"inherit\")).xs0=\"inherit\",s._overwriteProps.push(n.n),s._overwriteProps.push(i)),n}});function At(t,e){e&&(t.removeProperty?(\"ms\"===e.substr(0,2)&&(e=\"M\"+e.substr(1)),t.removeProperty(e.replace(z,\"-$1\").toLowerCase())):t.removeAttribute(e))}function Mt(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute(\"class\",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:At(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute(\"class\")!==this.e&&this.t.setAttribute(\"class\",this.e)}gt(\"className\",{parser:function(t,e,i,s,n,r,a){var o,l,c,h=t.getAttribute(\"class\")||\"\",u=t.style.cssText;if((n=s._classNamePT=new dt(t,i,0,0,n,2)).setRatio=Mt,n.pr=-11,d=!0,n.b=h,o=m(t,b),i=t._gsClassPT){for(l={},c=i.data;c;)l[c.p]=1,c=c._next;i.setRatio(1)}return(t._gsClassPT=n).e=\"=\"!==e.charAt(1)?e:h.replace(RegExp(\"\\\\s*\\\\b\"+e.substr(2)+\"\\\\b\"),\"\")+(\"+\"===e.charAt(0)?\" \"+e.substr(2):\"\"),s._tween._duration&&(t.setAttribute(\"class\",n.e),a=g(t,o,m(t),a,l),t.setAttribute(\"class\",h),n.data=a.firstMPT,t.style.cssText=u,n=n.xfirst=s.parse(t,a.difs,n,r)),n}});function Rt(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&\"isFromStart\"!==this.data.data){var e,i,s,n,r=this.t.style,a=_.transform.parse;if(\"all\"===this.e)n=!(r.cssText=\"\");else for(s=(e=this.e.split(\",\")).length;-1<--s;)i=e[s],_[i]&&(_[i].parse===a?n=!0:i=\"transformOrigin\"===i?bt:_[i].p),At(r,i);n&&(At(r,yt),this.t._gsTransform&&delete this.t._gsTransform)}}for(gt(\"clearProps\",{parser:function(t,e,i,s,n){return(n=new dt(t,i,0,0,n,2)).setRatio=Rt,n.e=e,n.pr=-10,n.data=s._tween,d=!0,n}}),t=\"bezier,throwProps,physicsProps,physics2D\".split(\",\"),ft=t.length;ft--;)!function(t){var l;_[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+\"Plugin\",gt(t,{parser:function(t,e,i,s,n,r,a){var o=(window.GreenSockGlobals||window).com.greensock.plugins[l];return o?(o._cssRegister(),_[i].parse(t,e,i,s,n,r,a)):(f(\"Error: \"+l+\" js file not loaded.\"),n)}}))}(t[ft]);(t=N.prototype)._firstPT=null,t._onInitTween=function(t,e,i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,O=e.autoRound,d=!1,x=e.suffixMap||N.suffixMap,b=it(t,\"\"),u=this._overwriteProps;var s,n,r,a,o,l,i=t.style;if(c&&\"\"===i.zIndex&&(\"auto\"!==(l=st(t,\"zIndex\",b))&&\"\"!==l||this._addLazySet(i,\"zIndex\",0)),\"string\"==typeof e&&(r=i.cssText,l=m(t,b),i.cssText=r+\";\"+e,l=g(t,l,m(t)).difs,!J&&X.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,i.cssText=r),this._firstPT=s=this.parse(t,e,null),this._transformType){for(l=3===this._transformType,yt?h&&(c=!0,\"\"===i.zIndex&&(\"auto\"!==(e=st(t,\"zIndex\",b))&&\"\"!==e||this._addLazySet(i,\"zIndex\",0)),k&&this._addLazySet(i,\"WebkitBackfaceVisibility\",this._vars.WebkitBackfaceVisibility||(l?\"visible\":\"hidden\"))):i.zoom=1,n=s;n&&n._next;)n=n._next;i=new dt(t,\"transform\",0,0,null,2),this._linkCSSP(i,null,n),i.setRatio=l&&Tt?St:yt?Ot:wt,i.data=this._transform||Pt(t,b,!0),u.pop()}if(d){for(;s;){for(o=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:a)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:a=s,s=o}this._firstPT=r}return!0},t.parse=function(t,e,i,s){var n,r,a,o,l,c,h,u,p=t.style;for(n in e)l=e[n],u=_[n],u?i=u.parse(t,l,n,this,i,s,e):(o=st(t,n,b)+\"\",h=\"string\"==typeof l,\"color\"===n||\"fill\"===n||\"stroke\"===n||-1!==n.indexOf(\"Color\")||h&&E.test(l)?(h||(l=S(l),l=(3s;s++)i+=n[\"xn\"+s]+n[\"xs\"+(s+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;)2!==n.type?n.t[n.p]=n.e:n.setRatio(t),n=n._next},t._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||Pt(this._target,b,!0)};function It(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){e=this._firstPT=new dt(t,e,0,0,this._firstPT,2);e.e=i,e.setRatio=It,e.data=this},t._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._kill=function(t){var e,i,s,n=t;if(t.autoAlpha||t.alpha){for(i in n={},t)n[i]=t[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return t.className&&(e=this._classNamePT)&&((s=e.xfirst)&&s._prev?this._linkCSSP(s._prev,e._next,s._prev._prev):s===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,s._prev),this._classNamePT=null),r.prototype._kill.call(this,n)};function Dt(t,e,i){var s,n,r,a;if(t.slice)for(n=t.length;-1<--n;)Dt(t[n],e,i);else for(n=(s=t.childNodes).length;-1<--n;)a=(r=s[n]).type,r.style&&(e.push(m(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||Dt(r,e,i)}return N.cascadeTo=function(t,e,i){var s,n,r,a=p.to(t,e,i),o=[a],l=[],c=[],h=[],u=p._internals.reservedProps;for(t=a._targets||a.target,Dt(t,l,h),a.render(e,!0),Dt(t,c),a.render(0,!0),a._enabled(!0),s=h.length;-1<--s;)if((n=g(h[s],l[s],c[s])).firstMPT){for(r in n=n.difs,i)u[r]&&(n[r]=i[r]);o.push(p.to(h[s],e,n))}return o},r.activate([N]),N},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],13:[function(t,e,i){\"use strict\";(window._gsQueue||(window._gsQueue=[])).push(function(){function n(t,e){var i=\"x\"===e?\"Width\":\"Height\",s=\"scroll\"+i,n=\"client\"+i,e=document.body;return t===a||t===r||t===e?Math.max(r[s],e[s])-(a[\"inner\"+i]||Math.max(r[n],e[n])):t[s]-t[\"offset\"+i]}var r=document.documentElement,a=window,t=window._gsDefine.plugin({propName:\"scrollTo\",API:2,version:\"1.7.3\",init:function(t,e,i){return this._wdw=t===a,this._target=t,this._tween=i,this._autoKill=!1!==(e=\"object\"!=typeof e?{y:e}:e).autoKill,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,\"x\",this.x,\"max\"===e.x?n(t,\"x\"):e.x,\"scrollTo_x\",!0),this._overwriteProps.push(\"scrollTo_x\")):this.skipX=!0,null!=e.y?(this._addTween(this,\"y\",this.y,\"max\"===e.y?n(t,\"y\"):e.y,\"scrollTo_y\",!0),this._overwriteProps.push(\"scrollTo_y\")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,s=i-this.yPrev,t=e-this.xPrev;this._autoKill&&(!this.skipX&&(7e&&(this.skipX=!0),!this.skipY&&(7i&&(this.skipY=!0),this.skipX&&this.skipY&&this._tween.kill()),this._wdw?a.scrollTo(this.skipX?e:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),e=t.prototype;t.max=n,e.getX=function(){return this._wdw?null!=a.pageXOffset?a.pageXOffset:(null!=r.scrollLeft?r:document.body).scrollLeft:this._target.scrollLeft},e.getY=function(){return this._wdw?null!=a.pageYOffset?a.pageYOffset:(null!=r.scrollTop?r:document.body).scrollTop:this._target.scrollTop},e._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),window._gsDefine&&window._gsQueue.pop()()},{}]},{},[2]);"],"file":"wpr-admin.js"} \ No newline at end of file diff --git a/assets/js/wpr-admin.min.js b/assets/js/wpr-admin.min.js new file mode 100644 index 0000000..6813396 --- /dev/null +++ b/assets/js/wpr-admin.min.js @@ -0,0 +1,2 @@ +!function s(n,r,a){function o(e,t){if(!r[e]){if(!n[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(l)return l(e,!0);throw(i=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",i}i=r[e]={exports:{}},n[e][0].call(i.exports,function(t){return o(n[e][1][t]||t)},i,i.exports,s,n,r,a)}return r[e].exports}for(var l="function"==typeof require&&require,t=0;t{i.append(""+t+": "),i.append(e[t].message),i.append("
")}):i.append('
'+e.message+"
")}})})})},{}],2:[function(t,e,i){"use strict";t("../lib/greensock/TweenLite.min.js"),t("../lib/greensock/TimelineLite.min.js"),t("../lib/greensock/easing/EasePack.min.js"),t("../lib/greensock/plugins/CSSPlugin.min.js"),t("../lib/greensock/plugins/ScrollToPlugin.min.js"),t("../global/pageManager.js"),t("../global/main.js"),t("../global/fields.js"),t("../global/beacon.js"),t("../global/ajax.js"),t("../global/rocketcdn.js"),t("../global/countdown.js")},{"../global/ajax.js":1,"../global/beacon.js":3,"../global/countdown.js":4,"../global/fields.js":5,"../global/main.js":6,"../global/pageManager.js":7,"../global/rocketcdn.js":8,"../lib/greensock/TimelineLite.min.js":9,"../lib/greensock/TweenLite.min.js":10,"../lib/greensock/easing/EasePack.min.js":11,"../lib/greensock/plugins/CSSPlugin.min.js":12,"../lib/greensock/plugins/ScrollToPlugin.min.js":13}],3:[function(t,e,i){"use strict";var s=jQuery;s(document).ready(function(){"Beacon"in window&&s(".wpr-infoAction--help").on("click",function(t){var e=s(this).data("beacon-id");return 0!==(e=(e=e).split(",")).length&&(1{o(t).attr("checked",i?null:"checked")});else{const r=o(e).closest(".wpr-list").find(".wpr-main-checkbox");var n=o.map(s,t=>{if(void 0!==o(t).attr("checked"))return t});r.attr("checked",n.length===s.length?"checked":null)}}),0{let i=o(e).parents(".wpr-list");var s=i.find(".wpr-list-body input[type=checkbox]:not(:checked)").length;o(e).attr("checked",s<=0?"checked":null)})})},{}],6:[function(t,e,i){"use strict";var c=jQuery;c(document).ready(function(){var t=c(".wpr-notice");c("#wpr-congratulations-notice").on("click",function(){return(new TimelineLite).to(t,1,{autoAlpha:0,x:40,ease:Power4.easeOut}).to(t,.6,{height:0,marginTop:0,ease:Power4.easeOut},"=-.4").set(t,{display:"none"}),!1}),c(".rocket-analytics-data-container").hide(),c(".rocket-preview-analytics-data").on("click",function(t){t.preventDefault(),c(this).parent().next(".rocket-analytics-data-container").toggle()}),c(".wpr-toggle-button").each(function(){var t=c(this),e=t.closest(".wpr-fieldsContainer-fieldset").find(".wpr-radio :checkbox"),i=c('[href="'+t.attr("href")+'"].wpr-menuItem');e.on("change",function(){e.is(":checked")?(i.css("display","block"),t.css("display","inline-block")):(i.css("display","none"),t.css("display","none"))}).trigger("change")});var e=c(".wpr-Popin-Analytics"),i=c(".wpr-Popin-overlay"),s=c(".wpr-Popin-Analytics-close"),n=c(".wpr-Popin-Analytics .wpr-button");function r(){(new TimelineLite).fromTo(e,.6,{autoAlpha:1,marginTop:0},{autoAlpha:0,marginTop:-24,ease:Power4.easeOut}).fromTo(i,.6,{autoAlpha:1},{autoAlpha:0,ease:Power4.easeOut},"=-.5").set(e,{display:"none"}).set(i,{display:"none"})}c(".wpr-js-popin").on("click",function(t){return t.preventDefault(),(new TimelineLite).set(e,{display:"block"}).set(i,{display:"block"}).fromTo(i,.6,{autoAlpha:0},{autoAlpha:1,ease:Power4.easeOut}).fromTo(e,.6,{autoAlpha:0,marginTop:-24},{autoAlpha:1,marginTop:0,ease:Power4.easeOut},"=-.5"),!1}),s.on("click",function(t){return t.preventDefault(),r(),!1}),n.on("click",function(t){return t.preventDefault(),r(),c("#analytics_enabled").prop("checked",!0),c("#analytics_enabled").trigger("change"),!1}),c("#analytics_enabled").on("change",function(){c(".wpr-rocket-analytics-cta").toggleClass("wpr-isHidden"),console.log("Change")});var a=c(".wpr-Popin-Upgrade"),n=c(".wpr-Popin-Upgrade-close");c(".wpr-popin-upgrade-toggle").on("click",function(t){return t.preventDefault(),(new TimelineLite).set(a,{display:"block"}).set(i,{display:"block"}).fromTo(i,.6,{autoAlpha:0},{autoAlpha:1,ease:Power4.easeOut}).fromTo(a,.6,{autoAlpha:0,marginTop:-24},{autoAlpha:1,marginTop:0,ease:Power4.easeOut},"=-.5"),!1}),n.on("click",function(){return(new TimelineLite).fromTo(a,.6,{autoAlpha:1,marginTop:0},{autoAlpha:0,marginTop:-24,ease:Power4.easeOut}).fromTo(i,.6,{autoAlpha:1},{autoAlpha:0,ease:Power4.easeOut},"=-.5").set(a,{display:"none"}).set(i,{display:"none"}),!1});var o=c(".wpr-Sidebar");c(".wpr-js-tips").on("change",function(){c(this).is(":checked")?(o.css("display","block"),localStorage.setItem("wpr-show-sidebar","on")):(o.css("display","none"),localStorage.setItem("wpr-show-sidebar","off"))}),document.getElementById("LKgOcCRpwmAj")?c(".wpr-adblock").css("display","none"):c(".wpr-adblock").css("display","block");var l=c(".wpr-adblock");c(".wpr-adblock-close").on("click",function(){return(new TimelineLite).to(l,1,{autoAlpha:0,x:40,ease:Power4.easeOut}).to(l,.4,{height:0,marginTop:0,ease:Power4.easeOut},"=-.4").set(l,{display:"none"}),!1})})},{}],7:[function(t,e,i){"use strict";function s(t){var e,i=this;this.$body=document.querySelector(".wpr-body"),this.$menuItems=document.querySelectorAll(".wpr-menuItem"),this.$submitButton=document.querySelector(".wpr-Content > form > #wpr-options-submit"),this.$pages=document.querySelectorAll(".wpr-Page"),this.$sidebar=document.querySelector(".wpr-Sidebar"),this.$content=document.querySelector(".wpr-Content"),this.$tips=document.querySelector(".wpr-Content-tips"),this.$links=document.querySelectorAll(".wpr-body a"),this.$menuItem=null,this.$page=null,this.pageId=null,this.bodyTop=0,this.buttonText=this.$submitButton.value,i.getBodyTop(),window.onhashchange=function(){i.detectID()},window.location.hash?(this.bodyTop=0,this.detectID()):(e=localStorage.getItem("wpr-hash"),this.bodyTop=0,e?(window.location.hash=e,this.detectID()):(this.$menuItems[0].classList.add("isActive"),localStorage.setItem("wpr-hash","dashboard"),window.location.hash="#dashboard"));for(var s=0;s{a.querySelectorAll(".wpr-rocketcdn-open").forEach(t=>{t.addEventListener("click",t=>{t.preventDefault()})}),function(){var t="";t+="action=rocketcdn_process_status";const e=r(t+="&nonce="+rocket_ajax_data.nonce);e.onreadystatechange=()=>{e.readyState===XMLHttpRequest.DONE&&200===e.status&&!0===JSON.parse(e.responseText).success&&MicroModal.show("wpr-rocketcdn-modal")}}(),MicroModal.init({disableScroll:!0})}),s.addEventListener("load",()=>{let t=a.querySelector("#wpr-rocketcdn-open-cta"),e=a.querySelector("#wpr-rocketcdn-close-cta"),i=a.querySelector("#wpr-rocketcdn-cta-small"),s=a.querySelector("#wpr-rocketcdn-cta");function n(t){var e="";return e+="action=toggle_rocketcdn_cta",e+="&status="+t,e+="&nonce="+rocket_ajax_data.nonce}null!==t&&null!==i&&null!==s&&t.addEventListener("click",t=>{t.preventDefault(),i.classList.add("wpr-isHidden"),s.classList.remove("wpr-isHidden"),r(n("big"))}),null!==e&&null!==i&&null!==s&&e.addEventListener("click",t=>{t.preventDefault(),i.classList.remove("wpr-isHidden"),s.classList.add("wpr-isHidden"),r(n("small"))})}),s.onmessage=t=>{var e,i,s=rocket_ajax_data.origin_url;t.origin===s&&((e=t.data).hasOwnProperty("cdnFrameHeight")&&(a.getElementById("rocketcdn-iframe").style.height="".concat(e.cdnFrameHeight,"px")),(i=t.data).hasOwnProperty("cdnFrameClose")&&(MicroModal.close("wpr-rocketcdn-modal"),i.hasOwnProperty("cdn_page_message")&&-1!==["iframe-payment-success","iframe-unsubscribe-success"].indexOf(i.cdn_page_message)&&a.location.reload()),function(t,e){let i=a.querySelector("#rocketcdn-iframe").contentWindow;if(t.hasOwnProperty("rocketcdn_token")){var s="";s+="action=save_rocketcdn_token",s+="&value="+t.rocketcdn_token;const n=r(s+="&nonce="+rocket_ajax_data.nonce);n.onreadystatechange=()=>{var t;n.readyState===XMLHttpRequest.DONE&&200===n.status&&(t=JSON.parse(n.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}else{s={process:"subscribe",message:"token_not_received"};i.postMessage({success:!1,data:s,rocketcdn:!0},e)}}(t.data,s),(e=t.data).hasOwnProperty("rocketcdn_process")&&(i="",i+="action=rocketcdn_process_set",i+="&status="+e.rocketcdn_process,r(i+="&nonce="+rocket_ajax_data.nonce)),function(t,e){let i=a.querySelector("#rocketcdn-iframe").contentWindow;if(t.hasOwnProperty("rocketcdn_url")){var s="";s+="action=rocketcdn_enable",s+="&cdn_url="+t.rocketcdn_url;const n=r(s+="&nonce="+rocket_ajax_data.nonce);n.onreadystatechange=()=>{var t;n.readyState===XMLHttpRequest.DONE&&200===n.status&&(t=JSON.parse(n.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}}(t.data,s),function(t,e){let i=a.querySelector("#rocketcdn-iframe").contentWindow;if(t.hasOwnProperty("rocketcdn_disable")){t="";t+="action=rocketcdn_disable";const s=r(t+="&nonce="+rocket_ajax_data.nonce);s.onreadystatechange=()=>{var t;s.readyState===XMLHttpRequest.DONE&&200===s.status&&(t=JSON.parse(s.responseText),i.postMessage({success:t.success,data:t.data,rocketcdn:!0},e))}}}(t.data,s),(s=t.data).hasOwnProperty("rocketcdn_validate_token")&&s.hasOwnProperty("rocketcdn_validate_cname")&&(t="",t+="action=rocketcdn_validate_token_cname",t+="&cdn_url="+s.rocketcdn_validate_cname,t+="&cdn_token="+s.rocketcdn_validate_token,r(t+="&nonce="+rocket_ajax_data.nonce)))}},{}],9:[function(t,e,i){"use strict";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(h,u,p){function d(t){u.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,s=this.vars;for(i in s)e=s[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(e));g(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)}function _(t){var e,i={};for(e in t)i[e]=t[e];return i}function n(t,e,i,s){t._timeline.pause(t._startTime),e&&e.apply(s||t._timeline,i||w)}var f=1e-10,m=p._internals.isSelector,g=p._internals.isArray,w=[],a=window._gsDefine.globals,v=w.slice,t=d.prototype=new u;return d.version="1.12.1",t.constructor=d,t.kill()._gc=!1,t.to=function(t,e,i,s){var n=i.repeat&&a.TweenMax||p;return e?this.add(new n(t,e,i),s):this.set(t,i,s)},t.from=function(t,e,i,s){return this.add((i.repeat&&a.TweenMax||p).from(t,e,i),s)},t.fromTo=function(t,e,i,s,n){var r=s.repeat&&a.TweenMax||p;return e?this.add(r.fromTo(t,e,i,s),n):this.set(t,s,n)},t.staggerTo=function(t,e,i,s,n,r,a,o){var l,c=new d({onComplete:r,onCompleteParams:a,onCompleteScope:o,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=p.selector(t)||t),m(t)&&(t=v.call(t,0)),s=s||0,l=0;t.length>l;l++)i.startAt&&(i.startAt=_(i.startAt)),c.to(t[l],e,_(i),l*s);return this.add(c,n)},t.staggerFrom=function(t,e,i,s,n,r,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,n,r,a,o)},t.staggerFromTo=function(t,e,i,s,n,r,a,o,l){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,n,r,a,o,l)},t.call=function(t,e,i,s){return this.add(p.delayedCall(0,t,e,i),s)},t.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new p(t,0,e),i)},d.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,s,n=new d(t),t=n._timeline;for(null==e&&(e=!0),t._remove(n,!0),n._startTime=0,n._rawPrevTime=n._time=n._totalTime=t._time,i=t._first;i;)s=i._next,e&&i instanceof p&&i.target===i.vars.onComplete||n.add(i,i._startTime-i._delay),i=s;return t.add(n,0),n},t.add=function(t,e,i,s){var n,r,a,o,l,c;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof h)){if(t instanceof Array||t&&t.push&&g(t)){for(i=i||"normal",s=s||0,n=e,r=t.length,a=0;at._startTime;l._timeline;)c&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},t.remove=function(t){if(t instanceof h)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&g(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},t._remove=function(t,e){u.prototype._remove.call(this,t,e);e=this._last;return e?this._time>e._startTime+e._totalDuration/e._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},t.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},t.insert=t.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},t.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},t.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},t.addPause=function(t,e,i,s){return this.call(n,["{self}",e,i,s],this,t)},t.removeLabel=function(t){return delete this._labels[t],this},t.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},t._parseTimeOrLabel=function(t,e,i,s){var n;if(s instanceof h&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&g(s)))for(n=s.length;-1<--n;)s[n]instanceof h&&s[n].timeline===this&&this.remove(s[n]);if("string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(n=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(n-1)+"1",10)*Number(t.substr(n+1)),t=1f&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:f,t=l+1e-4):t<1e-7?(((this._totalTime=this._time=0)!==c||0===this._duration&&this._rawPrevTime!==f&&(0=c)for(s=this._first;s&&(r=s._next,!this._paused||p);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r;else for(s=this._last;s&&(r=s._prev,!this._paused||p);)(s._active||c>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||w)),a&&(this._gc||h!==this._startTime&&u===this._timeScale||!(0===this._time||l>=this.totalDuration())||(n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||w)))}},t._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},t.getChildren=function(t,e,i,s){s=s||-9999999999;for(var n=[],r=this._first,a=0;r;)s>r._startTime||(r instanceof p?!1!==e&&(n[a++]=r):(!1!==i&&(n[a++]=r),!1!==t&&(a=(n=n.concat(r.getChildren(!0,e,i))).length))),r=r._next;return n},t.getTweensOf=function(t,e){var i,s,n=this._gc,r=[],a=0;for(n&&this._enabled(!0,!0),s=(i=p.getTweensOf(t)).length;-1<--s;)(i[s].timeline===this||e&&this._contains(i[s]))&&(r[a++]=i[s]);return n&&this._enabled(!1,!0),r},t._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},t.shiftChildren=function(t,e,i){i=i||0;for(var s,n=this._first,r=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(s in r)r[s]>=i&&(r[s]+=t);return this._uncache(!0)},t._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,n=!1;-1<--s;)i[s]._kill(t,e)&&(n=!0);return n},t.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},t.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},t._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return u.prototype._enabled.call(this,t,e)},t.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},t.totalDuration=function(t){if(arguments.length)return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this;if(this._dirty){for(var e,i,s=0,n=this._last,r=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>r&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):r=n._startTime,n._startTime<0&&!n._paused&&(s-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),r=0),s<(i=n._startTime+n._totalDuration/n._timeScale)&&(s=i),n=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration},t.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===h._rootFramesTimeline},t.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],10:[function(t,Q,e){"use strict";!function(p){var e,i,d=p.GreenSockGlobals||p;if(!d.TweenLite){var _,f=function(t){for(var e=t.split("."),i=d,s=0;e.length>s;s++)i[e[s]]=i=i[e[s]]||{};return i},u=f("com.greensock"),m=1e-10,o=[].slice,g=function(){},h=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),w={},v=function(o,l,c,h){this.sc=w[o]?w[o].sc:[],(w[o]=this).gsClass=null,this.func=c;var u=[];this.check=function(t){for(var e,i,s,n,r=l.length,a=r;-1<--r;)(e=w[l[r]]||new v(l[r],[])).gsClass?(u[r]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&c)for(s=(i=("com.greensock."+o).split(".")).pop(),n=f(i.join("."))[s]=this.gsClass=c.apply(c,u),h&&(d[s]=n,"function"==typeof define&&define.amd?define((p.GreenSockAMDPath?p.GreenSockAMDPath+"/":"")+o.split(".").join("/"),[],function(){return n}):void 0!==Q&&Q.exports&&(Q.exports=n)),r=0;this.sc.length>r;r++)this.sc[r].check()},this.check(!0)},s=p._gsDefine=function(t,e,i,s){return new v(t,e,i,s)},y=u._class=function(t,e,i){return e=e||function(){},s(t,[],function(){return e},i),e};s.globals=d;var t,n=[0,0,1,1],x=[],b=y("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?n.concat(e):n},!0),T=b.map={},r=b.register=function(t,e,i,s){for(var n,r,a,o,l=e.split(","),c=l.length,h=(i||"easeIn,easeOut,easeInOut").split(",");-1<--c;)for(r=l[c],n=s?y("easing."+r,null,!0):u.easing[r]||{},a=h.length;-1<--a;)o=h[a],T[r+"."+o]=T[o+r]=n[o]=t.getRatio?t:t[o]||new t};for((t=b.prototype)._calcEnd=!1,t.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},l=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--l;)t=a[l]+",Power"+l,r(new b(null,null,1,l),t,"easeOut",!0),r(new b(null,null,2,l),t,"easeIn"+(0===l?",easeNone":"")),r(new b(null,null,3,l),t,"easeInOut");T.linear=u.easing.Linear.easeIn,T.swing=u.easing.Quad.easeInOut;var k=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(t=k.prototype).addEventListener=function(t,e,i,s,n){n=n||0;var r,a,o=this._listeners[t],l=0;for(null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(r=o[a]).c===e&&r.s===i?o.splice(a,1):0===l&&n>r.pr&&(l=a+1);o.splice(l,0,{c:e,s:i,up:s,pr:n}),this!==A||_||A.wake()},t.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;-1<--i;)if(s[i].c===e)return void s.splice(i,1)},t.dispatchEvent=function(t){var e,i,s,n=this._listeners[t];if(n)for(e=n.length,i=this._eventTarget;-1<--e;)(s=n[e]).up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};for(var a,P=p.requestAnimationFrame,S=p.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O(),l=(a=["ms","moz","webkit","o"]).length;-1<--l&&!P;)P=p[a[l]+"RequestAnimationFrame"],S=p[a[l]+"CancelAnimationFrame"]||p[a[l]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var s,n,r,a,o,l=this,c=O(),i=!1!==e&&P,h=500,u=33,p=function(t){var e,i=O()-C;h=i&&i+this.totalDuration()/this._timeScale>t},t._enabled=function(t,e){return _||A.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},t._kill=function(){return this._enabled(!1,!1)},t.kill=function(t,e){return this._kill(t,e),this},t._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},t._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},t.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=h(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},t.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},t.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0this._duration?this._duration:t,e)):this._time},t.totalTime=function(t,e,i){if(_||A.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,n=this._timeline;if(ss;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},t._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},t.render=function(t,e,i){var s,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)s=n._next,(n._active||t>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s},t.rawTime=function(){return _||A.wake(),this._totalTime};var I=y("TweenLite",function(t,e,i){if(c.call(this,e,i),this.render=I.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&I.selector(t)||t;var s,n,r,i=t.jquery||t.length&&t!==p&&t[0]&&(t[0]===p||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?F[I.defaultOverwrite]:"number"==typeof a?a>>0:F[a],(i||t instanceof Array||t.push&&h(t))&&"number"!=typeof t[0])for(this._targets=r=o.call(t,0),this._propLookup=[],this._siblings=[],s=0;r.length>s;s++)(n=r[s])?"string"!=typeof n?n.length&&n!==p&&n[0]&&(n[0]===p||n[0].nodeType&&n[0].style&&!n.nodeType)?(r.splice(s--,1),this._targets=r=r.concat(o.call(n,0))):(this._siblings[s]=H(n,this,!1),1===a&&1=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(h[u++]=a)));for(d=u;-1<--d;)a=h[d],2===s&&a._kill(i,t)&&(r=!0),(2!==s||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(r=!0);return r},W=function(t,e,i){for(var s=t._timeline,n=s._timeScale,r=t._startTime;s._timeline;){if(r+=s._startTime,n*=s._timeScale,s._paused)return-100;s=s._timeline}return e<(r/=n)?r-e:i&&r===e||!t._initted&&r-e<2*m?m:(r+=t.totalDuration()/t._timeScale/n)>e+m?0:r-e-m};t._init=function(){var t,e,i,s,n,r=this.vars,a=this._overwrittenProps,o=this._duration,l=!!r.immediateRender,c=r.ease;if(r.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},r.startAt)n[s]=r.startAt[s];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&!1!==r.lazy,n.startAt=n.delay=null,this._startAt=I.to(this.target,0,n),l)if(0o.pr;)s=s._next;(o._prev=s?s._prev:r)?o._prev._next=o:n=o,(o._next=s)?s._prev=o:r=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},V.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===V.API&&(E[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,n=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){V.call(this,i,s),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new V(i);for(e in(o.constructor=a).API=t.API,r)"function"==typeof t[e]&&(o[r[e]]=t[e]);return a.version=t.version,V.activate([a]),a},a=p._gsQueue){for(l=0;a.length>l;l++)a[l]();for(t in w)w[t].func||p.console.log("GSAP encountered missing dependency: com.greensock."+t)}_=!1}}(window)},{}],11:[function(t,e,i){"use strict";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine("easing.Back",["easing.Ease"],function(m){function t(t,e){var i=c("easing."+t,function(){},!0);return(t=i.prototype=new m).constructor=i,t.getRatio=e,i}function e(t,e,i,s){return s=c("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0),h(s,t),s}function g(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=c("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0);return(t=i.prototype=new m).constructor=i,t.getRatio=e,t.config=function(t){return new i(t)},i}var s,n,r=window.GreenSockGlobals||window,a=r.com.greensock,o=2*Math.PI,l=Math.PI/2,c=a._class,h=m.register||function(){},u=e("Back",i("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),i("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),i("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),p=c("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},p.ease=new p(.7,.7),a.config=p.config=function(t,e,i){return new p(t,e,i)},(a=(s=c("easing.SteppedEase",function(t){this._p1=1/(t=t||1),this._p2=t+1},!0)).prototype=new m).constructor=s,a.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},a.config=s.config=function(t){return new s(t)},(a=(n=c("easing.RoughEase",function(t){for(var e,i,s,n,r,a,o=(t=t||{}).taper||"none",l=[],c=0,h=0|(t.points||20),u=h,p=!1!==t.randomize,d=!0===t.clamp,_=t.template instanceof m?t.template:null,f="number"==typeof t.strength?.4*t.strength:.4;-1<--u;)e=p?Math.random():1/h*u,i=_?_.getRatio(e):e,s="none"===o?f:"out"===o?(n=1-e)*n*f:"in"===o?e*e*f:.5*(n=e<.5?2*e:2*(1-e))*n*f,p?i+=Math.random()*s-.5*s:u%2?i+=.5*s:i-=.5*s,d&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},a.config=function(t){return new n(t)},n.ease=new n,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(a=function(t,e,i){var s=c("easing."+t,function(t,e){this._p1=t||1,this._p2=e||i,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),t=s.prototype=new m;return t.constructor=s,t.getRatio=e,t.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),a("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*o/this._p2))},.3),a("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*o/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*l)}),t("SineIn",function(t){return 1-Math.cos(t*l)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),c("easing.EaseLookup",{find:function(t){return m.map[t]}},!0),h(r.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(s,"SteppedEase","ease,"),u},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],12:[function(t,e,i){"use strict";(window._gsQueue||(window._gsQueue=[])).push(function(){window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r,p){function N(){r.call(this,"css"),this._overwriteProps.length=0,this.setRatio=N.prototype.setRatio}var d,x,b,u,_={},t=N.prototype=new r("css");(t.constructor=N).version="1.12.1",N.API=2,N.defaultTransformPerspective=0,N.defaultSkewType="compensated",N.suffixMap={top:t="px",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function n(t,e){return e.toUpperCase()}function a(t){return L.test("string"==typeof t?t:(t.currentStyle||t.style).filter||"")?parseFloat(RegExp.$1)/100:1}function f(t){window.console&&console.log(t)}function T(t,e){var i,s,n=(e=e||Z).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;-1<--s&&void 0===n[i[s]+t];);return 0<=s?(tt="-"+(et=3===s?"ms":i[s]).toLowerCase()+"-",et+t):null}function m(t,e){var i,s={};if(e=e||it(t,null))if(i=e.length)for(;-1<--i;)s[e[i].replace(Y,n)]=e.getPropertyValue(e[i]);else for(i in e)s[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(Y,n)]=e[i]);return J||(s.opacity=a(t)),t=Pt(t,e,!1),s.rotation=t.rotation,s.skewX=t.skewX,s.scaleX=t.scaleX,s.scaleY=t.scaleY,s.x=t.x,s.y=t.y,Tt&&(s.z=t.z,s.rotationX=t.rotationX,s.rotationY=t.rotationY,s.scaleZ=t.scaleZ),s.filters&&delete s.filters,s}function g(t,e,i,s,n){var r,a,o,l={},c=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(r=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof r||"string"==typeof r)&&(l[a]="auto"!==r||"left"!==a&&"top"!==a?""!==r&&"auto"!==r&&"none"!==r||"string"!=typeof e[a]||""===e[a].replace(D,"")?r:0:rt(t,a),void 0!==c[a]&&(o=new pt(c,a,c[a],o)));if(s)for(a in s)"className"!==a&&(l[a]=s[a]);return{difs:l,firstMPT:o}}function w(t,e){var i=(t=null==t||""===t||"auto"===t||"auto auto"===t?"0 0":t).split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0];return null==(t=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1])?t="0":"center"===t&&(t="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e&&(e.oxp=-1!==s.indexOf("%"),e.oyp=-1!==t.indexOf("%"),e.oxr="="===s.charAt(1),e.oyr="="===t.charAt(1),e.ox=parseFloat(s.replace(D,"")),e.oy=parseFloat(t.replace(D,""))),s+" "+t+(2>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),lt[t]||("#"===t.charAt(0)?(4===t.length&&(t="#"+(e=t.charAt(1))+e+(i=t.charAt(2))+i+(r=t.charAt(3))+r),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):("hsl"===t.substr(0,3)?(t=t.match(A),s=Number(t[0])%360/360,n=Number(t[1])/100,e=2*(r=Number(t[2])/100)-(i=r<=.5?r*(1+n):r+n-r*n),3a",!!(i=i.getElementsByTagName("a")[0])&&/^0.55/.test(i.style.opacity)),tt="",et="",it=Q.defaultView?Q.defaultView.getComputedStyle:function(){},st=N.getStyle=function(t,e,i,s,n){var r;return J||"opacity"!==e?(!s&&t.style[e]?r=t.style[e]:(i=i||it(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(z,"-$1").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==n||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:n):a(t)},nt=s.convertToPixels=function(t,e,i,s,n){if("px"===s||!s)return i;if("auto"===s||!i)return 0;var r,a,o,l=$.test(e),c=t,h=Z.style,u=i<0;if(u&&(i=-i),"%"===s&&-1!==e.indexOf("border"))r=i/100*(l?t.clientWidth:t.clientHeight);else{if(h.cssText="border:0 solid red;position:"+st(t,"position")+";line-height:0;","%"!==s&&c.appendChild)h[l?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(a=(c=t.parentNode||Q.body)._gsCache,o=p.ticker.frame,a&&l&&a.time===o)return a.width*i/100;h[l?"width":"height"]=i+s}c.appendChild(Z),r=parseFloat(Z[l?"offsetWidth":"offsetHeight"]),c.removeChild(Z),l&&"%"===s&&!1!==N.cacheWidths&&((a=c._gsCache=c._gsCache||{}).time=o,a.width=r/i*100),0!==r||n||(r=nt(t,e,i,s,!0))}return u?-r:r},rt=s.calculateOffset=function(t,e,i){if("absolute"!==st(t,"position",i))return 0;var s="left"===e?"Left":"Top",i=st(t,"margin"+s,i);return t["offset"+s]-(nt(t,e,parseFloat(i),i.replace(j,""))||0)},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ct="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(t in lt)ct+="|"+t+"\\b";function ht(t,e,r,a){if(null==t)return function(t){return t};var o,l=e?(t.match(ct)||[""])[0]:"",c=t.split(l).join("").match(I)||[],h=t.substr(0,t.indexOf(c[0])),u=")"===t.charAt(t.length-1)?")":"",p=-1!==t.indexOf(" ")?" ":",",d=c.length,_=0s;s++)n[s]=o(n[s]);return n.join(",")}if(e=(t.match(ct)||[l])[0],s=(i=t.split(e).join("").match(I)||[]).length,d>s--)for(;d>++s;)i[s]=r?i[0|(s-1)/2]:c[s];return h+i.join(p)+p+e+u+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,s;if("number"==typeof t)t+=_;else if(a&&H.test(t)){for(i=t.replace(H,"|").split("|"),s=0;i.length>s;s++)i[s]=o(i[s]);return i.join(",")}if(s=(e=t.match(I)||[]).length,d>s--)for(;d>++s;)e[s]=r?e[0|(s-1)/2]:c[s];return h+e.join(p)+u}:function(t){return t}}function ut(c){return c=c.split(","),function(t,e,i,s,n,r,a){var o,l=(e+"").split(" ");for(a={},o=0;o<4;o++)a[c[o]]=l[o]=l[o]||l[(o-1)/2>>0];return s.parse(t,a,n,r)}}var ct=RegExp(ct+")","gi"),pt=(s._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,n,r=this.data,a=r.proxy,o=r.firstMPT;o;)e=a[o.v],o.r?e=Math.round(e):e<1e-6&&-1e-6s;s++)n+=i["xn"+s]+i["xs"+(s+1)];i.e=n}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,s,n){this.t=t,this.p=e,this.v=i,this.r=n,s&&((s._prev=this)._next=s)}),dt=(s._parseToProxy=function(t,e,i,s,n,r){var a,o,l,c,h=s,u={},p={},d=i._transform,_=V;for(i._transform=null,V=e,s=n=i.parse(t,e,s,n),V=_,r&&(i._transform=d,h&&(h._prev=null,h._prev&&(h._prev._next=null)));s&&s!==h;){if(s.type<=1&&(p[o=s.p]=s.s+s.c,u[o]=s.s,r||(c=new pt(s,"s",o,c,s.r),s.c=0),1===s.type))for(a=s.l;0<--a;)p[o=s.p+"_"+(l="xn"+a)]=s.data[l],u[o]=s[l],r||(c=new pt(s,l,o,c,s.rxp[l]));s=s._next}return{proxy:u,end:p,firstMPT:c,pt:n}},s.CSSPropTween=function(t,e,i,s,n,r,a,o,l,c,h){this.t=t,this.p=e,this.s=i,this.c=s,this.n=a||e,t instanceof dt||u.push(this.n),this.r=o,this.type=r||0,l&&(this.pr=l,d=!0),this.b=void 0===c?i:c,this.e=void 0===h?i+s:h,n&&((this._next=n)._prev=this)}),_t=N.parseComplex=function(t,e,i,s,n,r,a,o,l,c){a=new dt(t,e,0,0,a,c?2:1,null,!1,o,i=i||r||"",s),s+="";var h,u,p,d,_,f,m,g,w,v,y,x=i.split(", ").join(",").split(" "),b=s.split(", ").join(",").split(" "),T=x.length,k=!1!==O;for(-1===s.indexOf(",")&&-1===i.indexOf(",")||(x=x.join(" ").replace(H,", ").split(" "),b=b.join(" ").replace(H,", ").split(" "),T=x.length),T!==b.length&&(T=(x=(r||"").split(" ")).length),a.plugin=l,a.setRatio=c,h=0;hu;u++)v=f[u],w=d.indexOf(v,p),a.appendXtra(d.substr(p,w-p),Number(v),P(m[u],v),"",k&&"px"===d.substr(w+v.length,2),0===u),p=w+v.length;a["xs"+a.l]+=d.substr(p)}else a["xs"+a.l]+=a.l?" "+d:d;if(-1!==s.indexOf("=")&&a.data){for(y=a.xs0+a.data.s,h=1;a.l>h;h++)y+=a["xs"+h]+a.data["xn"+h];a.e=y+a["xs"+h]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},ft=9;for((t=dt.prototype).l=t.pr=0;0<--ft;)t["xn"+ft]=0,t["xs"+ft]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,s,n,r){var a=this,o=a.l;return a["xs"+o]+=r&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",0s;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||r,new mt(n[s],e)};(t=mt.prototype).parseComplex=function(t,e,i,s,n,r){var a,o,l,c,h,u=this.keyword;if(this.multi&&(H.test(i)||H.test(e)?(o=e.replace(H,"|").split("|"),l=i.replace(H,"|").split("|")):u&&(o=[e],l=[i])),l){for(c=(l.length>o.length?l:o).length,a=0;aI[r]&&I[r]>-j&&(I[r]=0);return i&&(t._gsTransform=I),I},St=s.set3DTransformRatio=function(t){var e,i,s,n,r,a,o,l,c,h,u,p,d,_,f,m,g,w,v,y,x,b,T=this.data,k=this.t.style,P=T.rotation*U,S=T.scaleX,O=T.scaleY,C=T.scaleZ,A=T.perspective;if(1!==t&&0!==t||"auto"!==T.force3D||T.rotationY||T.rotationX||1!==C||A||T.z){if(M&&(S<1e-4&&-1e-4y;y++)this.p.indexOf("border")&&(f[y]=T(f[y])),-1!==(o=a=st(t,f[y],b,!1,"0px")).indexOf(" ")&&(o=(a=o.split(" "))[0],a=a[1]),l=r=v[y],d=parseFloat(o),_=o.substr((d+"").length),(h=""===(h=(u="="===l.charAt(1))?(c=parseInt(l.charAt(0)+"1",10),l=l.substr(2),c*=parseFloat(l),l.substr((c+"").length-(c<0?1:0))||""):(c=parseFloat(l),l.substr((c+"").length)))?x[i]||_:h)!==_&&(p=nt(t,"borderLeft",d,_),d=nt(t,"borderTop",d,_),a="%"===h?(o=p/g*100+"%",d/w*100+"%"):"em"===h?(o=p/(_=nt(t,"borderLeft",1,"em"))+"em",d/_+"em"):(o=p+"px",d+"px"),u&&(l=parseFloat(o)+c+h,r=parseFloat(a)+c+h)),n=_t(m,f[y],o+" "+a,l+" "+r,!1,"0px",n);return n},prefix:!0,formatter:ht("0px 0px 0px 0px",!1,!0)}),gt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,s,n,r){var a,o,l,c,h,u,p="background-position",d=b||it(t,null),_=this.format((d?C?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),e=this.format(e);if(-1!==_.indexOf("%")!=(-1!==e.indexOf("%"))&&((u=st(t,"backgroundImage").replace(F,""))&&"none"!==u)){for(a=_.split(" "),o=e.split(" "),G.setAttribute("src",u),l=2;-1<--l;)(c=-1!==(_=a[l]).indexOf("%"))!=(-1!==o[l].indexOf("%"))&&(h=0===l?t.offsetWidth-G.width:t.offsetHeight-G.height,a[l]=c?parseFloat(_)/100*h+"px":parseFloat(_)/h*100+"%");_=a.join(" ")}return this.parseComplex(t.style,_,e,n,r)},formatter:w}),gt("backgroundSize",{defaultValue:"0 0",formatter:w}),gt("perspective",{defaultValue:"0px",prefix:!0}),gt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),gt("transformStyle",{prefix:!0}),gt("backfaceVisibility",{prefix:!0}),gt("userSelect",{prefix:!0}),gt("margin",{parser:ut("marginTop,marginRight,marginBottom,marginLeft")}),gt("padding",{parser:ut("paddingTop,paddingRight,paddingBottom,paddingLeft")}),gt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,n,r){var a,o;return e=C<9?(a=t.currentStyle,o=C<8?" ":",",a="rect("+a.clipTop+o+a.clipRight+o+a.clipBottom+o+a.clipLeft+")",this.format(e).split(",").join(o)):(a=this.format(st(t,this.p,b,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,n,r)}}),gt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),gt("autoRound,strictUnits",{parser:function(t,e,i,s,n){return n}}),gt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,s,n,r){return this.parseComplex(t.style,this.format(st(t,"borderTopWidth",b,!1,"0px")+" "+st(t,"borderTopStyle",b,!1,"solid")+" "+st(t,"borderTopColor",b,!1,"#000")),this.format(e),n,r)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ct)||["#000"])[0]}}),gt("borderWidth",{parser:ut("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),gt("float,cssFloat,styleFloat",{parser:function(t,e,i,s,n){var r=t.style,t="cssFloat"in r?"cssFloat":"styleFloat";return new dt(r,t,0,0,n,-1,i,!1,0,r[t],e)}});function Ct(t){var e,i=this.t,s=i.filter||st(this.data,"filter"),t=0|this.s+this.c*t;(e=100==t?-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),!st(this.data,"filter")):(i.filter=s.replace(l,""),!0):e)||(this.xn1&&(i.filter=s=s||"alpha(opacity="+t+")"),-1===s.indexOf("pacity")?0==t&&this.xn1||(i.filter=s+" alpha(opacity="+t+")"):i.filter=s.replace(L,"opacity="+t))}gt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,s,n,r){var a=parseFloat(st(t,"opacity",b,!1,"1")),o=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===st(t,"visibility",b)&&0!==e&&(a=0),J?n=new dt(o,"opacity",a,e-a,n):((n=new dt(o,"opacity",100*a,100*(e-a),n)).xn1=l?1:0,o.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=r,n.setRatio=Ct),l&&((n=new dt(o,"visibility",0,0,n,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",s._overwriteProps.push(n.n),s._overwriteProps.push(i)),n}});function At(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(z,"-$1").toLowerCase())):t.removeAttribute(e))}function Mt(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:At(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}gt("className",{parser:function(t,e,i,s,n,r,a){var o,l,c,h=t.getAttribute("class")||"",u=t.style.cssText;if((n=s._classNamePT=new dt(t,i,0,0,n,2)).setRatio=Mt,n.pr=-11,d=!0,n.b=h,o=m(t,b),i=t._gsClassPT){for(l={},c=i.data;c;)l[c.p]=1,c=c._next;i.setRatio(1)}return(t._gsClassPT=n).e="="!==e.charAt(1)?e:h.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),s._tween._duration&&(t.setAttribute("class",n.e),a=g(t,o,m(t),a,l),t.setAttribute("class",h),n.data=a.firstMPT,t.style.cssText=u,n=n.xfirst=s.parse(t,a.difs,n,r)),n}});function Rt(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,s,n,r=this.t.style,a=_.transform.parse;if("all"===this.e)n=!(r.cssText="");else for(s=(e=this.e.split(",")).length;-1<--s;)i=e[s],_[i]&&(_[i].parse===a?n=!0:i="transformOrigin"===i?bt:_[i].p),At(r,i);n&&(At(r,yt),this.t._gsTransform&&delete this.t._gsTransform)}}for(gt("clearProps",{parser:function(t,e,i,s,n){return(n=new dt(t,i,0,0,n,2)).setRatio=Rt,n.e=e,n.pr=-10,n.data=s._tween,d=!0,n}}),t="bezier,throwProps,physicsProps,physics2D".split(","),ft=t.length;ft--;)!function(t){var l;_[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",gt(t,{parser:function(t,e,i,s,n,r,a){var o=(window.GreenSockGlobals||window).com.greensock.plugins[l];return o?(o._cssRegister(),_[i].parse(t,e,i,s,n,r,a)):(f("Error: "+l+" js file not loaded."),n)}}))}(t[ft]);(t=N.prototype)._firstPT=null,t._onInitTween=function(t,e,i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,O=e.autoRound,d=!1,x=e.suffixMap||N.suffixMap,b=it(t,""),u=this._overwriteProps;var s,n,r,a,o,l,i=t.style;if(c&&""===i.zIndex&&("auto"!==(l=st(t,"zIndex",b))&&""!==l||this._addLazySet(i,"zIndex",0)),"string"==typeof e&&(r=i.cssText,l=m(t,b),i.cssText=r+";"+e,l=g(t,l,m(t)).difs,!J&&X.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,i.cssText=r),this._firstPT=s=this.parse(t,e,null),this._transformType){for(l=3===this._transformType,yt?h&&(c=!0,""===i.zIndex&&("auto"!==(e=st(t,"zIndex",b))&&""!==e||this._addLazySet(i,"zIndex",0)),k&&this._addLazySet(i,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(l?"visible":"hidden"))):i.zoom=1,n=s;n&&n._next;)n=n._next;i=new dt(t,"transform",0,0,null,2),this._linkCSSP(i,null,n),i.setRatio=l&&Tt?St:yt?Ot:wt,i.data=this._transform||Pt(t,b,!0),u.pop()}if(d){for(;s;){for(o=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:a)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:a=s,s=o}this._firstPT=r}return!0},t.parse=function(t,e,i,s){var n,r,a,o,l,c,h,u,p=t.style;for(n in e)l=e[n],u=_[n],u?i=u.parse(t,l,n,this,i,s,e):(o=st(t,n,b)+"",h="string"==typeof l,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||h&&E.test(l)?(h||(l=S(l),l=(3s;s++)i+=n["xn"+s]+n["xs"+(s+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;)2!==n.type?n.t[n.p]=n.e:n.setRatio(t),n=n._next},t._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||Pt(this._target,b,!0)};function It(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){e=this._firstPT=new dt(t,e,0,0,this._firstPT,2);e.e=i,e.setRatio=It,e.data=this},t._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._kill=function(t){var e,i,s,n=t;if(t.autoAlpha||t.alpha){for(i in n={},t)n[i]=t[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return t.className&&(e=this._classNamePT)&&((s=e.xfirst)&&s._prev?this._linkCSSP(s._prev,e._next,s._prev._prev):s===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,s._prev),this._classNamePT=null),r.prototype._kill.call(this,n)};function Dt(t,e,i){var s,n,r,a;if(t.slice)for(n=t.length;-1<--n;)Dt(t[n],e,i);else for(n=(s=t.childNodes).length;-1<--n;)a=(r=s[n]).type,r.style&&(e.push(m(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||Dt(r,e,i)}return N.cascadeTo=function(t,e,i){var s,n,r,a=p.to(t,e,i),o=[a],l=[],c=[],h=[],u=p._internals.reservedProps;for(t=a._targets||a.target,Dt(t,l,h),a.render(e,!0),Dt(t,c),a.render(0,!0),a._enabled(!0),s=h.length;-1<--s;)if((n=g(h[s],l[s],c[s])).firstMPT){for(r in n=n.difs,i)u[r]&&(n[r]=i[r]);o.push(p.to(h[s],e,n))}return o},r.activate([N]),N},!0)}),window._gsDefine&&window._gsQueue.pop()()},{}],13:[function(t,e,i){"use strict";(window._gsQueue||(window._gsQueue=[])).push(function(){function n(t,e){var i="x"===e?"Width":"Height",s="scroll"+i,n="client"+i,e=document.body;return t===a||t===r||t===e?Math.max(r[s],e[s])-(a["inner"+i]||Math.max(r[n],e[n])):t[s]-t["offset"+i]}var r=document.documentElement,a=window,t=window._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.3",init:function(t,e,i){return this._wdw=t===a,this._target=t,this._tween=i,this._autoKill=!1!==(e="object"!=typeof e?{y:e}:e).autoKill,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,"max"===e.x?n(t,"x"):e.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,"max"===e.y?n(t,"y"):e.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,s=i-this.yPrev,t=e-this.xPrev;this._autoKill&&(!this.skipX&&(7e&&(this.skipX=!0),!this.skipY&&(7i&&(this.skipY=!0),this.skipX&&this.skipY&&this._tween.kill()),this._wdw?a.scrollTo(this.skipX?e:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),e=t.prototype;t.max=n,e.getX=function(){return this._wdw?null!=a.pageXOffset?a.pageXOffset:(null!=r.scrollLeft?r:document.body).scrollLeft:this._target.scrollLeft},e.getY=function(){return this._wdw?null!=a.pageYOffset?a.pageYOffset:(null!=r.scrollTop?r:document.body).scrollTop:this._target.scrollTop},e._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),window._gsDefine&&window._gsQueue.pop()()},{}]},{},[2]); +//# sourceMappingURL=wpr-admin.js.map diff --git a/assets/js/wpr-cpcss-heartbeat.js b/assets/js/wpr-cpcss-heartbeat.js new file mode 100644 index 0000000..b2195a8 --- /dev/null +++ b/assets/js/wpr-cpcss-heartbeat.js @@ -0,0 +1,36 @@ +let cpcssHeartbeatCall; +const cpcssHeartbeat = () => { + const xhttp = new XMLHttpRequest(); + xhttp.onload = () => { + if ( 200 !== xhttp.status ) { + return; + } + + const cpcs_heartbeat_response = JSON.parse( xhttp.response ); + if ( false === cpcs_heartbeat_response.success ) { + stopCPCSSHeartbeat(); + return; + } + + if ( cpcs_heartbeat_response.success && + 'cpcss_complete' === cpcs_heartbeat_response.data.status ) { + stopCPCSSHeartbeat(); + return; + } + + cpcssHeartbeatCall = setTimeout( () => { + cpcssHeartbeat(); + }, 3000 ); + }; + + xhttp.open( 'POST', ajaxurl, true ); + xhttp.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8' ); + xhttp.send( "action=rocket_cpcss_heartbeat&_nonce=" + rocket_cpcss_heartbeat.nonce ); +} + + +const stopCPCSSHeartbeat = () => { + clearTimeout( cpcssHeartbeatCall ); +} + +cpcssHeartbeat(); diff --git a/assets/js/wpr-cpcss.js b/assets/js/wpr-cpcss.js new file mode 100644 index 0000000..e98d657 --- /dev/null +++ b/assets/js/wpr-cpcss.js @@ -0,0 +1,150 @@ +let checkCPCSSGenerationCall; +let checkCPCSSMobileGenerationCall; +let cpcsssGenerationPending = 0; +let cpcsssMobileGenerationPending = 0; +const rocketDeleteCPCSSbtn = document.getElementById( 'rocket-delete-post-cpss' ); +const rocketGenerateCPCSSbtn = document.getElementById( 'rocket-generate-post-cpss' ); +const rocketCPCSSGenerate = document.querySelectorAll( '.cpcss_generate' ); +const rocketCPCSSReGenerate = document.querySelectorAll( '.cpcss_regenerate' ); + +if ( null !== rocketDeleteCPCSSbtn ) { + rocketDeleteCPCSSbtn.addEventListener( 'click', e => { + e.preventDefault(); + deleteCPCSS(); + } ); +} + +if ( null !== rocketGenerateCPCSSbtn ) { + rocketGenerateCPCSSbtn.addEventListener( 'click', e => { + e.preventDefault(); + rocketGenerateCPCSSbtn.disabled = true; + checkCPCSSGeneration( null, false ); + if ( rocket_cpcss.wprMobileCpcssEnabled ) { + checkCPCSSGeneration( null, true ); + } + } ); +} + +const checkCPCSSGeneration = ( timeout = null, is_mobile = false ) => { + const spinner = rocketGenerateCPCSSbtn.querySelector( '.spinner' ); + spinner.style.display = 'block'; + spinner.style.visibility = 'visible'; + + const xhttp = new XMLHttpRequest(); + xhttp.onload = () => { + if ( 200 !== xhttp.status ) { + return; + } + + const cpcss_response = JSON.parse( xhttp.response ); + if ( 200 !== cpcss_response.data.status ) { + stopCPCSSGeneration( spinner ); + if ( ! is_mobile ) { + cpcssNotice( cpcss_response.message, 'error' ); + } + rocketGenerateCPCSSbtn.disabled = false; + return; + } + + if ( 200 === cpcss_response.data.status && + 'cpcss_generation_pending' !== cpcss_response.code ) { + stopCPCSSGeneration( spinner, is_mobile ); + if ( ! is_mobile ) { + cpcssNotice( cpcss_response.message, 'success' ); + } + + // Revert view to Regenerate. + rocketGenerateCPCSSbtn.querySelector( '.rocket-generate-post-cpss-btn-txt' ).innerHTML = rocket_cpcss.regenerate_btn; + rocketDeleteCPCSSbtn.style.display = 'block'; + rocketGenerateCPCSSbtn.disabled = false; + rocketCPCSSGenerate.forEach( item => item.style.display = 'none' ); + rocketCPCSSReGenerate.forEach( item => item.style.display = 'block' ); + return; + } + + if ( is_mobile ) { + cpcsssMobileGenerationPending++; + if ( cpcsssMobileGenerationPending > 10 ) { + stopCPCSSGeneration( spinner, is_mobile ); + cpcsssMobileGenerationPending = 0; + checkCPCSSGeneration( true, true ); + return; + } + checkCPCSSMobileGenerationCall = setTimeout( () => { + checkCPCSSGeneration( null, true ); + }, 3000 ); + } else { + cpcsssGenerationPending++; + if ( cpcsssGenerationPending > 10 ) { + stopCPCSSGeneration( spinner, is_mobile ); + cpcsssGenerationPending = 0; + checkCPCSSGeneration( true, false ); + return; + } + + checkCPCSSGenerationCall = setTimeout( () => { + checkCPCSSGeneration( null, false ); + }, 3000 ); + } + }; + + xhttp.open( 'POST', rocket_cpcss.rest_url, true ); + xhttp.setRequestHeader( 'Content-Type', 'application/json' ); + xhttp.setRequestHeader( 'X-WP-Nonce', rocket_cpcss.rest_nonce ); + xhttp.send( JSON.stringify( { timeout: timeout, is_mobile: is_mobile } ) ); +} + +const stopCPCSSGeneration = ( spinner, is_mobile ) => { + spinner.style.display = 'none'; + if ( is_mobile ) { + clearTimeout( checkCPCSSMobileGenerationCall ); + } else { + clearTimeout( checkCPCSSGenerationCall ); + } +} + +const deleteCPCSS = () => { + rocketDeleteCPCSSbtn.disabled = true; + + const xhttp = new XMLHttpRequest(); + xhttp.onload = () => { + if ( 200 !== xhttp.status ) { + return; + } + + rocketDeleteCPCSSbtn.disabled = false; + const cpcss_response = JSON.parse( xhttp.response ); + + if ( 200 !== cpcss_response.data.status ) { + cpcssNotice( cpcss_response.message, 'error' ); + return; + } + cpcssNotice( cpcss_response.message, 'success' ); + + // Revert view to Generate. + rocketGenerateCPCSSbtn.querySelector( '.rocket-generate-post-cpss-btn-txt' ).innerHTML = rocket_cpcss.generate_btn; + rocketDeleteCPCSSbtn.style.display = 'none'; + rocketCPCSSReGenerate.forEach( item => item.style.display = 'none' ); + rocketCPCSSGenerate.forEach( item => item.style.display = 'block' ); + }; + + xhttp.open( 'DELETE', rocket_cpcss.rest_url, true ); + xhttp.setRequestHeader( 'Content-Type', 'application/json' ); + xhttp.setRequestHeader( 'X-WP-Nonce', rocket_cpcss.rest_nonce ); + xhttp.send(); +} + +const cpcssNotice = ( msg, type ) => { + /* Add notice class */ + const cpcssNotice = document.getElementById( 'cpcss_response_notice' ); + cpcssNotice.innerHTML = ''; + cpcssNotice.classList.remove( 'hidden', 'notice', 'is-warning', 'notice-error', 'notice-success', 'is-error', 'is-success' ); + cpcssNotice.classList.add( 'notice', 'notice-' + type, 'is-' + type ); + + /* create paragraph element to hold message */ + const p = document.createElement( 'p' ); + p.appendChild( document.createTextNode( msg ) ); + + /* Add the whole message to notice div */ + cpcssNotice.appendChild( p ); +} diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4cee9ee --- /dev/null +++ b/composer.json @@ -0,0 +1,223 @@ +{ + "name": "wp-media/wp-rocket", + "description": "Performance optimization plugin for WordPress", + "keywords": [ + "wordpress", + "cache", + "minification", + "lazyload" + ], + "homepage": "https://wp-rocket.me", + "license": "GPL-2.0-or-later", + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "type": "wordpress-plugin", + "config": { + "sort-packages": true, + "preferred-install": { + "wp-media/phpunit": "source" + }, + "process-timeout": 0, + "allow-plugins": { + "composer/installers": true, + "mnsami/composer-custom-directory-installer": true, + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "support": { + "issues": "https://github.com/wp-media/wp-rocket/issues", + "source": "https://github.com/wp-media/wp-rocket" + }, + "repositories": [ + { + "type": "composer", + "url": "https://wpackagist.org" + } + ], + "require": { + "php": ">=7.3", + "cloudflare/cf-ip-rewrite": "^1.0", + "composer/installers": "^1.0 || ^2.0" + }, + "require-dev": { + "php": "^7 || ^8", + "brain/monkey": "^2.0", + "coenjacobs/mozart": "^0.7", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "league/container": "^3.3", + "mikey179/vfsstream": "1.6.11", + "mnsami/composer-custom-directory-installer": "^2.0", + "mobiledetect/mobiledetectlib": "^2.8", + "phpcompatibility/phpcompatibility-wp": "^2.0", + "phpstan/phpstan": "^1.8", + "phpunit/phpunit": "^7.5 || ^8 || ^9", + "psr/container": "1.0.0", + "roave/security-advisories": "dev-master", + "szepeviktor/phpstan-wordpress": "^1.3", + "woocommerce/action-scheduler": "^3.4", + "wp-coding-standards/wpcs": "^3", + "wp-media/background-processing": "^1.3", + "wp-media/phpunit": "^3", + "wp-media/rocket-lazyload-common": "^3.0.11", + "wp-media/wp-imagify-partner": "^1.0", + "wpackagist-plugin/amp": "^1.1.4", + "wpackagist-plugin/hummingbird-performance": "2.0.1", + "wpackagist-plugin/jetpack": "9.3.2", + "wpackagist-plugin/pdf-embedder": "^4.6", + "wpackagist-plugin/simple-custom-css": "^4.0.3", + "wpackagist-plugin/spinupwp": "^1.1", + "wpackagist-plugin/woocommerce": "^7", + "wpackagist-plugin/wp-smushit": "^3", + "wp-media/monolog": "^0.0" + }, + "autoload": { + "classmap": [ + "inc/classes", + "inc/vendors/classes", + "inc/deprecated" + ], + "exclude-from-classmap": [ + "inc/vendors/classes/class-rocket-mobile-detect.php", + "inc/classes/class-wp-rocket-requirements-check.php" + ], + "psr-4": { + "WP_Rocket\\": "inc/", + "WPMedia\\Cloudflare\\": "inc/Addon/Cloudflare/" + } + }, + "autoload-dev": { + "psr-4": { + "WP_Rocket\\Tests\\": "tests/" + } + }, + "extra": { + "installer-paths": { + "./inc/Dependencies/ActionScheduler/": ["woocommerce/action-scheduler"], + "vendor/{$vendor}/{$name}/": ["type:wordpress-plugin"] + }, + "mozart": { + "dep_namespace": "WP_Rocket\\Dependencies\\", + "dep_directory": "/inc/Dependencies/", + "classmap_directory": "/inc/classes/dependencies/", + "classmap_prefix": "WP_Rocket_", + "packages": [ + "mobiledetect/mobiledetectlib", + "wp-media/background-processing", + "wp-media/rocket-lazyload-common", + "wp-media/wp-imagify-partner", + "wp-media/monolog", + "league/container" + ] + } + }, + "scripts": { + "test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist", + "test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --exclude-group AdminOnly,BeaverBuilder,Elementor,Hummingbird,WithSmush,WithWoo,WithAmp,WithAmpAndCloudflare,WithSCCSS,Cloudways,Dreampress,Cloudflare,CloudflareAdmin,Multisite,WPEngine,SpinUpWP,WordPressCom,O2Switch,PDFEmbedder,PDFEmbedderPremium,PDFEmbedderSecure,Godaddy,LiteSpeed,RevolutionSlider,WordFence,ConvertPlug,Kinsta,Jetpack,RankMathSEO,AllInOneSeoPack,SEOPress,TheSEOFramework,OneCom,RocketLazyLoad,WPXCloud,TheEventsCalendar,Perfmatters,RapidLoad,ProIsp,TranslatePress,WPGeotargeting,Pressidium", + "test-integration-adminonly": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group AdminOnly", + "test-integration-bb": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group BeaverBuilder", + "test-integration-cloudflare": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Cloudflare", + "test-integration-cloudflareadmin": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group CloudflareAdmin", + "test-integration-cloudways": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Cloudways", + "test-integration-elementor": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Elementor", + "test-integration-hummingbird": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Hummingbird", + "test-integration-multisite": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Multisite", + "test-integration-withsmush": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithSmush", + "test-integration-withamp": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithAmp", + "test-integration-withampcloudflare": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithAmpAndCloudflare", + "test-integration-withsccss": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithSCCSS", + "test-integration-withwoo": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithWoo", + "test-integration-wpengine": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WPEngine", + "test-integration-spinupwp": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group SpinUpWP", + "test-integration-wpcom": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WordPressCom", + "test-integration-pdfembedder": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group PDFEmbedder", + "test-integration-pdfembedderpremium": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group PDFEmbedderPremium", + "test-integration-pdfembeddersecure": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group PDFEmbedderSecure", + "test-integration-o2switch": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group O2Switch", + "test-integration-dreampress": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Dreampress", + "test-integration-godaddy": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Godaddy", + "test-integration-revolutionslider": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group RevolutionSlider", + "test-integration-litespeed": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group LiteSpeed", + "test-integration-wordfence": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WordFence", + "test-integration-kinsta": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Kinsta", + "test-integration-convertplug": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group ConvertPlug", + "test-integration-onecom": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group OneCom", + "test-integration-jetpack": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Jetpack", + "test-integration-rank-math-seo": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group RankMathSEO", + "test-integration-all-in-seo-pack": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group AllInOneSeoPack", + "test-integration-seopress": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group SEOPress", + "test-integration-the-seo-framework": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group TheSEOFramework", + "test-integration-rocket-lazy-load": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group RocketLazyLoad", + "test-integration-the-events-calendar": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group TheEventsCalendar", + "test-integration-wpxcloud": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WPXCloud", + "test-integration-perfmatters": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Perfmatters", + "test-integration-rapidload": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group RapidLoad", + "test-integration-proisp": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group ProIsp", + "test-integration-wp-geotargeting": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WPGeotargeting", + "test-integration-translatepress": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group TranslatePress", + "test-integration-pressidium": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Pressidium", + + "run-tests": [ + "@test-unit", + "@test-integration", + "@test-integration-adminonly", + "@test-integration-cloudflare", + "@test-integration-cloudflareadmin", + "@test-integration-bb", + "@test-integration-elementor", + "@test-integration-hummingbird", + "@test-integration-withamp", + "@test-integration-withampcloudflare", + "@test-integration-withsccss", + "@test-integration-withsmush", + "@test-integration-withwoo", + "@test-integration-pdfembedder", + "@test-integration-pdfembedderpremium", + "@test-integration-pdfembeddersecure", + "@test-integration-multisite", + "@test-integration-cloudways", + "@test-integration-wpengine", + "@test-integration-spinupwp", + "@test-integration-wpcom", + "@test-integration-o2switch", + "@test-integration-dreampress", + "@test-integration-godaddy", + "@test-integration-revolutionslider", + "@test-integration-litespeed", + "@test-integration-wordfence", + "@test-integration-kinsta", + "@test-integration-convertplug", + "@test-integration-onecom", + "@test-integration-jetpack", + "@test-integration-rank-math-seo", + "@test-integration-all-in-seo-pack", + "@test-integration-seopress", + "@test-integration-the-events-calendar", + "@test-integration-wpxcloud", + "@test-integration-perfmatters", + "@test-integration-rapidload", + "@test-integration-proisp", + "@test-integration-wp-geotargeting", + "@test-integration-translatepress", + "@test-integration-pressidium" + ], + "run-stan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress", + "install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run", + "phpcs": "phpcs --basepath=.", + "phpcs-changed": "./bin/phpcs-changed.sh", + "phpcs:fix": "phpcbf", + "post-install-cmd": [ + "\"vendor/bin/mozart\" compose", + "composer dump-autoload" + ], + "post-update-cmd": [ + "\"vendor/bin/mozart\" compose", + "composer dump-autoload" + ], + "code-coverage": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist --coverage-clover=tests/report/coverage.clover" + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..d8fc927 --- /dev/null +++ b/composer.lock @@ -0,0 +1,5587 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "79979f0b1a386a99a4fb22331c76517d", + "packages": [ + { + "name": "cloudflare/cf-ip-rewrite", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/cloudflare/cf-ip-rewrite.git", + "reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/48e2ce52e87d3d27cdb662584fccf82efa898bf1", + "reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "squizlabs/php_codesniffer": "2.*" + }, + "type": "library", + "autoload": { + "psr-0": { + "CloudFlare\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CloudFlare", + "homepage": "http://www.cloudflare.com/" + } + ], + "description": "Library to rewrite CloudFlare IP Addresses to the end-user IP address", + "homepage": "https://github.com/cloudflare/cf-ip-rewrite", + "keywords": [ + "cloudflare", + "ip rewrite" + ], + "support": { + "issues": "https://github.com/cloudflare/cf-ip-rewrite/issues", + "source": "https://github.com/cloudflare/cf-ip-rewrite/tree/master" + }, + "time": "2017-10-10T15:44:33+00:00" + }, + { + "name": "composer/installers", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "c29dc4b93137acb82734f672c37e029dfbd95b35" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/c29dc4b93137acb82734f672c37e029dfbd95b35", + "reference": "c29dc4b93137acb82734f672c37e029dfbd95b35", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan-phpunit": "^0.12.16", + "symfony/phpunit-bridge": "^5.3", + "symfony/process": "^5" + }, + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true + }, + "autoload": { + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "https://composer.github.io/installers/", + "keywords": [ + "Dolibarr", + "Eliasis", + "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", + "MODX Evo", + "MantisBT", + "Mautic", + "Maya", + "OXID", + "Plentymarkets", + "Porto", + "RadPHP", + "SMF", + "Starbug", + "Thelia", + "Whmcs", + "WolfCMS", + "agl", + "annotatecms", + "attogram", + "bitrix", + "cakephp", + "chef", + "cockpit", + "codeigniter", + "concrete5", + "croogo", + "dokuwiki", + "drupal", + "eZ Platform", + "elgg", + "expressionengine", + "fuelphp", + "grav", + "installer", + "itop", + "known", + "kohana", + "laravel", + "lavalite", + "lithium", + "magento", + "majima", + "mako", + "matomo", + "mediawiki", + "miaoxing", + "modulework", + "modx", + "moodle", + "osclass", + "pantheon", + "phpbb", + "piwik", + "ppi", + "processwire", + "puppet", + "pxcms", + "reindex", + "roundcube", + "shopware", + "silverstripe", + "sydes", + "sylius", + "tastyigniter", + "wordpress", + "yawik", + "zend", + "zikula" + ], + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-08-20T06:45:11+00:00" + } + ], + "packages-dev": [ + { + "name": "antecedent/patchwork", + "version": "2.1.26", + "source": { + "type": "git", + "url": "https://github.com/antecedent/patchwork.git", + "reference": "f2dae0851b2eae4c51969af740fdd0356d7f8f55" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/antecedent/patchwork/zipball/f2dae0851b2eae4c51969af740fdd0356d7f8f55", + "reference": "f2dae0851b2eae4c51969af740fdd0356d7f8f55", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignas Rudaitis", + "email": "ignas.rudaitis@gmail.com" + } + ], + "description": "Method redefinition (monkey-patching) functionality for PHP.", + "homepage": "http://patchwork2.org/", + "keywords": [ + "aop", + "aspect", + "interception", + "monkeypatching", + "redefinition", + "runkit", + "testing" + ], + "support": { + "issues": "https://github.com/antecedent/patchwork/issues", + "source": "https://github.com/antecedent/patchwork/tree/2.1.26" + }, + "time": "2023-09-18T08:18:37+00:00" + }, + { + "name": "brain/monkey", + "version": "2.6.1", + "source": { + "type": "git", + "url": "https://github.com/Brain-WP/BrainMonkey.git", + "reference": "a31c84515bb0d49be9310f52ef1733980ea8ffbb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/a31c84515bb0d49be9310f52ef1733980ea8ffbb", + "reference": "a31c84515bb0d49be9310f52ef1733980ea8ffbb", + "shasum": "" + }, + "require": { + "antecedent/patchwork": "^2.1.17", + "mockery/mockery": "^1.3.5 || ^1.4.4", + "php": ">=5.6.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", + "phpcompatibility/php-compatibility": "^9.3.0", + "phpunit/phpunit": "^5.7.26 || ^6.0 || ^7.0 || >=8.0 <8.5.12 || ^8.5.14 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-version/1": "1.x-dev", + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "files": [ + "inc/api.php" + ], + "psr-4": { + "Brain\\Monkey\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Giuseppe Mazzapica", + "email": "giuseppe.mazzapica@gmail.com", + "homepage": "https://gmazzap.me", + "role": "Developer" + } + ], + "description": "Mocking utility for PHP functions and WordPress plugin API", + "keywords": [ + "Monkey Patching", + "interception", + "mock", + "mock functions", + "mockery", + "patchwork", + "redefinition", + "runkit", + "test", + "testing" + ], + "support": { + "issues": "https://github.com/Brain-WP/BrainMonkey/issues", + "source": "https://github.com/Brain-WP/BrainMonkey" + }, + "time": "2021-11-11T15:53:55+00:00" + }, + { + "name": "coenjacobs/mozart", + "version": "0.7.1", + "source": { + "type": "git", + "url": "https://github.com/coenjacobs/mozart.git", + "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/coenjacobs/mozart/zipball/dbcdeb992d20d9c8914eef090f9a0d684bb1102c", + "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c", + "shasum": "" + }, + "require": { + "league/flysystem": "^1.0", + "php": "^7.3|^8.0", + "symfony/console": "^4|^5", + "symfony/finder": "^4|^5" + }, + "require-dev": { + "mheap/phpunit-github-actions-printer": "^1.4", + "phpunit/phpunit": "^8.5", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.4" + }, + "bin": [ + "bin/mozart" + ], + "type": "library", + "autoload": { + "psr-4": { + "CoenJacobs\\Mozart\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Coen Jacobs", + "email": "coenjacobs@gmail.com" + } + ], + "description": "Composes all dependencies as a package inside a WordPress plugin", + "support": { + "issues": "https://github.com/coenjacobs/mozart/issues", + "source": "https://github.com/coenjacobs/mozart/tree/0.7.1" + }, + "funding": [ + { + "url": "https://github.com/coenjacobs", + "type": "github" + } + ], + "time": "2021-02-02T21:37:03+00:00" + }, + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v0.7.2", + "source": { + "type": "git", + "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" + }, + "type": "composer-plugin", + "extra": { + "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2022-02-04T12:51:07+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "league/container", + "version": "3.4.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/container.git", + "reference": "84ecbc2dbecc31bd23faf759a0e329ee49abddbd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/container/zipball/84ecbc2dbecc31bd23faf759a0e329ee49abddbd", + "reference": "84ecbc2dbecc31bd23faf759a0e329ee49abddbd", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/container": "^1.0.0" + }, + "provide": { + "psr/container-implementation": "^1.0" + }, + "replace": { + "orno/di": "~2.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0 || ^7.0", + "roave/security-advisories": "dev-latest", + "scrutinizer/ocular": "^1.8", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev", + "dev-3.x": "3.x-dev", + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Container\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Phil Bennett", + "email": "philipobenito@gmail.com", + "homepage": "http://www.philipobenito.com", + "role": "Developer" + } + ], + "description": "A fast and intuitive dependency injection container.", + "homepage": "https://github.com/thephpleague/container", + "keywords": [ + "container", + "dependency", + "di", + "injection", + "league", + "provider", + "service" + ], + "support": { + "issues": "https://github.com/thephpleague/container/issues", + "source": "https://github.com/thephpleague/container/tree/3.4.1" + }, + "funding": [ + { + "url": "https://github.com/philipobenito", + "type": "github" + } + ], + "time": "2021-07-09T08:23:52+00:00" + }, + { + "name": "league/flysystem", + "version": "1.1.10", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3239285c825c152bcc315fe0e87d6b55f5972ed1", + "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/mime-type-detection": "^1.3", + "php": "^7.2.5 || ^8.0" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/prophecy": "^1.11.1", + "phpunit/phpunit": "^8.5.8" + }, + "suggest": { + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/1.1.10" + }, + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2022-10-04T09:16:37+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.14.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2023-10-17T14:13:20+00:00" + }, + { + "name": "mikey179/vfsstream", + "version": "v1.6.11", + "source": { + "type": "git", + "url": "https://github.com/bovigo/vfsStream.git", + "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", + "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.5|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-0": { + "org\\bovigo\\vfs\\": "src/main/php" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Frank Kleine", + "homepage": "http://frankkleine.de/", + "role": "Developer" + } + ], + "description": "Virtual file system to mock the real file system in unit tests.", + "homepage": "http://vfs.bovigo.org/", + "support": { + "issues": "https://github.com/bovigo/vfsStream/issues", + "source": "https://github.com/bovigo/vfsStream/tree/master", + "wiki": "https://github.com/bovigo/vfsStream/wiki" + }, + "time": "2022-02-23T02:02:42+00:00" + }, + { + "name": "mnsami/composer-custom-directory-installer", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/mnsami/composer-custom-directory-installer.git", + "reference": "85f66323978d0b1cb0e6acc7f69b3e7b912f82d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mnsami/composer-custom-directory-installer/zipball/85f66323978d0b1cb0e6acc7f69b3e7b912f82d9", + "reference": "85f66323978d0b1cb0e6acc7f69b3e7b912f82d9", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3" + }, + "type": "composer-plugin", + "extra": { + "class": [ + "Composer\\CustomDirectoryInstaller\\LibraryPlugin", + "Composer\\CustomDirectoryInstaller\\PearPlugin", + "Composer\\CustomDirectoryInstaller\\PluginPlugin" + ], + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-0": { + "Composer\\CustomDirectoryInstaller": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mina Nabil Sami", + "email": "mina.nsami@gmail.com" + } + ], + "description": "A composer plugin, to help install packages of different types in custom paths.", + "keywords": [ + "composer", + "composer-installer", + "composer-plugin" + ], + "support": { + "issues": "https://github.com/mnsami/composer-custom-directory-installer/issues", + "source": "https://github.com/mnsami/composer-custom-directory-installer/tree/2.0.0" + }, + "time": "2020-08-18T11:00:11+00:00" + }, + { + "name": "mobiledetect/mobiledetectlib", + "version": "2.8.41", + "source": { + "type": "git", + "url": "https://github.com/serbanghita/Mobile-Detect.git", + "reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", + "reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", + "shasum": "" + }, + "require": { + "php": ">=5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.35||~5.7" + }, + "type": "library", + "autoload": { + "psr-0": { + "Detection": "namespaced/" + }, + "classmap": [ + "Mobile_Detect.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Serban Ghita", + "email": "serbanghita@gmail.com", + "homepage": "http://mobiledetect.net", + "role": "Developer" + } + ], + "description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.", + "homepage": "https://github.com/serbanghita/Mobile-Detect", + "keywords": [ + "detect mobile devices", + "mobile", + "mobile detect", + "mobile detector", + "php mobile detect" + ], + "support": { + "issues": "https://github.com/serbanghita/Mobile-Detect/issues", + "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.41" + }, + "time": "2022-11-08T18:31:26+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.6", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/b8e0bb7d8c604046539c1115994632c74dcb361e", + "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.10", + "psalm/plugin-phpunit": "^0.18.4", + "symplify/easy-coding-standard": "^11.5.0", + "vimeo/psalm": "^4.30" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2023-08-09T00:03:52+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.17.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + }, + "time": "2023-08-13T19:53:39+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "php-stubs/wordpress-stubs", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/php-stubs/wordpress-stubs.git", + "reference": "f22b00cacd3b9addc2b07ff48290084503c48574" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/f22b00cacd3b9addc2b07ff48290084503c48574", + "reference": "f22b00cacd3b9addc2b07ff48290084503c48574", + "shasum": "" + }, + "require-dev": { + "nikic/php-parser": "^4.13", + "php": "^7.4 || ~8.0.0", + "php-stubs/generator": "^0.8.3", + "phpdocumentor/reflection-docblock": "^5.3", + "phpstan/phpstan": "^1.10.12", + "phpunit/phpunit": "^9.5" + }, + "suggest": { + "paragonie/sodium_compat": "Pure PHP implementation of libsodium", + "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WordPress function and class declaration stubs for static analysis.", + "homepage": "https://github.com/php-stubs/wordpress-stubs", + "keywords": [ + "PHPStan", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/php-stubs/wordpress-stubs/issues", + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.3.2" + }, + "time": "2023-10-14T10:08:05+00:00" + }, + { + "name": "phpcompatibility/php-compatibility", + "version": "9.3.5", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", + "shasum": "" + }, + "require": { + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" + }, + "conflict": { + "squizlabs/php_codesniffer": "2.6.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "homepage": "https://github.com/wimg", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" + } + ], + "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", + "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", + "keywords": [ + "compatibility", + "phpcs", + "standards" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, + "time": "2019-12-27T09:44:58+00:00" + }, + { + "name": "phpcompatibility/phpcompatibility-paragonie", + "version": "1.3.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "shasum": "" + }, + "require": { + "phpcompatibility/php-compatibility": "^9.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", + "paragonie/random_compat": "dev-master", + "paragonie/sodium_compat": "dev-master" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "lead" + } + ], + "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", + "homepage": "http://phpcompatibility.com/", + "keywords": [ + "compatibility", + "paragonie", + "phpcs", + "polyfill", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" + }, + "time": "2022-10-25T01:46:02+00:00" + }, + { + "name": "phpcompatibility/phpcompatibility-wp", + "version": "2.1.4", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "shasum": "" + }, + "require": { + "phpcompatibility/php-compatibility": "^9.0", + "phpcompatibility/phpcompatibility-paragonie": "^1.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "lead" + } + ], + "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.", + "homepage": "http://phpcompatibility.com/", + "keywords": [ + "compatibility", + "phpcs", + "standards", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" + }, + "time": "2022-10-24T09:00:36+00:00" + }, + { + "name": "phpcsstandards/phpcsextra", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.1" + }, + "require-dev": { + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "phpcsstandards/phpcsdevtools": "^1.2.1", + "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" + } + ], + "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", + "source": "https://github.com/PHPCSStandards/PHPCSExtra" + }, + "time": "2023-09-20T22:06:18+00:00" + }, + { + "name": "phpcsstandards/phpcsutils", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev" + }, + "require-dev": { + "ext-filter": "*", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "autoload": { + "classmap": [ + "PHPCSUtils/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" + } + ], + "description": "A suite of utility functions for use with PHP_CodeSniffer", + "homepage": "https://phpcsutils.com/", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "phpcs3", + "standards", + "static analysis", + "tokens", + "utility" + ], + "support": { + "docs": "https://phpcsutils.com/", + "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", + "source": "https://github.com/PHPCSStandards/PHPCSUtils" + }, + "time": "2023-07-16T21:39:41+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "1.10.39", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-10-17T15:46:26+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.29", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.15", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-09-19T04:57:46+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.6.13", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1 || ^2", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.28", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.6-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-09-19T05:39:22+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/log", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" + }, + { + "name": "roave/security-advisories", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/Roave/SecurityAdvisories.git", + "reference": "66671a636e514920046c1028f8c837c1d5a54873" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/66671a636e514920046c1028f8c837c1d5a54873", + "reference": "66671a636e514920046c1028f8c837c1d5a54873", + "shasum": "" + }, + "conflict": { + "3f/pygmentize": "<1.2", + "admidio/admidio": "<4.2.11", + "adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3", + "aheinze/cockpit": "<2.2", + "aimeos/aimeos-typo3": "<19.10.12|>=20,<20.10.5", + "akaunting/akaunting": "<2.1.13", + "akeneo/pim-community-dev": "<5.0.119|>=6,<6.0.53", + "alextselegidis/easyappointments": "<1.5", + "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", + "amazing/media2click": ">=1,<1.3.3", + "amphp/artax": "<1.0.6|>=2,<2.0.6", + "amphp/http": "<1.0.1", + "amphp/http-client": ">=4,<4.4", + "anchorcms/anchor-cms": "<=0.12.7", + "andreapollastri/cipi": "<=3.1.15", + "andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<1.0.2|>=2,<2.2.5", + "apache-solr-for-typo3/solr": "<2.8.3", + "apereo/phpcas": "<1.6", + "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3", + "appwrite/server-ce": "<=1.2.1", + "arc/web": "<3", + "area17/twill": "<1.2.5|>=2,<2.5.3", + "artesaos/seotools": "<0.17.2", + "asymmetricrypt/asymmetricrypt": "<9.9.99", + "athlon1600/php-proxy": "<=5.1", + "athlon1600/php-proxy-app": "<=3", + "austintoddj/canvas": "<=3.4.2", + "automad/automad": "<1.8", + "awesome-support/awesome-support": "<=6.0.7", + "aws/aws-sdk-php": ">=3,<3.2.1", + "azuracast/azuracast": "<0.18.3", + "backdrop/backdrop": "<1.24.2", + "backpack/crud": "<3.4.9", + "bacula-web/bacula-web": "<8.0.0.0-RC2-dev", + "badaso/core": "<2.7", + "bagisto/bagisto": "<0.1.5", + "barrelstrength/sprout-base-email": "<1.2.7", + "barrelstrength/sprout-forms": "<3.9", + "barryvdh/laravel-translation-manager": "<0.6.2", + "barzahlen/barzahlen-php": "<2.0.1", + "baserproject/basercms": "<4.7.5", + "bassjobsen/bootstrap-3-typeahead": ">4.0.2", + "bigfork/silverstripe-form-capture": ">=3,<3.1.1", + "billz/raspap-webgui": "<=2.9.2", + "bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3", + "bmarshall511/wordpress_zero_spam": "<5.2.13", + "bolt/bolt": "<3.7.2", + "bolt/core": "<=4.2", + "bottelet/flarepoint": "<2.2.1", + "brightlocal/phpwhois": "<=4.2.5", + "brotkrueml/codehighlight": "<2.7", + "brotkrueml/schema": "<1.13.1|>=2,<2.5.1", + "brotkrueml/typo3-matomo-integration": "<1.3.2", + "buddypress/buddypress": "<7.2.1", + "bugsnag/bugsnag-laravel": "<2.0.2", + "bytefury/crater": "<6.0.2", + "cachethq/cachet": "<2.5.1", + "cakephp/cakephp": "<3.10.3|>=4,<4.0.10|>=4.1,<4.1.4|>=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10", + "cakephp/database": ">=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10", + "cardgate/magento2": "<2.0.33", + "cardgate/woocommerce": "<=3.1.15", + "cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4", + "cartalyst/sentry": "<=2.1.6", + "catfan/medoo": "<1.7.5", + "cecil/cecil": "<7.47.1", + "centreon/centreon": "<22.10.0.0-beta1", + "cesnet/simplesamlphp-module-proxystatistics": "<3.1", + "chriskacerguis/codeigniter-restserver": "<=2.7.1", + "civicrm/civicrm-core": ">=4.2,<4.2.9|>=4.3,<4.3.3", + "cockpit-hq/cockpit": "<=2.6.3", + "codeception/codeception": "<3.1.3|>=4,<4.1.22", + "codeigniter/framework": "<3.1.9", + "codeigniter4/framework": "<4.3.5", + "codeigniter4/shield": "<1.0.0.0-beta4", + "codiad/codiad": "<=2.8.4", + "composer/composer": "<1.10.27|>=2,<2.2.22|>=2.3,<2.6.4", + "concrete5/concrete5": "<=9.2.1", + "concrete5/core": "<8.5.8|>=9,<9.1", + "contao-components/mediaelement": ">=2.14.2,<2.21.1", + "contao/contao": ">=4,<4.4.56|>=4.5,<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4", + "contao/core": ">=2,<3.5.39", + "contao/core-bundle": "<4.9.42|>=4.10,<4.13.28|>=5,<5.1.10", + "contao/listing-bundle": ">=4,<4.4.8", + "contao/managed-edition": "<=1.5", + "cosenary/instagram": "<=2.3", + "craftcms/cms": "<=4.4.14", + "croogo/croogo": "<4", + "cuyz/valinor": "<0.12", + "czproject/git-php": "<4.0.3", + "darylldoyle/safe-svg": "<1.9.10", + "datadog/dd-trace": ">=0.30,<0.30.2", + "datatables/datatables": "<1.10.10", + "david-garcia/phpwhois": "<=4.3.1", + "dbrisinajumi/d2files": "<1", + "dcat/laravel-admin": "<=2.1.3.0-beta", + "derhansen/fe_change_pwd": "<2.0.5|>=3,<3.0.3", + "derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1", + "desperado/xml-bundle": "<=0.1.7", + "directmailteam/direct-mail": "<5.2.4", + "doctrine/annotations": "<1.2.7", + "doctrine/cache": "<1.3.2|>=1.4,<1.4.2", + "doctrine/common": "<2.4.3|>=2.5,<2.5.1", + "doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2|>=3,<3.1.4", + "doctrine/doctrine-bundle": "<1.5.2", + "doctrine/doctrine-module": "<=0.7.1", + "doctrine/mongodb-odm": "<1.0.2", + "doctrine/mongodb-odm-bundle": "<3.0.1", + "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4", + "dolibarr/dolibarr": "<18", + "dompdf/dompdf": "<2.0.2|==2.0.2", + "drupal/core": "<9.4.14|>=9.5,<9.5.8|>=10,<10.0.8", + "drupal/drupal": ">=6,<6.38|>=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4", + "dweeves/magmi": "<=0.7.24", + "ecodev/newsletter": "<=4", + "ectouch/ectouch": "<=2.7.2", + "elefant/cms": "<2.0.7", + "elgg/elgg": "<3.3.24|>=4,<4.0.5", + "encore/laravel-admin": "<=1.8.19", + "endroid/qr-code-bundle": "<3.4.2", + "enshrined/svg-sanitize": "<0.15", + "erusev/parsedown": "<1.7.2", + "ether/logs": "<3.0.4", + "evolutioncms/evolution": "<=3.2.3", + "exceedone/exment": "<4.4.3|>=5,<5.0.3", + "exceedone/laravel-admin": "<2.2.3|==3", + "ezsystems/demobundle": ">=5.4,<5.4.6.1-dev", + "ezsystems/ez-support-tools": ">=2.2,<2.2.3", + "ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1-dev", + "ezsystems/ezfind-ls": ">=5.3,<5.3.6.1-dev|>=5.4,<5.4.11.1-dev|>=2017.12,<2017.12.0.1-dev", + "ezsystems/ezplatform": "<=1.13.6|>=2,<=2.5.24", + "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26", + "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", + "ezsystems/ezplatform-graphql": ">=1.0.0.0-RC1-dev,<1.0.13|>=2.0.0.0-beta1,<2.3.12", + "ezsystems/ezplatform-kernel": "<1.2.5.1-dev|>=1.3,<1.3.26", + "ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8", + "ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev", + "ezsystems/ezplatform-user": ">=1,<1.0.1", + "ezsystems/ezpublish-kernel": "<6.13.8.2-dev|>=7,<7.5.30", + "ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.06,<=2019.03.5.1", + "ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3", + "ezsystems/repository-forms": ">=2.3,<2.3.2.1-dev|>=2.5,<2.5.15", + "ezyang/htmlpurifier": "<4.1.1", + "facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2", + "facturascripts/facturascripts": "<=2022.08", + "feehi/cms": "<=2.1.1", + "feehi/feehicms": "<=2.1.1", + "fenom/fenom": "<=2.12.1", + "filegator/filegator": "<7.8", + "firebase/php-jwt": "<6", + "fixpunkt/fp-masterquiz": "<2.2.1|>=3,<3.5.2", + "fixpunkt/fp-newsletter": "<1.1.1|>=2,<2.1.2|>=2.2,<3.2.6", + "flarum/core": "<1.8", + "flarum/framework": "<1.8", + "flarum/mentions": "<1.6.3", + "flarum/sticky": ">=0.1.0.0-beta14,<=0.1.0.0-beta15", + "flarum/tags": "<=0.1.0.0-beta13", + "fluidtypo3/vhs": "<5.1.1", + "fof/byobu": ">=0.3.0.0-beta2,<1.1.7", + "fof/upload": "<1.2.3", + "fooman/tcpdf": "<6.2.22", + "forkcms/forkcms": "<5.11.1", + "fossar/tcpdf-parser": "<6.2.22", + "francoisjacquet/rosariosis": "<11", + "frappant/frp-form-answers": "<3.1.2|>=4,<4.0.2", + "friendsofsymfony/oauth2-php": "<1.3", + "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", + "friendsofsymfony/user-bundle": ">=1.2,<1.3.5", + "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", + "friendsoftypo3/openid": ">=4.5,<4.5.31|>=4.7,<4.7.16|>=6,<6.0.11|>=6.1,<6.1.6", + "froala/wysiwyg-editor": "<3.2.7|>=4.0.1,<=4.1.1", + "froxlor/froxlor": "<2.1", + "fuel/core": "<1.8.1", + "funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3", + "gaoming13/wechat-php-sdk": "<=1.10.2", + "genix/cms": "<=1.1.11", + "getgrav/grav": "<=1.7.42.1", + "getkirby/cms": "<3.5.8.3-dev|>=3.6,<3.6.6.3-dev|>=3.7,<3.7.5.2-dev|>=3.8,<3.8.4.1-dev|>=3.9,<3.9.6", + "getkirby/kirby": "<=2.5.12", + "getkirby/panel": "<2.5.14", + "getkirby/starterkit": "<=3.7.0.2", + "gilacms/gila": "<=1.11.4", + "gleez/cms": "<=1.2|==2", + "globalpayments/php-sdk": "<2", + "gogentooss/samlbase": "<1.2.7", + "google/protobuf": "<3.15", + "gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3", + "gree/jose": "<2.2.1", + "gregwar/rst": "<1.0.3", + "grumpydictator/firefly-iii": "<6", + "gugoan/economizzer": "<=0.9.0.0-beta1", + "guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5", + "guzzlehttp/psr7": "<1.9.1|>=2,<2.4.5", + "haffner/jh_captcha": "<=2.1.3|>=3,<=3.0.2", + "harvesthq/chosen": "<1.8.7", + "helloxz/imgurl": "<=2.31", + "hhxsv5/laravel-s": "<3.7.36", + "hillelcoren/invoice-ninja": "<5.3.35", + "himiklab/yii2-jqgrid-widget": "<1.0.8", + "hjue/justwriting": "<=1", + "hov/jobfair": "<1.0.13|>=2,<2.0.2", + "httpsoft/http-message": "<1.0.12", + "hyn/multi-tenant": ">=5.6,<5.7.2", + "ibexa/admin-ui": ">=4.2,<4.2.3", + "ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3", + "ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3", + "ibexa/post-install": "<=1.0.4", + "ibexa/user": ">=4,<4.4.3", + "icecoder/icecoder": "<=8.1", + "idno/known": "<=1.3.1", + "illuminate/auth": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.10", + "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.99999|>=4.2,<=4.2.99999|>=5,<=5.0.99999|>=5.1,<=5.1.99999|>=5.2,<=5.2.99999|>=5.3,<=5.3.99999|>=5.4,<=5.4.99999|>=5.5,<=5.5.49|>=5.6,<=5.6.99999|>=5.7,<=5.7.99999|>=5.8,<=5.8.99999|>=6,<6.18.31|>=7,<7.22.4", + "illuminate/database": "<6.20.26|>=7,<7.30.5|>=8,<8.40", + "illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15", + "illuminate/view": "<6.20.42|>=7,<7.30.6|>=8,<8.75", + "impresscms/impresscms": "<=1.4.5", + "in2code/femanager": "<5.5.3|>=6,<6.3.4|>=7,<7.2.2", + "in2code/ipandlanguageredirect": "<5.1.2", + "in2code/lux": "<17.6.1|>=18,<24.0.2", + "innologi/typo3-appointments": "<2.0.6", + "intelliants/subrion": "<4.2.2", + "islandora/islandora": ">=2,<2.4.1", + "ivankristianto/phpwhois": "<=4.3", + "jackalope/jackalope-doctrine-dbal": "<1.7.4", + "james-heinrich/getid3": "<1.9.21", + "james-heinrich/phpthumb": "<1.7.12", + "jasig/phpcas": "<1.3.3", + "jcbrand/converse.js": "<3.3.3", + "joomla/application": "<1.0.13", + "joomla/archive": "<1.1.12|>=2,<2.0.1", + "joomla/filesystem": "<1.6.2|>=2,<2.0.1", + "joomla/filter": "<1.4.4|>=2,<2.0.1", + "joomla/framework": ">=2.5.4,<=3.8.12", + "joomla/input": ">=2,<2.0.2", + "joomla/joomla-cms": ">=2.5,<3.9.12", + "joomla/session": "<1.3.1", + "joyqi/hyper-down": "<=2.4.27", + "jsdecena/laracom": "<2.0.9", + "jsmitty12/phpwhois": "<5.1", + "kazist/phpwhois": "<=4.2.6", + "kelvinmo/simplexrd": "<3.1.1", + "kevinpapst/kimai2": "<1.16.7", + "khodakhah/nodcms": "<=3", + "kimai/kimai": "<1.1", + "kitodo/presentation": "<3.2.3|>=3.3,<3.3.4", + "klaviyo/magento2-extension": ">=1,<3", + "knplabs/knp-snappy": "<=1.4.2", + "kohana/core": "<3.3.3", + "krayin/laravel-crm": "<1.2.2", + "kreait/firebase-php": ">=3.2,<3.8.1", + "la-haute-societe/tcpdf": "<6.2.22", + "laminas/laminas-diactoros": "<2.18.1|==2.19|==2.20|==2.21|==2.22|==2.23|>=2.24,<2.24.2|>=2.25,<2.25.2", + "laminas/laminas-form": "<2.17.1|>=3,<3.0.2|>=3.1,<3.1.1", + "laminas/laminas-http": "<2.14.2", + "laravel/fortify": "<1.11.1", + "laravel/framework": "<6.20.44|>=7,<7.30.6|>=8,<8.75", + "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", + "latte/latte": "<2.10.8", + "lavalite/cms": "<=9", + "lcobucci/jwt": ">=3.4,<3.4.6|>=4,<4.0.4|>=4.1,<4.1.5", + "league/commonmark": "<0.18.3", + "league/flysystem": "<1.1.4|>=2,<2.1.1", + "league/oauth2-server": ">=8.3.2,<8.4.2|>=8.5,<8.5.3", + "lexik/jwt-authentication-bundle": "<2.10.7|>=2.11,<2.11.3", + "librenms/librenms": "<2017.08.18", + "liftkit/database": "<2.13.2", + "limesurvey/limesurvey": "<3.27.19", + "livehelperchat/livehelperchat": "<=3.91", + "livewire/livewire": ">2.2.4,<2.2.6", + "lms/routes": "<2.1.1", + "localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2", + "luyadev/yii-helpers": "<1.2.1", + "magento/community-edition": "<=2.4", + "magento/magento1ce": "<1.9.4.3-dev", + "magento/magento1ee": ">=1,<1.14.4.3-dev", + "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2.0-patch2", + "maikuolan/phpmussel": ">=1,<1.6", + "mantisbt/mantisbt": "<=2.25.7", + "marcwillmann/turn": "<0.3.3", + "matyhtf/framework": "<3.0.6", + "mautic/core": "<4.3", + "mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35", + "mediawiki/matomo": "<2.4.3", + "melisplatform/melis-asset-manager": "<5.0.1", + "melisplatform/melis-cms": "<5.0.1", + "melisplatform/melis-front": "<5.0.1", + "mezzio/mezzio-swoole": "<3.7|>=4,<4.3", + "mgallegos/laravel-jqgrid": "<=1.3", + "microweber/microweber": "<=1.3.4", + "miniorange/miniorange-saml": "<1.4.3", + "mittwald/typo3_forum": "<1.2.1", + "mobiledetect/mobiledetectlib": "<2.8.32", + "modx/revolution": "<=2.8.3.0-patch", + "mojo42/jirafeau": "<4.4", + "mongodb/mongodb": ">=1,<1.9.2", + "monolog/monolog": ">=1.8,<1.12", + "moodle/moodle": "<4.2.0.0-RC2-dev|==4.2", + "mos/cimage": "<0.7.19", + "movim/moxl": ">=0.8,<=0.10", + "mpdf/mpdf": "<=7.1.7", + "mustache/mustache": ">=2,<2.14.1", + "namshi/jose": "<2.2", + "neoan3-apps/template": "<1.1.1", + "neorazorx/facturascripts": "<2022.04", + "neos/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6", + "neos/form": ">=1.2,<4.3.3|>=5,<5.0.9|>=5.1,<5.1.3", + "neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.9.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<5.3.10|>=7,<7.0.9|>=7.1,<7.1.7|>=7.2,<7.2.6|>=7.3,<7.3.4|>=8,<8.0.2", + "neos/neos-ui": "<=8.3.3", + "neos/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5", + "netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15", + "nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6", + "nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13", + "nilsteampassnet/teampass": "<3.0.10", + "nonfiction/nterchange": "<4.1.1", + "notrinos/notrinos-erp": "<=0.7", + "noumo/easyii": "<=0.9", + "nukeviet/nukeviet": "<4.5.02", + "nyholm/psr7": "<1.6.1", + "nystudio107/craft-seomatic": "<3.4.12", + "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", + "october/backend": "<1.1.2", + "october/cms": "<1.0.469|==1.0.469|==1.0.471|==1.1.1", + "october/october": "<=3.4.4", + "october/rain": "<1.0.472|>=1.1,<1.1.2", + "october/system": "<1.0.476|>=1.1,<1.1.12|>=2,<2.2.34|>=3,<3.0.66", + "omeka/omeka-s": "<4.0.3", + "onelogin/php-saml": "<2.10.4", + "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", + "open-web-analytics/open-web-analytics": "<1.7.4", + "opencart/opencart": "<=3.0.3.7|>=4,<4.0.2.3-dev", + "openid/php-openid": "<2.3", + "openmage/magento-lts": "<=19.5|>=20,<=20.1", + "opensource-workshop/connect-cms": "<1.7.2|>=2,<2.3.2", + "orchid/platform": ">=9,<9.4.4|>=14.0.0.0-alpha4,<14.5", + "oro/commerce": ">=4.1,<5.0.11|>=5.1,<5.1.1", + "oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7", + "oro/platform": ">=1.7,<1.7.4|>=3.1,<3.1.29|>=4.1,<4.1.17|>=4.2,<4.2.8", + "oxid-esales/oxideshop-ce": "<4.5", + "packbackbooks/lti-1-3-php-library": "<5", + "padraic/humbug_get_contents": "<1.1.2", + "pagarme/pagarme-php": "<3", + "pagekit/pagekit": "<=1.0.18", + "paragonie/random_compat": "<2", + "passbolt/passbolt_api": "<2.11", + "paypal/merchant-sdk-php": "<3.12", + "pear/archive_tar": "<1.4.14", + "pear/crypt_gpg": "<1.6.7", + "pear/pear": "<=1.10.1", + "pegasus/google-for-jobs": "<1.5.1|>=2,<2.1.1", + "personnummer/personnummer": "<3.0.2", + "phanan/koel": "<5.1.4", + "php-mod/curl": "<2.3.2", + "phpbb/phpbb": "<3.2.10|>=3.3,<3.3.1", + "phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7", + "phpmailer/phpmailer": "<6.5", + "phpmussel/phpmussel": ">=1,<1.6", + "phpmyadmin/phpmyadmin": "<5.2.1", + "phpmyfaq/phpmyfaq": "<=3.1.7", + "phpoffice/phpexcel": "<1.8", + "phpoffice/phpspreadsheet": "<1.16", + "phpseclib/phpseclib": "<2.0.31|>=3,<3.0.19", + "phpservermon/phpservermon": "<3.6", + "phpsysinfo/phpsysinfo": "<3.2.5", + "phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3", + "phpwhois/phpwhois": "<=4.2.5", + "phpxmlrpc/extras": "<0.6.1", + "phpxmlrpc/phpxmlrpc": "<4.9.2", + "pi/pi": "<=2.5", + "pimcore/admin-ui-classic-bundle": "<1.1.2", + "pimcore/customer-management-framework-bundle": "<3.4.2", + "pimcore/data-hub": "<1.2.4", + "pimcore/demo": "<10.3", + "pimcore/perspective-editor": "<1.5.1", + "pimcore/pimcore": "<10.6.8", + "pixelfed/pixelfed": "<=0.11.4", + "pocketmine/bedrock-protocol": "<8.0.2", + "pocketmine/pocketmine-mp": "<=4.23|>=5,<5.3.1", + "pressbooks/pressbooks": "<5.18", + "prestashop/autoupgrade": ">=4,<4.10.1", + "prestashop/blockwishlist": ">=2,<2.1.1", + "prestashop/contactform": ">=1.0.1,<4.3", + "prestashop/gamification": "<2.3.2", + "prestashop/prestashop": "<8.1.2", + "prestashop/productcomments": "<5.0.2", + "prestashop/ps_emailsubscription": "<2.6.1", + "prestashop/ps_facetedsearch": "<3.4.1", + "prestashop/ps_linklist": "<3.1", + "privatebin/privatebin": "<1.4", + "processwire/processwire": "<=3.0.200", + "propel/propel": ">=2.0.0.0-alpha1,<=2.0.0.0-alpha7", + "propel/propel1": ">=1,<=1.7.1", + "pterodactyl/panel": "<1.7", + "ptheofan/yii2-statemachine": ">=2.0.0.0-RC1-dev,<=2", + "ptrofimov/beanstalk_console": "<1.7.14", + "pusher/pusher-php-server": "<2.2.1", + "pwweb/laravel-core": "<=0.3.6.0-beta", + "pyrocms/pyrocms": "<=3.9.1", + "rainlab/blog-plugin": "<1.4.1", + "rainlab/debugbar-plugin": "<3.1", + "rainlab/user-plugin": "<=1.4.5", + "rankmath/seo-by-rank-math": "<=1.0.95", + "rap2hpoutre/laravel-log-viewer": "<0.13", + "react/http": ">=0.7,<1.9", + "really-simple-plugins/complianz-gdpr": "<6.4.2", + "remdex/livehelperchat": "<3.99", + "rmccue/requests": ">=1.6,<1.8", + "robrichards/xmlseclibs": "<3.0.4", + "roots/soil": "<4.1", + "rudloff/alltube": "<3.0.3", + "s-cart/core": "<6.9", + "s-cart/s-cart": "<6.9", + "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", + "sabre/dav": "<1.7.11|>=1.8,<1.8.9", + "scheb/two-factor-bundle": "<3.26|>=4,<4.11", + "sensiolabs/connect": "<4.2.3", + "serluck/phpwhois": "<=4.2.6", + "sfroemken/url_redirect": "<=1.2.1", + "sheng/yiicms": "<=1.2", + "shopware/core": "<=6.4.20", + "shopware/platform": "<=6.4.20", + "shopware/production": "<=6.3.5.2", + "shopware/shopware": "<=5.7.17", + "shopware/storefront": "<=6.4.8.1", + "shopxo/shopxo": "<2.2.6", + "showdoc/showdoc": "<2.10.4", + "silverstripe-australia/advancedreports": ">=1,<=2", + "silverstripe/admin": "<1.13.6", + "silverstripe/assets": ">=1,<1.11.1", + "silverstripe/cms": "<4.11.3", + "silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1", + "silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3", + "silverstripe/framework": "<4.13.14|>=5,<5.0.13", + "silverstripe/graphql": "<3.8.2|>=4,<4.1.3|>=4.2,<4.2.5|>=4.3,<4.3.4|>=5,<5.0.3", + "silverstripe/hybridsessions": ">=1,<2.4.1|>=2.5,<2.5.1", + "silverstripe/recipe-cms": ">=4.5,<4.5.3", + "silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1", + "silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4", + "silverstripe/silverstripe-omnipay": "<2.5.2|>=3,<3.0.2|>=3.1,<3.1.4|>=3.2,<3.2.1", + "silverstripe/subsites": ">=2,<2.6.1", + "silverstripe/taxonomy": ">=1.3,<1.3.1|>=2,<2.0.1", + "silverstripe/userforms": "<3", + "silverstripe/versioned-admin": ">=1,<1.11.1", + "simple-updates/phpwhois": "<=1", + "simplesamlphp/saml2": "<1.15.4|>=2,<2.3.8|>=3,<3.1.4", + "simplesamlphp/simplesamlphp": "<1.18.6", + "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", + "simplesamlphp/simplesamlphp-module-openid": "<1", + "simplesamlphp/simplesamlphp-module-openidprovider": "<0.9", + "simplito/elliptic-php": "<1.0.6", + "sitegeist/fluid-components": "<3.5", + "sjbr/sr-freecap": "<2.4.6|>=2.5,<2.5.3", + "slim/psr7": "<1.4.1|>=1.5,<1.5.1|>=1.6,<1.6.1", + "slim/slim": "<2.6", + "slub/slub-events": "<3.0.3", + "smarty/smarty": "<3.1.48|>=4,<4.3.1", + "snipe/snipe-it": "<=6.2.2", + "socalnick/scn-social-auth": "<1.15.2", + "socialiteproviders/steam": "<1.1", + "spatie/browsershot": "<3.57.4", + "spipu/html2pdf": "<5.2.8", + "spoon/library": "<1.4.1", + "spoonity/tcpdf": "<6.2.22", + "squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1", + "ssddanbrown/bookstack": "<22.02.3", + "statamic/cms": "<4.10", + "stormpath/sdk": "<9.9.99", + "studio-42/elfinder": "<2.1.62", + "subhh/libconnect": "<7.0.8|>=8,<8.1", + "sukohi/surpass": "<1", + "sulu/sulu": "<1.6.44|>=2,<2.2.18|>=2.3,<2.3.8|==2.4.0.0-RC1|>=2.5,<2.5.10", + "sumocoders/framework-user-bundle": "<1.4", + "swag/paypal": "<5.4.4", + "swiftmailer/swiftmailer": ">=4,<5.4.5", + "sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", + "sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", + "sylius/grid-bundle": "<1.10.1", + "sylius/paypal-plugin": ">=1,<1.2.4|>=1.3,<1.3.1", + "sylius/resource-bundle": "<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4", + "sylius/sylius": "<1.9.10|>=1.10,<1.10.11|>=1.11,<1.11.2", + "symbiote/silverstripe-multivaluefield": ">=3,<3.0.99", + "symbiote/silverstripe-queuedjobs": ">=3,<3.0.2|>=3.1,<3.1.4|>=4,<4.0.7|>=4.1,<4.1.2|>=4.2,<4.2.4|>=4.3,<4.3.3|>=4.4,<4.4.3|>=4.5,<4.5.1|>=4.6,<4.6.4", + "symbiote/silverstripe-seed": "<6.0.3", + "symbiote/silverstripe-versionedfiles": "<=2.0.3", + "symfont/process": ">=0", + "symfony/cache": ">=3.1,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8", + "symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4", + "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", + "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<=5.3.14|>=5.4.3,<=5.4.3|>=6.0.3,<=6.0.3", + "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", + "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", + "symfony/maker-bundle": ">=1.27,<1.29.2|>=1.30,<1.31.1", + "symfony/mime": ">=4.3,<4.3.8", + "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/polyfill": ">=1,<1.10", + "symfony/polyfill-php55": ">=1,<1.10", + "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/routing": ">=2,<2.0.19", + "symfony/security": ">=2,<2.7.51|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.8", + "symfony/security-bundle": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", + "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9", + "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", + "symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2", + "symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12", + "symfony/symfony": "<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", + "symfony/translation": ">=2,<2.0.17", + "symfony/ux-autocomplete": "<2.11.2", + "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", + "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", + "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", + "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", + "t3/dce": "<0.11.5|>=2.2,<2.6.2", + "t3g/svg-sanitizer": "<1.0.3", + "tastyigniter/tastyigniter": "<3.3", + "tcg/voyager": "<=1.4", + "tecnickcom/tcpdf": "<6.2.22", + "terminal42/contao-tablelookupwizard": "<3.3.5", + "thelia/backoffice-default-template": ">=2.1,<2.1.2", + "thelia/thelia": ">=2.1,<2.1.3", + "theonedemon/phpwhois": "<=4.2.5", + "thinkcmf/thinkcmf": "<=5.1.7", + "thorsten/phpmyfaq": "<3.2.0.0-beta2", + "tikiwiki/tiki-manager": "<=17.1", + "tinymce/tinymce": "<5.10.8|>=6,<6.7.1", + "tinymighty/wiki-seo": "<1.2.2", + "titon/framework": "<9.9.99", + "tobiasbg/tablepress": "<=2.0.0.0-RC1", + "topthink/framework": "<6.0.14", + "topthink/think": "<=6.1.1", + "topthink/thinkphp": "<=3.2.3", + "tpwd/ke_search": "<4.0.3|>=4.1,<4.6.6|>=5,<5.0.2", + "tribalsystems/zenario": "<=9.4.59197", + "truckersmp/phpwhois": "<=4.3.1", + "ttskch/pagination-service-provider": "<1", + "twig/twig": "<1.44.7|>=2,<2.15.3|>=3,<3.4.3", + "typo3/cms": "<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2", + "typo3/cms-backend": ">=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", + "typo3/cms-core": "<8.7.51|>=9,<9.5.42|>=10,<10.4.39|>=11,<11.5.30|>=12,<12.4.4", + "typo3/cms-extbase": "<6.2.24|>=7,<7.6.8|==8.1.1", + "typo3/cms-form": ">=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", + "typo3/cms-rte-ckeditor": ">=9.5,<9.5.42|>=10,<10.4.39|>=11,<11.5.30", + "typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6", + "typo3/html-sanitizer": ">=1,<1.5.1|>=2,<2.1.2", + "typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.3.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<3.3.23|>=4,<4.0.17|>=4.1,<4.1.16|>=4.2,<4.2.12|>=4.3,<4.3.3", + "typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1", + "typo3/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5", + "typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10", + "ua-parser/uap-php": "<3.8", + "uasoft-indonesia/badaso": "<=2.9.7", + "unisharp/laravel-filemanager": "<=2.5.1", + "userfrosting/userfrosting": ">=0.3.1,<4.6.3", + "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", + "uvdesk/community-skeleton": "<=1.1.1", + "vanilla/safecurl": "<0.9.2", + "verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4", + "vova07/yii2-fileapi-widget": "<0.1.9", + "vrana/adminer": "<4.8.1", + "waldhacker/hcaptcha": "<2.1.2", + "wallabag/tcpdf": "<6.2.22", + "wallabag/wallabag": "<2.6.7", + "wanglelecc/laracms": "<=1.0.3", + "web-auth/webauthn-framework": ">=3.3,<3.3.4", + "webbuilders-group/silverstripe-kapost-bridge": "<0.4", + "webcoast/deferred-image-processing": "<1.0.2", + "webklex/laravel-imap": "<5.3", + "webklex/php-imap": "<5.3", + "webpa/webpa": "<3.1.2", + "wikibase/wikibase": "<=1.39.3", + "wikimedia/parsoid": "<0.12.2", + "willdurand/js-translation-bundle": "<2.1.1", + "wintercms/winter": "<1.2.3", + "woocommerce/woocommerce": "<6.6", + "wp-cli/wp-cli": "<2.5", + "wp-graphql/wp-graphql": "<=1.14.5", + "wpanel/wpanel4-cms": "<=4.3.1", + "wpcloud/wp-stateless": "<3.2", + "wwbn/avideo": "<=12.4", + "xataface/xataface": "<3", + "xpressengine/xpressengine": "<3.0.15", + "yeswiki/yeswiki": "<4.1", + "yetiforce/yetiforce-crm": "<=6.4", + "yidashi/yii2cmf": "<=2", + "yii2mod/yii2-cms": "<1.9.2", + "yiisoft/yii": "<1.1.27", + "yiisoft/yii2": "<2.0.38", + "yiisoft/yii2-bootstrap": "<2.0.4", + "yiisoft/yii2-dev": "<2.0.43", + "yiisoft/yii2-elasticsearch": "<2.0.5", + "yiisoft/yii2-gii": "<=2.2.4", + "yiisoft/yii2-jui": "<2.0.4", + "yiisoft/yii2-redis": "<2.0.8", + "yikesinc/yikes-inc-easy-mailchimp-extender": "<6.8.6", + "yoast-seo-for-typo3/yoast_seo": "<7.2.3", + "yourls/yourls": "<=1.8.2", + "zencart/zencart": "<=1.5.7.0-beta", + "zendesk/zendesk_api_client_php": "<2.2.11", + "zendframework/zend-cache": "<2.4.8|>=2.5,<2.5.3", + "zendframework/zend-captcha": ">=2,<2.4.9|>=2.5,<2.5.2", + "zendframework/zend-crypt": ">=2,<2.4.9|>=2.5,<2.5.2", + "zendframework/zend-db": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.10|>=2.3,<2.3.5", + "zendframework/zend-developer-tools": ">=1.2.2,<1.2.3", + "zendframework/zend-diactoros": "<1.8.4", + "zendframework/zend-feed": "<2.10.3", + "zendframework/zend-form": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-http": "<2.8.1", + "zendframework/zend-json": ">=2.1,<2.1.6|>=2.2,<2.2.6", + "zendframework/zend-ldap": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.8|>=2.3,<2.3.3", + "zendframework/zend-mail": ">=2,<2.4.11|>=2.5,<2.7.2", + "zendframework/zend-navigation": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-session": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.9|>=2.3,<2.3.4", + "zendframework/zend-validator": ">=2.3,<2.3.6", + "zendframework/zend-view": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6", + "zendframework/zendframework": "<=3", + "zendframework/zendframework1": "<1.12.20", + "zendframework/zendopenid": "<2.0.2", + "zendframework/zendrest": "<2.0.2", + "zendframework/zendservice-amazon": "<2.0.3", + "zendframework/zendservice-api": "<1", + "zendframework/zendservice-audioscrobbler": "<2.0.2", + "zendframework/zendservice-nirvanix": "<2.0.2", + "zendframework/zendservice-slideshare": "<2.0.2", + "zendframework/zendservice-technorati": "<2.0.2", + "zendframework/zendservice-windowsazure": "<2.0.2", + "zendframework/zendxml": "<1.0.1", + "zenstruck/collection": "<0.2.1", + "zetacomponents/mail": "<1.8.2", + "zf-commons/zfc-user": "<1.2.2", + "zfcampus/zf-apigility-doctrine": "<1.0.3", + "zfr/zfr-oauth2-server-module": "<0.1.2", + "zoujingli/thinkadmin": "<6.0.22" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "role": "maintainer" + }, + { + "name": "Ilya Tribusean", + "email": "slash3b@gmail.com", + "role": "maintainer" + } + ], + "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", + "keywords": [ + "dev" + ], + "support": { + "issues": "https://github.com/Roave/SecurityAdvisories/issues", + "source": "https://github.com/Roave/SecurityAdvisories/tree/latest" + }, + "funding": [ + { + "url": "https://github.com/Ocramius", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/roave/security-advisories", + "type": "tidelift" + } + ], + "time": "2023-10-24T03:04:20+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bde739e7565280bda77be70044ac1047bc007e34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-02T09:26:13+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:13:03+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.7.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2023-02-22T23:07:41+00:00" + }, + { + "name": "symfony/console", + "version": "v5.4.28", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "f4f71842f24c2023b91237c72a365306f3c58827" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827", + "reference": "f4f71842f24c2023b91237c72a365306f3c58827", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.4.28" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-08-07T06:12:30+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/finder", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.4.27" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-31T08:02:31+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "875e90aeea2777b6f135677f618529449334a612" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-28T09:04:16+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/master" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-07T11:33:47+00:00" + }, + { + "name": "symfony/string", + "version": "v5.4.29", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "e41bdc93def20eaf3bfc1537c4e0a2b0680a152d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/e41bdc93def20eaf3bfc1537c4e0a2b0680a152d", + "reference": "e41bdc93def20eaf3bfc1537c4e0a2b0680a152d", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.4.29" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-13T11:47:41+00:00" + }, + { + "name": "szepeviktor/phpstan-wordpress", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/szepeviktor/phpstan-wordpress.git", + "reference": "b8516ed6bab7ec50aae981698ce3f67f1be2e45a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/b8516ed6bab7ec50aae981698ce3f67f1be2e45a", + "reference": "b8516ed6bab7ec50aae981698ce3f67f1be2e45a", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0", + "phpstan/phpstan": "^1.10.30", + "symfony/polyfill-php73": "^1.12.0" + }, + "require-dev": { + "composer/composer": "^2.1.14", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpstan/phpstan-strict-rules": "^1.2", + "phpunit/phpunit": "^8.0 || ^9.0", + "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.8" + }, + "suggest": { + "swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "SzepeViktor\\PHPStan\\WordPress\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WordPress extensions for PHPStan", + "keywords": [ + "PHPStan", + "code analyse", + "code analysis", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", + "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.2" + }, + "time": "2023-10-16T17:23:56+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "woocommerce/action-scheduler", + "version": "3.6.4", + "source": { + "type": "git", + "url": "https://github.com/woocommerce/action-scheduler.git", + "reference": "e7dafe215be5ef823392204535ee2e241f99a8cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/woocommerce/action-scheduler/zipball/e7dafe215be5ef823392204535ee2e241f99a8cb", + "reference": "e7dafe215be5ef823392204535ee2e241f99a8cb", + "shasum": "" + }, + "require-dev": { + "phpunit/phpunit": "^7.5", + "woocommerce/woocommerce-sniffs": "0.1.0", + "wp-cli/wp-cli": "~2.5.0", + "yoast/phpunit-polyfills": "^1.0" + }, + "type": "wordpress-plugin", + "extra": { + "scripts-description": { + "test": "Run unit tests", + "phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer", + "phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "description": "Action Scheduler for WordPress and WooCommerce", + "homepage": "https://actionscheduler.org/", + "support": { + "issues": "https://github.com/woocommerce/action-scheduler/issues", + "source": "https://github.com/woocommerce/action-scheduler/tree/3.6.4" + }, + "time": "2023-10-11T18:24:47+00:00" + }, + { + "name": "wp-coding-standards/wpcs", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", + "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b4caf9689f1a0e4a4c632679a44e638c1c67aff1", + "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "ext-libxml": "*", + "ext-tokenizer": "*", + "ext-xmlreader": "*", + "php": ">=5.4", + "phpcsstandards/phpcsextra": "^1.1.0", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.2" + }, + "require-dev": { + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcompatibility/php-compatibility": "^9.0", + "phpcsstandards/phpcsdevtools": "^1.2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "suggest": { + "ext-iconv": "For improved results", + "ext-mbstring": "For improved results" + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Contributors", + "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions", + "keywords": [ + "phpcs", + "standards", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", + "source": "https://github.com/WordPress/WordPress-Coding-Standards", + "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" + }, + "funding": [ + { + "url": "https://opencollective.com/thewpcc/contribute/wp-php-63406", + "type": "custom" + } + ], + "time": "2023-09-14T07:06:09+00:00" + }, + { + "name": "wp-media/background-processing", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/wp-media/background-processing.git", + "reference": "78ec685233f83ebaf1578f99bbf43c25ea7073d8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-media/background-processing/zipball/78ec685233f83ebaf1578f99bbf43c25ea7073d8", + "reference": "78ec685233f83ebaf1578f99bbf43c25ea7073d8", + "shasum": "" + }, + "require-dev": { + "brain/monkey": "^2.0", + "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", + "php": "^5.6 || ^7", + "phpcompatibility/phpcompatibility-wp": "^2.0", + "phpunit/phpunit": "^5.7 || ^7", + "wp-coding-standards/wpcs": "^2", + "wp-media/phpunit": "^1.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "description": "Async & Background Tasks Processing", + "homepage": "https://github.com/wp-media/background-processing", + "support": { + "issues": "https://github.com/wp-media/background-processing/issues", + "source": "https://github.com/wp-media/background-processing" + }, + "time": "2021-05-02T22:29:35+00:00" + }, + { + "name": "wp-media/monolog", + "version": "0.0.1", + "source": { + "type": "git", + "url": "https://github.com/wp-media/monolog.git", + "reference": "050fe27dc03f580a029a0858c2056dcf22704856" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-media/monolog/zipball/050fe27dc03f580a029a0858c2056dcf22704856", + "reference": "050fe27dc03f580a029a0858c2056dcf22704856", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpstan/phpstan": "^0.12.59", + "phpunit/phpunit": "~4.5", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "type": "library", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "source": "https://github.com/wp-media/monolog/tree/0.0.1" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2023-05-25T06:25:47+00:00" + }, + { + "name": "wp-media/phpunit", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/wp-media/phpunit.git", + "reference": "29a596a83c4d3893f63ea6ae21301bee8be41251" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-media/phpunit/zipball/29a596a83c4d3893f63ea6ae21301bee8be41251", + "reference": "29a596a83c4d3893f63ea6ae21301bee8be41251", + "shasum": "" + }, + "require": { + "mikey179/vfsstream": "^1.6", + "php": "^7 || ^8", + "yoast/wp-test-utils": "^1.0.0" + }, + "bin": [ + "wpmedia-phpunit" + ], + "type": "library", + "autoload": { + "psr-4": { + "WPMedia\\PHPUnit\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "description": "PHPUnit extender for bootstrapping unit and WordPress integration test suites.", + "homepage": "https://github.com/wp-media/phpunit", + "support": { + "issues": "https://github.com/wp-media/phpunit/issues", + "source": "https://github.com/wp-media/phpunit" + }, + "time": "2023-05-10T15:56:16+00:00" + }, + { + "name": "wp-media/rocket-lazyload-common", + "version": "v3.0.11", + "source": { + "type": "git", + "url": "https://github.com/wp-media/rocket-lazyload-common.git", + "reference": "df4369bdb0b8777bca7a7375e3d956c5794d844c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-media/rocket-lazyload-common/zipball/df4369bdb0b8777bca7a7375e3d956c5794d844c", + "reference": "df4369bdb0b8777bca7a7375e3d956c5794d844c", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "php": ">=7.0", + "phpcompatibility/phpcompatibility-wp": "^2.0", + "phpunit/phpunit": "^7.5 || ^8 || ^9", + "szepeviktor/phpstan-wordpress": "^0.7.0", + "wp-coding-standards/wpcs": "^2.0", + "wp-media/phpunit": "^3.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "RocketLazyload\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me" + } + ], + "description": "Common Code between WP Rocket and Lazyload by WP Rocket", + "support": { + "issues": "https://github.com/wp-media/rocket-lazyload-common/issues", + "source": "https://github.com/wp-media/rocket-lazyload-common" + }, + "time": "2023-04-20T06:44:58+00:00" + }, + { + "name": "wp-media/wp-imagify-partner", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/wp-media/wp-imagify-partner.git", + "reference": "c3412007b268a2793432f7d4fed31d2639ee2982" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-media/wp-imagify-partner/zipball/c3412007b268a2793432f7d4fed31d2639ee2982", + "reference": "c3412007b268a2793432f7d4fed31d2639ee2982", + "shasum": "" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "description": "A php class allowing WordPress plugin developers to promote Imagify through their own plugin", + "homepage": "https://github.com/wp-media/wp-imagify-partner", + "keywords": [ + "Imagify", + "wordpress" + ], + "support": { + "issues": "https://github.com/wp-media/wp-imagify-partner/issues", + "source": "https://github.com/wp-media/wp-imagify-partner" + }, + "time": "2020-01-22T22:22:41+00:00" + }, + { + "name": "wpackagist-plugin/amp", + "version": "1.5.5", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/amp/", + "reference": "tags/1.5.5" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/amp.1.5.5.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/amp/" + }, + { + "name": "wpackagist-plugin/hummingbird-performance", + "version": "2.0.1", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/hummingbird-performance/", + "reference": "tags/2.0.1" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/hummingbird-performance.2.0.1.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/hummingbird-performance/" + }, + { + "name": "wpackagist-plugin/jetpack", + "version": "9.3.2", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/jetpack/", + "reference": "tags/9.3.2" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/jetpack.9.3.2.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/jetpack/" + }, + { + "name": "wpackagist-plugin/pdf-embedder", + "version": "4.6.4", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/pdf-embedder/", + "reference": "tags/4.6.4" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/pdf-embedder.4.6.4.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/pdf-embedder/" + }, + { + "name": "wpackagist-plugin/simple-custom-css", + "version": "4.0.6", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/simple-custom-css/", + "reference": "trunk" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/simple-custom-css.zip?timestamp=1665066749" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/simple-custom-css/" + }, + { + "name": "wpackagist-plugin/spinupwp", + "version": "1.5.1", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/spinupwp/", + "reference": "tags/1.5.1" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/spinupwp.1.5.1.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/spinupwp/" + }, + { + "name": "wpackagist-plugin/woocommerce", + "version": "7.9.0", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/woocommerce/", + "reference": "tags/7.9.0" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/woocommerce.7.9.0.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/woocommerce/" + }, + { + "name": "wpackagist-plugin/wp-smushit", + "version": "3.14.2", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/wp-smushit/", + "reference": "tags/3.14.2" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/wp-smushit.3.14.2.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/wp-smushit/" + }, + { + "name": "yoast/phpunit-polyfills", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "require-dev": { + "yoast/yoastcs": "^2.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": [ + "phpunitpolyfills-autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com", + "homepage": "https://yoast.com" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" + } + ], + "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", + "keywords": [ + "phpunit", + "polyfill", + "testing" + ], + "support": { + "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "source": "https://github.com/Yoast/PHPUnit-Polyfills" + }, + "time": "2023-08-19T14:25:08+00:00" + }, + { + "name": "yoast/wp-test-utils", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/Yoast/wp-test-utils.git", + "reference": "2e0f62e0281e4859707c5f13b7da1422aa1c8f7b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Yoast/wp-test-utils/zipball/2e0f62e0281e4859707c5f13b7da1422aa1c8f7b", + "reference": "2e0f62e0281e4859707c5f13b7da1422aa1c8f7b", + "shasum": "" + }, + "require": { + "brain/monkey": "^2.6.1", + "php": ">=5.6", + "yoast/phpunit-polyfills": "^1.1.0" + }, + "require-dev": { + "yoast/yoastcs": "^2.3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-develop": "1.x-dev", + "dev-main": "1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ], + "exclude-from-classmap": [ + "/src/WPIntegration/TestCase.php", + "/src/WPIntegration/TestCaseNoPolyfills.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com", + "homepage": "https://yoast.com" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Yoast/wp-test-utils/graphs/contributors" + } + ], + "description": "PHPUnit cross-version compatibility layer for testing plugins and themes build for WordPress", + "homepage": "https://github.com/Yoast/wp-test-utils/", + "keywords": [ + "brainmonkey", + "integration-testing", + "phpunit", + "testing", + "unit-testing", + "wordpress" + ], + "support": { + "issues": "https://github.com/Yoast/wp-test-utils/issues", + "source": "https://github.com/Yoast/wp-test-utils" + }, + "time": "2023-09-27T10:25:08+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": { + "roave/security-advisories": 20 + }, + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=7.3" + }, + "platform-dev": { + "php": "^7 || ^8" + }, + "plugin-api-version": "2.3.0" +} diff --git a/contributors.txt b/contributors.txt new file mode 100644 index 0000000..953c296 --- /dev/null +++ b/contributors.txt @@ -0,0 +1,27 @@ +This file contains a list of people who have made large contributions to WP Rocket. + +Developers: + Jonathan Buttigieg + Remy Perona + Ahmed Saeed + Alfonso Catron + COQUARD Cyrille + Mike + Mostafa Hisham + +QA: + Piotr Bąk + Mai Saad + Vasilis Manthos + +Previous contributors: + Julio Potier + Gregory Viguier + David Acuna + Caspar Hübinger + Thomas Geisen + Tonya Mork + Arun Basil Lal + Cristina Soponar + Caspar Green + Natalia Drause diff --git a/dynamic-lists-delayjs.json b/dynamic-lists-delayjs.json new file mode 100644 index 0000000..cbe9db2 --- /dev/null +++ b/dynamic-lists-delayjs.json @@ -0,0 +1 @@ +{"plugins":{"ffc21030-519a-4853-8cea-49f959e82731":{"id":"plugin:def67a2c1ddd6df2353e4772b6fd4e5b","title":"Additional Variation Images Gallery for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woo-variation-gallery\/assets\/js\/slick.min.js","\/woo-variation-gallery\/assets\/js\/frontend.min.js","\/wp-includes\/js\/underscore.min.js","variation_custom_fields"],"is_default":0,"condition":"woo-variation-gallery\/woo-variation-gallery.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"0e7dc253-acd0-4421-877f-a7101d848717":{"id":"plugin:4b82cc7379d46c6272f5d556bb264eec","title":"Advanced Ads","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/uploads\/(.*).js","advanced_ads_ready","advadsCfpQueue","adsbygoogle","adservice.google","\/advanced-ads(.*)","advads_items","advads_tracking_ads"],"is_default":0,"condition":"advanced-ads\/advanced-ads.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"a4d5c058-9120-47ee-977c-f30f83fb1a75":{"id":"plugin:a076fbb79772f497349a76ee74a7f708","title":"All-in-one Compliance for GDPR \/ CCPA Cookie Consent","type":"plugin","icon":"","exclusions":["iubenda_cs.js","var _iub"],"is_default":0,"condition":"iubenda-cookie-law-solution\/iubenda_cookie_solution.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"79a5082f-821a-4a4b-a0e3-caaf22cf3f75":{"id":"plugin:9bdceaa1bb89135730a3b2aa4db94c22","title":"AMO Team Showcase","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/amo-team-showcase\/public\/js\/wookmark.js","\/amo-team-showcase\/public\/js\/amo-team-showcase-public.js","\/wp-includes\/js\/imagesloaded.min.js","amoTeamVars"],"is_default":0,"condition":"amo-team-showcase\/amo-team-showcase.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"1d058cae-4460-4354-bab3-a96445650bd8":{"id":"plugin:b739df50f3f5bf400075f17dca652517","title":"AnyWhere Elementor Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/anywhere-elementor-pro\/build\/index.js"],"is_default":0,"condition":"anywhere-elementor-pro\/anywhere-elementor-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"8a1614c7-55b1-4b6d-88e5-6e8ddc630dae":{"id":"plugin:46741e77eaf4d13a0c80be6b86379758","title":"Astra - Pro Addon","type":"plugin","icon":"","exclusions":["\/astra-addon\/astra-addon-(.*).js"],"is_default":0,"condition":"astra-addon\/astra-addon.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"37d96403-f9ea-4481-b2f8-374d7c93e61a":{"id":"plugin:ccd87807930a1856717fd276c336db9a","title":"Beaver Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/uploads\/bb-plugin\/","\/bb-plugin\/js\/yui3.min.js","\/wp-includes\/js\/imagesloaded.min.js","\/bb-plugin\/js\/fl-slideshow.min.js"],"is_default":0,"condition":"beaver-builder-lite-version\/fl-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f83dbf3b-783e-4ef9-9b18-8a469ca7102d":{"title":"Bloom","condition":"bloom\/bloom.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/bloom\/"],"icon_url":"","type":"plugin","id":"plugin:e57cdfbc09f4e0f7445c279d9f580bdd","is_default":0,"created_at":1685189070},"135aadd2-cd4a-44ae-8dcf-801f3f2316c0":{"id":"plugin:055ef01accbad6378e3d1a4965600964","title":"Booked","type":"plugin","icon":"","exclusions":["\/booked\/","\/js\/jquery\/ui\/datepicker.min.js"],"is_default":0,"condition":"booked\/booked.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"ddfee9b0-e5a9-4d3f-8c21-b999cbb61c33":{"id":"plugin:492f9b0d55f3bf07c68e915ea1dfb72a","title":"Bookly","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/bookly-responsive-appointment-booking-tool\/frontend\/","window.bookly"],"is_default":0,"condition":"bookly-responsive-appointment-booking-tool\/main.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7a013fd6-0881-4dbe-8e93-33edefe7f717":{"id":"plugin:e1ec2daca513de476bd3dae79366e9ab","title":"Borlabs Cookie","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","borlabsCookieConfig","borlabs-cookie.min.js","borlabsCookieContentBlocker","BorlabsCookieBox"],"is_default":0,"condition":"borlabs-cookie\/borlabs-cookie.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"3999e680-4049-4494-945c-768cecc1a2c4":{"id":"plugin:43019d66af7b41e65bb602c01e10c6a0","title":"Brizy","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/brizy\/public\/editor-build\/(.*)-wp\/editor\/js\/group-(.*).js","\/brizy\/public\/editor-build\/(.*)-wp\/editor\/js\/preview.js","Brizy.emit"],"is_default":0,"condition":"brizy\/brizy.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"af4d9357-3def-42a1-86b7-419553444b4d":{"id":"plugin:5c317f9f244597d8f236ecb7d8e41752","title":"Carousel Upsells and Related Product for WooCommerce","type":"plugin","icon":"","exclusions":["\/carousel-upsells-and-related-product-for-woocommerce\/assets\/js\/glide.min.js","carusel_poduct_related"],"is_default":0,"condition":"carousel-upsells-and-related-product-for-woocommerce\/ffxf-woo-glide-related-and-upsells.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"1d866d90-5451-43ba-a4d1-75b64f9235e1":{"id":"plugin:0a3a29603ebac8fe0808f64f5c8edbb2","title":"clickskeks.at Cookiebanner","type":"plugin","icon":"","exclusions":["clickskeks"],"is_default":0,"condition":"clickskeks\/index.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"c09695cc-2387-4416-881a-c0b392188a26":{"title":"Complianz","condition":"complianz-gdpr\/complianz-gpdr.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","complianz"],"icon_url":"","type":"plugin","id":"plugin:a766f95208154cd69a3e15150a42f325","is_default":0,"created_at":1685188788},"7e551e3b-fbe4-4235-87a9-b476bc9e2020":{"id":"plugin:949b1b923d51d10a2fb67a2a39d166b3","title":"Content Egg","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/content-egg\/res\/js\/morrisjs\/morris.min.js","\/content-egg\/res\/js\/morrisjs\/raphael.min.js","Morris.Area"],"is_default":0,"condition":"content-egg\/content-egg.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"7fbca6c5-9239-4550-a755-6f041f867a57":{"title":"Cookie Notice & Compliance for GDPR \/ CCPA","condition":"cookie-notice\/cookie-notice.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/cookie-notice\/","var cnArgs"],"icon_url":"","type":"plugin","id":"plugin:213d0f883ae27aefb3a7937656bbd11e","is_default":0,"created_at":1681379736},"26722567-fe35-44b5-a5a7-fb0f3a38c3f2":{"id":"plugin:1d10ad30bbcf0fd4b26e9625a07abcfc","title":"Cookiebot CMP","type":"plugin","icon":"","exclusions":["consent.cookiebot.com"],"is_default":0,"condition":"cookiebot\/cookiebot.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"74110e36-89e5-440d-bec3-7133da3277c2":{"id":"plugin:edcf103293ceab711e999d419d038ca1","title":"Coupon Referral Program","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/coupon-referral-program\/","\/wp-includes\/js\/jquery\/ui\/draggable.min.js"],"is_default":0,"condition":"coupon-referral-program\/coupon-referral-program.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"ed63e02f-d6c5-481a-bcb9-aae15f72aa21":{"id":"plugin:c3e26264dcfd25802805b4fd1a2a449c","title":"Crisp - Live Chat and Chatbot","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","CRISP_RUNTIME_CONFIG","l.js"],"is_default":0,"condition":"crisp\/crisp.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"a8eb622b-279c-4f84-86e0-785e9497add7":{"id":"plugin:6e4bf949e12f0bebfefb48f6c316102a","title":"Custom Twitter Feeds pro","type":"plugin","icon":"","exclusions":["\/custom-twitter-feeds-pro\/js\/ctf-scripts.min.js"],"is_default":0,"condition":"custom-twitter-feeds-pro\/custom-twitter-feed.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"1624ef15-e25b-406d-bdf9-d4b78d7a59e7":{"id":"plugin:1f893b343e72ce55e6c9013fbda172fa","title":"Customer Reviews for WooCommerce Plugin","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/customer-reviews-woocommerce\/js\/colcade.js"],"is_default":0,"condition":"customer-reviews-woocommerce\/ivole.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"c15fe3b3-0eaa-48f9-bf04-0e778b1f8c63":{"title":"Divi - Supreme","condition":"supreme-modules-for-divi\/supreme-modules-for-divi.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/Divi\/js\/scripts.min.js","\/Divi\/js\/custom.unified.js","\/js\/magnific-popup.js","var DIVI","\/supreme-modules-for-divi\/"],"icon_url":"","type":"plugin","id":"plugin:b5489ae4d8b949f536d6dd2e5b0c1a95","is_default":0,"created_at":1679738701},"dd31451b-989a-4517-b02a-e2c2e2023366":{"id":"plugin:5caed322df984bbfd3ecb506cf12b688","title":"Divi Den Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ddpro\/build\/freddie\/js\/freddieScriptPageTransition.js","\/ddpro\/build\/freddie\/js\/freddieScriptsHeaders.js","\/ddpro\/build\/freddie\/js\/freddieScriptsContents.js","\/ddpro\/build\/freddie\/js\/gsap\/gsap.min.js"],"is_default":0,"condition":"ddpro\/ddpro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"2b006370-cc90-42c1-9656-a30fbfbc91c6":{"id":"plugin:402d9b241b04934dd30f32e7ba490e63","title":"Divi Mobile","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","divi-menu","dm_nav"],"is_default":0,"condition":"divi-mobile\/divi-mobile.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"666bbed9-7ce3-457c-ad6e-b5e056d05010":{"title":"Divi Overlays","condition":"divi-overlays\/divi-overlays.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/Divi\/js\/scripts.min.js","\/Divi\/js\/custom.unified.js","var DIVI","\/divi-overlays\/"],"icon_url":"","type":"plugin","id":"plugin:1c828c93d87298d2a27c76e13d0880ba","is_default":0,"created_at":1679738664},"42a404af-7792-44be-9baa-565dc3baf25d":{"title":"Divi Pixel","condition":"divi-pixel\/divi-pixel.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/divi-pixel\/dist\/public\/js\/hamburger.min.js"],"icon_url":"","type":"plugin","id":"plugin:dd2494945a487a6cc74d3ab1b2137ccb","is_default":0,"created_at":1686859169},"85f5c099-c481-4c38-bbb9-8b76113bdfd5":{"title":"Divi Supreme Pro","condition":"supreme-modules-pro-for-divi\/supreme-modules-pro-for-divi.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","elm.style.display","\/supreme-modules-pro-for-divi\/includes\/modules\/ImageCarousel\/frontend.min.js","\/supreme-modules-pro-for-divi\/public\/js\/swiper-bundle.min.js"],"icon_url":"","type":"plugin","id":"plugin:3d5f0ae7751702fd1bb490fcf991a334","is_default":0,"created_at":1695118162},"0b78d762-c7be-45de-9aae-0c5078ec0619":{"id":"plugin:b5fc0101608d0b0627268dc49e3e1f8f","title":"Divi Toolbox","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","jQuery('.preloader')","\/divi-toolbox\/assets\/js\/toolbox-scripts.js"],"is_default":0,"condition":"divi-toolbox\/divi-toolbox.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"8baba0f8-4449-47d8-a87d-9b6a116e7684":{"title":"Dynamic Pricing & Discounts Lite for WooCommerce","condition":"woo-dynamic-pricing-discounts-lite\/dynamic-pricing-discounts-lite-for-woocommerce.php","exclusions":["\/woo-dynamic-pricing-discounts-lite\/assets\/OwlCarousel\/dist\/owl.carousel.min.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"icon_url":"","type":"plugin","id":"plugin:185062bf08db42515488e1853d1f4917","is_default":0,"created_at":1677857247},"0fa129f2-5869-4db7-9bf0-69e4b3549ee2":{"id":"plugin:27478327aa44075a86176fad95640d76","title":"Dynamic Product Gallery for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woocommerce-dynamic-gallery\/","a3revWCDynamicGallery"],"is_default":0,"condition":"woocommerce-dynamic-gallery\/wc_dynamic_gallery_woocommerce.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"9958c6be-2f67-4791-95c3-a7ad96d599c0":{"title":"Dynamic Product Gallery Premium for WooCommerce","condition":"woocommerce-dynamic-gallery-pro\/wc_dynamic_gallery_woocommerce.php","exclusions":["\/jquery-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/jquery-migrate(.*)(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/woocommerce-dynamic-gallery-pro\/assets\/js\/mygallery\/jquery.a3-dgallery.js","settings_defaults_","a3revWCDynamicGallery"],"icon_url":"","type":"plugin","id":"plugin:11dc02a76019f00422f4ac85f47f5135","is_default":0,"created_at":1683208937},"ce26ed21-1be5-481f-80d4-31edfac6d890":{"title":"Dynamic.ooo - Dynamic Content for Elementor","condition":"dynamic-content-for-elementor\/dynamic-content-for-elementor.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","\/wp-includes\/js\/imagesloaded.min.js","ElementorProFrontendConfig","elementorFrontendConfig","\/dynamic-content-for-elementor\/assets\/","\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/dist\/i18n.min.js"],"icon_url":"","type":"plugin","id":"plugin:d2bd5b348abe016bdc722acce7755062","is_default":0,"created_at":1683355024},"6a3161a6-1a6f-457a-a9ee-54b376981927":{"id":"plugin:ee1dec033c6481a77fe88de5bef1a02d","title":"Easy Table of Contents","type":"plugin","icon":"","exclusions":["\/easy-table-of-contents\/assets\/js\/front.min.js"],"is_default":0,"condition":"easy-table-of-contents\/easy-table-of-contents.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"25a534a0-2c1f-4cf4-9e19-7941bc032b3a":{"id":"plugin:41c8f5f0ab00cb39654aedd783d194e0","title":"Ecwid Ecommerce Shopping Cart","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js ","app.ecwid.com\/script.js ","\/ecwid-shopping-cart\/js\/frontend.js ","\/ecwid-shopping-cart\/js\/static-page.js ","ecwidParamswindow.ec ","jQuery.mobile ","xSearch ","xCategoriesV2 ","xProductBrowser ","Ecwid.init"],"is_default":0,"condition":"ecwid-shopping-cart\/ecwid-shopping-cart.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"40464325-5bae-4a20-bc97-553499e09a73":{"title":"Elementor","condition":"elementor\/elementor.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","\/wp-includes\/js\/imagesloaded.min.js","ElementorProFrontendConfig","elementorFrontendConfig","\/happy-elementor-addons-pro\/","\/header-footer-elementor\/inc\/js\/frontend.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/wp-includes\/js\/dist\/api-fetch.min.js","\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/dist\/i18n.min.js"],"icon_url":"","type":"plugin","id":"plugin:1d15783218a3137bec4ee8df5353e218","is_default":0,"created_at":1694425872},"ac86b64c-c80a-4053-894d-6caa8b4fdce8":{"title":"Elementor Loop Carrousel","condition":"elementor\/elementor.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/wp-includes\/js\/dist\/api-fetch.min.js","\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/dist\/i18n.min.js"],"icon_url":"","type":"plugin","id":"plugin:0eb8d0bbd1c7ca05ac133ea634f676b7","is_default":0,"created_at":1694442056},"a8fc9fd1-f6d3-41eb-abe9-ef176de6d7e2":{"title":"Elementor - Lazy Load Background Images","condition":"elementor\/elementor.php","exclusions":["lazyloadRunObserver"],"icon_url":"","type":"plugin","id":"plugin:bf248cb2876558452a566c5dd89262b8","is_default":0,"created_at":1694453032},"1948aff5-7850-4979-91fa-0ce181484508":{"id":"plugin:de658ae6c2d05a5a4a947efecf5e0c16","title":"Elementor Custom Skin","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/ele-custom-skin(.*)\/assets\/js\/"],"is_default":0,"condition":"ele-custom-skin\/ele-custom-skin.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"25708299-c596-4416-8ad8-740aee0f2752":{"title":"Elementor Pro","condition":"elementor-pro\/elementor-pro.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","\/wp-includes\/js\/imagesloaded.min.js","ElementorProFrontendConfig","elementorFrontendConfig","\/happy-elementor-addons-pro\/","\/header-footer-elementor\/inc\/js\/frontend.js"],"icon_url":"","type":"plugin","id":"plugin:030ad23e3851ed7adfa7b9b6c13cf5a6","is_default":0,"created_at":1679490021},"f34dd874-4b34-41e6-a31c-ece3c1efbffc":{"id":"plugin:305581ad4294a30eeb1247982f626005","title":"Elementor Pro - SmartMenus","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor-pro\/assets\/lib\/smartmenus\/jquery.smartmenus.min.js","\/elementor-pro\/assets\/js\/preloaded-elements-handlers.min.js"],"is_default":0,"condition":"elementor-pro\/elementor-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"111cc8b2-0be9-438b-9aa3-7f1e301a5697":{"id":"plugin:5ae9f5d99224d5ebc7d0c0bbf5b99787","title":"Elementor Pro - User Cache","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/wp-includes\/js\/backbone.min.js","elementorAdminBarConfig","elementorCommonConfig","elementorWebCliConfig","elementorDevToolsConfig"],"is_default":0,"condition":"elementor-pro\/elementor-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"c1713bf8-e0c3-4cb5-8b3f-841b06aa87ed":{"title":"ElementsKit Lite - Megamenu","condition":"elementskit-lite\/elementskit-lite.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/elementskit(.*)\/"],"icon_url":"","type":"plugin","id":"plugin:b91fed2fc4478dbb7067742c1ee4691b","is_default":0,"created_at":1683270249},"706ff35d-8e33-4b04-a986-346faff704e9":{"id":"plugin:417192424139d89fb2a5b1ee1f2b9613","title":"Essential Addons for Elementor","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/essential-addons(-for)?-elementor(-lite)?\/.*(.min)?.js"],"is_default":0,"condition":"essential-addons-for-elementor-lite\/essential_adons_elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"b38556dc-2bc4-430f-9c55-7191cf7773db":{"id":"plugin:057757d0593ad9d2dc58124f0077a5df","title":"Essential Addons for Elementor Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/essential-addons(-for)?-elementor(-lite)?\/.*(.min)?.js"],"is_default":0,"condition":"essential-addons-elementor\/essential_adons_elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"719b988f-0d60-40c2-ba46-88f943119cb1":{"id":"plugin:c8e6c490f6438f566ade600c33531a85","title":"Essential Grid","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/essential-grid\/","lightboxOptions"],"is_default":0,"condition":"essential-grid\/essential-grid.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"47d3d2ab-160d-4b07-ac25-8250b9e6a951":{"id":"plugin:dafd19fa48a1fef890dc4348052fcb75","title":"EventON Lite","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/eventon-lite\/assets\/js\/(.*)"],"is_default":0,"condition":"eventon-lite\/eventon.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"219968d7-cf1f-4ee0-917a-db35dcc93a3e":{"id":"plugin:49ff465628fc3cb6d7f23ff81d9b8339","title":"FacetWP","type":"plugin","icon":"","exclusions":["\/facetwp\/assets\/js\/dist\/front.min.js","window.FWP_"],"is_default":0,"condition":"facetwp\/index.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"acce5701-5917-48d5-83ab-3e626aa420c5":{"id":"plugin:78a1c88a56fa957c802074b6418c6fac","title":"FacetWP - Flyout menu","type":"plugin","icon":"","exclusions":["\/facetwp-flyout\/assets\/js\/front.js"],"is_default":0,"condition":"facetwp-flyout\/facetwp-flyout.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f2a5b95f-1a22-46d2-8b72-42a53e46ae3f":{"id":"plugin:5d7555892a3a9968fde3fa3a335fc3d8","title":"FiboSearch - Ajax Search for WooCommerce","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/jquery\/jquery.js","\/wp-includes\/js\/jquery\/jquery-migrate.js","\/ajax-search-for-woocommerce-premium\/assets\/js\/search.js"],"is_default":0,"condition":"ajax-search-for-woocommerce\/ajax-search-for-woocommerce.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7d1404e9-be76-449c-87aa-919557abe82d":{"id":"plugin:ad46179e8b0584abaf52056b846da227","title":"FlexBlock","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/flo-flex-builder\/dist\/flex-public.min.js","flexDebug"],"is_default":0,"condition":"flo-flex-builder\/flo-flex-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"b9c6a2dc-b226-4e2c-b85e-29ee55b8f751":{"id":"plugin:567a2b15db30ef6bd4904e4317139aac","title":"Fluent Forms","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/fluentform\/public\/js\/(.*).js","\/fluentformpro\/public\/js\/(.*).js"],"is_default":0,"condition":"fluentform\/fluentform.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"10874f8a-2855-4e80-bc46-e484589b76a8":{"id":"plugin:e78c153103f698b2b34892332d6b3b62","title":"Flying Images","type":"plugin","icon":"","exclusions":["flyingImages"],"is_default":0,"condition":"nazy-load\/flying-images.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"53958499-dacd-41d6-93bc-1534fe7d9eda":{"id":"plugin:5a0e40a6c5783856893b803189de1404","title":"FooGallery Premium","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/plugins\/foobox-image-lightbox\/free\/js\/foobox.free.min.js","\/plugins\/foogallery-premium\/pro\/extensions\/default-templates\/shared\/js\/foogallery.min.js"],"is_default":0,"condition":"foogallery-premium\/foogallery.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7870d704-2024-4622-838c-fad37d5c6753":{"id":"plugin:ebb5efb57b19ae60e734e456ca2df3f8","title":"Formidable Forms","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","frmSigs","\/formidable-signature\/js\/frm.signature.min.js"],"is_default":0,"condition":"formidable\/formidable.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3f24f9b3-e59e-400f-a784-999f93f60fab":{"id":"plugin:0b08523445b8869a67ca40e777704692","title":"Forminator","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","forminatorFront","\/forminator\/build\/front\/front.multi.min.js","\/forminator\/assets\/js\/library\/jquery.validate.min.js","\/forminator\/assets\/forminator-ui\/js\/forminator-form.min.js","\/forminator\/assets\/forminator-ui\/js\/select2.full.min.js","\/wp-includes\/js\/jquery\/ui\/datepicker.min.js","\/wp-includes\/js\/dist\/vendor\/moment.min.js"],"is_default":0,"condition":"forminator\/forminator.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3a600ded-3454-48fb-9811-46afa2ab3c05":{"id":"plugin:5759bf0d47ac3457485314b381a9b528","title":"GDPR Cookie Compliance","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/gdpr-cookie-compliance\/dist\/scripts\/main.js"],"is_default":0,"condition":"gdpr-cookie-compliance\/moove-gdpr.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"e21aaa5e-7354-471d-ab86-85f99f48830c":{"id":"plugin:ffb40036ab0583218561de7c28c6bd9b","title":"GDPR Cookie Consent","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/public\/js\/cookie-law-info-public.js","Cli_Data"],"is_default":0,"condition":"webtoffee-gdpr-cookie-consent\/cookie-law-info.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"c11ca4ea-1a23-49ee-9a6b-1e549de50ea2":{"id":"plugin:3877953c5ec1e66db92ad844ae8ebafc","title":"Getwid - Gutenberg Blocks","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/wp-includes\/js\/jquery\/ui\/tabs.min.js","\/wp-includes\/js\/jquery\/ui\/core.min.js"],"is_default":0,"condition":"getwid\/getwid.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3773bb33-b168-4f68-9963-512da24ac4da":{"title":"GoodLayers Core","condition":"goodlayers-core\/goodlayers-core.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js ","\/goodlayers-core\/plugins\/script.js ","\/goodlayers-core\/include\/js\/page-builder.js"],"icon_url":"","type":"plugin","id":"plugin:5f124509a56ca2e0644246919ec70434","is_default":0,"created_at":1677854322},"2adabe9b-6e03-4a67-959f-492813d40f69":{"title":"Google Tag Manager for WooCommerce PRO","condition":"gtm-ecommerce-woo-pro\/gtm-ecommerce-woo-pro.php","exclusions":["\/gtm-ecommerce-woo-pro\/assets\/gtm-ecommerce-woo-pro.js"],"icon_url":"","type":"plugin","id":"plugin:e54fd4313007b6fedf8ab4df0e05277a","is_default":0,"created_at":1691218549},"7bf261ac-89d4-492f-8a3d-1c5809b9579a":{"title":"Gravity Forms","condition":"gravityforms\/gravityforms.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/gravityforms\/","gform","recaptcha","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/wp-includes\/js\/plupload\/plupload.min.js","\/wp-includes\/js\/plupload\/moxie.min.js"],"icon_url":"","type":"plugin","id":"plugin:7a1c1606d094f6bff83c0ee155908367","is_default":0,"created_at":1694457903},"12340193-5c35-4b0d-b0bc-bea690cf1cae":{"id":"plugin:2f3112dd98c39aeb6bde618c9026a29f","title":"Green Forms","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","leform.min.js","leform_customjs_handlers","leform_ajax_url"],"is_default":0,"condition":"green-forms\/green-forms.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"4d20b427-47cf-4cdf-91c7-ff53602d3b2a":{"id":"plugin:0eb769dddc58f998e913345841b1d0b3","title":"GTM4WP","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","dataLayer"],"is_default":0,"condition":"duracelltomi-google-tag-manager\/duracelltomi-google-tag-manager-for-wordpress.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"a2b3c237-728c-49d6-882a-e3885444e9b4":{"id":"plugin:3b085ccda851ccf129d9506462f0cd65","title":"GTranslate","type":"plugin","icon":"","exclusions":["translate.google.com","googleTranslateElementInit"],"is_default":0,"condition":"gtranslate\/gtranslate.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"40cd9336-e73f-4a61-a7f6-27ec1ca6892c":{"id":"plugin:e1f17c1eac230219e6fec3ac07406a0d","title":"HBook","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/hbook\/","hb_booking_form_data","hb_max_date"],"is_default":0,"condition":"hbook\/hbook.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"192224c7-df72-4e3d-8f13-3206ac5b2e90":{"title":"Helper - OpenAI Chatbot for WordPress","condition":"\/helper\/index.php","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/helper\/js\/helper.min.js","mdpHelper"],"icon_url":"","type":"plugin","id":"plugin:07311d992a8a9d6af91e4766d2cb9ac9","is_default":0,"created_at":1691599768},"99cfbb2e-5678-42c2-928f-5cb09d7e43da":{"id":"plugin:269c5766fba124a838ac012a4b5a1a13","title":"HUSKY - Products Filter for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woocommerce-products-filter\/(.*)","woof"],"is_default":0,"condition":"woocommerce-products-filter\/index.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3a964eac-4aeb-49a7-9fd6-4c31b2645dee":{"id":"plugin:d457acfec0f86aac6733f1446f4fc94f","title":"Instagram Feed Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/instagram-feed-pro\/js\/sbi-scripts.min.js","sb_instagram_js_options"],"is_default":0,"condition":"instagram-feed-pro\/instagram-feed.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"8f9f4788-1b8d-468b-b291-1fcbd48618b9":{"id":"plugin:513b0c0ec8e12130af9b4bbbb17d7275","title":"Interactive Geo Maps","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/interactive-geo-maps-premium\/assets\/public\/map-service\/app.min.js","\/interactive-geo-maps\/assets\/public\/map-service\/app.js","iMapsData","cdn.amcharts.com\/lib\/"],"is_default":0,"condition":"interactive-geo-maps\/interactive-geo-maps.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"cf650ca3-afa0-4a13-9e4f-f7cca19abac6":{"title":"Ivory Search","condition":"add-search-to-menu\/add-search-to-menu.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/add-search-to-menu\/public\/js\/ivory-search.min.js"],"icon_url":"","type":"plugin","id":"plugin:7430e9d2c985ae0a3339a7b7e1acc318","is_default":0,"created_at":1677852711},"17a5dd54-1f5e-4d57-a56d-a8a970651954":{"id":"plugin:1c8a1e1ba89a601f88654f094139b469","title":"JetBlocks","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jet-blocks\/assets\/js\/jet-blocks.min.js"],"is_default":0,"condition":"jet-blocks\/jet-blocks.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"b6f78c90-9823-459a-8dc1-1257e5f0d4e3":{"id":"plugin:dac9ec782180f33d0fcc7c4e0e569b9d","title":"JetBlog","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor-pro\/","\/elementor\/","\/jet-blog\/","ElementorProFrontendConfig","elementorFrontendConfig","hasJetBlogPlaylist"],"is_default":0,"condition":"jet-blog\/jet-blog.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"e17173d8-6ef8-4e27-ba0f-379c9aea7eda":{"id":"plugin:0fe8895d1da5247b73a5d0b482df4ac4","title":"JetElements","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/jet-elements\/","hasJetBlogPlaylist","jetElements","\/wp-includes\/js\/jquery\/ui\/"],"is_default":0,"condition":"jet-elements\/jet-elements.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"cfd77501-9c9e-4f11-b994-0178a592fc08":{"title":"JetEngine","condition":"jet-engine\/jet-engine.php","exclusions":["\/jet-engine\/"],"icon_url":"","type":"plugin","id":"plugin:bc998e71546860c8c7f70c45a6c18972","is_default":0,"created_at":1686208296},"36fed829-a2d9-41b5-94f6-2c3b9f07a94e":{"id":"plugin:433a3173f2d06f7d02c7b91c06ed215d","title":"JetMenu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor-pro\/","\/elementor\/","\/jet-blog\/assets\/js\/lib\/slick\/slick.min.js","\/jet-elements\/","\/jet-menu\/","elementorFrontendConfig","ElementorProFrontendConfig","hasJetBlogPlaylist","JetEngineSettings","jetMenuPublicSettings","\/jet-reviews\/assets\/js\/lib\/vue.min.js"],"is_default":0,"condition":"jet-menu\/jet-menu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"580cfed7-f034-4e39-bc7a-cdd01923ce87":{"id":"plugin:51714cfdb43f231a1c93e7cffb1007ab","title":"JetPopup","type":"plugin","icon":"","exclusions":["\/jet-popup\/assets\/js\/lib\/anime-js\/anime.min.js","\/jet-popup\/assets\/js\/jet-popup-frontend.js","\/jet-woo-builder\/","var jetPopupData"],"is_default":0,"condition":"jet-popup\/jet-popup.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"d9cd2730-12e2-42d7-a082-6f0efcd466cc":{"id":"plugin:df3bc4b6a8a9f28a5ba24cb7496bbc72","title":"JetProductGallery","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jet-woo-product-gallery\/assets\/lib\/swiper\/swiper.min.js","\/jet-woo-product-gallery\/assets\/js\/jet-woo-product-gallery.min.js"],"is_default":0,"condition":"jet-woo-product-gallery\/jet-woo-product-gallery.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"544aa37b-4d52-4182-99e8-abe23585da14":{"id":"plugin:5921fc95965ac7fccb7296957bd9abff","title":"JetReviews","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jet-reviews\/assets\/js\/jet-reviews-frontend.js","\/jet-reviews\/assets\/js\/lib\/vue.min.js","jetReviewsWidget"],"is_default":0,"condition":"jet-reviews\/jet-reviews.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"a8460089-34b4-4f8f-8694-5d92fa48aa82":{"title":"JetSmartFilters","condition":"jet-smart-filters\/jet-smart-filters.php","exclusions":["jetOffcanvasInitialized"],"icon_url":"","type":"plugin","id":"plugin:0cd63a514de1f1acb88e2bde65c4bc8d","is_default":0,"created_at":1694447256},"fe3c4915-6f8b-49b7-aa9c-c97b264d9f12":{"id":"plugin:a346b60514ef52afeffc6e2ef2793da3","title":"JetSticky","type":"plugin","icon":"","exclusions":["\/jetsticky-for-elementor\/"],"is_default":0,"condition":"jetsticky-for-elementor\/jetsticky-for-elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"853479dc-fff5-47cf-9a60-bf9b00f71fc4":{"title":"JetTabs for Elementor","condition":"jet-tabs\/jet-tabs.php","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>|$)","\/elementor\/","\/elementor-pro\/","\/wp-includes\/js\/imagesloaded.min.js","ElementorProFrontendConfig","elementorFrontendConfig","\/wp-content\/plugins\/jet-tabs\/assets\/js\/jet-tabs-frontend.min.js"],"icon_url":"","type":"plugin","id":"plugin:d887a6ffea25d759e8aecdb6b78917f7","is_default":0,"created_at":1697130971},"b7f89562-230c-4f63-8360-7aad6df31e02":{"id":"plugin:829272546b040d5aaeeeaf976b6cd4ec","title":"JetTricks","type":"plugin","icon":"","exclusions":["\/jet-tricks\/"],"is_default":0,"condition":"jet-tricks\/jet-tricks.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"90451e2a-553a-4496-9fa4-cffedbe69d43":{"id":"plugin:f44f3dbd09149f57db370e4132b057db","title":"JetWoo Widgets For Elementor","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/jetwoo-widgets-for-elementor\/assets\/js\/jet-woo-widgets.js","\/jet-woo-builder\/assets\/js\/jet-woo-builder.min.js","\/jet-woo-builder\/assets\/js\/frontend.min.js","\/wp-includes\/js\/imagesloaded.min.js"],"is_default":0,"condition":"jet-woo-builder\/jet-woo-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"944718c2-48c6-4f53-aaa2-460d07e033cc":{"id":"plugin:ed318a971f8a047bed5b02ad546a9c18","title":"JetWooBuilder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/dist\/i18n.min.js","\/elementor-pro\/","\/elementor\/","elementorFrontendConfig","ElementorProFrontendConfig","JetEngineSettings","\/jet-woo-builder\/","\/jet-woo-builder-custom-quantity-selectors-main\/assets\/js\/main.js"],"is_default":0,"condition":"jet-woo-builder\/jet-woo-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f5b62f59-1dae-4cdf-ac3f-f5e846fc9918":{"id":"plugin:9562e253cd4ac2b1e1f70e32cb4e32dc","title":"Layer Slider","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/LayerSlider\/assets\/static\/layerslider\/js\/layerslider.utils.js","\/LayerSlider\/assets\/static\/layerslider\/js\/layerslider.kreaturamedia.jquery.js","\/LayerSlider\/assets\/static\/layerslider\/js\/layerslider.transitions.js","initLayerSlider"],"is_default":0,"condition":"LayerSlider\/layerslider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"e2be718d-83a2-4fa0-bc98-f0df52be3dc1":{"id":"plugin:1425e2735306796fe1539d9184a77e10","title":"LoftLoader Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","loftloader.min.js"],"is_default":0,"condition":"loftloader-pro\/loftloader-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"cfa18552-656e-453c-9e14-c07522dc6598":{"id":"plugin:0bf67b8ba84771e1a367fe24590ef09c","title":"MailUp for WordPress","type":"plugin","icon":"","exclusions":["\/mailup-email-and-newsletter-subscription-form\/public\/js\/mailup-public.js","mailup-js-extra"],"is_default":0,"condition":"mailup-email-and-newsletter-subscription-form\/mailup.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"c5330c66-ba7b-45b1-87e4-ce590ab005dd":{"id":"plugin:10d0de28911c5f66463b9c8783f8148a","title":"Maintenance","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/maintenance\/"],"is_default":0,"condition":"maintenance\/maintenance.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"267aef71-afa0-4848-b6f8-3e1ca15c3a23":{"id":"plugin:9460789bdfe77425c895f130991a4cb4","title":"Maps Marker Pro","type":"plugin","icon":"","exclusions":["\/maps-marker-pro\/js\/mapsmarkerpro.js","var mapsMarkerPro"],"is_default":0,"condition":"maps-marker-pro\/maps-marker-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"b5a88b63-e906-49b3-8134-420139915ea6":{"title":"Master Popups","condition":"master-popups\/master-popups.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/plugins\/master-popups\/assets\/public\/js\/master-popups-libs.min.js"],"icon_url":"","type":"plugin","id":"plugin:8fd7bd2c8b0a33e62798573abd12be63","is_default":0,"created_at":1681305305},"4be41549-bf4d-4c49-8346-0f8a3b88fdba":{"id":"plugin:de888634cc4bd51576eed319d5a528fd","title":"Master Slider","type":"plugin","icon":"","exclusions":["masterslider"],"is_default":0,"condition":"master-slider\/master-slider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"087bee18-7cd1-4c10-8acc-19e1b7c4f4cd":{"id":"plugin:b71309a89bf3c8b558b6fca5d6531919","title":"Max Mega Menu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/hoverIntent.min.js","\/megamenu\/js\/maxmegamenu.js","var megamenu"],"is_default":0,"condition":"megamenu\/megamenu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"cf22f0b9-01f4-409e-8a93-ad6743095abd":{"id":"plugin:94a7bae84ef2816494be4af66c577bfc","title":"Meta Slider","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ml-slider\/","var metaslider"],"is_default":0,"condition":"ml-slider\/ml-slider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"bb2cbc0d-20da-415e-8218-c17f1db53579":{"title":"Monarch","condition":"monarch\/monarch.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","dt-place-monarch-icons"],"icon_url":"","type":"plugin","id":"plugin:b7335d6d6d5c5134ea10ac2d9b04226c","is_default":0,"created_at":1677853476},"a98d6a80-4610-4ede-bd33-c3e15bed0a95":{"id":"plugin:4f8651262425ef6d7c223c68a2ec2063","title":"Monster Insights","type":"plugin","icon":"","exclusions":["__gtagTracker","monsterinsights_frontend","\/google-analytics-for-wordpress\/assets\/js\/frontend-gtag.min.js"],"is_default":0,"condition":"google-analytics-for-wordpress\/googleanalytics.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"26e1a36e-7a03-449e-8ecc-e42c41ca291c":{"id":"plugin:f8fc66b302dec2327bdec0434a3b275b","title":"Motion.page","type":"plugin","icon":"","exclusions":["\/motionpage\/core\/includes\/assets\/js\/(.*)","\/motionpage\/core\/includes\/assets\/js\/gsap\/(.*)","\/motionpage\/assets\/js\/(.*)","\/motionpage\/assets\/js\/gsap\/(.*)"],"is_default":0,"condition":"motionpage\/motionpage.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"459fd663-7f80-45fd-8308-d3484981e161":{"title":"Ninja Forms","condition":"ninja-forms\/ninja-forms.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/backbone.min.js","\/ninja-forms\/assets\/js\/min\/front-end-deps.js","\/ninja-forms\/assets\/js\/min\/front-end.js","nf-"],"icon_url":"","type":"plugin","id":"plugin:1d3ae9c1a96d5062616968b81eef319d","is_default":0,"created_at":1681377675},"c97440dd-7592-40e7-8c98-dac20d39808f":{"id":"plugin:723a588dcd49285ea9f7404e2379b47f","title":"Ninja Tables","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ninja-tables(.*)\/assets\/","\/ninja-tables(.*)\/public\/","\/wp-includes\/js\/dist\/vendor\/moment.min.js","ninja_table_instance_","ninja_filter_","ninja_table_ready_init_table_id"],"is_default":0,"condition":"ninja-tables\/ninja-tables.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"ebc01f06-8c35-47fa-9c63-8959c5cbd915":{"id":"plugin:f41a52ab1dd50a81cd3a5e341af0007c","title":"NotificationX","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/notificationx\/assets\/public\/js\/(.*).js","notificationXArr"],"is_default":0,"condition":"notificationx\/notificationx.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3aaf4a1b-591a-48b7-8d60-e6d65c0f94c9":{"id":"plugin:be8fc72a8b8e8eb5958be13737cff47c","title":"Ocean Elementor Widgets","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/ocean-elementor-widgets\/"],"is_default":0,"condition":"ocean-elementor-widgets\/ocean-elementor-widgets.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f053a7d3-62b0-4312-b0ca-6ff63380eb0b":{"id":"plugin:1a14afe852fefe7b22ccad3893672a29","title":"One Click Accessibility","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/pojo-accessibility\/assets\/js\/app.min.js"],"is_default":0,"condition":"pojo-accessibility\/pojo-accessibility.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"61e11800-48a9-4354-8a4c-ac9a2b4b033a":{"id":"plugin:b9ed0fe6f2cdbd305691a6b857f4b3dc","title":"OoohBoi Steroids for Elementor","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/ooohboi-steroids-for-elementor\/"],"is_default":0,"condition":"ooohboi-steroids-for-elementor\/ooohboi-steroids.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"560b78a2-f051-490b-9dc6-a602dece0d81":{"id":"plugin:f1ff18a3e04c4e0995fca9cabffe57a7","title":"Optimole","type":"plugin","icon":"","exclusions":["optimoleData"],"is_default":0,"condition":"optimole-wp\/optimole-wp.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"b0fda458-4bf2-41e9-a159-60d4bb6102a6":{"id":"plugin:48ec18bd3f59772d98f85dddab75e305","title":"OSM - OpenStreetMap","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/osm\/js\/OL\/","\/osm\/js\/osm-v3-plugin-lib.js","vectorM"],"is_default":0,"condition":"osm\/osm.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"3743ed67-e0d1-4243-bb1f-ee48a445dd10":{"id":"plugin:9eacf0b76484af0259cd788f4923f20c","title":"OxyExtras","type":"plugin","icon":"","exclusions":["vime","vime.esm.js"],"is_default":0,"condition":"oxyextras\/plugin.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"52a21e27-af5b-4476-8d6d-54c323fd1443":{"id":"plugin:e852555c4b4789d78a96d76f503b3262","title":"Oxygen Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/component-framework\/vendor\/aos\/aos.js","AOS.init","oxygen_init_pro_menu","oxy-pro-menu-show-dropdown","oxy-shape-divider","oxygenVSBInitToggleJs"],"is_default":0,"condition":"oxygen\/functions.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"ebd282b9-e175-4b83-90a2-fe12389ccd11":{"id":"plugin:6f9419e58ec86c94e7698aaaaf9dc715","title":"PageLoader by Bonfire","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/pageloader-by-bonfire\/pageloader.js","bonfire-pageloader-overlay"],"is_default":0,"condition":"pageloader-by-bonfire\/pageloader-by-bonfire.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"0baf6353-aa70-41a9-a3bc-d89870a5839b":{"id":"plugin:3a4c4518eb0f60108ab4934fab27d335","title":"PDF Embedder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/pdf-embedder\/js\/(.*).js"],"is_default":0,"condition":"pdf-embedder\/pdf_embedder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"cba51ec1-87cc-44eb-b12b-d652e3446507":{"id":"plugin:4f90aca5957cccbf623e3bbc31afa204","title":"Perfect Brands for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/perfect-woocommerce-brands\/assets\/lib\/slick\/slick.min.js","\/perfect-woocommerce-brands\/assets\/js\/functions-frontend.min.js"],"is_default":0,"condition":"perfect-woocommerce-brands\/perfect-woocommerce-brands.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"808e7a4e-025c-4fae-bf82-de3716e5eb0d":{"id":"plugin:84fe214646388d7c021dda25003ac165","title":"Photonic","type":"plugin","icon":"","exclusions":["\/photonic\/include\/js\/front-end\/module\/photonic-baguettebox.min.js"],"is_default":0,"condition":"photonic\/photonic.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"936aff7d-a8ac-4473-a7b5-4b1611b6c557":{"id":"plugin:6838be282f853f71be282783cb1c162b","title":"Pixel Caffein","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/pixel-caffeine\/build\/frontend.js","aepc_pixel"],"is_default":0,"condition":"pixel-caffeine\/pixel-caffeine.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"ab3a4ef5-2732-4b46-a7c3-17b4e9405cd1":{"id":"plugin:afe0eb7c64d4556a7111c56dd8c4d307","title":"Pixel Manager for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/woocommerce-pixel-manager-pro\/js\/public\/","wpm"],"is_default":0,"condition":"woocommerce-pixel-manager-pro\/woocommerce-pixel-manager.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"2774f964-50b2-425e-8a30-0a02f421b7e4":{"id":"plugin:38d4b2986868f543639cd1ebc3e510aa","title":"Popup Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/popup-builder\/public\/js\/(.*).js","\/popupbuilder-exit-intent\/public\/javascript\/ExitIntent.js","var sgpbPublicUrl","SGPB_POPUP_PARAMS"],"is_default":0,"condition":"popup-builder\/popup-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"82dbb1e5-31f9-43d7-b522-52819aa49ba5":{"id":"plugin:786717922362642f34a7ff58e919bd95","title":"Popup Maker","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/pum\/pum-site-scripts.js","pum","\/plugins\/popup-maker\/assets\/js\/site.min.js"],"is_default":0,"condition":"popup-maker\/popup-maker.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"48e08305-1f1c-4ef4-9f13-24af1b155abc":{"id":"plugin:17831cbb64e469c7f66224c8c63d0a58","title":"PowerPack Addons for Elementor","type":"plugin","icon":"","exclusions":["\/powerpack-lite-for-elementor\/assets\/js\/min\/frontend.min.js"],"is_default":0,"condition":"powerpack-lite-for-elementor\/powerpack-lite-elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"e037ae2f-e36b-4f1a-ada8-eb8fde6746f2":{"id":"plugin:80e1283ea1afead3ca904fad792643c5","title":"Preloader Plus","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/preloader-plus\/(.*)"],"is_default":0,"condition":"preloader-plus\/preloader-plus.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"90fed478-e89a-455c-8371-836bee58fb81":{"title":"Premium Addons for Elementor","condition":"premium-addons-for-elementor\/premium-addons-for-elementor.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/premium-addons-for-elementor\/assets\/frontend\/min-js\/premium-addons.min.js","\/premium-addons-for-elementor\/assets\/frontend\/min-js\/isotope.min.js","\/premium-addons-elementor\/pa-frontend-(.*).min.js","\/premium-addons-for-elementor\/assets\/frontend\/min-js\/slick.min.js","\/premium-addons-pro\/assets\/frontend\/min-js\/tooltipster.min.js","window.scopes_array","lottie.min.js","\/premium-addons-for-elementor\/assets\/frontend\/min-js\/premium-nav-menu.min.js"],"icon_url":"","type":"plugin","id":"plugin:debbfbbcbdf9ffb465bbc40008d99f02","is_default":0,"created_at":1693315214},"7e43c261-77be-48fc-b25a-8953a654ae85":{"id":"plugin:100a0382fcf3d1b6b22da928bce46ea8","title":"Presto Player","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/dist\/vendor\/regenerator-runtime.min.js","\/presto-player\/dist\/components\/web-components\/web-components.esm.js","\/presto-player\/src\/player\/player-static.js","var player","\/wp-includes\/js\/dist\/api-fetch.min.js","\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/dist\/i18n.min.js"],"is_default":0,"condition":"presto-player\/presto-player.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"3d6f509f-d040-4279-9a2f-a4e6eae1e9df":{"id":"plugin:c0fce700121492b566517e68301db382","title":"Price Based on Country for WooCommerce Pro","type":"plugin","icon":"","exclusions":["\/woocommerce-product-price-based-on-countries\/assets\/js\/ajax-geolocation.min.js","\/woocommerce-price-based-country-pro-addon\/assets\/js\/currency-switcher.min.js","add-to-cart.min.js","cart-fragments.min.js"],"is_default":0,"condition":"woocommerce-price-based-country-pro-addon\/woocommerce-price-based-country-pro-addon.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"b970bc8a-bcbe-4d08-8ac0-a6853ab3f036":{"id":"plugin:f1ecfe258440b371124999ca3bfbfff3","title":"Prime Slider","type":"plugin","icon":"","exclusions":["\/plugins\/bdthemes-prime-slider-lite\/assets\/js\/bdt-uikit.min.js"],"is_default":0,"condition":"bdthemes-prime-slider-lite\/bdthemes-prime-slider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"e5458963-f167-4b68-88e4-77dd39af2842":{"id":"plugin:29ea8f4dd72f5a5c5927917fb0665a05","title":"PRO Elements","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/pro-elements\/"],"is_default":0,"condition":"pro-elements\/pro-elements.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"b119ad72-f498-4576-bb71-9e6d8c37b68f":{"title":"Product Filter by WBW (for WooCommerce)","condition":"woo-product-filter\/woo-product-filter.php","exclusions":["\/jquery-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/jquery-migrate(.*)(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/wp-content\/plugins\/woo-product-filter\/modules\/woofilters\/js\/frontend.woofilters.js","\/wp-includes\/js\/jquery\/ui\/mouse.min.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/wp-includes\/js\/jquery\/ui\/slider.min.js"],"icon_url":"","type":"plugin","id":"plugin:e57ad91e0d94fab011353af544873743","is_default":0,"created_at":1685686062},"7b779aca-e497-4da3-8e51-fa12837d15ab":{"title":"Product Filters for WooCommerce","condition":"woocommerce-product-filters\/woocommerce-product-filters.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woocommerce-product-filters\/","\/woocommerce\/assets\/js\/accounting\/accounting.min.js","\/wp-includes\/js\/jquery\/ui\/","wcpf-load-project","WCPFData"],"icon_url":"","type":"plugin","id":"plugin:719469f1c977f7109d3d6ee21ecd5a16","is_default":0,"created_at":1691235154},"2b2a51f2-bd47-4591-92d8-4a690bce5d99":{"id":"plugin:a898898b2b0ea2cd82e20a6d3a3aa47b","title":"Product Gallery Slider for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/twist\/assets\/js\/slick.min.js","wpgs-public-js-after"],"is_default":0,"condition":"twist\/twist.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"062c5be3-e5ea-4958-9619-44e3410f237e":{"title":"Product Video Gallery for Woocommerce","condition":"product-video-gallery-slider-for-woocommerce\/product-video-gallery-slider-for-woocommerce.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/product-video-gallery-slider-for-woocommerce\/public\/js\/nickx.front.js"],"icon_url":"","type":"plugin","id":"plugin:bbc653a91f0635cd2edb0b741aa62b85","is_default":0,"created_at":1693512477},"34d225a4-688c-476b-846b-420774160d6b":{"id":"plugin:e0b123d324c6fc85b8682660c34f8829","title":"Rank Math SEO","type":"plugin","icon":"","exclusions":["local_ga_js"],"is_default":0,"condition":"seo-by-rank-math\/rank-math.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"02305ca0-2c2a-4eef-a802-b8a942771ecc":{"title":"Retainful","condition":"retainful-next-order-coupon-for-woocommerce\/retainful-next-order-coupon-for-woocommerce.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/retainful-next-order-coupon-for-woocommerce\/src\/premium\/assets\/js\/atc-popup.min.js","\/retainful-next-order-coupon-for-woocommerce\/src\/premium\/assets\/js\/exit-intent-popup.js","retainful.com","rnoc-add-to-cart-js-before","rnoc_redirect_coupon_popup"],"icon_url":"","type":"plugin","id":"plugin:f9fdee19ba6aed961d96d86e1521a761","is_default":0,"created_at":1679331508},"b4055250-5813-400f-b663-d390fee989e4":{"id":"plugin:d6a4d07d1b4022d886df52322dcd8a6f","title":"Revolution Slider","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/revslider\/public\/assets\/js\/","\/revslider-(.*)-addon\/","setREVStartSize","rev_slider_","revslider_","window.RS_MODULES"],"is_default":0,"condition":"revslider\/revslider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"0b4e061a-b366-4d5a-a00e-bded4b107133":{"title":"Royal Elementor Addons","condition":"royal-elementor-addons\/wpr-addons.php","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>)","\/royal-elementor-addons\/assets\/js\/frontend.min.js","\/royal-elementor-addons\/assets\/js\/lib\/jarallax\/jarallax.min.js"],"icon_url":"","type":"plugin","id":"plugin:c4b464373716d7ac8e3cfb019aaa6102","is_default":0,"created_at":1688124503},"1b19ec89-171a-4f85-8c4b-b1bcfc6b1433":{"id":"plugin:5e3f85d8c82cc184b945415d1a862601","title":"Sassy Social Share","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/sassy-social-share\/public\/js\/sassy-social-share-public.js","heateorSssLoadEvent"],"is_default":0,"condition":"sassy-social-share\/sassy-social-share.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"f5899925-2ab7-43b6-abc4-51b76d664ca6":{"title":"Scrollsequence","condition":"scrollsequence-pro\/scrollsequence-pro.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/scrollsequence-pro\/public\/js\/gsap__premium_only.js","\/scrollsequence-pro\/public\/js\/gsap-scrolltrigger__premium_only.js","\/scrollsequence-pro\/public\/js\/ssq-lib__premium_only.js","scrollsequence-input-script"],"icon_url":"","type":"plugin","id":"plugin:3df51830b6b80668fc342c8dcea495cf","is_default":0,"created_at":1678111131},"043827fc-3df8-45d6-9cd2-14fbe962987a":{"id":"plugin:9d60b5d2de4d828b78c7b088024377d6","title":"ShiftNav Pro - Responsive Mobile Menu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/shiftnav-pro\/assets\/js\/shiftnav(.*).js"],"is_default":0,"condition":"shiftnav-pro\/shiftnav.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"bcbaf240-e76f-4620-b7d5-4852c46d4be7":{"id":"plugin:56279bd768c8f27ad1972b6774738bcf","title":"ShiftNav \u2013 Responsive Mobile Menu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/shiftnav-responsive-mobile-menu\/"],"is_default":0,"condition":"shiftnav-responsive-mobile-menu\/shiftnav-responsive-mobile-menu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"bbe0543b-b5af-467b-a90d-e2975d892d8d":{"id":"plugin:1bc7ac87d8ab2301a1b904919dc7a798","title":"Short Pixel Adaptive Image","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/shortpixel-adaptive-images\/assets\/js\/ai(.*).min.js","spai_settings"],"is_default":0,"condition":"shortpixel-adaptive-images\/short-pixel-ai.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"543ab43a-6bd3-4948-a09e-3b95e7c9209d":{"id":"plugin:ce4dea8ddc3caa8d00e95cec3202d32a","title":"Showcase IDX","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","SIDX","search.showcaseidx.com\/js\/app-(.*).js","cdn.shortpixel.ai"],"is_default":0,"condition":"showcase-idx\/showcaseidx.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"a16bcab7-1169-46b9-a425-b091478d8312":{"id":"plugin:3ea7d9f75ad03620b0bce2517bd5b8d1","title":"Side Cart WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/plugins\/woocommerce\/assets\/js\/frontend\/cart-fragments.min.js","\/plugins\/woocommerce\/assets\/js\/frontend\/add-to-cart.min.js","\/plugins\/woocommerce\/assets\/js\/jquery-blockui\/jquery.blockUI.min.js","\/plugins\/woocommerce\/assets\/js\/js-cookie\/js.cookie.min.js"],"is_default":0,"condition":"side-cart-woocommerce\/xoo-wsc-main.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"521f748e-cf09-4019-bd28-b52daef5f16f":{"id":"plugin:7843983bf90dbae16c6e889382c71b23","title":"Simple Banner","type":"plugin","icon":"","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/simple-banner\/","simpleBannerScriptParams"],"is_default":0,"condition":"simple-banner\/simple-banner.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"76026e82-d9cf-482c-b480-55c57693a184":{"id":"plugin:b6825f971d35a5515d095564a2e40936","title":"Site Kit by Google","type":"plugin","icon":"","exclusions":["google-analytics.com\/analytics.js","ga\\( '","ga\\('","\/gtag\/js","gtag\\(","\/gtm.js"],"is_default":0,"condition":"google-site-kit\/google-site-kit.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"79c458d7-f7f7-4072-919d-ad337bde6ae3":{"id":"plugin:5ce5dfecdc9d3292c69a1413bbd17d3c","title":"Slick Menu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/slick-menu\/"],"is_default":0,"condition":"slick-menu\/slick-menu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"dd0ea584-0c99-4c30-b46d-da35b94c9f0a":{"id":"plugin:ffb5f8cc0ea17886dbd05f601ca3eec0","title":"Slider by Soliloquy","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","soliloquy-min.js","soliloquy_slider"],"is_default":0,"condition":"soliloquy-lite\/soliloquy-lite.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"ecb2fffc-d289-4f68-ae94-71131f17deee":{"id":"plugin:2f373822dceb191c31c8ad2183d51869","title":"Smart Slider 3","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/smart-slider-3\/(.*).js","_N2"],"is_default":0,"condition":"smart-slider-3\/smart-slider-3.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"284ede43-bf80-419e-8414-46c26cb746f0":{"id":"plugin:720ec9fbbd8a52ce525959a68a5310b3","title":"Smart Slider 3 Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/SmartSlider3\/(.*).js","_N2"],"is_default":0,"condition":"nextend-smart-slider3-pro\/nextend-smart-slider3-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"c3334c29-4160-42df-a1ce-f8aeeaee8668":{"title":"Super Socializer","condition":"super-socializer\/super_socializer.php","exclusions":["theChamp","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"icon_url":"","type":"plugin","id":"plugin:660defe26748470c3a47366cd4012579","is_default":0,"created_at":1677853633},"f18b4242-fe3f-4e2b-bfc9-ac2fb3939a90":{"title":"Superfly Menu","condition":"superfly-menu\/main.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate((.*?)(.min?)?).js","\/superfly-menu\/includes\/vendor\/looks_awesome\/icon_manager\/js\/md5.js","\/superfly-menu\/includes\/vendor\/looks_awesome\/icon_manager\/js\/util.js","\/superfly-menu\/js\/public.min.js","window.SFM_is_mobile","var SFM_skew_disabled","var SFM_template"],"icon_url":"","type":"plugin","id":"plugin:ccb15175093bc6c437b78797f0698a7b","is_default":0,"created_at":1684301673},"1a05c00a-8562-45bc-80e8-987a4574b1c9":{"title":"Symplr Ads","condition":"symplr-ads\/symplr-plugin.php","exclusions":["\/symplr-ads\/","cdns.symplr.de"],"icon_url":"","type":"plugin","id":"plugin:3b6d39e28a87e86c4659491e2368ff61","is_default":0,"created_at":1692199959},"858d2d7f-bdac-4d27-ba26-baa9ace96ba4":{"id":"plugin:7d93008296bb5c7c43d4cba185ed2632","title":"Tabby Responsive Tabs","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/tabby-responsive-tabs\/js\/tabby.js","RESPONSIVEUI"],"is_default":0,"condition":"tabby-responsive-tabs\/tabby-responsive-tabs.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"e44a5c93-bb77-4624-a121-d846905137ea":{"id":"plugin:2f563bbb7e92363ec3fb2989a1c7dffe","title":"The Plus Addons for Elementor","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/theplus-addons\/(.*)"],"is_default":0,"condition":"the-plus-addons-for-elementor-page-builder\/theplus_elementor_addon.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"2bbac961-b000-4802-ae97-d52472ec6750":{"title":"The Plus Addons for Elementor Premium","condition":"theplus_elementor_addon\/theplus_elementor_addon.php","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>)","\/wp-content\/plugins\/theplus_elementor_addon\/","\/elementor\/","\/elementor-pro\/","\/wp-includes\/js\/imagesloaded.min.js","ElementorProFrontendConfig","elementorFrontendConfig"],"icon_url":"","type":"plugin","id":"plugin:6e127deaaeefbe57ff945b1f9e274518","is_default":0,"created_at":1688143611},"666b45e8-749c-4140-bd17-e1cd589e03ee":{"id":"plugin:b9c418b47c986935a1151ab9b42f8971","title":"ThemeREX Addons","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/trx_addons\/js\/__scripts-full.js","\/trx_addons\/components\/cpt\/layouts\/shortcodes\/menu\/superfish.min.js"],"is_default":0,"condition":"trx_addons\/trx_addons.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"a750cada-eb58-4df4-9966-21c8a69332ba":{"id":"plugin:75af9efe22c5cc776636266feb55adf1","title":"Thrive Architect","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"is_default":0,"condition":"thrive-visual-editor\/thrive-visual-editor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"13714cde-680e-4ca4-8607-c35952d6a5f2":{"title":"Thrive Comments","condition":"thrive-comments\/thrive-comments.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/thrive-leads\/","window.TL_Const","var ml=","\/thrive-comments\/assets\/js\/","ThriveComments","\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/backbone.min.js"],"icon_url":"","type":"plugin","id":"plugin:6a72d06ca2f6a888b0d9d5ea93af2edc","is_default":0,"created_at":1677852974},"aa7ca898-499f-4f04-b419-3de199996969":{"id":"plugin:b84d82c02cade64ade00712b9c5652aa","title":"Thrive Leads","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/thrive-leads\/","window.TL_Const","var ml=","\/thrive-comments\/assets\/js\/","ThriveComments","\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/backbone.min.js"],"is_default":0,"condition":"thrive-leads\/thrive-leads.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"9eee297a-8241-4ef2-af97-46074bd0898c":{"id":"plugin:5bb61b0559b0a3fd578315b553451327","title":"Thrive Quiz Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"is_default":0,"condition":"thrive-quiz-builder\/thrive-quiz-builder.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"c2f3ec2a-5b09-4845-aa95-84841783fbfc":{"id":"plugin:a7f3e5206abff19ca7cf142260181738","title":"Thrive Ultimatum","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/thrive-ultimatum\/","var TVE_Ult_"],"is_default":0,"condition":"thrive-ultimatum\/thrive-ultimatum.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"d48b8d2f-e071-4a30-840a-306154a115a0":{"id":"plugin:f57be2014b6a489d053f8367fa6c0f9f","title":"Tidio Chat","type":"plugin","icon":"","exclusions":["document.tidioChatCode"],"is_default":0,"condition":"tidio-live-chat\/tidio-elements.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"cb6d33ed-7eb4-4ff9-9ad0-7fc54fbecf6f":{"id":"plugin:c9e0485ec256d4a6a8d92a98c18d76fc","title":"Toolset Blocks","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","toolsetCommonEs.fontToHead","toolsetCommonEs.styleToHead","\/toolset-blocks\/vendor\/toolset\/blocks\/public\/js\/frontend.js","\/toolset-blocks\/vendor\/toolset\/common-es\/public\/toolset-common-es-frontend.js","\/toolset-blocks\/public\/js\/views-frontend.js","\/wp-includes\/js\/underscore.min.js"],"is_default":0,"condition":"toolset-blocks\/wp-views.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"4bac6350-0925-49fb-904a-372f22fd6baf":{"id":"plugin:71beda322b37f7fc7d456822493cb972","title":"Top Bar Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/plugins\/topbar-pro\/js\/tpbr_front.min.js","\/plugins\/topbar-pro\/js\/jquery.cookie.js"],"is_default":0,"condition":"topbar-pro\/topbar_pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"033486e7-0ddc-4915-a848-31504d00448e":{"title":"Twenty20 Image Before-After","condition":"twenty20\/ttwenty.php","exclusions":["\/twenty20\/assets\/js\/(.*).js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","twentytwenty-container"],"icon_url":"","type":"plugin","id":"plugin:23441bba9d3602bc932d697c7cb8aa1f","is_default":0,"created_at":1677858089},"7675a34d-006e-4672-99d5-a81e1b8e47f9":{"id":"plugin:3d59cc34167a7f8123e66b627148e0b7","title":"UberMenu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ubermenu\/assets\/js\/ubermenu.min.js"],"is_default":0,"condition":"ubermenu\/ubermenu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"8233178a-e7b3-43ce-b193-bd0d9c960933":{"id":"plugin:86424c46157c1c7e2e1571055813beee","title":"Ultimate Addons for Elementor","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ultimate-elementor\/assets\/lib\/slick\/slick.min.js","\/ultimate-elementor\/assets\/min-js\/uael-frontend.min.js","\/ultimate-elementor\/assets\/lib\/isotope\/isotope.min.js","\/ultimate-elementor\/assets\/lib\/jquery-element-resize\/jquery_resize.min.js","\/ultimate-elementor\/assets\/lib\/fancybox\/jquery_fancybox.min.js","\/ultimate-elementor\/assets\/lib\/justifiedgallery\/justifiedgallery.min.js","\/elementor-pro\/assets\/js\/frontend.min.js","\/wp-includes\/js\/imagesloaded.min.js","\/js_composer\/assets\/js\/dist\/js_composer_front.min.js","\/elementor\/assets\/lib\/swiper\/swiper.min.js","\/nasa-core\/assets\/js\/min\/jquery.slick.min.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig"],"is_default":0,"condition":"ultimate-elementor\/ultimate-elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"8bddf484-6c78-4147-a4e6-d3039904e5f6":{"title":"Ultimate Addons for Elementor - Mobile Menu","condition":"ultimate-elementor\/ultimate-elementor.php","exclusions":["\/jquery-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/jquery-migrate(.*)(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/ultimate-elementor\/assets\/js\/uael-nav-menu.js","\/ultimate-elementor\/assets\/min-js\/uael-nav-menu.min.js"],"icon_url":"","type":"plugin","id":"plugin:70cfade3a7adbb54196f6acccc5a176f","is_default":0,"created_at":1694771327},"028504f7-b1cd-4318-8a6d-ce186197e89d":{"id":"plugin:0f0a91f0c454021a5ff9fc25c3ed419f","title":"Ultimate Addons for WPBakery Page Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/Ultimate_VC_Addons\/assets\/"],"is_default":0,"condition":"Ultimate_VC_Addons\/Ultimate_VC_Addons.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"5754af3d-a6af-49eb-b731-bdd82f26dc4e":{"id":"plugin:34db8636812bad84c8aea037c2ddc8c2","title":"Ultimate Responsive Image Slider","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","sliderPro"],"is_default":0,"condition":"ultimate-responsive-image-slider\/ultimate-responsive-image-slider.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"78ae882d-ae31-4179-b677-8893814938c7":{"title":"Unlimited Elements for Elementor Premium - Slider","condition":"unlimited-elements-for-elementor-premium\/unlimited-elements-pro.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elementor\/","\/elementor-pro\/","ElementorProFrontendConfig","elementorFrontendConfig","\/unlimited-elements-for-elementor-premium\/","uc_"],"icon_url":"","type":"plugin","id":"plugin:17260bc347b8c29bee0010e9ec164184","is_default":0,"created_at":1683270377},"051cbfbb-7ad2-4f06-a493-3cf423a80904":{"id":"plugin:6717ef5673a956bc08ca4a5117065d53","title":"Variation Swatches for WooCommerce","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jquery\/ui\/","\/woo-variation-swatches\/","\/woo-variation-swatches-pro\/","underscore.min.js"],"is_default":0,"condition":"woo-variation-swatches\/woo-variation-swatches.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"6879caba-7224-4eca-bcb2-370785b495ea":{"id":"plugin:57597b7683e01892932083413f085134","title":"Web Accessibility By accessiBe","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/accessibe\/","acsbJS"],"is_default":0,"condition":"accessibe\/accessiebe.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"bd6732fe-4c2b-40a1-9035-8464057e2da5":{"title":"WooCommerce - Cart Fragments","condition":"woocommerce\/woocommerce.php","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/woocommerce\/assets\/js\/frontend\/cart-fragments.min.js","\/woocommerce\/assets\/js\/js-cookie\/js.cookie.min.js"],"icon_url":"","type":"plugin","id":"plugin:201de694c6fc28c8d580a3b2ca484218","is_default":0,"created_at":1680937567},"d044900d-07e1-4533-9516-33106efcb259":{"title":"WooCommerce - Product description","condition":"woocommerce\/woocommerce.php","exclusions":["\/plugins\/woocommerce\/assets\/js\/frontend\/single-product.min.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"icon_url":"","type":"plugin","id":"plugin:a82644b4c9417ea3a240939a73344700","is_default":0,"created_at":1679309756},"bff953b1-2213-4666-8112-76a84a3cc207":{"title":"WooCommerce - Product Gallery","condition":"woocommerce\/woocommerce.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woocommerce\/?(.*)\/assets\/js\/zoom\/jquery.zoom(.min)?.js","\/woocommerce\/?(.*)\/assets\/js\/photoswipe\/","\/woocommerce\/?(.*)\/assets\/js\/flexslider\/jquery.flexslider(.min)?.js","\/woocommerce\/?(.*)\/assets\/js\/frontend\/single-product(.min)?.js","wc_single_product_params"],"icon_url":"","type":"plugin","id":"plugin:7665868ff97c265628f376523a4f9ecc","is_default":0,"created_at":1686579689},"016e6ddf-c6e7-49ec-bd3f-2585d9e45895":{"title":"WooCommerce - Select2 library","condition":"woocommerce\/woocommerce.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/woocommerce\/assets\/js\/select2\/select2(.*).js"],"icon_url":"","type":"plugin","id":"plugin:4bca670bd5d55dd24b17fb0193b0891e","is_default":0,"created_at":1681459540},"b9b2c6d7-944f-4ae3-ae04-c9e2204b9dab":{"id":"plugin:9165c768e978d6ad3f696db8c78ccbb2","title":"WooCommerce Attribute Swatches","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/iconic-woo-attribute-swatches-premium\/assets\/frontend\/js\/main.min.js","\/iconic-woo-attribute-swatches-premium\/assets\/vendor\/flickity\/flickity.pkgd.min.js","iconic_was_vars"],"is_default":0,"condition":"iconic-woo-attribute-swatches-premium\/iconic-woo-attribute-swatches.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"4506c5e9-7349-44c9-9967-34370c83facb":{"title":"WooCommerce Bookings","condition":"woocommerce-bookings\/woocommerce-bookings.php","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/woocommerce-bookings\/dist\/frontend.js","\/wp-includes\/js\/dist\/date.min.js","\/wp-includes\/js\/dist\/vendor\/moment.min.js","\/wp-includes\/js\/jquery\/ui\/datepicker.min.js","\/wp-includes\/js\/underscore.min.js","\/woocommerce\/assets\/js\/jquery-blockui\/jquery.blockUI.min.js","\/wp-includes\/js\/dist\/hooks.min.js"],"icon_url":"","type":"plugin","id":"plugin:14dec6d289b9977fa3a74116feecebcc","is_default":0,"created_at":1693998405},"fec9cd04-c358-45da-a1a8-1668b964016b":{"id":"plugin:456f3b849ba3b6647246aca9d7cdaed5","title":"WooCommerce Product Reviews Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","wc_product_reviews_pro","\/woocommerce-product-reviews-pro\/assets\/js\/frontend\/wc-product-reviews-pro-frontend.min.js","\/woocommerce\/assets\/js\/jquery-tiptip\/jquery.tipTip.min.js"],"is_default":0,"condition":"woocommerce-product-reviews-pro\/woocommerce-product-reviews-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"551a9399-627f-4978-9bae-5cc8e0aefc82":{"id":"plugin:c8577e74eef3b082fb6403760d53f68c","title":"WooCommerce TM Extra Product Options","type":"plugin","icon":"","exclusions":["\/woocommerce-tm-extra-product-options\/assets\/js\/epo.min.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/jquery\/ui\/core.min.js","\/wp-includes\/js\/jquery\/ui\/mouse.min.js","\/wp-includes\/js\/jquery\/ui\/slider.min.js","\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/wp-util.min.js","\/wp-includes\/js\/dist\/hooks.js","\/wp-includes\/js\/dist\/i18n.js"],"is_default":0,"condition":"woocommerce-tm-extra-product-options\/tm-woo-extra-product-options.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"3cac4650-6a52-448e-8e48-e99a772a59a2":{"id":"plugin:c6e6cab8c80fa3fe57d609f72d2d5c56","title":"WooLentor","type":"plugin","icon":"","exclusions":["\/woolementor\/assets\/third-party\/slick\/slick.min.js","\/woolentor-addons","woolentor_addons"],"is_default":0,"condition":"woolentor-addons\/woolentor_addons_elementor.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"67aeb4cb-1a00-4d10-a00c-34888b4c0dba":{"title":"WooThumbs for WooCommerce","condition":"woothumbs-premium\/woothumbs-premium.php","exclusions":["\/wp-includes\/js\/dist\/hooks.min.js","\/wp-includes\/js\/underscore.min.js","\/wp-includes\/js\/wp-embed.min.js","\/wp-includes\/js\/wp-util.min.js","\/woothumbs-premium\/(.*)"],"icon_url":"","type":"plugin","id":"plugin:b97b1d3f627769e1dd8305aa25af993c","is_default":0,"created_at":1679065404},"c7a14763-88d0-4344-a6af-e0a8dc5fa8d5":{"id":"plugin:31b9e812a025e5750a6ef0980ee7d2db","title":"WordPress Mega Menu \u2013 QuadMenu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/quadmenu","#private-menu","#public-menu"],"is_default":0,"condition":"quadmenu\/quadmenu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"f699fdbd-84a7-4f24-b729-3e4a4f83a4dd":{"id":"plugin:601f8fc7d10cad1c2ec2949c0d9b1651","title":"WP Armour","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/honeypot\/includes\/js\/wpa.js","\/wp-armour-extended\/includes\/js\/wpae.js","wpa_hidden_field","wpa_add_test"],"is_default":0,"condition":"wp-armour-extended\/wp-armour-extended.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"6a28aae5-ef91-43fc-8204-92e3a25642b4":{"id":"plugin:5728f3b9856dfe37a36ab15b0a637198","title":"WP Go Maps","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","maps.googleapis.com"],"is_default":0,"condition":"wp-google-maps\/wpGoogleMaps.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"c9b991d1-a653-404b-be85-e276b1814e7d":{"title":"WP Google Map Pro","condition":"wp-google-map-gold\/wp-google-map-gold.php","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","maps.google.com\/maps\/api\/js","\/wp-includes\/js\/masonry.min.js","\/wp-google-map-gold\/(.*)"],"icon_url":"","type":"plugin","id":"plugin:dc12a9b7b9c4c7ce3c532b6b377739f2","is_default":0,"created_at":1677858391},"1f8f9fbf-fbf0-4e3a-b77c-af0fa47e950d":{"id":"plugin:87f572f5f0ec143a8fceba77d0616197","title":"WP Google Maps Pro","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-google-maps(.*)","maps.googleapis.com","mgl_","wpgmza"],"is_default":0,"condition":"wp-google-maps-pro\/wp-google-maps-pro.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"41e4b98c-e63f-4800-a478-02592562322b":{"id":"plugin:3735ca768ede98b25795f4cb057ff4ed","title":"WP iCal Availability","type":"plugin","icon":"","exclusions":["\/wp-ical-availability\/js\/custom-select.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-ical-availability\/"],"is_default":0,"condition":"wp-ical-availability\/wp-ical-availability.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"2b06c5b8-dc32-4bb0-8504-3a9f1c3a1ec0":{"title":"WP MapIt","condition":"wp-mapit\/wp_mapit.php","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-mapit\/wp_mapit\/js\/leaflet.js","\/wp-mapit\/wp_mapit\/js\/wp_mapit_multipin.js"],"icon_url":"","type":"plugin","id":"plugin:ba8d1c7f294a3f5b593556eb3b0bc7d9","is_default":0,"created_at":1679331261},"2039eafd-1c11-4e21-a61b-30857f291ae3":{"id":"plugin:927b8bf7806f2d287559b86a0b455a59","title":"WP Responsive Menu","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-responsive-menu\/(.*)"],"is_default":0,"condition":"wp-responsive-menu\/wp-responsive-menu.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"e06be942-cccd-4b2d-a268-06dc78f0b820":{"title":"WP Search with Algolia","condition":"wp-search-with-algolia\/algolia.php","exclusions":["\/wp-search-with-algolia\/js\/algoliasearch\/dist\/algoliasearch-lite.umd.js","\/wp-search-with-algolia\/js\/autocomplete-noconflict.js","\/wp-search-with-algolia\/js\/autocomplete.js\/dist\/autocomplete.min.js","var algolia"],"icon_url":"","type":"plugin","id":"plugin:43267e659d599fbb6b42c719b49bb7a7","is_default":0,"created_at":1677857180},"4fc2a7ae-b9e6-410e-93cf-e6d1962add6a":{"id":"plugin:4fb90fc73fc2b5d1e37ea2dadfd3cef3","title":"WP Smart Preloader","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/wp-smart-preloader\/assets\/js\/wsp-main-script(.min)?.js"],"is_default":0,"condition":"wp-smart-preloader\/wp-preloader.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7ecf40ce-2bcd-412c-bb01-9e71fecf6be8":{"id":"plugin:d37bb5054a24471ca1675d9ab49d01b0","title":"WP Store Locator","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/wp-store-locator\/","\/wp-includes\/js\/underscore.min.js","maps.google.com"],"is_default":0,"condition":"wp-store-locator\/wp-store-locator.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7a1d19a2-3a48-40ab-8051-f642fc63ce2d":{"title":"WP Ultimate Post Grid","condition":"wp-ultimate-post-grid\/wp-ultimate-post-grid.php","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/wp-ultimate-post-grid\/dist\/public.js","\/wp-ultimate-post-grid-premium\/dist\/public-premium.js","wpupg_grid_args"],"icon_url":"","type":"plugin","id":"plugin:e24341fef49bd64b89682d583218c108","is_default":0,"created_at":1686597940},"76c86163-ddf3-4113-b620-de9d5058f505":{"id":"plugin:517d7d24da9a7072ed389d0fb30374a0","title":"WPBakery Page Builder","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/js_composer\/assets\/js\/dist\/js_composer_front.min.js"],"is_default":0,"condition":"js_composer\/js_composer.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"4f5e5b98-c326-4b9f-9ada-3b257862132c":{"id":"plugin:1ec7138c950c355e7af60d49c81139fc","title":"wpDataTables","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wpdatatables\/","highcharts"],"is_default":0,"condition":"wpdatatables\/wpdatatables.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"18be1b8c-0bc4-4a01-abc6-a127aff380c6":{"id":"plugin:c62ca58ea081c1271de8dadfa7daac69","title":"WPForms","type":"plugin","icon":"","exclusions":["\/wpforms-offline-forms\/assets\/js\/wpforms-offline-forms.min.js","wpforms-offline-forms-js-extra","wpformsRecaptchaLoad"],"is_default":0,"condition":"wpforms\/wpforms.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"8a3cacb6-81bd-456a-a1cc-a4025f8e5234":{"id":"plugin:0992ac952c0a05bb35e18b1d5744d346","title":"WPForms Lite","type":"plugin","icon":"","exclusions":["wpformsRecaptchaLoad","\/wpforms-offline-forms\/assets\/js\/wpforms-offline-forms.min.js","wpforms-offline-forms-js-extra"],"is_default":0,"condition":"wpforms-lite\/wpforms.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"98bbd410-5b01-4244-a8eb-715765180328":{"title":"XL WooCommerce Sales Triggers","condition":"xl-woocommerce-sales-triggers\/xl-woocommerce-sales-triggers.php","exclusions":["\/xl-woocommerce-sales-triggers\/assets\/js\/wcst_combined.min.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js"],"icon_url":"","type":"plugin","id":"plugin:ba9e526ddb0157e69757530c6b18b714","is_default":0,"created_at":1677856813},"bf9f9620-dd0e-4e6f-9a45-4eb78a148f42":{"id":"plugin:58663fc781232169e865f6fe7cf1afaa","title":"YITH WooCommerce Ajax Product Filter","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/yith-woocommerce-ajax-navigation\/assets\/js\/yith-wcan-shortcodes.min.js"],"is_default":0,"condition":"yith-woocommerce-ajax-navigation\/init.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"b053279d-e07c-438c-bb3e-3a1f4f5d7c5e":{"id":"plugin:68b637fd247e40c8e135e4771d739b07","title":"YITH WooCommerce AJAX Product Filter Premium","type":"plugin","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/yith-woocommerce-ajax-product-filter-premium\/assets\/js\/yith-wcan-shortcodes.min.js"],"is_default":0,"condition":"yith-woocommerce-ajax-product-filter-premium\/init.php","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"d94dbbf3-bcab-4e47-9fbb-6b3a7cf92787":{"title":"Yotpo Social Reviews for Woocommerce","condition":"yotpo-social-reviews-for-woocommerce\/wc_yotpo.php","exclusions":["\/yotpo-social-reviews-for-woocommerce\/assets\/js\/headerScript.js"],"icon_url":"","type":"plugin","id":"plugin:45ab742b3fccbd04d7bc973c8582be87","is_default":0,"created_at":1680686421}},"themes":{"9c623554-5834-4669-9e96-1b894c1939b2":{"id":"theme:0193ea55fce2ada93b262f2824008c0f","title":"Andaman","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/andaman\/assets\/js\/","\/wp-andaman-plugins\/shortcodes\/vc_extend\/"],"is_default":0,"condition":"andaman","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"7374c5a5-69f8-460f-b44f-dee884a824cd":{"id":"theme:24cbda63f1b898ade5562ab4ec6d97a5","title":"Artale","type":"theme","icon":"","exclusions":["\/artale-elementor\/assets\/js\/modulobox.js","\/artale-elementor\/assets\/js\/artale-elementor.js","\/artale\/js\/jquery-stellar.js","\/artale\/js\/core\/artale-plugins.js","\/artale\/js\/core\/artale-custom.js","var loader"],"is_default":0,"condition":"artale","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"03a9cc62-c167-447d-beb2-65c76c96b056":{"title":"Astra","condition":"astra","exclusions":["\/astra\/assets\/js\/minified\/frontend.min.js"],"icon_url":"","type":"theme","id":"theme:3cce5f3eaf76e098ba8e28f7bbba3f92","is_default":0,"created_at":1681390022},"2a2b54cb-8e1d-49d2-bfca-93eee231e470":{"id":"theme:72a8d63e59c10bdf512a62b862d143a7","title":"Astra - Carousel","type":"theme","icon":"","exclusions":["var astra","\/astra\/assets\/js\/minified\/style.min.js"],"is_default":0,"condition":"astra","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7783361f-66fc-4d95-a054-4e9545bb5b48":{"title":"Auteur","condition":"g5plus-auteur","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/g5plus-auteur\/assets\/js\/core.min.js","\/g5plus-auteur\/assets\/vendors\/","\/auteur-framework\/libs\/smart-framework\/assets\/vendors\/perfect-scrollbar\/js\/perfect-scrollbar.jquery.min.js","\/wp-includes\/js\/imagesloaded.min.js"],"icon_url":"","type":"theme","id":"theme:6207fe478e269e7547bda70a46607a49","is_default":0,"created_at":1679737107},"4c618038-8fc7-4d48-8d41-a32da14e5c1e":{"title":"AutoTrader","condition":"autotrader","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/autotrader\/(.*).js"],"icon_url":"","type":"theme","id":"theme:046dfeee2b77390c53e0e7f93b6a3792","is_default":0,"created_at":1679736741},"18f04f23-35a0-4c45-8cb6-a91d57ca1790":{"id":"theme:835da12f43373029659f766920e81b47","title":"Avada - Animations & mobile-specific actions","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/uploads\/fusion-scripts\/(.*).js","window.off_canvas_","\/plugins\/fusion-builder\/","\/plugins\/fusion-core\/","\/Avada\/includes\/"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"90135867-1b95-498b-80d6-f5dbf2f6b318":{"title":"Avada - FAQ shortcode","condition":"Avada","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/plugins\/fusion-core\/js\/min\/avada-faqs.js"],"icon_url":"","type":"theme","id":"theme:b084708c80d8582546e5430219aa4670","is_default":0,"created_at":1678277160},"d23b5bb1-1d7f-4109-bf69-b20a2be2d337":{"id":"theme:5e7a2248e1a53d9bb27b187deb541248","title":"Avada - Fusion carousel","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/includes\/lib\/assets\/min\/js\/library\/jquery.carouFredSel.js","\/includes\/lib\/assets\/min\/js\/general\/fusion-carousel.js","fusionCarouselVars"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"98dfa8c1-e72a-4cef-a0b2-8f0c322490fc":{"id":"theme:f16fb109027f4994a7649a8b1663e6f7","title":"Avada - Fusion form","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/fusion-builder\/assets\/js\/min\/general\/fusion-form.js","\/fusion-builder\/assets\/js\/min\/general\/fusion-form-logics.js","\/includes\/lib\/assets\/min\/js\/library\/cssua.js","\/includes\/lib\/assets\/min\/js\/general\/fusion.js","\/includes\/lib\/assets\/min\/js\/library\/modernizr.js"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"026801fa-af67-47ba-b966-347693f0585f":{"id":"theme:33f50696d353d8bd4eb59ff6e8f44c97","title":"Avada - Fusion grid gallery","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/fusion-builder\/assets\/js\/min\/general\/fusion-gallery.js","\/includes\/lib\/assets\/min\/js\/library\/imagesLoaded.js","\/includes\/lib\/assets\/min\/js\/library\/isotope.js","\/includes\/lib\/assets\/min\/js\/library\/packery.js","\/includes\/lib\/assets\/min\/js\/library\/lazysizes.js"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"c8349314-15a3-481e-973b-e4d936e4420e":{"id":"theme:56fa9993a573540c83eda9c49fae5e3c","title":"Avada - Fusion slider","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/fusion-core\/js\/min\/avada-fusion-slider.js","\/Avada\/includes\/"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"7a04bc85-0fec-4487-ae05-bb2e5d8d0420":{"title":"Avada - Load Portfolio on pageload","condition":"Avada","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/library\/packery.js","\/library\/isotope.js","\/library\/imagesLoaded.js","\/general\/fusion-lightbox.js","\/fusion-core\/js\/min\/avada-portfolio.js"],"icon_url":"","type":"theme","id":"theme:c3f0ed4d94499b68c77d95db37d1d399","is_default":0,"created_at":1696601814},"55bd510c-78aa-49d5-8304-8be2ee2ab0da":{"id":"theme:2189c1c769d65cfc2182e4822847071b","title":"Avada - Mobile menu","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/assets\/min\/js\/general\/avada-menu.js","\/includes\/lib\/assets\/min\/js\/library\/modernizr.js","\/includes\/lib\/assets\/min\/js\/library\/jquery.easing.js"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"ddf00672-c35c-4b68-aeca-925e68bf12b2":{"id":"theme:97a185f08af70c39c7e221faab0f73eb","title":"Avada - OffCanvas","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/uploads\/fusion-scripts\/(.*).min.js","window.off_canvas_"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"17544cc3-9d3a-4611-bc5d-44d04e2786fa":{"title":"Avada - Show the Portfolio grid on page load","condition":"Avada","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/includes\/lib\/assets\/min\/js\/library\/imagesLoaded.js","\/includes\/lib\/assets\/min\/js\/library\/isotope.js","\/includes\/lib\/assets\/min\/js\/library\/lazysizes.js","\/includes\/lib\/assets\/min\/js\/library\/modernizr.js","\/includes\/lib\/assets\/min\/js\/library\/packery.js","\/fusion-core\/js\/min\/avada-portfolio.js","avadaPortfolioVars"],"icon_url":"","type":"theme","id":"theme:9d1a9b0c2ca20fca764a82f197b962fd","is_default":0,"created_at":1696601823},"c6c3347c-14e0-4766-afa5-df33a47f5a5a":{"id":"theme:3ff44421b404c5efffa25e78e479e4ea","title":"Avada - Sticky menu","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/Avada\/assets\/min\/js\/general\/avada-menu.js"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"232596c1-6a6a-4fe8-a5c3-a60fa74a9456":{"id":"theme:0d727d80bb132f17c737e55883fe4be0","title":"Avada - WooCommerce product gallery","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/assets\/min\/js\/general\/avada-woo-product-images.js","\/includes\/lib\/assets\/min\/js\/library\/jquery.flexslider.js"],"is_default":0,"condition":"Avada","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"95ece7e4-3b19-45e5-aa28-14f833c9afca":{"title":"Avesa","condition":"avesa","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/avesa\/js\/main.js","\/avesa\/js\/isotope.js","\/sw_core\/js\/slick.min.js","\/avesa\/js\/bootstrap-datetimepicker.min.js","\/avesa\/js\/bootstrap.min.js"],"icon_url":"","type":"theme","id":"theme:aad8bfcc594eec02e3b0d635198dee5e","is_default":0,"created_at":1679737993},"f2bfe477-4e45-4e52-a7d9-4d0ba3a92258":{"title":"Besa","condition":"besa","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/besa\/js\/"],"icon_url":"","type":"theme","id":"theme:c238e89523c46ca28b08e401f42f6ccc","is_default":0,"created_at":1679738204},"bd94908c-8138-4995-986b-47ec66494bdd":{"title":"BeTheme","condition":"betheme","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/betheme\/","mfn","\/wp-includes\/js\/jquery\/ui\/tabs.min.js","\/wp-includes\/js\/jquery\/ui\/core.min.js"],"icon_url":"","type":"theme","id":"theme:b99156eb9eeb357c0a70bd3bda6861cc","is_default":0,"created_at":1679738639},"6fb2b9d7-6ecc-4260-999c-938fbebdbf01":{"id":"theme:de8504b73ea228d0ea9bbce69752092e","title":"Bridge","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/bridge-creative\/bridge\/js\/","\/wp-includes\/js\/"],"is_default":0,"condition":"bridge","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"65698b6b-85dd-41ef-8fd7-718f1e983dba":{"title":"Car Dealer","condition":"cardealer","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/jquery\/(.*)","\/cardealer\/js\/(.*)"],"icon_url":"","type":"theme","id":"theme:b1111424fff61af8d1e152dcdd6810f6","is_default":0,"created_at":1679737517},"087fb457-a09d-4140-84bd-c9bc1e8195b7":{"title":"CheerUp","condition":"cheerup","exclusions":["\/cheerup\/js\/jquery.sticky-sidebar.js","\/cheerup\/js\/object-fit-images.js","\/cheerup\/js\/jquery.fitvids.js","\/cheerup\/js\/jquery.mfp-lightbox.js","\/cheerup\/js\/ie-polyfills.js","\/cheerup\/js\/theme.js","\/wp-includes\/js\/imagesloaded.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/wp-includes\/js\/jquery\/jquery.min.js"],"icon_url":"","type":"theme","id":"theme:13bcf562f45afb245dc4f76fecfba6d6","is_default":0,"created_at":1696429398},"eb86aedb-91e6-480c-b76c-756ac1da41be":{"title":"Clover","condition":"clover-theme","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/clover-theme\/"],"icon_url":"","type":"theme","id":"theme:89372f3d9321ae09c94488592084da29","is_default":0,"created_at":1679738878},"6e90b649-5736-497f-9bc6-515900cfea8a":{"title":"Divi - Animations","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/Divi\/js\/scripts.min.js","\/Divi\/js\/custom.unified.js","\/js\/magnific-popup.js","var DIVI"],"icon_url":"","type":"theme","id":"theme:c0abf30dba4ff13db836d1b01685953a","is_default":0,"created_at":1679737389},"70916c43-4e02-4932-b6aa-91a1815bc755":{"title":"Divi - Background video","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate.min.js","\/Divi\/js\/custom.unified.js","\/js\/mediaelement\/(.*)","mejs"],"icon_url":"","type":"theme","id":"theme:c7edea41ae6716291e2d32a2ab429209","is_default":0,"created_at":1679738240},"08531785-9818-4e30-903e-564637a2ad7a":{"title":"Divi - Counter module","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/Divi\/js\/scripts.min.js","\/Divi\/js\/custom.unified.js","\/js\/magnific-popup.js","var DIVI","\/Divi\/includes\/builder\/feature\/dynamic-assets\/assets\/js\/easypiechart.js"],"icon_url":"","type":"theme","id":"theme:2c46b9f5a770f260c3f7115bb330b2d5","is_default":0,"created_at":1679736810},"b996762a-84ef-440d-a089-73a187936fbf":{"title":"Divi - Mobile menu","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate.min.js","\/Divi\/js\/scripts.min.js","\/Divi\/js\/custom.unified.js"],"icon_url":"","type":"theme","id":"theme:b9116994f4e4b9b9fa574440c00d2f0d","is_default":0,"created_at":1679738580},"ae096e1e-9c36-46ad-a3d1-c26ea507276b":{"title":"Divi - Sticky elements","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js",".dipi_preloader_wrapper_outer","\/Divi\/js\/scripts.min.js","\/Divi\/includes\/builder\/feature\/dynamic-assets\/assets\/js\/sticky-elements.js","var DIVI"],"icon_url":"","type":"theme","id":"theme:8b62db03c90245f3e690335b079b05dc","is_default":0,"created_at":1679737191},"349f31f0-dd10-41d3-b0a4-9c5df64879f8":{"title":"Divi - Sticky menu","condition":"Divi","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/js\/jquery\/jquery-migrate.min.js","\/Divi\/js\/scripts.min.js","\/Divi\/includes\/builder\/feature\/dynamic-assets\/assets\/js\/magnific-popup.js","jqueryParams","firstHeader"],"icon_url":"","type":"theme","id":"theme:b7b84aca0f0dc6a1ced31d38626c50ea","is_default":0,"created_at":1679738821},"59563458-5f04-4959-b3e2-53e49e169d67":{"title":"Divi - WooCommerce Single Product Images","condition":"Divi","exclusions":["\/Divi\/js\/scripts.min.js"],"icon_url":"","type":"theme","id":"theme:f9c5bdba8b39fc877b41dea00fa756f9","is_default":0,"created_at":1684342262},"6426539e-4e43-4fef-ab5a-3eb7b2a8b057":{"title":"Eikra","condition":"eikra","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate.min.js","\/eikra\/assets\/js\/","EikraObj"],"icon_url":"","type":"theme","id":"theme:55d2581ad975eb6325bc97fc3d3b0cb8","is_default":0,"created_at":1679738450},"59020bd6-069f-4f2d-afa2-fbdefa03211c":{"title":"Ekko","condition":"ekko","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ekko\/"],"icon_url":"","type":"theme","id":"theme:2c06f4a1949f8ba4e77042a47674fd9e","is_default":0,"created_at":1679737803},"d82f5cdd-c5d3-4596-94dc-1e25aaff2083":{"title":"Elessi","condition":"elessi-theme","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/elessi-theme\/assets\/js\/min\/functions.min.js","\/elessi-theme\/assets\/js\/min\/main.min.js"],"icon_url":"","type":"theme","id":"theme:d5d2b7fda7b8a2b5b91d430f7602e230","is_default":0,"created_at":1679737773},"f0587c21-54d0-429d-8efe-18a93dacb18d":{"id":"theme:5fc04cc678cb54567aedb51027933002","title":"Enfold","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/dynamic_avia\/avia-footer-scripts-(.*).js","var avia_is_mobile"],"is_default":0,"condition":"enfold","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"cc0550cb-918e-419d-b4f2-1809cf666dbb":{"id":"theme:eb759a03d0ca292c948f09d004a2963f","title":"Enfold - LayerSlider","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","layerslider"],"is_default":0,"condition":"enfold","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"ec883654-4f63-4fae-a3ef-923dcbc2426d":{"title":"Enfold - Shortcodes","condition":"enfold","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/enfold\/js\/avia.js","\/enfold\/js\/shortcodes.js","\/enfold\/config-templatebuilder\/avia-shortcodes\/","\/enfold\/js\/avia-compat.js","\/enfold\/js\/waypoints\/waypoints.min.js","\/enfold\/js\/avia-snippet-(.*).js"],"icon_url":"","type":"theme","id":"theme:072fc4077d7071791d774d6ddbf5dc2a","is_default":0,"created_at":1684519716},"fe3546f0-be3e-4173-8992-a7f6f203b82f":{"title":"Envision","condition":"envision","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/envision\/lib\/js\/app.min.js","var CloudFwOp"],"is_default":1,"icon_url":"","type":"theme","id":"theme:fc5f7d69b646ed95835badc0fc23bc11","created_at":1679737494},"d997b942-19de-4710-9c81-79d3c65cbd76":{"id":"theme:047f009f2a1f4cdf2088c46be47e385b","title":"Ewebot","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/gt3-themes-core\/","\/uploads\/gt3-assets\/js\/(.*)","\/wp-includes\/js\/imagesloaded.min.js"],"is_default":0,"condition":"ewebot","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"53d29aec-8ae4-4273-b748-f5bd52dfe177":{"title":"Farvis","condition":"farvis","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/farvis\/"],"icon_url":"","type":"theme","id":"theme:26bff2f3a6ff6347d35edf5c77a35687","is_default":0,"created_at":1679737972},"fb01246b-a5f8-4021-b514-c02cf55e80bd":{"title":"Flatsome","condition":"flatsome","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/flatsome\/assets\/js\/flatsome.js","\/flatsome\/assets\/libs\/packery.pkgd.min.js","\/flatsome\/assets\/js\/woocommerce.js"],"icon_url":"","type":"theme","id":"theme:26fb1cf80f074ca199d8a7e94c5fc796","is_default":0,"created_at":1679738732},"4d65dc12-9ce7-4171-94a7-9821fd95240e":{"id":"theme:28a6f8b3319c107a34603be0f01a4bcf","title":"Flatsome - Google map","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","maps.googleapis.com","google.maps.LatLng","\/wp-includes\/js\/hoverIntent.min.js"],"is_default":0,"condition":"flatsome","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"890e15b6-c66b-4a9e-9b7d-55417df94916":{"title":"Flatsome - Images","condition":"flatsome","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/flatsome\/inc\/integrations\/wp-rocket\/flatsome-wp-rocket.js","\/flatsome\/assets\/js\/flatsome.js","\/flatsome\/inc\/extensions\/flatsome-lazy-load\/flatsome-lazy-load.js"],"icon_url":"","type":"theme","id":"theme:f2d60aad9f2f5395e3e145cf8f8ab165","is_default":0,"created_at":1679737691},"cb54d070-8ee0-4c35-9fa9-b2bac73ccf39":{"title":"Frida","condition":"frida","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/frida\/"],"icon_url":"","type":"theme","id":"theme:109ddf56796a5133e12279f3daa5ff62","is_default":0,"created_at":1679738013},"9e78539a-03d9-442b-ab94-dd3b7a9658e4":{"id":"theme:80a330247d61d729fcd78dc01de6ed2f","title":"GeneratePress - Mobile menu","type":"theme","icon":"","exclusions":["\/generatepress\/assets\/js\/menu.min.js","generatepressMenu","\/gp-premium\/menu-plus\/functions\/js\/offside.min.js"],"is_default":0,"condition":"generatepress","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"2c72e7e6-cb77-44e9-af87-d5c42ae6db52":{"title":"Honor - WPBakery fix","condition":"honor","exclusions":["\/honor\/js\/__scripts.js","HONOR_STORAGE","\/js_composer\/"],"icon_url":"","type":"theme","id":"theme:9f228373ff4d172655dbf5cb3b1bc23a","is_default":0,"created_at":1679736895},"9309d1d3-1035-4a2c-8ced-075bc3ff9957":{"title":"HotelMaster","condition":"hotelmaster","exclusions":["\/wp-includes\/js\/jquery\/jquery.min.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/hotelmaster\/javascript\/gdlr-script.js","\/hotelmaster\/plugins\/dl-menu\/modernizr.custom.js","\/hotelmaster\/plugins\/dl-menu\/jquery.dlmenu.js","\/hotelmaster\/plugins\/superfish\/js\/superfish.js","\/hotelmaster\/plugins\/jquery.easing.js"],"icon_url":"","type":"theme","id":"theme:978eaddad3b1047e479407b6d92197aa","is_default":0,"created_at":1679738595},"4a09f745-cbb1-47c8-b50a-c8014d5d1335":{"id":"theme:e813a548bceac6765a1cdf2316f1a6ab","title":"HotelMaster - Blog","type":"theme","icon":"","exclusions":["\/wp-includes\/js\/masonry.min.js","\/gp-premium\/blog\/functions\/js\/scripts.min.js","\/wp-includes\/js\/imagesloaded.min.js"],"is_default":0,"condition":"hotelmaster","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"f2d8f704-ec68-4278-9ca2-885daa0c1ce5":{"id":"theme:398a264e302e42640553681e8759cd07","title":"HotelMaster - Masonry","type":"theme","icon":"","exclusions":["\/gp-premium\/menu-plus\/functions\/js\/offside.min.js","offSide"],"is_default":0,"condition":"hotelmaster","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"df52436c-53d6-461a-b81a-cd0b21680524":{"title":"JNews","condition":"jnews","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate.min.js","\/jnews\/assets\/js\/","jnews","jfla"],"icon_url":"","type":"theme","id":"theme:5d90e451984f9d894b1aabb0d00f30a2","is_default":0,"created_at":1679738860},"87ed69a2-3295-4fad-a82e-eeb02925a5dc":{"title":"Jobify","condition":"jobify","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/jobify\/js\/jobify.min.js","\/jobify\/js\/select2.full.min.js"],"icon_url":"","type":"theme","id":"theme:592006aa4562a6915e344e5e2a09e5ee","is_default":0,"created_at":1686856948},"28a0b1ea-8d2f-4931-a48a-166b8df8a773":{"title":"JOYN","condition":"joyn","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/swift-framework\/includes\/page-builder\/frontend-assets\/js\/lib\/modernizr-custom.js","\/swift-framework\/includes\/page-builder\/frontend-assets\/js\/spb-functions.min.js","\/swift-framework\/includes\/swift-slider\/assets\/js\/swift-slider.min.js","\/swift-framework\/public\/js\/lib\/imagesloaded.pkgd.min.js","\/joyn\/js\/owl.carousel.min.js","\/joyn\/js\/theme-scripts.js","\/joyn\/js\/functions.js"],"icon_url":"","type":"theme","id":"theme:c395470ad2d4d681836cd942bbb03120","is_default":0,"created_at":1679738527},"542be60a-2346-4740-9a41-8a580c4f013c":{"title":"Juno Toys","condition":"junotoys","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate.min.js","\/junotoys\/fw\/js\/core.init.js","\/junotoys\/fw\/js\/core.utils.js","\/junotoys\/fw\/js\/superfish.js","\/junotoys\/fw\/js\/swiper\/swiper.js","\/trx_utils\/shortcodes\/theme.shortcodes.js","\/wp-includes\/js\/jquery\/ui\/(.*)"],"icon_url":"","type":"theme","id":"theme:2acab38e8356d36355bb81d931e7fba4","is_default":0,"created_at":1679737788},"06167710-10c7-446e-a08b-ce676e444102":{"title":"Jupiter","condition":"jupiter","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jupiter\/","\/wp-includes\/js\/underscore.min.js","WebFont.load"],"icon_url":"","type":"theme","id":"theme:89c5c30498c2989611f9044be006197c","is_default":0,"created_at":1679738430},"5d042e1f-7e62-4ec4-ba31-30d396004522":{"title":"JupiterX","condition":"jupiterx","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jupiterx\/(.*).js","\/wp-includes\/js\/underscore.min.js","WebFont.load"],"icon_url":"","type":"theme","id":"theme:b06632962a4948d4944fd8d79ffbfceb","is_default":0,"created_at":1679737312},"c4b030ea-66a1-4729-85bf-a484e373a316":{"title":"Kadence","condition":"kadence","exclusions":["\/kadence\/assets\/js\/navigation.min.js","mobile_menu_breakpoint ","kadenceConfig"],"icon_url":"","type":"theme","id":"theme:4b7907ee68218db279648da9bf7102d1","is_default":0,"created_at":1679737958},"20c605b4-3e3a-4bb0-a5e5-a08e2cb0f31f":{"title":"Kalium","condition":"kalium","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/kalium\/assets\/js\/main.min.js","mobile_menu_breakpoint","var _k"],"icon_url":"","type":"theme","id":"theme:1fcb99a1ab06e1e36635365ed3e59ce5","is_default":0,"created_at":1679737406},"e1e04a7d-635a-4e28-83d9-e345ce40e354":{"title":"Kava","condition":"kava","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/kava\/assets\/js\/theme-script.js"],"icon_url":"","type":"theme","id":"theme:359d67efbf530c998245225dd3245a88","is_default":0,"created_at":1679738609},"e833c36e-ee89-4924-b608-3f28327c2f85":{"title":"Lay","condition":"lay","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/backbone.min.js","\/wp-includes\/js\/underscore.min.js","\/lay\/","\/laytheme-carousel\/","window.laytheme"],"icon_url":"","type":"theme","id":"theme:7c718c6da874ea6e4b27c6d70bc4e7e8","is_default":0,"created_at":1679737453},"2df2ef47-a833-4711-ba54-48dc62586f37":{"id":"theme:85d9922ac61ed833fd047a67029df8e5","title":"LazaNews","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/jquery.custom.js"],"is_default":0,"condition":"lazanews","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"9443304a-34e9-4700-a03a-5f8f62f83ed1":{"title":"Listeo","condition":"listeo","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/listeo\/js\/"],"icon_url":"","type":"theme","id":"theme:db7da585545001f5ae614a2810f08f3a","is_default":0,"created_at":1679737244},"77afa73c-c4a8-42a8-aaee-43f6a761364e":{"title":"ListingPro","condition":"listingpro","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/listingpro\/assets\/lib\/jquerym.menu\/js\/jquery.mmenu.min.all.js","\/listingpro\/assets\/lib\/Magnific-Popup-master\/jquery.magnific-popup.min.js","\/listingpro\/assets\/js\/select2.full.min.js","\/listingpro\/assets\/js\/jquery.city-autocomplete.js","\/listingpro\/assets\/js\/chosen.jquery.min.js","\/listingpro\/assets\/lib\/bootstrap\/js\/bootstrap-slider.js","\/listingpro\/assets\/js\/jquery-ui.js","\/listingpro\/assets\/js\/mapbox.js","\/listingpro\/assets\/js\/main.js","\/listingpro\/assets\/js\/leaflet.markercluster.js","maps"],"icon_url":"","type":"theme","id":"theme:0b365e43dfc65d2b1b70fac6510c7c9c","is_default":0,"created_at":1679737938},"01b369b5-b578-4314-8e95-40b67a41d75a":{"title":"Master Study","condition":"masterstudy","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/masterstudy\/assets\/js\/custom.js ","\/masterstudy\/assets\/vendors\/jquery.fancybox.min.js ","\/masterstudy\/assets\/js\/select2.full.min.js"],"icon_url":"","type":"theme","id":"theme:0ee224c20e4ef7d546733d933db598f2","is_default":0,"created_at":1679737878},"6b000cc7-d33b-4109-9c39-6119a5d81cde":{"title":"Maya","condition":"maya","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/maya\/js\/jquery.mobilemenu.js","\/maya\/js\/jquery.custom.js","\/maya\/core\/includes\/js\/jquery.tipsy.js"],"icon_url":"","type":"theme","id":"theme:719fe28004fcdd81a820602924aa8074","is_default":0,"created_at":1679737916},"ef3c76d6-1041-473d-81ea-a5a6e8c86735":{"title":"MH Magazine","condition":"mh-magazine","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/mh-magazine\/"],"icon_url":"","type":"theme","id":"theme:2a0cd6efc2f46be69de61712729a2ec9","is_default":0,"created_at":1679737743},"9cbb2777-5524-43b8-af36-692b27452c0d":{"title":"Minimog","condition":"minimog","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/minimog\/"],"icon_url":"","type":"theme","id":"theme:61c0c235042359ee7d2a9035e79a7da2","is_default":0,"created_at":1679738135},"7eb81c74-8062-4a6c-bf66-b7c5bc160141":{"title":"Moozo Elementor","condition":"moozo-elementor","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/moozo-elementor\/assets\/js\/countdown.js","\/moozo-elementor\/assets\/vendor\/countdown\/countdown.min.js"],"icon_url":"","type":"theme","id":"theme:2ddb538c8e6b6c766fffd0d5c861fd82","is_default":0,"created_at":1679738623},"e90b7bfa-9ff6-4e1a-bf29-6207d55fdd39":{"title":"Motor","condition":"motor","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/motor\/js\/"],"icon_url":"","type":"theme","id":"theme:b33538179f5661a86cbe327a1793e199","is_default":0,"created_at":1683973354},"445e625a-f955-41fa-84de-65d9ea19be07":{"title":"My Listing","condition":"my-listing","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/my-listing\/assets\/","\/wp-includes\/js\/dist\/vendor\/moment.min.js","maps.googleapis.com","MyListing","_Explore_Settings"],"icon_url":"","type":"theme","id":"theme:afacb777229ddf5cabceacc64948057d","is_default":0,"created_at":1679737725},"00b8cd2d-2781-4fbb-ac5d-00750ba94ac9":{"title":"Neve - Mobile menu","condition":"neve","exclusions":["\/neve\/assets\/js\/build\/modern\/frontend.js"],"icon_url":"","type":"theme","id":"theme:5ae731cc06dd9284f8172675a6fe81ab","is_default":0,"created_at":1679738714},"483abc54-f1fc-47dc-bfc1-a269c7d1c849":{"title":"Newspaper - Images","condition":"Newspaper","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","tagdiv_theme.min.js","tdBlocksArray","\/wp-includes\/js\/underscore.min.js","\/td-cloud-library\/assets\/js\/","\/npm\/slick-carousel@1.8.1\/slick\/slick.min.js","tdb-gallery-wrap","tdBlocksArray","tdb_"],"icon_url":"","type":"theme","id":"theme:649ff22527bac2b1c8e0115cd3851d53","is_default":0,"created_at":1695805761},"50db8d14-d421-4237-be14-a6f7b5c11ec5":{"title":"Newspaper - Slider & YouTube","condition":"Newspaper","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","tagdiv_theme.min.js","tdBlocksArray","tdb_globals","td_youtube_list_ids","iosSlider","\/td-cloud-library\/assets\/js\/js_files_for_front.min.js","\/wp-includes\/js\/underscore.min.js","\/td-cloud-library\/assets\/js\/","\/npm\/slick-carousel@1.8.1\/slick\/slick.min.js","tdb-gallery-wrap","tdBlocksArray","tdb_"],"icon_url":"","type":"theme","id":"theme:7e2eeee57ae458c5959342eda6526bf1","is_default":0,"created_at":1695805747},"514f4c30-2b67-4648-960e-dfe1cc401ca5":{"title":"Niva","condition":"niva","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/niva\/js\/","\/sweetthemes-framework\/js\/","mt_typed"],"icon_url":"","type":"theme","id":"theme:c4838f73a344b829ed626635e210dcf4","is_default":0,"created_at":1679738256},"e67ee504-c3b1-455e-88ab-1fae8c830652":{"title":"OceanWP","condition":"oceanwp","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/oceanwp\/"],"icon_url":"","type":"theme","id":"theme:db37af4b7d12695d37d9256313a5f37a","is_default":0,"created_at":1679737552},"e44e240a-8765-4f4f-b67e-d54e4b727506":{"title":"OceanWP - Mobile menu","condition":"oceanwp","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/ocean-side-panel\/assets\/js\/side-panel.min.js","\/oceanwp\/assets\/js\/theme.vanilla.min.js"],"icon_url":"","type":"theme","id":"theme:9babbcd52b2ce558d299a06cd1130a11","is_default":0,"created_at":1679738463},"897b0100-958d-4a02-b6b2-1e753e9869f4":{"title":"PenNews","condition":"pennews","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/pennews\/js\/script.min.js","\/pennews\/js\/script.lib.min.js"],"icon_url":"","type":"theme","id":"theme:02811fa00bc1471bb5be0457ce0ee005","is_default":0,"created_at":1679737471},"edd3ba03-e0fd-4b6e-911b-60b29f3471bf":{"title":"Pharmacy Mentor","condition":"pharmacymentor","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/pharmacymentor\/"],"icon_url":"","type":"theme","id":"theme:3188aaf1ef2c39937450f2a14ebb1174","is_default":0,"created_at":1679738214},"725415ff-cc76-45cc-a131-3170e5aa30fc":{"title":"Porto","condition":"porto","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/jquery\/ui\/","\/porto\/js\/theme.js","\/porto\/js\/theme.min.js"],"icon_url":"","type":"theme","id":"theme:8493f398f200c8dffe60d46439dd3360","is_default":0,"created_at":1679737758},"2c19bcec-f3ff-4873-bfd7-db6bc0f6433c":{"title":"Porto - Owl Carousel","condition":"porto","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>)","\/wp-includes\/js\/jquery\/ui\/","\/porto\/js\/theme(|.min).js","\/porto\/js\/libs\/owl.carousel(|.min).js","\/porto\/js\/theme-async(|.min).js","\/prettyPhoto\/jquery.prettyPhoto(|.min).js"],"icon_url":"","type":"theme","id":"theme:f34f5199fb7fca78852cd3fb7758f178","is_default":0,"created_at":1687527252},"31347ccb-f69e-4cd3-bd47-b80ce14ac76e":{"title":"ProPhoto","condition":"prophoto7","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/prophoto7\/js\/bundle.front.js","\/wp-includes\/js\/underscore.min.js","PROPHOTO"],"icon_url":"","type":"theme","id":"theme:a5836a56c4472fade4dc6ebfe2281554","is_default":0,"created_at":1679737425},"a8208c04-865c-49aa-ab96-41e378d391c8":{"title":"Publisher","condition":"publisher","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","\/publisher\/js\/"],"icon_url":"","type":"theme","id":"theme:32c73be0cb175da278c8e2af0811b0d1","is_default":0,"created_at":1679738169},"a0d69f3d-1356-4a1d-a600-2f2f788b8a9a":{"title":"REHub","condition":"rehub-theme","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/rehub-theme\/js\/custom_floatpanel.js"],"icon_url":"","type":"theme","id":"theme:321af1febb74f488cf911380893739b2","is_default":0,"created_at":1679738502},"8b74bbe5-7f32-42df-908f-78c99a8cad82":{"title":"Rey","condition":"rey","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/rey\/scripts-(.*).js","\/rey-core\/assets\/js\/"],"icon_url":"","type":"theme","id":"theme:e46567cd0f3ec9b37e7230dc87eac367","is_default":0,"created_at":1679737011},"5c9115d3-bcbd-49d6-8feb-4880d2b82bfe":{"title":"Rife Free","condition":"rife-free","exclusions":["\/rife-free\/js\/script.min.js","\/rife-free\/js\/isotope.pkgd.min.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","var reJS"],"icon_url":"","type":"theme","id":"theme:74a449954de79625eccc6750e87af8f6","is_default":0,"created_at":1679738107},"6542b2fd-1f91-4862-aa18-11eecc02faaf":{"title":"Roisin","condition":"roisin","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/themes\/roisin\/assets\/js\/main.min.js","\/plugins\/roisin-core\/assets\/js\/roisin-core.min.js","\/wp-includes\/js\/hoverIntent.min.js"],"icon_url":"","type":"theme","id":"theme:8f38fe58034772931110930b91cb6797","is_default":0,"created_at":1685964523},"5a192ad9-d150-4aa0-8efc-d68131cb7a37":{"title":"Sahifa - Mobile Menu","condition":"sahifa","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>)","\/themes\/sahifa\/js\/ilightbox.packed.js","\/translate_a\/element.js"],"icon_url":"","type":"theme","id":"theme:06ebe49f4c1e5b04cece831f8bb198a3","is_default":0,"created_at":1687540363},"7ae9d978-d63c-4a58-beb3-418bebb5b23c":{"title":"Salient","condition":"salient","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js","\/salient\/","winW > bodyW"],"icon_url":"","type":"theme","id":"theme:b3e12d57ac23897be1bb2c673e3fc761","is_default":0,"created_at":1679736950},"35aaa6c5-4a37-4161-b504-fb3ebc4b1148":{"id":"theme:d612db1dd8dc76faa6a36a9ebfd336dc","title":"Salient - Nectar slider","type":"theme","icon":"","exclusions":["\/salient-nectar-slider\/js\/nectar-slider.js","\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ","\/jquery-migrate(.min)?.js"],"is_default":0,"condition":"salient","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"84c95206-3e59-4eb3-a0c9-e2231a1c0a48":{"title":"SEO Lounge","condition":"seolounge","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?$","\/js_composer\/assets\/js\/dist\/js_composer_front.min.js","\/seolounge\/js\/radiantthemes-custom.js","\/seolounge\/js\/radiantthemes-core.min.js"],"icon_url":"","type":"theme","id":"theme:3d72b779d9c4ba6b51cc5b245b141433","is_default":0,"created_at":1691695809},"cd44aa56-088a-40dd-bf1e-f835efa68626":{"title":"Shoptimizer","condition":"shoptimizer","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/shoptimizer\/assets\/js\/lazyload-bg.js","\/shoptimizer\/assets\/js\/main.min.js"],"icon_url":"","type":"theme","id":"theme:6c32b43f4da639e5901574fac6b7d387","is_default":0,"created_at":1679737143},"d2c48a48-430a-4eea-bc05-99b66f1f6a7b":{"title":"SmartMag","condition":"smart-mag","exclusions":["\/smart-mag\/js\/lazyload.js"],"icon_url":"","type":"theme","id":"theme:23d6b7878bd0087addb067db3fa39864","is_default":0,"created_at":1679738490},"dd0d9133-ef17-4dac-b174-9f25d535838f":{"title":"Soledad","condition":"soledad","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/soledad\/js\/main.js","\/soledad\/js\/more-post.js","\/soledad\/js\/libs-script.min.js"],"icon_url":"","type":"theme","id":"theme:d3f78b26c2d11c99230171cc6378d06e","is_default":0,"created_at":1679737664},"d657dc56-5c04-439a-8987-401f89a65bf9":{"title":"Stockholm","condition":"stockholm","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/stockholm\/js\/"],"icon_url":"","type":"theme","id":"theme:fcfff492e00727b63cf5dff9f59bc2a4","is_default":0,"created_at":1679738378},"121f9b1b-d3cd-4dde-915e-0b348abf6687":{"title":"Storefront","condition":"storefront","exclusions":["\/storefront\/assets\/js\/navigation.min.js"],"icon_url":"","type":"theme","id":"theme:f0dca7e4eaedf573d4664be249845942","is_default":0,"created_at":1679738793},"41cfc83f-ff02-4a35-a3b7-e92db213b224":{"title":"StreamTube","condition":"streamtube","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/streamtube\/","\/streamtube-core\/"],"icon_url":"","type":"theme","id":"theme:9772ccddd470688f6bc6aee86e34d29b","is_default":0,"created_at":1679331431},"aec0a548-4c6b-400a-80ed-19a49e0faef0":{"title":"The7","condition":"dt-the7","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/wp-includes\/js\/jquery\/jquery-migrate.min.js","loader-removed","\/Ultimate_VC_Addons\/assets\/min-js\/","\/dt-the7\/","\/js_composer\/"],"icon_url":"","type":"theme","id":"theme:7934c689fd20e30b6bfc69bb9d46cb63","is_default":0,"created_at":1679737892},"538354ff-d69f-40be-b0cc-df3790599dd2":{"title":"TheGem","condition":"thegem","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/thegem\/js\/","gemSettings","thegemSlideshow","tgpLazyItemsOptions"],"icon_url":"","type":"theme","id":"theme:153c54fe73897da838ce39152b1db5a8","is_default":0,"created_at":1679738477},"68f2de3b-e2b8-4edf-b82f-93fd7834c65f":{"title":"Total","condition":"Total","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/Total\/assets\/js\/total.min.js"],"icon_url":"","type":"theme","id":"theme:96b0141273eabab320119c467cdcaf17","is_default":0,"created_at":1679737571},"6dc1cb35-6b50-4da0-9834-dddf169edaa6":{"id":"theme:7c37c885d7fecf788f635734f99e8610","title":"Townhub","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/townhub-add-ons\/assets\/js\/(.*)","\/wp-includes\/js\/dist\/vendor\/react.js","\/wp-includes\/js\/dist\/vendor\/react-dom.js"],"is_default":0,"condition":"townhub","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f484f86b-e316-4871-9322-dee3925349fe":{"title":"Travel Monster - Owl Carousel","condition":"travel-monster","exclusions":["\\\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\\?(.*))?( |'|\"|>)","\/wp-content\/plugins\/wp-travel-engine\/assets\/lib\/owl-carousel(.*)\/owl.carousel(|.min).js","var isRtl"],"icon_url":"","type":"theme","id":"theme:d3e8da87b3affd399205438fbc8a4f05","is_default":0,"created_at":1690822771},"14cb0a85-8bee-491e-99d7-5f20a07f4bdd":{"title":"Uncode","condition":"uncode","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/uncode\/library\/js\/init(.min)?.js","\/uncode\/library\/js\/plugins(.min)?.js","\/uncode\/library\/js\/app(.min)?.js","\/uncode\/library\/js\/woocommerce-uncode(.min)?.js","\/wp-includes\/js\/mediaelement\/mediaelement-and-player.min.js","initHeader","initBox","fixMenuHeight","initRow"],"icon_url":"","type":"theme","id":"theme:18ba19b98aefbb6c0fde6c6bf92e9cfc","is_default":0,"created_at":1679738154},"88e96479-1aa2-4adc-8f07-20bc0368a63f":{"title":"Werkstatt","condition":"werkstatt","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/js\/underscore.min.js","\/werkstatt\/assets\/js\/vendor.min.js","\/werkstatt\/assets\/js\/fullscreen.min.js","\/werkstatt\/assets\/js\/app.min.js"],"icon_url":"","type":"theme","id":"theme:38faa29db5a07b8fef6aee9cc11cafec","is_default":0,"created_at":1679737639},"60c4110b-a960-4d44-b619-6d79514dbf75":{"title":"Woodmart","condition":"woodmart","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/wp-includes\/js\/imagesloaded.min.js","\/woodmart\/js\/scripts\/wc\/","\/woodmart\/js\/scripts\/global\/","\/woodmart\/js\/libs\/owl.carousel.min.js","\/woodmart\/js\/libs\/owl.carousel.js","\/woodmart\/js\/libs\/slick.js","\/woodmart\/js\/libs\/autocomplete.min.js"],"icon_url":"","type":"theme","id":"theme:06338f13cb89e5309ad2eb7e4d457be4","is_default":0,"created_at":1695633901},"119ebd1c-6b46-4f07-8d6a-3498d9c8814f":{"title":"XStore","condition":"xstore","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/xstore\/js\/","\/et-core-plugin\/packages\/st-woo-swatches\/public\/js\/frontend.min.js"],"icon_url":"","type":"theme","id":"theme:3de9d9ba385200548f177d9c704ae92a","is_default":0,"created_at":1679738190},"9a7a548c-07a1-4dff-93fc-6e8230b67853":{"id":"theme:119d329456073aa10969d7cbd9760f28","title":"YOOtheme Pro","type":"theme","icon":"","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","uikit.min.js"],"is_default":0,"condition":"yootheme","created_at":1676435704,"updated_at":"2023-02-15T04:32:17.000000Z","icon_url":""},"f74c499e-b7d9-4590-8671-379f51f468c8":{"title":"Zeen","condition":"zeen","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","\/zeen\/assets\/js\/","\/js.cookie.min.js"],"icon_url":"","type":"theme","id":"theme:acb52844f996627788836366404a3245","is_default":0,"created_at":1679737859}},"scripts":{"dd0c5a5b-ec56-49f9-9aa4-89e1e3a6a28a":{"title":"Amazon Ads","exclusions":["amazon-adsystem.com"],"icon_url":"","type":"script","id":"script:b82a5936d8ea0745016caeb71629ae5d","is_default":0,"created_at":1681390276},"980edf32-c64b-4370-bf23-c62b079e71c3":{"title":"Google AdSense","exclusions":["adsbygoogle"],"icon_url":"","type":"script","id":"script:0206e6040c8ff64b8d6ee5fef2ce1c90","is_default":0,"created_at":1681377840},"2499bb90-0753-4b2b-9bd4-1525f94c7437":{"title":"Google Analytics","exclusions":["google-analytics.com\/analytics.js","ga\\( '","ga\\('"],"icon_url":"","type":"script","id":"script:d86cf69a8b82547a94ca3f6a307cf9a6","is_default":0,"created_at":1681388311},"6f460036-3106-4b8c-9951-d32de9b1258f":{"title":"Google Maps","exclusions":["maps.googleapis.com","maps.google.com"],"icon_url":"","type":"script","id":"script:4d60ab2c6d11d753267484006c23e54c","is_default":0,"created_at":1681390259},"ac2d5720-9418-468c-80a0-3874ee743c0f":{"title":"Google Optimize","exclusions":["a,s,y,n,c,h,i,d,e","googleoptimize.com\/optimize.js","async-hide"],"icon_url":"","type":"script","id":"script:031a0cece38c4739df67f910dcabf1bd","is_default":0,"created_at":1681390261},"122e6ebb-51fd-477f-97fb-559593f1a48b":{"title":"Google Recaptcha","exclusions":["recaptcha"],"icon_url":"","type":"script","id":"script:032cb16577cbf07bc7c02bac83bd936d","is_default":0,"created_at":1681390264},"219277ae-b2ac-4d42-913d-eaea40985295":{"title":"Google Tag Manager","exclusions":["\/gtag\/js","gtag\\(","\/gtm.js","async-hide"],"icon_url":"","type":"script","id":"script:1d3c65b2b03ef35e14df6b163ea3a1f6","is_default":0,"created_at":1681390266},"f632e3f4-20e6-471e-a78d-86afbea63586":{"title":"HubSpot","exclusions":["\/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js","\/jquery-migrate(.min)?.js","js.hsforms.net","hbspt.forms.create"],"icon_url":"","type":"script","id":"script:de4bd8ef4675ebb85a055955de76d0ee","is_default":0,"created_at":1679331623},"5d606add-ffb8-4a06-b295-5f722710fbfd":{"title":"Refari","exclusions":["widget.refari.co","refari"],"icon_url":"","type":"script","id":"script:a705e197b13b47e72a105c923e044358","is_default":0,"created_at":1683797056},"742ec14a-27a1-4789-b9c8-a9c3a3cf7042":{"title":"Reviews.io","exclusions":["\/carousel-inline-iframeless\/dist.js","carouselInlineWidget"],"icon_url":"","type":"script","id":"script:4df445c576f45889506ba175a4c39fdc","is_default":0,"created_at":1684389426},"05d3eb78-f574-49be-95e1-3f11714005d1":{"id":"script:ce7566d1d08cc094b74cf283cf9c56a5","title":"Stripe","type":"script","icon":"","exclusions":["js.stripe.com"],"is_default":0,"condition":"","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""},"b56bf06c-2f8c-4757-b536-a689fb0e75f9":{"title":"Typekit","exclusions":["typekit"],"icon_url":"","type":"script","id":"script:7815e38b93e3b500a632681bd594bd61","is_default":0,"created_at":1681390268},"49c38c0a-43b9-4237-88cb-57ddd519f0ad":{"title":"Venatus Media","exclusions":["\/ad-manager.min.js","__vm_add"],"icon_url":"","type":"script","id":"script:abe11528732aed9a19a97e73b242faa5","is_default":0,"created_at":1681390272},"2c1d0998-8ab5-478c-8eb9-9e375b46363e":{"title":"Wistia","exclusions":["fast.wistia.com"],"icon_url":"","type":"script","id":"script:9a0111f8c3186c1cb3113587c660c041","is_default":0,"created_at":1681390274},"0627fe24-7e9d-400f-b064-d98bec2ba85e":{"id":"script:dbd1875130c71eb4b2ef768ad18d820c","title":"Yandex Ads","type":"script","icon":"","exclusions":["yandex.ru","window.yaContextCb"],"is_default":0,"condition":"","created_at":1676435704,"updated_at":"2023-02-15T04:32:16.000000Z","icon_url":""}}} \ No newline at end of file diff --git a/dynamic-lists-incompatible-plugins.json b/dynamic-lists-incompatible-plugins.json new file mode 100644 index 0000000..8a8b1a4 --- /dev/null +++ b/dynamic-lists-incompatible-plugins.json @@ -0,0 +1 @@ +{"":[{"slug":"wp-super-cache","file":"wp-super-cache\/wp-cache.php"},{"slug":"enable-gzip-compression","file":"enable-gzip-compression\/enable-gzip-compression.php"},{"slug":"quick-cache","file":"quick-cache\/quick-cache.php"},{"slug":"leverage-browser-caching-ninjas","file":"leverage-browser-caching-ninjas\/leverage-browser-caching-ninja.php"},{"slug":"wp-performance-score-booster","file":"wp-performance-score-booster\/wp-performance-score-booster.php"},{"slug":"litespeed-cache","file":"litespeed-cache\/litespeed-cache.php"},{"slug":"remove-query-strings-from-static-resources","file":"remove-query-strings-from-static-resources\/remove-query-strings.php"},{"slug":"wp-http-compression","file":"wp-http-compression\/wp-http-compression.php"},{"slug":"query-strings-remover","file":"query-strings-remover\/query-strings-remover.php"},{"slug":"page-optimize","file":"page-optimize\/page-optimize.php"},{"slug":"speed-booster-pack","file":"speed-booster-pack\/speed-booster-pack.php"},{"slug":"swift-performance","file":"swift-performance\/performance.php"},{"slug":"gzip-ninja-speed-compression","file":"gzip-ninja-speed-compression\/gzip-ninja-speed.php"},{"slug":"super-static-cache","file":"super-static-cache\/super-static-cache.php"},{"slug":"lite-cache","file":"lite-cache\/plugin.php"},{"slug":"hyper-cache","file":"hyper-cache\/plugin.php"},{"slug":"wp-ffpc","file":"wp-ffpc\/wp-ffpc.php"},{"slug":"wp-fast-cache","file":"wp-fast-cache\/wp-fast-cache.php"},{"slug":"psn-pagespeed-ninja","file":"psn-pagespeed-ninja\/pagespeedninja.php"},{"slug":"swift-performance-lite","file":"swift-performance-lite\/performance.php"},{"slug":"force-gzip","file":"force-gzip\/force-gzip.php"},{"slug":"add-expires-headers","file":"add-expires-headers\/add-expires-headers.php"},{"slug":"hyper-cache-extended","file":"hyper-cache-extended\/plugin.php"},{"slug":"gator-cache","file":"gator-cache\/gator-cache.php"},{"slug":"flexicache","file":"flexicache\/wp-plugin.php"},{"slug":"wp-fastest-cache","file":"wp-fastest-cache\/wpFastestCache.php"},{"slug":"wordpress-gzip-compression","file":"wordpress-gzip-compression\/ezgz.php"},{"slug":"wp-optimize","file":"wp-optimize\/wp-optimize.php"},{"slug":"check-and-enable-gzip-compression","file":"check-and-enable-gzip-compression\/richards-toolbox.php"},{"slug":"far-future-expiry-header","file":"far-future-expiry-header\/far-future-expiration.php"},{"slug":"leverage-browser-caching","file":"leverage-browser-caching\/leverage-browser-caching.php"},{"slug":"wpcompressor","file":"wpcompressor\/wpcompressor.php"},{"slug":"combine-css","file":"combine-css\/combine-css.php"},{"slug":"w3-total-cache","file":"w3-total-cache\/w3-total-cache.php"},{"slug":"cache-enabler","file":"cache-enabler\/cache-enabler.php"}],"minify_css||minify_js":[{"slug":"merge-minify-refresh","file":"merge-minify-refresh\/merge-minify-refresh.php"},{"slug":"async-js-and-css","file":"async-js-and-css\/asyncJSandCSS.php"},{"slug":"wp-super-minify","file":"wp-super-minify\/wp-super-minify.php"},{"slug":"fast-velocity-minify","file":"fast-velocity-minify\/fvm.php"},{"slug":"dependency-minification","file":"dependency-minification\/dependency-minification.php"},{"slug":"bwp-minify","file":"bwp-minify\/bwp-minify.php"},{"slug":"minqueue","file":"minqueue\/plugin.php"},{"slug":"scripts-gzip","file":"scripts-gzip\/scripts_gzip.php"},{"slug":"wp-minify","file":"wp-minify\/wp-minify.php"}],"lazyload":[{"slug":"lazy-load","file":"lazy-load\/lazy-load.php"},{"slug":"bj-lazy-load","file":"bj-lazy-load\/bj-lazy-load.php"},{"slug":"jquery-image-lazy-loading","file":"jquery-image-lazy-loading\/jq_img_lazy_load.php"},{"slug":"crazy-lazy","file":"crazy-lazy\/crazy-lazy.php"},{"slug":"specify-image-dimensions","file":"specify-image-dimensions\/specify-image-dimensions.php"},{"slug":"advanced-lazy-load","file":"advanced-lazy-load\/advanced_lazyload.php"}],"minify_js":[{"slug":"wp-js","file":"wp-js\/wp-js.php"},{"slug":"scripts-to-footerphp","file":"scripts-to-footerphp\/scripts-to-footer.php"},{"slug":"combine-js","file":"combine-js\/combine-js.php"},{"slug":"footer-javascript","file":"footer-javascript\/footer-javascript.php"}],"control_heartbeat":[{"slug":"heartbeat-control","file":"heartbeat-control\/heartbeat-control.php"}],"lazyload_iframes":[{"slug":"lazy-load-for-videos","file":"lazy-load-for-videos\/codeispoetry.php"}]} \ No newline at end of file diff --git a/dynamic-lists.json b/dynamic-lists.json new file mode 100644 index 0000000..1326d96 --- /dev/null +++ b/dynamic-lists.json @@ -0,0 +1 @@ +{"rucss_inline_atts_exclusions":["rocket-lazyload-inline-css","divi-style-parent-inline-inline-css","gsf-custom-css","extra-style-inline-inline-css","woodmart-inline-css-inline-css","woodmart_shortcodes-custom-css","rs-plugin-settings-inline-css","divi-style-inline-inline-css","tcb-post-list-dynamic-style","n2-ss-","wpcf7-","siteorigin-panels-layouts-footer","xstore-inline-css-inline-css","assets.reviews.io","ezoicCSS"],"rucss_inline_content_exclusions":[".wp-container-",".wp-elements-","#wpv-expandable-",".custom-content-","#thb-",".et_pb_text_dap_","#gdlr-core-shape-divider","#ultib3-",".uvc-wrap-",".jet-listing-dynamic-post-",".vcex_",".wprm-advanced-list-",".adsslot_",".jnews_",".cp-info-bar.content-","#stockie-custom-","#ohio-custom-",".uid-","#wpfMainWrapper","#penci_","#penci-",".wpbs_s","#apcore_","#apress_","#zolo_",".extended-products-grid#style-",".preloader#style-preloader-",".thegem-heading-",".thegem-button-",".thegem-custom-",".thegem-popup-","#pattern-","#thegem-video-frame-",".qwery_inline_",".dcgd_submit_button",".irs-bar",".gallery-grid-",".cmplz-hidden","#sqbquizouter","#start_sqbquizouter",".flo-header--"],"defer_js_inline_exclusions":["DOMContentLoaded","document.write","window.lazyLoadOptions","N.N2_","rev_slider_wrapper","FB3D_CLIENT_LOCALE","ewww_webp_supported","anr_captcha_field_div","renderInvisibleReCaptcha","bookingInProgress"],"defer_js_external_exclusions":["gist.github.com","content.jwplatform.com","js.hsforms.net","www.uplaunch.com","google.com\/recaptcha","widget.reviews.co.uk","verify.authorize.net\/anetseal","lib\/admin\/assets\/lib\/webfont\/webfont.min.js","app.mailerlite.com","widget.reviews.io","simplybook.(.*)\/v2\/widget\/widget.js","\/wp-includes\/js\/dist\/i18n.min.js","\/wp-content\/plugins\/wpfront-notification-bar\/js\/wpfront-notification-bar(.*).js","\/wp-content\/plugins\/oxygen\/component-framework\/vendor\/aos\/aos.js","\/wp-content\/plugins\/ewww-image-optimizer\/includes\/check-webp(.min)?.js","static.mailerlite.com\/data\/(.*).js","cdn.voxpow.com\/static\/libs\/v1\/(.*).js","cdn.voxpow.com\/media\/trackers\/js\/(.*).js","use.typekit.net","www.idxhome.com","\/wp-includes\/js\/dist\/vendor\/lodash(.min)?.js","\/wp-includes\/js\/dist\/api-fetch(.min)?.js","\/wp-includes\/js\/dist\/i18n(.min)?.js","\/wp-includes\/js\/dist\/vendor\/wp-polyfill(.min)?.js","\/wp-includes\/js\/dist\/url(.min)?.js","\/wp-includes\/js\/dist\/hooks(.min)?.js","www.paypal.com\/sdk\/js","js-eu1.hsforms.net","yanovis.Voucher.js","\/carousel-upsells-and-related-product-for-woocommerce\/assets\/js\/glide.min.js","use.typekit.com","\/artale\/modules\/kirki\/assets\/webfont.js","\/api\/scripts\/lb_cs.js","js.hscta.net\/cta\/current.js","widget.refari.co","player.vdocipher.com"],"delay_js_exclusions":["nowprocket","\/wp-includes\/js\/wp-embed.min.js","lazyLoadOptions","lazyLoadThumb","wp-rocket\/assets\/js\/lazyload\/(.*)","et_core_page_resource_fallback","window.\\$us === undefined","js-extra","fusionNavIsCollapsed","\/assets\/js\/smush-lazy-load","eio_lazy_vars","\\\/lazysizes(\\.min|-pre|-post)?\\.js","document\\.body\\.classList\\.remove\\(\"no-js\"\\)","document\\.documentElement\\.className\\.replace\\( 'no-js', 'js' \\)","et_animation_data","wpforms_settings","var nfForms","\/\/stats.wp.com","_stq.push","fluent_form_ff_form_instance_","cpLoadCSS","ninja_column_","var rbs_gallery_","var lepopup_","var billing_additional_field","var gtm4wp","var dataLayer_content","\/ewww-image-optimizer\/includes\/load[_-]webp(\\.min)?.js","\/ewww-image-optimizer\/includes\/check-webp(\\.min)?.js","ewww_webp_supported","\/dist\/js\/browser-redirect\/app.js","\/perfmatters\/js\/lazyload.min.js","lazyLoadInstance","scripts.mediavine.com\/tags\/","initCubePortfolio","simpli.fi","gforms_recaptcha_","\/jetpack-boost\/vendor\/automattic\/jetpack-lazy-images\/(.*)","jetpack-lazy-images-js-enabled","jetpack-boost-critical-css","wpformsRecaptchaCallback","booking-suedtirol-js","wpcp_css_disable_selection","\/gravityforms\/js\/conditional_logic.min.js","statcounter.com\/counter\/counter.js","var sc_project","\/jetpack\/jetpack_vendor\/automattic\/jetpack-lazy-images\/(.*)","\/themify-builder\/themify\/js\/modules\/fallback(\\.min)?.js","handlePixMessage","var corner_video","cdn.pixfuture.com\/hb_v2.js","cdn.pixfuture.com\/pbix.js","served-by.pixfuture.com\/www\/delivery\/ads.js","served-by.pixfuture.com\/www\/delivery\/headerbid_sticky_refresh.js","serv-vdo.pixfuture.com\/vpaid\/ads.js","wprRemoveCPCSS","window.jdgmSettings","\/photonic\/include\/js\/front-end\/nomodule\/photonic-baguettebox.min.js","\/photonic\/include\/ext\/baguettebox\/baguettebox.min.js","window.wsf_form_json_config","et_link_options_data","FuseboxPlayerAPIKey","js.hscta.net\/cta\/current.js","hbspt.cta.load","consent.cookiebot.com\/uc.js","\/woofilter-pro\/woofilterpro\/js\/ion.rangeSlider.min.js","barra.r7.com\/barra.js","rocket_css_lazyload_launch","#wpr-lazyload-bg"],"js_minify_external":["html5.js","show_ads.js","histats.com\/js","ws.amazon.com\/widgets","\/ads\/","intensedebate.com","scripts.chitika.net\/","jotform.com\/","gist.github.com","forms.aweber.com","video.unrulymedia.com","stats.wp.com","stats.wordpress.com","widget.rafflecopter.com","widget-prime.rafflecopter.com","releases.flowplayer.org","c.ad6media.fr","cdn.stickyadstv.com","www.smava.de","contextual.media.net","app.getresponse.com","adserver.reklamstore.com","s0.wp.com","wprp.zemanta.com","files.bannersnack.com","smarticon.geotrust.com","js.gleam.io","ir-na.amazon-adsystem.com","web.ventunotech.com","verify.authorize.net","ads.themoneytizer.com","embed.finanzcheck.de","imagesrv.adition.com","js.juicyads.com","form.jotformeu.com","speakerdeck.com","content.jwplatform.com","ads.investingchannel.com","app.ecwid.com","www.industriejobs.de","s.gravatar.com","googlesyndication.com","a.optmstr.com","a.optmnstr.com","a.opmnstr.com","adthrive.com","mediavine.com","js.hsforms.net","googleadservices.com","f.convertkit.com","recaptcha\/api.js","mailmunch.co","apps.shareaholic.com","dsms0mj1bbhn4.cloudfront.net","nutrifox.com","code.tidio.co","www.uplaunch.com","widget.reviewability.com","embed-cdn.gettyimages.com\/widgets.js","app.mailerlite.com","ck.page","cdn.jsdelivr.net\/gh\/AmauriC\/","static.klaviyo.com\/onsite\/js\/klaviyo.js","a.omappapi.com\/app\/js\/api.min.js","static.zdassets.com","feedbackcompany.com\/widgets\/feedback-company-widget.min.js","widget.gleamjs.io","phonewagon.com","simplybook.asia\/v2\/widget\/widget.js","simplybook.it\/v2\/widget\/widget.js","simplybook.me\/v2\/widget\/widget.js","static.botsrv.com\/website\/js\/widget2.36cf1446.js","static.mailerlite.com\/data\/","cdn.voxpow.com","loader.knack.com","embed.lpcontent.net\/leadboxes\/current\/embed.js","cc.cdn.civiccomputing.com\/9\/cookieControl-9.x.min.js","cse.google.com\/cse.js","kit.fontawesome.com","cdn.jsdelivr.net\/npm\/mathjax@3\/es5\/tex-mml-chtml.js","static.leadpages.net\/leadbars\/current\/embed.js","booqable.com\/v2\/booqable.js","googleoptimize.com","cdna.hubpeople.com\/js\/widget_standalone_two_modes.js","s3.tradingview.com","www.vbt.io\/ext\/vbtforms.js","cdn.callrail.com","documentcloud.adobe.com\/view-sdk\/main.js","static.cleverpush.com","js.afterpay.com","cdn.enable.co.il\/licenses\/enable-","hcaptcha.com\/1\/api.js","voucher.getavo.it\/public\/js\/yanovis.Voucher.js","js-eu1.hsforms.net","statcounter.com\/counter\/counter.js","snapppt.com","use.typekit.com","secure.gravatar.com\/js\/gprofiles.js","cdn.jsdelivr.net\/npm\/hockeystack","widget.prod.faslet.net","ga.getresponse.com\/script\/ga.js","cognitoforms.com","usercentrics.eu","cdn.amcharts.com","umami","cdn.popt.in\/pixel.js","m2d.m2.ai","pubguru.net","trustindex.io","cdnjs.cloudflare.com\/ajax\/libs\/prism\/","podigee-podcast-player.js","tarteaucitron.io\/load.js","osm.klarnaservices.com\/lib.js","mein.clickskeks.at\/app.js","barra.r7.com\/barra.js","widget.refari.co","widget.reviews.co.uk","player.vdocipher.com","www.instagram.com\/embed.js","smartframe.io"],"js_move_after_combine":["map_fusion_map_","ec:addProduct","ec:addImpression","clear_better_facebook_comments","vc-row-destroy-equal-heights-","dfd-icon-list-","SFM_template","WLTChangeState","wlt_star_","wlt_pop_distance_","smart_list_tip","gd-wgt-pagi-","data-rf-id=","tvc_po=","scrapeazon","startclock","it_logo_field_owl-box_","td_live_css_uid","wpvl_paramReplace","tdAjaxCount","mec_skin_","_wca","_taboola","fbq('trackCustom'","fbq('track'","data.token","sharrre","dfads_ajax_load_ads","tie_postviews","wmp_update","h5ab-print-article","gform_ajax_frame_","gform_post_render","mts_view_count","act_css_tooltip","window.SLB","wpt_view_count","var dateNow","gallery_product_",".flo-block-slideshow-","data='api-key=ct-","ip_common_function()","(\"style#gsf-custom-css\").append","a3revWCDynamicGallery_","#owl-carousel-instagram-","window.FlowFlowOpts","jQuery('.td_uid_","jQuery(\".slider-","#dfd-vcard-widget-","#sf-instagram-widget-",".woocommerce-tabs-","penci_megamenu__","vc_prepareHoverBox","wp-temp-form-div","_wswebinarsystem_already_","#views-extra-css\").text","fusetag.setTargeting","hit.uptrendsdata.com","callback:window.renderBadge","test_run_nf_conditional_logic","cb_nombre","$('.fl-node-","function($){google_maps_","$(\"#myCarousel","et_animation_data=","current_url=\"","CustomEvent.prototype=window.Event.prototype","electro-wc-product-gallery","woof_is_mobile","jQuery('.videonextup","wpp_params","us.templateDirectoryUri=",".fat-gallery-item",".ratingbox","user_rating.prototype.eraseCookie","test_run_nf_conditional","dpsp-networks-btns-wrapper","pa_woo_product_info","sharing_enabled_on_post_via_metabox","#product-search-field-","GOTMLS_login_offset","berocket_aapf_time_to_fix_products_style","window.vc_googleMapsPointer","sinceID_","#ut-background-video-ut-section","+window.comment_tab_width+","dfd-button-hover-in","wpseo-address-wrapper","platform.stumbleupon.com","#woo_pp_ec_button_mini_cart","#supercarousel","blockClass","tdbMenuItem","tdbSearchItem","best_seller_badge","jQuery('#product-top-bar","fb_desc-","FC_regenerate_captcha","wp_post_blocks_vars.listed_posts=[","captcha-hash","mapdata={",".ywpc-char-",").countdowntimer(","jQuery(\"#td_uid_","find('#td_uid_","variation_estimate_msg"],"js_excluded_inline":["document.write","google_ad","edToolbar","gtag","_gaq.push","_gaLt","GoogleAnalyticsObject","syntaxhighlighter","adsbygoogle","ci_cap_","_stq","nonce","post_id","LogHuman","idcomments_acct","ch_client","sc_online_t","_stq","bannersnack_embed","vtn_player_type","ven_video_key","ANS_customer_id","tdBlock","tdLocalCache","wpRestNonce","\"url\":","lazyLoadOptions","adthrive","loadCSS","google_tag_params","clicky_custom","clicky_site_ids","NSLPopupCenter","_paq","gtm","dataLayer","RecaptchaLoad","WPCOM_sharing_counts","jetpack_remote_comment","subscribe-field","contextly","_mmunch","gt_request_uri","doGTranslate","docTitle","bs_ajax_paginate_","bs_deferred_loading_","theChampRedirectionUrl","theChampFBCommentUrl","theChampTwitterRedirect","theChampRegRedirectionUrl","ESSB_CACHE_URL","oneall_social_login_providers_","betterads_screen_width","woocommerce_wishlist_add_to_wishlist_url","arf_conditional_logic","heateorSsHorSharingShortUrl","TL_Const","bimber_front_microshare","setAttribute(\"id\"","setAttribute( \"id\"","TribeEventsPro","peepsotimedata","wphc_data","hc_rand_id","RBL_ADD","AfsAnalyticsObject","_thriveCurrentPost","esc_login_url","fwduvpMainPlaylist","Bibblio.initRelatedContent","showUFC()","#iphorm-","#fancy-","ult-carousel-","theChampLJAuthUrl","f._fbq","Insticator","w2dc_js_objects","cherry_ajax","ad_block_","elementorFrontendConfig","zeen_","disqusIdentifier","currentAjaxUrl","geodir_event_call_calendar_","atatags-","hbspt.forms.create","function(c,h,i,m,p)","dataTable({","rankMath = {","_atrk_opts","quicklinkOptions","ct_checkjs_","WP_Statistics_http","penci_block_","omapi_localized","omapi_data","OptinMonsterApp","tminusnow","nfForms","galleries.gallery_","wcj_evt.prodID","advads_tracking_ads","advadsGATracking.postContext","woopack_config","ulp_content_id","wp-cumulus\/tagcloud.swf?r=","ctSetCookie('ct_checkjs'","woof_really_curr_tax","uLogin.customInit","i18n_no_matching_variations_text","alsp_map_markers_attrs","var inc_opt =","iworks_upprev","yith_wcevti_tickets","window.metrilo.ensure_cbuid","metrilo.event","wordpress_page_root","wcct_info","Springbot.product_id","pysWooProductData","dfd-heading","owl=$(\"#","penci_megamenu","fts_security","algoliaAutocomplete","avia_framework_globals","tabs.easyResponsiveTabs","searchlocationHeader","yithautocomplete","data-parallax-speed","currency_data=","cedexisData","function reenableButton","#wpnbio-show","e.Newsletter2GoTrackingObject","var categories_","\"+nRemaining+\"","cartsguru_cart_token","after_share_easyoptin","location_data.push","thirstyFunctions.isThirstyLink","styles: ' #custom-menu-","function svc_center_","#svc_carousel2_container_","advads.move","elementid","advads_has_ads","wpseo_map_init","mdf_current_page_url","tptn_tracker","dpsp_pin_button_data","searchwp_live_search_params","wpp_params","top.location,thispage","selection+pagelink","ic_window_resolution","PHP.wp_p_id","ShopifyBuy.UI.onReady(client)","orig_request_uri","gie.widgets.load","Adman.Flash","PHP.wp_p_id","window.broadstreetKeywords","var productId =","var flatsomeVars","wc_product_block_data","static.mailerlite.com","amzn_assoc","_bs_getParameterByName","_stq.push","h._remove","var FlowFlowOpts","var WCPFData =","var _beeketing","var _statcounter","var actions =","var current_url","var object_name","var the_ajax_script","var wc_cart_fragments_params","var woocommerce_params","var wpml_cookies","wc_add_to_cart_params","window.broadstreetKeywords","window.wc_ga_pro.available_gateways","xa.prototype","HOUZEZ_ajaxcalls_vars","w2dc_maps_objects","w2dc_controller_args_array","w2dc_map_markers_attrs","YT.Player","WPFC.data","function current_video_","var videodiv","var slider_wppasrotate","wppas_ga","var blockClass","tarteaucitron","pw_brand_product_list","tminusCountDown","pysWooSelectContentData","wpvq_ans89733","_isp_version","price_range_data","window.FeedbackCompanyWidgets","woocs_current_currency","woo_variation_swatches_options","woocommerce_price_slider_params","scriptParams","form-adv-pagination","borlabsCookiePrioritize","urls_wpwidgetpolylang","quickViewNonce","frontendscripts_params","nj-facebook-messenger","var fb_mess_position","init_particles_row_background_script","setREVStartSize","fl-node","PPAccordion","soliloquy_","wprevpublicjs_script_vars","DTGS_NONCE_FRONTEND","et_animation_data","archives-dropdown","loftloaderCache","SmartSliderSimple","var nectarLove","var incOpt","RocketBrowserCompatibilityChecker","RocketPreloadLinksConfig","placementVersionId","var useEdit","var DTGS_NONCE_FRONTEND","n2jQuery","et_core_api_spam_recaptcha","cnArgs","__CF$cv$params","trustbox_settings","aepro","cdn.jst.ai","w2dc_fields_in_categories","jetMenuPublicSettings","JetTricksSettings","aepc_pixel","avadaWooCommerceVars","var isb","fcaPcPost","csrf_token","icwp_wpsf_vars_lpantibot","wpvViewHead","ed_school_plugin","aps_comp_","guaven_woos","__lm_redirect_to","__wpdm_view_count","bookacti.booking_system","nfFrontEnd","view_quote_cart_link","__eae_decode_emails","divioverlays_ajaxurl","var _EPYT_","#ins-heading-","#ins-button-","tve_frontend_options","lb24.src","amazon_Login_accessToken","porto_infinite_scroll",".adace-loader-","adace_load_","tagGroupsAccordiontaggroupscloudaccordion","tagGroupsTabstaggroupscloudtabs","jrRelatedWidgets","UNCODE.initRow","amp_mobile_redirect_disabled","wpgdprcData","wpml_browser_redirect_params","swPreRegister","kboard_settings","ct_ultimate_gdpr_cookie","wcpv_registration_local","www.idxhome.com","arf_footer_cl_logic_call","reload_attached_coupons","var ftpp","forminatorFront","_EPYT_","edd_free_downloads_vars","edd_stripe_vars","var ASP","ecwidOriginalTitle","defaultCategoryId","translation-revision-date","google_conversion_id","hbspt","var marker_locations_","var AdmMyAjax","ifso_page_url","referrer_for_pageload","WoocommerceWidget\/woocommerceWidget.js","var ht_ctc_chat_var","spuvar","var wpilFrontend","urls_polylangREPLACETOID","e.setAttribute('unselectable',on);","try{Typekit.load","iMapsData","var wpforms_user_journey","rocket_lazyload_css_data"],"cache_ignored_parameters":["utm_source","utm_medium","utm_campaign","utm_expid","utm_term","utm_content","utm_id","utm_source_platform","utm_creative_format","utm_marketing_tactic","mtm_source","mtm_medium","mtm_campaign","mtm_keyword","mtm_cid","mtm_content","pk_source","pk_medium","pk_campaign","pk_keyword","pk_cid","pk_content","fb_action_ids","fb_action_types","fb_source","fbclid","campaignid","adgroupid","adid","gclid","age-verified","ao_noptimize","usqp","cn-reloaded","_ga","sscid","gclsrc","_gl","mc_cid","mc_eid","_bta_tid","_bta_c","trk_contact","trk_msg","trk_module","trk_sid","gdfms","gdftrk","gdffi","_ke","redirect_log_mongo_id","redirect_mongo_id","sb_referer_host","mkwid","pcrid","ef_id","s_kwcid","msclkid","dm_i","epik","pp","gbraid","wbraid","ssp_iabi","ssp_iaba","gad","vgo_ee"],"preload_exclusions":["void\\(.*;","(.*)__trashed(.*)"],"exclude_js_files":["\/wp-includes\/js\/dist\/i18n.min.js","\/interactive-3d-flipbook-powered-physics-engine\/assets\/js\/html2canvas.min.js","\/interactive-3d-flipbook-powered-physics-engine\/assets\/js\/pdf.min.js","\/interactive-3d-flipbook-powered-physics-engine\/assets\/js\/three.min.js","\/interactive-3d-flipbook-powered-physics-engine\/assets\/js\/3d-flip-book.min.js","\/google-site-kit\/dist\/assets\/js\/(.*).js","\/wp-live-chat-support\/public\/js\/callus(.*).js"]} \ No newline at end of file diff --git a/inc/3rd-party/3rd-party.php b/inc/3rd-party/3rd-party.php new file mode 100644 index 0000000..79c88ae --- /dev/null +++ b/inc/3rd-party/3rd-party.php @@ -0,0 +1,69 @@ +purgeAll(); + } +} +add_action( 'after_rocket_clean_domain', 'rocket_clean_pagely' ); diff --git a/inc/3rd-party/hosting/presslabs.php b/inc/3rd-party/hosting/presslabs.php new file mode 100644 index 0000000..a909ca9 --- /dev/null +++ b/inc/3rd-party/hosting/presslabs.php @@ -0,0 +1,98 @@ +invalidate_url( $permalink[0], true ); + $cache_handler->invalidate_url( home_url( '/' ), true ); + $cache_handler->purge_cache( 'listing' ); +} + +/** + * We clear the cache for the homepage URL when using "Purge this URL" from the admin bar on the front end. + * + * @since 3.3 + * + * @param string $root WP Rocket root cache path. + * @param string $lang Current language. + * + * @return void + */ +function rocket_pl_clean_home( $root = false, $lang = false ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed + if ( ! $post || ! $permalink ) { + return; + } + + $cache_handler = new \Presslabs\Cache\CacheHandler(); + $cache_handler->invalidate_url( home_url( '/' ), true ); +} + +/** + * Remove WP Rocket functions on WP core action hooks to prevent triggering a double cache clear. + * + * @since 3.3 + * + * @return void + */ +function rocket_pl_remove_partial_purge_hooks() { + // WP core action hooks rocket_clean_post() gets hooked into. + $clean_post_hooks = [ + // Disables the refreshing of partial cache when content is edited. + 'wp_trash_post', + 'delete_post', + 'clean_post_cache', + 'wp_update_comment_count', + ]; + // Remove rocket_clean_post() from core action hooks. + array_map( + function ( $hook ) { + remove_action( $hook, 'rocket_clean_post' ); + }, + $clean_post_hooks + ); + remove_filter( 'rocket_clean_files', 'rocket_clean_files_users' ); +} + +if ( ! defined( 'DISABLE_CDN_OFFLOAD' ) && defined( 'PL_CDN_HOST' ) ) { + /** + * If we have CDN enabled we'll add our HOST to the list. + * + * @since 3.3 + * + * @param array $hosts Array of CDN hosts. + * + * @return array Updated array of CDN hosts + */ + function rocket_add_pl_cdn( $hosts ) { + $hosts[] = constant( 'PL_CDN_HOST' ); + return $hosts; + } + add_filter( 'rocket_cdn_cnames', 'rocket_add_pl_cdn', 1 ); +} diff --git a/inc/3rd-party/hosting/siteground.php b/inc/3rd-party/hosting/siteground.php new file mode 100644 index 0000000..c04178f --- /dev/null +++ b/inc/3rd-party/hosting/siteground.php @@ -0,0 +1,108 @@ + 'Version' ] ); + $version = $sg_optimizer['Version']; + + return $version; +} + +/** + * Checks if SG Optimizer Supercache is active. + * + * @since 3.2.3.1 + * @author Remy Perona + * + * @return bool + */ +function rocket_is_supercacher_active() { + if ( ! version_compare( rocket_get_sg_optimizer_version(), '5.0' ) < 0 ) { + global $sg_cachepress_environment; + + return isset( $sg_cachepress_environment ) && $sg_cachepress_environment instanceof SG_CachePress_Environment && $sg_cachepress_environment->cache_is_enabled(); + } + + return (bool) get_option( 'siteground_optimizer_enable_cache', 0 ); +} + +/** + * Call the cache server to purge the cache with SuperCacher (SiteGround). + * + * @since 2.3 + * + * @return void + */ +function rocket_clean_supercacher() { + if ( ! rocket_is_supercacher_active() ) { + return; + } + + if ( ! version_compare( rocket_get_sg_optimizer_version(), '5.0' ) < 0 ) { + SiteGround_Optimizer\Supercacher\Supercacher::purge_cache(); + } elseif ( isset( $sg_cachepress_supercacher ) && $sg_cachepress_supercacher instanceof SG_CachePress_Supercacher ) { + $sg_cachepress_supercacher->purge_cache(); + } +} + +/** + * Clean WP Rocket cache when cleaning SG cache + * + * @return void + */ +function rocket_sg_clear_cache() { + if ( empty( $_GET['_wpnonce'] ) ) { + return; + } + + if ( ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'sg-cachepress-purge' ) ) { + return; + } + + if ( ! current_user_can( 'rocket_purge_cache' ) ) { + return; + } + + rocket_clean_domain(); +} + +if ( rocket_is_supercacher_active() ) { + add_action( 'admin_post_sg-cachepress-purge', 'rocket_sg_clear_cache', 0 ); + add_action( 'after_rocket_clean_domain', 'rocket_clean_supercacher' ); + add_filter( 'rocket_display_varnish_options_tab', '__return_false' ); + // Prevent mandatory cookies on hosting with server cache. + add_filter( 'rocket_cache_mandatory_cookies', '__return_empty_array', PHP_INT_MAX ); + + /** + * Force WP Rocket caching on SG Optimizer versions before 4.0.5. + * + * @since 3.0.4 + * @author Arun Basil Lal + * + * @link https://github.com/wp-media/wp-rocket/issues/925 + */ + if ( version_compare( rocket_get_sg_optimizer_version(), '4.0.5' ) < 0 ) { + add_filter( 'do_rocket_generate_caching_files', '__return_true', 11 ); + } + + if ( version_compare( rocket_get_sg_optimizer_version(), '5.0' ) < 0 ) { + add_action( 'wp_ajax_sg-cachepress-purge', 'rocket_sg_clear_cache', 0 ); + } else { + add_action( 'wp_ajax_admin_bar_purge_cache', 'rocket_sg_clear_cache', 0 ); + } +} diff --git a/inc/3rd-party/hosting/wp-serveur.php b/inc/3rd-party/hosting/wp-serveur.php new file mode 100644 index 0000000..b129380 --- /dev/null +++ b/inc/3rd-party/hosting/wp-serveur.php @@ -0,0 +1,35 @@ +=' ) + && defined( 'WCML_VERSION' ) + && version_compare( WCML_VERSION, '4.12.6', '>=' ); +} + +if ( rocket_wcml_has_requirements() ) : + /** + * Use Cookie instead of WCSession + * + * @return string + */ + function rocket_wcml_use_cookie_storage() { + return 'cookie'; + } + add_filter( 'wcml_user_store_strategy', 'rocket_wcml_use_cookie_storage', 10, 2 ); + + add_filter( 'rocket_cache_dynamic_cookies', 'rocket_wcml_add_dynamic_cookies' ); + add_filter( 'rocket_cache_mandatory_cookies', 'rocket_wcml_add_mandatory_cookies' ); + add_action( 'updated_option', 'rocket_wcml_reset_settings', 10, 3 ); + + /** + * Reset WP Rocket settings on WCML deactivation. + */ + function rocket_wcml_deactivate() { + remove_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 64 ); + remove_filter( 'rocket_cache_dynamic_cookies', 'rocket_wcml_add_dynamic_cookies' ); + remove_filter( 'rocket_cache_mandatory_cookies', 'rocket_wcml_add_mandatory_cookies' ); + flush_rocket_htaccess(); + rocket_generate_config_file(); + } + add_action( 'deactivate_woocommerce-multilingual/wpml-woocommerce.php', 'rocket_wcml_deactivate', 11 ); + + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 64 ); + +endif; + +/** + * Add dynamic cookies for WCML. + * + * @param array $cookies Cookies. + * + * @return array + */ +function rocket_wcml_add_dynamic_cookies( $cookies ) { + $cookies[] = 'wcml_client_currency'; + $cookies[] = 'wcml_client_currency_language'; + $cookies[] = 'wcml_client_country'; + + return $cookies; +} + +/** + * Add mandatory cookies for WCML. + * + * @param array $cookies Cookies. + * + * @return array + */ +function rocket_wcml_add_mandatory_cookies( $cookies ) { + // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + if ( apply_filters( 'wcml_geolocation_is_used', false ) ) { + // phpcs:enable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + $cookies[] = 'wcml_client_country'; + } + + return $cookies; +} + +/** + * Reset WP Rocket settings when a relevant WCML setting is changed. + * + * @param string $option Option name. + * @param mixed $old_data Old data. + * @param mixed $data New data. + */ +function rocket_wcml_reset_settings( $option, $old_data, $data ) { + $keys_to_check = [ + 'enable_multi_currency', + 'currency_mode', + 'default_currencies', + ]; + + $check_key = function ( $result, $key ) use ( $old_data, $data ) { + $has_value_changed = function ( $key ) use ( $old_data, $data ) { + $get_value = function ( $key, $data ) { + return isset( $data[ $key ] ) ? $data[ $key ] : null; + }; + + return $get_value( $key, $old_data ) !== $get_value( $key, $data ); + }; + + return $result || $has_value_changed( $key ); + }; + + if ( + '_wcml_settings' === $option + && array_reduce( $keys_to_check, $check_key, false ) + ) { + flush_rocket_htaccess(); + rocket_generate_config_file(); + } +} + +/** + * Reset WP Rocket settings on WCML activation. + */ +function rocket_wcml_activate() { + if ( rocket_wcml_has_requirements() ) { + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 64 ); + add_filter( 'rocket_cache_dynamic_cookies', 'rocket_wcml_add_dynamic_cookies' ); + add_filter( 'rocket_cache_mandatory_cookies', 'rocket_wcml_add_mandatory_cookies' ); + flush_rocket_htaccess(); + rocket_generate_config_file(); + } +} +add_action( 'activate_woocommerce-multilingual/wpml-woocommerce.php', 'rocket_wcml_activate', 11 ); diff --git a/inc/3rd-party/plugins/ecommerce/wpshop.php b/inc/3rd-party/plugins/ecommerce/wpshop.php new file mode 100644 index 0000000..fb8ac73 --- /dev/null +++ b/inc/3rd-party/plugins/ecommerce/wpshop.php @@ -0,0 +1,66 @@ +options['force_lang'] ) { + rocket_clean_cache_dir(); + } + } + add_action( 'after_rocket_clean_domain', 'rocket_force_clean_domain_on_polylang' ); + + // Filter mandatory cookies and WP Rocket rewrite rules if Polylang module 'Detect browser language' is enabled. + if ( function_exists( 'PLL' ) && PLL()->options['browser'] ) { + + // Add Polylang's language cookie as a mandatory cookie. + add_filter( 'rocket_cache_mandatory_cookies', 'rocket_add_polylang_mandatory_cookie' ); + + // Remove WP Rocket rewrite rules from .htaccess file. + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 74 ); + } +endif; + +/** + * Add Polylang's language cookie to the mandatory cookies of WP Rocket. + * + * Polylang saves the users preferred language in this cookie by detecting browser language or by user choice + * Adding this as a mandatory cookie prevents WP Rocket from serving the cache when the cookie is not set. + * + * @param array $cookies Array with mandatory cookies. + * @return (array) Array of mandatory cookies with the Polylang cookie appended + * + * @author Arun Basil Lal + * @since 3.0.5 + */ +function rocket_add_polylang_mandatory_cookie( $cookies ) { + $cookies[] = defined( 'PLL_COOKIE' ) ? PLL_COOKIE : 'pll_language'; + + return $cookies; +} + +/** + * Add mandatory cookie to WP Rocket config and remove rewrite rules from .htaccess on Polylang activation. + * + * Add mandatory cookie only if the Polylang module 'Detect browser language' is active. + * Also purge the homepage cache. + * + * @author Arun Basil Lal + * @since 3.0.5 + */ +function rocket_activate_polylang() { + // Read Polylang settings from db. + $polylang_settings = get_option( 'polylang' ); + + if ( isset( $polylang_settings['browser'] ) && ( 1 === (int) $polylang_settings['browser'] ) ) { + // Add Polylang's language cookie as a mandatory cookie. + add_filter( 'rocket_cache_mandatory_cookies', 'rocket_add_polylang_mandatory_cookie' ); + + // Remove WP Rocket rewrite rules from .htaccess file. + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 74 ); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Regenerate .htaccess file. + flush_rocket_htaccess(); + + // Purge homepage cache. + rocket_clean_home(); + } +} +add_action( 'activate_polylang/polylang.php', 'rocket_activate_polylang', 11 ); + +/** + * Remove mandatory cookie and add rewrite rules back to .htaccess when Polylang is deactivated. + * + * @author Arun Basil Lal + * @since 3.0.5 + */ +function rocket_deactivate_polylang() { + // Remove Polylang's language cookie as a mandatory cookie. + remove_filter( 'rocket_cache_mandatory_cookies', 'rocket_add_polylang_mandatory_cookie' ); + + // Add back WP Rocket rewrite rules from .htaccess file. + remove_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 74 ); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Regenerate .htaccess file. + flush_rocket_htaccess(); +} +add_action( 'deactivate_polylang/polylang.php', 'rocket_deactivate_polylang', 11 ); + +/** + * Update mandatory cookie in WP Rocket config file and remove rewrite rules from .htaccess + * when Detect browser language module is enabled / disabled. + * + * @param array $value Array containing Polylang settings before its written to db. + * @return array + * + * @author Arun Basil Lal + * @since 3.0.5 + */ +function rocket_detect_browser_language_status_change( $value ) { + if ( function_exists( 'PLL' ) && PLL()->options['browser'] ) { + + // Add Polylang's language cookie as a mandatory cookie. + add_filter( 'rocket_cache_mandatory_cookies', 'rocket_add_polylang_mandatory_cookie' ); + + // Remove WP Rocket rewrite rules from .htaccess file. + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 74 ); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Regenerate .htaccess file. + flush_rocket_htaccess(); + + // Purge homepage cache. + rocket_clean_home(); + } else { + // Remove Polylang's language cookie as a mandatory cookie. + remove_filter( 'rocket_cache_mandatory_cookies', 'rocket_add_polylang_mandatory_cookie' ); + + // Add back WP Rocket rewrite rules from .htaccess file. + remove_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 74 ); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Regenerate .htaccess file. + flush_rocket_htaccess(); + } + + return $value; +} +add_filter( 'pre_update_option_polylang', 'rocket_detect_browser_language_status_change' ); diff --git a/inc/3rd-party/plugins/mailchimp.php b/inc/3rd-party/plugins/mailchimp.php new file mode 100644 index 0000000..cb06046 --- /dev/null +++ b/inc/3rd-party/plugins/mailchimp.php @@ -0,0 +1,36 @@ +is_dir( $cache_path ) ) { + rocket_mkdir_p( $cache_path ); + } + + if ( ! rocket_direct_filesystem()->exists( $css_path ) ) { + ob_start(); + mailchimpSF_main_css(); + $content = ob_get_contents(); + ob_end_clean(); + + rocket_put_content( $css_path, $content ); + } + + wp_deregister_style( 'mailchimpSF_main_css' ); + wp_register_style( 'mailchimpSF_main_css', $cache_url . 'mailchimpSF_main_css.css', null, MCSF_VER ); +} +add_action( 'init', 'rocket_fix_mailchimp_main_css', PHP_INT_MAX ); diff --git a/inc/3rd-party/plugins/mobile/wp-appkit.php b/inc/3rd-party/plugins/mobile/wp-appkit.php new file mode 100644 index 0000000..68e669f --- /dev/null +++ b/inc/3rd-party/plugins/mobile/wp-appkit.php @@ -0,0 +1,56 @@ +purge_url( $url ); + } + add_action( 'after_rocket_clean_home', 'rocket_clean_nginx_cache_home', 10, 2 ); + + /** + * Clears NGINX cache for a specific URL when using "Purge this URL" from the admin bar on the front end + * + * @since 3.3.0.1 + * @author Remy Perona + * + * @param string $url URL to purge. + * @return void + */ + function rocket_clean_nginx_cache_url( $url ) { + global $nginx_purger; + + if ( ! isset( $nginx_purger ) ) { + return; + } + + if ( ! isset( $_GET['type'], $_GET['_wpnonce'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + return; + } + + if ( false !== strpos( $url, 'index.html' ) ) { + return; + } + + if ( 'page' === substr( $url, -4 ) ) { + return; + } + + $url = str_replace( '*', '', $url ); + + $nginx_purger->purge_url( $url ); + } + add_action( 'after_rocket_clean_file', 'rocket_clean_nginx_cache_url' ); + + /** + * Clean the NGINX cache using Nginx Helper after WP Rocket's cache is purged. + * + * @since 3.3.0.1 + */ + function rocket_clean_nginx_helper_cache() { + if ( isset( $_GET['nginx_helper_action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + return; + } + + do_action( 'rt_nginx_helper_purge_all' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + add_action( 'after_rocket_clean_domain', 'rocket_clean_nginx_helper_cache' ); + + /** + * Clean the NGINX cache after the Used CSS has been generated. + * + * @since 3.12.3 + */ + add_action( 'rocket_rucss_after_clearing_usedcss', 'rocket_clean_nginx_cache_url' ); + add_action( 'rocket_rucss_complete_job_status', 'rocket_clean_nginx_helper_cache' ); + +endif; diff --git a/inc/3rd-party/plugins/page-builder/thrive-visual-editor.php b/inc/3rd-party/plugins/page-builder/thrive-visual-editor.php new file mode 100644 index 0000000..a940aea --- /dev/null +++ b/inc/3rd-party/plugins/page-builder/thrive-visual-editor.php @@ -0,0 +1,16 @@ + $slug ) { + $sfml_slugs[ $key ] = $slug . '?'; + } + + return array_merge( $urls, $sfml_slugs ); +} + +/** + * Add SFML custom urls to caching exclusion when activating the plugin + * + * @since 2.9.3 + */ +function rocket_activate_sfml() { + if ( defined( 'SFML_VERSION' ) ) { + add_filter( 'rocket_cache_reject_uri', 'rocket_add_sfml_exclude_pages', 2, 2 ); + + // Update the WP Rocket rules on the .htaccess. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } +} +add_action( 'activate_sf-move-login/sf-move-login.php', 'rocket_activate_sfml', 11 ); + +/** + * Remove SFML custom urls from caching exclusion when deactivating the plugin + * + * @since 2.9.3 + */ +function rocket_deactivate_sfml() { + if ( defined( 'SFML_VERSION' ) ) { + remove_filter( 'rocket_cache_reject_uri', 'rocket_add_sfml_exclude_pages' ); + + // Update the WP Rocket rules on the .htaccess. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } +} +add_action( 'deactivate_sf-move-login/sf-move-login.php', 'rocket_deactivate_sfml', 11 ); diff --git a/inc/3rd-party/plugins/security/wps-hide-login.php b/inc/3rd-party/plugins/security/wps-hide-login.php new file mode 100644 index 0000000..ecbdabe --- /dev/null +++ b/inc/3rd-party/plugins/security/wps-hide-login.php @@ -0,0 +1,67 @@ +new_login_url() ); + } elseif ( class_exists( '\WPS\WPS_Hide_Login\Plugin' ) ) { + $urls[] = rocket_clean_exclude_file( \WPS\WPS_Hide_Login\Plugin::get_instance()->new_login_url() ); + } + + return $urls; +} + +/** + * Add WPS Hide Login custom url to caching exclusion when activating the plugin + * + * @since 2.11 + */ +function rocket_activate_wps_hide_login() { + add_filter( 'rocket_cache_reject_uri', 'rocket_exlude_wps_hide_login_page', 2, 2 ); + + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Update config file. + rocket_generate_config_file(); +} +add_action( 'activate_wps-hide-login/wps-hide-login.php', 'rocket_activate_wps_hide_login', 11 ); + +/** + * Remove WPS Hide Login custom url from caching exclusion when deactivating the plugin + * + * @since 2.11 + */ +function rocket_deactivate_wps_hide_login() { + remove_filter( 'rocket_cache_reject_uri', 'rocket_exlude_wps_hide_login_page' ); + + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Update config file. + rocket_generate_config_file(); +} +add_action( 'deactivate_wps-hide-login/wps-hide-login.php', 'rocket_deactivate_wps_hide_login', 11 ); diff --git a/inc/3rd-party/plugins/seo/premium-seo-pack.php b/inc/3rd-party/plugins/seo/premium-seo-pack.php new file mode 100644 index 0000000..5460a8b --- /dev/null +++ b/inc/3rd-party/plugins/seo/premium-seo-pack.php @@ -0,0 +1,30 @@ +id ) { + return; + } + + // Dequeueing this stylesheet unfreezes WP Rocket. + wp_dequeue_style( 'psp-main-style' ); + } + add_action( 'admin_print_styles', 'rocket_dequeue_premium_seo_pack_stylesheet', 11 ); +} diff --git a/inc/3rd-party/plugins/slider/meta-slider.php b/inc/3rd-party/plugins/slider/meta-slider.php new file mode 100644 index 0000000..5f8c458 --- /dev/null +++ b/inc/3rd-party/plugins/slider/meta-slider.php @@ -0,0 +1,17 @@ +id ) { + return; + } + + wp_dequeue_style( 'sumome-admin-styles' ); + wp_dequeue_style( 'sumome-admin-media' ); + } + add_action( 'admin_enqueue_scripts', 'rocket_dequeue_sumo_me_css', PHP_INT_MAX ); + + /** + * Dequeue SumoMe inline script + * + * @since 3.0.4 + * @author Arun Basil Lal + */ + function rocket_dequeue_sumo_me_js() { + + // Retun on all pages but WP Rocket settings page. + $screen = get_current_screen(); + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + global $wp_plugin_sumome; + remove_action( 'admin_footer', [ $wp_plugin_sumome, 'append_admin_script_code' ] ); + } + add_action( 'admin_head', 'rocket_dequeue_sumo_me_js' ); +} diff --git a/inc/3rd-party/plugins/thrive-leads.php b/inc/3rd-party/plugins/thrive-leads.php new file mode 100644 index 0000000..c0cbf56 --- /dev/null +++ b/inc/3rd-party/plugins/thrive-leads.php @@ -0,0 +1,13 @@ + 0; +} +add_filter( 'rocket_override_donotcachepage', 'rocket_override_donotcachepage_on_thrive_leads' ); diff --git a/inc/3rd-party/plugins/varnish-http-purge.php b/inc/3rd-party/plugins/varnish-http-purge.php new file mode 100644 index 0000000..e94e43e --- /dev/null +++ b/inc/3rd-party/plugins/varnish-http-purge.php @@ -0,0 +1,75 @@ + 'PURGE', + 'blocking' => false, + 'headers' => [ + 'host' => $p['host'], + 'X-Purge-Method' => 'regex', + ], + ] + ); + + do_action( 'after_purge_url', $url, $purgeme ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } +} diff --git a/inc/3rd-party/plugins/wp-offload-s3-assets.php b/inc/3rd-party/plugins/wp-offload-s3-assets.php new file mode 100644 index 0000000..189b9ec --- /dev/null +++ b/inc/3rd-party/plugins/wp-offload-s3-assets.php @@ -0,0 +1,38 @@ +is_plugin_setup() && 1 === (int) $as3cf_assets->get_setting( 'enable-addon' ) ) { + // Disable WP Rocket CDN option. + add_filter( 'rocket_readonly_cdn_option', '__return_true' ); + } +} + +/** + * Deactivate WP Rocket CDN if WP Offload S3 assets addon copy & serve is active. + * + * @since 2.10.7 + * @author Remy Perona + * + * @param string $old_value Previous assets option value. + * @param string $new_value New assets option value. + */ +function rocket_maybe_deactivate_cdn( $old_value, $new_value ) { + if ( $old_value['enable-addon'] !== $new_value['enable-addon'] && 1 === (int) $new_value['enable-addon'] ) { + update_rocket_option( 'cdn', 0 ); + } +} diff --git a/inc/3rd-party/plugins/wp-offload-s3.php b/inc/3rd-party/plugins/wp-offload-s3.php new file mode 100644 index 0000000..4b67e63 --- /dev/null +++ b/inc/3rd-party/plugins/wp-offload-s3.php @@ -0,0 +1,23 @@ +is_plugin_setup() && 1 === (int) $as3cf->get_setting( 'serve-from-s3' ) ) { + // Remove images option from WP Rocket CDN dropdown settings. + add_filter( 'rocket_allow_cdn_images', '__return_false' ); + } +} diff --git a/inc/3rd-party/plugins/wp-print.php b/inc/3rd-party/plugins/wp-print.php new file mode 100644 index 0000000..fda86ef --- /dev/null +++ b/inc/3rd-party/plugins/wp-print.php @@ -0,0 +1,19 @@ +query_vars['print'] ) ) { + add_filter( 'do_rocket_lazyload', '__return_false' ); + } + } + add_action( 'wp', 'rocket_deactivate_lazyload_on_print_pages' ); +endif; diff --git a/inc/3rd-party/plugins/wp-rest-api.php b/inc/3rd-party/plugins/wp-rest-api.php new file mode 100644 index 0000000..d5c7928 --- /dev/null +++ b/inc/3rd-party/plugins/wp-rest-api.php @@ -0,0 +1,48 @@ + example.com/blog/category/wp-json/). + */ + $prefix = rocket_is_subfolder_install() ? '(/[^/]+)?' : ''; + $index = ! empty( $wp_rewrite->index ) ? $wp_rewrite->index : 'index.php'; + $index = preg_quote( $index, '/' ); + $suffix = rest_get_url_prefix(); + $suffix = preg_quote( trim( $suffix, '/' ), '/' ); + + /** + * Results in: + * - Single site: (/index\.php)?/wp\-json(/.*|$) + * - Multisite: (/[^/]+)?(/index\.php)?/wp\-json(/.*|$) + */ + $uri[] = $prefix . '/(' . $index . '/)?(.*)' . $suffix . '(/.*|$)'; + + return $uri; +} +add_filter( 'rocket_cache_reject_uri', 'rocket_exclude_wp_rest_api' ); diff --git a/inc/3rd-party/themes/studiopress.php b/inc/3rd-party/themes/studiopress.php new file mode 100644 index 0000000..979b2bd --- /dev/null +++ b/inc/3rd-party/themes/studiopress.php @@ -0,0 +1,48 @@ +cache_flush_theme(); + } +} diff --git a/inc/API/bypass.php b/inc/API/bypass.php new file mode 100644 index 0000000..8f285c7 --- /dev/null +++ b/inc/API/bypass.php @@ -0,0 +1,28 @@ +auth = $auth; + $this->args = [ + 'sslverify' => true, + 'body' => [], + 'headers' => [], + ]; + } + /** + * Change client auth. + * + * @param AuthInterface $auth Client auth. + * + * @return void + */ + public function set_auth( AuthInterface $auth ) { + $this->auth = $auth; + } + + /** + * API call method for sending requests using GET. + * + * @param string $path Path of the endpoint. + * @param mixed[] $data Data to be sent along with the request. + * + * @return object + */ + public function get( $path, array $data = [] ) { + return $this->request( $path, 'get', $data ); + } + + /** + * API call method for sending requests using POST. + * + * @param string $path Path of the endpoint. + * @param array $data Data to be sent along with the request. + * + * @return object + */ + public function post( $path, array $data = [] ) { + return $this->request( $path, 'post', $data ); + } + + /** + * API call method for sending requests using DELETE. + * + * @param string $path Path of the endpoint. + * @param array $data Data to be sent along with the request. + * + * @return object + */ + public function delete( $path, array $data = [] ) { + return $this->request( $path, 'delete', $data ); + } + + /** + * API call method for sending requests using PATCH. + * + * @param string $path Path of the endpoint. + * @param array $data Data to be sent along with the request. + * + * @return object + */ + public function patch( $path, array $data = [] ) { + return $this->request( $path, 'patch', $data ); + } + + /** + * API call method for sending requests + * + * @param string $path Path of the endpoint. + * @param string $method Type of method that should be used. + * @param array $data Data to be sent along with the request. + * + * @return object|WP_Error + */ + protected function request( $path, $method = 'get', array $data = [] ) { + if ( '/ips' !== $path ) { + $valid = $this->auth->is_valid_credentials(); + + if ( is_wp_error( $valid ) ) { + return $valid; + } + + if ( ! $valid ) { + return new WP_Error( 'cloudflare_invalid_credentials', 'Cloudflare credentials are invalid.' ); + } + } + + $response = $this->do_remote_request( $path, $method, $data ); + + if ( is_wp_error( $response ) ) { + return $response; + } + + $content = wp_remote_retrieve_body( $response ); + + if ( empty( $content ) ) { + return new WP_Error( 'cloudflare_no_reply', __( 'Cloudflare did not provide any reply. Please try again later.', 'rocket' ) ); + } + + $content = json_decode( $content ); + + if ( ! is_object( $content ) ) { + return new WP_Error( 'cloudflare_content_error', __( 'Cloudflare unexpected response', 'rocket' ) ); + } + + if ( empty( $content->success ) ) { + return $this->set_request_error( $content ); + } + + if ( ! property_exists( $content, 'result' ) ) { + return new WP_Error( 'cloudflare_no_reply', __( 'Missing Cloudflare result.', 'rocket' ) ); + } + + return $content->result; + } + + /** + * Does the request remote request. + * + * @param string $path Path of the endpoint. + * @param string $method Type of method that should be used. + * @param array $data Data to be sent along with the request. + * + * @return array|WP_Error + */ + private function do_remote_request( string $path, string $method = 'GET', array $data = [] ) { + $this->args['method'] = strtoupper( $method ); + + $headers = [ + 'User-Agent' => 'wp-rocket/' . rocket_get_constant( 'WP_ROCKET_VERSION' ), + 'Content-Type' => 'application/json', + ]; + + if ( '/ips' !== $path ) { + $this->args['headers'] = array_merge( $headers, $this->auth->get_headers() ); + } + + $this->args['body'] = []; + + if ( ! empty( $data ) ) { + $this->args['body'] = wp_json_encode( $data ); + } + + $response = wp_remote_request( self::CLOUDFLARE_API . $path, $this->args ); + + return $response; + } + + /** + * Sets the WP_Error when request is not successful + * + * @param object $content Response object. + * + * @return WP_Error + */ + private function set_request_error( $content ) { + $errors = []; + + foreach ( $content->errors as $error ) { + if ( + 6003 === $error->code || 9103 === $error->code ) { + $msg = __( 'Incorrect Cloudflare email address or API key.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_incorrect_credentials', $msg ); + } + + if ( 7003 === $error->code ) { + $msg = __( 'Incorrect Cloudflare Zone ID.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_incorrect_zone_id', $msg ); + } + + $errors[] = $error->message; + } + + return new WP_Error( 'cloudflare_request_error', wp_sprintf_l( '%l ', $errors ) ); + } +} diff --git a/inc/Addon/Cloudflare/API/Endpoints.php b/inc/Addon/Cloudflare/API/Endpoints.php new file mode 100644 index 0000000..4287ab3 --- /dev/null +++ b/inc/Addon/Cloudflare/API/Endpoints.php @@ -0,0 +1,174 @@ +client = $client; + } + + /** + * Get zone data. + * + * @param string $zone_id Zone ID. + * + * @return object + */ + public function get_zones( string $zone_id ) { + return $this->client->get( "zones/{$zone_id}" ); + } + + /** + * Get the zone's page rules. + * + * @param string $zone_id Zone ID. + * @param string $status Rule status. + * + * @return object + */ + public function list_pagerules( string $zone_id, string $status ) { + return $this->client->get( "zones/{$zone_id}/pagerules?status={$status}" ); + } + + /** + * Purges the cache. + * + * @param string $zone_id Zone ID. + * + * @return object + */ + public function purge( string $zone_id ) { + return $this->client->post( "zones/{$zone_id}/purge_cache", [ 'purge_everything' => true ] ); + } + + /** + * Purges the given URLs. + * + * @param string $zone_id Zone ID. + * @param array $urls An array of URLs that should be removed from cache. + * + * @return object + */ + public function purge_files( string $zone_id, array $urls = [] ) { + return $this->client->post( "zones/{$zone_id}/purge_cache", [ 'files' => $urls ] ); + } + + /** + * Updates the zone's browser cache TTL setting + * + * @param string $zone_id Zone ID. + * @param string $value Cache TTL value. + * + * @return object + */ + public function update_browser_cache_ttl( string $zone_id, $value ) { + return $this->update_setting( $zone_id, 'browser_cache_ttl', $value ); + } + + /** + * Updates the zone's rocket loader setting. + * + * @param string $zone_id Zone ID. + * @param string $value Rocket Loader value. + * + * @return object + */ + public function update_rocket_loader( string $zone_id, $value ) { + return $this->update_setting( $zone_id, 'rocket_loader', $value ); + } + + /** + * Updates the zone's minify setting. + * + * @param string $zone_id Zone ID. + * @param string[] $value Minify value. + * + * @return object + */ + public function update_minify( string $zone_id, $value ) { + return $this->update_setting( $zone_id, 'minify', $value ); + } + + /** + * Updates the zone's cache level. + * + * @param string $zone_id Zone ID. + * @param string $value Cache level value. + * + * @return object + */ + public function change_cache_level( string $zone_id, $value ) { + return $this->update_setting( $zone_id, 'cache_level', $value ); + } + + /** + * Changes the zone's development mode. + * + * @param string $zone_id Zone ID. + * @param string $value Development mode value. + * + * @return object + */ + public function change_development_mode( string $zone_id, $value ) { + return $this->update_setting( $zone_id, 'development_mode', $value ); + } + + /** + * Updates the given setting. + * + * @param string $zone_id Zone ID. + * @param string $setting Name of the setting to change. + * @param mixed $value Setting value. + * + * @return object + */ + protected function update_setting( string $zone_id, $setting, $value ) { + return $this->client->patch( "zones/{$zone_id}/settings/{$setting}", [ 'value' => $value ] ); + } + + /** + * Gets all of the Cloudflare settings. + * + * @param string $zone_id Zone ID. + * + * @return object + */ + public function get_settings( string $zone_id ) { + return $this->client->get( "zones/{$zone_id}/settings" ); + } + + /** + * Gets Cloudflare's IPs. + * + * @return object + */ + public function get_ips() { + return $this->client->get( '/ips' ); + } + + /** + * Change client auth. + * + * @param AuthInterface $auth Client auth. + * + * @return void + */ + public function change_auth( AuthInterface $auth ) { + $this->client->set_auth( $auth ); + } +} diff --git a/inc/Addon/Cloudflare/Admin/Subscriber.php b/inc/Addon/Cloudflare/Admin/Subscriber.php new file mode 100644 index 0000000..caaafc3 --- /dev/null +++ b/inc/Addon/Cloudflare/Admin/Subscriber.php @@ -0,0 +1,131 @@ + [ + [ 'maybe_display_purge_notice' ], + [ 'maybe_display_update_settings_notice' ], + ], + 'rocket_input_sanitize' => [ 'sanitize_options', 20, 2 ], + ]; + } + + /** + * This notice is displayed after purging the CloudFlare cache. + * + * @return void + */ + public function maybe_display_purge_notice() { + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + $user_id = get_current_user_id(); + $notice = get_transient( $user_id . '_cloudflare_purge_result' ); + + if ( ! $notice ) { + return; + } + + delete_transient( $user_id . '_cloudflare_purge_result' ); + + rocket_notice_html( + [ + 'status' => $notice['result'], + 'message' => $notice['message'], + ] + ); + } + + /** + * This notice is displayed after modifying the CloudFlare settings. + * + * @return void + */ + public function maybe_display_update_settings_notice() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) || 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $user_id = get_current_user_id(); + $notices = get_transient( $user_id . '_cloudflare_update_settings' ); + + if ( ! $notices ) { + return; + } + + $errors = ''; + $success = ''; + $pre = ''; + delete_transient( $user_id . '_cloudflare_update_settings' ); + + if ( isset( $notices['pre'] ) ) { + $pre = $notices['pre']; + + unset( $notices['pre'] ); + } + + foreach ( $notices as $notice ) { + if ( 'error' === $notice['result'] ) { + $errors .= $notice['message'] . '
'; + } elseif ( 'success' === $notice['result'] ) { + $success .= $notice['message'] . '
'; + } + } + + if ( ! empty( $success ) ) { + rocket_notice_html( + [ + 'message' => $pre . $success, + ] + ); + } + + if ( ! empty( $errors ) ) { + rocket_notice_html( + [ + 'status' => 'error', + 'message' => $errors, + ] + ); + } + } + + /** + * Sanitize Cloudflare options + * + * @param array $input gtArray of sanitized values after being submitted by the form. + * @param Settings $settings Settings instance. + * + * @return array + */ + public function sanitize_options( $input, $settings ) { + $input['do_cloudflare'] = $settings->sanitize_checkbox( $input, 'do_cloudflare' ); + $input['cloudflare_devmode'] = $settings->sanitize_checkbox( $input, 'cloudflare_devmode' ); + $input['cloudflare_auto_settings'] = $settings->sanitize_checkbox( $input, 'cloudflare_auto_settings' ); + $input['cloudflare_protocol_rewrite'] = $settings->sanitize_checkbox( $input, 'cloudflare_protocol_rewrite' ); + + $input['cloudflare_email'] = isset( $input['cloudflare_email'] ) ? sanitize_email( $input['cloudflare_email'] ) : ''; + $input['cloudflare_zone_id'] = isset( $input['cloudflare_zone_id'] ) ? sanitize_text_field( $input['cloudflare_zone_id'] ) : ''; + + $input['cloudflare_api_key'] = isset( $input['cloudflare_api_key'] ) ? sanitize_text_field( $input['cloudflare_api_key'] ) : ''; + + if ( defined( 'WP_ROCKET_CF_API_KEY' ) ) { + $input['cloudflare_api_key'] = rocket_get_constant( 'WP_ROCKET_CF_API_KEY', '' ); + } + + return $input; + } +} diff --git a/inc/Addon/Cloudflare/Auth/APIKey.php b/inc/Addon/Cloudflare/Auth/APIKey.php new file mode 100644 index 0000000..ef24852 --- /dev/null +++ b/inc/Addon/Cloudflare/Auth/APIKey.php @@ -0,0 +1,71 @@ +email = $email; + $this->api_key = $api_key; + } + + /** + * Gets headers for Cloudflare API request + * + * @return array + */ + public function get_headers(): array { + return [ + 'X-Auth-Email' => $this->email, + 'X-Auth-Key' => $this->api_key, + ]; + } + + /** + * Checks if the credentials are set. + * + * @return bool|WP_Error true if authorized, false if not, WP_Error if either credential is empty. + */ + public function is_valid_credentials() { + if ( + empty( $this->email ) + || + empty( $this->api_key ) + ) { + return new WP_Error( + 'cloudflare_credentials_empty', + sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ) + ); + } + + return false !== filter_var( $this->email, FILTER_VALIDATE_EMAIL ); + } +} diff --git a/inc/Addon/Cloudflare/Auth/APIKeyFactory.php b/inc/Addon/Cloudflare/Auth/APIKeyFactory.php new file mode 100644 index 0000000..6333ac6 --- /dev/null +++ b/inc/Addon/Cloudflare/Auth/APIKeyFactory.php @@ -0,0 +1,44 @@ +options = $options; + } + + + /** + * Create a new authentication instance. + * + * @param array $data Data to inject into the client. + * @return AuthInterface + */ + public function create( array $data = [] ): AuthInterface { + + $cf_api_key = defined( 'WP_ROCKET_CF_API_KEY' ) ? rocket_get_constant( 'WP_ROCKET_CF_API_KEY', '' ) : $this->options->get( 'cloudflare_api_key', '' ); + + $email = key_exists( 'cloudflare_email', $data ) ? $data['cloudflare_email'] : $this->options->get( 'cloudflare_email', '' ); + $api_key = key_exists( 'cloudflare_api_key', $data ) ? $data['cloudflare_api_key'] : $cf_api_key; + + return new APIKey( $email, $api_key ); + } +} diff --git a/inc/Addon/Cloudflare/Auth/AuthFactoryInterface.php b/inc/Addon/Cloudflare/Auth/AuthFactoryInterface.php new file mode 100644 index 0000000..ccd5ef4 --- /dev/null +++ b/inc/Addon/Cloudflare/Auth/AuthFactoryInterface.php @@ -0,0 +1,16 @@ +endpoints = $endpoints; + $this->options = $options; + } + + /** + * Check valid connection with Cloudflare + * + * @param string $zone_id Cloudflare zone ID. + * @return bool|mixed|WP_Error + */ + public function check_connection( string $zone_id = '' ) { + $is_valid = get_transient( 'rocket_cloudflare_is_api_keys_valid' ); + if ( false === $is_valid ) { + + if ( '' === $zone_id ) { + $zone_id = $this->options->get( 'cloudflare_zone_id', '' ); + } + + $is_valid = $this->is_auth_valid( $zone_id ); + + set_transient( 'rocket_cloudflare_is_api_keys_valid', $is_valid, 2 * WEEK_IN_SECONDS ); + } + + return $is_valid; + } + + /** + * Validate Cloudflare input data. + * + * @param string $zone_id Cloudflare zone ID. + * + * @return bool|WP_Error true if credentials are ok, WP_Error otherwise. + */ + public function is_auth_valid( string $zone_id ) { + if ( empty( $zone_id ) ) { + $msg = __( 'Missing Cloudflare Zone ID.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_no_zone_id', $msg ); + } + + $result = $this->endpoints->get_zones( $zone_id ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + $zone_found = false; + $site_url = get_site_url(); + + if ( function_exists( 'domain_mapping_siteurl' ) ) { + $site_url = domain_mapping_siteurl( $site_url ); + } + + $parsed_url = wp_parse_url( $site_url ); + + if ( property_exists( $result, 'name' ) && false !== strpos( strtolower( $parsed_url['host'] ), $result->name ) ) { + $zone_found = true; + } + + if ( ! $zone_found ) { + $msg = __( 'It looks like your domain is not set up on Cloudflare.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_zone_not_found', $msg ); + } + + return true; + } + + /** + * Checks if CF has the $action_value set as a Page Rule. + * + * @param string $action_value Action value. + * + * @return mixed true/false if $action_value was found or not, WP_Error otherwise. + */ + public function has_page_rule( $action_value ) { + $result = $this->endpoints->list_pagerules( $this->options->get( 'cloudflare_zone_id', '' ), 'active' ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + $page_rule = wp_json_encode( $result ); + + return (bool) preg_match( '/' . $action_value . '/', $page_rule ); + } + + /** + * Purge Cloudflare cache. + * + * @return mixed true if the purge is successful, WP_Error otherwise. + */ + public function purge_cloudflare() { + $result = $this->endpoints->purge( $this->options->get( 'cloudflare_zone_id', '' ) ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return true; + } + + /** + * Purge Cloudflare Cache by URL + * + * @param WP_Post $post The post object. + * @param array $purge_urls URLs cache files to remove. + * @param string $lang The post language. + * + * @return mixed true if the purge is successful, WP_Error otherwise + */ + public function purge_by_url( $post, $purge_urls, $lang ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed + $result = $this->endpoints->purge_files( $this->options->get( 'cloudflare_zone_id', '' ), $purge_urls ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return true; + } + + /** + * Set the Browser Cache TTL in Cloudflare. + * + * @param string $value Value for Cloudflare browser cache TTL. + * + * @return mixed Value if the update is successful, WP_Error otherwise. + */ + public function set_browser_cache_ttl( $value ) { + $result = $this->endpoints->update_browser_cache_ttl( $this->options->get( 'cloudflare_zone_id', '' ), (int) $value ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return $this->convert_time( (int) $value ); + } + + /** + * Convert value in seconds to seconds/minutes/hours/days + * + * @param int $value Value in seconds. + * + * @return string + */ + private function convert_time( int $value ): string { + $base = new DateTimeImmutable( '@0' ); + $time = new DateTimeImmutable( "@$value" ); + $format = '%a ' . __( 'days', 'rocket' ); + + if ( 60 > $value ) { + $format = '%s ' . __( 'seconds', 'rocket' ); + } elseif ( 3600 > $value ) { + $format = '%i ' . __( 'minutes', 'rocket' ); + } elseif ( 86400 > $value ) { + $format = '%h ' . __( 'hours', 'rocket' ); + } + + return $base->diff( $time )->format( $format ); + } + + /** + * Set the Cloudflare Rocket Loader. + * + * @param string $value Value for Cloudflare Rocket Loader. + * + * @return mixed Value if the update is successful, WP_Error otherwise. + */ + public function set_rocket_loader( $value ) { + $result = $this->endpoints->update_rocket_loader( $this->options->get( 'cloudflare_zone_id', '' ), $value ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return $value; + } + + /** + * Set the Cloudflare Minification. + * + * @param string $value Value for Cloudflare minification. + * + * @return mixed Value if the update is successful, WP_Error otherwise. + */ + public function set_minify( $value ) { + $cf_minify_settings = [ + 'css' => $value, + 'html' => $value, + 'js' => $value, + ]; + + $result = $this->endpoints->update_minify( $this->options->get( 'cloudflare_zone_id', '' ), $cf_minify_settings ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return $value; + } + + /** + * Set the Cloudflare Caching level. + * + * @param string $value Value for Cloudflare caching level. + * + * @return mixed Value if the update is successful, WP_Error otherwise. + */ + public function set_cache_level( $value ) { + $result = $this->endpoints->change_cache_level( $this->options->get( 'cloudflare_zone_id', '' ), $value ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + return $value; + } + + /** + * Set the Cloudflare Development mode. + * + * @param string $value Value for Cloudflare development mode. + * + * @return mixed Value if the update is successful, WP_Error otherwise. + */ + public function set_devmode( $value ) { + if ( 0 === (int) $value ) { + $value = 'off'; + } else { + $value = 'on'; + } + + $result = $this->endpoints->change_development_mode( $this->options->get( 'cloudflare_zone_id', '' ), $value ); + + if ( is_wp_error( $result ) ) { + return $result; + } + + switch ( $value ) { + case 'on': + wp_schedule_single_event( time() + 3 * HOUR_IN_SECONDS, 'rocket_cron_deactivate_cloudflare_devmode' ); + break; + case 'off': + $next_event = wp_next_scheduled( 'rocket_cron_deactivate_cloudflare_devmode' ); + + if ( false !== $next_event ) { + wp_unschedule_event( $next_event, 'rocket_cron_deactivate_cloudflare_devmode' ); + } + break; + } + + return $value; + } + + /** + * Get all the current Cloudflare settings for a given domain. + * + * @return array|WP_Error Array of Cloudflare settings, WP_Error if any error connection to Cloudflare. + */ + public function get_settings() { + $cf_settings = $this->endpoints->get_settings( $this->options->get( 'cloudflare_zone_id', '' ) ); + + if ( is_wp_error( $cf_settings ) ) { + return $cf_settings; + } + + $browser_cache_ttl = 0; + $cache_level = ''; + $rocket_loader = ''; + $cf_minify = ''; + + foreach ( $cf_settings as $cloudflare_option ) { + switch ( $cloudflare_option->id ) { + case 'browser_cache_ttl': + $browser_cache_ttl = $cloudflare_option->value; + break; + case 'cache_level': + $cache_level = $cloudflare_option->value; + break; + case 'rocket_loader': + $rocket_loader = $cloudflare_option->value; + break; + case 'minify': + $cf_minify = $cloudflare_option->value; + break; + } + } + $cf_minify_value = 'on'; + + if ( + 'off' === $cf_minify->js + || + 'off' === $cf_minify->css + || + 'off' === $cf_minify->html + ) { + $cf_minify_value = 'off'; + } + + $cf_settings_array = [ + 'cache_level' => $cache_level, + 'minify' => $cf_minify_value, + 'rocket_loader' => $rocket_loader, + 'browser_cache_ttl' => $browser_cache_ttl, + ]; + + return $cf_settings_array; + } + + /** + * Get Cloudflare IPs. No API validation needed, all exceptions returns the default CF IPs array. + * + * @return object Result of API request if successful, default CF IPs otherwise. + */ + public function get_cloudflare_ips() { + $cf_ips = get_transient( 'rocket_cloudflare_ips' ); + + if ( false !== $cf_ips ) { + return $cf_ips; + } + + $cf_ips = $this->endpoints->get_ips(); + + if ( is_wp_error( $cf_ips ) ) { + // Set default IPs from Cloudflare if call to Cloudflare /ips API does not contain a success. + // Prevents from making API calls on each page load. + $cf_ips = $this->get_default_ips(); + } + + set_transient( 'rocket_cloudflare_ips', $cf_ips, 2 * WEEK_IN_SECONDS ); + + return $cf_ips; + } + + /** + * Get default Cloudflare IPs. + * + * @return object Default Cloudflare connecting IPs. + */ + private function get_default_ips() { + $cf_ips = (object) [ + 'ipv4_cidrs' => [], + 'ipv6_cidrs' => [], + ]; + + $cf_ips->ipv4_cidrs = [ + '173.245.48.0/20', + '103.21.244.0/22', + '103.22.200.0/22', + '103.31.4.0/22', + '141.101.64.0/18', + '108.162.192.0/18', + '190.93.240.0/20', + '188.114.96.0/20', + '197.234.240.0/22', + '198.41.128.0/17', + '162.158.0.0/15', + '104.16.0.0/12', + '104.24.0.0/14', + '172.64.0.0/13', + '131.0.72.0/22', + ]; + + $cf_ips->ipv6_cidrs = [ + '2400:cb00::/32', + '2606:4700::/32', + '2803:f800::/32', + '2405:b500::/32', + '2405:8100::/32', + '2a06:98c0::/29', + '2c0f:f248::/32', + ]; + + return $cf_ips; + } + + /** + * Sets the Cloudflare IP Rewrite + * + * @return IpRewrite + */ + public static function set_ip_rewrite() { + static $instance = null; + + if ( is_null( $instance ) ) { + $instance = new IpRewrite(); + + return $instance; + } + + return $instance; + } + + /** + * Fixes Cloudflare Flexible SSL redirect loop + * + * @return void + */ + public static function fix_cf_flexible_ssl() { + $ip_rewrite = self::set_ip_rewrite(); + + if ( $ip_rewrite->isCloudFlare() ) { + // Fixes Flexible SSL. + if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) { + $_SERVER['HTTPS'] = 'on'; + } + } + } + + /** + * Change client auth. + * + * @param AuthInterface $auth Client auth. + * + * @return void + */ + public function change_auth( AuthInterface $auth ) { + $this->endpoints->change_auth( $auth ); + } +} diff --git a/inc/Addon/Cloudflare/ServiceProvider.php b/inc/Addon/Cloudflare/ServiceProvider.php new file mode 100644 index 0000000..90a401e --- /dev/null +++ b/inc/Addon/Cloudflare/ServiceProvider.php @@ -0,0 +1,63 @@ +getContainer()->get( 'options' ); + + $this->getLeagueContainer()->add( 'cloudflare_auth_factory', APIKeyFactory::class )->addArgument( $options ); + + $this->getLeagueContainer()->add( 'cloudflare_client', Client::class ) + ->addArgument( $this->getContainer()->get( 'cloudflare_auth_factory' )->create() ); + $this->getLeagueContainer()->add( 'cloudflare_endpoints', Endpoints::class ) + ->addArgument( $this->getContainer()->get( 'cloudflare_client' ) ); + + $this->getLeagueContainer()->add( 'cloudflare', Cloudflare::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'cloudflare_endpoints' ) ); + $this->getLeagueContainer()->share( 'cloudflare_subscriber', CloudflareSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'cloudflare' ) ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'cloudflare_auth_factory' ) ) + ->addTag( 'cloudflare_subscriber' ); + $this->getLeagueContainer()->share( + 'cloudflare_admin_subscriber', + CloudflareAdminSubscriber::class + ); + } +} diff --git a/inc/Addon/Cloudflare/Subscriber.php b/inc/Addon/Cloudflare/Subscriber.php new file mode 100644 index 0000000..34702b5 --- /dev/null +++ b/inc/Addon/Cloudflare/Subscriber.php @@ -0,0 +1,736 @@ +options = $options; + $this->options_api = $options_api; + $this->cloudflare = $cloudflare; + $this->auth_factory = $auth_factory; + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + $slug = rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ); + + return [ + 'rocket_varnish_ip' => 'set_varnish_localhost', + 'rocket_varnish_purge_request_host' => 'set_varnish_purge_request_host', + 'rocket_cron_deactivate_cloudflare_devmode' => 'deactivate_devmode', + 'after_rocket_clean_domain' => 'auto_purge', + 'after_rocket_clean_post' => [ 'auto_purge_by_url', 10, 3 ], + 'admin_post_rocket_purge_cloudflare' => 'purge_cache', + 'init' => [ 'set_real_ip', 1 ], + 'update_option_' . $slug => [ + [ 'save_cloudflare_options', 10, 2 ], + [ 'update_dev_mode', 11, 2 ], + ], + 'pre_update_option_' . $slug => [ + [ 'change_auth', 8, 2 ], + [ 'delete_connection_transient', 10, 2 ], + [ 'save_cloudflare_old_settings', 10, 2 ], + [ 'display_settings_notice', 11, 2 ], + ], + 'rocket_buffer' => [ 'protocol_rewrite', PHP_INT_MAX ], + 'wp_calculate_image_srcset' => [ 'protocol_rewrite_srcset', PHP_INT_MAX ], + 'rocket_cdn_helper_addons' => 'add_cdn_helper_message', + ]; + } + + /** + * Sets the Varnish IP to localhost if Cloudflare is active. + * + * @param string|array $varnish_ip Varnish IP. + * + * @return array + */ + public function set_varnish_localhost( $varnish_ip ) { + if ( ! $this->should_filter_varnish() ) { + return $varnish_ip; + } + + if ( is_string( $varnish_ip ) ) { + $varnish_ip = (array) $varnish_ip; + } + + $varnish_ip[] = 'localhost'; + + return $varnish_ip; + } + + /** + * Sets the Host header to the website domain if Cloudflare is active. + * + * @param string $host the host header value. + * + * @return string + */ + public function set_varnish_purge_request_host( $host ) { + if ( ! $this->should_filter_varnish() ) { + return $host; + } + + return wp_parse_url( home_url(), PHP_URL_HOST ); + } + + /** + * Checks if we should filter the value for the Varnish purge. + * + * @return bool + */ + private function should_filter_varnish(): bool { + // This filter is documented in inc/Addon/Varnish.php. + return apply_filters( 'do_rocket_varnish_http_purge', false ) // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + || + $this->options->get( 'varnish_auto_purge', 0 ); + } + + /** + * Automatically set Cloudflare development mode value to off after 3 hours to reflect Cloudflare behaviour. + * + * @return void + */ + public function deactivate_devmode() { + $this->options->set( 'cloudflare_devmode', 0 ); + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Purge Cloudflare cache automatically if Cache Everything is set as a Page Rule. + * + * @return void + */ + public function auto_purge() { + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + $settings = $this->options_api->get( 'settings', [] ); + + $this->options->set_values( $settings ); + + $auth = $this->auth_factory->create( $settings ); + + $this->cloudflare->change_auth( $auth ); + + if ( is_wp_error( $this->cloudflare->check_connection( $this->options->get( 'cloudflare_zone_id', '' ) ) ) ) { + return; + } + + $cf_cache_everything = $this->cloudflare->has_page_rule( 'cache_everything' ); + + if ( is_wp_error( $cf_cache_everything ) || ! $cf_cache_everything ) { + return; + } + + // Purge CloudFlare. + $this->cloudflare->purge_cloudflare(); + } + + /** + * Purge Cloudflare cache URLs automatically if Cache Everything is set as a Page Rule. + * + * @param WP_Post $post The post object. + * @param array $purge_urls URLs cache files to remove. + * @param string $lang The post language. + * + * @return void + */ + public function auto_purge_by_url( $post, $purge_urls, $lang ) { + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + if ( is_wp_error( $this->cloudflare->check_connection() ) ) { + return; + } + + $cf_cache_everything = $this->cloudflare->has_page_rule( 'cache_everything' ); + + if ( is_wp_error( $cf_cache_everything ) || ! $cf_cache_everything ) { + return; + } + + // Add home URL and feeds URLs to Cloudflare clean cache URLs list. + $purge_urls[] = get_rocket_i18n_home_url( $lang ); + $feed_urls = []; + $feed_urls[] = get_feed_link(); + $feed_urls[] = get_feed_link( 'comments_' ); + + // this filter is documented in inc/functions/files.php. + $feed_urls = apply_filters( 'rocket_clean_home_feeds', $feed_urls ); + $purge_urls = array_unique( array_merge( $purge_urls, $feed_urls ) ); + + // Purge CloudFlare. + $this->cloudflare->purge_by_url( $post, $purge_urls, $lang ); + } + + /** + * Purge CloudFlare cache. + * + * @return void + */ + public function purge_cache_no_die() { + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + $connection = $this->cloudflare->check_connection(); + + if ( is_wp_error( $connection ) ) { + $cf_purge_result = [ + 'result' => 'error', + 'message' => sprintf( + // translators: %1$s = , %2$s = , %3$s = CloudFare API return message. + __( '%1$sWP Rocket:%2$s %3$s', 'rocket' ), + '', + '', + $connection->get_error_message() + ), + ]; + + set_transient( get_current_user_id() . '_cloudflare_purge_result', $cf_purge_result ); + + return; + } + + // Purge CloudFlare. + $cf_purge = $this->cloudflare->purge_cloudflare(); + $cf_purge_result = [ + 'result' => 'success', + 'message' => sprintf( + // translators: %1$s = , %2$s = . + __( '%1$sWP Rocket:%2$s Cloudflare cache successfully purged.', 'rocket' ), + '', + '' + ), + ]; + + if ( is_wp_error( $cf_purge ) ) { + $cf_purge_result = [ + 'result' => 'error', + 'message' => sprintf( + // translators: %1$s = , %2$s = , %3$s = CloudFare API return message. + __( '%1$sWP Rocket:%2$s %3$s', 'rocket' ), + '', + '', + $cf_purge->get_error_message() + ), + ]; + } + + set_transient( get_current_user_id() . '_cloudflare_purge_result', $cf_purge_result ); + } + + /** + * Purge CloudFlare cache. + * + * @return void + */ + public function purge_cache() { + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'rocket_purge_cloudflare' ) ) { + wp_nonce_ays( '' ); + } + + $this->purge_cache_no_die(); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + defined( 'WPMEDIA_IS_TESTING' ) ? wp_die() : exit; + } + + /** + * Set Real IP from CloudFlare. + * + * @return void + */ + public function set_real_ip() { + Cloudflare::set_ip_rewrite(); + } + + /** + * Save Cloudflare dev mode admin option. + * + * @param string $value New value for Cloudflare dev mode. + * + * @return string[] + */ + private function save_cloudflare_devmode( $value ) { + $result = $this->cloudflare->set_devmode( $value ); + + if ( is_wp_error( $result ) ) { + return [ + 'result' => 'error', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare development mode error: %s', 'rocket' ), $result->get_error_message() ), + ]; + } + + return [ + 'result' => 'success', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare development mode %s', 'rocket' ), $result ), + ]; + } + + /** + * Save Cloudflare cache_level admin option. + * + * @param string $value New value for Cloudflare cache_level. + * + * @return string[] + */ + private function save_cache_level( $value ) { + // Set Cache Level to Aggressive. + $result = $this->cloudflare->set_cache_level( $value ); + + if ( is_wp_error( $result ) ) { + return [ + 'result' => 'error', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare cache level error: %s', 'rocket' ), $result->get_error_message() ), + ]; + } + + $level = $value; + + if ( 'aggressive' === $result ) { + $level = _x( 'standard', 'Cloudflare caching level', 'rocket' ); + } + + return [ + 'result' => 'success', + // translators: %s is the caching level returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare cache level set to %s', 'rocket' ), $level ), + ]; + } + + /** + * Save Cloudflare minify admin option. + * + * @param string $value New value for Cloudflare minify. + * + * @return string[] + */ + private function save_minify( $value ) { + $result = $this->cloudflare->set_minify( $value ); + + if ( is_wp_error( $result ) ) { + return [ + 'result' => 'error', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare minification error: %s', 'rocket' ), $result->get_error_message() ), + ]; + } + + return [ + 'result' => 'success', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare minification %s', 'rocket' ), $result ), + ]; + } + + /** + * Save Cloudflare rocket loader admin option. + * + * @param string $value New value for Cloudflare rocket loader. + * + * @return string[] + */ + private function save_rocket_loader( $value ) { + $result = $this->cloudflare->set_rocket_loader( $value ); + + if ( is_wp_error( $result ) ) { + return [ + 'result' => 'error', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare rocket loader error: %s', 'rocket' ), $result->get_error_message() ), + ]; + } + + return [ + 'result' => 'success', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare rocket loader %s', 'rocket' ), $result ), + ]; + } + + /** + * Save Cloudflare browser cache ttl admin option. + * + * @param int $value New value for Cloudflare browser cache ttl. + * + * @return string[] + */ + private function save_browser_cache_ttl( $value ) { + $result = $this->cloudflare->set_browser_cache_ttl( $value ); + + if ( is_wp_error( $result ) ) { + return [ + 'result' => 'error', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare browser cache error: %s', 'rocket' ), $result->get_error_message() ), + ]; + } + + return [ + 'result' => 'success', + // translators: %s is the message returned by the CloudFlare API. + 'message' => sprintf( __( 'Cloudflare browser cache set to %s', 'rocket' ), $result ), + ]; + } + + /** + * Save Cloudflare auto settings admin option. + * + * @param int $auto_settings New value for Cloudflare auto_settings. + * @param string $old_settings Cloudflare cloudflare_old_settings. + * + * @return array> + */ + private function save_cloudflare_auto_settings( $auto_settings, $old_settings ) { + $cf_old_settings = explode( ',', $old_settings ); + + $result = []; + + // Set Cache Level to Aggressive. + $cf_cache_level = isset( $cf_old_settings[0] ) && 0 === $auto_settings ? $cf_old_settings[0] : 'aggressive'; + $result[] = $this->save_cache_level( $cf_cache_level ); + + // Active Minification for HTML, CSS & JS. + $cf_minify = isset( $cf_old_settings[1] ) && 0 === $auto_settings ? $cf_old_settings[1] : 'on'; + $result[] = $this->save_minify( $cf_minify ); + + // Deactivate Rocket Loader to prevent conflicts. + $cf_rocket_loader = isset( $cf_old_settings[2] ) && 0 === $auto_settings ? $cf_old_settings[2] : 'off'; + $result[] = $this->save_rocket_loader( $cf_rocket_loader ); + + // Set Browser cache to 1 year. + $cf_browser_cache_ttl = isset( $cf_old_settings[3] ) && 0 === $auto_settings ? $cf_old_settings[3] : 31536000; + $result[] = $this->save_browser_cache_ttl( $cf_browser_cache_ttl ); + + return $result; + } + + /** + * Update the development mode value on Cloudflare + * + * @param array $old_value An array of previous values for the settings. + * @param array $value An array of submitted values for the settings. + * + * @return void + */ + public function update_dev_mode( $old_value, $value ) { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( ! isset( $old_value['cloudflare_devmode'], $value['cloudflare_devmode'] ) ) { + return; + } + + if ( (int) $old_value['cloudflare_devmode'] === (int) $value['cloudflare_devmode'] ) { + return; + } + + $connection = $this->cloudflare->check_connection( $value['cloudflare_zone_id'] ); + + if ( is_wp_error( $connection ) ) { + return; + } + + $result = [ + 'pre' => sprintf( + '%1$sWP Rocket:%2$s', + '', + ' ' + ), + ]; + $update = get_transient( get_current_user_id() . '_cloudflare_update_settings' ); + + if ( false !== $update ) { + $result = $update; + } + + $result[] = $this->save_cloudflare_devmode( $value['cloudflare_devmode'] ); + + set_transient( get_current_user_id() . '_cloudflare_update_settings', $result ); + } + + /** + * Save Cloudflare admin options. + * + * @param array $old_value An array of previous values for the settings. + * @param array $value An array of submitted values for the settings. + * + * @return void + */ + public function save_cloudflare_options( $old_value, $value ) { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( ! isset( $old_value['cloudflare_auto_settings'], $value['cloudflare_auto_settings'] ) ) { + return; + } + + if ( (int) $old_value['cloudflare_auto_settings'] === (int) $value['cloudflare_auto_settings'] ) { + return; + } + + $connection = $this->cloudflare->check_connection( $value['cloudflare_zone_id'] ); + + if ( is_wp_error( $connection ) ) { + return; + } + + $result = [ + 'pre' => sprintf( + // translators: %1$s = strong opening tag, %2$s = strong closing tag. + __( '%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:', 'rocket' ), + '', + '' + ) . '
', + ]; + + if ( 0 === (int) $value['cloudflare_auto_settings'] ) { + $result['pre'] = sprintf( + // translators: %1$s = strong opening tag, %2$s = strong closing tag. + __( '%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:', 'rocket' ), + '', + '' + ) . '
'; + } + + $result = array_merge( $result, $this->save_cloudflare_auto_settings( $value['cloudflare_auto_settings'], $value['cloudflare_old_settings'] ) ); + + set_transient( get_current_user_id() . '_cloudflare_update_settings', $result ); + } + + /** + * Save Cloudflare old settings when the auto settings option is enabled. + * + * @param array $value An array of previous values for the settings. + * @param array $old_value An array of submitted values for the settings. + * + * @return array + */ + public function save_cloudflare_old_settings( $value, $old_value ) { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return $value; + } + + if ( ! isset( $value['cloudflare_auto_settings'], $old_value ['cloudflare_auto_settings'] ) ) { + return $value; + } + + if ( $value['cloudflare_auto_settings'] === $old_value ['cloudflare_auto_settings'] ) { + return $value; + } + + if ( 0 === (int) $value['cloudflare_auto_settings'] ) { + return $value; + } + + $cloudflare_zone_id = key_exists( 'cloudflare_zone_id', $value ) ? $value['cloudflare_zone_id'] : ''; + + if ( is_wp_error( $this->cloudflare->check_connection( $cloudflare_zone_id ) ) ) { + return $value; + } + + $cf_settings = $this->cloudflare->get_settings(); + $value['cloudflare_old_settings'] = ! is_wp_error( $cf_settings ) + ? implode( ',', array_filter( $cf_settings ) ) + : ''; + + return $value; + } + + /** + * Change the authentification. + * + * @param array $value An array of previous values for the settings. + * @param array $old_value An array of submitted values for the settings. + * + * @return mixed + */ + public function change_auth( $value, $old_value ) { + $auth = $this->auth_factory->create( $value ); + $this->cloudflare->change_auth( $auth ); + return $value; + } + + /** + * Delete the transient CF connection status when API Key, Email or Zone ID is changed + * + * @param array $value An array of previous values for the settings. + * @param array $old_value An array of submitted values for the settings. + * + * @return array + */ + public function delete_connection_transient( $value, $old_value ) { + + $fields = [ + 'cloudflare_api_key', + 'cloudflare_email', + 'cloudflare_zone_id', + 'cloudflare_devmode', + 'cloudflare_auto_settings', + 'cloudflare_protocol_rewrite', + ]; + + $change = false; + + foreach ( $fields as $field ) { + $change |= ! isset( $old_value[ $field ], $value[ $field ] ) || $old_value[ $field ] !== $value[ $field ]; + } + + if ( ! $change ) { + return $value; + } + + delete_transient( get_current_user_id() . '_cloudflare_update_settings' ); + delete_transient( 'rocket_cloudflare_is_api_keys_valid' ); + + return $value; + } + + /** + * Display the error notice. + * + * @param array $value An array of previous values for the settings. + * @param array $old_value An array of submitted values for the settings. + * + * @return mixed + */ + public function display_settings_notice( $value, $old_value ) { + + if ( ! key_exists( 'cloudflare_zone_id', $value ) ) { + return $value; + } + + $connection = $this->cloudflare->check_connection( $value['cloudflare_zone_id'] ); + + if ( is_wp_error( $connection ) ) { + add_settings_error( 'general', 'cloudflare_api_key_invalid', __( 'WP Rocket: ', 'rocket' ) . '' . $connection->get_error_message() . '', 'error' ); + } + + return $value; + } + + /** + * Remove HTTP protocol on script, link, img and form tags. + * + * @param string $buffer HTML content. + * + * @return string + */ + public function protocol_rewrite( $buffer ) { + if ( ! $this->can_protocol_rewrite() ) { + return $buffer; + } + + $return = preg_replace( "/(<(script|link|img|form)(?!.*?[\"']\bcanonical\b[\"'])([^>]*)(href|src|action)=[\"'])https?:\\/\\//i", '$1//', $buffer ); + + if ( $return ) { + $buffer = $return; + } + + return $buffer; + } + + /** + * Remove HTTP protocol on srcset attribute generated by WordPress + * + * @param array $sources an Array of images sources for srcset. + * + * @return array + */ + public function protocol_rewrite_srcset( $sources ) { + if ( ! $this->can_protocol_rewrite() ) { + return $sources; + } + + if ( empty( $sources ) ) { + return $sources; + } + + foreach ( $sources as $i => $source ) { + $sources[ $i ]['url'] = str_replace( [ 'http:', 'https:' ], '', $source['url'] ); + } + + return $sources; + } + + /** + * Can rewrite protocol + * + * @return bool + */ + private function can_protocol_rewrite(): bool { + return $this->options->get( 'do_cloudflare', 0 ) + && + ( + $this->options->get( 'cloudflare_protocol_rewrite', 0 ) + || + apply_filters( 'do_rocket_protocol_rewrite', false ) // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + ); + } + + /** + * Add the helper message on the CDN settings. + * + * @param string[] $addons Name from the addon that requires the helper message. + * @return string[] + */ + public function add_cdn_helper_message( array $addons ): array { + $addons[] = 'Cloudflare'; + return $addons; + } +} diff --git a/inc/Addon/ServiceProvider.php b/inc/Addon/ServiceProvider.php new file mode 100644 index 0000000..59df8eb --- /dev/null +++ b/inc/Addon/ServiceProvider.php @@ -0,0 +1,52 @@ +getContainer()->get( 'options' ); + + // Sucuri Addon. + $this->getContainer()->share( 'sucuri_subscriber', SucuriSubscriber::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + + $this->getContainer()->share( 'webp_admin_subscriber', WebPAdminSubscriber::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'cdn_subscriber' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addTag( 'common_subscriber' ); + + $this->getContainer()->share( 'webp_subscriber', WebPSubscriber::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'cdn_subscriber' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Addon/Sucuri/Subscriber.php b/inc/Addon/Sucuri/Subscriber.php new file mode 100644 index 0000000..d480897 --- /dev/null +++ b/inc/Addon/Sucuri/Subscriber.php @@ -0,0 +1,379 @@ +options = $options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'after_rocket_clean_domain' => 'maybe_clean_firewall_cache', + 'after_rocket_clean_post' => 'maybe_clean_firewall_cache', + 'after_rocket_clean_term' => 'maybe_clean_firewall_cache', + 'after_rocket_clean_user' => 'maybe_clean_firewall_cache', + 'after_rocket_clean_home' => 'maybe_clean_firewall_cache', + 'after_rocket_clean_files' => 'maybe_clean_firewall_cache', + 'admin_post_rocket_purge_sucuri' => 'do_admin_post_rocket_purge_sucuri', + 'admin_notices' => 'maybe_print_notice', + 'rocket_cdn_helper_addons' => 'add_cdn_helper_message', + ]; + } + + /** + * Clear Sucuri firewall cache. + * + * @since 3.2 + */ + public function maybe_clean_firewall_cache() { + static $done = false; + + if ( $done ) { + return; + } + + $done = true; + + if ( ! $this->options->get( 'sucury_waf_cache_sync', 0 ) ) { + return; + } + + $this->clean_firewall_cache(); + } + + /** + * Ajax callback to empty Sucury cache. + * + * @since 3.2 + */ + public function do_admin_post_rocket_purge_sucuri() { + if ( empty( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'rocket_purge_sucuri' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_purge_sucuri_cache' ) ) { + wp_nonce_ays( '' ); + } + + $purged = $this->clean_firewall_cache(); + + if ( is_wp_error( $purged ) ) { + $purged_result = [ + 'result' => 'error', + /* translators: %s is the error message returned by the API. */ + 'message' => sprintf( __( 'Sucuri cache purge error: %s', 'rocket' ), $purged->get_error_message() ), + ]; + } else { + $purged_result = [ + 'result' => 'success', + 'message' => __( 'The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed.', 'rocket' ), + ]; + } + + set_transient( get_current_user_id() . '_sucuri_purge_result', $purged_result ); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + die(); + } + + /** + * Print an admin notice if the cache failed to be cleared. + * + * @since 3.2 + */ + public function maybe_print_notice() { + if ( ! current_user_can( 'rocket_purge_sucuri_cache' ) ) { + return; + } + + if ( ! is_admin() ) { + return; + } + + if ( ! $this->options->get( 'sucury_waf_cache_sync', 0 ) ) { + return; + } + + $user_id = get_current_user_id(); + + $notice = get_transient( $user_id . '_sucuri_purge_result' ); + + if ( ! $notice ) { + return; + } + + delete_transient( $user_id . '_sucuri_purge_result' ); + + rocket_notice_html( + [ + 'status' => $notice['result'], + 'message' => $notice['message'], + ] + ); + } + + /** + * Tell if an API key is well formatted. + * + * @since 3.2.3 + * + * @param string $api_key An API key. + * + * @return array|false An array with the keys 'k' and 's' (required by the API) if valid. False otherwise. + */ + public static function is_api_key_valid( $api_key ) { + if ( '' !== $api_key && preg_match( '@^(?[a-z0-9]{32})/(?[a-z0-9]{32})$@', $api_key, $matches ) ) { + return $matches; + } + + return false; + } + + /** + * Clear Sucuri firewall cache. + * + * @since 3.2 + * + * @return true|WP_Error True on success. A WP_Error object on failure. + */ + private function clean_firewall_cache() { + $api_key = $this->get_api_key(); + + if ( is_wp_error( $api_key ) ) { + return $api_key; + } + + $response = $this->request_api( + [ + 'a' => 'clear_cache', + 'k' => $api_key['k'], + 's' => $api_key['s'], + ] + ); + + if ( is_wp_error( $response ) ) { + return $response; + } + + Logger::info( + 'Sucuri firewall cache cleared.', + [ + 'sucuri firewall cache', + ] + ); + + return true; + } + + /** + * Get the API key. + * + * @since 3.2 + * + * @return array|WP_Error An array with the keys 'k' and 's', required by the API. A WP_Error object if no key or invalid key. + */ + private function get_api_key() { + $api_key = trim( $this->options->get( 'sucury_waf_api_key', '' ) ); + + if ( ! $api_key ) { + Logger::error( + 'API key was not found.', + [ + 'sucuri firewall cache', + ] + ); + + return new WP_Error( 'no_sucuri_api_key', __( 'Sucuri firewall API key was not found.', 'rocket' ) ); + } + + $matches = self::is_api_key_valid( $api_key ); + + if ( ! $matches ) { + Logger::error( + 'API key is invalid.', + [ + 'sucuri firewall cache', + ] + ); + + return new WP_Error( 'invalid_sucuri_api_key', __( 'Sucuri firewall API key is invalid.', 'rocket' ) ); + } + + return [ + 'k' => $matches['k'], + 's' => $matches['s'], + ]; + } + + /** + * Request against the API. + * + * @since 3.2 + * + * @param array $params Parameters to send. + * + * @return array|WP_Error The response data on success. A WP_Error object on failure. + */ + private function request_api( $params = [] ) { + $params['time'] = time(); + $params = $this->build_query( $params ); + $url = sprintf( static::API_URL, $params ); + + /** + * Filters the arguments for the Sucuri API request + * + * @since 3.3.4 + * + * @param array $args Arguments for the request. + */ + $args = apply_filters( + 'rocket_sucuri_api_request_args', + [ + 'timeout' => 5, + 'redirection' => 5, + 'httpversion' => '1.1', + 'blocking' => true, + // This filter is documented in wp-includes/class-wp-http-streams.php. + 'sslverify' => apply_filters( 'https_ssl_verify', true ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + ] + ); + + $response = wp_remote_get( $url, $args ); + + if ( is_wp_error( $response ) ) { + Logger::error( + 'Error when contacting the API.', + [ + 'sucuri firewall cache', + 'url' => $url, + 'response' => $response->get_error_message(), + ] + ); + + // translators: %s is an error message. + return new WP_Error( 'wp_error_sucuri_api', sprintf( __( 'Error when contacting Sucuri firewall API. Error message was: %s', 'rocket' ), $response->get_error_message() ) ); + } + + $contents = wp_remote_retrieve_body( $response ); + + if ( empty( $contents ) ) { + Logger::error( + 'Could not get a response from the API.', + [ + 'sucuri firewall cache', + 'url' => $url, + 'response' => $response, + ] + ); + + return new WP_Error( 'sucuri_api_no_response', __( 'Could not get a response from the Sucuri firewall API.', 'rocket' ) ); + } + + $data = json_decode( $contents, true ); + + if ( ! $data || ! is_array( $data ) ) { + Logger::error( + 'Invalid response from the API.', + [ + 'sucuri firewall cache', + 'url' => $url, + 'response_body' => $contents, + ] + ); + + return new WP_Error( 'sucuri_api_invalid_response', __( 'Got an invalid response from the Sucuri firewall API.', 'rocket' ) ); + } + + if ( empty( $data['status'] ) ) { + Logger::error( + 'The action failed.', + [ + 'sucuri firewall cache', + 'url' => $url, + 'response_data' => $data, + ] + ); + + if ( empty( $data['messages'] ) || ! is_array( $data['messages'] ) ) { + return new WP_Error( 'sucuri_api_error_status', __( 'The Sucuri firewall API returned an unknown error.', 'rocket' ) ); + } + + // translators: %s is an error message. + $message = _n( 'The Sucuri firewall API returned the following error: %s', 'The Sucuri firewall API returned the following errors: %s', count( $data['messages'] ), 'rocket' ); + $message = sprintf( $message, '
' . implode( '
', $data['messages'] ) ); + + return new WP_Error( 'sucuri_api_error_status', $message ); + } + + return $data; + } + + /** + * Add the helper message on the CDN settings. + * + * @param string[] $addons Name from the addon that requires the helper message. + * @return string[] + */ + public function add_cdn_helper_message( array $addons ): array { + + if ( ! $this->options->get( 'sucury_waf_cache_sync', false ) ) { + return $addons; + } + + $addons[] = 'Sucuri'; + return $addons; + } + + /** + * An i18n-friendly alternative to the built-in PHP method `http_build_query()`. + * + * @param array|object $params An array or object containing properties. + * + * @return string An URL-encoded string. + */ + private function build_query( $params ): string { + if ( ! $params ) { + return ''; + } + + $params = (array) $params; + + foreach ( $params as $param => $value ) { + $params[ $param ] = $param . '=' . rawurlencode( (string) $value ); + } + + return implode( '&', $params ); + } +} diff --git a/inc/Addon/Varnish/ServiceProvider.php b/inc/Addon/Varnish/ServiceProvider.php new file mode 100644 index 0000000..0ddf53d --- /dev/null +++ b/inc/Addon/Varnish/ServiceProvider.php @@ -0,0 +1,37 @@ +getContainer()->add( 'varnish', Varnish::class ); + $this->getContainer()->share( 'varnish_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'varnish' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Addon/Varnish/Subscriber.php b/inc/Addon/Varnish/Subscriber.php new file mode 100644 index 0000000..2a48fd9 --- /dev/null +++ b/inc/Addon/Varnish/Subscriber.php @@ -0,0 +1,119 @@ +varnish = $varnish; + $this->options = $options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'before_rocket_clean_domain' => [ 'clean_domain', 10, 3 ], + 'before_rocket_clean_file' => [ 'clean_file' ], + 'rocket_rucss_after_clearing_usedcss' => [ 'clean_file' ], + 'before_rocket_clean_home' => [ 'clean_home', 10, 2 ], + 'rocket_rucss_complete_job_status' => [ 'clean_file' ], + ]; + } + + /** + * Checks if Varnish cache should be purged + * + * @since 3.5 + * + * @return bool + */ + private function should_purge() { + return ( + /** + * Filters the use of the Varnish compatibility add-on + * + * @param bool $varnish_purge True to use, false otherwise. + */ + apply_filters( 'do_rocket_varnish_http_purge', false ) // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + || + (bool) $this->options->get( 'varnish_auto_purge', 0 ) + ); + } + + /** + * Clears Varnish cache for the whole domain + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @param string $url The home url. + * @return void + */ + public function clean_domain( $root, $lang, $url ) { + if ( ! $this->should_purge() ) { + return; + } + + $this->varnish->purge( trailingslashit( $url ) . '?regex' ); + } + + /** + * Clears a specific page in Varnish cache + * + * @param string $url The url to purge. + * @return void + */ + public function clean_file( $url ) { + if ( ! $this->should_purge() ) { + return; + } + + $this->varnish->purge( trailingslashit( $url ) . '?regex' ); + } + + /** + * Clears the homepage in Varnish cache + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @return void + */ + public function clean_home( $root, $lang ) { + if ( ! $this->should_purge() ) { + return; + } + + $home_url = trailingslashit( get_rocket_i18n_home_url( $lang ) ); + $home_pagination_url = $home_url . trailingslashit( $GLOBALS['wp_rewrite']->pagination_base ) . '?regex'; + + $this->varnish->purge( $home_url ); + $this->varnish->purge( $home_pagination_url ); + } +} diff --git a/inc/Addon/Varnish/Varnish.php b/inc/Addon/Varnish/Varnish.php new file mode 100644 index 0000000..03a136a --- /dev/null +++ b/inc/Addon/Varnish/Varnish.php @@ -0,0 +1,129 @@ + apply_filters( 'rocket_varnish_purge_request_host', $parse_url['host'] ), + 'X-Purge-Method' => $x_purge_method, + ] + ); + + /** + * Filters the arguments passed to the Varnish purge request + * + * @since 3.5 + * + * @param array $args Array of arguments for the request. + */ + $args = apply_filters( + 'rocket_varnish_purge_request_args', + [ + 'method' => 'PURGE', + 'blocking' => false, + 'redirection' => 0, + 'headers' => $headers, + ] + ); + + foreach ( $this->get_varnish_ips() as $ip ) { + $host = ! empty( $ip ) ? $ip : str_replace( '*', '', $parse_url['host'] ); + $purge_url_main = $scheme . '://' . $host . $parse_url['path']; + + /** + * Filters the purge url. + * + * @since 3.6.3 + * + * @param string $purge_url_full Full url contains the main url plus regex pattern. + * @param string $purge_url_main Main purge url without any additions params. + * @param string $regex Regex string. + */ + $purge_url = apply_filters( + 'rocket_varnish_purge_url', + $purge_url_main . $regex, + $purge_url_main, + $regex + ); + + wp_remote_request( $purge_url, $args ); + } + } + + /** + * Gets an array of Varnish IPs to send the purge request to + * + * @return array + */ + private function get_varnish_ips() { + /** + * Filter the Varnish IP to call + * + * @since 2.6.8 + * @param string|array $varnish_ip The Varnish IP + */ + $varnish_ip = apply_filters( 'rocket_varnish_ip', [] ); + $constant = rocket_get_constant( 'WP_ROCKET_VARNISH_IP' ); + + if ( + ! empty( $constant ) + && + empty( $varnish_ip ) + ) { + $varnish_ip = $constant; + } + + if ( empty( $varnish_ip ) ) { + $varnish_ip = [ '' ]; + } elseif ( is_string( $varnish_ip ) ) { + $varnish_ip = (array) $varnish_ip; + } + + return $varnish_ip; + } +} diff --git a/inc/Addon/Varnish/composer.json b/inc/Addon/Varnish/composer.json new file mode 100644 index 0000000..e96f3d6 --- /dev/null +++ b/inc/Addon/Varnish/composer.json @@ -0,0 +1,78 @@ +{ + "name": "wp-media/module-varnish", + "description": "Varnish Addon for WP Rocket", + "homepage": "https://github.com/wp-media/module-varnish", + "license": "GPL-2.0+", + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "type": "library", + "config": { + "sort-packages": true + }, + "support": { + "issues": "https://github.com/wp-media/module-varnish/issues", + "source": "https://github.com/wp-media/module-varnish" + }, + "require-dev": { + "php": "^7 || ^8", + "brain/monkey": "^2.0", + "coenjacobs/mozart": "^0.7", + "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", + "league/container": "^3.3", + "phpcompatibility/phpcompatibility-wp": "^2.0", + "phpstan/phpstan": "^0.12.3", + "phpunit/phpunit": "^7", + "psr/container": "1.0.0", + "roave/security-advisories": "dev-master", + "szepeviktor/phpstan-wordpress": "^0.7", + "wp-coding-standards/wpcs": "^2", + "wp-media/event-manager": "^3.1", + "wp-media/options": "^3.0", + "wp-media/phpunit": "1.1.6" + }, + "autoload": { + "psr-4": { "WP_Rocket\\Addon\\Varnish\\": "." } + }, + "autoload-dev": { + "psr-4": { + "WP_Rocket\\Tests\\": "Tests/", + "WP_Rocket\\Dependencies\\": "Dependencies/" + } + }, + "extra": { + "mozart": { + "dep_namespace": "WP_Rocket\\Dependencies\\", + "dep_directory": "/Dependencies/", + "classmap_directory": "/classes/dependencies/", + "classmap_prefix": "WP_Rocket_", + "packages": [ + "league/container" + ] + } + }, + "scripts": { + "test-unit": "\"vendor/bin/wpmedia-phpunit\" unit path=Tests/Unit", + "test-integration": "\"vendor/bin/wpmedia-phpunit\" integration path=Tests/Integration/", + "run-tests": [ + "@test-unit", + "@test-integration" + ], + "install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run", + "phpcs": "\"vendor/bin/phpcs\" .", + "phpcs:fix": "\"vendor/bin/phpcbf\" ", + "phpstan": "\"vendor/bin/phpstan\" analyse", + "post-install-cmd": [ + "\"vendor/bin/mozart\" compose", + "composer dump-autoload" + ], + "post-update-cmd": [ + "\"vendor/bin/mozart\" compose", + "composer dump-autoload" + ] + } +} diff --git a/inc/Addon/WebP/AbstractWebp.php b/inc/Addon/WebP/AbstractWebp.php new file mode 100644 index 0000000..98642a3 --- /dev/null +++ b/inc/Addon/WebP/AbstractWebp.php @@ -0,0 +1,103 @@ +cdn_subscriber = $cdn_subscriber; + } + + /** + * Get a list of active plugins that convert and/or serve webp images. + * + * @since 3.12.6 + * + * @return array An array of Webp_Interface objects. + */ + protected function get_webp_plugins() { + /** + * Add Webp plugins. + * + * @since 3.4 + * + * @param array $webp_plugins An array of Webp_Interface objects. + */ + $webp_plugins = (array) apply_filters( 'rocket_webp_plugins', [] ); + + if ( ! $webp_plugins ) { + // Somebody probably messed up. + return []; + } + + foreach ( $webp_plugins as $plugin_key => $plugin ) { + if ( ! $plugin instanceof Webp_Interface ) { + unset( $webp_plugins[ $plugin_key ] ); + continue; + } + + if ( ! $this->is_plugin_active( $plugin->get_basename() ) ) { + unset( $webp_plugins[ $plugin_key ] ); + } + } + + return $webp_plugins; + } + + /** + * Tell if a plugin is active. + * + * @since 3.12.6 + * + * @param string $plugin_basename A plugin basename. + * @return bool + */ + protected function is_plugin_active( string $plugin_basename ): bool { + if ( doing_action( 'deactivate_' . $plugin_basename ) ) { + return false; + } + + if ( doing_action( 'activate_' . $plugin_basename ) ) { + return true; + } + + return rocket_is_plugin_active( $plugin_basename ); + } + + /** + * Tell if WP Rocket uses a CDN for images. + * + * @since 3.12.6 + * + * @return bool + */ + protected function is_using_cdn(): bool { + // Don't use `$this->options_data->get( 'cdn' )` here, we need an up-to-date value when the CDN option changes. + $use = get_rocket_option( 'cdn', 0 ) && $this->cdn_subscriber->get_cdn_hosts( [], [ 'all', 'images' ] ); + /** + * Filter whether WP Rocket is using a CDN for webp images. + * + * @since 3.4 + * + * @param bool $use True if WP Rocket is using a CDN for webp images. False otherwise. + */ + return (bool) apply_filters( 'rocket_webp_is_using_cdn', $use ); + } +} diff --git a/inc/Addon/WebP/AdminSubscriber.php b/inc/Addon/WebP/AdminSubscriber.php new file mode 100644 index 0000000..4ebc71d --- /dev/null +++ b/inc/Addon/WebP/AdminSubscriber.php @@ -0,0 +1,214 @@ +options_data = $options_data; + $this->beacon = $beacon; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'rocket_cache_webp_setting_field' => [ + [ 'maybe_disable_setting_field' ], + [ 'webp_section_description' ], + ], + ]; + } + + /** + * Modifies the WebP section description of WP Rocket settings. + * + * @since 3.4 + * + * @param array $cache_webp_field Section description. + * @return array + */ + public function webp_section_description( $cache_webp_field ) { + $webp_beacon = $this->beacon->get_suggest( 'webp' ); + $webp_plugins = $this->get_webp_plugins(); + $serving = []; + $serving_not_compatible = []; + $creating = []; + + if ( $webp_plugins ) { + $is_using_cdn = $this->is_using_cdn(); + + foreach ( $webp_plugins as $plugin ) { + if ( $plugin->is_serving_webp() ) { + if ( $is_using_cdn && ! $plugin->is_serving_webp_compatible_with_cdn() ) { + // Serving WebP using a method not compatible with CDN. + $serving_not_compatible[ $plugin->get_id() ] = $plugin->get_name(); + } else { + // Serving WebP when no CDN or with a method compatible with CDN. + $serving[ $plugin->get_id() ] = $plugin->get_name(); + } + } + if ( $plugin->is_converting_to_webp() ) { + // Generating WebP. + $creating[ $plugin->get_id() ] = $plugin->get_name(); + } + } + } + + if ( $serving ) { + // 5, 8. + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. + esc_html( _n( 'You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s.', 'You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s.', count( $serving ), 'rocket' ) ), + esc_html( wp_sprintf_l( '%l', $serving ) ), + '', + '', + '
' + ); + + return $cache_webp_field; + } + + /** This filter is documented in inc/classes/buffer/class-cache.php */ + if ( apply_filters( 'rocket_disable_webp_cache', false ) ) { + $cache_webp_field['description'] = esc_html__( 'WebP cache is disabled by filter.', 'rocket' ); + + return $cache_webp_field; + } + + if ( $serving_not_compatible ) { + if ( ! $this->options_data->get( 'cache_webp', 0 ) ) { + // 6. + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. + esc_html( _n( 'You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s', 'You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s', count( $serving_not_compatible ), 'rocket' ) ), + esc_html( wp_sprintf_l( '%l', $serving_not_compatible ) ), + '', + '' + ); + + return $cache_webp_field; + } + + // 7. + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. + esc_html( _n( 'You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s', 'You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s', count( $serving_not_compatible ), 'rocket' ) ), + esc_html( wp_sprintf_l( '%l', $serving_not_compatible ) ), + '', + '' + ); + + return $cache_webp_field; + } + + if ( $creating ) { + if ( ! $this->options_data->get( 'cache_webp', 0 ) ) { + // 3. + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. + esc_html( _n( 'You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s', 'You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s', count( $creating ), 'rocket' ) ), + esc_html( wp_sprintf_l( '%l', $creating ) ), + '', + '' + ); + + return $cache_webp_field; + } + + // 4. + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. + esc_html( _n( 'You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s', 'You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s', count( $creating ), 'rocket' ) ), + esc_html( wp_sprintf_l( '%l', $creating ) ), + '', + '' + ); + + return $cache_webp_field; + } + + if ( ! $this->options_data->get( 'cache_webp', 0 ) ) { + // 1. + if ( rocket_valid_key() && ! \Imagify_Partner::has_imagify_api_key() ) { + $imagify_link = ''; + } else { + // The Imagify page is not displayed. + $imagify_link = ''; + } + + $cache_webp_field['description'] = sprintf( + // Translators: %1$s = opening tag, %2$s = closing tag. + esc_html__( '%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option.', 'rocket' ), + '', + '', + $imagify_link, + '
', + '', + '' + ); + return $cache_webp_field; + } + + // 2. + $cache_webp_field['description'] = esc_html__( 'WP Rocket will create separate cache files to serve your WebP images.', 'rocket' ); + + return $cache_webp_field; + } + + /** + * Disable 'cache_webp' setting field if another plugin serves WebP. + * + * @since 3.4 + * + * @param array $cache_webp_field Data to be added to the setting field. + * @return array + */ + public function maybe_disable_setting_field( $cache_webp_field ) { + /** This filter is documented in inc/classes/buffer/class-cache.php */ + if ( ! apply_filters( 'rocket_disable_webp_cache', false ) ) { + return $cache_webp_field; + } + + foreach ( [ 'input_attr', 'container_class' ] as $attr ) { + if ( ! isset( $cache_webp_field[ $attr ] ) || ! is_array( $cache_webp_field[ $attr ] ) ) { + $cache_webp_field[ $attr ] = []; + } + } + + $cache_webp_field['input_attr']['disabled'] = 1; + + return $cache_webp_field; + } +} diff --git a/inc/Addon/WebP/Subscriber.php b/inc/Addon/WebP/Subscriber.php new file mode 100644 index 0000000..701af20 --- /dev/null +++ b/inc/Addon/WebP/Subscriber.php @@ -0,0 +1,598 @@ +options_data = $options_data; + $this->options_api = $options_api; + + if ( ! isset( $server ) && ! empty( $_SERVER ) && is_array( $_SERVER ) ) { + $server = $_SERVER; + } + + $this->server = $server && is_array( $server ) ? $server : []; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ 'convert_to_webp', 16 ], + 'rocket_disable_webp_cache' => 'maybe_disable_webp_cache', + 'rocket_third_party_webp_change' => 'sync_webp_cache_with_third_party_plugins', + 'rocket_preload_before_preload_url' => 'add_accept_header', + 'rocket_lazyload_youtube_thumbnail_extension' => 'change_youtube_thumbnail', + ]; + } + + /** + * Converts images extension to WebP if the file exists. + * + * @since 3.4 + * + * @param string $html HTML content. + * @return string + */ + public function convert_to_webp( $html ) { + if ( ! $this->options_data->get( 'cache_webp', 0 ) ) { + return $html; + } + + /** This filter is documented in inc/classes/buffer/class-cache.php */ + if ( apply_filters( 'rocket_disable_webp_cache', false ) ) { + return $html; + } + + if ( ! $this->is_browser_webp_compatible() ) { + return $html; + } + + $extensions = $this->get_extensions(); + $attribute_names = $this->get_attribute_names(); + + if ( + empty( $extensions ) + || + empty( $attribute_names ) + ) { + return $html . ''; + } + + $extensions = implode( '|', $extensions ); + $attribute_names = implode( '|', $attribute_names ); + + if ( ! preg_match_all( '@["\'\s](?(?:data-(?:[a-z0-9_-]+-)?)?(?:' . $attribute_names . '))\s*=\s*["\']\s*(?(?:https?:/)?/[^"\']+\.(?:' . $extensions . ')[^"\']*?)\s*["\']@is', $html, $attributes, PREG_SET_ORDER ) ) { + return $html . ''; + } + + if ( ! isset( $this->filesystem ) ) { + $this->filesystem = \rocket_direct_filesystem(); + } + + $has_webp = false; + + foreach ( $attributes as $attribute ) { + if ( preg_match( '@srcset$@i', strtolower( $attribute['name'] ) ) ) { + // This is a srcset attribute, with probably multiple URLs. + $new_value = $this->srcset_to_webp( $attribute['value'], $extensions ); + } else { + // A single URL attibute. + $new_value = $this->url_to_webp( $attribute['value'], $extensions ); + } + + if ( ! $new_value ) { + // No webp here. + continue; + } + + // Replace in content. + $has_webp = true; + $new_attr = preg_replace( '@' . $attribute['name'] . '\s*=\s*["\'][^"\']+["\']@s', $attribute['name'] . '="' . $new_value . '"', $attribute[0] ); + $html = str_replace( $attribute[0], $new_attr, $html ); + } + + $has_webp = apply_filters_deprecated( 'rocket_page_has_webp_files', [ $has_webp, $html ], '3.12.6', 'rocket_page_has_webp_files' ); + + /** + * Tell if the page contains webp files. + * + * @since 3.4 + * + * @param bool $has_webp True if the page contains webp files. False otherwise. + * @param string $html The page’s html contents. + */ + + $has_webp = apply_filters( 'rocket_page_has_webp_files', $has_webp, $html ); + + if ( $has_webp ) { + return $html . ''; + } + + return $html . ''; + } + + /** + * Disable the WebP cache if a WebP plugin is in use. + * + * @since 3.4 + * + * @param bool $disable_webp_cache True to disable WebP cache. False otherwise (default). + * + * @return bool + */ + public function maybe_disable_webp_cache( $disable_webp_cache ): bool { + return $disable_webp_cache || ! empty( $this->get_plugins_serving_webp() ); + } + + /** + * When a 3rd party plugin enables or disables its webp feature, disable or enable WPR feature accordingly. + * + * @since 3.4 + */ + public function sync_webp_cache_with_third_party_plugins() { + if ( + $this->options_data->get( 'cache_webp', 0 ) + && + $this->get_plugins_serving_webp() + ) { + // Disable the cache webp option. + $this->options_data->set( 'cache_webp', 0 ); + $this->options_api->set( 'settings', $this->options_data->get_options() ); + } + + rocket_generate_config_file(); + } + + /** + * Add WebP to the HTTP_ACCEPT headers on preload request when the WebP option is active + * + * @param array $requests Requests to make. + * @return array + */ + public function add_accept_header( $requests ) { + if ( ! is_array( $requests ) || ! $this->options_data->get( 'cache_webp', 0 ) ) { + return $requests; + } + + return array_map( + function ( $request ) { + $request['headers']['headers']['Accept'] = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'; + $request['headers']['headers']['HTTP_ACCEPT'] = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'; + return $request; + }, + $requests + ); + } + + /** + * Checks if the browser is WebP compatible + * + * @since 3.12.6 + * + * @return bool + */ + private function is_browser_webp_compatible(): bool { + // Only to supporting browsers. + $http_accept = isset( $this->server['HTTP_ACCEPT'] ) ? $this->server['HTTP_ACCEPT'] : ''; + + if ( + empty( $http_accept ) + && + function_exists( 'apache_request_headers' ) + ) { + $headers = apache_request_headers(); + $http_accept = isset( $headers['Accept'] ) ? $headers['Accept'] : ''; + } + + if ( + ! empty( $http_accept ) + && + false !== strpos( $http_accept, 'webp' ) + ) { + return true; + } + + return $this->is_user_agent_compatible(); + } + + /** + * Check the User Agent if the Accept headers is missing the WebP info + * + * @since 3.12.6 + * + * @return bool + */ + private function is_user_agent_compatible(): bool { + $user_agent = isset( $this->server['HTTP_USER_AGENT'] ) ? $this->server['HTTP_USER_AGENT'] : ''; + + if ( empty( $user_agent ) ) { + return false; + } + + if ( preg_match( '#Firefox/(?[0-9]{2,})#i', $user_agent, $matches ) ) { + if ( 66 >= (int) $matches['version'] ) { + return false; + } + } + + if ( preg_match( '#(?:iPad|iPhone)(.*)Version/(?[0-9]{2,})#i', $user_agent, $matches ) ) { + if ( 14 > (int) $matches['version'] ) { + return false; + } + + return true; + } + + if ( preg_match( '#Version/(?[0-9]{2,})(?:.*)Safari#i', $user_agent, $matches ) ) { + if ( 16 > (int) $matches['version'] ) { + return false; + } + } + + return true; + } + + /** + * Get the list of file extensions that may have a webp version. + * + * @since 3.4 + * + * @return array + */ + private function get_extensions() { + $extensions = [ 'jpg', 'jpeg', 'jpe', 'png', 'gif' ]; + + /** + * Filter the list of file extensions that may have a webp version. + * + * @since 3.4 + * + * @param array $extensions An array of file extensions. + */ + $extensions = apply_filters( 'rocket_file_extensions_for_webp', $extensions ); + $extensions = array_filter( + (array) $extensions, + function ( $extension ) { + return $extension && is_string( $extension ); + } + ); + + return array_unique( $extensions ); + } + + /** + * Get the names of the HTML attributes where WP Rocket must search for image files. + * + * @since 3.4 + * + * @return array + */ + private function get_attribute_names() { + $attributes = [ 'href', 'src', 'srcset', 'data-large_image', 'data-thumb' ]; + + /** + * Filter the names of the HTML attributes where WP Rocket must search for image files. + * Don't prepend new names with `data-`, WPR will do it. For example if you want to add `data-foo-bar`, you only need to add `foo-bar` or `bar` to the list. + * + * @since 3.4 + * + * @param array $attributes An array of HTML attribute names. + */ + $attributes = apply_filters( 'rocket_attributes_for_webp', $attributes ); + $attributes = array_filter( + (array) $attributes, + function ( $attributes ) { + return $attributes && is_string( $attributes ); + } + ); + + return array_unique( $attributes ); + } + + /** + * Convert a URL to an absolute path. + * + * @since 3.4 + * + * @param string $url URL to convert. + * @return string|bool + */ + private function url_to_path( $url ) { + static $hosts, $site_host, $subdir_levels; + + $url_host = wp_parse_url( $url, PHP_URL_HOST ); + + // Relative path. + if ( null === $url_host ) { + if ( ! isset( $subdir_levels ) ) { + $subdir_levels = substr_count( preg_replace( '@^https?://@', '', site_url() ), '/' ); + } + + if ( $subdir_levels ) { + $url = ltrim( $url, '/' ); + $url = explode( '/', $url ); + array_splice( $url, 0, $subdir_levels ); + $url = implode( '/', $url ); + } + + $url = site_url( $url ); + } + + // CDN. + if ( ! isset( $hosts ) ) { + $hosts = $this->cdn_subscriber->get_cdn_hosts( [], [ 'all', 'images' ] ); + $hosts = array_flip( $hosts ); + } + + if ( isset( $hosts[ $url_host ] ) ) { + if ( ! isset( $site_host ) ) { + $site_host = wp_parse_url( site_url( '/' ), PHP_URL_HOST ); + } + if ( $site_host ) { + $url = preg_replace( '@^(https?://)' . $url_host . '/@', '$1' . $site_host . '/', $url ); + } + } + + // URL to path. + $url = preg_replace( '@^https?:@', '', $url ); + $paths = $this->get_url_to_path_associations(); + + if ( ! $paths ) { + // Uh? + return false; + } + + foreach ( $paths as $asso_url => $asso_path ) { + if ( 0 === strpos( $url, $asso_url ) ) { + $file = str_replace( $asso_url, $asso_path, $url ); + break; + } + } + + if ( empty( $file ) ) { + return false; + } + + /** This filter is documented in inc/functions/formatting.php. */ + return (string) apply_filters( 'rocket_url_to_path', $file, $url ); + } + + /** + * Add a webp extension to a URL. + * + * @since 3.4 + * + * @param string $url A URL (I see you're very surprised). + * @param string $extensions Allowed image extensions. + * @return string|bool The same URL with a webp extension if the file exists. False if the webp image doesn't exist. + */ + private function url_to_webp( $url, $extensions ) { + if ( ! preg_match( '@^(?.+\.(?' . $extensions . '))(?(?:\?.*)?)$@i', $url, $src_url ) ) { + // Probably something like "image.jpg.webp". + return false; + } + + $src_path = $this->url_to_path( $src_url['src'] ); + + if ( empty( $src_path ) ) { + return false; + } + + $src_path_webp = preg_replace( '@\.' . $src_url['extension'] . '$@', '.webp', $src_path ); + + if ( $this->filesystem->exists( $src_path_webp ) ) { + // File name: image.jpg => image.webp. + return preg_replace( '@\.' . $src_url['extension'] . '$@', '.webp', $src_url['src'] ) . $src_url['query']; + } + + if ( $this->filesystem->exists( $src_path . '.webp' ) ) { + // File name: image.jpg => image.jpg.webp. + return $src_url['src'] . '.webp' . $src_url['query']; + } + + return false; + } + + /** + * Add webp extension to URLs in a srcset attribute. + * + * @since 3.4 + * + * @param array|string $srcset_values Value of a srcset attribute. + * @param string $extensions Allowed image extensions. + * @return string|bool An array similar to $srcset_values, with webp extensions when the files exist. False if no images have webp versions. + */ + private function srcset_to_webp( $srcset_values, $extensions ) { + if ( ! $srcset_values ) { + return false; + } + + if ( ! is_array( $srcset_values ) ) { + $srcset_values = explode( ',', $srcset_values ); + } + + $has_webp = false; + + foreach ( $srcset_values as $i => $srcset_value ) { + $srcset_value = preg_split( '/\s+/', trim( $srcset_value ) ); + + if ( count( $srcset_value ) > 2 ) { + // Not a good idea to have space characters in file name. + $descriptor = array_pop( $srcset_value ); + $srcset_value = [ + 'url' => implode( ' ', $srcset_value ), + 'descriptor' => $descriptor, + ]; + } else { + $srcset_value = [ + 'url' => $srcset_value[0], + 'descriptor' => ! empty( $srcset_value[1] ) ? $srcset_value[1] : '1x', + ]; + } + + $url_webp = $this->url_to_webp( $srcset_value['url'], $extensions ); + + if ( ! $url_webp ) { + $srcset_values[ $i ] = implode( ' ', $srcset_value ); + continue; + } + + $srcset_values[ $i ] = $url_webp . ' ' . $srcset_value['descriptor']; + $has_webp = true; + } + + if ( ! $has_webp ) { + return false; + } + + return implode( ',', $srcset_values ); + } + + /** + * Get a list of URL/path associations. + * URLs are schema-less, starting by a double slash. + * + * @since 3.4 + * + * @return array A list of URLs as keys and paths as values. + */ + private function get_url_to_path_associations() { + static $list; + + if ( isset( $list ) ) { + return $list; + } + + $content_url = preg_replace( '@^https?:@', '', content_url( '/' ) ); + $content_dir = trailingslashit( rocket_get_constant( 'WP_CONTENT_DIR' ) ); + $list = [ $content_url => $content_dir ]; + + $upload = wp_upload_dir(); + $upload_dir = trailingslashit( $upload['basedir'] ); + + if ( strpos( $upload_dir, $content_dir ) === false ) { + $upload_url = preg_replace( '@^https?:@', '', trailingslashit( $upload['baseurl'] ) ); + $list[ $upload_url ] = $upload_dir; + } + + /** + * Filter the list of URL/path associations. + * The URLs with the most levels must come first. + * + * @since 3.4 + * + * @param array $list The list of URL/path associations. URLs are schema-less, starting by a double slash. + */ + $list = apply_filters( 'rocket_url_to_path_associations', $list ); + $list = array_filter( + $list, + function ( $path, $url ) { + return $path && $url && is_string( $path ) && is_string( $url ); + }, + ARRAY_FILTER_USE_BOTH + ); + + if ( $list ) { + $list = array_unique( $list ); + } + + return $list; + } + + /** + * Get a list of plugins that serve webp images on frontend. + * If the CDN is used, this won't list plugins that use a technique not compatible with CDN. + * + * @since 3.4 + * + * @return array The WebP plugin names. + */ + private function get_plugins_serving_webp() { + $webp_plugins = $this->get_webp_plugins(); + + if ( ! $webp_plugins ) { + // Somebody probably messed up. + return []; + } + + $checks = []; + $is_using_cdn = $this->is_using_cdn(); + + foreach ( $webp_plugins as $plugin ) { + if ( $is_using_cdn && $plugin->is_serving_webp_compatible_with_cdn() ) { + $checks[ $plugin->get_id() ] = $plugin->get_name(); + } elseif ( ! $is_using_cdn && $plugin->is_serving_webp() ) { + $checks[ $plugin->get_id() ] = $plugin->get_name(); + } + } + + return $checks; + } + + /** + * Change Youtube thumbnail extension. + * + * @param string $extension extension from the thumbnail. + * + * @return string + */ + public function change_youtube_thumbnail( $extension ) { + if ( ! $this->options_data->get( 'cache_webp', 0 ) ) { + return $extension; + } + return 'webp'; + } +} diff --git a/inc/Dependencies/ActionScheduler/action-scheduler.php b/inc/Dependencies/ActionScheduler/action-scheduler.php new file mode 100644 index 0000000..b950a70 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/action-scheduler.php @@ -0,0 +1,65 @@ +. + * + * @package ActionScheduler + */ + +if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_4' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION. + + if ( ! class_exists( 'ActionScheduler_Versions', false ) ) { + require_once __DIR__ . '/classes/ActionScheduler_Versions.php'; + add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 ); + } + + add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_4', 0, 0 ); // WRCS: DEFINED_VERSION. + + /** + * Registers this version of Action Scheduler. + */ + function action_scheduler_register_3_dot_5_dot_4() { // WRCS: DEFINED_VERSION. + $versions = ActionScheduler_Versions::instance(); + $versions->register( '3.5.4', 'action_scheduler_initialize_3_dot_5_dot_4' ); // WRCS: DEFINED_VERSION. + } + + /** + * Initializes this version of Action Scheduler. + */ + function action_scheduler_initialize_3_dot_5_dot_4() { // WRCS: DEFINED_VERSION. + // A final safety check is required even here, because historic versions of Action Scheduler + // followed a different pattern (in some unusual cases, we could reach this point and the + // ActionScheduler class is already defined—so we need to guard against that). + if ( ! class_exists( 'ActionScheduler', false ) ) { + require_once __DIR__ . '/classes/abstracts/ActionScheduler.php'; + ActionScheduler::init( __FILE__ ); + } + } + + // Support usage in themes - load this version if no plugin has loaded a version yet. + if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) { + action_scheduler_initialize_3_dot_5_dot_4(); // WRCS: DEFINED_VERSION. + do_action( 'action_scheduler_pre_theme_init' ); + ActionScheduler_Versions::initialize_latest_version(); + } +} diff --git a/inc/Dependencies/ActionScheduler/changelog.txt b/inc/Dependencies/ActionScheduler/changelog.txt new file mode 100644 index 0000000..69aef1f --- /dev/null +++ b/inc/Dependencies/ActionScheduler/changelog.txt @@ -0,0 +1,81 @@ +*** Changelog *** + += 3.5.4 - 2023-01-17 = +* Add pre filters during action registration. +* Async scheduling. +* Calculate timeouts based on total actions. +* Correctly order the parameters for `ActionScheduler_ActionFactory`'s calls to `single_unique`. +* Fetch action in memory first before releasing claim to avoid deadlock. +* PHP 8.2: declare property to fix creation of dynamic property warning. +* PHP 8.2: fix "Using ${var} in strings is deprecated, use {$var} instead". +* Prevent `undefined variable` warning for `$num_pastdue_actions`. + += 3.5.3 - 2022-11-09 = +* Query actions with partial match. + += 3.5.2 - 2022-09-16 = +* Fix - erroneous 3.5.1 release. + += 3.5.1 - 2022-09-13 = +* Maintenance on A/S docs. +* fix: PHP 8.2 deprecated notice. + += 3.5.0 - 2022-08-25 = +* Add - The active view link within the "Tools > Scheduled Actions" screen is now clickable. +* Add - A warning when there are past-due actions. +* Enhancement - Added the ability to schedule unique actions via an atomic operation. +* Enhancement - Improvements to cache invalidation when processing batches (when running on WordPress 6.0+). +* Enhancement - If a recurring action is found to be consistently failing, it will stop being rescheduled. +* Enhancement - Adds a new "Past Due" view to the scheduled actions list table. + += 3.4.2 - 2022-06-08 = +* Fix - Change the include for better linting. +* Fix - update: Added Action scheduler completed action hook. + += 3.4.1 - 2022-05-24 = +* Fix - Change the include for better linting. +* Fix - Fix the documented return type. + += 3.4.0 - 2021-10-29 = +* Enhancement - Number of items per page can now be set for the Scheduled Actions view (props @ovidiul). #771 +* Fix - Do not lower the max_execution_time if it is already set to 0 (unlimited) (props @barryhughes). #755 +* Fix - Avoid triggering autoloaders during the version resolution process (props @olegabr). #731 & #776 +* Dev - ActionScheduler_wcSystemStatus PHPCS fixes (props @ovidiul). #761 +* Dev - ActionScheduler_DBLogger.php PHPCS fixes (props @ovidiul). #768 +* Dev - Fixed phpcs for ActionScheduler_Schedule_Deprecated (props @ovidiul). #762 +* Dev - Improve actions table indicies (props @glagonikas). #774 & #777 +* Dev - PHPCS fixes for ActionScheduler_DBStore.php (props @ovidiul). #769 & #778 +* Dev - PHPCS Fixes for ActionScheduler_Abstract_ListTable (props @ovidiul). #763 & #779 +* Dev - Adds new filter action_scheduler_claim_actions_order_by to allow tuning of the claim query (props @glagonikas). #773 +* Dev - PHPCS fixes for ActionScheduler_WpPostStore class (props @ovidiul). #780 + += 3.3.0 - 2021-09-15 = +* Enhancement - Adds as_has_scheduled_action() to provide a performant way to test for existing actions. #645 +* Fix - Improves compatibility with environments where NO_ZERO_DATE is enabled. #519 +* Fix - Adds safety checks to guard against errors when our database tables cannot be created. #645 +* Dev - Now supports queries that use multiple statuses. #649 +* Dev - Minimum requirements for WordPress and PHP bumped (to 5.2 and 5.6 respectively). #723 + += 3.2.1 - 2021-06-21 = +* Fix - Add extra safety/account for different versions of AS and different loading patterns. #714 +* Fix - Handle hidden columns (Tools → Scheduled Actions) | #600. + += 3.2.0 - 2021-06-03 = +* Fix - Add "no ordering" option to as_next_scheduled_action(). +* Fix - Add secondary scheduled date checks when claiming actions (DBStore) | #634. +* Fix - Add secondary scheduled date checks when claiming actions (wpPostStore) | #634. +* Fix - Adds a new index to the action table, reducing the potential for deadlocks (props: @glagonikas). +* Fix - Fix unit tests infrastructure and adapt tests to PHP 8. +* Fix - Identify in-use data store. +* Fix - Improve test_migration_is_scheduled. +* Fix - PHP notice on list table. +* Fix - Speed up clean up and batch selects. +* Fix - Update pending dependencies. +* Fix - [PHP 8.0] Only pass action arg values through to do_action_ref_array(). +* Fix - [PHP 8] Set the PHP version to 7.1 in composer.json for PHP 8 compatibility. +* Fix - add is_initialized() to docs. +* Fix - fix file permissions. +* Fix - fixes #664 by replacing __ with esc_html__. + += 3.1.6 - 2020-05-12 = +* Change log starts. diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionClaim.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionClaim.php new file mode 100644 index 0000000..8b56816 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionClaim.php @@ -0,0 +1,23 @@ +id = $id; + $this->action_ids = $action_ids; + } + + public function get_id() { + return $this->id; + } + + public function get_actions() { + return $this->action_ids; + } +} + \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionFactory.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionFactory.php new file mode 100644 index 0000000..8e2e650 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionFactory.php @@ -0,0 +1,259 @@ +get_date() ); + } + break; + default: + $action_class = 'ActionScheduler_FinishedAction'; + break; + } + + $action_class = apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group ); + + $action = new $action_class( $hook, $args, $schedule, $group ); + + /** + * Allow 3rd party code to change the instantiated action for a given hook, args, schedule and group. + * + * @param ActionScheduler_Action $action The instantiated action. + * @param string $hook The instantiated action's hook. + * @param array $args The instantiated action's args. + * @param ActionScheduler_Schedule $schedule The instantiated action's schedule. + * @param string $group The instantiated action's group. + */ + return apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group ); + } + + /** + * Enqueue an action to run one time, as soon as possible (rather a specific scheduled time). + * + * This method creates a new action using the NullSchedule. In practice, this results in an action scheduled to + * execute "now". Therefore, it will generally run as soon as possible but is not prioritized ahead of other actions + * that are already past-due. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param string $group A group to put the action in. + * + * @return int The ID of the stored action. + */ + public function async( $hook, $args = array(), $group = '' ) { + return $this->async_unique( $hook, $args, $group, false ); + } + + /** + * Same as async, but also supports $unique param. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param string $group A group to put the action in. + * @param bool $unique Whether to ensure the action is unique. + * + * @return int The ID of the stored action. + */ + public function async_unique( $hook, $args = array(), $group = '', $unique = true ) { + $schedule = new ActionScheduler_NullSchedule(); + $action = new ActionScheduler_Action( $hook, $args, $schedule, $group ); + return $unique ? $this->store_unique_action( $action, $unique ) : $this->store( $action ); + } + + /** + * Create single action. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $when Unix timestamp when the action will run. + * @param string $group A group to put the action in. + * + * @return int The ID of the stored action. + */ + public function single( $hook, $args = array(), $when = null, $group = '' ) { + return $this->single_unique( $hook, $args, $when, $group, false ); + } + + /** + * Create single action only if there is no pending or running action with same name and params. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $when Unix timestamp when the action will run. + * @param string $group A group to put the action in. + * @param bool $unique Whether action scheduled should be unique. + * + * @return int The ID of the stored action. + */ + public function single_unique( $hook, $args = array(), $when = null, $group = '', $unique = true ) { + $date = as_get_datetime_object( $when ); + $schedule = new ActionScheduler_SimpleSchedule( $date ); + $action = new ActionScheduler_Action( $hook, $args, $schedule, $group ); + return $unique ? $this->store_unique_action( $action ) : $this->store( $action ); + } + + /** + * Create the first instance of an action recurring on a given interval. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $first Unix timestamp for the first run. + * @param int $interval Seconds between runs. + * @param string $group A group to put the action in. + * + * @return int The ID of the stored action. + */ + public function recurring( $hook, $args = array(), $first = null, $interval = null, $group = '' ) { + return $this->recurring_unique( $hook, $args, $first, $interval, $group, false ); + } + + /** + * Create the first instance of an action recurring on a given interval only if there is no pending or running action with same name and params. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $first Unix timestamp for the first run. + * @param int $interval Seconds between runs. + * @param string $group A group to put the action in. + * @param bool $unique Whether action scheduled should be unique. + * + * @return int The ID of the stored action. + */ + public function recurring_unique( $hook, $args = array(), $first = null, $interval = null, $group = '', $unique = true ) { + if ( empty( $interval ) ) { + return $this->single_unique( $hook, $args, $first, $group, $unique ); + } + $date = as_get_datetime_object( $first ); + $schedule = new ActionScheduler_IntervalSchedule( $date, $interval ); + $action = new ActionScheduler_Action( $hook, $args, $schedule, $group ); + return $unique ? $this->store_unique_action( $action ) : $this->store( $action ); + } + + /** + * Create the first instance of an action recurring on a Cron schedule. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $base_timestamp The first instance of the action will be scheduled + * to run at a time calculated after this timestamp matching the cron + * expression. This can be used to delay the first instance of the action. + * @param int $schedule A cron definition string. + * @param string $group A group to put the action in. + * + * @return int The ID of the stored action. + */ + public function cron( $hook, $args = array(), $base_timestamp = null, $schedule = null, $group = '' ) { + return $this->cron_unique( $hook, $args, $base_timestamp, $schedule, $group, false ); + } + + + /** + * Create the first instance of an action recurring on a Cron schedule only if there is no pending or running action with same name and params. + * + * @param string $hook The hook to trigger when this action runs. + * @param array $args Args to pass when the hook is triggered. + * @param int $base_timestamp The first instance of the action will be scheduled + * to run at a time calculated after this timestamp matching the cron + * expression. This can be used to delay the first instance of the action. + * @param int $schedule A cron definition string. + * @param string $group A group to put the action in. + * @param bool $unique Whether action scheduled should be unique. + * + * @return int The ID of the stored action. + **/ + public function cron_unique( $hook, $args = array(), $base_timestamp = null, $schedule = null, $group = '', $unique = true ) { + if ( empty( $schedule ) ) { + return $this->single_unique( $hook, $args, $base_timestamp, $group, $unique ); + } + $date = as_get_datetime_object( $base_timestamp ); + $cron = CronExpression::factory( $schedule ); + $schedule = new ActionScheduler_CronSchedule( $date, $cron ); + $action = new ActionScheduler_Action( $hook, $args, $schedule, $group ); + return $unique ? $this->store_unique_action( $action ) : $this->store( $action ); + } + + /** + * Create a successive instance of a recurring or cron action. + * + * Importantly, the action will be rescheduled to run based on the current date/time. + * That means when the action is scheduled to run in the past, the next scheduled date + * will be pushed forward. For example, if a recurring action set to run every hour + * was scheduled to run 5 seconds ago, it will be next scheduled for 1 hour in the + * future, which is 1 hour and 5 seconds from when it was last scheduled to run. + * + * Alternatively, if the action is scheduled to run in the future, and is run early, + * likely via manual intervention, then its schedule will change based on the time now. + * For example, if a recurring action set to run every day, and is run 12 hours early, + * it will run again in 24 hours, not 36 hours. + * + * This slippage is less of an issue with Cron actions, as the specific run time can + * be set for them to run, e.g. 1am each day. In those cases, and entire period would + * need to be missed before there was any change is scheduled, e.g. in the case of an + * action scheduled for 1am each day, the action would need to run an entire day late. + * + * @param ActionScheduler_Action $action The existing action. + * + * @return string The ID of the stored action + * @throws InvalidArgumentException If $action is not a recurring action. + */ + public function repeat( $action ) { + $schedule = $action->get_schedule(); + $next = $schedule->get_next( as_get_datetime_object() ); + + if ( is_null( $next ) || ! $schedule->is_recurring() ) { + throw new InvalidArgumentException( __( 'Invalid action - must be a recurring action.', 'action-scheduler' ) ); + } + + $schedule_class = get_class( $schedule ); + $new_schedule = new $schedule( $next, $schedule->get_recurrence(), $schedule->get_first_date() ); + $new_action = new ActionScheduler_Action( $action->get_hook(), $action->get_args(), $new_schedule, $action->get_group() ); + return $this->store( $new_action ); + } + + /** + * Save action to database. + * + * @param ActionScheduler_Action $action Action object to save. + * + * @return int The ID of the stored action + */ + protected function store( ActionScheduler_Action $action ) { + $store = ActionScheduler_Store::instance(); + return $store->save_action( $action ); + } + + /** + * Store action if it's unique. + * + * @param ActionScheduler_Action $action Action object to store. + * + * @return int ID of the created action. Will be 0 if action was not created. + */ + protected function store_unique_action( ActionScheduler_Action $action ) { + $store = ActionScheduler_Store::instance(); + return method_exists( $store, 'save_unique_action' ) ? + $store->save_unique_action( $action ) : $store->save_action( $action ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php new file mode 100644 index 0000000..b747b0a --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php @@ -0,0 +1,252 @@ +render(); + } + + /** + * Registers action-scheduler into WooCommerce > System status. + * + * @param array $tabs An associative array of tab key => label. + * @return array $tabs An associative array of tab key => label, including Action Scheduler's tabs + */ + public function register_system_status_tab( array $tabs ) { + $tabs['action-scheduler'] = __( 'Scheduled Actions', 'action-scheduler' ); + + return $tabs; + } + + /** + * Include Action Scheduler's administration under the Tools menu. + * + * A menu under the Tools menu is important for backward compatibility (as that's + * where it started), and also provides more convenient access than the WooCommerce + * System Status page, and for sites where WooCommerce isn't active. + */ + public function register_menu() { + $hook_suffix = add_submenu_page( + 'tools.php', + __( 'Scheduled Actions', 'action-scheduler' ), + __( 'Scheduled Actions', 'action-scheduler' ), + 'manage_options', + 'action-scheduler', + array( $this, 'render_admin_ui' ) + ); + add_action( 'load-' . $hook_suffix , array( $this, 'process_admin_ui' ) ); + } + + /** + * Triggers processing of any pending actions. + */ + public function process_admin_ui() { + $this->get_list_table(); + } + + /** + * Renders the Admin UI + */ + public function render_admin_ui() { + $table = $this->get_list_table(); + $table->display_page(); + } + + /** + * Get the admin UI object and process any requested actions. + * + * @return ActionScheduler_ListTable + */ + protected function get_list_table() { + if ( null === $this->list_table ) { + $this->list_table = new ActionScheduler_ListTable( ActionScheduler::store(), ActionScheduler::logger(), ActionScheduler::runner() ); + $this->list_table->process_actions(); + } + + return $this->list_table; + } + + /** + * Action: admin_notices + * + * Maybe check past-due actions, and print notice. + * + * @uses $this->check_pastdue_actions() + */ + public function maybe_check_pastdue_actions() { + + # Filter to prevent checking actions (ex: inappropriate user). + if ( ! apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ) ) { + return; + } + + # Get last check transient. + $last_check = get_transient( 'action_scheduler_last_pastdue_actions_check' ); + + # If transient exists, we're within interval, so bail. + if ( ! empty( $last_check ) ) { + return; + } + + # Perform the check. + $this->check_pastdue_actions(); + } + + /** + * Check past-due actions, and print notice. + * + * @todo update $link_url to "Past-due" filter when released (see issue #510, PR #511) + */ + protected function check_pastdue_actions() { + + # Set thresholds. + $threshold_seconds = ( int ) apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); + $threshhold_min = ( int ) apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); + + // Set fallback value for past-due actions count. + $num_pastdue_actions = 0; + + // Allow third-parties to preempt the default check logic. + $check = apply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); + + // If no third-party preempted and there are no past-due actions, return early. + if ( ! is_null( $check ) ) { + return; + } + + # Scheduled actions query arguments. + $query_args = array( + 'date' => as_get_datetime_object( time() - $threshold_seconds ), + 'status' => ActionScheduler_Store::STATUS_PENDING, + 'per_page' => $threshhold_min, + ); + + # If no third-party preempted, run default check. + if ( is_null( $check ) ) { + $store = ActionScheduler_Store::instance(); + $num_pastdue_actions = ( int ) $store->query_actions( $query_args, 'count' ); + + # Check if past-due actions count is greater than or equal to threshold. + $check = ( $num_pastdue_actions >= $threshhold_min ); + $check = ( bool ) apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshhold_min ); + } + + # If check failed, set transient and abort. + if ( ! boolval( $check ) ) { + $interval = apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); + set_transient( 'action_scheduler_last_pastdue_actions_check', time(), $interval ); + + return; + } + + $actions_url = add_query_arg( array( + 'page' => 'action-scheduler', + 'status' => 'past-due', + 'order' => 'asc', + ), admin_url( 'tools.php' ) ); + + # Print notice. + echo '

'; + printf( + _n( + // translators: 1) is the number of affected actions, 2) is a link to an admin screen. + 'Action Scheduler: %1$d past-due action found; something may be wrong. Read documentation »', + 'Action Scheduler: %1$d past-due actions found; something may be wrong. Read documentation »', + $num_pastdue_actions, + 'action-scheduler' + ), + $num_pastdue_actions, + esc_attr( esc_url( $actions_url ) ) + ); + echo '

'; + + # Facilitate third-parties to evaluate and print notices. + do_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); + } + + /** + * Provide more information about the screen and its data in the help tab. + */ + public function add_help_tabs() { + $screen = get_current_screen(); + + if ( ! $screen || self::$screen_id != $screen->id ) { + return; + } + + $as_version = ActionScheduler_Versions::instance()->latest_version(); + $screen->add_help_tab( + array( + 'id' => 'action_scheduler_about', + 'title' => __( 'About', 'action-scheduler' ), + 'content' => + '

' . sprintf( __( 'About Action Scheduler %s', 'action-scheduler' ), $as_version ) . '

' . + '

' . + __( 'Action Scheduler is a scalable, traceable job queue for background processing large sets of actions. Action Scheduler works by triggering an action hook to run at some time in the future. Scheduled actions can also be scheduled to run on a recurring schedule.', 'action-scheduler' ) . + '

', + ) + ); + + $screen->add_help_tab( + array( + 'id' => 'action_scheduler_columns', + 'title' => __( 'Columns', 'action-scheduler' ), + 'content' => + '

' . __( 'Scheduled Action Columns', 'action-scheduler' ) . '

' . + '
    ' . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Hook', 'action-scheduler' ), __( 'Name of the action hook that will be triggered.', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Status', 'action-scheduler' ), __( 'Action statuses are Pending, Complete, Canceled, Failed', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Arguments', 'action-scheduler' ), __( 'Optional data array passed to the action hook.', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Group', 'action-scheduler' ), __( 'Optional action group.', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Recurrence', 'action-scheduler' ), __( 'The action\'s schedule frequency.', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Scheduled', 'action-scheduler' ), __( 'The date/time the action is/was scheduled to run.', 'action-scheduler' ) ) . + sprintf( '
  • %1$s: %2$s
  • ', __( 'Log', 'action-scheduler' ), __( 'Activity log for the action.', 'action-scheduler' ) ) . + '
', + ) + ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php new file mode 100644 index 0000000..57706a2 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php @@ -0,0 +1,97 @@ +store = $store; + } + + /** + * Handle async requests + * + * Run a queue, and maybe dispatch another async request to run another queue + * if there are still pending actions after completing a queue in this request. + */ + protected function handle() { + do_action( 'action_scheduler_run_queue', 'Async Request' ); // run a queue in the same way as WP Cron, but declare the Async Request context + + $sleep_seconds = $this->get_sleep_seconds(); + + if ( $sleep_seconds ) { + sleep( $sleep_seconds ); + } + + $this->maybe_dispatch(); + } + + /** + * If the async request runner is needed and allowed to run, dispatch a request. + */ + public function maybe_dispatch() { + if ( ! $this->allow() ) { + return; + } + + $this->dispatch(); + ActionScheduler_QueueRunner::instance()->unhook_dispatch_async_request(); + } + + /** + * Only allow async requests when needed. + * + * Also allow 3rd party code to disable running actions via async requests. + */ + protected function allow() { + + if ( ! has_action( 'action_scheduler_run_queue' ) || ActionScheduler::runner()->has_maximum_concurrent_batches() || ! $this->store->has_pending_actions_due() ) { + $allow = false; + } else { + $allow = true; + } + + return apply_filters( 'action_scheduler_allow_async_request_runner', $allow ); + } + + /** + * Chaining async requests can crash MySQL. A brief sleep call in PHP prevents that. + */ + protected function get_sleep_seconds() { + return apply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Compatibility.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Compatibility.php new file mode 100644 index 0000000..85e0ed9 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Compatibility.php @@ -0,0 +1,109 @@ + $wp_max_limit_int && $filtered_limit_int > $current_limit_int ) ) { + if ( false !== @ini_set( 'memory_limit', $filtered_limit ) ) { + return $filtered_limit; + } else { + return false; + } + } elseif ( -1 === $wp_max_limit_int || $wp_max_limit_int > $current_limit_int ) { + if ( false !== @ini_set( 'memory_limit', $wp_max_limit ) ) { + return $wp_max_limit; + } else { + return false; + } + } + return false; + } + + /** + * Attempts to raise the PHP timeout for time intensive processes. + * + * Only allows raising the existing limit and prevents lowering it. Wrapper for wc_set_time_limit(), when available. + * + * @param int $limit The time limit in seconds. + */ + public static function raise_time_limit( $limit = 0 ) { + $limit = (int) $limit; + $max_execution_time = (int) ini_get( 'max_execution_time' ); + + /* + * If the max execution time is already unlimited (zero), or if it exceeds or is equal to the proposed + * limit, there is no reason for us to make further changes (we never want to lower it). + */ + if ( + 0 === $max_execution_time + || ( $max_execution_time >= $limit && $limit !== 0 ) + ) { + return; + } + + if ( function_exists( 'wc_set_time_limit' ) ) { + wc_set_time_limit( $limit ); + } elseif ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_modeDeprecatedRemoved + @set_time_limit( $limit ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DataController.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DataController.php new file mode 100644 index 0000000..eb69847 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DataController.php @@ -0,0 +1,187 @@ +=' ); + return $php_support && apply_filters( 'action_scheduler_migration_dependencies_met', true ); + } + + /** + * Get a flag indicating whether the migration is complete. + * + * @return bool Whether the flag has been set marking the migration as complete + */ + public static function is_migration_complete() { + return get_option( self::STATUS_FLAG ) === self::STATUS_COMPLETE; + } + + /** + * Mark the migration as complete. + */ + public static function mark_migration_complete() { + update_option( self::STATUS_FLAG, self::STATUS_COMPLETE ); + } + + /** + * Unmark migration when a plugin is de-activated. Will not work in case of silent activation, for example in an update. + * We do this to mitigate the bug of lost actions which happens if there was an AS 2.x to AS 3.x migration in the past, but that plugin is now + * deactivated and the site was running on AS 2.x again. + */ + public static function mark_migration_incomplete() { + delete_option( self::STATUS_FLAG ); + } + + /** + * Set the action store class name. + * + * @param string $class Classname of the store class. + * + * @return string + */ + public static function set_store_class( $class ) { + return self::DATASTORE_CLASS; + } + + /** + * Set the action logger class name. + * + * @param string $class Classname of the logger class. + * + * @return string + */ + public static function set_logger_class( $class ) { + return self::LOGGER_CLASS; + } + + /** + * Set the sleep time in seconds. + * + * @param integer $sleep_time The number of seconds to pause before resuming operation. + */ + public static function set_sleep_time( $sleep_time ) { + self::$sleep_time = (int) $sleep_time; + } + + /** + * Set the tick count required for freeing memory. + * + * @param integer $free_ticks The number of ticks to free memory on. + */ + public static function set_free_ticks( $free_ticks ) { + self::$free_ticks = (int) $free_ticks; + } + + /** + * Free memory if conditions are met. + * + * @param int $ticks Current tick count. + */ + public static function maybe_free_memory( $ticks ) { + if ( self::$free_ticks && 0 === $ticks % self::$free_ticks ) { + self::free_memory(); + } + } + + /** + * Reduce memory footprint by clearing the database query and object caches. + */ + public static function free_memory() { + if ( 0 < self::$sleep_time ) { + /* translators: %d: amount of time */ + \WP_CLI::warning( sprintf( _n( 'Stopped the insanity for %d second', 'Stopped the insanity for %d seconds', self::$sleep_time, 'action-scheduler' ), self::$sleep_time ) ); + sleep( self::$sleep_time ); + } + + \WP_CLI::warning( __( 'Attempting to reduce used memory...', 'action-scheduler' ) ); + + /** + * @var $wpdb \wpdb + * @var $wp_object_cache \WP_Object_Cache + */ + global $wpdb, $wp_object_cache; + + $wpdb->queries = array(); + + if ( ! is_a( $wp_object_cache, 'WP_Object_Cache' ) ) { + return; + } + + $wp_object_cache->group_ops = array(); + $wp_object_cache->stats = array(); + $wp_object_cache->memcache_debug = array(); + $wp_object_cache->cache = array(); + + if ( is_callable( array( $wp_object_cache, '__remoteset' ) ) ) { + call_user_func( array( $wp_object_cache, '__remoteset' ) ); // important + } + } + + /** + * Connect to table datastores if migration is complete. + * Otherwise, proceed with the migration if the dependencies have been met. + */ + public static function init() { + if ( self::is_migration_complete() ) { + add_filter( 'action_scheduler_store_class', array( 'ActionScheduler_DataController', 'set_store_class' ), 100 ); + add_filter( 'action_scheduler_logger_class', array( 'ActionScheduler_DataController', 'set_logger_class' ), 100 ); + add_action( 'deactivate_plugin', array( 'ActionScheduler_DataController', 'mark_migration_incomplete' ) ); + } elseif ( self::dependencies_met() ) { + Controller::init(); + } + + add_action( 'action_scheduler/progress_tick', array( 'ActionScheduler_DataController', 'maybe_free_memory' ) ); + } + + /** + * Singleton factory. + */ + public static function instance() { + if ( ! isset( self::$instance ) ) { + self::$instance = new static(); + } + + return self::$instance; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DateTime.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DateTime.php new file mode 100644 index 0000000..b142ca8 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_DateTime.php @@ -0,0 +1,79 @@ +format( 'U' ); + } + + /** + * Set the UTC offset. + * + * This represents a fixed offset instead of a timezone setting. + * + * @param $offset + */ + public function setUtcOffset( $offset ) { + $this->utcOffset = intval( $offset ); + } + + /** + * Returns the timezone offset. + * + * @return int + * @link http://php.net/manual/en/datetime.getoffset.php + */ + #[\ReturnTypeWillChange] + public function getOffset() { + return $this->utcOffset ? $this->utcOffset : parent::getOffset(); + } + + /** + * Set the TimeZone associated with the DateTime + * + * @param DateTimeZone $timezone + * + * @return static + * @link http://php.net/manual/en/datetime.settimezone.php + */ + #[\ReturnTypeWillChange] + public function setTimezone( $timezone ) { + $this->utcOffset = 0; + parent::setTimezone( $timezone ); + + return $this; + } + + /** + * Get the timestamp with the WordPress timezone offset added or subtracted. + * + * @since 3.0.0 + * @return int + */ + public function getOffsetTimestamp() { + return $this->getTimestamp() + $this->getOffset(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Exception.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Exception.php new file mode 100644 index 0000000..08e4fae --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Exception.php @@ -0,0 +1,11 @@ +store = $store; + } + + public function attach( ActionScheduler_ActionClaim $claim ) { + $this->claim = $claim; + add_action( 'shutdown', array( $this, 'handle_unexpected_shutdown' ) ); + add_action( 'action_scheduler_before_execute', array( $this, 'track_current_action' ), 0, 1 ); + add_action( 'action_scheduler_after_execute', array( $this, 'untrack_action' ), 0, 0 ); + add_action( 'action_scheduler_execution_ignored', array( $this, 'untrack_action' ), 0, 0 ); + add_action( 'action_scheduler_failed_execution', array( $this, 'untrack_action' ), 0, 0 ); + } + + public function detach() { + $this->claim = NULL; + $this->untrack_action(); + remove_action( 'shutdown', array( $this, 'handle_unexpected_shutdown' ) ); + remove_action( 'action_scheduler_before_execute', array( $this, 'track_current_action' ), 0 ); + remove_action( 'action_scheduler_after_execute', array( $this, 'untrack_action' ), 0 ); + remove_action( 'action_scheduler_execution_ignored', array( $this, 'untrack_action' ), 0 ); + remove_action( 'action_scheduler_failed_execution', array( $this, 'untrack_action' ), 0 ); + } + + public function track_current_action( $action_id ) { + $this->action_id = $action_id; + } + + public function untrack_action() { + $this->action_id = 0; + } + + public function handle_unexpected_shutdown() { + if ( $error = error_get_last() ) { + if ( in_array( $error['type'], array( E_ERROR, E_PARSE, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR ) ) ) { + if ( !empty($this->action_id) ) { + $this->store->mark_failure( $this->action_id ); + do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error ); + } + } + $this->store->release_claim( $this->claim ); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_InvalidActionException.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_InvalidActionException.php new file mode 100644 index 0000000..40b4559 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_InvalidActionException.php @@ -0,0 +1,47 @@ + label). + * + * @var array + */ + protected $columns = array(); + + /** + * Actions (name => label). + * + * @var array + */ + protected $row_actions = array(); + + /** + * The active data stores + * + * @var ActionScheduler_Store + */ + protected $store; + + /** + * A logger to use for getting action logs to display + * + * @var ActionScheduler_Logger + */ + protected $logger; + + /** + * A ActionScheduler_QueueRunner runner instance (or child class) + * + * @var ActionScheduler_QueueRunner + */ + protected $runner; + + /** + * Bulk actions. The key of the array is the method name of the implementation: + * + * bulk_(array $ids, string $sql_in). + * + * See the comments in the parent class for further details + * + * @var array + */ + protected $bulk_actions = array(); + + /** + * Flag variable to render our notifications, if any, once. + * + * @var bool + */ + protected static $did_notification = false; + + /** + * Array of seconds for common time periods, like week or month, alongside an internationalised string representation, i.e. "Day" or "Days" + * + * @var array + */ + private static $time_periods; + + /** + * Sets the current data store object into `store->action` and initialises the object. + * + * @param ActionScheduler_Store $store + * @param ActionScheduler_Logger $logger + * @param ActionScheduler_QueueRunner $runner + */ + public function __construct( ActionScheduler_Store $store, ActionScheduler_Logger $logger, ActionScheduler_QueueRunner $runner ) { + + $this->store = $store; + $this->logger = $logger; + $this->runner = $runner; + + $this->table_header = __( 'Scheduled Actions', 'action-scheduler' ); + + $this->bulk_actions = array( + 'delete' => __( 'Delete', 'action-scheduler' ), + ); + + $this->columns = array( + 'hook' => __( 'Hook', 'action-scheduler' ), + 'status' => __( 'Status', 'action-scheduler' ), + 'args' => __( 'Arguments', 'action-scheduler' ), + 'group' => __( 'Group', 'action-scheduler' ), + 'recurrence' => __( 'Recurrence', 'action-scheduler' ), + 'schedule' => __( 'Scheduled Date', 'action-scheduler' ), + 'log_entries' => __( 'Log', 'action-scheduler' ), + ); + + $this->sort_by = array( + 'schedule', + 'hook', + 'group', + ); + + $this->search_by = array( + 'hook', + 'args', + 'claim_id', + ); + + $request_status = $this->get_request_status(); + + if ( empty( $request_status ) ) { + $this->sort_by[] = 'status'; + } elseif ( in_array( $request_status, array( 'in-progress', 'failed' ) ) ) { + $this->columns += array( 'claim_id' => __( 'Claim ID', 'action-scheduler' ) ); + $this->sort_by[] = 'claim_id'; + } + + $this->row_actions = array( + 'hook' => array( + 'run' => array( + 'name' => __( 'Run', 'action-scheduler' ), + 'desc' => __( 'Process the action now as if it were run as part of a queue', 'action-scheduler' ), + ), + 'cancel' => array( + 'name' => __( 'Cancel', 'action-scheduler' ), + 'desc' => __( 'Cancel the action now to avoid it being run in future', 'action-scheduler' ), + 'class' => 'cancel trash', + ), + ), + ); + + self::$time_periods = array( + array( + 'seconds' => YEAR_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s year', '%s years', 'action-scheduler' ), + ), + array( + 'seconds' => MONTH_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s month', '%s months', 'action-scheduler' ), + ), + array( + 'seconds' => WEEK_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s week', '%s weeks', 'action-scheduler' ), + ), + array( + 'seconds' => DAY_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s day', '%s days', 'action-scheduler' ), + ), + array( + 'seconds' => HOUR_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s hour', '%s hours', 'action-scheduler' ), + ), + array( + 'seconds' => MINUTE_IN_SECONDS, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s minute', '%s minutes', 'action-scheduler' ), + ), + array( + 'seconds' => 1, + /* translators: %s: amount of time */ + 'names' => _n_noop( '%s second', '%s seconds', 'action-scheduler' ), + ), + ); + + parent::__construct( + array( + 'singular' => 'action-scheduler', + 'plural' => 'action-scheduler', + 'ajax' => false, + ) + ); + + add_screen_option( + 'per_page', + array( + 'default' => $this->items_per_page, + ) + ); + + add_filter( 'set_screen_option_' . $this->get_per_page_option_name(), array( $this, 'set_items_per_page_option' ), 10, 3 ); + set_screen_options(); + } + + /** + * Handles setting the items_per_page option for this screen. + * + * @param mixed $status Default false (to skip saving the current option). + * @param string $option Screen option name. + * @param int $value Screen option value. + * @return int + */ + public function set_items_per_page_option( $status, $option, $value ) { + return $value; + } + /** + * Convert an interval of seconds into a two part human friendly string. + * + * The WordPress human_time_diff() function only calculates the time difference to one degree, meaning + * even if an action is 1 day and 11 hours away, it will display "1 day". This function goes one step + * further to display two degrees of accuracy. + * + * Inspired by the Crontrol::interval() function by Edward Dale: https://wordpress.org/plugins/wp-crontrol/ + * + * @param int $interval A interval in seconds. + * @param int $periods_to_include Depth of time periods to include, e.g. for an interval of 70, and $periods_to_include of 2, both minutes and seconds would be included. With a value of 1, only minutes would be included. + * @return string A human friendly string representation of the interval. + */ + private static function human_interval( $interval, $periods_to_include = 2 ) { + + if ( $interval <= 0 ) { + return __( 'Now!', 'action-scheduler' ); + } + + $output = ''; + + for ( $time_period_index = 0, $periods_included = 0, $seconds_remaining = $interval; $time_period_index < count( self::$time_periods ) && $seconds_remaining > 0 && $periods_included < $periods_to_include; $time_period_index++ ) { + + $periods_in_interval = floor( $seconds_remaining / self::$time_periods[ $time_period_index ]['seconds'] ); + + if ( $periods_in_interval > 0 ) { + if ( ! empty( $output ) ) { + $output .= ' '; + } + $output .= sprintf( _n( self::$time_periods[ $time_period_index ]['names'][0], self::$time_periods[ $time_period_index ]['names'][1], $periods_in_interval, 'action-scheduler' ), $periods_in_interval ); + $seconds_remaining -= $periods_in_interval * self::$time_periods[ $time_period_index ]['seconds']; + $periods_included++; + } + } + + return $output; + } + + /** + * Returns the recurrence of an action or 'Non-repeating'. The output is human readable. + * + * @param ActionScheduler_Action $action + * + * @return string + */ + protected function get_recurrence( $action ) { + $schedule = $action->get_schedule(); + if ( $schedule->is_recurring() ) { + $recurrence = $schedule->get_recurrence(); + + if ( is_numeric( $recurrence ) ) { + /* translators: %s: time interval */ + return sprintf( __( 'Every %s', 'action-scheduler' ), self::human_interval( $recurrence ) ); + } else { + return $recurrence; + } + } + + return __( 'Non-repeating', 'action-scheduler' ); + } + + /** + * Serializes the argument of an action to render it in a human friendly format. + * + * @param array $row The array representation of the current row of the table + * + * @return string + */ + public function column_args( array $row ) { + if ( empty( $row['args'] ) ) { + return apply_filters( 'action_scheduler_list_table_column_args', '', $row ); + } + + $row_html = '
    '; + foreach ( $row['args'] as $key => $value ) { + $row_html .= sprintf( '
  • %s => %s
  • ', esc_html( var_export( $key, true ) ), esc_html( var_export( $value, true ) ) ); + } + $row_html .= '
'; + + return apply_filters( 'action_scheduler_list_table_column_args', $row_html, $row ); + } + + /** + * Prints the logs entries inline. We do so to avoid loading Javascript and other hacks to show it in a modal. + * + * @param array $row Action array. + * @return string + */ + public function column_log_entries( array $row ) { + + $log_entries_html = '
    '; + + $timezone = new DateTimezone( 'UTC' ); + + foreach ( $row['log_entries'] as $log_entry ) { + $log_entries_html .= $this->get_log_entry_html( $log_entry, $timezone ); + } + + $log_entries_html .= '
'; + + return $log_entries_html; + } + + /** + * Prints the logs entries inline. We do so to avoid loading Javascript and other hacks to show it in a modal. + * + * @param ActionScheduler_LogEntry $log_entry + * @param DateTimezone $timezone + * @return string + */ + protected function get_log_entry_html( ActionScheduler_LogEntry $log_entry, DateTimezone $timezone ) { + $date = $log_entry->get_date(); + $date->setTimezone( $timezone ); + return sprintf( '
  • %s
    %s
  • ', esc_html( $date->format( 'Y-m-d H:i:s O' ) ), esc_html( $log_entry->get_message() ) ); + } + + /** + * Only display row actions for pending actions. + * + * @param array $row Row to render + * @param string $column_name Current row + * + * @return string + */ + protected function maybe_render_actions( $row, $column_name ) { + if ( 'pending' === strtolower( $row[ 'status_name' ] ) ) { + return parent::maybe_render_actions( $row, $column_name ); + } + + return ''; + } + + /** + * Renders admin notifications + * + * Notifications: + * 1. When the maximum number of tasks are being executed simultaneously. + * 2. Notifications when a task is manually executed. + * 3. Tables are missing. + */ + public function display_admin_notices() { + global $wpdb; + + if ( ( is_a( $this->store, 'ActionScheduler_HybridStore' ) || is_a( $this->store, 'ActionScheduler_DBStore' ) ) && apply_filters( 'action_scheduler_enable_recreate_data_store', true ) ) { + $table_list = array( + 'actionscheduler_actions', + 'actionscheduler_logs', + 'actionscheduler_groups', + 'actionscheduler_claims', + ); + + $found_tables = $wpdb->get_col( "SHOW TABLES LIKE '{$wpdb->prefix}actionscheduler%'" ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared + foreach ( $table_list as $table_name ) { + if ( ! in_array( $wpdb->prefix . $table_name, $found_tables ) ) { + $this->admin_notices[] = array( + 'class' => 'error', + 'message' => __( 'It appears one or more database tables were missing. Attempting to re-create the missing table(s).' , 'action-scheduler' ), + ); + $this->recreate_tables(); + parent::display_admin_notices(); + + return; + } + } + } + + if ( $this->runner->has_maximum_concurrent_batches() ) { + $claim_count = $this->store->get_claim_count(); + $this->admin_notices[] = array( + 'class' => 'updated', + 'message' => sprintf( + /* translators: %s: amount of claims */ + _n( + 'Maximum simultaneous queues already in progress (%s queue). No additional queues will begin processing until the current queues are complete.', + 'Maximum simultaneous queues already in progress (%s queues). No additional queues will begin processing until the current queues are complete.', + $claim_count, + 'action-scheduler' + ), + $claim_count + ), + ); + } elseif ( $this->store->has_pending_actions_due() ) { + + $async_request_lock_expiration = ActionScheduler::lock()->get_expiration( 'async-request-runner' ); + + // No lock set or lock expired + if ( false === $async_request_lock_expiration || $async_request_lock_expiration < time() ) { + $in_progress_url = add_query_arg( 'status', 'in-progress', remove_query_arg( 'status' ) ); + /* translators: %s: process URL */ + $async_request_message = sprintf( __( 'A new queue has begun processing. View actions in-progress »', 'action-scheduler' ), esc_url( $in_progress_url ) ); + } else { + /* translators: %d: seconds */ + $async_request_message = sprintf( __( 'The next queue will begin processing in approximately %d seconds.', 'action-scheduler' ), $async_request_lock_expiration - time() ); + } + + $this->admin_notices[] = array( + 'class' => 'notice notice-info', + 'message' => $async_request_message, + ); + } + + $notification = get_transient( 'action_scheduler_admin_notice' ); + + if ( is_array( $notification ) ) { + delete_transient( 'action_scheduler_admin_notice' ); + + $action = $this->store->fetch_action( $notification['action_id'] ); + $action_hook_html = '' . $action->get_hook() . ''; + if ( 1 == $notification['success'] ) { + $class = 'updated'; + switch ( $notification['row_action_type'] ) { + case 'run' : + /* translators: %s: action HTML */ + $action_message_html = sprintf( __( 'Successfully executed action: %s', 'action-scheduler' ), $action_hook_html ); + break; + case 'cancel' : + /* translators: %s: action HTML */ + $action_message_html = sprintf( __( 'Successfully canceled action: %s', 'action-scheduler' ), $action_hook_html ); + break; + default : + /* translators: %s: action HTML */ + $action_message_html = sprintf( __( 'Successfully processed change for action: %s', 'action-scheduler' ), $action_hook_html ); + break; + } + } else { + $class = 'error'; + /* translators: 1: action HTML 2: action ID 3: error message */ + $action_message_html = sprintf( __( 'Could not process change for action: "%1$s" (ID: %2$d). Error: %3$s', 'action-scheduler' ), $action_hook_html, esc_html( $notification['action_id'] ), esc_html( $notification['error_message'] ) ); + } + + $action_message_html = apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); + + $this->admin_notices[] = array( + 'class' => $class, + 'message' => $action_message_html, + ); + } + + parent::display_admin_notices(); + } + + /** + * Prints the scheduled date in a human friendly format. + * + * @param array $row The array representation of the current row of the table + * + * @return string + */ + public function column_schedule( $row ) { + return $this->get_schedule_display_string( $row['schedule'] ); + } + + /** + * Get the scheduled date in a human friendly format. + * + * @param ActionScheduler_Schedule $schedule + * @return string + */ + protected function get_schedule_display_string( ActionScheduler_Schedule $schedule ) { + + $schedule_display_string = ''; + + if ( is_a( $schedule, 'ActionScheduler_NullSchedule' ) ) { + return __( 'async', 'action-scheduler' ); + } + + if ( ! $schedule->get_date() ) { + return '0000-00-00 00:00:00'; + } + + $next_timestamp = $schedule->get_date()->getTimestamp(); + + $schedule_display_string .= $schedule->get_date()->format( 'Y-m-d H:i:s O' ); + $schedule_display_string .= '
    '; + + if ( gmdate( 'U' ) > $next_timestamp ) { + /* translators: %s: date interval */ + $schedule_display_string .= sprintf( __( ' (%s ago)', 'action-scheduler' ), self::human_interval( gmdate( 'U' ) - $next_timestamp ) ); + } else { + /* translators: %s: date interval */ + $schedule_display_string .= sprintf( __( ' (%s)', 'action-scheduler' ), self::human_interval( $next_timestamp - gmdate( 'U' ) ) ); + } + + return $schedule_display_string; + } + + /** + * Bulk delete + * + * Deletes actions based on their ID. This is the handler for the bulk delete. It assumes the data + * properly validated by the callee and it will delete the actions without any extra validation. + * + * @param array $ids + * @param string $ids_sql Inherited and unused + */ + protected function bulk_delete( array $ids, $ids_sql ) { + foreach ( $ids as $id ) { + $this->store->delete_action( $id ); + } + } + + /** + * Implements the logic behind running an action. ActionScheduler_Abstract_ListTable validates the request and their + * parameters are valid. + * + * @param int $action_id + */ + protected function row_action_cancel( $action_id ) { + $this->process_row_action( $action_id, 'cancel' ); + } + + /** + * Implements the logic behind running an action. ActionScheduler_Abstract_ListTable validates the request and their + * parameters are valid. + * + * @param int $action_id + */ + protected function row_action_run( $action_id ) { + $this->process_row_action( $action_id, 'run' ); + } + + /** + * Force the data store schema updates. + */ + protected function recreate_tables() { + if ( is_a( $this->store, 'ActionScheduler_HybridStore' ) ) { + $store = $this->store; + } else { + $store = new ActionScheduler_HybridStore(); + } + add_action( 'action_scheduler/created_table', array( $store, 'set_autoincrement' ), 10, 2 ); + + $store_schema = new ActionScheduler_StoreSchema(); + $logger_schema = new ActionScheduler_LoggerSchema(); + $store_schema->register_tables( true ); + $logger_schema->register_tables( true ); + + remove_action( 'action_scheduler/created_table', array( $store, 'set_autoincrement' ), 10 ); + } + /** + * Implements the logic behind processing an action once an action link is clicked on the list table. + * + * @param int $action_id + * @param string $row_action_type The type of action to perform on the action. + */ + protected function process_row_action( $action_id, $row_action_type ) { + try { + switch ( $row_action_type ) { + case 'run' : + $this->runner->process_action( $action_id, 'Admin List Table' ); + break; + case 'cancel' : + $this->store->cancel_action( $action_id ); + break; + } + $success = 1; + $error_message = ''; + } catch ( Exception $e ) { + $success = 0; + $error_message = $e->getMessage(); + } + + set_transient( 'action_scheduler_admin_notice', compact( 'action_id', 'success', 'error_message', 'row_action_type' ), 30 ); + } + + /** + * {@inheritDoc} + */ + public function prepare_items() { + $this->prepare_column_headers(); + + $per_page = $this->get_items_per_page( $this->get_per_page_option_name(), $this->items_per_page ); + + $query = array( + 'per_page' => $per_page, + 'offset' => $this->get_items_offset(), + 'status' => $this->get_request_status(), + 'orderby' => $this->get_request_orderby(), + 'order' => $this->get_request_order(), + 'search' => $this->get_request_search_query(), + ); + + /** + * Change query arguments to query for past-due actions. + * Past-due actions have the 'pending' status and are in the past. + * This is needed because registering 'past-due' as a status is overkill. + */ + if ( 'past-due' === $this->get_request_status() ) { + $query['status'] = ActionScheduler_Store::STATUS_PENDING; + $query['date'] = as_get_datetime_object(); + } + + $this->items = array(); + + $total_items = $this->store->query_actions( $query, 'count' ); + + $status_labels = $this->store->get_status_labels(); + + foreach ( $this->store->query_actions( $query ) as $action_id ) { + try { + $action = $this->store->fetch_action( $action_id ); + } catch ( Exception $e ) { + continue; + } + if ( is_a( $action, 'ActionScheduler_NullAction' ) ) { + continue; + } + $this->items[ $action_id ] = array( + 'ID' => $action_id, + 'hook' => $action->get_hook(), + 'status_name' => $this->store->get_status( $action_id ), + 'status' => $status_labels[ $this->store->get_status( $action_id ) ], + 'args' => $action->get_args(), + 'group' => $action->get_group(), + 'log_entries' => $this->logger->get_logs( $action_id ), + 'claim_id' => $this->store->get_claim_id( $action_id ), + 'recurrence' => $this->get_recurrence( $action ), + 'schedule' => $action->get_schedule(), + ); + } + + $this->set_pagination_args( array( + 'total_items' => $total_items, + 'per_page' => $per_page, + 'total_pages' => ceil( $total_items / $per_page ), + ) ); + } + + /** + * Prints the available statuses so the user can click to filter. + */ + protected function display_filter_by_status() { + $this->status_counts = $this->store->action_counts() + $this->store->extra_action_counts(); + parent::display_filter_by_status(); + } + + /** + * Get the text to display in the search box on the list table. + */ + protected function get_search_box_button_text() { + return __( 'Search hook, args and claim ID', 'action-scheduler' ); + } + + /** + * {@inheritDoc} + */ + protected function get_per_page_option_name() { + return str_replace( '-', '_', $this->screen->id ) . '_per_page'; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_LogEntry.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_LogEntry.php new file mode 100644 index 0000000..649636d --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_LogEntry.php @@ -0,0 +1,67 @@ +comment_type + * to ActionScheduler_LogEntry::__construct(), goodness knows why, and the Follow-up Emails plugin + * hard-codes loading its own version of ActionScheduler_wpCommentLogger with that out-dated method, + * goodness knows why, so we need to guard against that here instead of using a DateTime type declaration + * for the constructor's 3rd param of $date and causing a fatal error with older versions of FUE. + */ + if ( null !== $date && ! is_a( $date, 'DateTime' ) ) { + _doing_it_wrong( __METHOD__, 'The third parameter must be a valid DateTime instance, or null.', '2.0.0' ); + $date = null; + } + + $this->action_id = $action_id; + $this->message = $message; + $this->date = $date ? $date : new Datetime; + } + + /** + * Returns the date when this log entry was created + * + * @return Datetime + */ + public function get_date() { + return $this->date; + } + + public function get_action_id() { + return $this->action_id; + } + + public function get_message() { + return $this->message; + } +} + diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_NullLogEntry.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_NullLogEntry.php new file mode 100644 index 0000000..6f8f218 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_NullLogEntry.php @@ -0,0 +1,11 @@ +maybe_dispatch_async_request() uses a lock to avoid + * calling ActionScheduler_QueueRunner->has_maximum_concurrent_batches() every time the 'shutdown', + * hook is triggered, because that method calls ActionScheduler_QueueRunner->store->get_claim_count() + * to find the current number of claims in the database. + * + * @param string $lock_type A string to identify different lock types. + * @bool True if lock value has changed, false if not or if set failed. + */ + public function set( $lock_type ) { + return update_option( $this->get_key( $lock_type ), time() + $this->get_duration( $lock_type ) ); + } + + /** + * If a lock is set, return the timestamp it was set to expiry. + * + * @param string $lock_type A string to identify different lock types. + * @return bool|int False if no lock is set, otherwise the timestamp for when the lock is set to expire. + */ + public function get_expiration( $lock_type ) { + return get_option( $this->get_key( $lock_type ) ); + } + + /** + * Get the key to use for storing the lock in the transient + * + * @param string $lock_type A string to identify different lock types. + * @return string + */ + protected function get_key( $lock_type ) { + return sprintf( 'action_scheduler_lock_%s', $lock_type ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php new file mode 100644 index 0000000..49cd44b --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php @@ -0,0 +1,158 @@ +store = $store ? $store : ActionScheduler_Store::instance(); + $this->batch_size = $batch_size; + } + + public function delete_old_actions() { + $lifespan = apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); + $cutoff = as_get_datetime_object($lifespan.' seconds ago'); + + $statuses_to_purge = array( + ActionScheduler_Store::STATUS_COMPLETE, + ActionScheduler_Store::STATUS_CANCELED, + ); + + foreach ( $statuses_to_purge as $status ) { + $actions_to_delete = $this->store->query_actions( array( + 'status' => $status, + 'modified' => $cutoff, + 'modified_compare' => '<=', + 'per_page' => $this->get_batch_size(), + 'orderby' => 'none', + ) ); + + foreach ( $actions_to_delete as $action_id ) { + try { + $this->store->delete_action( $action_id ); + } catch ( Exception $e ) { + + /** + * Notify 3rd party code of exceptions when deleting a completed action older than the retention period + * + * This hook provides a way for 3rd party code to log or otherwise handle exceptions relating to their + * actions. + * + * @since 2.0.0 + * + * @param int $action_id The scheduled actions ID in the data store + * @param Exception $e The exception thrown when attempting to delete the action from the data store + * @param int $lifespan The retention period, in seconds, for old actions + * @param int $count_of_actions_to_delete The number of old actions being deleted in this batch + */ + do_action( 'action_scheduler_failed_old_action_deletion', $action_id, $e, $lifespan, count( $actions_to_delete ) ); + } + } + } + } + + /** + * Unclaim pending actions that have not been run within a given time limit. + * + * When called by ActionScheduler_Abstract_QueueRunner::run_cleanup(), the time limit passed + * as a parameter is 10x the time limit used for queue processing. + * + * @param int $time_limit The number of seconds to allow a queue to run before unclaiming its pending actions. Default 300 (5 minutes). + */ + public function reset_timeouts( $time_limit = 300 ) { + $timeout = apply_filters( 'action_scheduler_timeout_period', $time_limit ); + if ( $timeout < 0 ) { + return; + } + $cutoff = as_get_datetime_object($timeout.' seconds ago'); + $actions_to_reset = $this->store->query_actions( array( + 'status' => ActionScheduler_Store::STATUS_PENDING, + 'modified' => $cutoff, + 'modified_compare' => '<=', + 'claimed' => true, + 'per_page' => $this->get_batch_size(), + 'orderby' => 'none', + ) ); + + foreach ( $actions_to_reset as $action_id ) { + $this->store->unclaim_action( $action_id ); + do_action( 'action_scheduler_reset_action', $action_id ); + } + } + + /** + * Mark actions that have been running for more than a given time limit as failed, based on + * the assumption some uncatachable and unloggable fatal error occurred during processing. + * + * When called by ActionScheduler_Abstract_QueueRunner::run_cleanup(), the time limit passed + * as a parameter is 10x the time limit used for queue processing. + * + * @param int $time_limit The number of seconds to allow an action to run before it is considered to have failed. Default 300 (5 minutes). + */ + public function mark_failures( $time_limit = 300 ) { + $timeout = apply_filters( 'action_scheduler_failure_period', $time_limit ); + if ( $timeout < 0 ) { + return; + } + $cutoff = as_get_datetime_object($timeout.' seconds ago'); + $actions_to_reset = $this->store->query_actions( array( + 'status' => ActionScheduler_Store::STATUS_RUNNING, + 'modified' => $cutoff, + 'modified_compare' => '<=', + 'per_page' => $this->get_batch_size(), + 'orderby' => 'none', + ) ); + + foreach ( $actions_to_reset as $action_id ) { + $this->store->mark_failure( $action_id ); + do_action( 'action_scheduler_failed_action', $action_id, $timeout ); + } + } + + /** + * Do all of the cleaning actions. + * + * @param int $time_limit The number of seconds to use as the timeout and failure period. Default 300 (5 minutes). + * @author Jeremy Pry + */ + public function clean( $time_limit = 300 ) { + $this->delete_old_actions(); + $this->reset_timeouts( $time_limit ); + $this->mark_failures( $time_limit ); + } + + /** + * Get the batch size for cleaning the queue. + * + * @author Jeremy Pry + * @return int + */ + protected function get_batch_size() { + /** + * Filter the batch size when cleaning the queue. + * + * @param int $batch_size The number of actions to clean in one batch. + */ + return absint( apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ) ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php new file mode 100644 index 0000000..b890dca --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php @@ -0,0 +1,220 @@ +store ); + } + + $this->async_request = $async_request; + } + + /** + * @codeCoverageIgnore + */ + public function init() { + + add_filter( 'cron_schedules', array( self::instance(), 'add_wp_cron_schedule' ) ); + + // Check for and remove any WP Cron hook scheduled by Action Scheduler < 3.0.0, which didn't include the $context param + $next_timestamp = wp_next_scheduled( self::WP_CRON_HOOK ); + if ( $next_timestamp ) { + wp_unschedule_event( $next_timestamp, self::WP_CRON_HOOK ); + } + + $cron_context = array( 'WP Cron' ); + + if ( ! wp_next_scheduled( self::WP_CRON_HOOK, $cron_context ) ) { + $schedule = apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); + wp_schedule_event( time(), $schedule, self::WP_CRON_HOOK, $cron_context ); + } + + add_action( self::WP_CRON_HOOK, array( self::instance(), 'run' ) ); + $this->hook_dispatch_async_request(); + } + + /** + * Hook check for dispatching an async request. + */ + public function hook_dispatch_async_request() { + add_action( 'shutdown', array( $this, 'maybe_dispatch_async_request' ) ); + } + + /** + * Unhook check for dispatching an async request. + */ + public function unhook_dispatch_async_request() { + remove_action( 'shutdown', array( $this, 'maybe_dispatch_async_request' ) ); + } + + /** + * Check if we should dispatch an async request to process actions. + * + * This method is attached to 'shutdown', so is called frequently. To avoid slowing down + * the site, it mitigates the work performed in each request by: + * 1. checking if it's in the admin context and then + * 2. haven't run on the 'shutdown' hook within the lock time (60 seconds by default) + * 3. haven't exceeded the number of allowed batches. + * + * The order of these checks is important, because they run from a check on a value: + * 1. in memory - is_admin() maps to $GLOBALS or the WP_ADMIN constant + * 2. in memory - transients use autoloaded options by default + * 3. from a database query - has_maximum_concurrent_batches() run the query + * $this->store->get_claim_count() to find the current number of claims in the DB. + * + * If all of these conditions are met, then we request an async runner check whether it + * should dispatch a request to process pending actions. + */ + public function maybe_dispatch_async_request() { + if ( is_admin() && ! ActionScheduler::lock()->is_locked( 'async-request-runner' ) ) { + // Only start an async queue at most once every 60 seconds + ActionScheduler::lock()->set( 'async-request-runner' ); + $this->async_request->maybe_dispatch(); + } + } + + /** + * Process actions in the queue. Attached to self::WP_CRON_HOOK i.e. 'action_scheduler_run_queue' + * + * The $context param of this method defaults to 'WP Cron', because prior to Action Scheduler 3.0.0 + * that was the only context in which this method was run, and the self::WP_CRON_HOOK hook had no context + * passed along with it. New code calling this method directly, or by triggering the self::WP_CRON_HOOK, + * should set a context as the first parameter. For an example of this, refer to the code seen in + * @see ActionScheduler_AsyncRequest_QueueRunner::handle() + * + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + * @return int The number of actions processed. + */ + public function run( $context = 'WP Cron' ) { + ActionScheduler_Compatibility::raise_memory_limit(); + ActionScheduler_Compatibility::raise_time_limit( $this->get_time_limit() ); + do_action( 'action_scheduler_before_process_queue' ); + $this->run_cleanup(); + + $this->processed_actions_count = 0; + if ( false === $this->has_maximum_concurrent_batches() ) { + $batch_size = apply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); + do { + $processed_actions_in_batch = $this->do_batch( $batch_size, $context ); + $this->processed_actions_count += $processed_actions_in_batch; + } while ( $processed_actions_in_batch > 0 && ! $this->batch_limits_exceeded( $this->processed_actions_count ) ); // keep going until we run out of actions, time, or memory + } + + do_action( 'action_scheduler_after_process_queue' ); + return $this->processed_actions_count; + } + + /** + * Process a batch of actions pending in the queue. + * + * Actions are processed by claiming a set of pending actions then processing each one until either the batch + * size is completed, or memory or time limits are reached, defined by @see $this->batch_limits_exceeded(). + * + * @param int $size The maximum number of actions to process in the batch. + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + * @return int The number of actions processed. + */ + protected function do_batch( $size = 100, $context = '' ) { + $claim = $this->store->stake_claim($size); + $this->monitor->attach($claim); + $processed_actions = 0; + + foreach ( $claim->get_actions() as $action_id ) { + // bail if we lost the claim + if ( ! in_array( $action_id, $this->store->find_actions_by_claim_id( $claim->get_id() ) ) ) { + break; + } + $this->process_action( $action_id, $context ); + $processed_actions++; + + if ( $this->batch_limits_exceeded( $processed_actions + $this->processed_actions_count ) ) { + break; + } + } + $this->store->release_claim($claim); + $this->monitor->detach(); + $this->clear_caches(); + return $processed_actions; + } + + /** + * Flush the cache if possible (intended for use after a batch of actions has been processed). + * + * This is useful because running large batches can eat up memory and because invalid data can accrue in the + * runtime cache, which may lead to unexpected results. + */ + protected function clear_caches() { + /* + * Calling wp_cache_flush_runtime() lets us clear the runtime cache without invalidating the external object + * cache, so we will always prefer this when it is available (but it was only introduced in WordPress 6.0). + */ + if ( function_exists( 'wp_cache_flush_runtime' ) ) { + wp_cache_flush_runtime(); + } elseif ( + ! wp_using_ext_object_cache() + /** + * When an external object cache is in use, and when wp_cache_flush_runtime() is not available, then + * normally the cache will not be flushed after processing a batch of actions (to avoid a performance + * penalty for other processes). + * + * This filter makes it possible to override this behavior and always flush the cache, even if an external + * object cache is in use. + * + * @since 1.0 + * + * @param bool $flush_cache If the cache should be flushed. + */ + || apply_filters( 'action_scheduler_queue_runner_flush_cache', false ) + ) { + wp_cache_flush(); + } + } + + public function add_wp_cron_schedule( $schedules ) { + $schedules['every_minute'] = array( + 'interval' => 60, // in seconds + 'display' => __( 'Every minute', 'action-scheduler' ), + ); + + return $schedules; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Versions.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Versions.php new file mode 100644 index 0000000..915c2e6 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_Versions.php @@ -0,0 +1,62 @@ +versions[$version_string]) ) { + return FALSE; + } + $this->versions[$version_string] = $initialization_callback; + return TRUE; + } + + public function get_versions() { + return $this->versions; + } + + public function latest_version() { + $keys = array_keys($this->versions); + if ( empty($keys) ) { + return false; + } + uasort( $keys, 'version_compare' ); + return end($keys); + } + + public function latest_version_callback() { + $latest = $this->latest_version(); + if ( empty($latest) || !isset($this->versions[$latest]) ) { + return '__return_null'; + } + return $this->versions[$latest]; + } + + /** + * @return ActionScheduler_Versions + * @codeCoverageIgnore + */ + public static function instance() { + if ( empty(self::$instance) ) { + self::$instance = new self(); + } + return self::$instance; + } + + /** + * @codeCoverageIgnore + */ + public static function initialize_latest_version() { + $self = self::instance(); + call_user_func($self->latest_version_callback()); + } +} + \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_WPCommentCleaner.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_WPCommentCleaner.php new file mode 100644 index 0000000..1ba552c --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_WPCommentCleaner.php @@ -0,0 +1,115 @@ + Status administration screen + add_action( 'load-tools_page_action-scheduler', array( __CLASS__, 'register_admin_notice' ) ); + add_action( 'load-woocommerce_page_wc-status', array( __CLASS__, 'register_admin_notice' ) ); + } + + /** + * Determines if there are log entries in the wp comments table. + * + * Uses the flag set on migration completion set by @see self::maybe_schedule_cleanup(). + * + * @return boolean Whether there are scheduled action comments in the comments table. + */ + public static function has_logs() { + return 'yes' === get_option( self::$has_logs_option_key ); + } + + /** + * Schedules the WP Post comment table cleanup to run in 6 months if it's not already scheduled. + * Attached to the migration complete hook 'action_scheduler/migration_complete'. + */ + public static function maybe_schedule_cleanup() { + if ( (bool) get_comments( array( 'type' => ActionScheduler_wpCommentLogger::TYPE, 'number' => 1, 'fields' => 'ids' ) ) ) { + update_option( self::$has_logs_option_key, 'yes' ); + + if ( ! as_next_scheduled_action( self::$cleanup_hook ) ) { + as_schedule_single_action( gmdate( 'U' ) + ( 6 * MONTH_IN_SECONDS ), self::$cleanup_hook ); + } + } + } + + /** + * Delete all action comments from the WP Comments table. + */ + public static function delete_all_action_comments() { + global $wpdb; + $wpdb->delete( $wpdb->comments, array( 'comment_type' => ActionScheduler_wpCommentLogger::TYPE, 'comment_agent' => ActionScheduler_wpCommentLogger::AGENT ) ); + delete_option( self::$has_logs_option_key ); + } + + /** + * Registers admin notices about the orphaned action logs. + */ + public static function register_admin_notice() { + add_action( 'admin_notices', array( __CLASS__, 'print_admin_notice' ) ); + } + + /** + * Prints details about the orphaned action logs and includes information on where to learn more. + */ + public static function print_admin_notice() { + $next_cleanup_message = ''; + $next_scheduled_cleanup_hook = as_next_scheduled_action( self::$cleanup_hook ); + + if ( $next_scheduled_cleanup_hook ) { + /* translators: %s: date interval */ + $next_cleanup_message = sprintf( __( 'This data will be deleted in %s.', 'action-scheduler' ), human_time_diff( gmdate( 'U' ), $next_scheduled_cleanup_hook ) ); + } + + $notice = sprintf( + /* translators: 1: next cleanup message 2: github issue URL */ + __( 'Action Scheduler has migrated data to custom tables; however, orphaned log entries exist in the WordPress Comments table. %1$s Learn more »', 'action-scheduler' ), + $next_cleanup_message, + 'https://github.com/woocommerce/action-scheduler/issues/368' + ); + + echo '

    ' . wp_kses_post( $notice ) . '

    '; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/ActionScheduler_wcSystemStatus.php b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_wcSystemStatus.php new file mode 100644 index 0000000..bca63e7 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/ActionScheduler_wcSystemStatus.php @@ -0,0 +1,166 @@ +store = $store; + } + + /** + * Display action data, including number of actions grouped by status and the oldest & newest action in each status. + * + * Helpful to identify issues, like a clogged queue. + */ + public function render() { + $action_counts = $this->store->action_counts(); + $status_labels = $this->store->get_status_labels(); + $oldest_and_newest = $this->get_oldest_and_newest( array_keys( $status_labels ) ); + + $this->get_template( $status_labels, $action_counts, $oldest_and_newest ); + } + + /** + * Get oldest and newest scheduled dates for a given set of statuses. + * + * @param array $status_keys Set of statuses to find oldest & newest action for. + * @return array + */ + protected function get_oldest_and_newest( $status_keys ) { + + $oldest_and_newest = array(); + + foreach ( $status_keys as $status ) { + $oldest_and_newest[ $status ] = array( + 'oldest' => '–', + 'newest' => '–', + ); + + if ( 'in-progress' === $status ) { + continue; + } + + $oldest_and_newest[ $status ]['oldest'] = $this->get_action_status_date( $status, 'oldest' ); + $oldest_and_newest[ $status ]['newest'] = $this->get_action_status_date( $status, 'newest' ); + } + + return $oldest_and_newest; + } + + /** + * Get oldest or newest scheduled date for a given status. + * + * @param string $status Action status label/name string. + * @param string $date_type Oldest or Newest. + * @return DateTime + */ + protected function get_action_status_date( $status, $date_type = 'oldest' ) { + + $order = 'oldest' === $date_type ? 'ASC' : 'DESC'; + + $action = $this->store->query_actions( + array( + 'claimed' => false, + 'status' => $status, + 'per_page' => 1, + 'order' => $order, + ) + ); + + if ( ! empty( $action ) ) { + $date_object = $this->store->get_date( $action[0] ); + $action_date = $date_object->format( 'Y-m-d H:i:s O' ); + } else { + $action_date = '–'; + } + + return $action_date; + } + + /** + * Get oldest or newest scheduled date for a given status. + * + * @param array $status_labels Set of statuses to find oldest & newest action for. + * @param array $action_counts Number of actions grouped by status. + * @param array $oldest_and_newest Date of the oldest and newest action with each status. + */ + protected function get_template( $status_labels, $action_counts, $oldest_and_newest ) { + $as_version = ActionScheduler_Versions::instance()->latest_version(); + $as_datastore = get_class( ActionScheduler_Store::instance() ); + ?> + + + + + + + + + + + + + + + + + + + + + + + + $count ) { + // WC uses the 3rd column for export, so we need to display more data in that (hidden when viewed as part of the table) and add an empty 2nd column. + printf( + '', + esc_html( $status_labels[ $status ] ), + esc_html( number_format_i18n( $count ) ), + esc_html( $oldest_and_newest[ $status ]['oldest'] ), + esc_html( $oldest_and_newest[ $status ]['newest'] ) + ); + } + ?> + +

     
    %1$s %2$s, Oldest: %3$s, Newest: %4$s%3$s%4$s
    + + run_cleanup(); + $this->add_hooks(); + + // Check to make sure there aren't too many concurrent processes running. + if ( $this->has_maximum_concurrent_batches() ) { + if ( $force ) { + WP_CLI::warning( __( 'There are too many concurrent batches, but the run is forced to continue.', 'action-scheduler' ) ); + } else { + WP_CLI::error( __( 'There are too many concurrent batches.', 'action-scheduler' ) ); + } + } + + // Stake a claim and store it. + $this->claim = $this->store->stake_claim( $batch_size, null, $hooks, $group ); + $this->monitor->attach( $this->claim ); + $this->actions = $this->claim->get_actions(); + + return count( $this->actions ); + } + + /** + * Add our hooks to the appropriate actions. + * + * @author Jeremy Pry + */ + protected function add_hooks() { + add_action( 'action_scheduler_before_execute', array( $this, 'before_execute' ) ); + add_action( 'action_scheduler_after_execute', array( $this, 'after_execute' ), 10, 2 ); + add_action( 'action_scheduler_failed_execution', array( $this, 'action_failed' ), 10, 2 ); + } + + /** + * Set up the WP CLI progress bar. + * + * @author Jeremy Pry + */ + protected function setup_progress_bar() { + $count = count( $this->actions ); + $this->progress_bar = new ProgressBar( + /* translators: %d: amount of actions */ + sprintf( _n( 'Running %d action', 'Running %d actions', $count, 'action-scheduler' ), number_format_i18n( $count ) ), + $count + ); + } + + /** + * Process actions in the queue. + * + * @author Jeremy Pry + * + * @param string $context Optional runner context. Default 'WP CLI'. + * + * @return int The number of actions processed. + */ + public function run( $context = 'WP CLI' ) { + do_action( 'action_scheduler_before_process_queue' ); + $this->setup_progress_bar(); + foreach ( $this->actions as $action_id ) { + // Error if we lost the claim. + if ( ! in_array( $action_id, $this->store->find_actions_by_claim_id( $this->claim->get_id() ) ) ) { + WP_CLI::warning( __( 'The claim has been lost. Aborting current batch.', 'action-scheduler' ) ); + break; + } + + $this->process_action( $action_id, $context ); + $this->progress_bar->tick(); + } + + $completed = $this->progress_bar->current(); + $this->progress_bar->finish(); + $this->store->release_claim( $this->claim ); + do_action( 'action_scheduler_after_process_queue' ); + + return $completed; + } + + /** + * Handle WP CLI message when the action is starting. + * + * @author Jeremy Pry + * + * @param $action_id + */ + public function before_execute( $action_id ) { + /* translators: %s refers to the action ID */ + WP_CLI::log( sprintf( __( 'Started processing action %s', 'action-scheduler' ), $action_id ) ); + } + + /** + * Handle WP CLI message when the action has completed. + * + * @author Jeremy Pry + * + * @param int $action_id + * @param null|ActionScheduler_Action $action The instance of the action. Default to null for backward compatibility. + */ + public function after_execute( $action_id, $action = null ) { + // backward compatibility + if ( null === $action ) { + $action = $this->store->fetch_action( $action_id ); + } + /* translators: 1: action ID 2: hook name */ + WP_CLI::log( sprintf( __( 'Completed processing action %1$s with hook: %2$s', 'action-scheduler' ), $action_id, $action->get_hook() ) ); + } + + /** + * Handle WP CLI message when the action has failed. + * + * @author Jeremy Pry + * + * @param int $action_id + * @param Exception $exception + * @throws \WP_CLI\ExitException With failure message. + */ + public function action_failed( $action_id, $exception ) { + WP_CLI::error( + /* translators: 1: action ID 2: exception message */ + sprintf( __( 'Error processing action %1$s: %2$s', 'action-scheduler' ), $action_id, $exception->getMessage() ), + false + ); + } + + /** + * Sleep and help avoid hitting memory limit + * + * @param int $sleep_time Amount of seconds to sleep + * @deprecated 3.0.0 + */ + protected function stop_the_insanity( $sleep_time = 0 ) { + _deprecated_function( 'ActionScheduler_WPCLI_QueueRunner::stop_the_insanity', '3.0.0', 'ActionScheduler_DataController::free_memory' ); + + ActionScheduler_DataController::free_memory(); + } + + /** + * Maybe trigger the stop_the_insanity() method to free up memory. + */ + protected function maybe_stop_the_insanity() { + // The value returned by progress_bar->current() might be padded. Remove padding, and convert to int. + $current_iteration = intval( trim( $this->progress_bar->current() ) ); + if ( 0 === $current_iteration % 50 ) { + $this->stop_the_insanity(); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php b/inc/Dependencies/ActionScheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php new file mode 100644 index 0000000..70b052e --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php @@ -0,0 +1,188 @@ +init(); + $obj->register_tables( true ); + + WP_CLI::success( + sprintf( + /* translators: %s refers to the schema name*/ + __( 'Registered schema for %s', 'action-scheduler' ), + $classname + ) + ); + } + } + } + + /** + * Run the Action Scheduler + * + * ## OPTIONS + * + * [--batch-size=] + * : The maximum number of actions to run. Defaults to 100. + * + * [--batches=] + * : Limit execution to a number of batches. Defaults to 0, meaning batches will continue being executed until all actions are complete. + * + * [--cleanup-batch-size=] + * : The maximum number of actions to clean up. Defaults to the value of --batch-size. + * + * [--hooks=] + * : Only run actions with the specified hook. Omitting this option runs actions with any hook. Define multiple hooks as a comma separated string (without spaces), e.g. `--hooks=hook_one,hook_two,hook_three` + * + * [--group=] + * : Only run actions from the specified group. Omitting this option runs actions from all groups. + * + * [--free-memory-on=] + * : The number of actions to process between freeing memory. 0 disables freeing memory. Default 50. + * + * [--pause=] + * : The number of seconds to pause when freeing memory. Default no pause. + * + * [--force] + * : Whether to force execution despite the maximum number of concurrent processes being exceeded. + * + * @param array $args Positional arguments. + * @param array $assoc_args Keyed arguments. + * @throws \WP_CLI\ExitException When an error occurs. + * + * @subcommand run + */ + public function run( $args, $assoc_args ) { + // Handle passed arguments. + $batch = absint( \WP_CLI\Utils\get_flag_value( $assoc_args, 'batch-size', 100 ) ); + $batches = absint( \WP_CLI\Utils\get_flag_value( $assoc_args, 'batches', 0 ) ); + $clean = absint( \WP_CLI\Utils\get_flag_value( $assoc_args, 'cleanup-batch-size', $batch ) ); + $hooks = explode( ',', WP_CLI\Utils\get_flag_value( $assoc_args, 'hooks', '' ) ); + $hooks = array_filter( array_map( 'trim', $hooks ) ); + $group = \WP_CLI\Utils\get_flag_value( $assoc_args, 'group', '' ); + $free_on = \WP_CLI\Utils\get_flag_value( $assoc_args, 'free-memory-on', 50 ); + $sleep = \WP_CLI\Utils\get_flag_value( $assoc_args, 'pause', 0 ); + $force = \WP_CLI\Utils\get_flag_value( $assoc_args, 'force', false ); + + ActionScheduler_DataController::set_free_ticks( $free_on ); + ActionScheduler_DataController::set_sleep_time( $sleep ); + + $batches_completed = 0; + $actions_completed = 0; + $unlimited = $batches === 0; + + try { + // Custom queue cleaner instance. + $cleaner = new ActionScheduler_QueueCleaner( null, $clean ); + + // Get the queue runner instance + $runner = new ActionScheduler_WPCLI_QueueRunner( null, null, $cleaner ); + + // Determine how many tasks will be run in the first batch. + $total = $runner->setup( $batch, $hooks, $group, $force ); + + // Run actions for as long as possible. + while ( $total > 0 ) { + $this->print_total_actions( $total ); + $actions_completed += $runner->run(); + $batches_completed++; + + // Maybe set up tasks for the next batch. + $total = ( $unlimited || $batches_completed < $batches ) ? $runner->setup( $batch, $hooks, $group, $force ) : 0; + } + } catch ( Exception $e ) { + $this->print_error( $e ); + } + + $this->print_total_batches( $batches_completed ); + $this->print_success( $actions_completed ); + } + + /** + * Print WP CLI message about how many actions are about to be processed. + * + * @author Jeremy Pry + * + * @param int $total + */ + protected function print_total_actions( $total ) { + WP_CLI::log( + sprintf( + /* translators: %d refers to how many scheduled taks were found to run */ + _n( 'Found %d scheduled task', 'Found %d scheduled tasks', $total, 'action-scheduler' ), + number_format_i18n( $total ) + ) + ); + } + + /** + * Print WP CLI message about how many batches of actions were processed. + * + * @author Jeremy Pry + * + * @param int $batches_completed + */ + protected function print_total_batches( $batches_completed ) { + WP_CLI::log( + sprintf( + /* translators: %d refers to the total number of batches executed */ + _n( '%d batch executed.', '%d batches executed.', $batches_completed, 'action-scheduler' ), + number_format_i18n( $batches_completed ) + ) + ); + } + + /** + * Convert an exception into a WP CLI error. + * + * @author Jeremy Pry + * + * @param Exception $e The error object. + * + * @throws \WP_CLI\ExitException + */ + protected function print_error( Exception $e ) { + WP_CLI::error( + sprintf( + /* translators: %s refers to the exception error message */ + __( 'There was an error running the action scheduler: %s', 'action-scheduler' ), + $e->getMessage() + ) + ); + } + + /** + * Print a success message with the number of completed actions. + * + * @author Jeremy Pry + * + * @param int $actions_completed + */ + protected function print_success( $actions_completed ) { + WP_CLI::success( + sprintf( + /* translators: %d refers to the total number of taskes completed */ + _n( '%d scheduled task completed.', '%d scheduled tasks completed.', $actions_completed, 'action-scheduler' ), + number_format_i18n( $actions_completed ) + ) + ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/WP_CLI/Migration_Command.php b/inc/Dependencies/ActionScheduler/classes/WP_CLI/Migration_Command.php new file mode 100644 index 0000000..066697e --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/WP_CLI/Migration_Command.php @@ -0,0 +1,148 @@ + 'Migrates actions to the DB tables store', + 'synopsis' => [ + [ + 'type' => 'assoc', + 'name' => 'batch-size', + 'optional' => true, + 'default' => 100, + 'description' => 'The number of actions to process in each batch', + ], + [ + 'type' => 'assoc', + 'name' => 'free-memory-on', + 'optional' => true, + 'default' => 50, + 'description' => 'The number of actions to process between freeing memory. 0 disables freeing memory', + ], + [ + 'type' => 'assoc', + 'name' => 'pause', + 'optional' => true, + 'default' => 0, + 'description' => 'The number of seconds to pause when freeing memory', + ], + [ + 'type' => 'flag', + 'name' => 'dry-run', + 'optional' => true, + 'description' => 'Reports on the actions that would have been migrated, but does not change any data', + ], + ], + ] ); + } + + /** + * Process the data migration. + * + * @param array $positional_args Required for WP CLI. Not used in migration. + * @param array $assoc_args Optional arguments. + * + * @return void + */ + public function migrate( $positional_args, $assoc_args ) { + $this->init_logging(); + + $config = $this->get_migration_config( $assoc_args ); + $runner = new Runner( $config ); + $runner->init_destination(); + + $batch_size = isset( $assoc_args[ 'batch-size' ] ) ? (int) $assoc_args[ 'batch-size' ] : 100; + $free_on = isset( $assoc_args[ 'free-memory-on' ] ) ? (int) $assoc_args[ 'free-memory-on' ] : 50; + $sleep = isset( $assoc_args[ 'pause' ] ) ? (int) $assoc_args[ 'pause' ] : 0; + \ActionScheduler_DataController::set_free_ticks( $free_on ); + \ActionScheduler_DataController::set_sleep_time( $sleep ); + + do { + $actions_processed = $runner->run( $batch_size ); + $this->total_processed += $actions_processed; + } while ( $actions_processed > 0 ); + + if ( ! $config->get_dry_run() ) { + // let the scheduler know that there's nothing left to do + $scheduler = new Scheduler(); + $scheduler->mark_complete(); + } + + WP_CLI::success( sprintf( '%s complete. %d actions processed.', $config->get_dry_run() ? 'Dry run' : 'Migration', $this->total_processed ) ); + } + + /** + * Build the config object used to create the Runner + * + * @param array $args Optional arguments. + * + * @return ActionScheduler\Migration\Config + */ + private function get_migration_config( $args ) { + $args = wp_parse_args( $args, [ + 'dry-run' => false, + ] ); + + $config = Controller::instance()->get_migration_config_object(); + $config->set_dry_run( ! empty( $args[ 'dry-run' ] ) ); + + return $config; + } + + /** + * Hook command line logging into migration actions. + */ + private function init_logging() { + add_action( 'action_scheduler/migrate_action_dry_run', function ( $action_id ) { + WP_CLI::debug( sprintf( 'Dry-run: migrated action %d', $action_id ) ); + }, 10, 1 ); + add_action( 'action_scheduler/no_action_to_migrate', function ( $action_id ) { + WP_CLI::debug( sprintf( 'No action found to migrate for ID %d', $action_id ) ); + }, 10, 1 ); + add_action( 'action_scheduler/migrate_action_failed', function ( $action_id ) { + WP_CLI::warning( sprintf( 'Failed migrating action with ID %d', $action_id ) ); + }, 10, 1 ); + add_action( 'action_scheduler/migrate_action_incomplete', function ( $source_id, $destination_id ) { + WP_CLI::warning( sprintf( 'Unable to remove source action with ID %d after migrating to new ID %d', $source_id, $destination_id ) ); + }, 10, 2 ); + add_action( 'action_scheduler/migrated_action', function ( $source_id, $destination_id ) { + WP_CLI::debug( sprintf( 'Migrated source action with ID %d to new store with ID %d', $source_id, $destination_id ) ); + }, 10, 2 ); + add_action( 'action_scheduler/migration_batch_starting', function ( $batch ) { + WP_CLI::debug( 'Beginning migration of batch: ' . print_r( $batch, true ) ); + }, 10, 1 ); + add_action( 'action_scheduler/migration_batch_complete', function ( $batch ) { + WP_CLI::log( sprintf( 'Completed migration of %d actions', count( $batch ) ) ); + }, 10, 1 ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/WP_CLI/ProgressBar.php b/inc/Dependencies/ActionScheduler/classes/WP_CLI/ProgressBar.php new file mode 100644 index 0000000..c86c74e --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/WP_CLI/ProgressBar.php @@ -0,0 +1,119 @@ +total_ticks = 0; + $this->message = $message; + $this->count = $count; + $this->interval = $interval; + } + + /** + * Increment the progress bar ticks. + */ + public function tick() { + if ( null === $this->progress_bar ) { + $this->setup_progress_bar(); + } + + $this->progress_bar->tick(); + $this->total_ticks++; + + do_action( 'action_scheduler/progress_tick', $this->total_ticks ); + } + + /** + * Get the progress bar tick count. + * + * @return int + */ + public function current() { + return $this->progress_bar ? $this->progress_bar->current() : 0; + } + + /** + * Finish the current progress bar. + */ + public function finish() { + if ( null !== $this->progress_bar ) { + $this->progress_bar->finish(); + } + + $this->progress_bar = null; + } + + /** + * Set the message used when creating the progress bar. + * + * @param string $message The message to be used when the next progress bar is created. + */ + public function set_message( $message ) { + $this->message = $message; + } + + /** + * Set the count for a new progress bar. + * + * @param integer $count The total number of ticks expected to complete. + */ + public function set_count( $count ) { + $this->count = $count; + $this->finish(); + } + + /** + * Set up the progress bar. + */ + protected function setup_progress_bar() { + $this->progress_bar = \WP_CLI\Utils\make_progress_bar( + $this->message, + $this->count, + $this->interval + ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php new file mode 100644 index 0000000..e8873f1 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php @@ -0,0 +1,304 @@ +init(); + $store->init(); + $logger->init(); + $runner->init(); + } + + if ( apply_filters( 'action_scheduler_load_deprecated_functions', true ) ) { + require_once( self::plugin_path( 'deprecated/functions.php' ) ); + } + + if ( defined( 'WP_CLI' ) && WP_CLI ) { + WP_CLI::add_command( 'action-scheduler', 'ActionScheduler_WPCLI_Scheduler_command' ); + if ( ! ActionScheduler_DataController::is_migration_complete() && Controller::instance()->allow_migration() ) { + $command = new Migration_Command(); + $command->register(); + } + } + + self::$data_store_initialized = true; + + /** + * Handle WP comment cleanup after migration. + */ + if ( is_a( $logger, 'ActionScheduler_DBLogger' ) && ActionScheduler_DataController::is_migration_complete() && ActionScheduler_WPCommentCleaner::has_logs() ) { + ActionScheduler_WPCommentCleaner::init(); + } + + add_action( 'action_scheduler/migration_complete', 'ActionScheduler_WPCommentCleaner::maybe_schedule_cleanup' ); + } + + /** + * Check whether the AS data store has been initialized. + * + * @param string $function_name The name of the function being called. Optional. Default `null`. + * @return bool + */ + public static function is_initialized( $function_name = null ) { + if ( ! self::$data_store_initialized && ! empty( $function_name ) ) { + $message = sprintf( __( '%s() was called before the Action Scheduler data store was initialized', 'action-scheduler' ), esc_attr( $function_name ) ); + error_log( $message, E_WARNING ); + } + + return self::$data_store_initialized; + } + + /** + * Determine if the class is one of our abstract classes. + * + * @since 3.0.0 + * + * @param string $class The class name. + * + * @return bool + */ + protected static function is_class_abstract( $class ) { + static $abstracts = array( + 'ActionScheduler' => true, + 'ActionScheduler_Abstract_ListTable' => true, + 'ActionScheduler_Abstract_QueueRunner' => true, + 'ActionScheduler_Abstract_Schedule' => true, + 'ActionScheduler_Abstract_RecurringSchedule' => true, + 'ActionScheduler_Lock' => true, + 'ActionScheduler_Logger' => true, + 'ActionScheduler_Abstract_Schema' => true, + 'ActionScheduler_Store' => true, + 'ActionScheduler_TimezoneHelper' => true, + ); + + return isset( $abstracts[ $class ] ) && $abstracts[ $class ]; + } + + /** + * Determine if the class is one of our migration classes. + * + * @since 3.0.0 + * + * @param string $class The class name. + * + * @return bool + */ + protected static function is_class_migration( $class ) { + static $migration_segments = array( + 'ActionMigrator' => true, + 'BatchFetcher' => true, + 'DBStoreMigrator' => true, + 'DryRun' => true, + 'LogMigrator' => true, + 'Config' => true, + 'Controller' => true, + 'Runner' => true, + 'Scheduler' => true, + ); + + $segments = explode( '_', $class ); + $segment = isset( $segments[ 1 ] ) ? $segments[ 1 ] : $class; + + return isset( $migration_segments[ $segment ] ) && $migration_segments[ $segment ]; + } + + /** + * Determine if the class is one of our WP CLI classes. + * + * @since 3.0.0 + * + * @param string $class The class name. + * + * @return bool + */ + protected static function is_class_cli( $class ) { + static $cli_segments = array( + 'QueueRunner' => true, + 'Command' => true, + 'ProgressBar' => true, + ); + + $segments = explode( '_', $class ); + $segment = isset( $segments[ 1 ] ) ? $segments[ 1 ] : $class; + + return isset( $cli_segments[ $segment ] ) && $cli_segments[ $segment ]; + } + + final public function __clone() { + trigger_error("Singleton. No cloning allowed!", E_USER_ERROR); + } + + final public function __wakeup() { + trigger_error("Singleton. No serialization allowed!", E_USER_ERROR); + } + + final private function __construct() {} + + /** Deprecated **/ + + public static function get_datetime_object( $when = null, $timezone = 'UTC' ) { + _deprecated_function( __METHOD__, '2.0', 'wcs_add_months()' ); + return as_get_datetime_object( $when, $timezone ); + } + + /** + * Issue deprecated warning if an Action Scheduler function is called in the shutdown hook. + * + * @param string $function_name The name of the function being called. + * @deprecated 3.1.6. + */ + public static function check_shutdown_hook( $function_name ) { + _deprecated_function( __FUNCTION__, '3.1.6' ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php new file mode 100644 index 0000000..ccc997f --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php @@ -0,0 +1,766 @@ + value pair. The + * key must much the table column name and the value is the label, which is + * automatically translated. + * + * @var array + */ + protected $columns = array(); + + /** + * Defines the row-actions. It expects an array where the key + * is the column name and the value is an array of actions. + * + * The array of actions are key => value, where key is the method name + * (with the prefix row_action_) and the value is the label + * and title. + * + * @var array + */ + protected $row_actions = array(); + + /** + * The Primary key of our table + * + * @var string + */ + protected $ID = 'ID'; + + /** + * Enables sorting, it expects an array + * of columns (the column names are the values) + * + * @var array + */ + protected $sort_by = array(); + + /** + * The default sort order + * + * @var string + */ + protected $filter_by = array(); + + /** + * The status name => count combinations for this table's items. Used to display status filters. + * + * @var array + */ + protected $status_counts = array(); + + /** + * Notices to display when loading the table. Array of arrays of form array( 'class' => {updated|error}, 'message' => 'This is the notice text display.' ). + * + * @var array + */ + protected $admin_notices = array(); + + /** + * Localised string displayed in the

    element above the able. + * + * @var string + */ + protected $table_header; + + /** + * Enables bulk actions. It must be an array where the key is the action name + * and the value is the label (which is translated automatically). It is important + * to notice that it will check that the method exists (`bulk_$name`) and will throw + * an exception if it does not exists. + * + * This class will automatically check if the current request has a bulk action, will do the + * validations and afterwards will execute the bulk method, with two arguments. The first argument + * is the array with primary keys, the second argument is a string with a list of the primary keys, + * escaped and ready to use (with `IN`). + * + * @var array + */ + protected $bulk_actions = array(); + + /** + * Makes translation easier, it basically just wraps + * `_x` with some default (the package name). + * + * @param string $text The new text to translate. + * @param string $context The context of the text. + * @return string|void The translated text. + * + * @deprecated 3.0.0 Use `_x()` instead. + */ + protected function translate( $text, $context = '' ) { + return $text; + } + + /** + * Reads `$this->bulk_actions` and returns an array that WP_List_Table understands. It + * also validates that the bulk method handler exists. It throws an exception because + * this is a library meant for developers and missing a bulk method is a development-time error. + * + * @return array + * + * @throws RuntimeException Throws RuntimeException when the bulk action does not have a callback method. + */ + protected function get_bulk_actions() { + $actions = array(); + + foreach ( $this->bulk_actions as $action => $label ) { + if ( ! is_callable( array( $this, 'bulk_' . $action ) ) ) { + throw new RuntimeException( "The bulk action $action does not have a callback method" ); + } + + $actions[ $action ] = $label; + } + + return $actions; + } + + /** + * Checks if the current request has a bulk action. If that is the case it will validate and will + * execute the bulk method handler. Regardless if the action is valid or not it will redirect to + * the previous page removing the current arguments that makes this request a bulk action. + */ + protected function process_bulk_action() { + global $wpdb; + // Detect when a bulk action is being triggered. + $action = $this->current_action(); + if ( ! $action ) { + return; + } + + check_admin_referer( 'bulk-' . $this->_args['plural'] ); + + $method = 'bulk_' . $action; + if ( array_key_exists( $action, $this->bulk_actions ) && is_callable( array( $this, $method ) ) && ! empty( $_GET['ID'] ) && is_array( $_GET['ID'] ) ) { + $ids_sql = '(' . implode( ',', array_fill( 0, count( $_GET['ID'] ), '%s' ) ) . ')'; + $id = array_map( 'absint', $_GET['ID'] ); + $this->$method( $id, $wpdb->prepare( $ids_sql, $id ) ); //phpcs:ignore WordPress.DB.PreparedSQL + } + + if ( isset( $_SERVER['REQUEST_URI'] ) ) { + wp_safe_redirect( + remove_query_arg( + array( '_wp_http_referer', '_wpnonce', 'ID', 'action', 'action2' ), + esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) + ) + ); + exit; + } + } + + /** + * Default code for deleting entries. + * validated already by process_bulk_action() + * + * @param array $ids ids of the items to delete. + * @param string $ids_sql the sql for the ids. + * @return void + */ + protected function bulk_delete( array $ids, $ids_sql ) { + $store = ActionScheduler::store(); + foreach ( $ids as $action_id ) { + $store->delete( $action_id ); + } + } + + /** + * Prepares the _column_headers property which is used by WP_Table_List at rendering. + * It merges the columns and the sortable columns. + */ + protected function prepare_column_headers() { + $this->_column_headers = array( + $this->get_columns(), + get_hidden_columns( $this->screen ), + $this->get_sortable_columns(), + ); + } + + /** + * Reads $this->sort_by and returns the columns name in a format that WP_Table_List + * expects + */ + public function get_sortable_columns() { + $sort_by = array(); + foreach ( $this->sort_by as $column ) { + $sort_by[ $column ] = array( $column, true ); + } + return $sort_by; + } + + /** + * Returns the columns names for rendering. It adds a checkbox for selecting everything + * as the first column + */ + public function get_columns() { + $columns = array_merge( + array( 'cb' => '' ), + $this->columns + ); + + return $columns; + } + + /** + * Get prepared LIMIT clause for items query + * + * @global wpdb $wpdb + * + * @return string Prepared LIMIT clause for items query. + */ + protected function get_items_query_limit() { + global $wpdb; + + $per_page = $this->get_items_per_page( $this->get_per_page_option_name(), $this->items_per_page ); + return $wpdb->prepare( 'LIMIT %d', $per_page ); + } + + /** + * Returns the number of items to offset/skip for this current view. + * + * @return int + */ + protected function get_items_offset() { + $per_page = $this->get_items_per_page( $this->get_per_page_option_name(), $this->items_per_page ); + $current_page = $this->get_pagenum(); + if ( 1 < $current_page ) { + $offset = $per_page * ( $current_page - 1 ); + } else { + $offset = 0; + } + + return $offset; + } + + /** + * Get prepared OFFSET clause for items query + * + * @global wpdb $wpdb + * + * @return string Prepared OFFSET clause for items query. + */ + protected function get_items_query_offset() { + global $wpdb; + + return $wpdb->prepare( 'OFFSET %d', $this->get_items_offset() ); + } + + /** + * Prepares the ORDER BY sql statement. It uses `$this->sort_by` to know which + * columns are sortable. This requests validates the orderby $_GET parameter is a valid + * column and sortable. It will also use order (ASC|DESC) using DESC by default. + */ + protected function get_items_query_order() { + if ( empty( $this->sort_by ) ) { + return ''; + } + + $orderby = esc_sql( $this->get_request_orderby() ); + $order = esc_sql( $this->get_request_order() ); + + return "ORDER BY {$orderby} {$order}"; + } + + /** + * Return the sortable column specified for this request to order the results by, if any. + * + * @return string + */ + protected function get_request_orderby() { + + $valid_sortable_columns = array_values( $this->sort_by ); + + if ( ! empty( $_GET['orderby'] ) && in_array( $_GET['orderby'], $valid_sortable_columns, true ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + $orderby = sanitize_text_field( wp_unslash( $_GET['orderby'] ) ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended + } else { + $orderby = $valid_sortable_columns[0]; + } + + return $orderby; + } + + /** + * Return the sortable column order specified for this request. + * + * @return string + */ + protected function get_request_order() { + + if ( ! empty( $_GET['order'] ) && 'desc' === strtolower( sanitize_text_field( wp_unslash( $_GET['order'] ) ) ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + $order = 'DESC'; + } else { + $order = 'ASC'; + } + + return $order; + } + + /** + * Return the status filter for this request, if any. + * + * @return string + */ + protected function get_request_status() { + $status = ( ! empty( $_GET['status'] ) ) ? sanitize_text_field( wp_unslash( $_GET['status'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended + return $status; + } + + /** + * Return the search filter for this request, if any. + * + * @return string + */ + protected function get_request_search_query() { + $search_query = ( ! empty( $_GET['s'] ) ) ? sanitize_text_field( wp_unslash( $_GET['s'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended + return $search_query; + } + + /** + * Process and return the columns name. This is meant for using with SQL, this means it + * always includes the primary key. + * + * @return array + */ + protected function get_table_columns() { + $columns = array_keys( $this->columns ); + if ( ! in_array( $this->ID, $columns, true ) ) { + $columns[] = $this->ID; + } + + return $columns; + } + + /** + * Check if the current request is doing a "full text" search. If that is the case + * prepares the SQL to search texts using LIKE. + * + * If the current request does not have any search or if this list table does not support + * that feature it will return an empty string. + * + * @return string + */ + protected function get_items_query_search() { + global $wpdb; + + if ( empty( $_GET['s'] ) || empty( $this->search_by ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + return ''; + } + + $search_string = sanitize_text_field( wp_unslash( $_GET['s'] ) ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended + + $filter = array(); + foreach ( $this->search_by as $column ) { + $wild = '%'; + $sql_like = $wild . $wpdb->esc_like( $search_string ) . $wild; + $filter[] = $wpdb->prepare( '`' . $column . '` LIKE %s', $sql_like ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.DB.PreparedSQL.NotPrepared + } + return implode( ' OR ', $filter ); + } + + /** + * Prepares the SQL to filter rows by the options defined at `$this->filter_by`. Before trusting + * any data sent by the user it validates that it is a valid option. + */ + protected function get_items_query_filters() { + global $wpdb; + + if ( ! $this->filter_by || empty( $_GET['filter_by'] ) || ! is_array( $_GET['filter_by'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + return ''; + } + + $filter = array(); + + foreach ( $this->filter_by as $column => $options ) { + if ( empty( $_GET['filter_by'][ $column ] ) || empty( $options[ $_GET['filter_by'][ $column ] ] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + continue; + } + + $filter[] = $wpdb->prepare( "`$column` = %s", sanitize_text_field( wp_unslash( $_GET['filter_by'][ $column ] ) ) ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.DB.PreparedSQL.InterpolatedNotPrepared + } + + return implode( ' AND ', $filter ); + + } + + /** + * Prepares the data to feed WP_Table_List. + * + * This has the core for selecting, sorting and filting data. To keep the code simple + * its logic is split among many methods (get_items_query_*). + * + * Beside populating the items this function will also count all the records that matches + * the filtering criteria and will do fill the pagination variables. + */ + public function prepare_items() { + global $wpdb; + + $this->process_bulk_action(); + + $this->process_row_actions(); + + if ( ! empty( $_REQUEST['_wp_http_referer'] && ! empty( $_SERVER['REQUEST_URI'] ) ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + // _wp_http_referer is used only on bulk actions, we remove it to keep the $_GET shorter + wp_safe_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); + exit; + } + + $this->prepare_column_headers(); + + $limit = $this->get_items_query_limit(); + $offset = $this->get_items_query_offset(); + $order = $this->get_items_query_order(); + $where = array_filter( + array( + $this->get_items_query_search(), + $this->get_items_query_filters(), + ) + ); + $columns = '`' . implode( '`, `', $this->get_table_columns() ) . '`'; + + if ( ! empty( $where ) ) { + $where = 'WHERE (' . implode( ') AND (', $where ) . ')'; + } else { + $where = ''; + } + + $sql = "SELECT $columns FROM {$this->table_name} {$where} {$order} {$limit} {$offset}"; + + $this->set_items( $wpdb->get_results( $sql, ARRAY_A ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + + $query_count = "SELECT COUNT({$this->ID}) FROM {$this->table_name} {$where}"; + $total_items = $wpdb->get_var( $query_count ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + $per_page = $this->get_items_per_page( $this->get_per_page_option_name(), $this->items_per_page ); + $this->set_pagination_args( + array( + 'total_items' => $total_items, + 'per_page' => $per_page, + 'total_pages' => ceil( $total_items / $per_page ), + ) + ); + } + + /** + * Display the table. + * + * @param string $which The name of the table. + */ + public function extra_tablenav( $which ) { + if ( ! $this->filter_by || 'top' !== $which ) { + return; + } + + echo '
    '; + + foreach ( $this->filter_by as $id => $options ) { + $default = ! empty( $_GET['filter_by'][ $id ] ) ? sanitize_text_field( wp_unslash( $_GET['filter_by'][ $id ] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended + if ( empty( $options[ $default ] ) ) { + $default = ''; + } + + echo ''; + } + + submit_button( esc_html__( 'Filter', 'action-scheduler' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); + echo '
    '; + } + + /** + * Set the data for displaying. It will attempt to unserialize (There is a chance that some columns + * are serialized). This can be override in child classes for futher data transformation. + * + * @param array $items Items array. + */ + protected function set_items( array $items ) { + $this->items = array(); + foreach ( $items as $item ) { + $this->items[ $item[ $this->ID ] ] = array_map( 'maybe_unserialize', $item ); + } + } + + /** + * Renders the checkbox for each row, this is the first column and it is named ID regardless + * of how the primary key is named (to keep the code simpler). The bulk actions will do the proper + * name transformation though using `$this->ID`. + * + * @param array $row The row to render. + */ + public function column_cb( $row ) { + return ''; + } + + /** + * Renders the row-actions. + * + * This method renders the action menu, it reads the definition from the $row_actions property, + * and it checks that the row action method exists before rendering it. + * + * @param array $row Row to be rendered. + * @param string $column_name Column name. + * @return string + */ + protected function maybe_render_actions( $row, $column_name ) { + if ( empty( $this->row_actions[ $column_name ] ) ) { + return; + } + + $row_id = $row[ $this->ID ]; + + $actions = '
    '; + $action_count = 0; + foreach ( $this->row_actions[ $column_name ] as $action_key => $action ) { + + $action_count++; + + if ( ! method_exists( $this, 'row_action_' . $action_key ) ) { + continue; + } + + $action_link = ! empty( $action['link'] ) ? $action['link'] : add_query_arg( + array( + 'row_action' => $action_key, + 'row_id' => $row_id, + 'nonce' => wp_create_nonce( $action_key . '::' . $row_id ), + ) + ); + $span_class = ! empty( $action['class'] ) ? $action['class'] : $action_key; + $separator = ( $action_count < count( $this->row_actions[ $column_name ] ) ) ? ' | ' : ''; + + $actions .= sprintf( '', esc_attr( $span_class ) ); + $actions .= sprintf( '%3$s', esc_url( $action_link ), esc_attr( $action['desc'] ), esc_html( $action['name'] ) ); + $actions .= sprintf( '%s', $separator ); + } + $actions .= '
    '; + return $actions; + } + + /** + * Process the bulk actions. + * + * @return void + */ + protected function process_row_actions() { + $parameters = array( 'row_action', 'row_id', 'nonce' ); + foreach ( $parameters as $parameter ) { + if ( empty( $_REQUEST[ $parameter ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + return; + } + } + + $action = sanitize_text_field( wp_unslash( $_REQUEST['row_action'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated + $row_id = sanitize_text_field( wp_unslash( $_REQUEST['row_id'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated + $nonce = sanitize_text_field( wp_unslash( $_REQUEST['nonce'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated + $method = 'row_action_' . $action; // phpcs:ignore WordPress.Security.NonceVerification.Recommended + + if ( wp_verify_nonce( $nonce, $action . '::' . $row_id ) && method_exists( $this, $method ) ) { + $this->$method( sanitize_text_field( wp_unslash( $row_id ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended + } + + if ( isset( $_SERVER['REQUEST_URI'] ) ) { + wp_safe_redirect( + remove_query_arg( + array( 'row_id', 'row_action', 'nonce' ), + esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) + ) + ); + exit; + } + } + + /** + * Default column formatting, it will escape everythig for security. + * + * @param array $item The item array. + * @param string $column_name Column name to display. + * + * @return string + */ + public function column_default( $item, $column_name ) { + $column_html = esc_html( $item[ $column_name ] ); + $column_html .= $this->maybe_render_actions( $item, $column_name ); + return $column_html; + } + + /** + * Display the table heading and search query, if any + */ + protected function display_header() { + echo '

    ' . esc_attr( $this->table_header ) . '

    '; + if ( $this->get_request_search_query() ) { + /* translators: %s: search query */ + echo '' . esc_attr( sprintf( __( 'Search results for "%s"', 'action-scheduler' ), $this->get_request_search_query() ) ) . ''; + } + echo '
    '; + } + + /** + * Display the table heading and search query, if any + */ + protected function display_admin_notices() { + foreach ( $this->admin_notices as $notice ) { + echo '
    '; + echo '

    ' . wp_kses_post( $notice['message'] ) . '

    '; + echo '
    '; + } + } + + /** + * Prints the available statuses so the user can click to filter. + */ + protected function display_filter_by_status() { + + $status_list_items = array(); + $request_status = $this->get_request_status(); + + // Helper to set 'all' filter when not set on status counts passed in. + if ( ! isset( $this->status_counts['all'] ) ) { + $this->status_counts = array( 'all' => array_sum( $this->status_counts ) ) + $this->status_counts; + } + + foreach ( $this->status_counts as $status_name => $count ) { + + if ( 0 === $count ) { + continue; + } + + if ( $status_name === $request_status || ( empty( $request_status ) && 'all' === $status_name ) ) { + $status_list_item = '
  • %3$s (%4$d)
  • '; + } else { + $status_list_item = '
  • %3$s (%4$d)
  • '; + } + + $status_filter_url = ( 'all' === $status_name ) ? remove_query_arg( 'status' ) : add_query_arg( 'status', $status_name ); + $status_filter_url = remove_query_arg( array( 'paged', 's' ), $status_filter_url ); + $status_list_items[] = sprintf( $status_list_item, esc_attr( $status_name ), esc_url( $status_filter_url ), esc_html( ucfirst( $status_name ) ), absint( $count ) ); + } + + if ( $status_list_items ) { + echo '
      '; + echo implode( " | \n", $status_list_items ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + echo '
    '; + } + } + + /** + * Renders the table list, we override the original class to render the table inside a form + * and to render any needed HTML (like the search box). By doing so the callee of a function can simple + * forget about any extra HTML. + */ + protected function display_table() { + echo '
    '; + foreach ( $_GET as $key => $value ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + if ( '_' === $key[0] || 'paged' === $key || 'ID' === $key ) { + continue; + } + echo ''; + } + if ( ! empty( $this->search_by ) ) { + echo $this->search_box( $this->get_search_box_button_text(), 'plugin' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + parent::display(); + echo '
    '; + } + + /** + * Process any pending actions. + */ + public function process_actions() { + $this->process_bulk_action(); + $this->process_row_actions(); + + if ( ! empty( $_REQUEST['_wp_http_referer'] ) && ! empty( $_SERVER['REQUEST_URI'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + // _wp_http_referer is used only on bulk actions, we remove it to keep the $_GET shorter + wp_safe_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); + exit; + } + } + + /** + * Render the list table page, including header, notices, status filters and table. + */ + public function display_page() { + $this->prepare_items(); + + echo '
    '; + $this->display_header(); + $this->display_admin_notices(); + $this->display_filter_by_status(); + $this->display_table(); + echo '
    '; + } + + /** + * Get the text to display in the search box on the list table. + */ + protected function get_search_box_placeholder() { + return esc_html__( 'Search', 'action-scheduler' ); + } + + /** + * Gets the screen per_page option name. + * + * @return string + */ + protected function get_per_page_option_name() { + return $this->package . '_items_per_page'; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php new file mode 100644 index 0000000..3440f00 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php @@ -0,0 +1,303 @@ +created_time = microtime( true ); + + $this->store = $store ? $store : ActionScheduler_Store::instance(); + $this->monitor = $monitor ? $monitor : new ActionScheduler_FatalErrorMonitor( $this->store ); + $this->cleaner = $cleaner ? $cleaner : new ActionScheduler_QueueCleaner( $this->store ); + } + + /** + * Process an individual action. + * + * @param int $action_id The action ID to process. + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + */ + public function process_action( $action_id, $context = '' ) { + try { + $valid_action = false; + do_action( 'action_scheduler_before_execute', $action_id, $context ); + + if ( ActionScheduler_Store::STATUS_PENDING !== $this->store->get_status( $action_id ) ) { + do_action( 'action_scheduler_execution_ignored', $action_id, $context ); + return; + } + + $valid_action = true; + do_action( 'action_scheduler_begin_execute', $action_id, $context ); + + $action = $this->store->fetch_action( $action_id ); + $this->store->log_execution( $action_id ); + $action->execute(); + do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); + $this->store->mark_complete( $action_id ); + } catch ( Exception $e ) { + if ( $valid_action ) { + $this->store->mark_failure( $action_id ); + do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); + } else { + do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); + } + } + + if ( isset( $action ) && is_a( $action, 'ActionScheduler_Action' ) && $action->get_schedule()->is_recurring() ) { + $this->schedule_next_instance( $action, $action_id ); + } + } + + /** + * Schedule the next instance of the action if necessary. + * + * @param ActionScheduler_Action $action + * @param int $action_id + */ + protected function schedule_next_instance( ActionScheduler_Action $action, $action_id ) { + // If a recurring action has been consistently failing, we may wish to stop rescheduling it. + if ( + ActionScheduler_Store::STATUS_FAILED === $this->store->get_status( $action_id ) + && $this->recurring_action_is_consistently_failing( $action, $action_id ) + ) { + ActionScheduler_Logger::instance()->log( + $action_id, + __( 'This action appears to be consistently failing. A new instance will not be scheduled.', 'action-scheduler' ) + ); + + return; + } + + try { + ActionScheduler::factory()->repeat( $action ); + } catch ( Exception $e ) { + do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); + } + } + + /** + * Determine if the specified recurring action has been consistently failing. + * + * @param ActionScheduler_Action $action The recurring action to be rescheduled. + * @param int $action_id The ID of the recurring action. + * + * @return bool + */ + private function recurring_action_is_consistently_failing( ActionScheduler_Action $action, $action_id ) { + /** + * Controls the failure threshold for recurring actions. + * + * Before rescheduling a recurring action, we look at its status. If it failed, we then check if all of the most + * recent actions (upto the threshold set by this filter) sharing the same hook have also failed: if they have, + * that is considered consistent failure and a new instance of the action will not be scheduled. + * + * @param int $failure_threshold Number of actions of the same hook to examine for failure. Defaults to 5. + */ + $consistent_failure_threshold = (int) apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); + + // This query should find the earliest *failing* action (for the hook we are interested in) within our threshold. + $query_args = array( + 'hook' => $action->get_hook(), + 'status' => ActionScheduler_Store::STATUS_FAILED, + 'date' => date_create( 'now', timezone_open( 'UTC' ) )->format( 'Y-m-d H:i:s' ), + 'date_compare' => '<', + 'per_page' => 1, + 'offset' => $consistent_failure_threshold - 1 + ); + + $first_failing_action_id = $this->store->query_actions( $query_args ); + + // If we didn't retrieve an action ID, then there haven't been enough failures for us to worry about. + if ( empty( $first_failing_action_id ) ) { + return false; + } + + // Now let's fetch the first action (having the same hook) of *any status*ithin the same window. + unset( $query_args['status'] ); + $first_action_id_with_the_same_hook = $this->store->query_actions( $query_args ); + + // If the IDs match, then actions for this hook must be consistently failing. + return $first_action_id_with_the_same_hook === $first_failing_action_id; + } + + /** + * Run the queue cleaner. + * + * @author Jeremy Pry + */ + protected function run_cleanup() { + $this->cleaner->clean( 10 * $this->get_time_limit() ); + } + + /** + * Get the number of concurrent batches a runner allows. + * + * @return int + */ + public function get_allowed_concurrent_batches() { + return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); + } + + /** + * Check if the number of allowed concurrent batches is met or exceeded. + * + * @return bool + */ + public function has_maximum_concurrent_batches() { + return $this->store->get_claim_count() >= $this->get_allowed_concurrent_batches(); + } + + /** + * Get the maximum number of seconds a batch can run for. + * + * @return int The number of seconds. + */ + protected function get_time_limit() { + + $time_limit = 30; + + // Apply deprecated filter from deprecated get_maximum_execution_time() method + if ( has_filter( 'action_scheduler_maximum_execution_time' ) ) { + _deprecated_function( 'action_scheduler_maximum_execution_time', '2.1.1', 'action_scheduler_queue_runner_time_limit' ); + $time_limit = apply_filters( 'action_scheduler_maximum_execution_time', $time_limit ); + } + + return absint( apply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ) ); + } + + /** + * Get the number of seconds the process has been running. + * + * @return int The number of seconds. + */ + protected function get_execution_time() { + $execution_time = microtime( true ) - $this->created_time; + + // Get the CPU time if the hosting environment uses it rather than wall-clock time to calculate a process's execution time. + if ( function_exists( 'getrusage' ) && apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ) ) { + $resource_usages = getrusage(); + + if ( isset( $resource_usages['ru_stime.tv_usec'], $resource_usages['ru_stime.tv_usec'] ) ) { + $execution_time = $resource_usages['ru_stime.tv_sec'] + ( $resource_usages['ru_stime.tv_usec'] / 1000000 ); + } + } + + return $execution_time; + } + + /** + * Check if the host's max execution time is (likely) to be exceeded if processing more actions. + * + * @param int $processed_actions The number of actions processed so far - used to determine the likelihood of exceeding the time limit if processing another action + * @return bool + */ + protected function time_likely_to_be_exceeded( $processed_actions ) { + $execution_time = $this->get_execution_time(); + $max_execution_time = $this->get_time_limit(); + + // Safety against division by zero errors. + if ( 0 === $processed_actions ) { + return $execution_time >= $max_execution_time; + } + + $time_per_action = $execution_time / $processed_actions; + $estimated_time = $execution_time + ( $time_per_action * 3 ); + $likely_to_be_exceeded = $estimated_time > $max_execution_time; + + return apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time ); + } + + /** + * Get memory limit + * + * Based on WP_Background_Process::get_memory_limit() + * + * @return int + */ + protected function get_memory_limit() { + if ( function_exists( 'ini_get' ) ) { + $memory_limit = ini_get( 'memory_limit' ); + } else { + $memory_limit = '128M'; // Sensible default, and minimum required by WooCommerce + } + + if ( ! $memory_limit || -1 === $memory_limit || '-1' === $memory_limit ) { + // Unlimited, set to 32GB. + $memory_limit = '32G'; + } + + return ActionScheduler_Compatibility::convert_hr_to_bytes( $memory_limit ); + } + + /** + * Memory exceeded + * + * Ensures the batch process never exceeds 90% of the maximum WordPress memory. + * + * Based on WP_Background_Process::memory_exceeded() + * + * @return bool + */ + protected function memory_exceeded() { + + $memory_limit = $this->get_memory_limit() * 0.90; + $current_memory = memory_get_usage( true ); + $memory_exceeded = $current_memory >= $memory_limit; + + return apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this ); + } + + /** + * See if the batch limits have been exceeded, which is when memory usage is almost at + * the maximum limit, or the time to process more actions will exceed the max time limit. + * + * Based on WC_Background_Process::batch_limits_exceeded() + * + * @param int $processed_actions The number of actions processed so far - used to determine the likelihood of exceeding the time limit if processing another action + * @return bool + */ + protected function batch_limits_exceeded( $processed_actions ) { + return $this->memory_exceeded() || $this->time_likely_to_be_exceeded( $processed_actions ); + } + + /** + * Process actions in the queue. + * + * @author Jeremy Pry + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + * @return int The number of actions processed. + */ + abstract public function run( $context = '' ); +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php new file mode 100644 index 0000000..131d475 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php @@ -0,0 +1,102 @@ +start - and logic to calculate the next run date after + * that - @see $this->calculate_next(). The $first_date property also keeps a record of when the very + * first instance of this chain of schedules ran. + * + * @var DateTime + */ + private $first_date = NULL; + + /** + * Timestamp equivalent of @see $this->first_date + * + * @var int + */ + protected $first_timestamp = NULL; + + /** + * The recurrance between each time an action is run using this schedule. + * Used to calculate the start date & time. Can be a number of seconds, in the + * case of ActionScheduler_IntervalSchedule, or a cron expression, as in the + * case of ActionScheduler_CronSchedule. Or something else. + * + * @var mixed + */ + protected $recurrence; + + /** + * @param DateTime $date The date & time to run the action. + * @param mixed $recurrence The data used to determine the schedule's recurrance. + * @param DateTime|null $first (Optional) The date & time the first instance of this interval schedule ran. Default null, meaning this is the first instance. + */ + public function __construct( DateTime $date, $recurrence, DateTime $first = null ) { + parent::__construct( $date ); + $this->first_date = empty( $first ) ? $date : $first; + $this->recurrence = $recurrence; + } + + /** + * @return bool + */ + public function is_recurring() { + return true; + } + + /** + * Get the date & time of the first schedule in this recurring series. + * + * @return DateTime|null + */ + public function get_first_date() { + return clone $this->first_date; + } + + /** + * @return string + */ + public function get_recurrence() { + return $this->recurrence; + } + + /** + * For PHP 5.2 compat, since DateTime objects can't be serialized + * @return array + */ + public function __sleep() { + $sleep_params = parent::__sleep(); + $this->first_timestamp = $this->first_date->getTimestamp(); + return array_merge( $sleep_params, array( + 'first_timestamp', + 'recurrence' + ) ); + } + + /** + * Unserialize recurring schedules serialized/stored prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, schedules used different property names to refer + * to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. This was addressed in + * Action Scheduler 3.0.0, where properties and property names were aligned for better + * inheritance. To maintain backward compatibility with scheduled serialized and stored + * prior to 3.0, we need to correctly map the old property names. + */ + public function __wakeup() { + parent::__wakeup(); + if ( $this->first_timestamp > 0 ) { + $this->first_date = as_get_datetime_object( $this->first_timestamp ); + } else { + $this->first_date = $this->get_date(); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php new file mode 100644 index 0000000..2631ef5 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php @@ -0,0 +1,83 @@ +scheduled_date + * + * @var int + */ + protected $scheduled_timestamp = NULL; + + /** + * @param DateTime $date The date & time to run the action. + */ + public function __construct( DateTime $date ) { + $this->scheduled_date = $date; + } + + /** + * Check if a schedule should recur. + * + * @return bool + */ + abstract public function is_recurring(); + + /** + * Calculate when the next instance of this schedule would run based on a given date & time. + * + * @param DateTime $after + * @return DateTime + */ + abstract protected function calculate_next( DateTime $after ); + + /** + * Get the next date & time when this schedule should run after a given date & time. + * + * @param DateTime $after + * @return DateTime|null + */ + public function get_next( DateTime $after ) { + $after = clone $after; + if ( $after > $this->scheduled_date ) { + $after = $this->calculate_next( $after ); + return $after; + } + return clone $this->scheduled_date; + } + + /** + * Get the date & time the schedule is set to run. + * + * @return DateTime|null + */ + public function get_date() { + return $this->scheduled_date; + } + + /** + * For PHP 5.2 compat, since DateTime objects can't be serialized + * @return array + */ + public function __sleep() { + $this->scheduled_timestamp = $this->scheduled_date->getTimestamp(); + return array( + 'scheduled_timestamp', + ); + } + + public function __wakeup() { + $this->scheduled_date = as_get_datetime_object( $this->scheduled_timestamp ); + unset( $this->scheduled_timestamp ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php new file mode 100644 index 0000000..2334fda --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php @@ -0,0 +1,172 @@ +tables as $table ) { + $wpdb->tables[] = $table; + $name = $this->get_full_table_name( $table ); + $wpdb->$table = $name; + } + + // create the tables + if ( $this->schema_update_required() || $force_update ) { + foreach ( $this->tables as $table ) { + /** + * Allow custom processing before updating a table schema. + * + * @param string $table Name of table being updated. + * @param string $db_version Existing version of the table being updated. + */ + do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); + $this->update_table( $table ); + } + $this->mark_schema_update_complete(); + } + } + + /** + * @param string $table The name of the table + * + * @return string The CREATE TABLE statement, suitable for passing to dbDelta + */ + abstract protected function get_table_definition( $table ); + + /** + * Determine if the database schema is out of date + * by comparing the integer found in $this->schema_version + * with the option set in the WordPress options table + * + * @return bool + */ + private function schema_update_required() { + $option_name = 'schema-' . static::class; + $this->db_version = get_option( $option_name, 0 ); + + // Check for schema option stored by the Action Scheduler Custom Tables plugin in case site has migrated from that plugin with an older schema + if ( 0 === $this->db_version ) { + + $plugin_option_name = 'schema-'; + + switch ( static::class ) { + case 'ActionScheduler_StoreSchema' : + $plugin_option_name .= 'Action_Scheduler\Custom_Tables\DB_Store_Table_Maker'; + break; + case 'ActionScheduler_LoggerSchema' : + $plugin_option_name .= 'Action_Scheduler\Custom_Tables\DB_Logger_Table_Maker'; + break; + } + + $this->db_version = get_option( $plugin_option_name, 0 ); + + delete_option( $plugin_option_name ); + } + + return version_compare( $this->db_version, $this->schema_version, '<' ); + } + + /** + * Update the option in WordPress to indicate that + * our schema is now up to date + * + * @return void + */ + private function mark_schema_update_complete() { + $option_name = 'schema-' . static::class; + + // work around race conditions and ensure that our option updates + $value_to_save = (string) $this->schema_version . '.0.' . time(); + + update_option( $option_name, $value_to_save ); + } + + /** + * Update the schema for the given table + * + * @param string $table The name of the table to update + * + * @return void + */ + private function update_table( $table ) { + require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); + $definition = $this->get_table_definition( $table ); + if ( $definition ) { + $updated = dbDelta( $definition ); + foreach ( $updated as $updated_table => $update_description ) { + if ( strpos( $update_description, 'Created table' ) === 0 ) { + do_action( 'action_scheduler/created_table', $updated_table, $table ); + } + } + } + } + + /** + * @param string $table + * + * @return string The full name of the table, including the + * table prefix for the current blog + */ + protected function get_full_table_name( $table ) { + return $GLOBALS[ 'wpdb' ]->prefix . $table; + } + + /** + * Confirms that all of the tables registered by this schema class have been created. + * + * @return bool + */ + public function tables_exist() { + global $wpdb; + + $existing_tables = $wpdb->get_col( 'SHOW TABLES' ); + $expected_tables = array_map( + function ( $table_name ) use ( $wpdb ) { + return $wpdb->prefix . $table_name; + }, + $this->tables + ); + + return count( array_intersect( $existing_tables, $expected_tables ) ) === count( $expected_tables ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Lock.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Lock.php new file mode 100644 index 0000000..86e8528 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Lock.php @@ -0,0 +1,62 @@ +get_expiration( $lock_type ) >= time() ); + } + + /** + * Set a lock. + * + * @param string $lock_type A string to identify different lock types. + * @return bool + */ + abstract public function set( $lock_type ); + + /** + * If a lock is set, return the timestamp it was set to expiry. + * + * @param string $lock_type A string to identify different lock types. + * @return bool|int False if no lock is set, otherwise the timestamp for when the lock is set to expire. + */ + abstract public function get_expiration( $lock_type ); + + /** + * Get the amount of time to set for a given lock. 60 seconds by default. + * + * @param string $lock_type A string to identify different lock types. + * @return int + */ + protected function get_duration( $lock_type ) { + return apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type ); + } + + /** + * @return ActionScheduler_Lock + */ + public static function instance() { + if ( empty( self::$locker ) ) { + $class = apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' ); + self::$locker = new $class(); + } + return self::$locker; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Logger.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Logger.php new file mode 100644 index 0000000..c3afd04 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Logger.php @@ -0,0 +1,176 @@ +hook_stored_action(); + add_action( 'action_scheduler_canceled_action', array( $this, 'log_canceled_action' ), 10, 1 ); + add_action( 'action_scheduler_begin_execute', array( $this, 'log_started_action' ), 10, 2 ); + add_action( 'action_scheduler_after_execute', array( $this, 'log_completed_action' ), 10, 3 ); + add_action( 'action_scheduler_failed_execution', array( $this, 'log_failed_action' ), 10, 3 ); + add_action( 'action_scheduler_failed_action', array( $this, 'log_timed_out_action' ), 10, 2 ); + add_action( 'action_scheduler_unexpected_shutdown', array( $this, 'log_unexpected_shutdown' ), 10, 2 ); + add_action( 'action_scheduler_reset_action', array( $this, 'log_reset_action' ), 10, 1 ); + add_action( 'action_scheduler_execution_ignored', array( $this, 'log_ignored_action' ), 10, 2 ); + add_action( 'action_scheduler_failed_fetch_action', array( $this, 'log_failed_fetch_action' ), 10, 2 ); + add_action( 'action_scheduler_failed_to_schedule_next_instance', array( $this, 'log_failed_schedule_next_instance' ), 10, 2 ); + add_action( 'action_scheduler_bulk_cancel_actions', array( $this, 'bulk_log_cancel_actions' ), 10, 1 ); + } + + public function hook_stored_action() { + add_action( 'action_scheduler_stored_action', array( $this, 'log_stored_action' ) ); + } + + public function unhook_stored_action() { + remove_action( 'action_scheduler_stored_action', array( $this, 'log_stored_action' ) ); + } + + public function log_stored_action( $action_id ) { + $this->log( $action_id, __( 'action created', 'action-scheduler' ) ); + } + + public function log_canceled_action( $action_id ) { + $this->log( $action_id, __( 'action canceled', 'action-scheduler' ) ); + } + + public function log_started_action( $action_id, $context = '' ) { + if ( ! empty( $context ) ) { + /* translators: %s: context */ + $message = sprintf( __( 'action started via %s', 'action-scheduler' ), $context ); + } else { + $message = __( 'action started', 'action-scheduler' ); + } + $this->log( $action_id, $message ); + } + + public function log_completed_action( $action_id, $action = NULL, $context = '' ) { + if ( ! empty( $context ) ) { + /* translators: %s: context */ + $message = sprintf( __( 'action complete via %s', 'action-scheduler' ), $context ); + } else { + $message = __( 'action complete', 'action-scheduler' ); + } + $this->log( $action_id, $message ); + } + + public function log_failed_action( $action_id, Exception $exception, $context = '' ) { + if ( ! empty( $context ) ) { + /* translators: 1: context 2: exception message */ + $message = sprintf( __( 'action failed via %1$s: %2$s', 'action-scheduler' ), $context, $exception->getMessage() ); + } else { + /* translators: %s: exception message */ + $message = sprintf( __( 'action failed: %s', 'action-scheduler' ), $exception->getMessage() ); + } + $this->log( $action_id, $message ); + } + + public function log_timed_out_action( $action_id, $timeout ) { + /* translators: %s: amount of time */ + $this->log( $action_id, sprintf( __( 'action marked as failed after %s seconds. Unknown error occurred. Check server, PHP and database error logs to diagnose cause.', 'action-scheduler' ), $timeout ) ); + } + + public function log_unexpected_shutdown( $action_id, $error ) { + if ( ! empty( $error ) ) { + /* translators: 1: error message 2: filename 3: line */ + $this->log( $action_id, sprintf( __( 'unexpected shutdown: PHP Fatal error %1$s in %2$s on line %3$s', 'action-scheduler' ), $error['message'], $error['file'], $error['line'] ) ); + } + } + + public function log_reset_action( $action_id ) { + $this->log( $action_id, __( 'action reset', 'action-scheduler' ) ); + } + + public function log_ignored_action( $action_id, $context = '' ) { + if ( ! empty( $context ) ) { + /* translators: %s: context */ + $message = sprintf( __( 'action ignored via %s', 'action-scheduler' ), $context ); + } else { + $message = __( 'action ignored', 'action-scheduler' ); + } + $this->log( $action_id, $message ); + } + + /** + * @param string $action_id + * @param Exception|NULL $exception The exception which occured when fetching the action. NULL by default for backward compatibility. + * + * @return ActionScheduler_LogEntry[] + */ + public function log_failed_fetch_action( $action_id, Exception $exception = NULL ) { + + if ( ! is_null( $exception ) ) { + /* translators: %s: exception message */ + $log_message = sprintf( __( 'There was a failure fetching this action: %s', 'action-scheduler' ), $exception->getMessage() ); + } else { + $log_message = __( 'There was a failure fetching this action', 'action-scheduler' ); + } + + $this->log( $action_id, $log_message ); + } + + public function log_failed_schedule_next_instance( $action_id, Exception $exception ) { + /* translators: %s: exception message */ + $this->log( $action_id, sprintf( __( 'There was a failure scheduling the next instance of this action: %s', 'action-scheduler' ), $exception->getMessage() ) ); + } + + /** + * Bulk add cancel action log entries. + * + * Implemented here for backward compatibility. Should be implemented in parent loggers + * for more performant bulk logging. + * + * @param array $action_ids List of action ID. + */ + public function bulk_log_cancel_actions( $action_ids ) { + if ( empty( $action_ids ) ) { + return; + } + + foreach ( $action_ids as $action_id ) { + $this->log_canceled_action( $action_id ); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php new file mode 100644 index 0000000..a555293 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php @@ -0,0 +1,450 @@ + null, + 'status' => self::STATUS_PENDING, + 'group' => '', + ) + ); + + // These params are fixed for this method. + $params['hook'] = $hook; + $params['orderby'] = 'date'; + $params['per_page'] = 1; + + if ( ! empty( $params['status'] ) ) { + if ( self::STATUS_PENDING === $params['status'] ) { + $params['order'] = 'ASC'; // Find the next action that matches. + } else { + $params['order'] = 'DESC'; // Find the most recent action that matches. + } + } + + $results = $this->query_actions( $params ); + + return empty( $results ) ? null : $results[0]; + } + + /** + * Query for action count or list of action IDs. + * + * @since 3.3.0 $query['status'] accepts array of statuses instead of a single status. + * + * @param array $query { + * Query filtering options. + * + * @type string $hook The name of the actions. Optional. + * @type string|array $status The status or statuses of the actions. Optional. + * @type array $args The args array of the actions. Optional. + * @type DateTime $date The scheduled date of the action. Used in UTC timezone. Optional. + * @type string $date_compare Operator for selecting by $date param. Accepted values are '!=', '>', '>=', '<', '<=', '='. Defaults to '<='. + * @type DateTime $modified The last modified date of the action. Used in UTC timezone. Optional. + * @type string $modified_compare Operator for comparing $modified param. Accepted values are '!=', '>', '>=', '<', '<=', '='. Defaults to '<='. + * @type string $group The group the action belongs to. Optional. + * @type bool|int $claimed TRUE to find claimed actions, FALSE to find unclaimed actions, an int to find a specific claim ID. Optional. + * @type int $per_page Number of results to return. Defaults to 5. + * @type int $offset The query pagination offset. Defaults to 0. + * @type int $orderby Accepted values are 'hook', 'group', 'modified', 'date' or 'none'. Defaults to 'date'. + * @type string $order Accepted values are 'ASC' or 'DESC'. Defaults to 'ASC'. + * } + * @param string $query_type Whether to select or count the results. Default, select. + * + * @return string|array|null The IDs of actions matching the query. Null on failure. + */ + abstract public function query_actions( $query = array(), $query_type = 'select' ); + + /** + * Run query to get a single action ID. + * + * @since 3.3.0 + * + * @see ActionScheduler_Store::query_actions for $query arg usage but 'per_page' and 'offset' can't be used. + * + * @param array $query Query parameters. + * + * @return int|null + */ + public function query_action( $query ) { + $query['per_page'] = 1; + $query['offset'] = 0; + $results = $this->query_actions( $query ); + + if ( empty( $results ) ) { + return null; + } else { + return (int) $results[0]; + } + } + + /** + * Get a count of all actions in the store, grouped by status + * + * @return array + */ + abstract public function action_counts(); + + /** + * Get additional action counts. + * + * - add past-due actions + * + * @return array + */ + public function extra_action_counts() { + $extra_actions = array(); + + $pastdue_action_counts = ( int ) $this->query_actions( array( + 'status' => self::STATUS_PENDING, + 'date' => as_get_datetime_object(), + ), 'count' ); + + if ( $pastdue_action_counts ) { + $extra_actions['past-due'] = $pastdue_action_counts; + } + + /** + * Allows 3rd party code to add extra action counts (used in filters in the list table). + * + * @since 3.5.0 + * @param $extra_actions array Array with format action_count_identifier => action count. + */ + return apply_filters( 'action_scheduler_extra_action_counts', $extra_actions ); + } + + /** + * @param string $action_id + */ + abstract public function cancel_action( $action_id ); + + /** + * @param string $action_id + */ + abstract public function delete_action( $action_id ); + + /** + * @param string $action_id + * + * @return DateTime The date the action is schedule to run, or the date that it ran. + */ + abstract public function get_date( $action_id ); + + + /** + * @param int $max_actions + * @param DateTime $before_date Claim only actions schedule before the given date. Defaults to now. + * @param array $hooks Claim only actions with a hook or hooks. + * @param string $group Claim only actions in the given group. + * + * @return ActionScheduler_ActionClaim + */ + abstract public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' ); + + /** + * @return int + */ + abstract public function get_claim_count(); + + /** + * @param ActionScheduler_ActionClaim $claim + */ + abstract public function release_claim( ActionScheduler_ActionClaim $claim ); + + /** + * @param string $action_id + */ + abstract public function unclaim_action( $action_id ); + + /** + * @param string $action_id + */ + abstract public function mark_failure( $action_id ); + + /** + * @param string $action_id + */ + abstract public function log_execution( $action_id ); + + /** + * @param string $action_id + */ + abstract public function mark_complete( $action_id ); + + /** + * @param string $action_id + * + * @return string + */ + abstract public function get_status( $action_id ); + + /** + * @param string $action_id + * @return mixed + */ + abstract public function get_claim_id( $action_id ); + + /** + * @param string $claim_id + * @return array + */ + abstract public function find_actions_by_claim_id( $claim_id ); + + /** + * @param string $comparison_operator + * @return string + */ + protected function validate_sql_comparator( $comparison_operator ) { + if ( in_array( $comparison_operator, array('!=', '>', '>=', '<', '<=', '=') ) ) { + return $comparison_operator; + } + return '='; + } + + /** + * Get the time MySQL formated date/time string for an action's (next) scheduled date. + * + * @param ActionScheduler_Action $action + * @param DateTime $scheduled_date (optional) + * @return string + */ + protected function get_scheduled_date_string( ActionScheduler_Action $action, DateTime $scheduled_date = NULL ) { + $next = null === $scheduled_date ? $action->get_schedule()->get_date() : $scheduled_date; + if ( ! $next ) { + $next = date_create(); + } + $next->setTimezone( new DateTimeZone( 'UTC' ) ); + + return $next->format( 'Y-m-d H:i:s' ); + } + + /** + * Get the time MySQL formated date/time string for an action's (next) scheduled date. + * + * @param ActionScheduler_Action $action + * @param DateTime $scheduled_date (optional) + * @return string + */ + protected function get_scheduled_date_string_local( ActionScheduler_Action $action, DateTime $scheduled_date = NULL ) { + $next = null === $scheduled_date ? $action->get_schedule()->get_date() : $scheduled_date; + if ( ! $next ) { + $next = date_create(); + } + + ActionScheduler_TimezoneHelper::set_local_timezone( $next ); + return $next->format( 'Y-m-d H:i:s' ); + } + + /** + * Validate that we could decode action arguments. + * + * @param mixed $args The decoded arguments. + * @param int $action_id The action ID. + * + * @throws ActionScheduler_InvalidActionException When the decoded arguments are invalid. + */ + protected function validate_args( $args, $action_id ) { + // Ensure we have an array of args. + if ( ! is_array( $args ) ) { + throw ActionScheduler_InvalidActionException::from_decoding_args( $action_id ); + } + + // Validate JSON decoding if possible. + if ( function_exists( 'json_last_error' ) && JSON_ERROR_NONE !== json_last_error() ) { + throw ActionScheduler_InvalidActionException::from_decoding_args( $action_id, $args ); + } + } + + /** + * Validate a ActionScheduler_Schedule object. + * + * @param mixed $schedule The unserialized ActionScheduler_Schedule object. + * @param int $action_id The action ID. + * + * @throws ActionScheduler_InvalidActionException When the schedule is invalid. + */ + protected function validate_schedule( $schedule, $action_id ) { + if ( empty( $schedule ) || ! is_a( $schedule, 'ActionScheduler_Schedule' ) ) { + throw ActionScheduler_InvalidActionException::from_schedule( $action_id, $schedule ); + } + } + + /** + * InnoDB indexes have a maximum size of 767 bytes by default, which is only 191 characters with utf8mb4. + * + * Previously, AS wasn't concerned about args length, as we used the (unindex) post_content column. However, + * with custom tables, we use an indexed VARCHAR column instead. + * + * @param ActionScheduler_Action $action Action to be validated. + * @throws InvalidArgumentException When json encoded args is too long. + */ + protected function validate_action( ActionScheduler_Action $action ) { + if ( strlen( json_encode( $action->get_args() ) ) > static::$max_args_length ) { + throw new InvalidArgumentException( sprintf( __( 'ActionScheduler_Action::$args too long. To ensure the args column can be indexed, action args should not be more than %d characters when encoded as JSON.', 'action-scheduler' ), static::$max_args_length ) ); + } + } + + /** + * Cancel pending actions by hook. + * + * @since 3.0.0 + * + * @param string $hook Hook name. + * + * @return void + */ + public function cancel_actions_by_hook( $hook ) { + $action_ids = true; + while ( ! empty( $action_ids ) ) { + $action_ids = $this->query_actions( + array( + 'hook' => $hook, + 'status' => self::STATUS_PENDING, + 'per_page' => 1000, + 'orderby' => 'action_id', + ) + ); + + $this->bulk_cancel_actions( $action_ids ); + } + } + + /** + * Cancel pending actions by group. + * + * @since 3.0.0 + * + * @param string $group Group slug. + * + * @return void + */ + public function cancel_actions_by_group( $group ) { + $action_ids = true; + while ( ! empty( $action_ids ) ) { + $action_ids = $this->query_actions( + array( + 'group' => $group, + 'status' => self::STATUS_PENDING, + 'per_page' => 1000, + 'orderby' => 'action_id', + ) + ); + + $this->bulk_cancel_actions( $action_ids ); + } + } + + /** + * Cancel a set of action IDs. + * + * @since 3.0.0 + * + * @param array $action_ids List of action IDs. + * + * @return void + */ + private function bulk_cancel_actions( $action_ids ) { + foreach ( $action_ids as $action_id ) { + $this->cancel_action( $action_id ); + } + + do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); + } + + /** + * @return array + */ + public function get_status_labels() { + return array( + self::STATUS_COMPLETE => __( 'Complete', 'action-scheduler' ), + self::STATUS_PENDING => __( 'Pending', 'action-scheduler' ), + self::STATUS_RUNNING => __( 'In-progress', 'action-scheduler' ), + self::STATUS_FAILED => __( 'Failed', 'action-scheduler' ), + self::STATUS_CANCELED => __( 'Canceled', 'action-scheduler' ), + ); + } + + /** + * Check if there are any pending scheduled actions due to run. + * + * @param ActionScheduler_Action $action + * @param DateTime $scheduled_date (optional) + * @return string + */ + public function has_pending_actions_due() { + $pending_actions = $this->query_actions( array( + 'date' => as_get_datetime_object(), + 'status' => ActionScheduler_Store::STATUS_PENDING, + 'orderby' => 'none', + ) ); + + return ! empty( $pending_actions ); + } + + /** + * Callable initialization function optionally overridden in derived classes. + */ + public function init() {} + + /** + * Callable function to mark an action as migrated optionally overridden in derived classes. + */ + public function mark_migrated( $action_id ) {} + + /** + * @return ActionScheduler_Store + */ + public static function instance() { + if ( empty( self::$store ) ) { + $class = apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS ); + self::$store = new $class(); + } + return self::$store; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php new file mode 100644 index 0000000..fd01449 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php @@ -0,0 +1,152 @@ +format( 'U' ) ); + } + + if ( get_option( 'timezone_string' ) ) { + $date->setTimezone( new DateTimeZone( self::get_local_timezone_string() ) ); + } else { + $date->setUtcOffset( self::get_local_timezone_offset() ); + } + + return $date; + } + + /** + * Helper to retrieve the timezone string for a site until a WP core method exists + * (see https://core.trac.wordpress.org/ticket/24730). + * + * Adapted from wc_timezone_string() and https://secure.php.net/manual/en/function.timezone-name-from-abbr.php#89155. + * + * If no timezone string is set, and its not possible to match the UTC offset set for the site to a timezone + * string, then an empty string will be returned, and the UTC offset should be used to set a DateTime's + * timezone. + * + * @since 2.1.0 + * @return string PHP timezone string for the site or empty if no timezone string is available. + */ + protected static function get_local_timezone_string( $reset = false ) { + // If site timezone string exists, return it. + $timezone = get_option( 'timezone_string' ); + if ( $timezone ) { + return $timezone; + } + + // Get UTC offset, if it isn't set then return UTC. + $utc_offset = intval( get_option( 'gmt_offset', 0 ) ); + if ( 0 === $utc_offset ) { + return 'UTC'; + } + + // Adjust UTC offset from hours to seconds. + $utc_offset *= 3600; + + // Attempt to guess the timezone string from the UTC offset. + $timezone = timezone_name_from_abbr( '', $utc_offset ); + if ( $timezone ) { + return $timezone; + } + + // Last try, guess timezone string manually. + foreach ( timezone_abbreviations_list() as $abbr ) { + foreach ( $abbr as $city ) { + if ( (bool) date( 'I' ) === (bool) $city['dst'] && $city['timezone_id'] && intval( $city['offset'] ) === $utc_offset ) { + return $city['timezone_id']; + } + } + } + + // No timezone string + return ''; + } + + /** + * Get timezone offset in seconds. + * + * @since 2.1.0 + * @return float + */ + protected static function get_local_timezone_offset() { + $timezone = get_option( 'timezone_string' ); + + if ( $timezone ) { + $timezone_object = new DateTimeZone( $timezone ); + return $timezone_object->getOffset( new DateTime( 'now' ) ); + } else { + return floatval( get_option( 'gmt_offset', 0 ) ) * HOUR_IN_SECONDS; + } + } + + /** + * @deprecated 2.1.0 + */ + public static function get_local_timezone( $reset = FALSE ) { + _deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' ); + if ( $reset ) { + self::$local_timezone = NULL; + } + if ( !isset(self::$local_timezone) ) { + $tzstring = get_option('timezone_string'); + + if ( empty($tzstring) ) { + $gmt_offset = get_option('gmt_offset'); + if ( $gmt_offset == 0 ) { + $tzstring = 'UTC'; + } else { + $gmt_offset *= HOUR_IN_SECONDS; + $tzstring = timezone_name_from_abbr( '', $gmt_offset, 1 ); + + // If there's no timezone string, try again with no DST. + if ( false === $tzstring ) { + $tzstring = timezone_name_from_abbr( '', $gmt_offset, 0 ); + } + + // Try mapping to the first abbreviation we can find. + if ( false === $tzstring ) { + $is_dst = date( 'I' ); + foreach ( timezone_abbreviations_list() as $abbr ) { + foreach ( $abbr as $city ) { + if ( $city['dst'] == $is_dst && $city['offset'] == $gmt_offset ) { + // If there's no valid timezone ID, keep looking. + if ( null === $city['timezone_id'] ) { + continue; + } + + $tzstring = $city['timezone_id']; + break 2; + } + } + } + } + + // If we still have no valid string, then fall back to UTC. + if ( false === $tzstring ) { + $tzstring = 'UTC'; + } + } + } + + self::$local_timezone = new DateTimeZone($tzstring); + } + return self::$local_timezone; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php new file mode 100644 index 0000000..f538f50 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php @@ -0,0 +1,96 @@ +set_hook($hook); + $this->set_schedule($schedule); + $this->set_args($args); + $this->set_group($group); + } + + /** + * Executes the action. + * + * If no callbacks are registered, an exception will be thrown and the action will not be + * fired. This is useful to help detect cases where the code responsible for setting up + * a scheduled action no longer exists. + * + * @throws Exception If no callbacks are registered for this action. + */ + public function execute() { + $hook = $this->get_hook(); + + if ( ! has_action( $hook ) ) { + throw new Exception( + sprintf( + /* translators: 1: action hook. */ + __( 'Scheduled action for %1$s will not be executed as no callbacks are registered.', 'action-scheduler' ), + $hook + ) + ); + } + + do_action_ref_array( $hook, array_values( $this->get_args() ) ); + } + + /** + * @param string $hook + */ + protected function set_hook( $hook ) { + $this->hook = $hook; + } + + public function get_hook() { + return $this->hook; + } + + protected function set_schedule( ActionScheduler_Schedule $schedule ) { + $this->schedule = $schedule; + } + + /** + * @return ActionScheduler_Schedule + */ + public function get_schedule() { + return $this->schedule; + } + + protected function set_args( array $args ) { + $this->args = $args; + } + + public function get_args() { + return $this->args; + } + + /** + * @param string $group + */ + protected function set_group( $group ) { + $this->group = $group; + } + + /** + * @return string + */ + public function get_group() { + return $this->group; + } + + /** + * @return bool If the action has been finished + */ + public function is_finished() { + return FALSE; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_CanceledAction.php b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_CanceledAction.php new file mode 100644 index 0000000..8bbc5d1 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_CanceledAction.php @@ -0,0 +1,23 @@ +set_schedule( new ActionScheduler_NullSchedule() ); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_FinishedAction.php b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_FinishedAction.php new file mode 100644 index 0000000..b23a56c --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_FinishedAction.php @@ -0,0 +1,16 @@ +set_schedule( new ActionScheduler_NullSchedule() ); + } + + public function execute() { + // don't execute + } +} + \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBLogger.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBLogger.php new file mode 100644 index 0000000..37bfd0d --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBLogger.php @@ -0,0 +1,154 @@ +format( 'Y-m-d H:i:s' ); + ActionScheduler_TimezoneHelper::set_local_timezone( $date ); + $date_local = $date->format( 'Y-m-d H:i:s' ); + + /** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort + global $wpdb; + $wpdb->insert( + $wpdb->actionscheduler_logs, + array( + 'action_id' => $action_id, + 'message' => $message, + 'log_date_gmt' => $date_gmt, + 'log_date_local' => $date_local, + ), + array( '%d', '%s', '%s', '%s' ) + ); + + return $wpdb->insert_id; + } + + /** + * Retrieve an action log entry. + * + * @param int $entry_id Log entry ID. + * + * @return ActionScheduler_LogEntry + */ + public function get_entry( $entry_id ) { + /** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort + global $wpdb; + $entry = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->actionscheduler_logs} WHERE log_id=%d", $entry_id ) ); + + return $this->create_entry_from_db_record( $entry ); + } + + /** + * Create an action log entry from a database record. + * + * @param object $record Log entry database record object. + * + * @return ActionScheduler_LogEntry + */ + private function create_entry_from_db_record( $record ) { + if ( empty( $record ) ) { + return new ActionScheduler_NullLogEntry(); + } + + if ( is_null( $record->log_date_gmt ) ) { + $date = as_get_datetime_object( ActionScheduler_StoreSchema::DEFAULT_DATE ); + } else { + $date = as_get_datetime_object( $record->log_date_gmt ); + } + + return new ActionScheduler_LogEntry( $record->action_id, $record->message, $date ); + } + + /** + * Retrieve the an action's log entries from the database. + * + * @param int $action_id Action ID. + * + * @return ActionScheduler_LogEntry[] + */ + public function get_logs( $action_id ) { + /** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort + global $wpdb; + + $records = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->actionscheduler_logs} WHERE action_id=%d", $action_id ) ); + + return array_map( array( $this, 'create_entry_from_db_record' ), $records ); + } + + /** + * Initialize the data store. + * + * @codeCoverageIgnore + */ + public function init() { + $table_maker = new ActionScheduler_LoggerSchema(); + $table_maker->init(); + $table_maker->register_tables(); + + parent::init(); + + add_action( 'action_scheduler_deleted_action', array( $this, 'clear_deleted_action_logs' ), 10, 1 ); + } + + /** + * Delete the action logs for an action. + * + * @param int $action_id Action ID. + */ + public function clear_deleted_action_logs( $action_id ) { + /** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort + global $wpdb; + $wpdb->delete( $wpdb->actionscheduler_logs, array( 'action_id' => $action_id ), array( '%d' ) ); + } + + /** + * Bulk add cancel action log entries. + * + * @param array $action_ids List of action ID. + */ + public function bulk_log_cancel_actions( $action_ids ) { + if ( empty( $action_ids ) ) { + return; + } + + /** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort + global $wpdb; + $date = as_get_datetime_object(); + $date_gmt = $date->format( 'Y-m-d H:i:s' ); + ActionScheduler_TimezoneHelper::set_local_timezone( $date ); + $date_local = $date->format( 'Y-m-d H:i:s' ); + $message = __( 'action canceled', 'action-scheduler' ); + $format = '(%d, ' . $wpdb->prepare( '%s, %s, %s', $message, $date_gmt, $date_local ) . ')'; + $sql_query = "INSERT {$wpdb->actionscheduler_logs} (action_id, message, log_date_gmt, log_date_local) VALUES "; + $value_rows = array(); + + foreach ( $action_ids as $action_id ) { + $value_rows[] = $wpdb->prepare( $format, $action_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + $sql_query .= implode( ',', $value_rows ); + + $wpdb->query( $sql_query ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php new file mode 100644 index 0000000..5009454 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php @@ -0,0 +1,1081 @@ +init(); + $table_maker->register_tables(); + } + + /** + * Save an action, checks if this is a unique action before actually saving. + * + * @param ActionScheduler_Action $action Action object. + * @param \DateTime $scheduled_date Optional schedule date. Default null. + * + * @return int Action ID. + * @throws RuntimeException Throws exception when saving the action fails. + */ + public function save_unique_action( ActionScheduler_Action $action, \DateTime $scheduled_date = null ) { + return $this->save_action_to_db( $action, $scheduled_date, true ); + } + + /** + * Save an action. Can save duplicate action as well, prefer using `save_unique_action` instead. + * + * @param ActionScheduler_Action $action Action object. + * @param \DateTime $scheduled_date Optional schedule date. Default null. + * + * @return int Action ID. + * @throws RuntimeException Throws exception when saving the action fails. + */ + public function save_action( ActionScheduler_Action $action, \DateTime $scheduled_date = null ) { + return $this->save_action_to_db( $action, $scheduled_date, false ); + } + + /** + * Save an action. + * + * @param ActionScheduler_Action $action Action object. + * @param ?DateTime $date Optional schedule date. Default null. + * @param bool $unique Whether the action should be unique. + * + * @return int Action ID. + * @throws RuntimeException Throws exception when saving the action fails. + */ + private function save_action_to_db( ActionScheduler_Action $action, DateTime $date = null, $unique = false ) { + global $wpdb; + + try { + $this->validate_action( $action ); + + $data = array( + 'hook' => $action->get_hook(), + 'status' => ( $action->is_finished() ? self::STATUS_COMPLETE : self::STATUS_PENDING ), + 'scheduled_date_gmt' => $this->get_scheduled_date_string( $action, $date ), + 'scheduled_date_local' => $this->get_scheduled_date_string_local( $action, $date ), + 'schedule' => serialize( $action->get_schedule() ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize + 'group_id' => $this->get_group_id( $action->get_group() ), + ); + + $args = wp_json_encode( $action->get_args() ); + if ( strlen( $args ) <= static::$max_index_length ) { + $data['args'] = $args; + } else { + $data['args'] = $this->hash_args( $args ); + $data['extended_args'] = $args; + } + + $insert_sql = $this->build_insert_sql( $data, $unique ); + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $insert_sql should be already prepared. + $wpdb->query( $insert_sql ); + $action_id = $wpdb->insert_id; + + if ( is_wp_error( $action_id ) ) { + throw new \RuntimeException( $action_id->get_error_message() ); + } elseif ( empty( $action_id ) ) { + if ( $unique ) { + return 0; + } + throw new \RuntimeException( $wpdb->last_error ? $wpdb->last_error : __( 'Database error.', 'action-scheduler' ) ); + } + + do_action( 'action_scheduler_stored_action', $action_id ); + + return $action_id; + } catch ( \Exception $e ) { + /* translators: %s: error message */ + throw new \RuntimeException( sprintf( __( 'Error saving action: %s', 'action-scheduler' ), $e->getMessage() ), 0 ); + } + } + + /** + * Helper function to build insert query. + * + * @param array $data Row data for action. + * @param bool $unique Whether the action should be unique. + * + * @return string Insert query. + */ + private function build_insert_sql( array $data, $unique ) { + global $wpdb; + $columns = array_keys( $data ); + $values = array_values( $data ); + $placeholders = array_map( array( $this, 'get_placeholder_for_column' ), $columns ); + + $table_name = ! empty( $wpdb->actionscheduler_actions ) ? $wpdb->actionscheduler_actions : $wpdb->prefix . 'actionscheduler_actions'; + + $column_sql = '`' . implode( '`, `', $columns ) . '`'; + $placeholder_sql = implode( ', ', $placeholders ); + $where_clause = $this->build_where_clause_for_insert( $data, $table_name, $unique ); + // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- $column_sql and $where_clause are already prepared. $placeholder_sql is hardcoded. + $insert_query = $wpdb->prepare( + " +INSERT INTO $table_name ( $column_sql ) +SELECT $placeholder_sql FROM DUAL +WHERE ( $where_clause ) IS NULL", + $values + ); + // phpcs:enable + + return $insert_query; + } + + /** + * Helper method to build where clause for action insert statement. + * + * @param array $data Row data for action. + * @param string $table_name Action table name. + * @param bool $unique Where action should be unique. + * + * @return string Where clause to be used with insert. + */ + private function build_where_clause_for_insert( $data, $table_name, $unique ) { + global $wpdb; + + if ( ! $unique ) { + return 'SELECT NULL FROM DUAL'; + } + + $pending_statuses = array( + ActionScheduler_Store::STATUS_PENDING, + ActionScheduler_Store::STATUS_RUNNING, + ); + $pending_status_placeholders = implode( ', ', array_fill( 0, count( $pending_statuses ), '%s' ) ); + // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- $pending_status_placeholders is hardcoded. + $where_clause = $wpdb->prepare( + " +SELECT action_id FROM $table_name +WHERE status IN ( $pending_status_placeholders ) +AND hook = %s +AND `group_id` = %d +", + array_merge( + $pending_statuses, + array( + $data['hook'], + $data['group_id'], + ) + ) + ); + // phpcs:enable + + return "$where_clause" . ' LIMIT 1'; + } + + /** + * Helper method to get $wpdb->prepare placeholder for a given column name. + * + * @param string $column_name Name of column in actions table. + * + * @return string Placeholder to use for given column. + */ + private function get_placeholder_for_column( $column_name ) { + $string_columns = array( + 'hook', + 'status', + 'scheduled_date_gmt', + 'scheduled_date_local', + 'args', + 'schedule', + 'last_attempt_gmt', + 'last_attempt_local', + 'extended_args', + ); + + return in_array( $column_name, $string_columns ) ? '%s' : '%d'; + } + + /** + * Generate a hash from json_encoded $args using MD5 as this isn't for security. + * + * @param string $args JSON encoded action args. + * @return string + */ + protected function hash_args( $args ) { + return md5( $args ); + } + + /** + * Get action args query param value from action args. + * + * @param array $args Action args. + * @return string + */ + protected function get_args_for_query( $args ) { + $encoded = wp_json_encode( $args ); + if ( strlen( $encoded ) <= static::$max_index_length ) { + return $encoded; + } + return $this->hash_args( $encoded ); + } + /** + * Get a group's ID based on its name/slug. + * + * @param string $slug The string name of a group. + * @param bool $create_if_not_exists Whether to create the group if it does not already exist. Default, true - create the group. + * + * @return int The group's ID, if it exists or is created, or 0 if it does not exist and is not created. + */ + protected function get_group_id( $slug, $create_if_not_exists = true ) { + if ( empty( $slug ) ) { + return 0; + } + /** @var \wpdb $wpdb */ + global $wpdb; + $group_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT group_id FROM {$wpdb->actionscheduler_groups} WHERE slug=%s", $slug ) ); + if ( empty( $group_id ) && $create_if_not_exists ) { + $group_id = $this->create_group( $slug ); + } + + return $group_id; + } + + /** + * Create an action group. + * + * @param string $slug Group slug. + * + * @return int Group ID. + */ + protected function create_group( $slug ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $wpdb->insert( $wpdb->actionscheduler_groups, array( 'slug' => $slug ) ); + + return (int) $wpdb->insert_id; + } + + /** + * Retrieve an action. + * + * @param int $action_id Action ID. + * + * @return ActionScheduler_Action + */ + public function fetch_action( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $data = $wpdb->get_row( + $wpdb->prepare( + "SELECT a.*, g.slug AS `group` FROM {$wpdb->actionscheduler_actions} a LEFT JOIN {$wpdb->actionscheduler_groups} g ON a.group_id=g.group_id WHERE a.action_id=%d", + $action_id + ) + ); + + if ( empty( $data ) ) { + return $this->get_null_action(); + } + + if ( ! empty( $data->extended_args ) ) { + $data->args = $data->extended_args; + unset( $data->extended_args ); + } + + // Convert NULL dates to zero dates. + $date_fields = array( + 'scheduled_date_gmt', + 'scheduled_date_local', + 'last_attempt_gmt', + 'last_attempt_gmt', + ); + foreach ( $date_fields as $date_field ) { + if ( is_null( $data->$date_field ) ) { + $data->$date_field = ActionScheduler_StoreSchema::DEFAULT_DATE; + } + } + + try { + $action = $this->make_action_from_db_record( $data ); + } catch ( ActionScheduler_InvalidActionException $exception ) { + do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); + return $this->get_null_action(); + } + + return $action; + } + + /** + * Create a null action. + * + * @return ActionScheduler_NullAction + */ + protected function get_null_action() { + return new ActionScheduler_NullAction(); + } + + /** + * Create an action from a database record. + * + * @param object $data Action database record. + * + * @return ActionScheduler_Action|ActionScheduler_CanceledAction|ActionScheduler_FinishedAction + */ + protected function make_action_from_db_record( $data ) { + + $hook = $data->hook; + $args = json_decode( $data->args, true ); + $schedule = unserialize( $data->schedule ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize + + $this->validate_args( $args, $data->action_id ); + $this->validate_schedule( $schedule, $data->action_id ); + + if ( empty( $schedule ) ) { + $schedule = new ActionScheduler_NullSchedule(); + } + $group = $data->group ? $data->group : ''; + + return ActionScheduler::factory()->get_stored_action( $data->status, $data->hook, $args, $schedule, $group ); + } + + /** + * Returns the SQL statement to query (or count) actions. + * + * @since 3.3.0 $query['status'] accepts array of statuses instead of a single status. + * + * @param array $query Filtering options. + * @param string $select_or_count Whether the SQL should select and return the IDs or just the row count. + * + * @return string SQL statement already properly escaped. + * @throws InvalidArgumentException If the query is invalid. + */ + protected function get_query_actions_sql( array $query, $select_or_count = 'select' ) { + + if ( ! in_array( $select_or_count, array( 'select', 'count' ), true ) ) { + throw new InvalidArgumentException( __( 'Invalid value for select or count parameter. Cannot query actions.', 'action-scheduler' ) ); + } + + $query = wp_parse_args( $query, array( + 'hook' => '', + 'args' => null, + 'partial_args_matching' => 'off', // can be 'like' or 'json' + 'date' => null, + 'date_compare' => '<=', + 'modified' => null, + 'modified_compare' => '<=', + 'group' => '', + 'status' => '', + 'claimed' => null, + 'per_page' => 5, + 'offset' => 0, + 'orderby' => 'date', + 'order' => 'ASC', + ) ); + + /** @var \wpdb $wpdb */ + global $wpdb; + + $db_server_info = is_callable( array( $wpdb, 'db_server_info' ) ) ? $wpdb->db_server_info() : $wpdb->db_version(); + if ( false !== strpos( $db_server_info, 'MariaDB' ) ) { + $supports_json = version_compare( + PHP_VERSION_ID >= 80016 ? $wpdb->db_version() : preg_replace( '/[^0-9.].*/', '', str_replace( '5.5.5-', '', $db_server_info ) ), + '10.2', + '>=' + ); + } else { + $supports_json = version_compare( $wpdb->db_version(), '5.7', '>=' ); + } + + $sql = ( 'count' === $select_or_count ) ? 'SELECT count(a.action_id)' : 'SELECT a.action_id'; + $sql .= " FROM {$wpdb->actionscheduler_actions} a"; + $sql_params = array(); + + if ( ! empty( $query['group'] ) || 'group' === $query['orderby'] ) { + $sql .= " LEFT JOIN {$wpdb->actionscheduler_groups} g ON g.group_id=a.group_id"; + } + + $sql .= " WHERE 1=1"; + + if ( ! empty( $query['group'] ) ) { + $sql .= " AND g.slug=%s"; + $sql_params[] = $query['group']; + } + + if ( ! empty( $query['hook'] ) ) { + $sql .= " AND a.hook=%s"; + $sql_params[] = $query['hook']; + } + + if ( ! is_null( $query['args'] ) ) { + switch ( $query['partial_args_matching'] ) { + case 'json': + if ( ! $supports_json ) { + throw new \RuntimeException( __( 'JSON partial matching not supported in your environment. Please check your MySQL/MariaDB version.', 'action-scheduler' ) ); + } + $supported_types = array( + 'integer' => '%d', + 'boolean' => '%s', + 'double' => '%f', + 'string' => '%s', + ); + foreach ( $query['args'] as $key => $value ) { + $value_type = gettype( $value ); + if ( 'boolean' === $value_type ) { + $value = $value ? 'true' : 'false'; + } + $placeholder = isset( $supported_types[ $value_type ] ) ? $supported_types[ $value_type ] : false; + if ( ! $placeholder ) { + throw new \RuntimeException( sprintf( + /* translators: %s: provided value type */ + __( 'The value type for the JSON partial matching is not supported. Must be either integer, boolean, double or string. %s type provided.', 'action-scheduler' ), + $value_type + ) ); + } + $sql .= ' AND JSON_EXTRACT(a.args, %s)='.$placeholder; + $sql_params[] = '$.'.$key; + $sql_params[] = $value; + } + break; + case 'like': + foreach ( $query['args'] as $key => $value ) { + $sql .= ' AND a.args LIKE %s'; + $json_partial = $wpdb->esc_like( trim( json_encode( array( $key => $value ) ), '{}' ) ); + $sql_params[] = "%{$json_partial}%"; + } + break; + case 'off': + $sql .= " AND a.args=%s"; + $sql_params[] = $this->get_args_for_query( $query['args'] ); + break; + default: + throw new \RuntimeException( __( 'Unknown partial args matching value.', 'action-scheduler' ) ); + } + } + + if ( $query['status'] ) { + $statuses = (array) $query['status']; + $placeholders = array_fill( 0, count( $statuses ), '%s' ); + $sql .= ' AND a.status IN (' . join( ', ', $placeholders ) . ')'; + $sql_params = array_merge( $sql_params, array_values( $statuses ) ); + } + + if ( $query['date'] instanceof \DateTime ) { + $date = clone $query['date']; + $date->setTimezone( new \DateTimeZone( 'UTC' ) ); + $date_string = $date->format( 'Y-m-d H:i:s' ); + $comparator = $this->validate_sql_comparator( $query['date_compare'] ); + $sql .= " AND a.scheduled_date_gmt $comparator %s"; + $sql_params[] = $date_string; + } + + if ( $query['modified'] instanceof \DateTime ) { + $modified = clone $query['modified']; + $modified->setTimezone( new \DateTimeZone( 'UTC' ) ); + $date_string = $modified->format( 'Y-m-d H:i:s' ); + $comparator = $this->validate_sql_comparator( $query['modified_compare'] ); + $sql .= " AND a.last_attempt_gmt $comparator %s"; + $sql_params[] = $date_string; + } + + if ( true === $query['claimed'] ) { + $sql .= ' AND a.claim_id != 0'; + } elseif ( false === $query['claimed'] ) { + $sql .= ' AND a.claim_id = 0'; + } elseif ( ! is_null( $query['claimed'] ) ) { + $sql .= ' AND a.claim_id = %d'; + $sql_params[] = $query['claimed']; + } + + if ( ! empty( $query['search'] ) ) { + $sql .= ' AND (a.hook LIKE %s OR (a.extended_args IS NULL AND a.args LIKE %s) OR a.extended_args LIKE %s'; + for ( $i = 0; $i < 3; $i++ ) { + $sql_params[] = sprintf( '%%%s%%', $query['search'] ); + } + + $search_claim_id = (int) $query['search']; + if ( $search_claim_id ) { + $sql .= ' OR a.claim_id = %d'; + $sql_params[] = $search_claim_id; + } + + $sql .= ')'; + } + + if ( 'select' === $select_or_count ) { + if ( 'ASC' === strtoupper( $query['order'] ) ) { + $order = 'ASC'; + } else { + $order = 'DESC'; + } + switch ( $query['orderby'] ) { + case 'hook': + $sql .= " ORDER BY a.hook $order"; + break; + case 'group': + $sql .= " ORDER BY g.slug $order"; + break; + case 'modified': + $sql .= " ORDER BY a.last_attempt_gmt $order"; + break; + case 'none': + break; + case 'action_id': + $sql .= " ORDER BY a.action_id $order"; + break; + case 'date': + default: + $sql .= " ORDER BY a.scheduled_date_gmt $order"; + break; + } + + if ( $query['per_page'] > 0 ) { + $sql .= ' LIMIT %d, %d'; + $sql_params[] = $query['offset']; + $sql_params[] = $query['per_page']; + } + } + + if ( ! empty( $sql_params ) ) { + $sql = $wpdb->prepare( $sql, $sql_params ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + return $sql; + } + + /** + * Query for action count or list of action IDs. + * + * @since 3.3.0 $query['status'] accepts array of statuses instead of a single status. + * + * @see ActionScheduler_Store::query_actions for $query arg usage. + * + * @param array $query Query filtering options. + * @param string $query_type Whether to select or count the results. Defaults to select. + * + * @return string|array|null The IDs of actions matching the query. Null on failure. + */ + public function query_actions( $query = array(), $query_type = 'select' ) { + /** @var wpdb $wpdb */ + global $wpdb; + + $sql = $this->get_query_actions_sql( $query, $query_type ); + + return ( 'count' === $query_type ) ? $wpdb->get_var( $sql ) : $wpdb->get_col( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.DirectDatabaseQuery.NoSql, WordPress.DB.DirectDatabaseQuery.NoCaching + } + + /** + * Get a count of all actions in the store, grouped by status. + * + * @return array Set of 'status' => int $count pairs for statuses with 1 or more actions of that status. + */ + public function action_counts() { + global $wpdb; + + $sql = "SELECT a.status, count(a.status) as 'count'"; + $sql .= " FROM {$wpdb->actionscheduler_actions} a"; + $sql .= ' GROUP BY a.status'; + + $actions_count_by_status = array(); + $action_stati_and_labels = $this->get_status_labels(); + + foreach ( $wpdb->get_results( $sql ) as $action_data ) { // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + // Ignore any actions with invalid status. + if ( array_key_exists( $action_data->status, $action_stati_and_labels ) ) { + $actions_count_by_status[ $action_data->status ] = $action_data->count; + } + } + + return $actions_count_by_status; + } + + /** + * Cancel an action. + * + * @param int $action_id Action ID. + * + * @return void + * @throws \InvalidArgumentException If the action update failed. + */ + public function cancel_action( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + $updated = $wpdb->update( + $wpdb->actionscheduler_actions, + array( 'status' => self::STATUS_CANCELED ), + array( 'action_id' => $action_id ), + array( '%s' ), + array( '%d' ) + ); + if ( false === $updated ) { + /* translators: %s: action ID */ + throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); + } + do_action( 'action_scheduler_canceled_action', $action_id ); + } + + /** + * Cancel pending actions by hook. + * + * @since 3.0.0 + * + * @param string $hook Hook name. + * + * @return void + */ + public function cancel_actions_by_hook( $hook ) { + $this->bulk_cancel_actions( array( 'hook' => $hook ) ); + } + + /** + * Cancel pending actions by group. + * + * @param string $group Group slug. + * + * @return void + */ + public function cancel_actions_by_group( $group ) { + $this->bulk_cancel_actions( array( 'group' => $group ) ); + } + + /** + * Bulk cancel actions. + * + * @since 3.0.0 + * + * @param array $query_args Query parameters. + */ + protected function bulk_cancel_actions( $query_args ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + if ( ! is_array( $query_args ) ) { + return; + } + + // Don't cancel actions that are already canceled. + if ( isset( $query_args['status'] ) && self::STATUS_CANCELED === $query_args['status'] ) { + return; + } + + $action_ids = true; + $query_args = wp_parse_args( + $query_args, + array( + 'per_page' => 1000, + 'status' => self::STATUS_PENDING, + 'orderby' => 'action_id', + ) + ); + + while ( $action_ids ) { + $action_ids = $this->query_actions( $query_args ); + if ( empty( $action_ids ) ) { + break; + } + + $format = array_fill( 0, count( $action_ids ), '%d' ); + $query_in = '(' . implode( ',', $format ) . ')'; + $parameters = $action_ids; + array_unshift( $parameters, self::STATUS_CANCELED ); + + $wpdb->query( + $wpdb->prepare( + "UPDATE {$wpdb->actionscheduler_actions} SET status = %s WHERE action_id IN {$query_in}", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared + $parameters + ) + ); + + do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); + } + } + + /** + * Delete an action. + * + * @param int $action_id Action ID. + * @throws \InvalidArgumentException If the action deletion failed. + */ + public function delete_action( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $deleted = $wpdb->delete( $wpdb->actionscheduler_actions, array( 'action_id' => $action_id ), array( '%d' ) ); + if ( empty( $deleted ) ) { + throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment + } + do_action( 'action_scheduler_deleted_action', $action_id ); + } + + /** + * Get the schedule date for an action. + * + * @param string $action_id Action ID. + * + * @return \DateTime The local date the action is scheduled to run, or the date that it ran. + */ + public function get_date( $action_id ) { + $date = $this->get_date_gmt( $action_id ); + ActionScheduler_TimezoneHelper::set_local_timezone( $date ); + return $date; + } + + /** + * Get the GMT schedule date for an action. + * + * @param int $action_id Action ID. + * + * @throws \InvalidArgumentException If action cannot be identified. + * @return \DateTime The GMT date the action is scheduled to run, or the date that it ran. + */ + protected function get_date_gmt( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $record = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->actionscheduler_actions} WHERE action_id=%d", $action_id ) ); + if ( empty( $record ) ) { + throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment + } + if ( self::STATUS_PENDING === $record->status ) { + return as_get_datetime_object( $record->scheduled_date_gmt ); + } else { + return as_get_datetime_object( $record->last_attempt_gmt ); + } + } + + /** + * Stake a claim on actions. + * + * @param int $max_actions Maximum number of action to include in claim. + * @param \DateTime $before_date Jobs must be schedule before this date. Defaults to now. + * @param array $hooks Hooks to filter for. + * @param string $group Group to filter for. + * + * @return ActionScheduler_ActionClaim + */ + public function stake_claim( $max_actions = 10, \DateTime $before_date = null, $hooks = array(), $group = '' ) { + $claim_id = $this->generate_claim_id(); + + $this->claim_before_date = $before_date; + $this->claim_actions( $claim_id, $max_actions, $before_date, $hooks, $group ); + $action_ids = $this->find_actions_by_claim_id( $claim_id ); + $this->claim_before_date = null; + + return new ActionScheduler_ActionClaim( $claim_id, $action_ids ); + } + + /** + * Generate a new action claim. + * + * @return int Claim ID. + */ + protected function generate_claim_id() { + /** @var \wpdb $wpdb */ + global $wpdb; + $now = as_get_datetime_object(); + $wpdb->insert( $wpdb->actionscheduler_claims, array( 'date_created_gmt' => $now->format( 'Y-m-d H:i:s' ) ) ); + + return $wpdb->insert_id; + } + + /** + * Mark actions claimed. + * + * @param string $claim_id Claim Id. + * @param int $limit Number of action to include in claim. + * @param \DateTime $before_date Should use UTC timezone. + * @param array $hooks Hooks to filter for. + * @param string $group Group to filter for. + * + * @return int The number of actions that were claimed. + * @throws \InvalidArgumentException Throws InvalidArgumentException if group doesn't exist. + * @throws \RuntimeException Throws RuntimeException if unable to claim action. + */ + protected function claim_actions( $claim_id, $limit, \DateTime $before_date = null, $hooks = array(), $group = '' ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + $now = as_get_datetime_object(); + $date = is_null( $before_date ) ? $now : clone $before_date; + + // can't use $wpdb->update() because of the <= condition. + $update = "UPDATE {$wpdb->actionscheduler_actions} SET claim_id=%d, last_attempt_gmt=%s, last_attempt_local=%s"; + $params = array( + $claim_id, + $now->format( 'Y-m-d H:i:s' ), + current_time( 'mysql' ), + ); + + $where = 'WHERE claim_id = 0 AND scheduled_date_gmt <= %s AND status=%s'; + $params[] = $date->format( 'Y-m-d H:i:s' ); + $params[] = self::STATUS_PENDING; + + if ( ! empty( $hooks ) ) { + $placeholders = array_fill( 0, count( $hooks ), '%s' ); + $where .= ' AND hook IN (' . join( ', ', $placeholders ) . ')'; + $params = array_merge( $params, array_values( $hooks ) ); + } + + if ( ! empty( $group ) ) { + + $group_id = $this->get_group_id( $group, false ); + + // throw exception if no matching group found, this matches ActionScheduler_wpPostStore's behaviour. + if ( empty( $group_id ) ) { + /* translators: %s: group name */ + throw new InvalidArgumentException( sprintf( __( 'The group "%s" does not exist.', 'action-scheduler' ), $group ) ); + } + + $where .= ' AND group_id = %d'; + $params[] = $group_id; + } + + /** + * Sets the order-by clause used in the action claim query. + * + * @since 3.4.0 + * + * @param string $order_by_sql + */ + $order = apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY attempts ASC, scheduled_date_gmt ASC, action_id ASC' ); + $params[] = $limit; + + $sql = $wpdb->prepare( "{$update} {$where} {$order} LIMIT %d", $params ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders + $rows_affected = $wpdb->query( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + if ( false === $rows_affected ) { + throw new \RuntimeException( __( 'Unable to claim actions. Database error.', 'action-scheduler' ) ); + } + + return (int) $rows_affected; + } + + /** + * Get the number of active claims. + * + * @return int + */ + public function get_claim_count() { + global $wpdb; + + $sql = "SELECT COUNT(DISTINCT claim_id) FROM {$wpdb->actionscheduler_actions} WHERE claim_id != 0 AND status IN ( %s, %s)"; + $sql = $wpdb->prepare( $sql, array( self::STATUS_PENDING, self::STATUS_RUNNING ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + + return (int) $wpdb->get_var( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + /** + * Return an action's claim ID, as stored in the claim_id column. + * + * @param string $action_id Action ID. + * @return mixed + */ + public function get_claim_id( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + $sql = "SELECT claim_id FROM {$wpdb->actionscheduler_actions} WHERE action_id=%d"; + $sql = $wpdb->prepare( $sql, $action_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + + return (int) $wpdb->get_var( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + /** + * Retrieve the action IDs of action in a claim. + * + * @param int $claim_id Claim ID. + * @return int[] + */ + public function find_actions_by_claim_id( $claim_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + $action_ids = array(); + $before_date = isset( $this->claim_before_date ) ? $this->claim_before_date : as_get_datetime_object(); + $cut_off = $before_date->format( 'Y-m-d H:i:s' ); + + $sql = $wpdb->prepare( + "SELECT action_id, scheduled_date_gmt FROM {$wpdb->actionscheduler_actions} WHERE claim_id = %d", + $claim_id + ); + + // Verify that the scheduled date for each action is within the expected bounds (in some unusual + // cases, we cannot depend on MySQL to honor all of the WHERE conditions we specify). + foreach ( $wpdb->get_results( $sql ) as $claimed_action ) { // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + if ( $claimed_action->scheduled_date_gmt <= $cut_off ) { + $action_ids[] = absint( $claimed_action->action_id ); + } + } + + return $action_ids; + } + + /** + * Release actions from a claim and delete the claim. + * + * @param ActionScheduler_ActionClaim $claim Claim object. + */ + public function release_claim( ActionScheduler_ActionClaim $claim ) { + /** @var \wpdb $wpdb */ + global $wpdb; + /** + * Deadlock warning: This function modifies actions to release them from claims that have been processed. Earlier, we used to it in a atomic query, i.e. we would update all actions belonging to a particular claim_id with claim_id = 0. + * While this was functionally correct, it would cause deadlock, since this update query will hold a lock on the claim_id_.. index on the action table. + * This allowed the possibility of a race condition, where the claimer query is also running at the same time, then the claimer query will also try to acquire a lock on the claim_id_.. index, and in this case if claim release query has already progressed to the point of acquiring the lock, but have not updated yet, it would cause a deadlock. + * + * We resolve this by getting all the actions_id that we want to release claim from in a separate query, and then releasing the claim on each of them. This way, our lock is acquired on the action_id index instead of the claim_id index. Note that the lock on claim_id will still be acquired, but it will only when we actually make the update, rather than when we select the actions. + */ + $action_ids = $wpdb->get_col( $wpdb->prepare( "SELECT action_id FROM {$wpdb->actionscheduler_actions} WHERE claim_id = %d", $claim->get_id() ) ); + + $row_updates = 0; + if ( count( $action_ids ) > 0 ) { + $action_id_string = implode( ',', array_map( 'absint', $action_ids ) ); + $row_updates = $wpdb->query( "UPDATE {$wpdb->actionscheduler_actions} SET claim_id = 0 WHERE action_id IN ({$action_id_string})" ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + $wpdb->delete( $wpdb->actionscheduler_claims, array( 'claim_id' => $claim->get_id() ), array( '%d' ) ); + + if ( $row_updates < count( $action_ids ) ) { + throw new RuntimeException( + sprintf( + __( 'Unable to release actions from claim id %d.', 'woocommerce' ), + $claim->get_id() + ) + ); + } + } + + /** + * Remove the claim from an action. + * + * @param int $action_id Action ID. + * + * @return void + */ + public function unclaim_action( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $wpdb->update( + $wpdb->actionscheduler_actions, + array( 'claim_id' => 0 ), + array( 'action_id' => $action_id ), + array( '%s' ), + array( '%d' ) + ); + } + + /** + * Mark an action as failed. + * + * @param int $action_id Action ID. + * @throws \InvalidArgumentException Throw an exception if action was not updated. + */ + public function mark_failure( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $updated = $wpdb->update( + $wpdb->actionscheduler_actions, + array( 'status' => self::STATUS_FAILED ), + array( 'action_id' => $action_id ), + array( '%s' ), + array( '%d' ) + ); + if ( empty( $updated ) ) { + throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment + } + } + + /** + * Add execution message to action log. + * + * @param int $action_id Action ID. + * + * @return void + */ + public function log_execution( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + + $sql = "UPDATE {$wpdb->actionscheduler_actions} SET attempts = attempts+1, status=%s, last_attempt_gmt = %s, last_attempt_local = %s WHERE action_id = %d"; + $sql = $wpdb->prepare( $sql, self::STATUS_RUNNING, current_time( 'mysql', true ), current_time( 'mysql' ), $action_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + $wpdb->query( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + /** + * Mark an action as complete. + * + * @param int $action_id Action ID. + * + * @return void + * @throws \InvalidArgumentException Throw an exception if action was not updated. + */ + public function mark_complete( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $updated = $wpdb->update( + $wpdb->actionscheduler_actions, + array( + 'status' => self::STATUS_COMPLETE, + 'last_attempt_gmt' => current_time( 'mysql', true ), + 'last_attempt_local' => current_time( 'mysql' ), + ), + array( 'action_id' => $action_id ), + array( '%s' ), + array( '%d' ) + ); + if ( empty( $updated ) ) { + throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment + } + + /** + * Fires after a scheduled action has been completed. + * + * @since 3.4.2 + * + * @param int $action_id Action ID. + */ + do_action( 'action_scheduler_completed_action', $action_id ); + } + + /** + * Get an action's status. + * + * @param int $action_id Action ID. + * + * @return string + * @throws \InvalidArgumentException Throw an exception if not status was found for action_id. + * @throws \RuntimeException Throw an exception if action status could not be retrieved. + */ + public function get_status( $action_id ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $sql = "SELECT status FROM {$wpdb->actionscheduler_actions} WHERE action_id=%d"; + $sql = $wpdb->prepare( $sql, $action_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + $status = $wpdb->get_var( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + + if ( null === $status ) { + throw new \InvalidArgumentException( __( 'Invalid action ID. No status found.', 'action-scheduler' ) ); + } elseif ( empty( $status ) ) { + throw new \RuntimeException( __( 'Unknown status found for action.', 'action-scheduler' ) ); + } else { + return $status; + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_HybridStore.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_HybridStore.php new file mode 100644 index 0000000..22d61a6 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_HybridStore.php @@ -0,0 +1,426 @@ +demarkation_id = (int) get_option( self::DEMARKATION_OPTION, 0 ); + if ( empty( $config ) ) { + $config = Controller::instance()->get_migration_config_object(); + } + $this->primary_store = $config->get_destination_store(); + $this->secondary_store = $config->get_source_store(); + $this->migration_runner = new Runner( $config ); + } + + /** + * Initialize the table data store tables. + * + * @codeCoverageIgnore + */ + public function init() { + add_action( 'action_scheduler/created_table', [ $this, 'set_autoincrement' ], 10, 2 ); + $this->primary_store->init(); + $this->secondary_store->init(); + remove_action( 'action_scheduler/created_table', [ $this, 'set_autoincrement' ], 10 ); + } + + /** + * When the actions table is created, set its autoincrement + * value to be one higher than the posts table to ensure that + * there are no ID collisions. + * + * @param string $table_name + * @param string $table_suffix + * + * @return void + * @codeCoverageIgnore + */ + public function set_autoincrement( $table_name, $table_suffix ) { + if ( ActionScheduler_StoreSchema::ACTIONS_TABLE === $table_suffix ) { + if ( empty( $this->demarkation_id ) ) { + $this->demarkation_id = $this->set_demarkation_id(); + } + /** @var \wpdb $wpdb */ + global $wpdb; + /** + * A default date of '0000-00-00 00:00:00' is invalid in MySQL 5.7 when configured with + * sql_mode including both STRICT_TRANS_TABLES and NO_ZERO_DATE. + */ + $default_date = new DateTime( 'tomorrow' ); + $null_action = new ActionScheduler_NullAction(); + $date_gmt = $this->get_scheduled_date_string( $null_action, $default_date ); + $date_local = $this->get_scheduled_date_string_local( $null_action, $default_date ); + + $row_count = $wpdb->insert( + $wpdb->{ActionScheduler_StoreSchema::ACTIONS_TABLE}, + [ + 'action_id' => $this->demarkation_id, + 'hook' => '', + 'status' => '', + 'scheduled_date_gmt' => $date_gmt, + 'scheduled_date_local' => $date_local, + 'last_attempt_gmt' => $date_gmt, + 'last_attempt_local' => $date_local, + ] + ); + if ( $row_count > 0 ) { + $wpdb->delete( + $wpdb->{ActionScheduler_StoreSchema::ACTIONS_TABLE}, + [ 'action_id' => $this->demarkation_id ] + ); + } + } + } + + /** + * Store the demarkation id in WP options. + * + * @param int $id The ID to set as the demarkation point between the two stores + * Leave null to use the next ID from the WP posts table. + * + * @return int The new ID. + * + * @codeCoverageIgnore + */ + private function set_demarkation_id( $id = null ) { + if ( empty( $id ) ) { + /** @var \wpdb $wpdb */ + global $wpdb; + $id = (int) $wpdb->get_var( "SELECT MAX(ID) FROM $wpdb->posts" ); + $id ++; + } + update_option( self::DEMARKATION_OPTION, $id ); + + return $id; + } + + /** + * Find the first matching action from the secondary store. + * If it exists, migrate it to the primary store immediately. + * After it migrates, the secondary store will logically contain + * the next matching action, so return the result thence. + * + * @param string $hook + * @param array $params + * + * @return string + */ + public function find_action( $hook, $params = [] ) { + $found_unmigrated_action = $this->secondary_store->find_action( $hook, $params ); + if ( ! empty( $found_unmigrated_action ) ) { + $this->migrate( [ $found_unmigrated_action ] ); + } + + return $this->primary_store->find_action( $hook, $params ); + } + + /** + * Find actions matching the query in the secondary source first. + * If any are found, migrate them immediately. Then the secondary + * store will contain the canonical results. + * + * @param array $query + * @param string $query_type Whether to select or count the results. Default, select. + * + * @return int[] + */ + public function query_actions( $query = [], $query_type = 'select' ) { + $found_unmigrated_actions = $this->secondary_store->query_actions( $query, 'select' ); + if ( ! empty( $found_unmigrated_actions ) ) { + $this->migrate( $found_unmigrated_actions ); + } + + return $this->primary_store->query_actions( $query, $query_type ); + } + + /** + * Get a count of all actions in the store, grouped by status + * + * @return array Set of 'status' => int $count pairs for statuses with 1 or more actions of that status. + */ + public function action_counts() { + $unmigrated_actions_count = $this->secondary_store->action_counts(); + $migrated_actions_count = $this->primary_store->action_counts(); + $actions_count_by_status = array(); + + foreach ( $this->get_status_labels() as $status_key => $status_label ) { + + $count = 0; + + if ( isset( $unmigrated_actions_count[ $status_key ] ) ) { + $count += $unmigrated_actions_count[ $status_key ]; + } + + if ( isset( $migrated_actions_count[ $status_key ] ) ) { + $count += $migrated_actions_count[ $status_key ]; + } + + $actions_count_by_status[ $status_key ] = $count; + } + + $actions_count_by_status = array_filter( $actions_count_by_status ); + + return $actions_count_by_status; + } + + /** + * If any actions would have been claimed by the secondary store, + * migrate them immediately, then ask the primary store for the + * canonical claim. + * + * @param int $max_actions + * @param DateTime|null $before_date + * + * @return ActionScheduler_ActionClaim + */ + public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' ) { + $claim = $this->secondary_store->stake_claim( $max_actions, $before_date, $hooks, $group ); + + $claimed_actions = $claim->get_actions(); + if ( ! empty( $claimed_actions ) ) { + $this->migrate( $claimed_actions ); + } + + $this->secondary_store->release_claim( $claim ); + + return $this->primary_store->stake_claim( $max_actions, $before_date, $hooks, $group ); + } + + /** + * Migrate a list of actions to the table data store. + * + * @param array $action_ids List of action IDs. + */ + private function migrate( $action_ids ) { + $this->migration_runner->migrate_actions( $action_ids ); + } + + /** + * Save an action to the primary store. + * + * @param ActionScheduler_Action $action Action object to be saved. + * @param DateTime $date Optional. Schedule date. Default null. + * + * @return int The action ID + */ + public function save_action( ActionScheduler_Action $action, DateTime $date = null ) { + return $this->primary_store->save_action( $action, $date ); + } + + /** + * Retrieve an existing action whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function fetch_action( $action_id ) { + $store = $this->get_store_from_action_id( $action_id, true ); + if ( $store ) { + return $store->fetch_action( $action_id ); + } else { + return new ActionScheduler_NullAction(); + } + } + + /** + * Cancel an existing action whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function cancel_action( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + $store->cancel_action( $action_id ); + } + } + + /** + * Delete an existing action whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function delete_action( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + $store->delete_action( $action_id ); + } + } + + /** + * Get the schedule date an existing action whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function get_date( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + return $store->get_date( $action_id ); + } else { + return null; + } + } + + /** + * Mark an existing action as failed whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function mark_failure( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + $store->mark_failure( $action_id ); + } + } + + /** + * Log the execution of an existing action whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function log_execution( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + $store->log_execution( $action_id ); + } + } + + /** + * Mark an existing action complete whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function mark_complete( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + $store->mark_complete( $action_id ); + } + } + + /** + * Get an existing action status whether migrated or not. + * + * @param int $action_id Action ID. + */ + public function get_status( $action_id ) { + $store = $this->get_store_from_action_id( $action_id ); + if ( $store ) { + return $store->get_status( $action_id ); + } + return null; + } + + /** + * Return which store an action is stored in. + * + * @param int $action_id ID of the action. + * @param bool $primary_first Optional flag indicating search the primary store first. + * @return ActionScheduler_Store + */ + protected function get_store_from_action_id( $action_id, $primary_first = false ) { + if ( $primary_first ) { + $stores = [ + $this->primary_store, + $this->secondary_store, + ]; + } elseif ( $action_id < $this->demarkation_id ) { + $stores = [ + $this->secondary_store, + $this->primary_store, + ]; + } else { + $stores = [ + $this->primary_store, + ]; + } + + foreach ( $stores as $store ) { + $action = $store->fetch_action( $action_id ); + if ( ! is_a( $action, 'ActionScheduler_NullAction' ) ) { + return $store; + } + } + return null; + } + + /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * All claim-related functions should operate solely + * on the primary store. + * * * * * * * * * * * * * * * * * * * * * * * * * * */ + + /** + * Get the claim count from the table data store. + */ + public function get_claim_count() { + return $this->primary_store->get_claim_count(); + } + + /** + * Retrieve the claim ID for an action from the table data store. + * + * @param int $action_id Action ID. + */ + public function get_claim_id( $action_id ) { + return $this->primary_store->get_claim_id( $action_id ); + } + + /** + * Release a claim in the table data store. + * + * @param ActionScheduler_ActionClaim $claim Claim object. + */ + public function release_claim( ActionScheduler_ActionClaim $claim ) { + $this->primary_store->release_claim( $claim ); + } + + /** + * Release claims on an action in the table data store. + * + * @param int $action_id Action ID. + */ + public function unclaim_action( $action_id ) { + $this->primary_store->unclaim_action( $action_id ); + } + + /** + * Retrieve a list of action IDs by claim. + * + * @param int $claim_id Claim ID. + */ + public function find_actions_by_claim_id( $claim_id ) { + return $this->primary_store->find_actions_by_claim_id( $claim_id ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php new file mode 100644 index 0000000..7215ddd --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php @@ -0,0 +1,240 @@ +create_wp_comment( $action_id, $message, $date ); + return $comment_id; + } + + protected function create_wp_comment( $action_id, $message, DateTime $date ) { + + $comment_date_gmt = $date->format('Y-m-d H:i:s'); + ActionScheduler_TimezoneHelper::set_local_timezone( $date ); + $comment_data = array( + 'comment_post_ID' => $action_id, + 'comment_date' => $date->format('Y-m-d H:i:s'), + 'comment_date_gmt' => $comment_date_gmt, + 'comment_author' => self::AGENT, + 'comment_content' => $message, + 'comment_agent' => self::AGENT, + 'comment_type' => self::TYPE, + ); + return wp_insert_comment($comment_data); + } + + /** + * @param string $entry_id + * + * @return ActionScheduler_LogEntry + */ + public function get_entry( $entry_id ) { + $comment = $this->get_comment( $entry_id ); + if ( empty($comment) || $comment->comment_type != self::TYPE ) { + return new ActionScheduler_NullLogEntry(); + } + + $date = as_get_datetime_object( $comment->comment_date_gmt ); + ActionScheduler_TimezoneHelper::set_local_timezone( $date ); + return new ActionScheduler_LogEntry( $comment->comment_post_ID, $comment->comment_content, $date ); + } + + /** + * @param string $action_id + * + * @return ActionScheduler_LogEntry[] + */ + public function get_logs( $action_id ) { + $status = 'all'; + if ( get_post_status($action_id) == 'trash' ) { + $status = 'post-trashed'; + } + $comments = get_comments(array( + 'post_id' => $action_id, + 'orderby' => 'comment_date_gmt', + 'order' => 'ASC', + 'type' => self::TYPE, + 'status' => $status, + )); + $logs = array(); + foreach ( $comments as $c ) { + $entry = $this->get_entry( $c ); + if ( !empty($entry) ) { + $logs[] = $entry; + } + } + return $logs; + } + + protected function get_comment( $comment_id ) { + return get_comment( $comment_id ); + } + + + + /** + * @param WP_Comment_Query $query + */ + public function filter_comment_queries( $query ) { + foreach ( array('ID', 'parent', 'post_author', 'post_name', 'post_parent', 'type', 'post_type', 'post_id', 'post_ID') as $key ) { + if ( !empty($query->query_vars[$key]) ) { + return; // don't slow down queries that wouldn't include action_log comments anyway + } + } + $query->query_vars['action_log_filter'] = TRUE; + add_filter( 'comments_clauses', array( $this, 'filter_comment_query_clauses' ), 10, 2 ); + } + + /** + * @param array $clauses + * @param WP_Comment_Query $query + * + * @return array + */ + public function filter_comment_query_clauses( $clauses, $query ) { + if ( !empty($query->query_vars['action_log_filter']) ) { + $clauses['where'] .= $this->get_where_clause(); + } + return $clauses; + } + + /** + * Make sure Action Scheduler logs are excluded from comment feeds, which use WP_Query, not + * the WP_Comment_Query class handled by @see self::filter_comment_queries(). + * + * @param string $where + * @param WP_Query $query + * + * @return string + */ + public function filter_comment_feed( $where, $query ) { + if ( is_comment_feed() ) { + $where .= $this->get_where_clause(); + } + return $where; + } + + /** + * Return a SQL clause to exclude Action Scheduler comments. + * + * @return string + */ + protected function get_where_clause() { + global $wpdb; + return sprintf( " AND {$wpdb->comments}.comment_type != '%s'", self::TYPE ); + } + + /** + * Remove action log entries from wp_count_comments() + * + * @param array $stats + * @param int $post_id + * + * @return object + */ + public function filter_comment_count( $stats, $post_id ) { + global $wpdb; + + if ( 0 === $post_id ) { + $stats = $this->get_comment_count(); + } + + return $stats; + } + + /** + * Retrieve the comment counts from our cache, or the database if the cached version isn't set. + * + * @return object + */ + protected function get_comment_count() { + global $wpdb; + + $stats = get_transient( 'as_comment_count' ); + + if ( ! $stats ) { + $stats = array(); + + $count = $wpdb->get_results( "SELECT comment_approved, COUNT( * ) AS num_comments FROM {$wpdb->comments} WHERE comment_type NOT IN('order_note','action_log') GROUP BY comment_approved", ARRAY_A ); + + $total = 0; + $stats = array(); + $approved = array( '0' => 'moderated', '1' => 'approved', 'spam' => 'spam', 'trash' => 'trash', 'post-trashed' => 'post-trashed' ); + + foreach ( (array) $count as $row ) { + // Don't count post-trashed toward totals + if ( 'post-trashed' != $row['comment_approved'] && 'trash' != $row['comment_approved'] ) { + $total += $row['num_comments']; + } + if ( isset( $approved[ $row['comment_approved'] ] ) ) { + $stats[ $approved[ $row['comment_approved'] ] ] = $row['num_comments']; + } + } + + $stats['total_comments'] = $total; + $stats['all'] = $total; + + foreach ( $approved as $key ) { + if ( empty( $stats[ $key ] ) ) { + $stats[ $key ] = 0; + } + } + + $stats = (object) $stats; + set_transient( 'as_comment_count', $stats ); + } + + return $stats; + } + + /** + * Delete comment count cache whenever there is new comment or the status of a comment changes. Cache + * will be regenerated next time ActionScheduler_wpCommentLogger::filter_comment_count() is called. + */ + public function delete_comment_count_cache() { + delete_transient( 'as_comment_count' ); + } + + /** + * @codeCoverageIgnore + */ + public function init() { + add_action( 'action_scheduler_before_process_queue', array( $this, 'disable_comment_counting' ), 10, 0 ); + add_action( 'action_scheduler_after_process_queue', array( $this, 'enable_comment_counting' ), 10, 0 ); + + parent::init(); + + add_action( 'pre_get_comments', array( $this, 'filter_comment_queries' ), 10, 1 ); + add_action( 'wp_count_comments', array( $this, 'filter_comment_count' ), 20, 2 ); // run after WC_Comments::wp_count_comments() to make sure we exclude order notes and action logs + add_action( 'comment_feed_where', array( $this, 'filter_comment_feed' ), 10, 2 ); + + // Delete comments count cache whenever there is a new comment or a comment status changes + add_action( 'wp_insert_comment', array( $this, 'delete_comment_count_cache' ) ); + add_action( 'wp_set_comment_status', array( $this, 'delete_comment_count_cache' ) ); + } + + public function disable_comment_counting() { + wp_defer_comment_counting(true); + } + public function enable_comment_counting() { + wp_defer_comment_counting(false); + } + +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore.php new file mode 100644 index 0000000..7883ca8 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore.php @@ -0,0 +1,1075 @@ +validate_action( $action ); + $post_array = $this->create_post_array( $action, $scheduled_date ); + $post_id = $this->save_post_array( $post_array ); + $this->save_post_schedule( $post_id, $action->get_schedule() ); + $this->save_action_group( $post_id, $action->get_group() ); + do_action( 'action_scheduler_stored_action', $post_id ); + return $post_id; + } catch ( Exception $e ) { + /* translators: %s: action error message */ + throw new RuntimeException( sprintf( __( 'Error saving action: %s', 'action-scheduler' ), $e->getMessage() ), 0 ); + } + } + + /** + * Create post array. + * + * @param ActionScheduler_Action $action Scheduled Action. + * @param DateTime $scheduled_date Scheduled Date. + * + * @return array Returns an array of post data. + */ + protected function create_post_array( ActionScheduler_Action $action, DateTime $scheduled_date = null ) { + $post = array( + 'post_type' => self::POST_TYPE, + 'post_title' => $action->get_hook(), + 'post_content' => wp_json_encode( $action->get_args() ), + 'post_status' => ( $action->is_finished() ? 'publish' : 'pending' ), + 'post_date_gmt' => $this->get_scheduled_date_string( $action, $scheduled_date ), + 'post_date' => $this->get_scheduled_date_string_local( $action, $scheduled_date ), + ); + return $post; + } + + /** + * Save post array. + * + * @param array $post_array Post array. + * @return int Returns the post ID. + * @throws RuntimeException Throws an exception if the action could not be saved. + */ + protected function save_post_array( $post_array ) { + add_filter( 'wp_insert_post_data', array( $this, 'filter_insert_post_data' ), 10, 1 ); + add_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10, 5 ); + + $has_kses = false !== has_filter( 'content_save_pre', 'wp_filter_post_kses' ); + + if ( $has_kses ) { + // Prevent KSES from corrupting JSON in post_content. + kses_remove_filters(); + } + + $post_id = wp_insert_post( $post_array ); + + if ( $has_kses ) { + kses_init_filters(); + } + + remove_filter( 'wp_insert_post_data', array( $this, 'filter_insert_post_data' ), 10 ); + remove_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10 ); + + if ( is_wp_error( $post_id ) || empty( $post_id ) ) { + throw new RuntimeException( __( 'Unable to save action.', 'action-scheduler' ) ); + } + return $post_id; + } + + /** + * Filter insert post data. + * + * @param array $postdata Post data to filter. + * + * @return array + */ + public function filter_insert_post_data( $postdata ) { + if ( self::POST_TYPE === $postdata['post_type'] ) { + $postdata['post_author'] = 0; + if ( 'future' === $postdata['post_status'] ) { + $postdata['post_status'] = 'publish'; + } + } + return $postdata; + } + + /** + * Create a (probably unique) post name for scheduled actions in a more performant manner than wp_unique_post_slug(). + * + * When an action's post status is transitioned to something other than 'draft', 'pending' or 'auto-draft, like 'publish' + * or 'failed' or 'trash', WordPress will find a unique slug (stored in post_name column) using the wp_unique_post_slug() + * function. This is done to ensure URL uniqueness. The approach taken by wp_unique_post_slug() is to iterate over existing + * post_name values that match, and append a number 1 greater than the largest. This makes sense when manually creating a + * post from the Edit Post screen. It becomes a bottleneck when automatically processing thousands of actions, with a + * database containing thousands of related post_name values. + * + * WordPress 5.1 introduces the 'pre_wp_unique_post_slug' filter for plugins to address this issue. + * + * We can short-circuit WordPress's wp_unique_post_slug() approach using the 'pre_wp_unique_post_slug' filter. This + * method is available to be used as a callback on that filter. It provides a more scalable approach to generating a + * post_name/slug that is probably unique. Because Action Scheduler never actually uses the post_name field, or an + * action's slug, being probably unique is good enough. + * + * For more backstory on this issue, see: + * - https://github.com/woocommerce/action-scheduler/issues/44 and + * - https://core.trac.wordpress.org/ticket/21112 + * + * @param string $override_slug Short-circuit return value. + * @param string $slug The desired slug (post_name). + * @param int $post_ID Post ID. + * @param string $post_status The post status. + * @param string $post_type Post type. + * @return string + */ + public function set_unique_post_slug( $override_slug, $slug, $post_ID, $post_status, $post_type ) { + if ( self::POST_TYPE === $post_type ) { + $override_slug = uniqid( self::POST_TYPE . '-', true ) . '-' . wp_generate_password( 32, false ); + } + return $override_slug; + } + + /** + * Save post schedule. + * + * @param int $post_id Post ID of the scheduled action. + * @param string $schedule Schedule to save. + * + * @return void + */ + protected function save_post_schedule( $post_id, $schedule ) { + update_post_meta( $post_id, self::SCHEDULE_META_KEY, $schedule ); + } + + /** + * Save action group. + * + * @param int $post_id Post ID. + * @param string $group Group to save. + * @return void + */ + protected function save_action_group( $post_id, $group ) { + if ( empty( $group ) ) { + wp_set_object_terms( $post_id, array(), self::GROUP_TAXONOMY, false ); + } else { + wp_set_object_terms( $post_id, array( $group ), self::GROUP_TAXONOMY, false ); + } + } + + /** + * Fetch actions. + * + * @param int $action_id Action ID. + * @return object + */ + public function fetch_action( $action_id ) { + $post = $this->get_post( $action_id ); + if ( empty( $post ) || self::POST_TYPE !== $post->post_type ) { + return $this->get_null_action(); + } + + try { + $action = $this->make_action_from_post( $post ); + } catch ( ActionScheduler_InvalidActionException $exception ) { + do_action( 'action_scheduler_failed_fetch_action', $post->ID, $exception ); + return $this->get_null_action(); + } + + return $action; + } + + /** + * Get post. + * + * @param string $action_id - Action ID. + * @return WP_Post|null + */ + protected function get_post( $action_id ) { + if ( empty( $action_id ) ) { + return null; + } + return get_post( $action_id ); + } + + /** + * Get NULL action. + * + * @return ActionScheduler_NullAction + */ + protected function get_null_action() { + return new ActionScheduler_NullAction(); + } + + /** + * Make action from post. + * + * @param WP_Post $post Post object. + * @return WP_Post + */ + protected function make_action_from_post( $post ) { + $hook = $post->post_title; + + $args = json_decode( $post->post_content, true ); + $this->validate_args( $args, $post->ID ); + + $schedule = get_post_meta( $post->ID, self::SCHEDULE_META_KEY, true ); + $this->validate_schedule( $schedule, $post->ID ); + + $group = wp_get_object_terms( $post->ID, self::GROUP_TAXONOMY, array( 'fields' => 'names' ) ); + $group = empty( $group ) ? '' : reset( $group ); + + return ActionScheduler::factory()->get_stored_action( $this->get_action_status_by_post_status( $post->post_status ), $hook, $args, $schedule, $group ); + } + + /** + * Get action status by post status. + * + * @param string $post_status Post status. + * + * @throws InvalidArgumentException Throw InvalidArgumentException if $post_status not in known status fields returned by $this->get_status_labels(). + * @return string + */ + protected function get_action_status_by_post_status( $post_status ) { + + switch ( $post_status ) { + case 'publish': + $action_status = self::STATUS_COMPLETE; + break; + case 'trash': + $action_status = self::STATUS_CANCELED; + break; + default: + if ( ! array_key_exists( $post_status, $this->get_status_labels() ) ) { + throw new InvalidArgumentException( sprintf( 'Invalid post status: "%s". No matching action status available.', $post_status ) ); + } + $action_status = $post_status; + break; + } + + return $action_status; + } + + /** + * Get post status by action status. + * + * @param string $action_status Action status. + * + * @throws InvalidArgumentException Throws InvalidArgumentException if $post_status not in known status fields returned by $this->get_status_labels(). + * @return string + */ + protected function get_post_status_by_action_status( $action_status ) { + + switch ( $action_status ) { + case self::STATUS_COMPLETE: + $post_status = 'publish'; + break; + case self::STATUS_CANCELED: + $post_status = 'trash'; + break; + default: + if ( ! array_key_exists( $action_status, $this->get_status_labels() ) ) { + throw new InvalidArgumentException( sprintf( 'Invalid action status: "%s".', $action_status ) ); + } + $post_status = $action_status; + break; + } + + return $post_status; + } + + /** + * Returns the SQL statement to query (or count) actions. + * + * @param array $query - Filtering options. + * @param string $select_or_count - Whether the SQL should select and return the IDs or just the row count. + * + * @throws InvalidArgumentException - Throw InvalidArgumentException if $select_or_count not count or select. + * @return string SQL statement. The returned SQL is already properly escaped. + */ + protected function get_query_actions_sql( array $query, $select_or_count = 'select' ) { + + if ( ! in_array( $select_or_count, array( 'select', 'count' ), true ) ) { + throw new InvalidArgumentException( __( 'Invalid schedule. Cannot save action.', 'action-scheduler' ) ); + } + + $query = wp_parse_args( + $query, + array( + 'hook' => '', + 'args' => null, + 'date' => null, + 'date_compare' => '<=', + 'modified' => null, + 'modified_compare' => '<=', + 'group' => '', + 'status' => '', + 'claimed' => null, + 'per_page' => 5, + 'offset' => 0, + 'orderby' => 'date', + 'order' => 'ASC', + 'search' => '', + ) + ); + + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + $sql = ( 'count' === $select_or_count ) ? 'SELECT count(p.ID)' : 'SELECT p.ID '; + $sql .= "FROM {$wpdb->posts} p"; + $sql_params = array(); + if ( empty( $query['group'] ) && 'group' === $query['orderby'] ) { + $sql .= " LEFT JOIN {$wpdb->term_relationships} tr ON tr.object_id=p.ID"; + $sql .= " LEFT JOIN {$wpdb->term_taxonomy} tt ON tr.term_taxonomy_id=tt.term_taxonomy_id"; + $sql .= " LEFT JOIN {$wpdb->terms} t ON tt.term_id=t.term_id"; + } elseif ( ! empty( $query['group'] ) ) { + $sql .= " INNER JOIN {$wpdb->term_relationships} tr ON tr.object_id=p.ID"; + $sql .= " INNER JOIN {$wpdb->term_taxonomy} tt ON tr.term_taxonomy_id=tt.term_taxonomy_id"; + $sql .= " INNER JOIN {$wpdb->terms} t ON tt.term_id=t.term_id"; + $sql .= ' AND t.slug=%s'; + $sql_params[] = $query['group']; + } + $sql .= ' WHERE post_type=%s'; + $sql_params[] = self::POST_TYPE; + if ( $query['hook'] ) { + $sql .= ' AND p.post_title=%s'; + $sql_params[] = $query['hook']; + } + if ( ! is_null( $query['args'] ) ) { + $sql .= ' AND p.post_content=%s'; + $sql_params[] = wp_json_encode( $query['args'] ); + } + + if ( $query['status'] ) { + $post_statuses = array_map( array( $this, 'get_post_status_by_action_status' ), (array) $query['status'] ); + $placeholders = array_fill( 0, count( $post_statuses ), '%s' ); + $sql .= ' AND p.post_status IN (' . join( ', ', $placeholders ) . ')'; + $sql_params = array_merge( $sql_params, array_values( $post_statuses ) ); + } + + if ( $query['date'] instanceof DateTime ) { + $date = clone $query['date']; + $date->setTimezone( new DateTimeZone( 'UTC' ) ); + $date_string = $date->format( 'Y-m-d H:i:s' ); + $comparator = $this->validate_sql_comparator( $query['date_compare'] ); + $sql .= " AND p.post_date_gmt $comparator %s"; + $sql_params[] = $date_string; + } + + if ( $query['modified'] instanceof DateTime ) { + $modified = clone $query['modified']; + $modified->setTimezone( new DateTimeZone( 'UTC' ) ); + $date_string = $modified->format( 'Y-m-d H:i:s' ); + $comparator = $this->validate_sql_comparator( $query['modified_compare'] ); + $sql .= " AND p.post_modified_gmt $comparator %s"; + $sql_params[] = $date_string; + } + + if ( true === $query['claimed'] ) { + $sql .= " AND p.post_password != ''"; + } elseif ( false === $query['claimed'] ) { + $sql .= " AND p.post_password = ''"; + } elseif ( ! is_null( $query['claimed'] ) ) { + $sql .= ' AND p.post_password = %s'; + $sql_params[] = $query['claimed']; + } + + if ( ! empty( $query['search'] ) ) { + $sql .= ' AND (p.post_title LIKE %s OR p.post_content LIKE %s OR p.post_password LIKE %s)'; + for ( $i = 0; $i < 3; $i++ ) { + $sql_params[] = sprintf( '%%%s%%', $query['search'] ); + } + } + + if ( 'select' === $select_or_count ) { + switch ( $query['orderby'] ) { + case 'hook': + $orderby = 'p.post_title'; + break; + case 'group': + $orderby = 't.name'; + break; + case 'status': + $orderby = 'p.post_status'; + break; + case 'modified': + $orderby = 'p.post_modified'; + break; + case 'claim_id': + $orderby = 'p.post_password'; + break; + case 'schedule': + case 'date': + default: + $orderby = 'p.post_date_gmt'; + break; + } + if ( 'ASC' === strtoupper( $query['order'] ) ) { + $order = 'ASC'; + } else { + $order = 'DESC'; + } + $sql .= " ORDER BY $orderby $order"; + if ( $query['per_page'] > 0 ) { + $sql .= ' LIMIT %d, %d'; + $sql_params[] = $query['offset']; + $sql_params[] = $query['per_page']; + } + } + + return $wpdb->prepare( $sql, $sql_params ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + + /** + * Query for action count or list of action IDs. + * + * @since 3.3.0 $query['status'] accepts array of statuses instead of a single status. + * + * @see ActionScheduler_Store::query_actions for $query arg usage. + * + * @param array $query Query filtering options. + * @param string $query_type Whether to select or count the results. Defaults to select. + * + * @return string|array|null The IDs of actions matching the query. Null on failure. + */ + public function query_actions( $query = array(), $query_type = 'select' ) { + /** + * Global $wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + $sql = $this->get_query_actions_sql( $query, $query_type ); + + return ( 'count' === $query_type ) ? $wpdb->get_var( $sql ) : $wpdb->get_col( $sql ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching,WordPress.DB.PreparedSQL.NotPrepared + } + + /** + * Get a count of all actions in the store, grouped by status + * + * @return array + */ + public function action_counts() { + + $action_counts_by_status = array(); + $action_stati_and_labels = $this->get_status_labels(); + $posts_count_by_status = (array) wp_count_posts( self::POST_TYPE, 'readable' ); + + foreach ( $posts_count_by_status as $post_status_name => $count ) { + + try { + $action_status_name = $this->get_action_status_by_post_status( $post_status_name ); + } catch ( Exception $e ) { + // Ignore any post statuses that aren't for actions. + continue; + } + if ( array_key_exists( $action_status_name, $action_stati_and_labels ) ) { + $action_counts_by_status[ $action_status_name ] = $count; + } + } + + return $action_counts_by_status; + } + + /** + * Cancel action. + * + * @param int $action_id Action ID. + * + * @throws InvalidArgumentException If $action_id is not identified. + */ + public function cancel_action( $action_id ) { + $post = get_post( $action_id ); + if ( empty( $post ) || ( self::POST_TYPE !== $post->post_type ) ) { + /* translators: %s is the action ID */ + throw new InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); + } + do_action( 'action_scheduler_canceled_action', $action_id ); + add_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10, 5 ); + wp_trash_post( $action_id ); + remove_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10 ); + } + + /** + * Delete action. + * + * @param int $action_id Action ID. + * @return void + * @throws InvalidArgumentException If action is not identified. + */ + public function delete_action( $action_id ) { + $post = get_post( $action_id ); + if ( empty( $post ) || ( self::POST_TYPE !== $post->post_type ) ) { + /* translators: %s is the action ID */ + throw new InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); + } + do_action( 'action_scheduler_deleted_action', $action_id ); + + wp_delete_post( $action_id, true ); + } + + /** + * Get date for claim id. + * + * @param int $action_id Action ID. + * @return ActionScheduler_DateTime The date the action is schedule to run, or the date that it ran. + */ + public function get_date( $action_id ) { + $next = $this->get_date_gmt( $action_id ); + return ActionScheduler_TimezoneHelper::set_local_timezone( $next ); + } + + /** + * Get Date GMT. + * + * @param int $action_id Action ID. + * + * @throws InvalidArgumentException If $action_id is not identified. + * @return ActionScheduler_DateTime The date the action is schedule to run, or the date that it ran. + */ + public function get_date_gmt( $action_id ) { + $post = get_post( $action_id ); + if ( empty( $post ) || ( self::POST_TYPE !== $post->post_type ) ) { + /* translators: %s is the action ID */ + throw new InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); + } + if ( 'publish' === $post->post_status ) { + return as_get_datetime_object( $post->post_modified_gmt ); + } else { + return as_get_datetime_object( $post->post_date_gmt ); + } + } + + /** + * Stake claim. + * + * @param int $max_actions Maximum number of actions. + * @param DateTime $before_date Jobs must be schedule before this date. Defaults to now. + * @param array $hooks Claim only actions with a hook or hooks. + * @param string $group Claim only actions in the given group. + * + * @return ActionScheduler_ActionClaim + * @throws RuntimeException When there is an error staking a claim. + * @throws InvalidArgumentException When the given group is not valid. + */ + public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' ) { + $this->claim_before_date = $before_date; + $claim_id = $this->generate_claim_id(); + $this->claim_actions( $claim_id, $max_actions, $before_date, $hooks, $group ); + $action_ids = $this->find_actions_by_claim_id( $claim_id ); + $this->claim_before_date = null; + + return new ActionScheduler_ActionClaim( $claim_id, $action_ids ); + } + + /** + * Get claim count. + * + * @return int + */ + public function get_claim_count() { + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + return $wpdb->get_var( + $wpdb->prepare( + "SELECT COUNT(DISTINCT post_password) FROM {$wpdb->posts} WHERE post_password != '' AND post_type = %s AND post_status IN ('in-progress','pending')", + array( self::POST_TYPE ) + ) + ); + } + + /** + * Generate claim id. + * + * @return string + */ + protected function generate_claim_id() { + $claim_id = md5( microtime( true ) . wp_rand( 0, 1000 ) ); + return substr( $claim_id, 0, 20 ); // to fit in db field with 20 char limit. + } + + /** + * Claim actions. + * + * @param string $claim_id Claim ID. + * @param int $limit Limit. + * @param DateTime $before_date Should use UTC timezone. + * @param array $hooks Claim only actions with a hook or hooks. + * @param string $group Claim only actions in the given group. + * + * @return int The number of actions that were claimed. + * @throws RuntimeException When there is a database error. + */ + protected function claim_actions( $claim_id, $limit, DateTime $before_date = null, $hooks = array(), $group = '' ) { + // Set up initial variables. + $date = null === $before_date ? as_get_datetime_object() : clone $before_date; + $limit_ids = ! empty( $group ); + $ids = $limit_ids ? $this->get_actions_by_group( $group, $limit, $date ) : array(); + + // If limiting by IDs and no posts found, then return early since we have nothing to update. + if ( $limit_ids && 0 === count( $ids ) ) { + return 0; + } + + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + /* + * Build up custom query to update the affected posts. Parameters are built as a separate array + * to make it easier to identify where they are in the query. + * + * We can't use $wpdb->update() here because of the "ID IN ..." clause. + */ + $update = "UPDATE {$wpdb->posts} SET post_password = %s, post_modified_gmt = %s, post_modified = %s"; + $params = array( + $claim_id, + current_time( 'mysql', true ), + current_time( 'mysql' ), + ); + + // Build initial WHERE clause. + $where = "WHERE post_type = %s AND post_status = %s AND post_password = ''"; + $params[] = self::POST_TYPE; + $params[] = ActionScheduler_Store::STATUS_PENDING; + + if ( ! empty( $hooks ) ) { + $placeholders = array_fill( 0, count( $hooks ), '%s' ); + $where .= ' AND post_title IN (' . join( ', ', $placeholders ) . ')'; + $params = array_merge( $params, array_values( $hooks ) ); + } + + /* + * Add the IDs to the WHERE clause. IDs not escaped because they came directly from a prior DB query. + * + * If we're not limiting by IDs, then include the post_date_gmt clause. + */ + if ( $limit_ids ) { + $where .= ' AND ID IN (' . join( ',', $ids ) . ')'; + } else { + $where .= ' AND post_date_gmt <= %s'; + $params[] = $date->format( 'Y-m-d H:i:s' ); + } + + // Add the ORDER BY clause and,ms limit. + $order = 'ORDER BY menu_order ASC, post_date_gmt ASC, ID ASC LIMIT %d'; + $params[] = $limit; + + // Run the query and gather results. + $rows_affected = $wpdb->query( $wpdb->prepare( "{$update} {$where} {$order}", $params ) ); // phpcs:ignore // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare + + if ( false === $rows_affected ) { + throw new RuntimeException( __( 'Unable to claim actions. Database error.', 'action-scheduler' ) ); + } + + return (int) $rows_affected; + } + + /** + * Get IDs of actions within a certain group and up to a certain date/time. + * + * @param string $group The group to use in finding actions. + * @param int $limit The number of actions to retrieve. + * @param DateTime $date DateTime object representing cutoff time for actions. Actions retrieved will be + * up to and including this DateTime. + * + * @return array IDs of actions in the appropriate group and before the appropriate time. + * @throws InvalidArgumentException When the group does not exist. + */ + protected function get_actions_by_group( $group, $limit, DateTime $date ) { + // Ensure the group exists before continuing. + if ( ! term_exists( $group, self::GROUP_TAXONOMY ) ) { + /* translators: %s is the group name */ + throw new InvalidArgumentException( sprintf( __( 'The group "%s" does not exist.', 'action-scheduler' ), $group ) ); + } + + // Set up a query for post IDs to use later. + $query = new WP_Query(); + $query_args = array( + 'fields' => 'ids', + 'post_type' => self::POST_TYPE, + 'post_status' => ActionScheduler_Store::STATUS_PENDING, + 'has_password' => false, + 'posts_per_page' => $limit * 3, + 'suppress_filters' => true, + 'no_found_rows' => true, + 'orderby' => array( + 'menu_order' => 'ASC', + 'date' => 'ASC', + 'ID' => 'ASC', + ), + 'date_query' => array( + 'column' => 'post_date_gmt', + 'before' => $date->format( 'Y-m-d H:i' ), + 'inclusive' => true, + ), + 'tax_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery + array( + 'taxonomy' => self::GROUP_TAXONOMY, + 'field' => 'slug', + 'terms' => $group, + 'include_children' => false, + ), + ), + ); + + return $query->query( $query_args ); + } + + /** + * Find actions by claim ID. + * + * @param string $claim_id Claim ID. + * @return array + */ + public function find_actions_by_claim_id( $claim_id ) { + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + $action_ids = array(); + $before_date = isset( $this->claim_before_date ) ? $this->claim_before_date : as_get_datetime_object(); + $cut_off = $before_date->format( 'Y-m-d H:i:s' ); + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $results = $wpdb->get_results( + $wpdb->prepare( + "SELECT ID, post_date_gmt FROM {$wpdb->posts} WHERE post_type = %s AND post_password = %s", + array( + self::POST_TYPE, + $claim_id, + ) + ) + ); + + // Verify that the scheduled date for each action is within the expected bounds (in some unusual + // cases, we cannot depend on MySQL to honor all of the WHERE conditions we specify). + foreach ( $results as $claimed_action ) { + if ( $claimed_action->post_date_gmt <= $cut_off ) { + $action_ids[] = absint( $claimed_action->ID ); + } + } + + return $action_ids; + } + + /** + * Release claim. + * + * @param ActionScheduler_ActionClaim $claim Claim object to release. + * @return void + * @throws RuntimeException When the claim is not unlocked. + */ + public function release_claim( ActionScheduler_ActionClaim $claim ) { + $action_ids = $this->find_actions_by_claim_id( $claim->get_id() ); + if ( empty( $action_ids ) ) { + return; // nothing to do. + } + $action_id_string = implode( ',', array_map( 'intval', $action_ids ) ); + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $result = $wpdb->query( + $wpdb->prepare( + "UPDATE {$wpdb->posts} SET post_password = '' WHERE ID IN ($action_id_string) AND post_password = %s", //phpcs:ignore + array( + $claim->get_id(), + ) + ) + ); + if ( false === $result ) { + /* translators: %s: claim ID */ + throw new RuntimeException( sprintf( __( 'Unable to unlock claim %s. Database error.', 'action-scheduler' ), $claim->get_id() ) ); + } + } + + /** + * Unclaim action. + * + * @param string $action_id Action ID. + * @throws RuntimeException When unable to unlock claim on action ID. + */ + public function unclaim_action( $action_id ) { + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $result = $wpdb->query( + $wpdb->prepare( + "UPDATE {$wpdb->posts} SET post_password = '' WHERE ID = %d AND post_type = %s", + $action_id, + self::POST_TYPE + ) + ); + if ( false === $result ) { + /* translators: %s: action ID */ + throw new RuntimeException( sprintf( __( 'Unable to unlock claim on action %s. Database error.', 'action-scheduler' ), $action_id ) ); + } + } + + /** + * Mark failure on action. + * + * @param int $action_id Action ID. + * + * @return void + * @throws RuntimeException When unable to mark failure on action ID. + */ + public function mark_failure( $action_id ) { + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $result = $wpdb->query( + $wpdb->prepare( "UPDATE {$wpdb->posts} SET post_status = %s WHERE ID = %d AND post_type = %s", self::STATUS_FAILED, $action_id, self::POST_TYPE ) + ); + if ( false === $result ) { + /* translators: %s: action ID */ + throw new RuntimeException( sprintf( __( 'Unable to mark failure on action %s. Database error.', 'action-scheduler' ), $action_id ) ); + } + } + + /** + * Return an action's claim ID, as stored in the post password column + * + * @param int $action_id Action ID. + * @return mixed + */ + public function get_claim_id( $action_id ) { + return $this->get_post_column( $action_id, 'post_password' ); + } + + /** + * Return an action's status, as stored in the post status column + * + * @param int $action_id Action ID. + * + * @return mixed + * @throws InvalidArgumentException When the action ID is invalid. + */ + public function get_status( $action_id ) { + $status = $this->get_post_column( $action_id, 'post_status' ); + + if ( null === $status ) { + throw new InvalidArgumentException( __( 'Invalid action ID. No status found.', 'action-scheduler' ) ); + } + + return $this->get_action_status_by_post_status( $status ); + } + + /** + * Get post column + * + * @param string $action_id Action ID. + * @param string $column_name Column Name. + * + * @return string|null + */ + private function get_post_column( $action_id, $column_name ) { + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + return $wpdb->get_var( + $wpdb->prepare( + "SELECT {$column_name} FROM {$wpdb->posts} WHERE ID=%d AND post_type=%s", // phpcs:ignore + $action_id, + self::POST_TYPE + ) + ); + } + + /** + * Log Execution. + * + * @param string $action_id Action ID. + */ + public function log_execution( $action_id ) { + /** + * Global wpdb object. + * + * @var wpdb $wpdb + */ + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $wpdb->query( + $wpdb->prepare( + "UPDATE {$wpdb->posts} SET menu_order = menu_order+1, post_status=%s, post_modified_gmt = %s, post_modified = %s WHERE ID = %d AND post_type = %s", + self::STATUS_RUNNING, + current_time( 'mysql', true ), + current_time( 'mysql' ), + $action_id, + self::POST_TYPE + ) + ); + } + + /** + * Record that an action was completed. + * + * @param string $action_id ID of the completed action. + * + * @throws InvalidArgumentException When the action ID is invalid. + * @throws RuntimeException When there was an error executing the action. + */ + public function mark_complete( $action_id ) { + $post = get_post( $action_id ); + if ( empty( $post ) || ( self::POST_TYPE !== $post->post_type ) ) { + /* translators: %s is the action ID */ + throw new InvalidArgumentException( sprintf( __( 'Unidentified action %s', 'action-scheduler' ), $action_id ) ); + } + add_filter( 'wp_insert_post_data', array( $this, 'filter_insert_post_data' ), 10, 1 ); + add_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10, 5 ); + $result = wp_update_post( + array( + 'ID' => $action_id, + 'post_status' => 'publish', + ), + true + ); + remove_filter( 'wp_insert_post_data', array( $this, 'filter_insert_post_data' ), 10 ); + remove_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10 ); + if ( is_wp_error( $result ) ) { + throw new RuntimeException( $result->get_error_message() ); + } + + /** + * Fires after a scheduled action has been completed. + * + * @since 3.4.2 + * + * @param int $action_id Action ID. + */ + do_action( 'action_scheduler_completed_action', $action_id ); + } + + /** + * Mark action as migrated when there is an error deleting the action. + * + * @param int $action_id Action ID. + */ + public function mark_migrated( $action_id ) { + wp_update_post( + array( + 'ID' => $action_id, + 'post_status' => 'migrated', + ) + ); + } + + /** + * Determine whether the post store can be migrated. + * + * @param [type] $setting - Setting value. + * @return bool + */ + public function migration_dependencies_met( $setting ) { + global $wpdb; + + $dependencies_met = get_transient( self::DEPENDENCIES_MET ); + if ( empty( $dependencies_met ) ) { + $maximum_args_length = apply_filters( 'action_scheduler_maximum_args_length', 191 ); + $found_action = $wpdb->get_var( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching + $wpdb->prepare( + "SELECT ID FROM {$wpdb->posts} WHERE post_type = %s AND CHAR_LENGTH(post_content) > %d LIMIT 1", + $maximum_args_length, + self::POST_TYPE + ) + ); + $dependencies_met = $found_action ? 'no' : 'yes'; + set_transient( self::DEPENDENCIES_MET, $dependencies_met, DAY_IN_SECONDS ); + } + + return 'yes' === $dependencies_met ? $setting : false; + } + + /** + * InnoDB indexes have a maximum size of 767 bytes by default, which is only 191 characters with utf8mb4. + * + * Previously, AS wasn't concerned about args length, as we used the (unindex) post_content column. However, + * as we prepare to move to custom tables, and can use an indexed VARCHAR column instead, we want to warn + * developers of this impending requirement. + * + * @param ActionScheduler_Action $action Action object. + */ + protected function validate_action( ActionScheduler_Action $action ) { + try { + parent::validate_action( $action ); + } catch ( Exception $e ) { + /* translators: %s is the error message */ + $message = sprintf( __( '%s Support for strings longer than this will be removed in a future version.', 'action-scheduler' ), $e->getMessage() ); + _doing_it_wrong( 'ActionScheduler_Action::$args', esc_html( $message ), '2.1.0' ); + } + } + + /** + * (@codeCoverageIgnore) + */ + public function init() { + add_filter( 'action_scheduler_migration_dependencies_met', array( $this, 'migration_dependencies_met' ) ); + + $post_type_registrar = new ActionScheduler_wpPostStore_PostTypeRegistrar(); + $post_type_registrar->register(); + + $post_status_registrar = new ActionScheduler_wpPostStore_PostStatusRegistrar(); + $post_status_registrar->register(); + + $taxonomy_registrar = new ActionScheduler_wpPostStore_TaxonomyRegistrar(); + $taxonomy_registrar->register(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php new file mode 100644 index 0000000..246bc34 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php @@ -0,0 +1,58 @@ +post_status_args(), $this->post_status_running_labels() ) ); + register_post_status( ActionScheduler_Store::STATUS_FAILED, array_merge( $this->post_status_args(), $this->post_status_failed_labels() ) ); + } + + /** + * Build the args array for the post type definition + * + * @return array + */ + protected function post_status_args() { + $args = array( + 'public' => false, + 'exclude_from_search' => false, + 'show_in_admin_all_list' => true, + 'show_in_admin_status_list' => true, + ); + + return apply_filters( 'action_scheduler_post_status_args', $args ); + } + + /** + * Build the args array for the post type definition + * + * @return array + */ + protected function post_status_failed_labels() { + $labels = array( + 'label' => _x( 'Failed', 'post', 'action-scheduler' ), + /* translators: %s: count */ + 'label_count' => _n_noop( 'Failed (%s)', 'Failed (%s)', 'action-scheduler' ), + ); + + return apply_filters( 'action_scheduler_post_status_failed_labels', $labels ); + } + + /** + * Build the args array for the post type definition + * + * @return array + */ + protected function post_status_running_labels() { + $labels = array( + 'label' => _x( 'In-Progress', 'post', 'action-scheduler' ), + /* translators: %s: count */ + 'label_count' => _n_noop( 'In-Progress (%s)', 'In-Progress (%s)', 'action-scheduler' ), + ); + + return apply_filters( 'action_scheduler_post_status_running_labels', $labels ); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostTypeRegistrar.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostTypeRegistrar.php new file mode 100644 index 0000000..8c63bd0 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostTypeRegistrar.php @@ -0,0 +1,50 @@ +post_type_args() ); + } + + /** + * Build the args array for the post type definition + * + * @return array + */ + protected function post_type_args() { + $args = array( + 'label' => __( 'Scheduled Actions', 'action-scheduler' ), + 'description' => __( 'Scheduled actions are hooks triggered on a cetain date and time.', 'action-scheduler' ), + 'public' => false, + 'map_meta_cap' => true, + 'hierarchical' => false, + 'supports' => array('title', 'editor','comments'), + 'rewrite' => false, + 'query_var' => false, + 'can_export' => true, + 'ep_mask' => EP_NONE, + 'labels' => array( + 'name' => __( 'Scheduled Actions', 'action-scheduler' ), + 'singular_name' => __( 'Scheduled Action', 'action-scheduler' ), + 'menu_name' => _x( 'Scheduled Actions', 'Admin menu name', 'action-scheduler' ), + 'add_new' => __( 'Add', 'action-scheduler' ), + 'add_new_item' => __( 'Add New Scheduled Action', 'action-scheduler' ), + 'edit' => __( 'Edit', 'action-scheduler' ), + 'edit_item' => __( 'Edit Scheduled Action', 'action-scheduler' ), + 'new_item' => __( 'New Scheduled Action', 'action-scheduler' ), + 'view' => __( 'View Action', 'action-scheduler' ), + 'view_item' => __( 'View Action', 'action-scheduler' ), + 'search_items' => __( 'Search Scheduled Actions', 'action-scheduler' ), + 'not_found' => __( 'No actions found', 'action-scheduler' ), + 'not_found_in_trash' => __( 'No actions found in trash', 'action-scheduler' ), + ), + ); + + $args = apply_filters('action_scheduler_post_type_args', $args); + return $args; + } +} + \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php new file mode 100644 index 0000000..367401f --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php @@ -0,0 +1,26 @@ +taxonomy_args() ); + } + + protected function taxonomy_args() { + $args = array( + 'label' => __( 'Action Group', 'action-scheduler' ), + 'public' => false, + 'hierarchical' => false, + 'show_admin_column' => true, + 'query_var' => false, + 'rewrite' => false, + ); + + $args = apply_filters( 'action_scheduler_taxonomy_args', $args ); + return $args; + } +} + \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php b/inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php new file mode 100644 index 0000000..c77d083 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php @@ -0,0 +1,109 @@ +source = $source_store; + $this->destination = $destination_store; + $this->log_migrator = $log_migrator; + } + + /** + * Migrate an action. + * + * @param int $source_action_id Action ID. + * + * @return int 0|new action ID + */ + public function migrate( $source_action_id ) { + try { + $action = $this->source->fetch_action( $source_action_id ); + $status = $this->source->get_status( $source_action_id ); + } catch ( \Exception $e ) { + $action = null; + $status = ''; + } + + if ( is_null( $action ) || empty( $status ) || ! $action->get_schedule()->get_date() ) { + // null action or empty status means the fetch operation failed or the action didn't exist + // null schedule means it's missing vital data + // delete it and move on + try { + $this->source->delete_action( $source_action_id ); + } catch ( \Exception $e ) { + // nothing to do, it didn't exist in the first place + } + do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination ); + + return 0; + } + + try { + + // Make sure the last attempt date is set correctly for completed and failed actions + $last_attempt_date = ( $status !== \ActionScheduler_Store::STATUS_PENDING ) ? $this->source->get_date( $source_action_id ) : null; + + $destination_action_id = $this->destination->save_action( $action, null, $last_attempt_date ); + } catch ( \Exception $e ) { + do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); + + return 0; // could not save the action in the new store + } + + try { + switch ( $status ) { + case \ActionScheduler_Store::STATUS_FAILED : + $this->destination->mark_failure( $destination_action_id ); + break; + case \ActionScheduler_Store::STATUS_CANCELED : + $this->destination->cancel_action( $destination_action_id ); + break; + } + + $this->log_migrator->migrate( $source_action_id, $destination_action_id ); + $this->source->delete_action( $source_action_id ); + + $test_action = $this->source->fetch_action( $source_action_id ); + if ( ! is_a( $test_action, 'ActionScheduler_NullAction' ) ) { + throw new \RuntimeException( sprintf( __( 'Unable to remove source migrated action %s', 'action-scheduler' ), $source_action_id ) ); + } + do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); + + return $destination_action_id; + } catch ( \Exception $e ) { + // could not delete from the old store + $this->source->mark_migrated( $source_action_id ); + do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); + do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); + + return $destination_action_id; + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/ActionScheduler_DBStoreMigrator.php b/inc/Dependencies/ActionScheduler/classes/migration/ActionScheduler_DBStoreMigrator.php new file mode 100644 index 0000000..41c21da --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/ActionScheduler_DBStoreMigrator.php @@ -0,0 +1,47 @@ + $this->get_scheduled_date_string( $action, $last_attempt_date ), + 'last_attempt_local' => $this->get_scheduled_date_string_local( $action, $last_attempt_date ), + ]; + + $wpdb->update( $wpdb->actionscheduler_actions, $data, array( 'action_id' => $action_id ), array( '%s', '%s' ), array( '%d' ) ); + } + + return $action_id; + } catch ( \Exception $e ) { + throw new \RuntimeException( sprintf( __( 'Error saving action: %s', 'action-scheduler' ), $e->getMessage() ), 0 ); + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/BatchFetcher.php b/inc/Dependencies/ActionScheduler/classes/migration/BatchFetcher.php new file mode 100644 index 0000000..4872801 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/BatchFetcher.php @@ -0,0 +1,86 @@ +store = $source_store; + } + + /** + * Retrieve a list of actions. + * + * @param int $count The number of actions to retrieve + * + * @return int[] A list of action IDs + */ + public function fetch( $count = 10 ) { + foreach ( $this->get_query_strategies( $count ) as $query ) { + $action_ids = $this->store->query_actions( $query ); + if ( ! empty( $action_ids ) ) { + return $action_ids; + } + } + + return []; + } + + /** + * Generate a list of prioritized of action search parameters. + * + * @param int $count Number of actions to find. + * + * @return array + */ + private function get_query_strategies( $count ) { + $now = as_get_datetime_object(); + $args = [ + 'date' => $now, + 'per_page' => $count, + 'offset' => 0, + 'orderby' => 'date', + 'order' => 'ASC', + ]; + + $priorities = [ + Store::STATUS_PENDING, + Store::STATUS_FAILED, + Store::STATUS_CANCELED, + Store::STATUS_COMPLETE, + Store::STATUS_RUNNING, + '', // any other unanticipated status + ]; + + foreach ( $priorities as $status ) { + yield wp_parse_args( [ + 'status' => $status, + 'date_compare' => '<=', + ], $args ); + yield wp_parse_args( [ + 'status' => $status, + 'date_compare' => '>=', + ], $args ); + } + } +} \ No newline at end of file diff --git a/inc/Dependencies/ActionScheduler/classes/migration/Config.php b/inc/Dependencies/ActionScheduler/classes/migration/Config.php new file mode 100644 index 0000000..50f41ff --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/Config.php @@ -0,0 +1,168 @@ +source_store ) ) { + throw new \RuntimeException( __( 'Source store must be configured before running a migration', 'action-scheduler' ) ); + } + + return $this->source_store; + } + + /** + * Set the configured source store. + * + * @param ActionScheduler_Store $store Source store object. + */ + public function set_source_store( Store $store ) { + $this->source_store = $store; + } + + /** + * Get the configured source loger. + * + * @return ActionScheduler_Logger + */ + public function get_source_logger() { + if ( empty( $this->source_logger ) ) { + throw new \RuntimeException( __( 'Source logger must be configured before running a migration', 'action-scheduler' ) ); + } + + return $this->source_logger; + } + + /** + * Set the configured source logger. + * + * @param ActionScheduler_Logger $logger + */ + public function set_source_logger( Logger $logger ) { + $this->source_logger = $logger; + } + + /** + * Get the configured destination store. + * + * @return ActionScheduler_Store + */ + public function get_destination_store() { + if ( empty( $this->destination_store ) ) { + throw new \RuntimeException( __( 'Destination store must be configured before running a migration', 'action-scheduler' ) ); + } + + return $this->destination_store; + } + + /** + * Set the configured destination store. + * + * @param ActionScheduler_Store $store + */ + public function set_destination_store( Store $store ) { + $this->destination_store = $store; + } + + /** + * Get the configured destination logger. + * + * @return ActionScheduler_Logger + */ + public function get_destination_logger() { + if ( empty( $this->destination_logger ) ) { + throw new \RuntimeException( __( 'Destination logger must be configured before running a migration', 'action-scheduler' ) ); + } + + return $this->destination_logger; + } + + /** + * Set the configured destination logger. + * + * @param ActionScheduler_Logger $logger + */ + public function set_destination_logger( Logger $logger ) { + $this->destination_logger = $logger; + } + + /** + * Get flag indicating whether it's a dry run. + * + * @return bool + */ + public function get_dry_run() { + return $this->dry_run; + } + + /** + * Set flag indicating whether it's a dry run. + * + * @param bool $dry_run + */ + public function set_dry_run( $dry_run ) { + $this->dry_run = (bool) $dry_run; + } + + /** + * Get progress bar object. + * + * @return ActionScheduler\WPCLI\ProgressBar + */ + public function get_progress_bar() { + return $this->progress_bar; + } + + /** + * Set progress bar object. + * + * @param ActionScheduler\WPCLI\ProgressBar $progress_bar + */ + public function set_progress_bar( ProgressBar $progress_bar ) { + $this->progress_bar = $progress_bar; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/Controller.php b/inc/Dependencies/ActionScheduler/classes/migration/Controller.php new file mode 100644 index 0000000..b2b618d --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/Controller.php @@ -0,0 +1,226 @@ +migration_scheduler = $migration_scheduler; + $this->store_classname = ''; + } + + /** + * Set the action store class name. + * + * @param string $class Classname of the store class. + * + * @return string + */ + public function get_store_class( $class ) { + if ( \ActionScheduler_DataController::is_migration_complete() ) { + return \ActionScheduler_DataController::DATASTORE_CLASS; + } elseif ( \ActionScheduler_Store::DEFAULT_CLASS !== $class ) { + $this->store_classname = $class; + return $class; + } else { + return 'ActionScheduler_HybridStore'; + } + } + + /** + * Set the action logger class name. + * + * @param string $class Classname of the logger class. + * + * @return string + */ + public function get_logger_class( $class ) { + \ActionScheduler_Store::instance(); + + if ( $this->has_custom_datastore() ) { + $this->logger_classname = $class; + return $class; + } else { + return \ActionScheduler_DataController::LOGGER_CLASS; + } + } + + /** + * Get flag indicating whether a custom datastore is in use. + * + * @return bool + */ + public function has_custom_datastore() { + return (bool) $this->store_classname; + } + + /** + * Set up the background migration process. + * + * @return void + */ + public function schedule_migration() { + $logging_tables = new ActionScheduler_LoggerSchema(); + $store_tables = new ActionScheduler_StoreSchema(); + + /* + * In some unusual cases, the expected tables may not have been created. In such cases + * we do not schedule a migration as doing so will lead to fatal error conditions. + * + * In such cases the user will likely visit the Tools > Scheduled Actions screen to + * investigate, and will see appropriate messaging (this step also triggers an attempt + * to rebuild any missing tables). + * + * @see https://github.com/woocommerce/action-scheduler/issues/653 + */ + if ( + ActionScheduler_DataController::is_migration_complete() + || $this->migration_scheduler->is_migration_scheduled() + || ! $store_tables->tables_exist() + || ! $logging_tables->tables_exist() + ) { + return; + } + + $this->migration_scheduler->schedule_migration(); + } + + /** + * Get the default migration config object + * + * @return ActionScheduler\Migration\Config + */ + public function get_migration_config_object() { + static $config = null; + + if ( ! $config ) { + $source_store = $this->store_classname ? new $this->store_classname() : new \ActionScheduler_wpPostStore(); + $source_logger = $this->logger_classname ? new $this->logger_classname() : new \ActionScheduler_wpCommentLogger(); + + $config = new Config(); + $config->set_source_store( $source_store ); + $config->set_source_logger( $source_logger ); + $config->set_destination_store( new \ActionScheduler_DBStoreMigrator() ); + $config->set_destination_logger( new \ActionScheduler_DBLogger() ); + + if ( defined( 'WP_CLI' ) && WP_CLI ) { + $config->set_progress_bar( new ProgressBar( '', 0 ) ); + } + } + + return apply_filters( 'action_scheduler/migration_config', $config ); + } + + /** + * Hook dashboard migration notice. + */ + public function hook_admin_notices() { + if ( ! $this->allow_migration() || \ActionScheduler_DataController::is_migration_complete() ) { + return; + } + add_action( 'admin_notices', array( $this, 'display_migration_notice' ), 10, 0 ); + } + + /** + * Show a dashboard notice that migration is in progress. + */ + public function display_migration_notice() { + printf( '

    %s

    ', esc_html__( 'Action Scheduler migration in progress. The list of scheduled actions may be incomplete.', 'action-scheduler' ) ); + } + + /** + * Add store classes. Hook migration. + */ + private function hook() { + add_filter( 'action_scheduler_store_class', array( $this, 'get_store_class' ), 100, 1 ); + add_filter( 'action_scheduler_logger_class', array( $this, 'get_logger_class' ), 100, 1 ); + add_action( 'init', array( $this, 'maybe_hook_migration' ) ); + add_action( 'wp_loaded', array( $this, 'schedule_migration' ) ); + + // Action Scheduler may be displayed as a Tools screen or WooCommerce > Status administration screen + add_action( 'load-tools_page_action-scheduler', array( $this, 'hook_admin_notices' ), 10, 0 ); + add_action( 'load-woocommerce_page_wc-status', array( $this, 'hook_admin_notices' ), 10, 0 ); + } + + /** + * Possibly hook the migration scheduler action. + * + * @author Jeremy Pry + */ + public function maybe_hook_migration() { + if ( ! $this->allow_migration() || \ActionScheduler_DataController::is_migration_complete() ) { + return; + } + + $this->migration_scheduler->hook(); + } + + /** + * Allow datastores to enable migration to AS tables. + */ + public function allow_migration() { + if ( ! \ActionScheduler_DataController::dependencies_met() ) { + return false; + } + + if ( null === $this->migrate_custom_store ) { + $this->migrate_custom_store = apply_filters( 'action_scheduler_migrate_data_store', false ); + } + + return ( ! $this->has_custom_datastore() ) || $this->migrate_custom_store; + } + + /** + * Proceed with the migration if the dependencies have been met. + */ + public static function init() { + if ( \ActionScheduler_DataController::dependencies_met() ) { + self::instance()->hook(); + } + } + + /** + * Singleton factory. + */ + public static function instance() { + if ( ! isset( self::$instance ) ) { + self::$instance = new static( new Scheduler() ); + } + + return self::$instance; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/DryRun_ActionMigrator.php b/inc/Dependencies/ActionScheduler/classes/migration/DryRun_ActionMigrator.php new file mode 100644 index 0000000..ffc21c2 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/DryRun_ActionMigrator.php @@ -0,0 +1,28 @@ +source = $source_logger; + $this->destination = $destination_Logger; + } + + /** + * Migrate an action log. + * + * @param int $source_action_id Source logger object. + * @param int $destination_action_id Destination logger object. + */ + public function migrate( $source_action_id, $destination_action_id ) { + $logs = $this->source->get_logs( $source_action_id ); + foreach ( $logs as $log ) { + if ( $log->get_action_id() == $source_action_id ) { + $this->destination->log( $destination_action_id, $log->get_message(), $log->get_date() ); + } + } + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/Runner.php b/inc/Dependencies/ActionScheduler/classes/migration/Runner.php new file mode 100644 index 0000000..867c5de --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/Runner.php @@ -0,0 +1,136 @@ +source_store = $config->get_source_store(); + $this->destination_store = $config->get_destination_store(); + $this->source_logger = $config->get_source_logger(); + $this->destination_logger = $config->get_destination_logger(); + + $this->batch_fetcher = new BatchFetcher( $this->source_store ); + if ( $config->get_dry_run() ) { + $this->log_migrator = new DryRun_LogMigrator( $this->source_logger, $this->destination_logger ); + $this->action_migrator = new DryRun_ActionMigrator( $this->source_store, $this->destination_store, $this->log_migrator ); + } else { + $this->log_migrator = new LogMigrator( $this->source_logger, $this->destination_logger ); + $this->action_migrator = new ActionMigrator( $this->source_store, $this->destination_store, $this->log_migrator ); + } + + if ( defined( 'WP_CLI' ) && WP_CLI ) { + $this->progress_bar = $config->get_progress_bar(); + } + } + + /** + * Run migration batch. + * + * @param int $batch_size Optional batch size. Default 10. + * + * @return int Size of batch processed. + */ + public function run( $batch_size = 10 ) { + $batch = $this->batch_fetcher->fetch( $batch_size ); + $batch_size = count( $batch ); + + if ( ! $batch_size ) { + return 0; + } + + if ( $this->progress_bar ) { + /* translators: %d: amount of actions */ + $this->progress_bar->set_message( sprintf( _n( 'Migrating %d action', 'Migrating %d actions', $batch_size, 'action-scheduler' ), number_format_i18n( $batch_size ) ) ); + $this->progress_bar->set_count( $batch_size ); + } + + $this->migrate_actions( $batch ); + + return $batch_size; + } + + /** + * Migration a batch of actions. + * + * @param array $action_ids List of action IDs to migrate. + */ + public function migrate_actions( array $action_ids ) { + do_action( 'action_scheduler/migration_batch_starting', $action_ids ); + + \ActionScheduler::logger()->unhook_stored_action(); + $this->destination_logger->unhook_stored_action(); + + foreach ( $action_ids as $source_action_id ) { + $destination_action_id = $this->action_migrator->migrate( $source_action_id ); + if ( $destination_action_id ) { + $this->destination_logger->log( $destination_action_id, sprintf( + /* translators: 1: source action ID 2: source store class 3: destination action ID 4: destination store class */ + __( 'Migrated action with ID %1$d in %2$s to ID %3$d in %4$s', 'action-scheduler' ), + $source_action_id, + get_class( $this->source_store ), + $destination_action_id, + get_class( $this->destination_store ) + ) ); + } + + if ( $this->progress_bar ) { + $this->progress_bar->tick(); + } + } + + if ( $this->progress_bar ) { + $this->progress_bar->finish(); + } + + \ActionScheduler::logger()->hook_stored_action(); + + do_action( 'action_scheduler/migration_batch_complete', $action_ids ); + } + + /** + * Initialize destination store and logger. + */ + public function init_destination() { + $this->destination_store->init(); + $this->destination_logger->init(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php b/inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php new file mode 100644 index 0000000..dcbe2db --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php @@ -0,0 +1,128 @@ +get_migration_runner(); + $count = $migration_runner->run( $this->get_batch_size() ); + + if ( $count === 0 ) { + $this->mark_complete(); + } else { + $this->schedule_migration( time() + $this->get_schedule_interval() ); + } + } + + /** + * Mark the migration complete. + */ + public function mark_complete() { + $this->unschedule_migration(); + + \ActionScheduler_DataController::mark_migration_complete(); + do_action( 'action_scheduler/migration_complete' ); + } + + /** + * Get a flag indicating whether the migration is scheduled. + * + * @return bool Whether there is a pending action in the store to handle the migration + */ + public function is_migration_scheduled() { + $next = as_next_scheduled_action( self::HOOK ); + + return ! empty( $next ); + } + + /** + * Schedule the migration. + * + * @param int $when Optional timestamp to run the next migration batch. Defaults to now. + * + * @return string The action ID + */ + public function schedule_migration( $when = 0 ) { + $next = as_next_scheduled_action( self::HOOK ); + + if ( ! empty( $next ) ) { + return $next; + } + + if ( empty( $when ) ) { + $when = time() + MINUTE_IN_SECONDS; + } + + return as_schedule_single_action( $when, self::HOOK, array(), self::GROUP ); + } + + /** + * Remove the scheduled migration action. + */ + public function unschedule_migration() { + as_unschedule_action( self::HOOK, null, self::GROUP ); + } + + /** + * Get migration batch schedule interval. + * + * @return int Seconds between migration runs. Defaults to 0 seconds to allow chaining migration via Async Runners. + */ + private function get_schedule_interval() { + return (int) apply_filters( 'action_scheduler/migration_interval', 0 ); + } + + /** + * Get migration batch size. + * + * @return int Number of actions to migrate in each batch. Defaults to 250. + */ + private function get_batch_size() { + return (int) apply_filters( 'action_scheduler/migration_batch_size', 250 ); + } + + /** + * Get migration runner object. + * + * @return Runner + */ + private function get_migration_runner() { + $config = Controller::instance()->get_migration_config_object(); + + return new Runner( $config ); + } + +} diff --git a/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CanceledSchedule.php b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CanceledSchedule.php new file mode 100644 index 0000000..840e482 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CanceledSchedule.php @@ -0,0 +1,57 @@ +__wakeup() for details. + **/ + private $timestamp = NULL; + + /** + * @param DateTime $after + * + * @return DateTime|null + */ + public function calculate_next( DateTime $after ) { + return null; + } + + /** + * Cancelled actions should never have a next schedule, even if get_next() + * is called with $after < $this->scheduled_date. + * + * @param DateTime $after + * @return DateTime|null + */ + public function get_next( DateTime $after ) { + return null; + } + + /** + * @return bool + */ + public function is_recurring() { + return false; + } + + /** + * Unserialize recurring schedules serialized/stored prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, schedules used different property names to refer + * to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. Action Scheduler 3.0.0 + * aligned properties and property names for better inheritance. To maintain backward + * compatibility with schedules serialized and stored prior to 3.0, we need to correctly + * map the old property names with matching visibility. + */ + public function __wakeup() { + if ( ! is_null( $this->timestamp ) ) { + $this->scheduled_timestamp = $this->timestamp; + unset( $this->timestamp ); + } + parent::__wakeup(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CronSchedule.php b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CronSchedule.php new file mode 100644 index 0000000..7859307 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_CronSchedule.php @@ -0,0 +1,102 @@ +__wakeup() for details. + **/ + private $start_timestamp = NULL; + + /** + * Deprecated property @see $this->__wakeup() for details. + **/ + private $cron = NULL; + + /** + * Wrapper for parent constructor to accept a cron expression string and map it to a CronExpression for this + * objects $recurrence property. + * + * @param DateTime $start The date & time to run the action at or after. If $start aligns with the CronSchedule passed via $recurrence, it will be used. If it does not align, the first matching date after it will be used. + * @param CronExpression|string $recurrence The CronExpression used to calculate the schedule's next instance. + * @param DateTime|null $first (Optional) The date & time the first instance of this interval schedule ran. Default null, meaning this is the first instance. + */ + public function __construct( DateTime $start, $recurrence, DateTime $first = null ) { + if ( ! is_a( $recurrence, 'CronExpression' ) ) { + $recurrence = CronExpression::factory( $recurrence ); + } + + // For backward compatibility, we need to make sure the date is set to the first matching cron date, not whatever date is passed in. Importantly, by passing true as the 3rd param, if $start matches the cron expression, then it will be used. This was previously handled in the now deprecated next() method. + $date = $recurrence->getNextRunDate( $start, 0, true ); + + // parent::__construct() will set this to $date by default, but that may be different to $start now. + $first = empty( $first ) ? $start : $first; + + parent::__construct( $date, $recurrence, $first ); + } + + /** + * Calculate when an instance of this schedule would start based on a given + * date & time using its the CronExpression. + * + * @param DateTime $after + * @return DateTime + */ + protected function calculate_next( DateTime $after ) { + return $this->recurrence->getNextRunDate( $after, 0, false ); + } + + /** + * @return string + */ + public function get_recurrence() { + return strval( $this->recurrence ); + } + + /** + * Serialize cron schedules with data required prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, reccuring schedules used different property names to + * refer to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. Action Scheduler 3.0.0 + * aligned properties and property names for better inheritance. To guard against the + * possibility of infinite loops if downgrading to Action Scheduler < 3.0.0, we need to + * also store the data with the old property names so if it's unserialized in AS < 3.0, + * the schedule doesn't end up with a null recurrence. + * + * @return array + */ + public function __sleep() { + + $sleep_params = parent::__sleep(); + + $this->start_timestamp = $this->scheduled_timestamp; + $this->cron = $this->recurrence; + + return array_merge( $sleep_params, array( + 'start_timestamp', + 'cron' + ) ); + } + + /** + * Unserialize cron schedules serialized/stored prior to AS 3.0.0 + * + * For more background, @see ActionScheduler_Abstract_RecurringSchedule::__wakeup(). + */ + public function __wakeup() { + if ( is_null( $this->scheduled_timestamp ) && ! is_null( $this->start_timestamp ) ) { + $this->scheduled_timestamp = $this->start_timestamp; + unset( $this->start_timestamp ); + } + + if ( is_null( $this->recurrence ) && ! is_null( $this->cron ) ) { + $this->recurrence = $this->cron; + unset( $this->cron ); + } + parent::__wakeup(); + } +} + diff --git a/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_IntervalSchedule.php b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_IntervalSchedule.php new file mode 100644 index 0000000..11a591e --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_IntervalSchedule.php @@ -0,0 +1,81 @@ +__wakeup() for details. + **/ + private $start_timestamp = NULL; + + /** + * Deprecated property @see $this->__wakeup() for details. + **/ + private $interval_in_seconds = NULL; + + /** + * Calculate when this schedule should start after a given date & time using + * the number of seconds between recurrences. + * + * @param DateTime $after + * @return DateTime + */ + protected function calculate_next( DateTime $after ) { + $after->modify( '+' . (int) $this->get_recurrence() . ' seconds' ); + return $after; + } + + /** + * @return int + */ + public function interval_in_seconds() { + _deprecated_function( __METHOD__, '3.0.0', '(int)ActionScheduler_Abstract_RecurringSchedule::get_recurrence()' ); + return (int) $this->get_recurrence(); + } + + /** + * Serialize interval schedules with data required prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, reccuring schedules used different property names to + * refer to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. Action Scheduler 3.0.0 + * aligned properties and property names for better inheritance. To guard against the + * possibility of infinite loops if downgrading to Action Scheduler < 3.0.0, we need to + * also store the data with the old property names so if it's unserialized in AS < 3.0, + * the schedule doesn't end up with a null/false/0 recurrence. + * + * @return array + */ + public function __sleep() { + + $sleep_params = parent::__sleep(); + + $this->start_timestamp = $this->scheduled_timestamp; + $this->interval_in_seconds = $this->recurrence; + + return array_merge( $sleep_params, array( + 'start_timestamp', + 'interval_in_seconds' + ) ); + } + + /** + * Unserialize interval schedules serialized/stored prior to AS 3.0.0 + * + * For more background, @see ActionScheduler_Abstract_RecurringSchedule::__wakeup(). + */ + public function __wakeup() { + if ( is_null( $this->scheduled_timestamp ) && ! is_null( $this->start_timestamp ) ) { + $this->scheduled_timestamp = $this->start_timestamp; + unset( $this->start_timestamp ); + } + + if ( is_null( $this->recurrence ) && ! is_null( $this->interval_in_seconds ) ) { + $this->recurrence = $this->interval_in_seconds; + unset( $this->interval_in_seconds ); + } + parent::__wakeup(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_NullSchedule.php b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_NullSchedule.php new file mode 100644 index 0000000..1b1afec --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_NullSchedule.php @@ -0,0 +1,31 @@ +scheduled_date = null; + } + + /** + * This schedule has no scheduled DateTime, so we need to override the parent __sleep() + * @return array + */ + public function __sleep() { + return array(); + } + + public function __wakeup() { + $this->scheduled_date = null; + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php new file mode 100644 index 0000000..d61a9f7 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php @@ -0,0 +1,18 @@ +__wakeup() for details. + **/ + private $timestamp = NULL; + + /** + * @param DateTime $after + * + * @return DateTime|null + */ + public function calculate_next( DateTime $after ) { + return null; + } + + /** + * @return bool + */ + public function is_recurring() { + return false; + } + + /** + * Serialize schedule with data required prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, schedules used different property names to refer + * to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. Action Scheduler 3.0.0 + * aligned properties and property names for better inheritance. To guard against the + * scheduled date for single actions always being seen as "now" if downgrading to + * Action Scheduler < 3.0.0, we need to also store the data with the old property names + * so if it's unserialized in AS < 3.0, the schedule doesn't end up with a null recurrence. + * + * @return array + */ + public function __sleep() { + + $sleep_params = parent::__sleep(); + + $this->timestamp = $this->scheduled_timestamp; + + return array_merge( $sleep_params, array( + 'timestamp', + ) ); + } + + /** + * Unserialize recurring schedules serialized/stored prior to AS 3.0.0 + * + * Prior to Action Scheduler 3.0.0, schedules used different property names to refer + * to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp + * was the same as ActionScheduler_SimpleSchedule::timestamp. Action Scheduler 3.0.0 + * aligned properties and property names for better inheritance. To maintain backward + * compatibility with schedules serialized and stored prior to 3.0, we need to correctly + * map the old property names with matching visibility. + */ + public function __wakeup() { + + if ( is_null( $this->scheduled_timestamp ) && ! is_null( $this->timestamp ) ) { + $this->scheduled_timestamp = $this->timestamp; + unset( $this->timestamp ); + } + parent::__wakeup(); + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_LoggerSchema.php b/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_LoggerSchema.php new file mode 100644 index 0000000..c52d37c --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_LoggerSchema.php @@ -0,0 +1,90 @@ +tables = [ + self::LOG_TABLE, + ]; + } + + /** + * Performs additional setup work required to support this schema. + */ + public function init() { + add_action( 'action_scheduler_before_schema_update', array( $this, 'update_schema_3_0' ), 10, 2 ); + } + + protected function get_table_definition( $table ) { + global $wpdb; + $table_name = $wpdb->$table; + $charset_collate = $wpdb->get_charset_collate(); + switch ( $table ) { + + case self::LOG_TABLE: + + $default_date = ActionScheduler_StoreSchema::DEFAULT_DATE; + return "CREATE TABLE $table_name ( + log_id bigint(20) unsigned NOT NULL auto_increment, + action_id bigint(20) unsigned NOT NULL, + message text NOT NULL, + log_date_gmt datetime NULL default '{$default_date}', + log_date_local datetime NULL default '{$default_date}', + PRIMARY KEY (log_id), + KEY action_id (action_id), + KEY log_date_gmt (log_date_gmt) + ) $charset_collate"; + + default: + return ''; + } + } + + /** + * Update the logs table schema, allowing datetime fields to be NULL. + * + * This is needed because the NOT NULL constraint causes a conflict with some versions of MySQL + * configured with sql_mode=NO_ZERO_DATE, which can for instance lead to tables not being created. + * + * Most other schema updates happen via ActionScheduler_Abstract_Schema::update_table(), however + * that method relies on dbDelta() and this change is not possible when using that function. + * + * @param string $table Name of table being updated. + * @param string $db_version The existing schema version of the table. + */ + public function update_schema_3_0( $table, $db_version ) { + global $wpdb; + + if ( 'actionscheduler_logs' !== $table || version_compare( $db_version, '3', '>=' ) ) { + return; + } + + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared + $table_name = $wpdb->prefix . 'actionscheduler_logs'; + $table_list = $wpdb->get_col( "SHOW TABLES LIKE '{$table_name}'" ); + $default_date = ActionScheduler_StoreSchema::DEFAULT_DATE; + + if ( ! empty( $table_list ) ) { + $query = " + ALTER TABLE {$table_name} + MODIFY COLUMN log_date_gmt datetime NULL default '{$default_date}', + MODIFY COLUMN log_date_local datetime NULL default '{$default_date}' + "; + $wpdb->query( $query ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared + } +} diff --git a/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_StoreSchema.php b/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_StoreSchema.php new file mode 100644 index 0000000..d52f27f --- /dev/null +++ b/inc/Dependencies/ActionScheduler/classes/schema/ActionScheduler_StoreSchema.php @@ -0,0 +1,129 @@ +tables = [ + self::ACTIONS_TABLE, + self::CLAIMS_TABLE, + self::GROUPS_TABLE, + ]; + } + + /** + * Performs additional setup work required to support this schema. + */ + public function init() { + add_action( 'action_scheduler_before_schema_update', array( $this, 'update_schema_5_0' ), 10, 2 ); + } + + protected function get_table_definition( $table ) { + global $wpdb; + $table_name = $wpdb->$table; + $charset_collate = $wpdb->get_charset_collate(); + $max_index_length = 191; // @see wp_get_db_schema() + $default_date = self::DEFAULT_DATE; + switch ( $table ) { + + case self::ACTIONS_TABLE: + + return "CREATE TABLE {$table_name} ( + action_id bigint(20) unsigned NOT NULL auto_increment, + hook varchar(191) NOT NULL, + status varchar(20) NOT NULL, + scheduled_date_gmt datetime NULL default '{$default_date}', + scheduled_date_local datetime NULL default '{$default_date}', + args varchar($max_index_length), + schedule longtext, + group_id bigint(20) unsigned NOT NULL default '0', + attempts int(11) NOT NULL default '0', + last_attempt_gmt datetime NULL default '{$default_date}', + last_attempt_local datetime NULL default '{$default_date}', + claim_id bigint(20) unsigned NOT NULL default '0', + extended_args varchar(8000) DEFAULT NULL, + PRIMARY KEY (action_id), + KEY hook (hook($max_index_length)), + KEY status (status), + KEY scheduled_date_gmt (scheduled_date_gmt), + KEY args (args($max_index_length)), + KEY group_id (group_id), + KEY last_attempt_gmt (last_attempt_gmt), + KEY `claim_id_status_scheduled_date_gmt` (`claim_id`, `status`, `scheduled_date_gmt`) + ) $charset_collate"; + + case self::CLAIMS_TABLE: + + return "CREATE TABLE {$table_name} ( + claim_id bigint(20) unsigned NOT NULL auto_increment, + date_created_gmt datetime NULL default '{$default_date}', + PRIMARY KEY (claim_id), + KEY date_created_gmt (date_created_gmt) + ) $charset_collate"; + + case self::GROUPS_TABLE: + + return "CREATE TABLE {$table_name} ( + group_id bigint(20) unsigned NOT NULL auto_increment, + slug varchar(255) NOT NULL, + PRIMARY KEY (group_id), + KEY slug (slug($max_index_length)) + ) $charset_collate"; + + default: + return ''; + } + } + + /** + * Update the actions table schema, allowing datetime fields to be NULL. + * + * This is needed because the NOT NULL constraint causes a conflict with some versions of MySQL + * configured with sql_mode=NO_ZERO_DATE, which can for instance lead to tables not being created. + * + * Most other schema updates happen via ActionScheduler_Abstract_Schema::update_table(), however + * that method relies on dbDelta() and this change is not possible when using that function. + * + * @param string $table Name of table being updated. + * @param string $db_version The existing schema version of the table. + */ + public function update_schema_5_0( $table, $db_version ) { + global $wpdb; + + if ( 'actionscheduler_actions' !== $table || version_compare( $db_version, '5', '>=' ) ) { + return; + } + + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared + $table_name = $wpdb->prefix . 'actionscheduler_actions'; + $table_list = $wpdb->get_col( "SHOW TABLES LIKE '{$table_name}'" ); + $default_date = self::DEFAULT_DATE; + + if ( ! empty( $table_list ) ) { + $query = " + ALTER TABLE {$table_name} + MODIFY COLUMN scheduled_date_gmt datetime NULL default '{$default_date}', + MODIFY COLUMN scheduled_date_local datetime NULL default '{$default_date}', + MODIFY COLUMN last_attempt_gmt datetime NULL default '{$default_date}', + MODIFY COLUMN last_attempt_local datetime NULL default '{$default_date}' + "; + $wpdb->query( $query ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + } + // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared + } +} diff --git a/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php b/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php new file mode 100644 index 0000000..dac17aa --- /dev/null +++ b/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php @@ -0,0 +1,27 @@ +get_date(); + $replacement_method = 'get_date()'; + } else { + $return_value = $this->get_next( $after ); + $replacement_method = 'get_next( $after )'; + } + + _deprecated_function( __METHOD__, '3.0.0', __CLASS__ . '::' . $replacement_method ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + + return $return_value; + } +} diff --git a/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Store_Deprecated.php b/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Store_Deprecated.php new file mode 100644 index 0000000..002dc75 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/deprecated/ActionScheduler_Store_Deprecated.php @@ -0,0 +1,49 @@ +mark_failure( $action_id ); + } + + /** + * Add base hooks + * + * @since 2.2.6 + */ + protected static function hook() { + _deprecated_function( __METHOD__, '3.0.0' ); + } + + /** + * Remove base hooks + * + * @since 2.2.6 + */ + protected static function unhook() { + _deprecated_function( __METHOD__, '3.0.0' ); + } + + /** + * Get the site's local time. + * + * @deprecated 2.1.0 + * @return DateTimeZone + */ + protected function get_local_timezone() { + _deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' ); + return ActionScheduler_TimezoneHelper::get_local_timezone(); + } +} diff --git a/inc/Dependencies/ActionScheduler/deprecated/functions.php b/inc/Dependencies/ActionScheduler/deprecated/functions.php new file mode 100644 index 0000000..f782c4b --- /dev/null +++ b/inc/Dependencies/ActionScheduler/deprecated/functions.php @@ -0,0 +1,126 @@ + '' - the name of the action that will be triggered + * 'args' => NULL - the args array that will be passed with the action + * 'date' => NULL - the scheduled date of the action. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'date_compare' => '<=' - operator for testing "date". accepted values are '!=', '>', '>=', '<', '<=', '=' + * 'modified' => NULL - the date the action was last updated. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'modified_compare' => '<=' - operator for testing "modified". accepted values are '!=', '>', '>=', '<', '<=', '=' + * 'group' => '' - the group the action belongs to + * 'status' => '' - ActionScheduler_Store::STATUS_COMPLETE or ActionScheduler_Store::STATUS_PENDING + * 'claimed' => NULL - TRUE to find claimed actions, FALSE to find unclaimed actions, a string to find a specific claim ID + * 'per_page' => 5 - Number of results to return + * 'offset' => 0 + * 'orderby' => 'date' - accepted values are 'hook', 'group', 'modified', or 'date' + * 'order' => 'ASC' + * @param string $return_format OBJECT, ARRAY_A, or ids + * + * @deprecated 2.1.0 + * + * @return array + */ +function wc_get_scheduled_actions( $args = array(), $return_format = OBJECT ) { + _deprecated_function( __FUNCTION__, '2.1.0', 'as_get_scheduled_actions()' ); + return as_get_scheduled_actions( $args, $return_format ); +} diff --git a/inc/Dependencies/ActionScheduler/functions.php b/inc/Dependencies/ActionScheduler/functions.php new file mode 100644 index 0000000..09ef353 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/functions.php @@ -0,0 +1,424 @@ +async_unique( $hook, $args, $group, $unique ); +} + +/** + * Schedule an action to run one time + * + * @param int $timestamp When the job will run. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @param string $group The group to assign this job to. + * @param bool $unique Whether the action should be unique. + * + * @return int The action ID. + */ +function as_schedule_single_action( $timestamp, $hook, $args = array(), $group = '', $unique = false ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return 0; + } + + /** + * Provides an opportunity to short-circuit the default process for enqueuing single + * actions. + * + * Returning a value other than null from the filter will short-circuit the normal + * process. The expectation in such a scenario is that callbacks will return an integer + * representing the scheduled action ID (scheduled using some alternative process) or else + * zero. + * + * @param int|null $pre_option The value to return instead of the option value. + * @param int $timestamp When the action will run. + * @param string $hook Action hook. + * @param array $args Action arguments. + * @param string $group Action group. + */ + $pre = apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group ); + if ( null !== $pre ) { + return is_int( $pre ) ? $pre : 0; + } + + return ActionScheduler::factory()->single_unique( $hook, $args, $timestamp, $group, $unique ); +} + +/** + * Schedule a recurring action + * + * @param int $timestamp When the first instance of the job will run. + * @param int $interval_in_seconds How long to wait between runs. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @param string $group The group to assign this job to. + * @param bool $unique Whether the action should be unique. + * + * @return int The action ID. + */ +function as_schedule_recurring_action( $timestamp, $interval_in_seconds, $hook, $args = array(), $group = '', $unique = false ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return 0; + } + + /** + * Provides an opportunity to short-circuit the default process for enqueuing recurring + * actions. + * + * Returning a value other than null from the filter will short-circuit the normal + * process. The expectation in such a scenario is that callbacks will return an integer + * representing the scheduled action ID (scheduled using some alternative process) or else + * zero. + * + * @param int|null $pre_option The value to return instead of the option value. + * @param int $timestamp When the action will run. + * @param int $interval_in_seconds How long to wait between runs. + * @param string $hook Action hook. + * @param array $args Action arguments. + * @param string $group Action group. + */ + $pre = apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group ); + if ( null !== $pre ) { + return is_int( $pre ) ? $pre : 0; + } + + return ActionScheduler::factory()->recurring_unique( $hook, $args, $timestamp, $interval_in_seconds, $group, $unique ); +} + +/** + * Schedule an action that recurs on a cron-like schedule. + * + * @param int $timestamp The first instance of the action will be scheduled + * to run at a time calculated after this timestamp matching the cron + * expression. This can be used to delay the first instance of the action. + * @param string $schedule A cron-link schedule string. + * @see http://en.wikipedia.org/wiki/Cron + * * * * * * * + * ┬ ┬ ┬ ┬ ┬ ┬ + * | | | | | | + * | | | | | + year [optional] + * | | | | +----- day of week (0 - 7) (Sunday=0 or 7) + * | | | +---------- month (1 - 12) + * | | +--------------- day of month (1 - 31) + * | +-------------------- hour (0 - 23) + * +------------------------- min (0 - 59) + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @param string $group The group to assign this job to. + * @param bool $unique Whether the action should be unique. + * + * @return int The action ID. + */ +function as_schedule_cron_action( $timestamp, $schedule, $hook, $args = array(), $group = '', $unique = false ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return 0; + } + + /** + * Provides an opportunity to short-circuit the default process for enqueuing cron + * actions. + * + * Returning a value other than null from the filter will short-circuit the normal + * process. The expectation in such a scenario is that callbacks will return an integer + * representing the scheduled action ID (scheduled using some alternative process) or else + * zero. + * + * @param int|null $pre_option The value to return instead of the option value. + * @param int $timestamp When the action will run. + * @param string $schedule Cron-like schedule string. + * @param string $hook Action hook. + * @param array $args Action arguments. + * @param string $group Action group. + */ + $pre = apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group ); + if ( null !== $pre ) { + return is_int( $pre ) ? $pre : 0; + } + + return ActionScheduler::factory()->cron_unique( $hook, $args, $timestamp, $schedule, $group, $unique ); +} + +/** + * Cancel the next occurrence of a scheduled action. + * + * While only the next instance of a recurring or cron action is unscheduled by this method, that will also prevent + * all future instances of that recurring or cron action from being run. Recurring and cron actions are scheduled in + * a sequence instead of all being scheduled at once. Each successive occurrence of a recurring action is scheduled + * only after the former action is run. If the next instance is never run, because it's unscheduled by this function, + * then the following instance will never be scheduled (or exist), which is effectively the same as being unscheduled + * by this method also. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + * @param string $group The group the job is assigned to. + * + * @return int|null The scheduled action ID if a scheduled action was found, or null if no matching action found. + */ +function as_unschedule_action( $hook, $args = array(), $group = '' ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return 0; + } + $params = array( + 'hook' => $hook, + 'status' => ActionScheduler_Store::STATUS_PENDING, + 'orderby' => 'date', + 'order' => 'ASC', + 'group' => $group, + ); + if ( is_array( $args ) ) { + $params['args'] = $args; + } + + $action_id = ActionScheduler::store()->query_action( $params ); + + if ( $action_id ) { + try { + ActionScheduler::store()->cancel_action( $action_id ); + } catch ( Exception $exception ) { + ActionScheduler::logger()->log( + $action_id, + sprintf( + /* translators: %s is the name of the hook to be cancelled. */ + __( 'Caught exception while cancelling action: %s', 'action-scheduler' ), + esc_attr( $hook ) + ) + ); + + $action_id = null; + } + } + + return $action_id; +} + +/** + * Cancel all occurrences of a scheduled action. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + * @param string $group The group the job is assigned to. + */ +function as_unschedule_all_actions( $hook, $args = array(), $group = '' ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return; + } + if ( empty( $args ) ) { + if ( ! empty( $hook ) && empty( $group ) ) { + ActionScheduler_Store::instance()->cancel_actions_by_hook( $hook ); + return; + } + if ( ! empty( $group ) && empty( $hook ) ) { + ActionScheduler_Store::instance()->cancel_actions_by_group( $group ); + return; + } + } + do { + $unscheduled_action = as_unschedule_action( $hook, $args, $group ); + } while ( ! empty( $unscheduled_action ) ); +} + +/** + * Check if there is an existing action in the queue with a given hook, args and group combination. + * + * An action in the queue could be pending, in-progress or async. If the is pending for a time in + * future, its scheduled date will be returned as a timestamp. If it is currently being run, or an + * async action sitting in the queue waiting to be processed, in which case boolean true will be + * returned. Or there may be no async, in-progress or pending action for this hook, in which case, + * boolean false will be the return value. + * + * @param string $hook Name of the hook to search for. + * @param array $args Arguments of the action to be searched. + * @param string $group Group of the action to be searched. + * + * @return int|bool The timestamp for the next occurrence of a pending scheduled action, true for an async or in-progress action or false if there is no matching action. + */ +function as_next_scheduled_action( $hook, $args = null, $group = '' ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return false; + } + + $params = array( + 'hook' => $hook, + 'orderby' => 'date', + 'order' => 'ASC', + 'group' => $group, + ); + + if ( is_array( $args ) ) { + $params['args'] = $args; + } + + $params['status'] = ActionScheduler_Store::STATUS_RUNNING; + $action_id = ActionScheduler::store()->query_action( $params ); + if ( $action_id ) { + return true; + } + + $params['status'] = ActionScheduler_Store::STATUS_PENDING; + $action_id = ActionScheduler::store()->query_action( $params ); + if ( null === $action_id ) { + return false; + } + + $action = ActionScheduler::store()->fetch_action( $action_id ); + $scheduled_date = $action->get_schedule()->get_date(); + if ( $scheduled_date ) { + return (int) $scheduled_date->format( 'U' ); + } elseif ( null === $scheduled_date ) { // pending async action with NullSchedule. + return true; + } + + return false; +} + +/** + * Check if there is a scheduled action in the queue but more efficiently than as_next_scheduled_action(). + * + * It's recommended to use this function when you need to know whether a specific action is currently scheduled + * (pending or in-progress). + * + * @since 3.3.0 + * + * @param string $hook The hook of the action. + * @param array $args Args that have been passed to the action. Null will matches any args. + * @param string $group The group the job is assigned to. + * + * @return bool True if a matching action is pending or in-progress, false otherwise. + */ +function as_has_scheduled_action( $hook, $args = null, $group = '' ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return false; + } + + $query_args = array( + 'hook' => $hook, + 'status' => array( ActionScheduler_Store::STATUS_RUNNING, ActionScheduler_Store::STATUS_PENDING ), + 'group' => $group, + 'orderby' => 'none', + ); + + if ( null !== $args ) { + $query_args['args'] = $args; + } + + $action_id = ActionScheduler::store()->query_action( $query_args ); + + return null !== $action_id; +} + +/** + * Find scheduled actions + * + * @param array $args Possible arguments, with their default values. + * 'hook' => '' - the name of the action that will be triggered. + * 'args' => NULL - the args array that will be passed with the action. + * 'date' => NULL - the scheduled date of the action. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'date_compare' => '<=' - operator for testing "date". accepted values are '!=', '>', '>=', '<', '<=', '='. + * 'modified' => NULL - the date the action was last updated. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'modified_compare' => '<=' - operator for testing "modified". accepted values are '!=', '>', '>=', '<', '<=', '='. + * 'group' => '' - the group the action belongs to. + * 'status' => '' - ActionScheduler_Store::STATUS_COMPLETE or ActionScheduler_Store::STATUS_PENDING. + * 'claimed' => NULL - TRUE to find claimed actions, FALSE to find unclaimed actions, a string to find a specific claim ID. + * 'per_page' => 5 - Number of results to return. + * 'offset' => 0. + * 'orderby' => 'date' - accepted values are 'hook', 'group', 'modified', 'date' or 'none'. + * 'order' => 'ASC'. + * + * @param string $return_format OBJECT, ARRAY_A, or ids. + * + * @return array + */ +function as_get_scheduled_actions( $args = array(), $return_format = OBJECT ) { + if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) { + return array(); + } + $store = ActionScheduler::store(); + foreach ( array( 'date', 'modified' ) as $key ) { + if ( isset( $args[ $key ] ) ) { + $args[ $key ] = as_get_datetime_object( $args[ $key ] ); + } + } + $ids = $store->query_actions( $args ); + + if ( 'ids' === $return_format || 'int' === $return_format ) { + return $ids; + } + + $actions = array(); + foreach ( $ids as $action_id ) { + $actions[ $action_id ] = $store->fetch_action( $action_id ); + } + + if ( ARRAY_A == $return_format ) { + foreach ( $actions as $action_id => $action_object ) { + $actions[ $action_id ] = get_object_vars( $action_object ); + } + } + + return $actions; +} + +/** + * Helper function to create an instance of DateTime based on a given + * string and timezone. By default, will return the current date/time + * in the UTC timezone. + * + * Needed because new DateTime() called without an explicit timezone + * will create a date/time in PHP's timezone, but we need to have + * assurance that a date/time uses the right timezone (which we almost + * always want to be UTC), which means we need to always include the + * timezone when instantiating datetimes rather than leaving it up to + * the PHP default. + * + * @param mixed $date_string A date/time string. Valid formats are explained in http://php.net/manual/en/datetime.formats.php. + * @param string $timezone A timezone identifier, like UTC or Europe/Lisbon. The list of valid identifiers is available http://php.net/manual/en/timezones.php. + * + * @return ActionScheduler_DateTime + */ +function as_get_datetime_object( $date_string = null, $timezone = 'UTC' ) { + if ( is_object( $date_string ) && $date_string instanceof DateTime ) { + $date = new ActionScheduler_DateTime( $date_string->format( 'Y-m-d H:i:s' ), new DateTimeZone( $timezone ) ); + } elseif ( is_numeric( $date_string ) ) { + $date = new ActionScheduler_DateTime( '@' . $date_string, new DateTimeZone( $timezone ) ); + } else { + $date = new ActionScheduler_DateTime( null === $date_string ? 'now' : $date_string, new DateTimeZone( $timezone ) ); + } + return $date; +} diff --git a/inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php b/inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php new file mode 100644 index 0000000..ff5e29b --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php @@ -0,0 +1,191 @@ +identifier = $this->prefix . '_' . $this->action; + + add_action( 'wp_ajax_' . $this->identifier, array( $this, 'maybe_handle' ) ); + add_action( 'wp_ajax_nopriv_' . $this->identifier, array( $this, 'maybe_handle' ) ); + } + + /** + * Set data used during the request + * + * @param array $data Data. + * + * @return $this + */ + public function data( $data ) { + $this->data = $data; + + return $this; + } + + /** + * Dispatch the async request + * + * @return array|WP_Error + */ + public function dispatch() { + $url = add_query_arg( $this->get_query_args(), $this->get_query_url() ); + $args = $this->get_post_args(); + + return wp_remote_post( esc_url_raw( $url ), $args ); + } + + /** + * Get query args + * + * @return array + */ + protected function get_query_args() { + if ( property_exists( $this, 'query_args' ) ) { + return $this->query_args; + } + + $args = array( + 'action' => $this->identifier, + 'nonce' => wp_create_nonce( $this->identifier ), + ); + + /** + * Filters the post arguments used during an async request. + * + * @param array $url + */ + return apply_filters( $this->identifier . '_query_args', $args ); + } + + /** + * Get query URL + * + * @return string + */ + protected function get_query_url() { + if ( property_exists( $this, 'query_url' ) ) { + return $this->query_url; + } + + $url = admin_url( 'admin-ajax.php' ); + + /** + * Filters the post arguments used during an async request. + * + * @param string $url + */ + return apply_filters( $this->identifier . '_query_url', $url ); + } + + /** + * Get post args + * + * @return array + */ + protected function get_post_args() { + if ( property_exists( $this, 'post_args' ) ) { + return $this->post_args; + } + + $args = array( + 'timeout' => 0.01, + 'blocking' => false, + 'body' => $this->data, + 'cookies' => $_COOKIE, + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), + ); + + /** + * Filters the post arguments used during an async request. + * + * @param array $args + */ + return apply_filters( $this->identifier . '_post_args', $args ); + } + + /** + * Maybe handle + * + * Check for correct nonce and pass to handler. + */ + public function maybe_handle() { + // Don't lock up other requests while processing + session_write_close(); + + check_ajax_referer( $this->identifier, 'nonce' ); + + $this->handle(); + + wp_die(); + } + + /** + * Handle + * + * Override this method to perform any actions required + * during the async request. + */ + abstract protected function handle(); + + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression.php new file mode 100644 index 0000000..7f33c37 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression.php @@ -0,0 +1,318 @@ + + * @link http://en.wikipedia.org/wiki/Cron + */ +class CronExpression +{ + const MINUTE = 0; + const HOUR = 1; + const DAY = 2; + const MONTH = 3; + const WEEKDAY = 4; + const YEAR = 5; + + /** + * @var array CRON expression parts + */ + private $cronParts; + + /** + * @var CronExpression_FieldFactory CRON field factory + */ + private $fieldFactory; + + /** + * @var array Order in which to test of cron parts + */ + private static $order = array(self::YEAR, self::MONTH, self::DAY, self::WEEKDAY, self::HOUR, self::MINUTE); + + /** + * Factory method to create a new CronExpression. + * + * @param string $expression The CRON expression to create. There are + * several special predefined values which can be used to substitute the + * CRON expression: + * + * @yearly, @annually) - Run once a year, midnight, Jan. 1 - 0 0 1 1 * + * @monthly - Run once a month, midnight, first of month - 0 0 1 * * + * @weekly - Run once a week, midnight on Sun - 0 0 * * 0 + * @daily - Run once a day, midnight - 0 0 * * * + * @hourly - Run once an hour, first minute - 0 * * * * + * +*@param CronExpression_FieldFactory $fieldFactory (optional) Field factory to use + * + * @return CronExpression + */ + public static function factory($expression, CronExpression_FieldFactory $fieldFactory = null) + { + $mappings = array( + '@yearly' => '0 0 1 1 *', + '@annually' => '0 0 1 1 *', + '@monthly' => '0 0 1 * *', + '@weekly' => '0 0 * * 0', + '@daily' => '0 0 * * *', + '@hourly' => '0 * * * *' + ); + + if (isset($mappings[$expression])) { + $expression = $mappings[$expression]; + } + + return new self($expression, $fieldFactory ? $fieldFactory : new CronExpression_FieldFactory()); + } + + /** + * Parse a CRON expression + * + * @param string $expression CRON expression (e.g. '8 * * * *') + * @param CronExpression_FieldFactory $fieldFactory Factory to create cron fields + */ + public function __construct($expression, CronExpression_FieldFactory $fieldFactory) + { + $this->fieldFactory = $fieldFactory; + $this->setExpression($expression); + } + + /** + * Set or change the CRON expression + * + * @param string $value CRON expression (e.g. 8 * * * *) + * + * @return CronExpression + * @throws InvalidArgumentException if not a valid CRON expression + */ + public function setExpression($value) + { + $this->cronParts = preg_split('/\s/', $value, -1, PREG_SPLIT_NO_EMPTY); + if (count($this->cronParts) < 5) { + throw new InvalidArgumentException( + $value . ' is not a valid CRON expression' + ); + } + + foreach ($this->cronParts as $position => $part) { + $this->setPart($position, $part); + } + + return $this; + } + + /** + * Set part of the CRON expression + * + * @param int $position The position of the CRON expression to set + * @param string $value The value to set + * + * @return CronExpression + * @throws InvalidArgumentException if the value is not valid for the part + */ + public function setPart($position, $value) + { + if (!$this->fieldFactory->getField($position)->validate($value)) { + throw new InvalidArgumentException( + 'Invalid CRON field value ' . $value . ' as position ' . $position + ); + } + + $this->cronParts[$position] = $value; + + return $this; + } + + /** + * Get a next run date relative to the current date or a specific date + * + * @param string|DateTime $currentTime (optional) Relative calculation date + * @param int $nth (optional) Number of matches to skip before returning a + * matching next run date. 0, the default, will return the current + * date and time if the next run date falls on the current date and + * time. Setting this value to 1 will skip the first match and go to + * the second match. Setting this value to 2 will skip the first 2 + * matches and so on. + * @param bool $allowCurrentDate (optional) Set to TRUE to return the + * current date if it matches the cron expression + * + * @return DateTime + * @throws RuntimeException on too many iterations + */ + public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false) + { + return $this->getRunDate($currentTime, $nth, false, $allowCurrentDate); + } + + /** + * Get a previous run date relative to the current date or a specific date + * + * @param string|DateTime $currentTime (optional) Relative calculation date + * @param int $nth (optional) Number of matches to skip before returning + * @param bool $allowCurrentDate (optional) Set to TRUE to return the + * current date if it matches the cron expression + * + * @return DateTime + * @throws RuntimeException on too many iterations + * @see CronExpression::getNextRunDate + */ + public function getPreviousRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false) + { + return $this->getRunDate($currentTime, $nth, true, $allowCurrentDate); + } + + /** + * Get multiple run dates starting at the current date or a specific date + * + * @param int $total Set the total number of dates to calculate + * @param string|DateTime $currentTime (optional) Relative calculation date + * @param bool $invert (optional) Set to TRUE to retrieve previous dates + * @param bool $allowCurrentDate (optional) Set to TRUE to return the + * current date if it matches the cron expression + * + * @return array Returns an array of run dates + */ + public function getMultipleRunDates($total, $currentTime = 'now', $invert = false, $allowCurrentDate = false) + { + $matches = array(); + for ($i = 0; $i < max(0, $total); $i++) { + $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate); + } + + return $matches; + } + + /** + * Get all or part of the CRON expression + * + * @param string $part (optional) Specify the part to retrieve or NULL to + * get the full cron schedule string. + * + * @return string|null Returns the CRON expression, a part of the + * CRON expression, or NULL if the part was specified but not found + */ + public function getExpression($part = null) + { + if (null === $part) { + return implode(' ', $this->cronParts); + } elseif (array_key_exists($part, $this->cronParts)) { + return $this->cronParts[$part]; + } + + return null; + } + + /** + * Helper method to output the full expression. + * + * @return string Full CRON expression + */ + public function __toString() + { + return $this->getExpression(); + } + + /** + * Determine if the cron is due to run based on the current date or a + * specific date. This method assumes that the current number of + * seconds are irrelevant, and should be called once per minute. + * + * @param string|DateTime $currentTime (optional) Relative calculation date + * + * @return bool Returns TRUE if the cron is due to run or FALSE if not + */ + public function isDue($currentTime = 'now') + { + if ('now' === $currentTime) { + $currentDate = date('Y-m-d H:i'); + $currentTime = strtotime($currentDate); + } elseif ($currentTime instanceof DateTime) { + $currentDate = $currentTime->format('Y-m-d H:i'); + $currentTime = strtotime($currentDate); + } else { + $currentTime = new DateTime($currentTime); + $currentTime->setTime($currentTime->format('H'), $currentTime->format('i'), 0); + $currentDate = $currentTime->format('Y-m-d H:i'); + $currentTime = (int)($currentTime->getTimestamp()); + } + + return $this->getNextRunDate($currentDate, 0, true)->getTimestamp() == $currentTime; + } + + /** + * Get the next or previous run date of the expression relative to a date + * + * @param string|DateTime $currentTime (optional) Relative calculation date + * @param int $nth (optional) Number of matches to skip before returning + * @param bool $invert (optional) Set to TRUE to go backwards in time + * @param bool $allowCurrentDate (optional) Set to TRUE to return the + * current date if it matches the cron expression + * + * @return DateTime + * @throws RuntimeException on too many iterations + */ + protected function getRunDate($currentTime = null, $nth = 0, $invert = false, $allowCurrentDate = false) + { + if ($currentTime instanceof DateTime) { + $currentDate = $currentTime; + } else { + $currentDate = new DateTime($currentTime ? $currentTime : 'now'); + $currentDate->setTimezone(new DateTimeZone(date_default_timezone_get())); + } + + $currentDate->setTime($currentDate->format('H'), $currentDate->format('i'), 0); + $nextRun = clone $currentDate; + $nth = (int) $nth; + + // Set a hard limit to bail on an impossible date + for ($i = 0; $i < 1000; $i++) { + + foreach (self::$order as $position) { + $part = $this->getExpression($position); + if (null === $part) { + continue; + } + + $satisfied = false; + // Get the field object used to validate this part + $field = $this->fieldFactory->getField($position); + // Check if this is singular or a list + if (strpos($part, ',') === false) { + $satisfied = $field->isSatisfiedBy($nextRun, $part); + } else { + foreach (array_map('trim', explode(',', $part)) as $listPart) { + if ($field->isSatisfiedBy($nextRun, $listPart)) { + $satisfied = true; + break; + } + } + } + + // If the field is not satisfied, then start over + if (!$satisfied) { + $field->increment($nextRun, $invert); + continue 2; + } + } + + // Skip this match if needed + if ((!$allowCurrentDate && $nextRun == $currentDate) || --$nth > -1) { + $this->fieldFactory->getField(0)->increment($nextRun, $invert); + continue; + } + + return $nextRun; + } + + // @codeCoverageIgnoreStart + throw new RuntimeException('Impossible CRON expression'); + // @codeCoverageIgnoreEnd + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_AbstractField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_AbstractField.php new file mode 100644 index 0000000..f8d5c00 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_AbstractField.php @@ -0,0 +1,100 @@ + + */ +abstract class CronExpression_AbstractField implements CronExpression_FieldInterface +{ + /** + * Check to see if a field is satisfied by a value + * + * @param string $dateValue Date value to check + * @param string $value Value to test + * + * @return bool + */ + public function isSatisfied($dateValue, $value) + { + if ($this->isIncrementsOfRanges($value)) { + return $this->isInIncrementsOfRanges($dateValue, $value); + } elseif ($this->isRange($value)) { + return $this->isInRange($dateValue, $value); + } + + return $value == '*' || $dateValue == $value; + } + + /** + * Check if a value is a range + * + * @param string $value Value to test + * + * @return bool + */ + public function isRange($value) + { + return strpos($value, '-') !== false; + } + + /** + * Check if a value is an increments of ranges + * + * @param string $value Value to test + * + * @return bool + */ + public function isIncrementsOfRanges($value) + { + return strpos($value, '/') !== false; + } + + /** + * Test if a value is within a range + * + * @param string $dateValue Set date value + * @param string $value Value to test + * + * @return bool + */ + public function isInRange($dateValue, $value) + { + $parts = array_map('trim', explode('-', $value, 2)); + + return $dateValue >= $parts[0] && $dateValue <= $parts[1]; + } + + /** + * Test if a value is within an increments of ranges (offset[-to]/step size) + * + * @param string $dateValue Set date value + * @param string $value Value to test + * + * @return bool + */ + public function isInIncrementsOfRanges($dateValue, $value) + { + $parts = array_map('trim', explode('/', $value, 2)); + $stepSize = isset($parts[1]) ? $parts[1] : 0; + if ($parts[0] == '*' || $parts[0] === '0') { + return (int) $dateValue % $stepSize == 0; + } + + $range = explode('-', $parts[0], 2); + $offset = $range[0]; + $to = isset($range[1]) ? $range[1] : $dateValue; + // Ensure that the date value is within the range + if ($dateValue < $offset || $dateValue > $to) { + return false; + } + + for ($i = $offset; $i <= $to; $i+= $stepSize) { + if ($i == $dateValue) { + return true; + } + } + + return false; + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfMonthField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfMonthField.php new file mode 100644 index 0000000..40c1d6c --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfMonthField.php @@ -0,0 +1,110 @@ + + */ +class CronExpression_DayOfMonthField extends CronExpression_AbstractField +{ + /** + * Get the nearest day of the week for a given day in a month + * + * @param int $currentYear Current year + * @param int $currentMonth Current month + * @param int $targetDay Target day of the month + * + * @return DateTime Returns the nearest date + */ + private static function getNearestWeekday($currentYear, $currentMonth, $targetDay) + { + $tday = str_pad($targetDay, 2, '0', STR_PAD_LEFT); + $target = new DateTime("$currentYear-$currentMonth-$tday"); + $currentWeekday = (int) $target->format('N'); + + if ($currentWeekday < 6) { + return $target; + } + + $lastDayOfMonth = $target->format('t'); + + foreach (array(-1, 1, -2, 2) as $i) { + $adjusted = $targetDay + $i; + if ($adjusted > 0 && $adjusted <= $lastDayOfMonth) { + $target->setDate($currentYear, $currentMonth, $adjusted); + if ($target->format('N') < 6 && $target->format('m') == $currentMonth) { + return $target; + } + } + } + } + + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + // ? states that the field value is to be skipped + if ($value == '?') { + return true; + } + + $fieldValue = $date->format('d'); + + // Check to see if this is the last day of the month + if ($value == 'L') { + return $fieldValue == $date->format('t'); + } + + // Check to see if this is the nearest weekday to a particular value + if (strpos($value, 'W')) { + // Parse the target day + $targetDay = substr($value, 0, strpos($value, 'W')); + // Find out if the current day is the nearest day of the week + return $date->format('j') == self::getNearestWeekday( + $date->format('Y'), + $date->format('m'), + $targetDay + )->format('j'); + } + + return $this->isSatisfied($date->format('d'), $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + if ($invert) { + $date->modify('previous day'); + $date->setTime(23, 59); + } else { + $date->modify('next day'); + $date->setTime(0, 0); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-\?LW0-9A-Za-z]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfWeekField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfWeekField.php new file mode 100644 index 0000000..e9f68a7 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_DayOfWeekField.php @@ -0,0 +1,124 @@ + + */ +class CronExpression_DayOfWeekField extends CronExpression_AbstractField +{ + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + if ($value == '?') { + return true; + } + + // Convert text day of the week values to integers + $value = str_ireplace( + array('SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'), + range(0, 6), + $value + ); + + $currentYear = $date->format('Y'); + $currentMonth = $date->format('m'); + $lastDayOfMonth = $date->format('t'); + + // Find out if this is the last specific weekday of the month + if (strpos($value, 'L')) { + $weekday = str_replace('7', '0', substr($value, 0, strpos($value, 'L'))); + $tdate = clone $date; + $tdate->setDate($currentYear, $currentMonth, $lastDayOfMonth); + while ($tdate->format('w') != $weekday) { + $tdate->setDate($currentYear, $currentMonth, --$lastDayOfMonth); + } + + return $date->format('j') == $lastDayOfMonth; + } + + // Handle # hash tokens + if (strpos($value, '#')) { + list($weekday, $nth) = explode('#', $value); + // Validate the hash fields + if ($weekday < 1 || $weekday > 5) { + throw new InvalidArgumentException("Weekday must be a value between 1 and 5. {$weekday} given"); + } + if ($nth > 5) { + throw new InvalidArgumentException('There are never more than 5 of a given weekday in a month'); + } + // The current weekday must match the targeted weekday to proceed + if ($date->format('N') != $weekday) { + return false; + } + + $tdate = clone $date; + $tdate->setDate($currentYear, $currentMonth, 1); + $dayCount = 0; + $currentDay = 1; + while ($currentDay < $lastDayOfMonth + 1) { + if ($tdate->format('N') == $weekday) { + if (++$dayCount >= $nth) { + break; + } + } + $tdate->setDate($currentYear, $currentMonth, ++$currentDay); + } + + return $date->format('j') == $currentDay; + } + + // Handle day of the week values + if (strpos($value, '-')) { + $parts = explode('-', $value); + if ($parts[0] == '7') { + $parts[0] = '0'; + } elseif ($parts[1] == '0') { + $parts[1] = '7'; + } + $value = implode('-', $parts); + } + + // Test to see which Sunday to use -- 0 == 7 == Sunday + $format = in_array(7, str_split($value)) ? 'N' : 'w'; + $fieldValue = $date->format($format); + + return $this->isSatisfied($fieldValue, $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + if ($invert) { + $date->modify('-1 day'); + $date->setTime(23, 59, 0); + } else { + $date->modify('+1 day'); + $date->setTime(0, 0, 0); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-0-9A-Z]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldFactory.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldFactory.php new file mode 100644 index 0000000..556ba1a --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldFactory.php @@ -0,0 +1,55 @@ + + * @link http://en.wikipedia.org/wiki/Cron + */ +class CronExpression_FieldFactory +{ + /** + * @var array Cache of instantiated fields + */ + private $fields = array(); + + /** + * Get an instance of a field object for a cron expression position + * + * @param int $position CRON expression position value to retrieve + * + * @return CronExpression_FieldInterface + * @throws InvalidArgumentException if a position is not valid + */ + public function getField($position) + { + if (!isset($this->fields[$position])) { + switch ($position) { + case 0: + $this->fields[$position] = new CronExpression_MinutesField(); + break; + case 1: + $this->fields[$position] = new CronExpression_HoursField(); + break; + case 2: + $this->fields[$position] = new CronExpression_DayOfMonthField(); + break; + case 3: + $this->fields[$position] = new CronExpression_MonthField(); + break; + case 4: + $this->fields[$position] = new CronExpression_DayOfWeekField(); + break; + case 5: + $this->fields[$position] = new CronExpression_YearField(); + break; + default: + throw new InvalidArgumentException( + $position . ' is not a valid position' + ); + } + } + + return $this->fields[$position]; + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldInterface.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldInterface.php new file mode 100644 index 0000000..5d5109b --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_FieldInterface.php @@ -0,0 +1,39 @@ + + */ +interface CronExpression_FieldInterface +{ + /** + * Check if the respective value of a DateTime field satisfies a CRON exp + * + * @param DateTime $date DateTime object to check + * @param string $value CRON expression to test against + * + * @return bool Returns TRUE if satisfied, FALSE otherwise + */ + public function isSatisfiedBy(DateTime $date, $value); + + /** + * When a CRON expression is not satisfied, this method is used to increment + * or decrement a DateTime object by the unit of the cron field + * + * @param DateTime $date DateTime object to change + * @param bool $invert (optional) Set to TRUE to decrement + * + * @return CronExpression_FieldInterface + */ + public function increment(DateTime $date, $invert = false); + + /** + * Validates a CRON expression for a given field + * + * @param string $value CRON expression value to validate + * + * @return bool Returns TRUE if valid, FALSE otherwise + */ + public function validate($value); +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_HoursField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_HoursField.php new file mode 100644 index 0000000..088ca73 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_HoursField.php @@ -0,0 +1,47 @@ + + */ +class CronExpression_HoursField extends CronExpression_AbstractField +{ + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + return $this->isSatisfied($date->format('H'), $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + // Change timezone to UTC temporarily. This will + // allow us to go back or forwards and hour even + // if DST will be changed between the hours. + $timezone = $date->getTimezone(); + $date->setTimezone(new DateTimeZone('UTC')); + if ($invert) { + $date->modify('-1 hour'); + $date->setTime($date->format('H'), 59); + } else { + $date->modify('+1 hour'); + $date->setTime($date->format('H'), 0); + } + $date->setTimezone($timezone); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-0-9]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MinutesField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MinutesField.php new file mode 100644 index 0000000..436acf2 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MinutesField.php @@ -0,0 +1,39 @@ + + */ +class CronExpression_MinutesField extends CronExpression_AbstractField +{ + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + return $this->isSatisfied($date->format('i'), $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + if ($invert) { + $date->modify('-1 minute'); + } else { + $date->modify('+1 minute'); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-0-9]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MonthField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MonthField.php new file mode 100644 index 0000000..d3deb12 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_MonthField.php @@ -0,0 +1,55 @@ + + */ +class CronExpression_MonthField extends CronExpression_AbstractField +{ + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + // Convert text month values to integers + $value = str_ireplace( + array( + 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', + 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC' + ), + range(1, 12), + $value + ); + + return $this->isSatisfied($date->format('m'), $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + if ($invert) { + // $date->modify('last day of previous month'); // remove for php 5.2 compat + $date->modify('previous month'); + $date->modify($date->format('Y-m-t')); + $date->setTime(23, 59); + } else { + //$date->modify('first day of next month'); // remove for php 5.2 compat + $date->modify('next month'); + $date->modify($date->format('Y-m-01')); + $date->setTime(0, 0); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-0-9A-Z]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_YearField.php b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_YearField.php new file mode 100644 index 0000000..f11562e --- /dev/null +++ b/inc/Dependencies/ActionScheduler/lib/cron-expression/CronExpression_YearField.php @@ -0,0 +1,43 @@ + + */ +class CronExpression_YearField extends CronExpression_AbstractField +{ + /** + * {@inheritdoc} + */ + public function isSatisfiedBy(DateTime $date, $value) + { + return $this->isSatisfied($date->format('Y'), $value); + } + + /** + * {@inheritdoc} + */ + public function increment(DateTime $date, $invert = false) + { + if ($invert) { + $date->modify('-1 year'); + $date->setDate($date->format('Y'), 12, 31); + $date->setTime(23, 59, 0); + } else { + $date->modify('+1 year'); + $date->setDate($date->format('Y'), 1, 1); + $date->setTime(0, 0, 0); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function validate($value) + { + return (bool) preg_match('/[\*,\/\-0-9]+/', $value); + } +} diff --git a/inc/Dependencies/ActionScheduler/license.txt b/inc/Dependencies/ActionScheduler/license.txt new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/license.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/inc/Dependencies/ActionScheduler/readme.txt b/inc/Dependencies/ActionScheduler/readme.txt new file mode 100644 index 0000000..3518b15 --- /dev/null +++ b/inc/Dependencies/ActionScheduler/readme.txt @@ -0,0 +1,125 @@ +=== Action Scheduler === +Contributors: Automattic, wpmuguru, claudiosanches, peterfabian1000, vedjain, jamosova, obliviousharmony, konamiman, sadowski, royho, barryhughes-1 +Tags: scheduler, cron +Requires at least: 5.2 +Tested up to: 6.0 +Stable tag: 3.5.4 +License: GPLv3 +Requires PHP: 5.6 + +Action Scheduler - Job Queue for WordPress + +== Description == + +Action Scheduler is a scalable, traceable job queue for background processing large sets of actions in WordPress. It's specially designed to be distributed in WordPress plugins. + +Action Scheduler works by triggering an action hook to run at some time in the future. Each hook can be scheduled with unique data, to allow callbacks to perform operations on that data. The hook can also be scheduled to run on one or more occassions. + +Think of it like an extension to `do_action()` which adds the ability to delay and repeat a hook. + +## Battle-Tested Background Processing + +Every month, Action Scheduler processes millions of payments for [Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/), webhooks for [WooCommerce](https://wordpress.org/plugins/woocommerce/), as well as emails and other events for a range of other plugins. + +It's been seen on live sites processing queues in excess of 50,000 jobs and doing resource intensive operations, like processing payments and creating orders, at a sustained rate of over 10,000 / hour without negatively impacting normal site operations. + +This is all on infrastructure and WordPress sites outside the control of the plugin author. + +If your plugin needs background processing, especially of large sets of tasks, Action Scheduler can help. + +## Learn More + +To learn more about how to Action Scheduler works, and how to use it in your plugin, check out the docs on [ActionScheduler.org](https://actionscheduler.org). + +There you will find: + +* [Usage guide](https://actionscheduler.org/usage/): instructions on installing and using Action Scheduler +* [WP CLI guide](https://actionscheduler.org/wp-cli/): instructions on running Action Scheduler at scale via WP CLI +* [API Reference](https://actionscheduler.org/api/): complete reference guide for all API functions +* [Administration Guide](https://actionscheduler.org/admin/): guide to managing scheduled actions via the administration screen +* [Guide to Background Processing at Scale](https://actionscheduler.org/perf/): instructions for running Action Scheduler at scale via the default WP Cron queue runner + +## Credits + +Action Scheduler is developed and maintained by [Automattic](http://automattic.com/) with significant early development completed by [Flightless](https://flightless.us/). + +Collaboration is cool. We'd love to work with you to improve Action Scheduler. [Pull Requests](https://github.com/woocommerce/action-scheduler/pulls) welcome. + +== Changelog == + += 3.5.4 - 2023-01-17 = +* Add pre filters during action registration. +* Async scheduling. +* Calculate timeouts based on total actions. +* Correctly order the parameters for `ActionScheduler_ActionFactory`'s calls to `single_unique`. +* Fetch action in memory first before releasing claim to avoid deadlock. +* PHP 8.2: declare property to fix creation of dynamic property warning. +* PHP 8.2: fix "Using ${var} in strings is deprecated, use {$var} instead". +* Prevent `undefined variable` warning for `$num_pastdue_actions`. + += 3.5.3 - 2022-11-09 = +* Query actions with partial match. + += 3.5.2 - 2022-09-16 = +* Fix - erroneous 3.5.1 release. + += 3.5.1 - 2022-09-13 = +* Maintenance on A/S docs. +* fix: PHP 8.2 deprecated notice. + += 3.5.0 - 2022-08-25 = +* Add - The active view link within the "Tools > Scheduled Actions" screen is now clickable. +* Add - A warning when there are past-due actions. +* Enhancement - Added the ability to schedule unique actions via an atomic operation. +* Enhancement - Improvements to cache invalidation when processing batches (when running on WordPress 6.0+). +* Enhancement - If a recurring action is found to be consistently failing, it will stop being rescheduled. +* Enhancement - Adds a new "Past Due" view to the scheduled actions list table. + += 3.4.2 - 2022-06-08 = +* Fix - Change the include for better linting. +* Fix - update: Added Action scheduler completed action hook. + += 3.4.1 - 2022-05-24 = +* Fix - Change the include for better linting. +* Fix - Fix the documented return type. + += 3.4.0 - 2021-10-29 = +* Enhancement - Number of items per page can now be set for the Scheduled Actions view (props @ovidiul). #771 +* Fix - Do not lower the max_execution_time if it is already set to 0 (unlimited) (props @barryhughes). #755 +* Fix - Avoid triggering autoloaders during the version resolution process (props @olegabr). #731 & #776 +* Dev - ActionScheduler_wcSystemStatus PHPCS fixes (props @ovidiul). #761 +* Dev - ActionScheduler_DBLogger.php PHPCS fixes (props @ovidiul). #768 +* Dev - Fixed phpcs for ActionScheduler_Schedule_Deprecated (props @ovidiul). #762 +* Dev - Improve actions table indicies (props @glagonikas). #774 & #777 +* Dev - PHPCS fixes for ActionScheduler_DBStore.php (props @ovidiul). #769 & #778 +* Dev - PHPCS Fixes for ActionScheduler_Abstract_ListTable (props @ovidiul). #763 & #779 +* Dev - Adds new filter action_scheduler_claim_actions_order_by to allow tuning of the claim query (props @glagonikas). #773 +* Dev - PHPCS fixes for ActionScheduler_WpPostStore class (props @ovidiul). #780 + += 3.3.0 - 2021-09-15 = +* Enhancement - Adds as_has_scheduled_action() to provide a performant way to test for existing actions. #645 +* Fix - Improves compatibility with environments where NO_ZERO_DATE is enabled. #519 +* Fix - Adds safety checks to guard against errors when our database tables cannot be created. #645 +* Dev - Now supports queries that use multiple statuses. #649 +* Dev - Minimum requirements for WordPress and PHP bumped (to 5.2 and 5.6 respectively). #723 + += 3.2.1 - 2021-06-21 = +* Fix - Add extra safety/account for different versions of AS and different loading patterns. #714 +* Fix - Handle hidden columns (Tools → Scheduled Actions) | #600. + += 3.2.0 - 2021-06-03 = +* Fix - Add "no ordering" option to as_next_scheduled_action(). +* Fix - Add secondary scheduled date checks when claiming actions (DBStore) | #634. +* Fix - Add secondary scheduled date checks when claiming actions (wpPostStore) | #634. +* Fix - Adds a new index to the action table, reducing the potential for deadlocks (props: @glagonikas). +* Fix - Fix unit tests infrastructure and adapt tests to PHP 8. +* Fix - Identify in-use data store. +* Fix - Improve test_migration_is_scheduled. +* Fix - PHP notice on list table. +* Fix - Speed up clean up and batch selects. +* Fix - Update pending dependencies. +* Fix - [PHP 8.0] Only pass action arg values through to do_action_ref_array(). +* Fix - [PHP 8] Set the PHP version to 7.1 in composer.json for PHP 8 compatibility. +* Fix - add is_initialized() to docs. +* Fix - fix file permissions. +* Fix - fixes #664 by replacing __ with esc_html__. diff --git a/inc/Dependencies/Database/Base.php b/inc/Dependencies/Database/Base.php new file mode 100644 index 0000000..20fcdb5 --- /dev/null +++ b/inc/Dependencies/Database/Base.php @@ -0,0 +1,344 @@ +{$key}; + } + + // Return null if not exists + return null; + } + + /** + * Converts the given object to an array. + * + * @since 1.0.0 + * + * @return array Array version of the given object. + */ + public function to_array() { + return get_object_vars( $this ); + } + + /** Protected *************************************************************/ + + /** + * Maybe append the prefix to string. + * + * @since 1.0.0 + * + * @param string $string + * @param string $sep + * @return string + */ + protected function apply_prefix( $string = '', $sep = '_' ) { + return ! empty( $this->prefix ) + ? "{$this->prefix}{$sep}{$string}" + : $string; + } + + /** + * Return the first letters of a string of words with a separator. + * + * Used primarily to guess at table aliases when none is manually set. + * + * Applies the following formatting to a string: + * - Trim whitespace + * - No accents + * - No trailing underscores + * + * @since 1.0.0 + * + * @param string $string + * @param string $sep + * @return string + */ + protected function first_letters( $string = '', $sep = '_' ) { + + // Set empty default return value + $retval = ''; + + // Bail if empty or not a string + if ( empty( $string ) || ! is_string( $string ) ) { + return $retval; + } + + // Trim spaces off the ends + $unspace = trim( $string ); + + // Only non-accented table names (avoid truncation) + $accents = remove_accents( $unspace ); + + // Only lowercase letters are allowed + $lower = strtolower( $accents ); + + // Explode into parts + $parts = explode( $sep, $lower ); + + // Loop through parts and concatenate the first letters together + foreach ( $parts as $part ) { + $retval .= substr( $part, 0, 1 ); + } + + // Return the result + return $retval; + } + + /** + * Sanitize a table name string. + * + * Used to make sure that a table name value meets MySQL expectations. + * + * Applies the following formatting to a string: + * - Trim whitespace + * - No accents + * - No special characters + * - No hyphens + * - No double underscores + * - No trailing underscores + * + * @since 1.0.0 + * + * @param string $name The name of the database table + * + * @return string Sanitized database table name + */ + protected function sanitize_table_name( $name = '' ) { + + // Bail if empty or not a string + if ( empty( $name ) || ! is_string( $name ) ) { + return false; + } + + // Trim spaces off the ends + $unspace = trim( $name ); + + // Only non-accented table names (avoid truncation) + $accents = remove_accents( $unspace ); + + // Only lowercase characters, hyphens, and dashes (avoid index corruption) + $lower = sanitize_key( $accents ); + + // Replace hyphens with single underscores + $under = str_replace( '-', '_', $lower ); + + // Single underscores only + $single = str_replace( '__', '_', $under ); + + // Remove trailing underscores + $clean = trim( $single, '_' ); + + // Bail if table name was garbaged + if ( empty( $clean ) ) { + return false; + } + + // Return the cleaned table name + return $clean; + } + + /** + * Set class variables from arguments. + * + * @since 1.0.0 + * @param array $args + */ + protected function set_vars( $args = array() ) { + + // Bail if empty or not an array + if ( empty( $args ) ) { + return; + } + + // Cast to an array + if ( ! is_array( $args ) ) { + $args = (array) $args; + } + + // Set all properties + foreach ( $args as $key => $value ) { + $this->{$key} = $value; + } + } + + /** + * Return the global database interface. + * + * See: https://core.trac.wordpress.org/ticket/31556 + * + * @since 1.0.0 + * + * @return \wpdb Database interface, or False if not set + */ + protected function get_db() { + + // Default database return value (might change) + $retval = false; + + // Look for a commonly used global database interface + if ( isset( $GLOBALS[ $this->db_global ] ) ) { + $retval = $GLOBALS[ $this->db_global ]; + } + + /* + * Developer note: + * + * It should be impossible for a database table to be interacted with + * before the primary database interface is setup. + * + * However, because applications are complicated, it is unsafe to assume + * anything, so this silently returns false instead of halting everything. + * + * If you are here because this method is returning false for you, that + * means the database table is being invoked too early in the lifecycle + * of the application. + * + * In WordPress, that means before the $wpdb global is created; in other + * environments, you will need to adjust accordingly. + */ + + // Return the database interface + return $retval; + } + + /** + * Check if an operation succeeded. + * + * @since 1.0.0 + * + * @param mixed $result + * @return bool + */ + protected function is_success( $result = false ) { + + // Bail if no row exists + if ( empty( $result ) ) { + $retval = false; + + // Bail if an error occurred + } elseif ( is_wp_error( $result ) ) { + $this->last_error = $result; + $retval = false; + + // No errors + } else { + $retval = true; + } + + // Return the result + return (bool) $retval; + } +} diff --git a/inc/Dependencies/Database/Column.php b/inc/Dependencies/Database/Column.php new file mode 100644 index 0000000..97cedaa --- /dev/null +++ b/inc/Dependencies/Database/Column.php @@ -0,0 +1,965 @@ +parse_args( $args ); + + // Maybe set variables from arguments + if ( ! empty( $r ) ) { + $this->set_vars( $r ); + } + } + + /** Argument Handlers *****************************************************/ + + /** + * Parse column arguments + * + * @since 1.0.0 + * @param array $args Default empty array. + * @return array + */ + private function parse_args( $args = array() ) { + + // Parse arguments + $r = wp_parse_args( $args, array( + + // Table + 'name' => '', + 'type' => '', + 'length' => '', + 'unsigned' => false, + 'zerofill' => false, + 'binary' => false, + 'allow_null' => false, + 'default' => '', + 'extra' => '', + 'encoding' => $this->get_db()->charset, + 'collation' => $this->get_db()->collate, + 'comment' => '', + + // Query + 'pattern' => false, + 'searchable' => false, + 'sortable' => false, + 'date_query' => false, + 'transition' => false, + 'in' => true, + 'not_in' => true, + + // Special + 'primary' => false, + 'created' => false, + 'modified' => false, + 'uuid' => false, + + // Cache + 'cache_key' => false, + + // Validation + 'validate' => '', + + // Capabilities + 'caps' => array(), + + // Backwards Compatibility + 'aliases' => array(), + + // Column Relationships + 'relationships' => array() + ) ); + + // Force some arguments for special column types + $r = $this->special_args( $r ); + + // Set the args before they are sanitized + $this->set_vars( $r ); + + // Return array + return $this->validate_args( $r ); + } + + /** + * Validate arguments after they are parsed. + * + * @since 1.0.0 + * @param array $args Default empty array. + * @return array + */ + private function validate_args( $args = array() ) { + + // Sanitization callbacks + $callbacks = array( + 'name' => 'sanitize_key', + 'type' => 'strtoupper', + 'length' => 'intval', + 'unsigned' => 'wp_validate_boolean', + 'zerofill' => 'wp_validate_boolean', + 'binary' => 'wp_validate_boolean', + 'allow_null' => 'wp_validate_boolean', + 'default' => array( $this, 'sanitize_default' ), + 'extra' => 'wp_kses_data', + 'encoding' => 'wp_kses_data', + 'collation' => 'wp_kses_data', + 'comment' => 'wp_kses_data', + + 'primary' => 'wp_validate_boolean', + 'created' => 'wp_validate_boolean', + 'modified' => 'wp_validate_boolean', + 'uuid' => 'wp_validate_boolean', + + 'searchable' => 'wp_validate_boolean', + 'sortable' => 'wp_validate_boolean', + 'date_query' => 'wp_validate_boolean', + 'transition' => 'wp_validate_boolean', + 'in' => 'wp_validate_boolean', + 'not_in' => 'wp_validate_boolean', + 'cache_key' => 'wp_validate_boolean', + + 'pattern' => array( $this, 'sanitize_pattern' ), + 'validate' => array( $this, 'sanitize_validation' ), + 'caps' => array( $this, 'sanitize_capabilities' ), + 'aliases' => array( $this, 'sanitize_aliases' ), + 'relationships' => array( $this, 'sanitize_relationships' ) + ); + + // Default args array + $r = array(); + + // Loop through and try to execute callbacks + foreach ( $args as $key => $value ) { + + // Callback is callable + if ( isset( $callbacks[ $key ] ) && is_callable( $callbacks[ $key ] ) ) { + $r[ $key ] = call_user_func( $callbacks[ $key ], $value ); + + // Callback is malformed so just let it through to avoid breakage + } else { + $r[ $key ] = $value; + } + } + + // Return sanitized arguments + return $r; + } + + /** + * Force column arguments for special column types + * + * @since 1.0.0 + * @param array $args Default empty array. + * @return array + */ + private function special_args( $args = array() ) { + + // Primary key columns are always used as cache keys + if ( ! empty( $args['primary'] ) ) { + $args['cache_key'] = true; + + // All UUID columns need to follow a very specific pattern + } elseif ( ! empty( $args['uuid'] ) ) { + $args['name'] = 'uuid'; + $args['type'] = 'varchar'; + $args['length'] = '100'; + $args['in'] = false; + $args['not_in'] = false; + $args['searchable'] = false; + $args['sortable'] = false; + } + + // Return args + return (array) $args; + } + + /** Public Helpers ********************************************************/ + + /** + * Return if a column type is numeric or not. + * + * @since 1.0.0 + * @return bool + */ + public function is_numeric() { + return $this->is_type( array( + 'tinyint', + 'int', + 'mediumint', + 'bigint' + ) ); + } + + /** Private Helpers *******************************************************/ + + /** + * Return if this column is of a certain type. + * + * @since 1.0.0 + * @param mixed $type Default empty string. The type to check. Also accepts an array. + * @return bool True if of type, False if not + */ + private function is_type( $type = '' ) { + + // If string, cast to array + if ( is_string( $type ) ) { + $type = (array) $type; + } + + // Make them lowercase + $types = array_map( 'strtolower', $type ); + + // Return if match or not + return (bool) in_array( strtolower( $this->type ), $types, true ); + } + + /** Private Sanitizers ****************************************************/ + + /** + * Sanitize capabilities array + * + * @since 1.0.0 + * @param array $caps Default empty array. + * @return array + */ + private function sanitize_capabilities( $caps = array() ) { + return wp_parse_args( $caps, array( + 'select' => 'exist', + 'insert' => 'exist', + 'update' => 'exist', + 'delete' => 'exist' + ) ); + } + + /** + * Sanitize aliases array using `sanitize_key()` + * + * @since 1.0.0 + * @param array $aliases Default empty array. + * @return array + */ + private function sanitize_aliases( $aliases = array() ) { + return array_map( 'sanitize_key', $aliases ); + } + + /** + * Sanitize relationships array + * + * @todo + * @since 1.0.0 + * @param array $relationships Default empty array. + * @return array + */ + private function sanitize_relationships( $relationships = array() ) { + return array_filter( $relationships ); + } + + /** + * Sanitize the default value + * + * @since 1.0.0 + * @param string $default + * @return string|null + */ + private function sanitize_default( $default = '' ) { + + // Null + if ( ( true === $this->allow_null ) && is_null( $default ) ) { + return null; + + // String + } elseif ( is_string( $default ) ) { + return wp_kses_data( $default ); + + // Integer + } elseif ( $this->is_numeric() ) { + return (int) $default; + } + + // @todo datetime, decimal, and other column types + + // Unknown, so return the default's default + return ''; + } + + /** + * Sanitize the pattern + * + * @since 1.0.0 + * @param string $pattern + * @return string + */ + private function sanitize_pattern( $pattern = '%s' ) { + + // Allowed patterns + $allowed_patterns = array( '%s', '%d', '%f' ); + + // Return pattern if allowed + if ( in_array( $pattern, $allowed_patterns, true ) ) { + return $pattern; + } + + // Fallback to digit or string + return $this->is_numeric() + ? '%d' + : '%s'; + } + + /** + * Sanitize the validation callback + * + * @since 1.0.0 + * @param string $callback Default empty string. A callable PHP function name or method + * @return string The most appropriate callback function for the value + */ + private function sanitize_validation( $callback = '' ) { + + // Return callback if it's callable + if ( is_callable( $callback ) ) { + return $callback; + } + + // UUID special column + if ( true === $this->uuid ) { + $callback = array( $this, 'validate_uuid' ); + + // Datetime fallback + } elseif ( $this->is_type( 'datetime' ) ) { + $callback = array( $this, 'validate_datetime' ); + + // Decimal fallback + } elseif ( $this->is_type( 'decimal' ) ) { + $callback = array( $this, 'validate_decimal' ); + + // Intval fallback + } elseif ( $this->is_numeric() ) { + $callback = 'intval'; + } + + // Return the callback + return $callback; + } + + /** Public Validators *****************************************************/ + + /** + * Fallback to validate a datetime value if no other is set. + * + * This assumes NO_ZERO_DATES is off or overridden. + * + * If MySQL drops support for zero dates, this method will need to be + * updated to support different default values based on the environment. + * + * @since 1.0.0 + * @param string $value Default ''. A datetime value that needs validating + * @return string A valid datetime value + */ + public function validate_datetime( $value = '' ) { + + // Handle "empty" values + if ( empty( $value ) || ( '0000-00-00 00:00:00' === $value ) ) { + $value = ! empty( $this->default ) + ? $this->default + : ''; + + // Convert to MySQL datetime format via gmdate() && strtotime + } elseif ( function_exists( 'gmdate' ) ) { + $value = gmdate( 'Y-m-d H:i:s', strtotime( $value ) ); + } + + // Return the validated value + return $value; + } + + /** + * Validate a decimal + * + * (Recommended decimal column length is '18,9'.) + * + * This is used to validate a mixed value before it is saved into a decimal + * column in a database table. + * + * Uses number_format() which does rounding to the last decimal if your + * value is longer than specified. + * + * @since 1.0.0 + * @param mixed $value Default empty string. The decimal value to validate + * @param int $decimals Default 9. The number of decimal points to accept + * @return float + */ + public function validate_decimal( $value = 0, $decimals = 9 ) { + + // Protect against non-numeric values + if ( ! is_numeric( $value ) ) { + $value = 0; + } + + // Protect against non-numeric decimals + if ( ! is_numeric( $decimals ) ) { + $decimals = 9; + } + + // Is the value negative? + $negative_exponent = ( $value < 0 ) + ? -1 + : 1; + + // Only numbers and period + $value = preg_replace( '/[^0-9\.]/', '', (string) $value ); + + // Format to number of decimals, and cast as float + $formatted = number_format( $value, $decimals, '.', '' ); + + // Adjust for negative values + $retval = $formatted * $negative_exponent; + + // Return + return $retval; + } + + /** + * Validate a UUID. + * + * This uses the v4 algorithm to generate a UUID that is used to uniquely + * and universally identify a given database row without any direct + * connection or correlation to the data in that row. + * + * From http://php.net/manual/en/function.uniqid.php#94959 + * + * @since 1.0.0 + * @param string $value The UUID value (empty on insert, string on update) + * @return string Generated UUID. + */ + public function validate_uuid( $value = '' ) { + + // Default URN UUID prefix + $prefix = 'urn:uuid:'; + + // Bail if not empty and correctly prefixed + // (UUIDs should _never_ change once they are set) + if ( ! empty( $value ) && ( 0 === strpos( $value, $prefix ) ) ) { + return $value; + } + + // Put the pieces together + $value = sprintf( "{$prefix}%04x%04x-%04x-%04x-%04x-%04x%04x%04x", + + // 32 bits for "time_low" + mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), + + // 16 bits for "time_mid" + mt_rand( 0, 0xffff ), + + // 16 bits for "time_hi_and_version", + // four most significant bits holds version number 4 + mt_rand( 0, 0x0fff ) | 0x4000, + + // 16 bits, 8 bits for "clk_seq_hi_res", + // 8 bits for "clk_seq_low", + // two most significant bits holds zero and one for variant DCE1.1 + mt_rand( 0, 0x3fff ) | 0x8000, + + // 48 bits for "node" + mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ) + ); + + // Return the new UUID + return $value; + } + + /** Table Helpers *********************************************************/ + + /** + * Return a string representation of what this column's properties look like + * in a MySQL. + * + * @todo + * @since 1.0.0 + * @return string + */ + public function get_create_string() { + + // Default return val + $retval = ''; + + // Bail if no name + if ( ! empty( $this->name ) ) { + $retval .= $this->name; + } + + // Type + if ( ! empty( $this->type ) ) { + $retval .= " {$this->type}"; + } + + // Length + if ( ! empty( $this->length ) ) { + $retval .= '(' . $this->length . ')'; + } + + // Unsigned + if ( ! empty( $this->unsigned ) ) { + $retval .= " unsigned"; + } + + // Zerofill + if ( ! empty( $this->zerofill ) ) { + // TBD + } + + // Binary + if ( ! empty( $this->binary ) ) { + // TBD + } + + // Allow null + if ( ! empty( $this->allow_null ) ) { + $retval .= " NOT NULL "; + } + + // Default + if ( ! empty( $this->default ) ) { + $retval .= " default '{$this->default}'"; + + // A literal false means no default value + } elseif ( false !== $this->default ) { + + // Numeric + if ( $this->is_numeric() ) { + $retval .= " default '0'"; + } elseif ( $this->is_type( 'datetime' ) ) { + $retval .= " default '0000-00-00 00:00:00'"; + } else { + $retval .= " default ''"; + } + } + + // Extra + if ( ! empty( $this->extra ) ) { + $retval .= " {$this->extra}"; + } + + // Encoding + if ( ! empty( $this->encoding ) ) { + + } else { + + } + + // Collation + if ( ! empty( $this->collation ) ) { + + } else { + + } + + // Return the create string + return $retval; + } +} diff --git a/inc/Dependencies/Database/Queries/Compare.php b/inc/Dependencies/Database/Queries/Compare.php new file mode 100644 index 0000000..4091af0 --- /dev/null +++ b/inc/Dependencies/Database/Queries/Compare.php @@ -0,0 +1,180 @@ +', + '>=', + '<', + '<=', + 'LIKE', + 'NOT LIKE', + 'IN', + 'NOT IN', + 'BETWEEN', + 'NOT BETWEEN', + 'EXISTS', + 'NOT EXISTS', + 'REGEXP', + 'NOT REGEXP', + 'RLIKE', + ); + + // IN and BETWEEN + const IN_BETWEEN_COMPARES = array( + 'IN', + 'NOT IN', + 'BETWEEN', + 'NOT BETWEEN' + ); + + /** + * Generate SQL WHERE clauses for a first-order query clause. + * + * "First-order" means that it's an array with a 'key' or 'value'. + * + * @since 1.0.0 + * + * @param array $clause Query clause (passed by reference). + * @param array $parent_query Parent query array. + * @param string $clause_key Optional. The array key used to name the clause in the original `$meta_query` + * parameters. If not provided, a key will be generated automatically. + * @return array { + * Array containing WHERE SQL clauses to append to a first-order query. + * + * @type string $where SQL fragment to append to the main WHERE clause. + * } + */ + public function get_sql_for_clause( &$clause, $parent_query, $clause_key = '' ) { + global $wpdb; + + // Default chunks + $sql_chunks = array( + 'where' => array(), + 'join' => array(), + ); + + // Maybe format compare clause + if ( isset( $clause['compare'] ) ) { + $clause['compare'] = strtoupper( $clause['compare'] ); + + // Or set compare clause based on value + } else { + $clause['compare'] = isset( $clause['value'] ) && is_array( $clause['value'] ) + ? 'IN' + : '='; + } + + // Fallback to equals + if ( ! in_array( $clause['compare'], self::ALL_COMPARES, true ) ) { + $clause['compare'] = '='; + } + + // Uppercase or equals + if ( isset( $clause['compare_key'] ) && ( 'LIKE' === strtoupper( $clause['compare_key'] ) ) ) { + $clause['compare_key'] = strtoupper( $clause['compare_key'] ); + } else { + $clause['compare_key'] = '='; + } + + // Get comparison from clause + $compare = $clause['compare']; + + /** Build the WHERE clause ********************************************/ + + // Column name and value. + if ( array_key_exists( 'key', $clause ) && array_key_exists( 'value', $clause ) ) { + $column = sanitize_key( $clause['key'] ); + $value = $clause['value']; + + // IN or BETWEEN + if ( in_array( $compare, self::IN_BETWEEN_COMPARES, true ) ) { + if ( ! is_array( $value ) ) { + $value = preg_split( '/[,\s]+/', $value ); + } + + // Anything else + } else { + $value = trim( $value ); + } + + // Format WHERE from compare value(s) + switch ( $compare ) { + case 'IN': + case 'NOT IN': + $compare_string = '(' . substr( str_repeat( ',%s', count( $value ) ), 1 ) . ')'; + $where = $wpdb->prepare( $compare_string, $value ); + break; + + case 'BETWEEN': + case 'NOT BETWEEN': + $value = array_slice( $value, 0, 2 ); + $where = $wpdb->prepare( '%s AND %s', $value ); + break; + + case 'LIKE': + case 'NOT LIKE': + $value = '%' . $wpdb->esc_like( $value ) . '%'; + $where = $wpdb->prepare( '%s', $value ); + break; + + // EXISTS with a value is interpreted as '='. + case 'EXISTS': + $compare = '='; + $where = $wpdb->prepare( '%s', $value ); + break; + + // 'value' is ignored for NOT EXISTS. + case 'NOT EXISTS': + $where = ''; + break; + + default: + $where = $wpdb->prepare( '%s', $value ); + break; + + } + + // Maybe add column, compare, & where to chunks + if ( ! empty( $where ) ) { + $sql_chunks['where'][] = "{$column} {$compare} {$where}"; + } + } + + /* + * Multiple WHERE clauses (for meta_key and meta_value) should + * be joined in parentheses. + */ + if ( 1 < count( $sql_chunks['where'] ) ) { + $sql_chunks['where'] = array( '( ' . implode( ' AND ', $sql_chunks['where'] ) . ' )' ); + } + + // Return + return $sql_chunks; + } +} \ No newline at end of file diff --git a/inc/Dependencies/Database/Queries/Date.php b/inc/Dependencies/Database/Queries/Date.php new file mode 100644 index 0000000..d67223e --- /dev/null +++ b/inc/Dependencies/Database/Queries/Date.php @@ -0,0 +1,1317 @@ +', + '>=', + '<', + '<=', + 'IN', + 'NOT IN', + 'BETWEEN', + 'NOT BETWEEN' + ); + + /** + * Supported multi-value comparison types + * + * @since 1.1.0 + * @var array + */ + public $multi_value_keys = array( + 'IN', + 'NOT IN', + 'BETWEEN', + 'NOT BETWEEN' + ); + + /** + * Supported relation types + * + * @since 1.1.0 + * @var array + */ + public $relation_keys = array( + 'OR', + 'AND' + ); + + /** + * Constructor. + * + * Time-related parameters that normally require integer values ('year', 'month', 'week', 'dayofyear', 'day', + * 'dayofweek', 'dayofweek_iso', 'hour', 'minute', 'second') accept arrays of integers for some values of + * 'compare'. When 'compare' is 'IN' or 'NOT IN', arrays are accepted; when 'compare' is 'BETWEEN' or 'NOT + * BETWEEN', arrays of two valid values are required. See individual argument descriptions for accepted values. + * + * @since 1.0.0 + * + * @param array $date_query { + * Array of date query clauses. + * + * @type array ...$0 { + * @type string $column Optional. The column to query against. If undefined, inherits the value of + * 'date_created'. Accepts 'date_created', 'date_created_gmt', + * 'post_modified','post_modified_gmt', 'comment_date', 'comment_date_gmt'. + * Default 'date_created'. + * @type string $compare Optional. The comparison operator. Accepts '=', '!=', '>', '>=', '<', '<=', + * 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. Default '='. + * @type string $relation Optional. The boolean relationship between the date queries. Accepts 'OR' or 'AND'. + * Default 'OR'. + * @type int|array $start_of_week Optional. Day that week starts on. Accepts numbers 0-6 + * (0 = Sunday, 1 is Monday). Default 0. + * @type array ...$0 { + * Optional. An array of first-order clause parameters, or another fully-formed date query. + * + * @type string|array $before { + * Optional. Date to retrieve posts before. Accepts `strtotime()`-compatible string, + * or array of 'year', 'month', 'day' values. + * + * @type string $year The four-digit year. Default empty. Accepts any four-digit year. + * @type string $month Optional when passing array.The month of the year. + * Default (string:empty)|(array:1). Accepts numbers 1-12. + * @type string $day Optional when passing array.The day of the month. + * Default (string:empty)|(array:1). Accepts numbers 1-31. + * } + * @type string|array $after { + * Optional. Date to retrieve posts after. Accepts `strtotime()`-compatible string, + * or array of 'year', 'month', 'day' values. + * + * @type string $year The four-digit year. Accepts any four-digit year. Default empty. + * @type string $month Optional when passing array. The month of the year. Accepts numbers 1-12. + * Default (string:empty)|(array:12). + * @type string $day Optional when passing array.The day of the month. Accepts numbers 1-31. + * Default (string:empty)|(array:last day of month). + * } + * @type string $column Optional. Used to add a clause comparing a column other than the + * column specified in the top-level `$column` parameter. Accepts + * 'date_created', 'date_created_gmt', 'post_modified', 'post_modified_gmt', + * 'comment_date', 'comment_date_gmt'. Default is the value of + * top-level `$column`. + * @type string $compare Optional. The comparison operator. Accepts '=', '!=', '>', '>=', + * '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. 'IN', + * 'NOT IN', 'BETWEEN', and 'NOT BETWEEN'. Comparisons support + * arrays in some time-related parameters. Default '='. + * @type int|array $start_of_week Optional. Day that week starts on. Accepts numbers 0-6 + * (0 = Sunday, 1 is Monday). Default 0. + * @type bool $inclusive Optional. Include results from dates specified in 'before' or + * 'after'. Default false. + * @type int|array $year Optional. The four-digit year number. Accepts any four-digit year + * or an array of years if `$compare` supports it. Default empty. + * @type int|array $month Optional. The two-digit month number. Accepts numbers 1-12 or an + * array of valid numbers if `$compare` supports it. Default empty. + * @type int|array $week Optional. The week number of the year. Accepts numbers 0-53 or an + * array of valid numbers if `$compare` supports it. Default empty. + * @type int|array $dayofyear Optional. The day number of the year. Accepts numbers 1-366 or an + * array of valid numbers if `$compare` supports it. + * @type int|array $day Optional. The day of the month. Accepts numbers 1-31 or an array + * of valid numbers if `$compare` supports it. Default empty. + * @type int|array $dayofweek Optional. The day number of the week. Accepts numbers 1-7 (1 is + * Sunday) or an array of valid numbers if `$compare` supports it. + * Default empty. + * @type int|array $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7 + * (1 is Monday) or an array of valid numbers if `$compare` supports it. + * Default empty. + * @type int|array $hour Optional. The hour of the day. Accepts numbers 0-23 or an array + * of valid numbers if `$compare` supports it. Default empty. + * @type int|array $minute Optional. The minute of the hour. Accepts numbers 0-60 or an array + * of valid numbers if `$compare` supports it. Default empty. + * @type int|array $second Optional. The second of the minute. Accepts numbers 0-60 or an + * array of valid numbers if `$compare` supports it. Default empty. + * } + * } + * } + */ + public function __construct( $date_query = array() ) { + + // Bail if empty or not an array. + if ( empty( $date_query ) || ! is_array( $date_query ) ) { + return; + } + + // Set now, column, compare, relation, and start_of_week. + $this->now = $this->get_now( $date_query ); + $this->column = $this->get_column( $date_query ); + $this->compare = $this->get_compare( $date_query ); + $this->relation = $this->get_relation( $date_query ); + $this->start_of_week = $this->get_start_of_week( $date_query ); + + // Support for passing time-based keys in the top level of the array. + if ( ! isset( $date_query[0] ) ) { + $date_query = array( $date_query ); + } + + // Set the queries + $this->queries = $this->sanitize_query( $date_query ); + } + + /** + * Recursive-friendly query sanitizer. + * + * Ensures that each query-level clause has a 'relation' key, and that + * each first-order clause contains all the necessary keys from + * `$defaults`. + * + * @since 1.0.0 + * + * @param array $queries + * @param array $parent_query + * + * @return array Sanitized queries. + */ + public function sanitize_query( $queries = array(), $parent_query = array() ) { + + // Default return value. + $retval = array(); + + // Setup defaults. + $defaults = array( + 'now' => $this->get_now(), + 'column' => $this->get_column(), + 'compare' => $this->get_compare(), + 'relation' => $this->get_relation(), + 'start_of_week' => $this->get_start_of_week() + ); + + // Numeric keys should always have array values. + foreach ( $queries as $qkey => $qvalue ) { + if ( is_numeric( $qkey ) && ! is_array( $qvalue ) ) { + unset( $queries[ $qkey ] ); + } + } + + // Each query should have a value for each default key. + // Inherit from the parent when possible. + foreach ( $defaults as $dkey => $dvalue ) { + + // Skip if already set. + if ( isset( $queries[ $dkey ] ) ) { + continue; + } + + // Set the query. + if ( isset( $parent_query[ $dkey ] ) ) { + $queries[ $dkey ] = $parent_query[ $dkey ]; + } else { + $queries[ $dkey ] = $dvalue; + } + } + + // Validate the dates passed in the query. + if ( $this->is_first_order_clause( $queries ) ) { + $this->validate_date_values( $queries ); + } + + // Add queries to return array. + foreach ( $queries as $key => $q ) { + + // This is a first-order query. Trust the values and sanitize when building SQL. + if ( ! is_array( $q ) || in_array( $key, $this->time_keys, true ) ) { + $retval[ $key ] = $q; + + // Any array without a time key is another query, so we recurse. + } else { + $retval[] = $this->sanitize_query( $q, $queries ); + } + } + + // Return sanitized queries. + return $retval; + } + + /** + * Determine whether this is a first-order clause. + * + * Checks to see if the current clause has any time-related keys. + * If so, it's first-order. + * + * @since 1.0.0 + * + * @param array $query Query clause. + * + * @return bool True if this is a first-order clause. + */ + protected function is_first_order_clause( $query = array() ) { + $time_keys = array_intersect( $this->time_keys, array_keys( $query ) ); + + return ! empty( $time_keys ); + } + + /** + * Determines and validates what the current unix timestamp is. + * + * @since 1.1.0 + * + * @param array $query A date query or a date subquery. + * + * @return string The current unix timestamp. + */ + public function get_now( $query = array() ) { + + // Use now if passed + $retval = ! empty( $query['now'] ) && is_numeric( $query['now'] ) + ? absint( $query['now'] ) + : time(); + + return $retval; + } + + /** + * Determines and validates what comparison operator to use. + * + * @since 1.0.0 + * + * @param array $query A date query or a date subquery. + * + * @return string The comparison operator. + */ + public function get_column( $query = array() ) { + + // Use column if passed + $retval = ! empty( $query['column'] ) + ? esc_sql( $this->validate_column( $query['column'] ) ) + : $this->column; + + return $retval; + } + + /** + * Determines and validates what comparison operator to use. + * + * @since 1.0.0 + * + * @param array $query A date query or a date subquery. + * + * @return string The comparison operator. + */ + public function get_compare( $query = array() ) { + + // Compare must be in the allowed array + $retval = ! empty( $query['compare'] ) && in_array( $query['compare'], $this->comparison_keys, true ) + ? strtoupper( $query['compare'] ) + : $this->compare; + + return $retval; + } + + /** + * Determines and validates what relation to use. + * + * @since 1.0.0 + * + * @param array $query A date query or a date subquery. + * @return string The relation operator. + */ + public function get_relation( $query = array() ) { + + // Relation must be in the allowed array + $retval = ! empty( $query['relation'] ) && in_array( $query['relation'], $this->relation_keys, true ) + ? strtoupper( $query['relation'] ) + : $this->relation; + + return $retval; + } + + /** + * Determines and validates what start_of_week to use. + * + * @since 1.1.0 + * + * @param array $query A date query or a date subquery. + * + * @return string The comparison operator. + */ + public function get_start_of_week( $query = array() ) { + + // Use start of week if passed and valid + $retval = isset( $query['start_of_week'] ) && ( 6 >= (int) $query['start_of_week'] ) && ( 0 <= (int) $query['start_of_week'] ) + ? $query['start_of_week'] + : $this->start_of_week; + + return (int) $retval; + } + + /** + * Validates the given date_query values. + * + * Note that date queries with invalid date ranges are allowed to + * continue (though of course no items will be found for impossible dates). + * This method only generates debug notices for these cases. + * + * @since 1.0.0 + * + * @param array $date_query The date_query array. + * + * @return bool True if all values in the query are valid, false if one or more fail. + */ + public function validate_date_values( $date_query = array() ) { + + // Bail if empty. + if ( empty( $date_query ) ) { + return false; + } + + $valid = true; + + /* + * Validate 'before' and 'after' up front, then let the + * validation routine continue to be sure that all invalid + * values generate errors too. + */ + if ( array_key_exists( 'before', $date_query ) && is_array( $date_query['before'] ) ) { + $valid = $this->validate_date_values( $date_query['before'] ); + } + + if ( array_key_exists( 'after', $date_query ) && is_array( $date_query['after'] ) ) { + $valid = $this->validate_date_values( $date_query['after'] ); + } + + // Values are passthroughs. + if ( array_key_exists( 'value', $date_query ) ) { + $valid = true; + } + + // Array containing all min-max checks. + $min_max_checks = array(); + + // Days per year. + if ( array_key_exists( 'year', $date_query ) ) { + /* + * If a year exists in the date query, we can use it to get the days. + * If multiple years are provided (as in a BETWEEN), use the first one. + */ + if ( is_array( $date_query['year'] ) ) { + $_year = reset( $date_query['year'] ); + } else { + $_year = $date_query['year']; + } + + $max_days_of_year = gmdate( 'z', gmmktime( 0, 0, 0, 12, 31, $_year ) ) + 1; + + // Otherwise we use the max of 366 (leap-year) + } else { + $max_days_of_year = 366; + } + + // Days of year. + $min_max_checks['dayofyear'] = array( + 'min' => 1, + 'max' => $max_days_of_year, + ); + + // Days per week. + $min_max_checks['dayofweek'] = array( + 'min' => 1, + 'max' => 7, + ); + + // Days per week. + $min_max_checks['dayofweek_iso'] = array( + 'min' => 1, + 'max' => 7, + ); + + // Months per year. + $min_max_checks['month'] = array( + 'min' => 1, + 'max' => 12, + ); + + // Weeks per year. + if ( isset( $_year ) ) { + /* + * If we have a specific year, use it to calculate number of weeks. + * Note: the number of weeks in a year is the date in which Dec 28 appears. + */ + $week_count = gmdate( 'W', gmmktime( 0, 0, 0, 12, 28, $_year ) ); + + // Otherwise set the week-count to a maximum of 53. + } else { + $week_count = 53; + } + + // Weeks per year. + $min_max_checks['week'] = array( + 'min' => 1, + 'max' => $week_count, + ); + + // Days per month. + $min_max_checks['day'] = array( + 'min' => 1, + 'max' => 31, + ); + + // Hours per day. + $min_max_checks['hour'] = array( + 'min' => 0, + 'max' => 23, + ); + + // Minutes per hour. + $min_max_checks['minute'] = array( + 'min' => 0, + 'max' => 59, + ); + + // Seconds per minute. + $min_max_checks['second'] = array( + 'min' => 0, + 'max' => 59, + ); + + // Loop through min/max checks. + foreach ( $min_max_checks as $key => $check ) { + + // Skip if not in query. + if ( ! array_key_exists( $key, $date_query ) ) { + continue; + } + + // Check for invalid values. + foreach ( (array) $date_query[ $key ] as $_value ) { + $is_between = ( $_value >= $check['min'] ) && ( $_value <= $check['max'] ); + + if ( ! is_numeric( $_value ) || empty( $is_between ) ) { + $valid = false; + } + } + } + + // Bail if invalid query. + if ( false === $valid ) { + return $valid; + } + + // Check what kinds of dates are being queried for. + $day_exists = array_key_exists( 'day', $date_query ) && is_numeric( $date_query['day'] ); + $month_exists = array_key_exists( 'month', $date_query ) && is_numeric( $date_query['month'] ); + $year_exists = array_key_exists( 'year', $date_query ) && is_numeric( $date_query['year'] ); + + // Checking at least day & month. + if ( ! empty( $day_exists ) && ! empty( $month_exists ) ) { + + // Check for year query, or fallback to 2012 (for flexibility). + $year = ! empty( $year_exists ) + ? $date_query['year'] + : '2012'; + + // Parse the date to check. + $to_check = sprintf( '%s-%s-%s', $year, $date_query['month'], $date_query['day'] ); + + // Check the date. + if ( ! $this->checkdate( $date_query['month'], $date_query['day'], $year, $to_check ) ) { + $valid = false; + } + } + + // Return if valid or not + return $valid; + } + + /** + * Validates a column name parameter. + * + * @since 1.0.0 + * + * @param string $column The user-supplied column name. + * + * @return string A validated column name value. + */ + public function validate_column( $column = '' ) { + return preg_replace( '/[^a-zA-Z0-9_$\.]/', '', $column ); + } + + /** + * Generate WHERE clause to be appended to a main query. + * + * @since 1.0.0 + * + * @return string MySQL WHERE clauses. + */ + public function get_sql() { + $sql = $this->get_sql_clauses(); + + /** + * Filters the date query clauses. + * + * @since 1.0.0 + * + * @param string $sql Clauses of the date query. + * @param Date $this The Date query instance. + */ + return apply_filters( 'get_date_sql', $sql, $this ); + } + + /** + * Generate SQL clauses to be appended to a main query. + * + * Called by the public Date::get_sql(), this method is abstracted + * out to maintain parity with the other Query classes. + * + * @since 1.0.0 + * + * @return array { + * Array containing JOIN and WHERE SQL clauses to append to the main query. + * + * @type string $join SQL fragment to append to the main JOIN clause. + * @type string $where SQL fragment to append to the main WHERE clause. + * } + */ + protected function get_sql_clauses() { + $sql = $this->get_sql_for_query( $this->queries ); + + if ( ! empty( $sql['where'] ) ) { + $sql['where'] = ' AND ' . $sql['where']; + } + + return apply_filters( 'get_date_sql_clauses', $sql, $this ); + } + + /** + * Generate SQL clauses for a single query array. + * + * If nested subqueries are found, this method recurses the tree to + * produce the properly nested SQL. + * + * @since 1.0.0 + * + * @param array $query Query to parse. + * @param int $depth Optional. Number of tree levels deep we currently are. + * Used to calculate indentation. Default 0. + * @return array { + * Array containing JOIN and WHERE SQL clauses to append to a single query array. + * + * @type string $join SQL fragment to append to the main JOIN clause. + * @type string $where SQL fragment to append to the main WHERE clause. + * } + */ + protected function get_sql_for_query( $query = array(), $depth = 0 ) { + $sql_chunks = array( + 'join' => array(), + 'where' => array(), + ); + + $sql = array( + 'join' => '', + 'where' => '', + ); + + $indent = ''; + for ( $i = 0; $i < $depth; $i++ ) { + $indent .= ' '; + } + + foreach ( $query as $key => $clause ) { + + if ( 'relation' === $key ) { + $relation = $query['relation']; + + } elseif ( is_array( $clause ) ) { + + // This is a first-order clause. + if ( $this->is_first_order_clause( $clause ) ) { + + // Get clauses & where count + $clause_sql = $this->get_sql_for_clause( $clause, $query ); + $where_count = count( $clause_sql['where'] ); + + if ( 0 === $where_count ) { + $sql_chunks['where'][] = ''; + + } elseif ( 1 === $where_count ) { + $sql_chunks['where'][] = $clause_sql['where'][0]; + + } else { + $sql_chunks['where'][] = '( ' . implode( ' AND ', $clause_sql['where'] ) . ' )'; + } + + $sql_chunks['join'] = array_merge( $sql_chunks['join'], $clause_sql['join'] ); + + // This is a subquery, so we recurse. + } else { + $clause_sql = $this->get_sql_for_query( $clause, $depth + 1 ); + + $sql_chunks['where'][] = $clause_sql['where']; + $sql_chunks['join'][] = $clause_sql['join']; + } + } + } + + // Filter to remove empties. + $sql_chunks['join'] = array_filter( $sql_chunks['join'] ); + $sql_chunks['where'] = array_filter( $sql_chunks['where'] ); + + if ( empty( $relation ) ) { + $relation = 'AND'; + } + + // Filter duplicate JOIN clauses and combine into a single string. + if ( ! empty( $sql_chunks['join'] ) ) { + $sql['join'] = implode( ' ', array_unique( $sql_chunks['join'] ) ); + } + + // Generate a single WHERE clause with proper brackets and indentation. + if ( ! empty( $sql_chunks['where'] ) ) { + $sql['where'] = '( ' . "\n " . $indent . implode( ' ' . "\n " . $indent . $relation . ' ' . "\n " . $indent, $sql_chunks['where'] ) . "\n" . $indent . ')'; + } + + // Filter and return + return apply_filters( 'get_date_sql_for_query', $sql, $query, $depth, $this ); + } + + /** + * Turns a first-order date query into SQL for a WHERE clause. + * + * @since 1.0.0 + * + * @param array $query Date query clause. + * @param array $parent_query Parent query of the current date query. + * + * @return array { + * Array containing JOIN and WHERE SQL clauses to append to the main query. + * + * @type string $join SQL fragment to append to the main JOIN clause. + * @type string $where SQL fragment to append to the main WHERE clause. + * } + */ + protected function get_sql_for_clause( $query = array(), $parent_query = array() ) { + + // The sub-parts of a $where part. + $where_parts = array(); + + // Get first-order clauses + $now = $this->get_now( $query ); + $column = $this->get_column( $query ); + $compare = $this->get_compare( $query ); + $start_of_week = $this->get_start_of_week( $query ); + $inclusive = ! empty( $query['inclusive'] ); + + // Assign greater-than and less-than values. + $lt = '<'; + $gt = '>'; + + if ( true === $inclusive ) { + $lt .= '='; + $gt .= '='; + } + + // Range queries. + if ( ! empty( $query['after'] ) ) { + $where_parts[] = $this->get_db()->prepare( "{$column} {$gt} %s", $this->build_mysql_datetime( $query['after'], ! $inclusive, $now ) ); + } + + if ( ! empty( $query['before'] ) ) { + $where_parts[] = $this->get_db()->prepare( "{$column} {$lt} %s", $this->build_mysql_datetime( $query['before'], $inclusive, $now ) ); + } + + // Specific value queries. + if ( isset( $query['year'] ) && $value = $this->build_numeric_value( $compare, $query['year'] ) ) { + $where_parts[] = "YEAR( {$column} ) {$compare} {$value}"; + } + + if ( isset( $query['month'] ) && $value = $this->build_numeric_value( $compare, $query['month'] ) ) { + $where_parts[] = "MONTH( {$column} ) {$compare} {$value}"; + } elseif ( isset( $query['monthnum'] ) && $value = $this->build_numeric_value( $compare, $query['monthnum'] ) ) { + $where_parts[] = "MONTH( {$column} ) {$compare} {$value}"; + } + + if ( isset( $query['week'] ) && false !== ( $value = $this->build_numeric_value( $compare, $query['week'] ) ) ) { + $where_parts[] = $this->build_mysql_week( $column, $start_of_week ) . " {$compare} {$value}"; + } elseif ( isset( $query['w'] ) && false !== ( $value = $this->build_numeric_value( $compare, $query['w'] ) ) ) { + $where_parts[] = $this->build_mysql_week( $column, $start_of_week ) . " {$compare} {$value}"; + } + + if ( isset( $query['dayofyear'] ) && $value = $this->build_numeric_value( $compare, $query['dayofyear'] ) ) { + $where_parts[] = "DAYOFYEAR( {$column} ) {$compare} {$value}"; + } + + if ( isset( $query['day'] ) && $value = $this->build_numeric_value( $compare, $query['day'] ) ) { + $where_parts[] = "DAYOFMONTH( {$column} ) {$compare} {$value}"; + } + + if ( isset( $query['dayofweek'] ) && $value = $this->build_numeric_value( $compare, $query['dayofweek'] ) ) { + $where_parts[] = "DAYOFWEEK( {$column} ) {$compare} {$value}"; + } + + if ( isset( $query['dayofweek_iso'] ) && $value = $this->build_numeric_value( $compare, $query['dayofweek_iso'] ) ) { + $where_parts[] = "WEEKDAY( {$column} ) + 1 {$compare} {$value}"; + } + + // Straight value compare + if ( isset( $query['value'] ) ) { + $value = $this->build_value( $compare, $query['value'] ); + $where_parts[] = "{$column} {$compare} $value"; + } + + // Hour/Minute/Second + if ( isset( $query['hour'] ) || isset( $query['minute'] ) || isset( $query['second'] ) ) { + + // Avoid notices. + foreach ( array( 'hour', 'minute', 'second' ) as $unit ) { + if ( ! isset( $query[ $unit ] ) ) { + $query[ $unit ] = null; + } + } + + $time_query = $this->build_time_query( $column, $compare, $query['hour'], $query['minute'], $query['second'] ); + + if ( ! empty( $time_query ) ) { + $where_parts[] = $time_query; + } + } + + /* + * Return an array of 'join' and 'where' for compatibility + * with other query classes. + */ + return array( + 'where' => $where_parts, + 'join' => array(), + ); + } + + /** + * Builds and validates a value string based on the comparison operator. + * + * @since 1.0.0 + * + * @param string $compare The compare operator to use + * @param string|array $value The value + * + * @return string|false|int The value to be used in SQL or false on error. + */ + public function build_numeric_value( $compare = '=', $value = null ) { + + // Bail if null value + if ( is_null( $value ) ) { + return false; + } + + switch ( $compare ) { + case 'IN': + case 'NOT IN': + $value = (array) $value; + + // Remove non-numeric values. + $value = array_filter( $value, 'is_numeric' ); + + if ( empty( $value ) ) { + return false; + } + + return '(' . implode( ',', array_map( 'intval', $value ) ) . ')'; + + case 'BETWEEN': + case 'NOT BETWEEN': + if ( ! is_array( $value ) || ( 2 !== count( $value ) ) ) { + $value = array( $value, $value ); + } else { + $value = array_values( $value ); + } + + // If either value is non-numeric, bail. + foreach ( $value as $v ) { + if ( ! is_numeric( $v ) ) { + return false; + } + } + + $value = array_map( 'intval', $value ); + + return $value[0] . ' AND ' . $value[1]; + + default: + if ( ! is_numeric( $value ) ) { + return false; + } + + return (int) $value; + } + } + + /** + * Builds and validates a value string based on the comparison operator. + * + * @since 1.0.0 + * + * @param string $compare The compare operator to use + * @param string|array $value The value + * + * @return string|false|int The value to be used in SQL or false on error. + */ + public function build_value( $compare = '=', $value = null ) { + + if ( in_array( $compare, $this->multi_value_keys, true ) ) { + if ( ! is_array( $value ) ) { + $value = preg_split( '/[,\s]+/', $value ); + } + } else { + $value = trim( $value ); + } + + switch ( $compare ) { + case 'IN': + case 'NOT IN': + $compare_string = '(' . substr( str_repeat( ',%s', count( $value ) ), 1 ) . ')'; + $where = $this->get_db()->prepare( $compare_string, $value ); + break; + + case 'BETWEEN': + case 'NOT BETWEEN': + $value = array_slice( $value, 0, 2 ); + $where = $this->get_db()->prepare( '%s AND %s', $value ); + break; + + case 'LIKE': + case 'NOT LIKE': + $value = '%' . $this->get_db()->esc_like( $value ) . '%'; + $where = $this->get_db()->prepare( '%s', $value ); + break; + + // EXISTS with a value is interpreted as '='. + case 'EXISTS': + $compare = '='; + $where = $this->get_db()->prepare( '%s', $value ); + break; + + // 'value' is ignored for NOT EXISTS. + case 'NOT EXISTS': + $where = ''; + break; + + default: + $where = $this->get_db()->prepare( '%s', $value ); + break; + } + + return $where; + } + + /** + * Builds a MySQL format date/time based on some query parameters. + * + * You can pass an array of values (year, month, etc.) with missing parameter values being defaulted to + * either the maximum or minimum values (controlled by the $default_to parameter). Alternatively you can + * pass a string that will be run through strtotime(). + * + * @since 1.0.0 + * + * @param string|array $datetime An array of parameters or a strtotime() string + * @param bool $default_to_max Whether to round up incomplete dates. Supported by values + * of $datetime that are arrays, or string values that are a + * subset of MySQL date format ('Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i'). + * Default: false. + * @param string|int $now The current unix timestamp. + * + * @return string|false A MySQL format date/time or false on failure + */ + public function build_mysql_datetime( $datetime = '', $default_to_max = false, $now = 0 ) { + + // Datetime is string + if ( is_string( $datetime ) ) { + + // Define matches so linters don't complain + $matches = array(); + + /* + * Try to parse some common date formats, so we can detect + * the level of precision and support the 'inclusive' parameter. + */ + + // Y + if ( preg_match( '/^(\d{4})$/', $datetime, $matches ) ) { + $datetime = array( + 'year' => intval( $matches[1] ), + ); + + // Y-m + } elseif ( preg_match( '/^(\d{4})\-(\d{2})$/', $datetime, $matches ) ) { + $datetime = array( + 'year' => intval( $matches[1] ), + 'month' => intval( $matches[2] ), + ); + + // Y-m-d + } elseif ( preg_match( '/^(\d{4})\-(\d{2})\-(\d{2})$/', $datetime, $matches ) ) { + $datetime = array( + 'year' => intval( $matches[1] ), + 'month' => intval( $matches[2] ), + 'day' => intval( $matches[3] ), + ); + + // Y-m-d H:i + } elseif ( preg_match( '/^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2})$/', $datetime, $matches ) ) { + $datetime = array( + 'year' => intval( $matches[1] ), + 'month' => intval( $matches[2] ), + 'day' => intval( $matches[3] ), + 'hour' => intval( $matches[4] ), + 'minute' => intval( $matches[5] ), + ); + + // Y-m-d H:i:s + } elseif ( preg_match( '/^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/', $datetime, $matches ) ) { + $datetime = array( + 'year' => intval( $matches[1] ), + 'month' => intval( $matches[2] ), + 'day' => intval( $matches[3] ), + 'hour' => intval( $matches[4] ), + 'minute' => intval( $matches[5] ), + 'second' => intval( $matches[6] ), + ); + } + } + + // No match; may be int or string + if ( ! is_array( $datetime ) ) { + + // Maybe format or use as-is + $datetime = ! is_int( $datetime ) + ? strtotime( $datetime, $now ) + : absint( $datetime ); + + // Return formatted + return gmdate( 'Y-m-d H:i:s', $datetime ); + } + + // Map to ints + $datetime = array_map( 'absint', $datetime ); + + // Year + if ( ! isset( $datetime['year'] ) ) { + $datetime['year'] = gmdate( 'Y', $now ); + } + + // Month + if ( ! isset( $datetime['month'] ) ) { + $datetime['month'] = ! empty( $default_to_max ) + ? 12 + : 1; + } + + // Day + if ( ! isset( $datetime['day'] ) ) { + $datetime['day'] = ! empty( $default_to_max ) + ? (int) gmdate( 't', gmmktime( 0, 0, 0, $datetime['month'], 1, $datetime['year'] ) ) + : 1; + } + + // Hour + if ( ! isset( $datetime['hour'] ) ) { + $datetime['hour'] = ! empty( $default_to_max ) + ? 23 + : 0; + } + + // Minute + if ( ! isset( $datetime['minute'] ) ) { + $datetime['minute'] = ! empty( $default_to_max ) + ? 59 + : 0; + } + + // Second + if ( ! isset( $datetime['second'] ) ) { + $datetime['second'] = ! empty( $default_to_max ) + ? 59 + : 0; + } + + // Combine and return + return sprintf( + '%04d-%02d-%02d %02d:%02d:%02d', + $datetime['year'], + $datetime['month'], + $datetime['day'], + $datetime['hour'], + $datetime['minute'], + $datetime['second'] + ); + } + + /** + * Return a MySQL expression for selecting the week number based on the + * day that the week starts. + * + * Uses the WordPress site option, if set. + * + * @since 1.0.0 + * + * @param string $column Database column. + * @param int $start_of_week Day that week starts on. 0 = Sunday. + * + * @return string SQL clause. + */ + public function build_mysql_week( $column = '', $start_of_week = 0 ) { + + // When does the week start? + switch ( $start_of_week ) { + + // Monday + case 1: + $retval = "WEEK( {$column}, 1 )"; + break; + + // Tuesday - Saturday + case 2: + case 3: + case 4: + case 5: + case 6: + $retval = "WEEK( DATE_SUB( {$column}, INTERVAL {$start_of_week} DAY ), 0 )"; + break; + + // Sunday + case 0: + default: + $retval = "WEEK( {$column}, 0 )"; + break; + } + + // Return SQL + return $retval; + } + + /** + * Builds a query string for comparing time values (hour, minute, second). + * + * If just hour, minute, or second is set than a normal comparison will be done. + * However if multiple values are passed, a pseudo-decimal time will be created + * in order to be able to accurately compare against. + * + * @since 1.0.0 + * + * @param string $column The column to query against. Needs to be pre-validated! + * @param string $compare The comparison operator. Needs to be pre-validated! + * @param int|null $hour Optional. An hour value (0-23). + * @param int|null $minute Optional. A minute value (0-59). + * @param int|null $second Optional. A second value (0-59). + * + * @return string|false A query part or false on failure. + */ + public function build_time_query( $column, $compare, $hour = null, $minute = null, $second = null ) { + + // Have to have at least one + if ( ! isset( $hour ) && ! isset( $minute ) && ! isset( $second ) ) { + return false; + } + + // Complex combined queries aren't supported for multi-value queries + if ( in_array( $compare, $this->multi_value_keys, true ) ) { + $retval = array(); + + // Hour + if ( isset( $hour ) && false !== ( $value = $this->build_numeric_value( $compare, $hour ) ) ) { + $retval[] = "HOUR( {$column} ) {$compare} {$value}"; + } + + // Minute + if ( isset( $minute ) && false !== ( $value = $this->build_numeric_value( $compare, $minute ) ) ) { + $retval[] = "MINUTE( {$column} ) {$compare} {$value}"; + } + + // Second + if ( isset( $second ) && false !== ( $value = $this->build_numeric_value( $compare, $second ) ) ) { + $retval[] = "SECOND( {$column} ) {$compare} {$value}"; + } + + return implode( ' AND ', $retval ); + } + + // Cases where just one unit is set + + // Hour + if ( isset( $hour ) && ! isset( $minute ) && ! isset( $second ) && false !== ( $value = $this->build_numeric_value( $compare, $hour ) ) ) { + return "HOUR( {$column} ) {$compare} {$value}"; + + // Minute + } elseif ( ! isset( $hour ) && isset( $minute ) && ! isset( $second ) && false !== ( $value = $this->build_numeric_value( $compare, $minute ) ) ) { + return "MINUTE( {$column} ) {$compare} {$value}"; + + // Second + } elseif ( ! isset( $hour ) && ! isset( $minute ) && isset( $second ) && false !== ( $value = $this->build_numeric_value( $compare, $second ) ) ) { + return "SECOND( {$column} ) {$compare} {$value}"; + } + + // Single units were already handled. Since hour & second isn't allowed, + // minute must to be set. + if ( ! isset( $minute ) ) { + return false; + } + + // Defaults + $format = $time = ''; + + // Hour + if ( null !== $hour ) { + $format .= '%H.'; + $time .= sprintf( '%02d', $hour ) . '.'; + } else { + $format .= '0.'; + $time .= '0.'; + } + + // Minute + $format .= '%i'; + $time .= sprintf( '%02d', $minute ); + + // Second + if ( isset( $second ) ) { + $format .= '%s'; + $time .= sprintf( '%02d', $second ); + } + + // Build the SQL + $query = "DATE_FORMAT( {$column}, %s ) {$compare} %f"; + + // Return the prepared SQL + return $this->get_db()->prepare( $query, $format, $time ); + } + + /** + * Test if the supplied date is valid for the Gregorian calendar. + * + * @since 1.0.0 + * + * @link https://www.php.net/manual/en/function.checkdate.php + * + * @param int $month Month number. + * @param int $day Day number. + * @param int $year Year number. + * @param string $source_date The date to filter. + * + * @return bool True if valid date, false if not valid date. + */ + public function checkdate( $month = 0, $day = 0, $year = 0, $source_date = '' ) { + + // Check the date + $retval = checkdate( $month, $day, $year ); + + /** + * Filters whether the given date is valid for the Gregorian calendar. + * + * @since 1.0.0 + * + * @param bool $checkdate Whether the given date is valid. + * @param string $source_date Date to check. + */ + return (bool) apply_filters( 'wp_checkdate', $retval, $source_date ); + } +} diff --git a/inc/Dependencies/Database/Queries/Meta.php b/inc/Dependencies/Database/Queries/Meta.php new file mode 100644 index 0000000..07aaa85 --- /dev/null +++ b/inc/Dependencies/Database/Queries/Meta.php @@ -0,0 +1,29 @@ + '', + 'from' => '', + 'where' => array(), + 'groupby' => '', + 'orderby' => '', + 'limits' => '' + ); + + /** + * Request clauses. + * + * @since 1.0.0 + * @var array + */ + protected $request_clauses = array( + 'select' => '', + 'from' => '', + 'where' => '', + 'groupby' => '', + 'orderby' => '', + 'limits' => '' + ); + + /** + * Meta query container. + * + * @since 1.0.0 + * @var object|Queries\Meta + */ + protected $meta_query = false; + + /** + * Date query container. + * + * @since 1.0.0 + * @var object|Queries\Date + */ + protected $date_query = false; + + /** + * Compare query container. + * + * @since 1.0.0 + * @var object|Queries\Compare + */ + protected $compare_query = false; + + /** Query Variables *******************************************************/ + + /** + * Parsed query vars set by the application, possibly filtered and changed. + * + * This is specifically marked as public, to allow byref actions to change + * them from outside the class methods proper and inside filter functions. + * + * @since 1.0.0 + * @var array + */ + public $query_vars = array(); + + /** + * Original query vars set by the application. + * + * These are the original query variables before any filters are applied, + * and are the results of merging $query_var_defaults with $query_vars. + * + * @since 1.0.0 + * @var array + */ + protected $query_var_originals = array(); + + /** + * Default values for query vars. + * + * These are computed at runtime based on the registered columns for the + * database table this query relates to. + * + * @since 1.0.0 + * @var array + */ + protected $query_var_defaults = array(); + + /** + * This private variable temporarily holds onto a random string used as the + * default query var value. This is used internally when performing + * comparisons, and allows for querying by falsy values. + * + * @since 1.1.0 + * @var string + */ + protected $query_var_default_value = ''; + + /** Results ***************************************************************/ + + /** + * List of items located by the query. + * + * @since 1.0.0 + * @var array + */ + public $items = array(); + + /** + * The amount of found items for the current query. + * + * @since 1.0.0 + * @var int + */ + protected $found_items = 0; + + /** + * The number of pages. + * + * @since 1.0.0 + * @var int + */ + protected $max_num_pages = 0; + + /** + * SQL for database query. + * + * @since 1.0.0 + * @var string + */ + protected $request = ''; + + /** Methods ***************************************************************/ + + /** + * Sets up the item query, based on the query vars passed. + * + * @since 1.0.0 + * + * @param string|array $query { + * Optional. Array or query string of item query parameters. + * Default empty. + * + * @type string $fields Site fields to return. Accepts 'ids' (returns an array of item IDs) + * or empty (returns an array of complete item objects). Default empty. + * To do a date query against a field, append the field name with _query + * @type bool $count Whether to return a item count (true) or array of item objects. + * Default false. + * @type int $number Limit number of items to retrieve. Use 0 for no limit. + * Default 100. + * @type int $offset Number of items to offset the query. Used to build LIMIT clause. + * Default 0. + * @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query. + * Default true. + * @type string|array $orderby Accepts false, an empty array, or 'none' to disable `ORDER BY` clause. + * Default '', to primary column ID. + * @type string $order How to order retrieved items. Accepts 'ASC', 'DESC'. + * Default 'DESC'. + * @type string $search Search term(s) to retrieve matching items for. + * Default empty. + * @type array $search_columns Array of column names to be searched. + * Default empty array. + * @type bool $update_item_cache Whether to prime the cache for found items. + * Default false. + * @type bool $update_meta_cache Whether to prime the meta cache for found items. + * Default false. + * } + */ + public function __construct( $query = array() ) { + + // Setup + $this->set_alias(); + $this->set_prefix(); + $this->set_columns(); + $this->set_item_shape(); + $this->set_query_var_defaults(); + + // Maybe execute a query if arguments were passed + if ( ! empty( $query ) ) { + $this->query( $query ); + } + } + + /** + * Queries the database and retrieves items or counts. + * + * This method is public to allow subclasses to perform JIT manipulation + * of the parameters passed into it. + * + * @since 1.0.0 + * + * @param string|array $query Array or URL query string of parameters. + * @param bool $use_cache Use DB cache or not. (custom parameter added by us!) + * @return array|int List of items, or number of items when 'count' is passed as a query var. + */ + public function query( $query = array(), bool $use_cache = true ) { + $this->parse_query( $query ); + + return $this->get_items( $use_cache ); + } + + /** Private Setters *******************************************************/ + + /** + * Set the time when items were last changed. + * + * We set this locally to avoid inconsistencies between method calls. + * + * @since 1.0.0 + */ + private function set_last_changed() { + $this->last_changed = microtime(); + } + + /** + * Set up the table alias if not already set in the class. + * + * This happens before prefixes are applied. + * + * @since 1.0.0 + */ + private function set_alias() { + if ( empty( $this->table_alias ) ) { + $this->table_alias = $this->first_letters( $this->table_name ); + } + } + + /** + * Prefix table names, cache groups, and other things. + * + * This is to avoid conflicts with other plugins or themes that might be + * doing their own things. + * + * @since 1.0.0 + */ + private function set_prefix() { + $this->table_name = $this->apply_prefix( $this->table_name ); + $this->table_alias = $this->apply_prefix( $this->table_alias ); + $this->cache_group = $this->apply_prefix( $this->cache_group, '-' ); + } + + /** + * Set columns objects. + * + * @since 1.0.0 + */ + private function set_columns() { + + // Bail if no table schema + if ( ! class_exists( $this->table_schema ) ) { + return; + } + + // Invoke a new table schema class + $schema = new $this->table_schema; + + // Maybe get the column objects + if ( ! empty( $schema->columns ) ) { + $this->columns = $schema->columns; + } + } + + /** + * Set the default item shape if none exists. + * + * @since 1.0.0 + */ + private function set_item_shape() { + if ( empty( $this->item_shape ) || ! class_exists( $this->item_shape ) ) { + $this->item_shape = __NAMESPACE__ . '\\Row'; + } + } + + /** + * Set default query vars based on columns. + * + * @since 1.0.0 + */ + private function set_query_var_defaults() { + + // Default query variable value + $this->query_var_default_value = function_exists( 'random_bytes' ) + ? $this->apply_prefix( bin2hex( random_bytes( 18 ) ) ) + : $this->apply_prefix( uniqid( '_', true ) ); + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Default query variables + $this->query_var_defaults = array( + 'fields' => '', + 'number' => 100, + 'offset' => '', + 'orderby' => $primary, + 'order' => 'DESC', + 'groupby' => '', + 'search' => '', + 'search_columns' => array(), + 'count' => false, + + // Disable SQL_CALC_FOUND_ROWS? + 'no_found_rows' => true, + + // Queries + 'meta_query' => null, // See Queries\Meta + 'date_query' => null, // See Queries\Date + 'compare_query' => null, // See Queries\Compare + + // Caching + 'update_item_cache' => true, + 'update_meta_cache' => true + ); + + // Bail if no columns + if ( empty( $this->columns ) ) { + return; + } + + // Direct column names + $names = wp_list_pluck( $this->columns, 'name' ); + foreach ( $names as $name ) { + $this->query_var_defaults[ $name ] = $this->query_var_default_value; + } + + // Possible ins + $possible_ins = $this->get_columns( array( 'in' => true ), 'and', 'name' ); + foreach ( $possible_ins as $in ) { + $key = "{$in}__in"; + $this->query_var_defaults[ $key ] = false; + } + + // Possible not ins + $possible_not_ins = $this->get_columns( array( 'not_in' => true ), 'and', 'name' ); + foreach ( $possible_not_ins as $in ) { + $key = "{$in}__not_in"; + $this->query_var_defaults[ $key ] = false; + } + + // Possible dates + $possible_dates = $this->get_columns( array( 'date_query' => true ), 'and', 'name' ); + foreach ( $possible_dates as $date ) { + $key = "{$date}_query"; + $this->query_var_defaults[ $key ] = false; + } + } + + /** + * Set the request clauses. + * + * @since 1.0.0 + * + * @param array $clauses + */ + private function set_request_clauses( $clauses = array() ) { + + // Found rows + $found_rows = empty( $this->query_vars['no_found_rows'] ) + ? 'SQL_CALC_FOUND_ROWS' + : ''; + + // Fields + $fields = ! empty( $clauses['fields'] ) + ? $clauses['fields'] + : ''; + + // Join + $join = ! empty( $clauses['join'] ) + ? $clauses['join'] + : ''; + + // Where + $where = ! empty( $clauses['where'] ) + ? "WHERE {$clauses['where']}" + : ''; + + // Group by + $groupby = ! empty( $clauses['groupby'] ) + ? "GROUP BY {$clauses['groupby']}" + : ''; + + // Order by + $orderby = ! empty( $clauses['orderby'] ) + ? "ORDER BY {$clauses['orderby']}" + : ''; + + // Limits + $limits = ! empty( $clauses['limits'] ) + ? $clauses['limits'] + : ''; + + // Select & From + $table = $this->get_table_name(); + $select = "SELECT {$found_rows} {$fields}"; + $from = "FROM {$table} {$this->table_alias} {$join}"; + + // Put query into clauses array + $this->request_clauses['select'] = $select; + $this->request_clauses['from'] = $from; + $this->request_clauses['where'] = $where; + $this->request_clauses['groupby'] = $groupby; + $this->request_clauses['orderby'] = $orderby; + $this->request_clauses['limits'] = $limits; + } + + /** + * Set the request. + * + * @since 1.0.0 + */ + private function set_request() { + $filtered = array_filter( $this->request_clauses ); + $clauses = array_map( 'trim', $filtered ); + $this->request = implode( ' ', $clauses ); + } + + /** + * Set items by mapping them through the single item callback. + * + * @since 1.0.0 + * @param array $item_ids + */ + private function set_items( $item_ids = array() ) { + + // Bail if counting, to avoid shaping items + if ( ! empty( $this->query_vars['count'] ) ) { + $this->items = $item_ids; + return; + } + + // Cast to integers + $item_ids = array_map( 'intval', $item_ids ); + + // Prime item caches + $this->prime_item_caches( $item_ids ); + + // Shape the items + $this->items = $this->shape_items( $item_ids ); + } + + /** + * Populates found_items and max_num_pages properties for the current query + * if the limit clause was used. + * + * @since 1.0.0 + * + * @param array $item_ids Optional array of item IDs + */ + private function set_found_items( $item_ids = array() ) { + + // Items were not found + if ( empty( $item_ids ) ) { + return; + } + + // Default to number of item IDs + $this->found_items = count( (array) $item_ids ); + + // Count query + if ( ! empty( $this->query_vars['count'] ) ) { + + // Not grouped + if ( is_numeric( $item_ids ) && empty( $this->query_vars['groupby'] ) ) { + $this->found_items = intval( $item_ids ); + } + + // Not a count query + } elseif ( is_array( $item_ids ) && ( ! empty( $this->query_vars['number'] ) && empty( $this->query_vars['no_found_rows'] ) ) ) { + + /** + * Filters the query used to retrieve found item count. + * + * @since 1.0.0 + * + * @param string $found_items_query SQL query. Default 'SELECT FOUND_ROWS()'. + * @param object $item_query The object instance. + */ + $found_items_query = (string) apply_filters_ref_array( $this->apply_prefix( "found_{$this->item_name_plural}_query" ), array( 'SELECT FOUND_ROWS()', &$this ) ); + + // Maybe query for found items + if ( ! empty( $found_items_query ) ) { + $this->found_items = (int) $this->get_db()->get_var( $found_items_query ); + } + } + } + + /** Public Setters ********************************************************/ + + /** + * Set a query var, to both defaults and request arrays. + * + * This method is used to expose the private query_vars array to hooks, + * allowing them to manipulate query vars just-in-time. + * + * @since 1.0.0 + * + * @param string $key + * @param string $value + */ + public function set_query_var( $key = '', $value = '' ) { + $this->query_var_defaults[ $key ] = $value; + $this->query_vars[ $key ] = $value; + } + + /** + * Check whether a query variable strictly equals the unique default + * starting value. + * + * @since 1.1.0 + * @param string $key + * @return bool + */ + public function is_query_var_default( $key = '' ) { + return (bool) ( $this->query_vars[ $key ] === $this->query_var_default_value ); + } + + /** Private Getters *******************************************************/ + + /** + * Pass-through method to return a new Meta object. + * + * @since 1.0.0 + * + * @param array $args See Queries\Meta + * + * @return Queries\Meta + */ + private function get_meta_query( $args = array() ) { + return new Queries\Meta( $args ); + } + + /** + * Pass-through method to return a new Compare object. + * + * @since 1.0.0 + * + * @param array $args See Queries\Compare + * + * @return Queries\Compare + */ + private function get_compare_query( $args = array() ) { + return new Queries\Compare( $args ); + } + + /** + * Pass-through method to return a new Queries\Date object. + * + * @since 1.0.0 + * + * @param array $args See Queries\Date + * + * @return Queries\Date + */ + private function get_date_query( $args = array() ) { + return new Queries\Date( $args ); + } + + /** + * Return the current time as a UTC timestamp. + * + * This is used by add_item() and update_item() + * + * @since 1.0.0 + * + * @return string + */ + private function get_current_time() { + return gmdate( "Y-m-d\TH:i:s\Z" ); + } + + /** + * Return the literal table name (with prefix) from the database interface. + * + * @since 1.0.0 + * + * @return string + */ + private function get_table_name() { + return $this->get_db()->{$this->table_name}; + } + + /** + * Return array of column names. + * + * @since 1.0.0 + * + * @return array + */ + private function get_column_names() { + return array_flip( $this->get_columns( array(), 'and', 'name' ) ); + } + + /** + * Return the primary database column name. + * + * @since 1.0.0 + * + * @return string Default "id", Primary column name if not empty + */ + private function get_primary_column_name() { + return $this->get_column_field( array( 'primary' => true ), 'name', 'id' ); + } + + /** + * Get a column from an array of arguments. + * + * @since 1.0.0 + * + * @param array $args Arguments to get a column by. + * @param string $field Field to get from a column. + * @param mixed $default Default to use if no field is set. + * @return mixed Column object, or false + */ + private function get_column_field( $args = array(), $field = '', $default = false ) { + + // Get the column + $column = $this->get_column_by( $args ); + + // Return field, or default + return isset( $column->{$field} ) + ? $column->{$field} + : $default; + } + + /** + * Get a column from an array of arguments. + * + * @since 1.0.0 + * + * @param array $args Arguments to get a column by. + * @return mixed Column object, or false + */ + private function get_column_by( $args = array() ) { + + // Filter columns + $filter = $this->get_columns( $args ); + + // Return column or false + return ! empty( $filter ) + ? reset( $filter ) + : false; + } + + /** + * Get columns from an array of arguments. + * + * @since 1.0.0 + * + * @param array $args Arguments to filter columns by. + * @param string $operator Optional. The logical operation to perform. + * @param string $field Optional. A field from the object to place + * instead of the entire object. Default false. + * @return array Array of column. + */ + private function get_columns( $args = array(), $operator = 'and', $field = false ) { + + // Filter columns + $filter = wp_filter_object_list( $this->columns, $args, $operator, $field ); + + // Return column or false + return ! empty( $filter ) + ? array_values( $filter ) + : array(); + } + + /** + * Get a single database row by any column and value, skipping cache. + * + * @since 1.0.0 + * + * @param string $column_name Name of database column + * @param string $column_value Value to query for + * @return object|false False if empty/error, Object if successful + */ + private function get_item_raw( $column_name = '', $column_value = '' ) { + + // Bail if no name or value + if ( empty( $column_name ) || empty( $column_value ) ) { + return false; + } + + // Bail if values aren't query'able + if ( ! is_string( $column_name ) || ! is_scalar( $column_value ) ) { + return false; + } + + // Get query parts + $table = $this->get_table_name(); + $pattern = $this->get_column_field( array( 'name' => $column_name ), 'pattern', '%s' ); + + // Query database + $query = "SELECT * FROM {$table} WHERE {$column_name} = {$pattern} LIMIT 1"; + $select = $this->get_db()->prepare( $query, $column_value ); + $result = $this->get_db()->get_row( $select ); + + // Bail on failure + if ( ! $this->is_success( $result ) ) { + return false; + } + + // Return row + return $result; + } + + /** + * Retrieves a list of items matching the query vars. + * + * @since 1.0.0 + * + * @param bool $use_cache Use DB cache or not. (custom parameter added by us!) + * + * @return array|int List of items, or number of items when 'count' is passed as a query var. + */ + private function get_items( bool $use_cache = true ) { + + /** + * Fires before object items are retrieved. + * + * @since 1.0.0 + * + * @param Query &$this Current instance of Query, passed by reference. + */ + do_action_ref_array( $this->apply_prefix( "pre_get_{$this->item_name_plural}" ), array( &$this ) ); + + // Never limit, never update item/meta caches when counting + if ( ! empty( $this->query_vars['count'] ) ) { + $this->query_vars['number'] = false; + $this->query_vars['no_found_rows'] = true; + $this->query_vars['update_item_cache'] = false; + $this->query_vars['update_meta_cache'] = false; + } + + // Check the cache + $cache_key = $this->get_cache_key(); + $cache_value = $use_cache ? $this->cache_get( $cache_key, $this->cache_group ) : false; + + // No cache value + if ( false === $cache_value ) { + $item_ids = $this->get_item_ids(); + + // Set the number of found items + $this->set_found_items( $item_ids ); + + if ( $use_cache ) { + // Format the cached value + $cache_value = array( + 'item_ids' => $item_ids, + 'found_items' => intval( $this->found_items ), + ); + + // Add value to the cache + $this->cache_add( $cache_key, $cache_value, $this->cache_group ); + } + + // Value exists in cache + } else { + $item_ids = $cache_value['item_ids']; + $this->found_items = intval( $cache_value['found_items'] ); + } + + // Pagination + if ( ! empty( $this->found_items ) && ! empty( $this->query_vars['number'] ) ) { + $this->max_num_pages = ceil( $this->found_items / $this->query_vars['number'] ); + } + + // Cast to int if not grouping counts + if ( ! empty( $this->query_vars['count'] ) && empty( $this->query_vars['groupby'] ) ) { + $item_ids = intval( $item_ids ); + } + + // Set items from IDs + $this->set_items( $item_ids ); + + // Return array of items + return $this->items; + } + + /** + * Used internally to get a list of item IDs matching the query vars. + * + * @since 1.0.0 + * + * @return int|array A single count of item IDs if a count query. An array + * of item IDs if a full query. + */ + private function get_item_ids() { + + // Setup primary column, and parse the where clause + $this->parse_where(); + + // Order & Order By + $order = $this->parse_order( $this->query_vars['order'] ); + $orderby = $this->get_order_by( $order ); + + // Limit & Offset + $limit = absint( $this->query_vars['number'] ); + $offset = absint( $this->query_vars['offset'] ); + + // Limits + if ( ! empty( $limit ) ) { + $limits = ! empty( $offset ) + ? "LIMIT {$offset}, {$limit}" + : "LIMIT {$limit}"; + } else { + $limits = ''; + } + + // Where & Join + $where = implode( ' AND ', $this->query_clauses['where'] ); + $join = implode( ', ', $this->query_clauses['join'] ); + + // Group by + $groupby = $this->parse_groupby( $this->query_vars['groupby'] ); + + // Fields + $fields = $this->parse_fields( $this->query_vars['fields'] ); + + // Setup the query array (compact() is too opaque here) + $query = array( + 'fields' => $fields, + 'join' => $join, + 'where' => $where, + 'orderby' => $orderby, + 'limits' => $limits, + 'groupby' => $groupby + ); + + /** + * Filters the item query clauses. + * + * @since 1.0.0 + * + * @param array $pieces A compacted array of item query clauses. + * @param Query &$this Current instance passed by reference. + */ + $clauses = (array) apply_filters_ref_array( $this->apply_prefix( "{$this->item_name_plural}_query_clauses" ), array( $query, &$this ) ); + + // Setup request + $this->set_request_clauses( $clauses ); + $this->set_request(); + + // Return count + if ( ! empty( $this->query_vars['count'] ) ) { + + // Get vars or results + $retval = empty( $this->query_vars['groupby'] ) + ? $this->get_db()->get_var( $this->request ) + : $this->get_db()->get_results( $this->request, ARRAY_A ); + + // Return vars or results + return $retval; + } + + // Get IDs + $item_ids = $this->get_db()->get_col( $this->request ); + + // Return parsed IDs + return wp_parse_id_list( $item_ids ); + } + + /** + * Get the ORDERBY clause. + * + * @since 1.0.0 + * + * @param string $order + * @return string + */ + private function get_order_by( $order = '' ) { + + // Default orderby primary column + $parsed = $this->parse_orderby(); + $orderby = "{$parsed} {$order}"; + + // Disable ORDER BY if counting, or: 'none', an empty array, or false. + if ( ! empty( $this->query_vars['count'] ) || in_array( $this->query_vars['orderby'], array( 'none', array(), false ), true ) ) { + $orderby = ''; + + // Ordering by something, so figure it out + } elseif ( ! empty( $this->query_vars['orderby'] ) ) { + + // Array of keys, or comma separated + $ordersby = is_array( $this->query_vars['orderby'] ) + ? $this->query_vars['orderby'] + : preg_split( '/[,\s]/', $this->query_vars['orderby'] ); + + $orderby_array = array(); + $possible_ins = $this->get_columns( array( 'in' => true ), 'and', 'name' ); + $sortables = $this->get_columns( array( 'sortable' => true ), 'and', 'name' ); + + // Loop through possible order by's + foreach ( $ordersby as $_key => $_value ) { + + // Skip if empty + if ( empty( $_value ) ) { + continue; + } + + // Key is numeric + if ( is_int( $_key ) ) { + $_orderby = $_value; + $_item = $order; + + // Key is string + } else { + $_orderby = $_key; + $_item = $_value; + } + + // Skip if not sortable + if ( ! in_array( $_value, $sortables, true ) ) { + continue; + } + + // Parse orderby + $parsed = $this->parse_orderby( $_orderby ); + + // Skip if empty + if ( empty( $parsed ) ) { + continue; + } + + // Set if __in + if ( in_array( $_orderby, $possible_ins, true ) ) { + $orderby_array[] = "{$parsed} {$order}"; + continue; + } + + // Append parsed orderby to array + $orderby_array[] = $parsed . ' ' . $this->parse_order( $_item ); + } + + // Only set if valid orderby + if ( ! empty( $orderby_array ) ) { + $orderby = implode( ', ', $orderby_array ); + } + } + + // Return parsed orderby + return $orderby; + } + + /** + * Used internally to generate an SQL string for searching across multiple + * columns. + * + * @since 1.0.0 + * + * @param string $string Search string. + * @param array $columns Columns to search. + * @return string Search SQL. + */ + private function get_search_sql( $string = '', $columns = array() ) { + + // Array or String + $like = ( false !== strpos( $string, '*' ) ) + ? '%' . implode( '%', array_map( array( $this->get_db(), 'esc_like' ), explode( '*', $string ) ) ) . '%' + : '%' . $this->get_db()->esc_like( $string ) . '%'; + + // Default array + $searches = array(); + + // Build search SQL + foreach ( $columns as $column ) { + $searches[] = $this->get_db()->prepare( "{$column} LIKE %s", $like ); + } + + // Return the clause + return '(' . implode( ' OR ', $searches ) . ')'; + } + + /** Private Parsers *******************************************************/ + + /** + * Parses arguments passed to the item query with default query parameters. + * + * @since 1.0.0 + * + * @see Query::__construct() + * + * @param string|array $query Array or string of Query arguments. + */ + private function parse_query( $query = array() ) { + + // Setup the query_vars_original var + $this->query_var_originals = wp_parse_args( $query ); + + // Setup the query_vars parsed var + $this->query_vars = wp_parse_args( + $this->query_var_originals, + $this->query_var_defaults + ); + + /** + * Fires after the item query vars have been parsed. + * + * @since 1.0.0 + * + * @param Query &$this The Query instance (passed by reference). + */ + do_action_ref_array( $this->apply_prefix( "parse_{$this->item_name_plural}_query" ), array( &$this ) ); + } + + /** + * Parse the where clauses for all known columns. + * + * @todo split this method into smaller parts + * + * @since 1.0.0 + */ + private function parse_where() { + + // Defaults + $where = $join = $searchable = $date_query = array(); + + // Loop through columns + foreach ( $this->columns as $column ) { + + // Maybe add name to searchable array + if ( true === $column->searchable ) { + $searchable[] = $column->name; + } + + // Literal column comparison + if ( ! $this->is_query_var_default( $column->name ) ) { + + // Array (unprepared) + if ( is_array( $this->query_vars[ $column->name ] ) ) { + $where_id = "'" . implode( "', '", $this->get_db()->_escape( $this->query_vars[ $column->name ] ) ) . "'"; + $statement = "{$this->table_alias}.{$column->name} IN ({$where_id})"; + + // Add to where array + $where[ $column->name ] = $statement; + + // Numeric/String/Float (prepared) + } else { + $pattern = $this->get_column_field( array( 'name' => $column->name ), 'pattern', '%s' ); + $where_id = $this->query_vars[ $column->name ]; + $statement = "{$this->table_alias}.{$column->name} = {$pattern}"; + + // Add to where array + $where[ $column->name ] = $this->get_db()->prepare( $statement, $where_id ); + } + } + + // __in + if ( true === $column->in ) { + $where_id = "{$column->name}__in"; + + // Parse item for an IN clause. + if ( isset( $this->query_vars[ $where_id ] ) && is_array( $this->query_vars[ $where_id ] ) ) { + + // Convert single item arrays to literal column comparisons + if ( 1 === count( $this->query_vars[ $where_id ] ) ) { + $column_value = reset( $this->query_vars[ $where_id ] ); + $statement = "{$this->table_alias}.{$column->name} = %s"; + + $where[ $column->name ] = $this->get_db()->prepare( $statement, $column_value ); + + // Implode + } else { + $where[ $where_id ] = "{$this->table_alias}.{$column->name} IN ( '" . implode( "', '", $this->get_db()->_escape( $this->query_vars[ $where_id ] ) ) . "' )"; + } + } + } + + // __not_in + if ( true === $column->not_in ) { + $where_id = "{$column->name}__not_in"; + + // Parse item for a NOT IN clause. + if ( isset( $this->query_vars[ $where_id ] ) && is_array( $this->query_vars[ $where_id ] ) ) { + + // Convert single item arrays to literal column comparisons + if ( 1 === count( $this->query_vars[ $where_id ] ) ) { + $column_value = reset( $this->query_vars[ $where_id ] ); + $statement = "{$this->table_alias}.{$column->name} != %s"; + + $where[ $column->name ] = $this->get_db()->prepare( $statement, $column_value ); + + // Implode + } else { + $where[ $where_id ] = "{$this->table_alias}.{$column->name} NOT IN ( '" . implode( "', '", $this->get_db()->_escape( $this->query_vars[ $where_id ] ) ) . "' )"; + } + } + } + + // date_query + if ( true === $column->date_query ) { + $where_id = "{$column->name}_query"; + $column_date = $this->query_vars[ $where_id ]; + + // Parse item + if ( ! empty( $column_date ) ) { + + // Default arguments + $defaults = array( + 'column' => "{$this->table_alias}.{$column->name}", + 'before' => $column_date, + 'inclusive' => true + ); + + // Default date query + if ( is_string( $column_date ) ) { + $date_query[] = $defaults; + + // Array query var + } elseif ( is_array( $column_date ) ) { + + // Auto-fill column if empty + if ( empty( $column_date['column'] ) ) { + $column_date['column'] = $defaults['column']; + } + + // Add clause to date query + $date_query[] = $column_date; + } + } + } + } + + // Maybe search if columns are searchable. + if ( ! empty( $searchable ) && strlen( $this->query_vars['search'] ) ) { + $search_columns = array(); + + // Intersect against known searchable columns + if ( ! empty( $this->query_vars['search_columns'] ) ) { + $search_columns = array_intersect( + $this->query_vars['search_columns'], + $searchable + ); + } + + // Default to all searchable columns + if ( empty( $search_columns ) ) { + $search_columns = $searchable; + } + + /** + * Filters the columns to search in a Query search. + * + * @since 1.0.0 + * + * @param array $search_columns Array of column names to be searched. + * @param string $search Text being searched. + * @param object $this The current Query instance. + */ + $search_columns = (array) apply_filters( $this->apply_prefix( "{$this->item_name_plural}_search_columns" ), $search_columns, $this->query_vars['search'], $this ); + + // Add search query clause + $where['search'] = $this->get_search_sql( $this->query_vars['search'], $search_columns ); + } + + /** Query Classes *****************************************************/ + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get the meta table + $table = $this->get_meta_type(); + + // Set the " AND " regex pattern + $and = '/^\s*AND\s*/'; + + // Maybe perform a meta query. + $meta_query = $this->query_vars['meta_query']; + if ( ! empty( $meta_query ) && is_array( $meta_query ) ) { + $this->meta_query = $this->get_meta_query( $meta_query ); + $clauses = $this->meta_query->get_sql( $table, $this->table_alias, $primary, $this ); + + // Not all objects have meta, so make sure this one exists + if ( false !== $clauses ) { + + // Set join + if ( ! empty( $clauses['join'] ) ) { + $join['meta_query'] = $clauses['join']; + } + + // Set where + if ( ! empty( $clauses['where'] ) ) { + + // Remove " AND " from query query where clause + $where['meta_query'] = preg_replace( $and, '', $clauses['where'] ); + } + } + } + + // Maybe perform a compare query. + $compare_query = $this->query_vars['compare_query']; + if ( ! empty( $compare_query ) && is_array( $compare_query ) ) { + $this->compare_query = $this->get_compare_query( $compare_query ); + $clauses = $this->compare_query->get_sql( $table, $this->table_alias, $primary, $this ); + + // Not all objects can compare, so make sure this one exists + if ( false !== $clauses ) { + + // Set join + if ( ! empty( $clauses['join'] ) ) { + $join['compare_query'] = $clauses['join']; + } + + // Set where + if ( ! empty( $clauses['where'] ) ) { + + // Remove " AND " from query where clause. + $where['compare_query'] = preg_replace( $and, '', $clauses['where'] ); + } + } + } + + // Only do a date query with an array + $date_query = ! empty( $date_query ) + ? $date_query + : $this->query_vars['date_query']; + + // Maybe perform a date query + if ( ! empty( $date_query ) && is_array( $date_query ) ) { + $this->date_query = $this->get_date_query( $date_query ); + $clauses = $this->date_query->get_sql( $this->table_name, $this->table_alias, $primary, $this ); + + // Not all objects are dates, so make sure this one exists + if ( false !== $clauses ) { + + // Set join + if ( ! empty( $clauses['join'] ) ) { + $join['date_query'] = $clauses['join']; + } + + // Set where + if ( ! empty( $clauses['where'] ) ) { + + // Remove " AND " from query where clause. + $where['date_query'] = preg_replace( $and, '', $clauses['where'] ); + } + } + } + + // Set where and join clauses, removing possible empties + $this->query_clauses['where'] = array_filter( $where ); + $this->query_clauses['join'] = array_filter( $join ); + } + + /** + * Parse which fields to query for. + * + * @since 1.0.0 + * + * @param string $fields + * @param bool $alias + * @return string + */ + private function parse_fields( $fields = '', $alias = true ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Default return value + $retval = ( true === $alias ) + ? "{$this->table_alias}.{$primary}" + : $primary; + + // No fields + if ( empty( $fields ) && ! empty( $this->query_vars['count'] ) ) { + + // Possible fields to group by + $groupby_names = $this->parse_groupby( $this->query_vars['groupby'], $alias ); + $groupby_names = ! empty( $groupby_names ) + ? "{$groupby_names}" + : ''; + + // Group by or total count + $retval = ! empty( $groupby_names ) + ? "{$groupby_names}, COUNT(*) as count" + : 'COUNT(*)'; + } + + // Return fields (or COUNT) + return $retval; + } + + /** + * Parses and sanitizes the 'groupby' keys passed into the item query. + * + * @since 1.0.0 + * + * @param string $groupby + * @param bool $alias + * @return string + */ + private function parse_groupby( $groupby = '', $alias = true ) { + + // Bail if empty + if ( empty( $groupby ) ) { + return ''; + } + + // Sanitize groupby columns + $groupby = (array) array_map( 'sanitize_key', (array) $groupby ); + + // Re'flip column names back around + $columns = array_flip( $this->get_column_names() ); + + // Get the intersection of allowed column names to groupby columns + $intersect = array_intersect( $groupby, $columns ); + + // Bail if invalid column + if ( empty( $intersect ) ) { + return ''; + } + + // Default return value + $retval = array(); + + // Maybe prepend table alias to key + foreach ( $intersect as $key ) { + $retval[] = ( true === $alias ) + ? "{$this->table_alias}.{$key}" + : $key; + } + + // Separate sanitized columns + return implode( ',', array_values( $retval ) ); + } + + /** + * Parses and sanitizes 'orderby' keys passed to the item query. + * + * @since 1.0.0 + * + * @param string $orderby Field for the items to be ordered by. + * @return string|false Value to used in the ORDER clause. False otherwise. + */ + private function parse_orderby( $orderby = '' ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Default return value + $parsed = "{$this->table_alias}.{$primary}"; + + // Default to primary column + if ( empty( $orderby ) ) { + $orderby = $primary; + } + + // __in + if ( false !== strstr( $orderby, '__in' ) ) { + $column_name = str_replace( '__in', '', $orderby ); + $column = $this->get_column_by( array( 'name' => $column_name ) ); + $item_in = $column->is_numeric() + ? implode( ',', array_map( 'absint', $this->query_vars[ $orderby ] ) ) + : implode( ',', $this->query_vars[ $orderby ] ); + + $parsed = "FIELD( {$this->table_alias}.{$column->name}, {$item_in} )"; + + // Specific column + } else { + + // Orderby is a literal, sortable column name + $sortables = $this->get_columns( array( 'sortable' => true ), 'and', 'name' ); + if ( in_array( $orderby, $sortables, true ) ) { + $parsed = "{$this->table_alias}.{$orderby}"; + } + } + + // Return parsed value + return $parsed; + } + + /** + * Parses an 'order' query variable and cast it to 'ASC' or 'DESC' as + * necessary. + * + * @since 1.0.0 + * + * @param string $order The 'order' query variable. + * @return string The sanitized 'order' query variable. + */ + private function parse_order( $order = '' ) { + + // Bail if malformed + if ( empty( $order ) || ! is_string( $order ) ) { + return 'DESC'; + } + + // Ascending or Descending + return ( 'ASC' === strtoupper( $order ) ) + ? 'ASC' + : 'DESC'; + } + + /** Private Shapers *******************************************************/ + + /** + * Shape items into their most relevant objects. + * + * This will try to use item_shape, but will fallback to a private + * method for querying and caching items. + * + * If using the `fields` parameter, results will have unique shapes based on + * exactly what was requested. + * + * @since 1.0.0 + * + * @param array $items + * @return array + */ + private function shape_items( $items = array() ) { + + // Force to stdClass if querying for fields + if ( ! empty( $this->query_vars['fields'] ) ) { + $this->item_shape = 'stdClass'; + } + + // Default return value + $retval = array(); + + // Use foreach because it's faster than array_map() + if ( ! empty( $items ) ) { + foreach ( $items as $item ) { + $retval[] = $this->get_item( $item ); + } + } + + /** + * Filters the object query results. + * + * Looks like `edd_get_customers` + * + * @since 1.0.0 + * + * @param array $retval An array of items. + * @param object &$this Current instance of Query, passed by reference. + */ + $retval = (array) apply_filters_ref_array( $this->apply_prefix( "the_{$this->item_name_plural}" ), array( $retval, &$this ) ); + + // Return filtered results + return ! empty( $this->query_vars['fields'] ) + ? $this->get_item_fields( $retval ) + : $retval; + } + + /** + * Get specific item fields based on query_vars['fields']. + * + * @since 1.0.0 + * + * @param array $items + * @return array + */ + private function get_item_fields( $items = array() ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get the query var fields + $fields = $this->query_vars['fields']; + + // Strings need to be single columns + if ( is_string( $fields ) ) { + $field = sanitize_key( $fields ); + $items = ( 'ids' === $fields ) + ? wp_list_pluck( $items, $primary ) + : wp_list_pluck( $items, $field, $primary ); + + // Arrays could be anything + } elseif ( is_array( $fields ) ) { + $new_items = array(); + $fields = array_flip( $fields ); + + // Loop through items and pluck out the fields + foreach ( $items as $item_id => $item ) { + $new_items[ $item_id ] = (object) array_intersect_key( (array) $item, $fields ); + } + + // Set the items and unset the new items + $items = $new_items; + unset( $new_items ); + } + + // Return the item, possibly reduced + return $items; + } + + /** + * Shape an item ID from an object, array, or numeric value. + * + * @since 1.0.0 + * + * @param mixed $item + * @return int + */ + private function shape_item_id( $item = 0 ) { + + // Default return value + $retval = 0; + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Numeric item ID + if ( is_numeric( $item ) ) { + $retval = $item; + + // Object item + } elseif ( is_object( $item ) && isset( $item->{$primary} ) ) { + $retval = $item->{$primary}; + + // Array item + } elseif ( is_array( $item ) && isset( $item[ $primary ] ) ) { + $retval = $item[ $primary ]; + } + + // Return the item ID + return absint( $retval ); + } + + /** Queries ***************************************************************/ + + /** + * Get a single database row by the primary column ID, possibly from cache. + * + * Accepts an integer, object, or array, and attempts to get the ID from it, + * then attempts to retrieve that item fresh from the database or cache. + * + * @since 1.0.0 + * + * @param int|array|object $item_id The ID of the item + * @return object|false False if empty/error, Object if successful + */ + public function get_item( $item_id = 0 ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no item to get by + if ( empty( $item_id ) ) { + return false; + } + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get item by ID + return $this->get_item_by( $primary, $item_id ); + } + + /** + * Get a single database row by any column and value, possibly from cache. + * + * Take care to only use this method on columns with unique values, + * preferably with a cache group for that column. See: get_item(). + * + * @since 1.0.0 + * + * @param string $column_name Name of database column + * @param int|string $column_value Value to query for + * @return object|false False if empty/error, Object if successful + */ + public function get_item_by( $column_name = '', $column_value = '' ) { + + // Default return value + $retval = false; + + // Bail if no key or value + if ( empty( $column_name ) || empty( $column_value ) ) { + return $retval; + } + + // Bail if name is not a string + if ( ! is_string( $column_name ) ) { + return $retval; + } + + // Bail if value is not scalar (null values also not allowed) + if ( ! is_scalar( $column_value ) ) { + return $retval; + } + + // Get all of the column names + $columns = $this->get_column_names(); + + // Bail if column does not exist + if ( ! isset( $columns[ $column_name ] ) ) { + return $retval; + } + + // Get all of the cache groups + $groups = $this->get_cache_groups(); + + // Check cache + if ( ! empty( $groups[ $column_name ] ) ) { + $retval = $this->cache_get( $column_value, $groups[ $column_name ] ); + } + + // Item not cached + if ( false === $retval ) { + + // Get item by column name & value (from database, not cache) + $retval = $this->get_item_raw( $column_name, $column_value ); + + // Bail on failure + if ( ! $this->is_success( $retval ) ) { + return false; + } + + // Update item cache(s) + $this->update_item_cache( $retval ); + } + + // Reduce the item + $retval = $this->reduce_item( 'select', $retval ); + + // Return result + return $this->shape_item( $retval ); + } + + /** + * Add an item to the database. + * + * @since 1.0.0 + * + * @param array $data + * @return bool + */ + public function add_item( $data = array() ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // If data includes primary column, check if item already exists + if ( ! empty( $data[ $primary ] ) ) { + + // Shape the primary item ID + $item_id = $this->shape_item_id( $data[ $primary ] ); + + // Get item by ID (from database, not cache) + $item = $this->get_item_raw( $primary, $item_id ); + + // Bail if item already exists + if ( ! empty( $item ) ) { + return false; + } + + // Set data primary ID to newly shaped ID + $data[ $primary ] = $item_id; + } + + // Get default values for item (from columns) + $item = $this->default_item(); + + // Unset the primary key if not part of data array (auto-incremented) + if ( empty( $data[ $primary ] ) ) { + unset( $item[ $primary ] ); + } + + // Cut out non-keys for meta + $columns = $this->get_column_names(); + $data = array_merge( $item, $data ); + $meta = array_diff_key( $data, $columns ); + $save = array_intersect_key( $data, $columns ); + + // Bail if nothing to save + if ( empty( $save ) && empty( $meta ) ) { + return false; + } + + // Get the current time (maybe used by created/modified) + $time = $this->get_current_time(); + + // If date-created exists, but is empty or default, use the current time + $created = $this->get_column_by( array( 'created' => true ) ); + if ( ! empty( $created ) && ( empty( $save[ $created->name ] ) || ( $save[ $created->name ] === $created->default ) ) ) { + $save[ $created->name ] = $time; + } + + // If date-modified exists, but is empty or default, use the current time + $modified = $this->get_column_by( array( 'modified' => true ) ); + if ( ! empty( $modified ) && ( empty( $save[ $modified->name ] ) || ( $save[ $modified->name ] === $modified->default ) ) ) { + $save[ $modified->name ] = $time; + } + + // Try to add + $table = $this->get_table_name(); + $reduce = $this->reduce_item( 'insert', $save ); + $save = $this->validate_item( $reduce ); + $result = ! empty( $save ) + ? $this->get_db()->insert( $table, $save ) + : false; + + // Bail on failure + if ( ! $this->is_success( $result ) ) { + return false; + } + + // Get the new item ID + $item_id = $this->get_db()->insert_id; + + // Maybe save meta keys + if ( ! empty( $meta ) ) { + $this->save_extra_item_meta( $item_id, $meta ); + } + + // Update item cache(s) + $this->update_item_cache( $item_id ); + + // Transition item data + $this->transition_item( $save, array(), $item_id ); + + // Return result + return $item_id; + } + + /** + * Copy an item in the database to a new item. + * + * @since 1.1.0 + * + * @param int $item_id + * @param array $data + * @return bool + */ + public function copy_item( $item_id = 0, $data = array() ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get item by ID (from database, not cache) + $item = $this->get_item_raw( $primary, $item_id ); + + // Bail if item does not exist + if ( empty( $item ) ) { + return false; + } + + // Cast object to array + $save = (array) $item; + + // Maybe merge data with original item + if ( ! empty( $data ) && is_array( $data ) ) { + $save = array_merge( $save, $data ); + } + + // Unset the primary key + unset( $save[ $primary ] ); + + // Return result + return $this->add_item( $save ); + } + + /** + * Update an item in the database. + * + * @since 1.0.0 + * + * @param int $item_id + * @param array $data + * @return bool + */ + public function update_item( $item_id = 0, $data = array() ) { + + // Bail early if no data to update + if ( empty( $data ) ) { + return false; + } + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no item ID + if ( empty( $item_id ) ) { + return false; + } + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get item to update (from database, not cache) + $item = $this->get_item_raw( $primary, $item_id ); + + // Bail if item does not exist to update + if ( empty( $item ) ) { + return false; + } + + // Cast as an array for easier manipulation + $item = (array) $item; + + // Unset the primary key from item & data + unset( + $data[ $primary ], + $item[ $primary ] + ); + + // Slice data that has columns, and cut out non-keys for meta + $columns = $this->get_column_names(); + $data = array_diff_assoc( $data, $item ); + $meta = array_diff_key( $data, $columns ); + $save = array_intersect_key( $data, $columns ); + + // Maybe save meta keys + if ( ! empty( $meta ) ) { + $this->save_extra_item_meta( $item_id, $meta ); + } + + // Bail if nothing to save + if ( empty( $save ) ) { + return false; + } + + // If date-modified exists, use the current time + $modified = $this->get_column_by( array( 'modified' => true ) ); + if ( ! empty( $modified ) ) { + $save[ $modified->name ] = $this->get_current_time(); + } + + // Try to update + $table = $this->get_table_name(); + $reduce = $this->reduce_item( 'update', $save ); + $save = $this->validate_item( $reduce ); + $where = array( $primary => $item_id ); + $result = ! empty( $save ) + ? $this->get_db()->update( $table, $save, $where ) + : false; + + // Bail on failure + if ( ! $this->is_success( $result ) ) { + return false; + } + + // Update item cache(s) + $this->update_item_cache( $item_id ); + + // Transition item data + $this->transition_item( $save, $item, $item_id ); + + // Return result + return $result; + } + + /** + * Delete an item from the database. + * + * @since 1.0.0 + * + * @param int $item_id + * @return bool + */ + public function delete_item( $item_id = 0 ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no item ID + if ( empty( $item_id ) ) { + return false; + } + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get item by ID (from database, not cache) + $item = $this->get_item_raw( $primary, $item_id ); + + // Bail if item does not exist to delete + if ( empty( $item ) ) { + return false; + } + + // Attempt to reduce this item + $item = $this->reduce_item( 'delete', $item ); + + // Bail if item was reduced to nothing + if ( empty( $item ) ) { + return false; + } + + // Try to delete + $table = $this->get_table_name(); + $where = array( $primary => $item_id ); + $result = $this->get_db()->delete( $table, $where ); + + // Bail on failure + if ( ! $this->is_success( $result ) ) { + return false; + } + + // Clean caches on successful delete + $this->delete_all_item_meta( $item_id ); + $this->clean_item_cache( $item ); + + // Return result + return $result; + } + + /** + * Filter an item before it is inserted of updated in the database. + * + * This method is public to allow subclasses to perform JIT manipulation + * of the parameters passed into it. + * + * @since 1.0.0 + * + * @param array $item + * @return array + */ + public function filter_item( $item = array() ) { + return (array) apply_filters_ref_array( $this->apply_prefix( "filter_{$this->item_name}_item" ), array( $item, &$this ) ); + } + + /** + * Shape an item from the database into the type of object it always wanted + * to be when it grew up. + * + * @since 1.0.0 + * + * @param mixed ID of item, or row from database + * @return mixed False on error, Object of single-object class type on success + */ + private function shape_item( $item = 0 ) { + + // Get the item from an ID + if ( is_numeric( $item ) ) { + $item = $this->get_item( $item ); + } + + // Return the item if it's already shaped + if ( $item instanceof $this->item_shape ) { + return $item; + } + + // Shape the item as needed + $item = ! empty( $this->item_shape ) + ? new $this->item_shape( $item ) + : (object) $item; + + // Return the item object + return $item; + } + + /** + * Validate an item before it is updated in or added to the database. + * + * @since 1.0.0 + * + * @param array $item + * @return array|false False on error, Array of validated values on success + */ + private function validate_item( $item = array() ) { + + // Bail if item is empty or not an array + if ( empty( $item ) || ! is_array( $item ) ) { + return $item; + } + + // Loop through item attributes + foreach ( $item as $key => $value ) { + + // Get the column + $column = $this->get_column_by( array( 'name' => $key ) ); + + // Null value is special for all item keys + if ( is_null( $value ) ) { + + // Bail if null is not allowed + if ( false === $column->allow_null ) { + return false; + } + + // Attempt to validate + } elseif ( ! empty( $column->validate ) && is_callable( $column->validate ) ) { + $validated = call_user_func( $column->validate, $value ); + + // Bail if error + if ( is_wp_error( $validated ) ) { + return false; + } + + // Update the value + $item[ $key ] = $validated; + + /** + * Fallback to using the raw value. + * + * Note: This may change at a later date, so do not rely on this. + * Please always validate all data. + */ + } else { + $item[ $key ] = $value; + } + } + + // Return the validated item + return $this->filter_item( $item ); + } + + /** + * Reduce an item down to the keys and values the current user has the + * appropriate capabilities to select|insert|update|delete. + * + * Note that internally, this method works with both arrays and objects of + * any type, and also resets the key values. It looks weird, but is + * currently by design to protect the integrity of the return value. + * + * @since 1.0.0 + * + * @param string $method select|insert|update|delete + * @param mixed $item Object|Array of keys/values to reduce + * + * @return mixed Object|Array without keys the current user does not have caps for + */ + private function reduce_item( $method = 'update', $item = array() ) { + + // Bail if item is empty + if ( empty( $item ) ) { + return $item; + } + + // Loop through item attributes + foreach ( $item as $key => $value ) { + + // Get capabilities for this column + $caps = $this->get_column_field( array( 'name' => $key ), 'caps' ); + + // Unset if not explicitly allowed + if ( empty( $caps[ $method ] ) || ! current_user_can( $caps[ $method ] ) ) { + if ( is_array( $item ) ) { + unset( $item[ $key ] ); + } elseif ( is_object( $item ) ) { + $item->{$key} = null; + } + + // Set if explicitly allowed + } elseif ( is_array( $item ) ) { + $item[ $key ] = $value; + } elseif ( is_object( $item ) ) { + $item->{$key} = $value; + } + } + + // Return the reduced item + return $item; + } + + /** + * Return an item comprised of all default values. + * + * This is used by `add_item()` to populate known default values, to ensure + * new item data is always what we expect it to be. + * + * @since 1.0.0 + * + * @return array + */ + private function default_item() { + + // Default return value + $retval = array(); + + // Get the column names and their defaults + $names = $this->get_columns( array(), 'and', 'name' ); + $defaults = $this->get_columns( array(), 'and', 'default' ); + + // Put together an item using default values + foreach ( $names as $key => $name ) { + $retval[ $name ] = $defaults[ $key ]; + } + + // Return + return $retval; + } + + /** + * Transition an item when adding or updating. + * + * This method takes the data being saved, looks for any columns that are + * known to transition between values, and fires actions on them. + * + * @since 1.0.0 + * + * @param array $new_data + * @param array $old_data + * @param int $item_id + * @return array + */ + private function transition_item( $new_data = array(), $old_data = array(), $item_id = 0 ) { + + // Look for transition columns + $columns = $this->get_columns( array( 'transition' => true ), 'and', 'name' ); + + // Bail if no columns to transition + if ( empty( $columns ) ) { + return; + } + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no item ID + if ( empty( $item_id ) ) { + return; + } + + // If no old value(s), it's new + if ( empty( $old_data ) || ! is_array( $old_data ) ) { + $old_data = $new_data; + + // Set all old values to "new" + foreach ( $old_data as $key => $value ) { + $value = 'new'; + $old_data[ $key ] = $value; + } + } + + // Compare + $keys = array_flip( $columns ); + $new = array_intersect_key( $new_data, $keys ); + $old = array_intersect_key( $old_data, $keys ); + + // Get the difference + $diff = array_diff( $new, $old ); + + // Bail if nothing is changing + if ( empty( $diff ) ) { + return; + } + + // Do the actions + foreach ( $diff as $key => $value ) { + $old_value = $old_data[ $key ]; + $new_value = $new_data[ $key ]; + $key_action = $this->apply_prefix( "transition_{$this->item_name}_{$key}" ); + + /** + * Fires after an object value has transitioned. + * + * @since 1.0.0 + * + * @param mixed $old_value The value being transitioned FROM. + * @param mixed $new_value The value being transitioned TO. + * @param int $item_id The ID of the item that is transitioning. + */ + do_action( $key_action, $old_value, $new_value, $item_id ); + } + } + + /** Meta ******************************************************************/ + + /** + * Add meta data to an item. + * + * @since 1.0.0 + * + * @param int $item_id + * @param string $meta_key + * @param string $meta_value + * @param string $unique + * @return int|false The meta ID on success, false on failure. + */ + protected function add_item_meta( $item_id = 0, $meta_key = '', $meta_value = '', $unique = false ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no meta to add + if ( empty( $item_id ) || empty( $meta_key ) ) { + return false; + } + + // Bail if no meta table exists + if ( false === $this->get_meta_table_name() ) { + return false; + } + + // Get the meta type + $meta_type = $this->get_meta_type(); + + // Return results of adding meta data + return add_metadata( $meta_type, $item_id, $meta_key, $meta_value, $unique ); + } + + /** + * Get meta data for an item. + * + * @since 1.0.0 + * + * @param int $item_id + * @param string $meta_key + * @param bool $single + * @return mixed Single metadata value, or array of values + */ + protected function get_item_meta( $item_id = 0, $meta_key = '', $single = false ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no meta was returned + if ( empty( $item_id ) || empty( $meta_key ) ) { + return false; + } + + // Bail if no meta table exists + if ( false === $this->get_meta_table_name() ) { + return false; + } + + // Get the meta type + $meta_type = $this->get_meta_type(); + + // Return results of getting meta data + return get_metadata( $meta_type, $item_id, $meta_key, $single ); + } + + /** + * Update meta data for an item. + * + * @since 1.0.0 + * + * @param int $item_id + * @param string $meta_key + * @param string $meta_value + * @param string $prev_value + * @return bool True on successful update, false on failure. + */ + protected function update_item_meta( $item_id = 0, $meta_key = '', $meta_value = '', $prev_value = '' ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no meta was returned + if ( empty( $item_id ) || empty( $meta_key ) ) { + return false; + } + + // Bail if no meta table exists + if ( false === $this->get_meta_table_name() ) { + return false; + } + + // Get the meta type + $meta_type = $this->get_meta_type(); + + // Return results of updating meta data + return update_metadata( $meta_type, $item_id, $meta_key, $meta_value, $prev_value ); + } + + /** + * Delete meta data for an item. + * + * @since 1.0.0 + * + * @param int $item_id + * @param string $meta_key + * @param string $meta_value + * @param string $delete_all + * @return bool True on successful delete, false on failure. + */ + protected function delete_item_meta( $item_id = 0, $meta_key = '', $meta_value = '', $delete_all = false ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no meta was returned + if ( empty( $item_id ) || empty( $meta_key ) ) { + return false; + } + + // Bail if no meta table exists + if ( false === $this->get_meta_table_name() ) { + return false; + } + + // Get the meta type + $meta_type = $this->get_meta_type(); + + // Return results of deleting meta data + return delete_metadata( $meta_type, $item_id, $meta_key, $meta_value, $delete_all ); + } + + /** + * Get registered meta data keys. + * + * @since 1.0.0 + * + * @param string $object_subtype The sub-type of meta keys + * + * @return array + */ + private function get_registered_meta_keys( $object_subtype = '' ) { + + // Get the object type + $object_type = $this->get_meta_type(); + + // Return the keys + return get_registered_meta_keys( $object_type, $object_subtype ); + } + + /** + * Maybe update meta values on item update/save. + * + * @since 1.0.0 + * + * @param array $meta + */ + private function save_extra_item_meta( $item_id = 0, $meta = array() ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if there is no bulk meta to save + if ( empty( $item_id ) || empty( $meta ) ) { + return; + } + + // Bail if no meta table exists + if ( false === $this->get_meta_table_name() ) { + return; + } + + // Only save registered keys + $keys = $this->get_registered_meta_keys(); + $meta = array_intersect_key( $meta, $keys ); + + // Bail if no registered meta keys + if ( empty( $meta ) ) { + return; + } + + // Save or delete meta data + foreach ( $meta as $key => $value ) { + ! empty( $value ) + ? $this->update_item_meta( $item_id, $key, $value ) + : $this->delete_item_meta( $item_id, $key ); + } + } + + /** + * Delete all meta data for an item. + * + * @since 1.0.0 + * + * @param int $item_id + */ + private function delete_all_item_meta( $item_id = 0 ) { + + // Shape the item ID + $item_id = $this->shape_item_id( $item_id ); + + // Bail if no item ID + if ( empty( $item_id ) ) { + return; + } + + // Get the meta table name + $table = $this->get_meta_table_name(); + + // Bail if no meta table exists + if ( empty( $table ) ) { + return; + } + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Guess the item ID column for the meta table + $item_id_column = $this->apply_prefix( "{$this->item_name}_{$primary}" ); + + // Get meta IDs + $query = "SELECT meta_id FROM {$table} WHERE {$item_id_column} = %d"; + $prepared = $this->get_db()->prepare( $query, $item_id ); + $meta_ids = $this->get_db()->get_col( $prepared ); + + // Bail if no meta IDs to delete + if ( empty( $meta_ids ) ) { + return; + } + + // Get the meta type + $meta_type = $this->get_meta_type(); + + // Delete all meta data for this item ID + foreach ( $meta_ids as $mid ) { + delete_metadata_by_mid( $meta_type, $mid ); + } + } + + /** + * Get the meta table for this query. + * + * Forked from WordPress\_get_meta_table() so it can be more accurately + * predicted in a future iteration and default to returning false. + * + * @since 1.0.0 + * + * @return mixed Table name if exists, False if not + */ + private function get_meta_table_name() { + + // Get the meta-type + $type = $this->get_meta_type(); + + // Append "meta" to end of meta-type + $table_name = "{$type}meta"; + + // Variable'ize the database interface, to use inside empty() + $db = $this->get_db(); + + // If not empty, return table name + if ( ! empty( $db->{$table_name} ) ) { + return $db->{$table_name}; + } + + // Default return false + return false; + } + + /** + * Get the meta type for this query. + * + * This method exists to reduce some duplication for now. Future iterations + * will likely use Column::relationships to + * + * @since 1.1.0 + * + * @return string + */ + private function get_meta_type() { + return $this->apply_prefix( $this->item_name ); + } + + /** Cache *****************************************************************/ + + /** + * Get cache key from query_vars and query_var_defaults. + * + * @since 1.0.0 + * + * @return string + */ + private function get_cache_key( $group = '' ) { + + // Slice query vars + $slice = wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) ); + + // Unset `fields` so it does not effect the cache key + unset( $slice['fields'] ); + + // Setup key & last_changed + $key = md5( serialize( $slice ) ); + $last_changed = $this->get_last_changed_cache( $group ); + + // Concatenate and return cache key + return "get_{$this->item_name_plural}:{$key}:{$last_changed}"; + } + + /** + * Get the cache group, or fallback to the primary one. + * + * @since 1.0.0 + * + * @param string $group + * @return string + */ + private function get_cache_group( $group = '' ) { + + // Get the primary column + $primary = $this->get_primary_column_name(); + + // Default return value + $retval = $this->cache_group; + + // Only allow non-primary groups + if ( ! empty( $group ) && ( $group !== $primary ) ) { + $retval = $group; + } + + // Return the group + return $retval; + } + + /** + * Get array of which database columns have uniquely cached groups. + * + * @since 1.0.0 + * + * @return array + */ + private function get_cache_groups() { + + // Return value + $cache_groups = array(); + + // Get the cache groups + $groups = $this->get_columns( array( 'cache_key' => true ), 'and', 'name' ); + + if ( ! empty( $groups ) ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Setup return values + foreach ( $groups as $name ) { + if ( $primary !== $name ) { + $cache_groups[ $name ] = "{$this->cache_group}-by-{$name}"; + } else { + $cache_groups[ $name ] = $this->cache_group; + } + } + } + + // Return cache groups array + return $cache_groups; + } + + /** + * Maybe prime item & item-meta caches by querying 1 time for all un-cached + * items. + * + * Accepts a single ID, or an array of IDs. + * + * The reason this accepts only IDs is because it gets called immediately + * after an item is inserted in the database, but before items have been + * "shaped" into proper objects, so object properties may not be set yet. + * + * @since 1.0.0 + * + * @param array $item_ids + * @param bool $force + * + * @return bool False if empty + */ + private function prime_item_caches( $item_ids = array(), $force = false ) { + + // Bail if no items to cache + if ( empty( $item_ids ) ) { + return false; + } + + // Accepts single values, so cast to array + $item_ids = (array) $item_ids; + + // Update item caches + if ( ! empty( $force ) || ! empty( $this->query_vars['update_item_cache'] ) ) { + + // Look for non-cached IDs + $ids = $this->get_non_cached_ids( $item_ids, $this->cache_group ); + + // Bail if IDs are cached + if ( empty( $ids ) ) { + return false; + } + + // Get query parts + $table = $this->get_table_name(); + $primary = $this->get_primary_column_name(); + + // Query database + $query = "SELECT * FROM {$table} WHERE {$primary} IN (%s)"; + $ids = implode( ',', array_map( 'absint', $ids ) ); + $prepare = sprintf( $query, $ids ); + $results = $this->get_db()->get_results( $prepare ); + + // Update item cache(s) + $this->update_item_cache( $results ); + } + + // Update meta data caches + if ( ! empty( $this->query_vars['update_meta_cache'] ) ) { + $singular = rtrim( $this->table_name, 's' ); // sic + update_meta_cache( $singular, $item_ids ); + } + } + + /** + * Update the cache for an item. Does not update item-meta cache. + * + * Accepts a single object, or an array of objects. + * + * The reason this does not accept ID's is because this gets called + * after an item is already updated in the database, so we want to avoid + * querying for it again. It's just safer this way. + * + * @since 1.0.0 + * + * @param array $items + */ + private function update_item_cache( $items = array() ) { + + // Maybe query for single item + if ( is_numeric( $items ) ) { + + // Get the primary column name + $primary = $this->get_primary_column_name(); + + // Get item by ID (from database, not cache) + $items = $this->get_item_raw( $primary, $items ); + } + + // Bail if no items to cache + if ( empty( $items ) ) { + return false; + } + + // Make sure items are an array (without casting objects to arrays) + if ( ! is_array( $items ) ) { + $items = array( $items ); + } + + // Get the cache groups + $groups = $this->get_cache_groups(); + + // Loop through all items and cache them + foreach ( $items as $item ) { + + // Skip if item is not an object + if ( ! is_object( $item ) ) { + continue; + } + + // Loop through groups and set cache + if ( ! empty( $groups ) ) { + foreach ( $groups as $key => $group ) { + $this->cache_set( $item->{$key}, $item, $group ); + } + } + } + + // Update last changed + $this->update_last_changed_cache(); + } + + /** + * Clean the cache for an item. Does not clean item-meta. + * + * Accepts a single object, or an array of objects. + * + * The reason this does not accept ID's is because this gets called + * after an item is already deleted from the database, so it cannot be + * queried and may not exist in the cache. It's just safer this way. + * + * @since 1.0.0 + * + * @param mixed $items Single object item, or Array of object items + * + * @return bool + */ + private function clean_item_cache( $items = array() ) { + + // Bail if no items to clean + if ( empty( $items ) ) { + return false; + } + + // Make sure items are an array + if ( ! is_array( $items ) ) { + $items = array( $items ); + } + + // Get the cache groups + $groups = $this->get_cache_groups(); + + // Loop through all items and clean them + foreach ( $items as $item ) { + + // Skip if item is not an object + if ( ! is_object( $item ) ) { + continue; + } + + // Loop through groups and delete cache + if ( ! empty( $groups ) ) { + foreach ( $groups as $key => $group ) { + $this->cache_delete( $item->{$key}, $group ); + } + } + } + + // Update last changed + $this->update_last_changed_cache(); + } + + /** + * Update the last_changed key for the cache group. + * + * @since 1.0.0 + * + * @return string The last time a cache group was changed. + */ + private function update_last_changed_cache( $group = '' ) { + + // Fallback to microtime + if ( empty( $this->last_changed ) ) { + $this->set_last_changed(); + } + + // Set the last changed time for this cache group + $this->cache_set( 'last_changed', $this->last_changed, $group ); + + // Return the last changed time + return $this->last_changed; + } + + /** + * Get the last_changed key for a cache group. + * + * @since 1.0.0 + * + * @param string $group Cache group. Defaults to $this->cache_group + * + * @return string The last time a cache group was changed. + */ + private function get_last_changed_cache( $group = '' ) { + + // Get the last changed cache value + $last_changed = $this->cache_get( 'last_changed', $group ); + + // Maybe update the last changed value + if ( false === $last_changed ) { + $last_changed = $this->update_last_changed_cache( $group ); + } + + // Return the last changed value for the cache group + return $last_changed; + } + + /** + * Get array of non-cached item IDs. + * + * @since 1.0.0 + * + * @param array $item_ids Array of item IDs + * @param string $group Cache group. Defaults to $this->cache_group + * + * @return array + */ + private function get_non_cached_ids( $item_ids = array(), $group = '' ) { + + // Default return value + $retval = array(); + + // Bail if no item IDs + if ( empty( $item_ids ) ) { + return $retval; + } + + // Loop through item IDs + foreach ( $item_ids as $id ) { + + // Shape the item ID + $id = $this->shape_item_id( $id ); + + // Add to return value if not cached + if ( false === $this->cache_get( $id, $group ) ) { + $retval[] = $id; + } + } + + // Return array of IDs + return $retval; + } + + /** + * Add a cache value for a key and group. + * + * @since 1.0.0 + * + * @param string $key Cache key. + * @param mixed $value Cache value. + * @param string $group Cache group. Defaults to $this->cache_group + * @param int $expire Expiration. + */ + private function cache_add( $key = '', $value = '', $group = '', $expire = 0 ) { + + // Bail if cache invalidation is suspended + if ( wp_suspend_cache_addition() ) { + return; + } + + // Bail if no cache key + if ( empty( $key ) ) { + return; + } + + // Get the cache group + $group = $this->get_cache_group( $group ); + + // Add to the cache + wp_cache_add( $key, $value, $group, $expire ); + } + + /** + * Get a cache value for a key and group. + * + * @since 1.0.0 + * + * @param string $key Cache key. + * @param string $group Cache group. Defaults to $this->cache_group + * @param bool $force + */ + private function cache_get( $key = '', $group = '', $force = false ) { + + // Bail if no cache key + if ( empty( $key ) ) { + return; + } + + // Get the cache group + $group = $this->get_cache_group( $group ); + + // Return from the cache + return wp_cache_get( $key, $group, $force ); + } + + /** + * Set a cache value for a key and group. + * + * @since 1.0.0 + * + * @param string $key Cache key. + * @param mixed $value Cache value. + * @param string $group Cache group. Defaults to $this->cache_group + * @param int $expire Expiration. + */ + private function cache_set( $key = '', $value = '', $group = '', $expire = 0 ) { + + // Bail if cache invalidation is suspended + if ( wp_suspend_cache_addition() ) { + return; + } + + // Bail if no cache key + if ( empty( $key ) ) { + return; + } + + // Get the cache group + $group = $this->get_cache_group( $group ); + + // Update the cache + wp_cache_set( $key, $value, $group, $expire ); + } + + /** + * Delete a cache key for a group. + * + * @since 1.0.0 + * + * @global bool $_wp_suspend_cache_invalidation + * + * @param string $key Cache key. + * @param string $group Cache group. Defaults to $this->cache_group + */ + private function cache_delete( $key = '', $group = '' ) { + global $_wp_suspend_cache_invalidation; + + // Bail if cache invalidation is suspended + if ( ! empty( $_wp_suspend_cache_invalidation ) ) { + return; + } + + // Bail if no cache key + if ( empty( $key ) ) { + return; + } + + // Get the cache group + $group = $this->get_cache_group( $group ); + + // Delete the cache + wp_cache_delete( $key, $group ); + } + + /** + * Fetch raw results directly from the database. + * + * @since 1.0.0 + * + * @param array $cols Columns for `SELECT`. + * @param array $where_cols Where clauses. Each key-value pair in the array + * represents a column and a comparison. + * @param int $limit Optional. LIMIT value. Default 25. + * @param null $offset Optional. OFFSET value. Default null. + * @param string $output Optional. Any of ARRAY_A | ARRAY_N | OBJECT | OBJECT_K constants. + * Default OBJECT. + * With one of the first three, return an array of + * rows indexed from 0 by SQL result row number. + * Each row is an associative array (column => value, ...), + * a numerically indexed array (0 => value, ...), + * or an object. ( ->column = value ), respectively. + * With OBJECT_K, return an associative array of + * row objects keyed by the value of each row's + * first column's value. + * + * @return array|object|null Database query results. + */ + public function get_results( $cols = array(), $where_cols = array(), $limit = 25, $offset = null, $output = OBJECT ) { + + // Bail if no columns have been passed + if ( empty( $cols ) ) { + return null; + } + + // Fetch all the columns for the table being queried + $column_names = $this->get_column_names(); + + // Ensure valid column names have been passed for the `SELECT` clause + foreach ( $cols as $index => $column ) { + if ( ! array_key_exists( $column, $column_names ) ) { + unset( $cols[ $index ] ); + } + } + + // Columns to retrieve + $columns = implode( ',', $cols ); + + // Get the table name + $table = $this->get_table_name(); + + // Setup base query + $query = implode( ' ', array( + "SELECT", + $columns, + "FROM {$table} {$this->table_alias}", + "WHERE 1=1" + ) ); + + // Ensure valid columns have been passed for the `WHERE` clause + if ( ! empty( $where_cols ) ) { + + // Get keys from where columns + $columns = array_keys( $where_cols ); + + // Loop through columns and unset any invalid names + foreach ( $columns as $index => $column ) { + if ( ! array_key_exists( $column, $column_names ) ) { + unset( $where_cols[ $index ] ); + } + } + + // Parse WHERE clauses + foreach ( $where_cols as $column => $compare ) { + + // Basic WHERE clause + if ( ! is_array( $compare ) ) { + $pattern = $this->get_column_field( array( 'name' => $column ), 'pattern', '%s' ); + $statement = " AND {$this->table_alias}.{$column} = {$pattern} "; + $query .= $this->get_db()->prepare( $statement, $compare ); + + // More complex WHERE clause + } else { + $value = isset( $compare['value'] ) + ? $compare['value'] + : false; + + // Skip if a value was not provided + if ( false === $value ) { + continue; + } + + // Default compare clause to equals + $compare_clause = isset( $compare['compare_query'] ) + ? trim( strtoupper( $compare['compare_query'] ) ) + : '='; + + // Array (unprepared) + if ( is_array( $compare['value'] ) ) { + + // Default to IN if clause not specified + if ( ! in_array( $compare_clause, array( 'IN', 'NOT IN', 'BETWEEN' ), true ) ) { + $compare_clause = 'IN'; + } + + // Parse & escape for IN and NOT IN + if ( 'IN' === $compare_clause || 'NOT IN' === $compare_clause ) { + $value = "('" . implode( "','", $this->get_db()->_escape( $compare['value'] ) ) . "')"; + + // Parse & escape for BETWEEN + } elseif ( is_array( $value ) && 2 === count( $value ) && 'BETWEEN' === $compare_clause ) { + $_this = $this->get_db()->_escape( $value[0] ); + $_that = $this->get_db()->_escape( $value[1] ); + $value = " {$_this} AND {$_that} "; + } + } + + // Add WHERE clause + $query .= " AND {$this->table_alias}.{$column} {$compare_clause} {$value} "; + } + } + } + + // Maybe set an offset + if ( ! empty( $offset ) ) { + $values = explode( ',', $offset ); + $values = array_filter( $values, 'intval' ); + $offset = implode( ',', $values ); + $query .= " OFFSET {$offset} "; + } + + // Maybe set a limit + if ( ! empty( $limit ) && ( $limit > 0 ) ) { + $limit = intval( $limit ); + $query .= " LIMIT {$limit} "; + } + + // Execute query + $results = $this->get_db()->get_results( $query, $output ); + + // Return results + return $results; + } +} diff --git a/inc/Dependencies/Database/Row.php b/inc/Dependencies/Database/Row.php new file mode 100644 index 0000000..1614d6b --- /dev/null +++ b/inc/Dependencies/Database/Row.php @@ -0,0 +1,65 @@ +init( $item ); + } + } + + /** + * Initialize class properties based on data array. + * + * @since 1.0.0 + * + * @param array $data + */ + private function init( $data = array() ) { + $this->set_vars( $data ); + } + + /** + * Determines whether the current row exists. + * + * @since 1.0.0 + * + * @return bool + */ + public function exists() { + return ! empty( $this->id ); + } +} diff --git a/inc/Dependencies/Database/Schema.php b/inc/Dependencies/Database/Schema.php new file mode 100644 index 0000000..a7ed3e3 --- /dev/null +++ b/inc/Dependencies/Database/Schema.php @@ -0,0 +1,88 @@ +columns ) || ! is_array( $this->columns ) ) { + return; + } + + // Juggle original columns array + $columns = $this->columns; + $this->columns = array(); + + // Loop through columns and create objects from them + foreach ( $columns as $column ) { + if ( is_array( $column ) ) { + $this->columns[] = new Column( $column ); + } elseif ( $column instanceof Column ) { + $this->columns[] = $column; + } + } + } + + /** + * Return the schema in string form. + * + * @since 1.0.0 + * + * @return string Calls get_create_string() on every column. + */ + protected function to_string() { + + // Default return value + $retval = ''; + + // Bail if no columns to convert + if ( empty( $this->columns ) ) { + return $retval; + } + + // Loop through columns... + foreach ( $this->columns as $column_info ) { + if ( method_exists( $column_info, 'get_create_string' ) ) { + $retval .= '\n' . $column_info->get_create_string() . ', '; + } + } + + // Return the string + return $retval; + } +} diff --git a/inc/Dependencies/Database/Table.php b/inc/Dependencies/Database/Table.php new file mode 100644 index 0000000..e85054e --- /dev/null +++ b/inc/Dependencies/Database/Table.php @@ -0,0 +1,998 @@ + value array of versions => methods. + * + * @since 1.0.0 + * @var array + */ + protected $upgrades = array(); + + /** Methods ***************************************************************/ + + /** + * Hook into queries, admin screens, and more! + * + * @since 1.0.0 + */ + public function __construct() { + + // Setup the database table + $this->setup(); + + // Bail if setup failed + if ( empty( $this->name ) || empty( $this->db_version_key ) ) { + return; + } + + // Add the table to the database interface + $this->set_db_interface(); + + // Set the database schema + $this->set_schema(); + + // Add hooks + $this->add_hooks(); + + // Maybe force upgrade if testing + if ( $this->is_testing() ) { + $this->maybe_upgrade(); + } + } + + /** + * Compatibility for clone() method for PHP versions less than 7.0. + * + * See: https://github.com/sugarcalendar/core/issues/105 + * + * This shim will be removed at a later date. + * + * @since 2.0.20 + * + * @param string $function + * @param array $args + */ + public function __call( $function = '', $args = array() ) { + if ( 'clone' === $function ) { + call_user_func_array( array( $this, '_clone' ), $args ); + } + } + + /** Abstract **************************************************************/ + + /** + * Setup this database table. + * + * @since 1.0.0 + */ + protected abstract function set_schema(); + + /** Multisite *************************************************************/ + + /** + * Update table version & references. + * + * Hooked to the "switch_blog" action. + * + * @since 1.0.0 + * + * @param int $site_id The site being switched to + */ + public function switch_blog( $site_id = 0 ) { + + // Update DB version based on the current site + if ( ! $this->is_global() ) { + $this->db_version = get_blog_option( $site_id, $this->db_version_key, false ); + } + + // Update interface for switched site + $this->set_db_interface(); + } + + /** Public Helpers ********************************************************/ + + /** + * Maybe upgrade the database table. Handles creation & schema changes. + * + * Hooked to the `admin_init` action. + * + * @since 1.0.0 + */ + public function maybe_upgrade() { + + // Bail if not upgradeable + if ( ! $this->is_upgradeable() ) { + return; + } + + // Bail if upgrade not needed + if ( ! $this->needs_upgrade() ) { + return; + } + + // Upgrade + if ( $this->exists() ) { + $this->upgrade(); + + // Install + } else { + $this->install(); + } + } + + /** + * Return whether this table needs an upgrade. + * + * @since 1.0.0 + * + * @param mixed $version Database version to check if upgrade is needed + * + * @return bool True if table needs upgrading. False if not. + */ + public function needs_upgrade( $version = false ) { + + // Use the current table version if none was passed + if ( empty( $version ) ) { + $version = $this->version; + } + + // Get the current database version + $this->get_db_version(); + + // Is the database table up to date? + $is_current = version_compare( $this->db_version, $version, '>=' ); + + // Return false if current, true if out of date + return ( true === $is_current ) + ? false + : true; + } + + /** + * Return whether this table can be upgraded. + * + * @since 1.0.0 + * + * @return bool True if table can be upgraded. False if not. + */ + public function is_upgradeable() { + + // Bail if global and upgrading global tables is not allowed + if ( $this->is_global() && ! wp_should_upgrade_global_tables() ) { + return false; + } + + // Kinda weird, but assume it is + return true; + } + + /** + * Return the current table version from the database. + * + * This is public method for accessing a private variable so that it cannot + * be externally modified. + * + * @since 1.0.0 + * + * @return string + */ + public function get_version() { + $this->get_db_version(); + + return $this->db_version; + } + + /** + * Install a database table + * + * Creates the table and sets the version information if successful. + * + * @since 1.0.0 + */ + public function install() { + + // Try to create the table + $created = $this->create(); + + // Set the DB version if create was successful + if ( true === $created ) { + $this->set_db_version(); + } + } + + /** + * Uninstall a database table + * + * Drops the table and deletes the version information if successful and/or + * the table does not exist anymore. + * + * @since 1.0.0 + */ + public function uninstall() { + + // Try to drop the table + $dropped = $this->drop(); + + // Delete the DB version if drop was successful or table does not exist + if ( ( true === $dropped ) || ! $this->exists() ) { + $this->delete_db_version(); + } + } + + /** Public Management *****************************************************/ + + /** + * Check if table already exists. + * + * @since 1.0.0 + * + * @return bool + */ + public function exists() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "SHOW TABLES LIKE %s"; + $like = $db->esc_like( $this->table_name ); + $prepared = $db->prepare( $query, $like ); + $result = $db->get_var( $prepared ); + + // Does the table exist? + return $this->is_success( $result ); + } + + /** + * Get columns from table. + * + * @since 1.2.0 + * + * @return array + */ + public function columns() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "SHOW FULL COLUMNS FROM {$this->table_name}"; + $result = $db->get_results( $query ); + + // Return the results + return $this->is_success( $result ) + ? $result + : false; + } + + /** + * Create the table. + * + * @since 1.0.0 + * + * @return bool + */ + public function create() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "CREATE TABLE {$this->table_name} ( {$this->schema} ) {$this->charset_collation}"; + $result = $db->query( $query ); + + // Was the table created? + return $this->is_success( $result ); + } + + /** + * Drop the database table. + * + * @since 1.0.0 + * + * @return bool + */ + public function drop() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "DROP TABLE {$this->table_name}"; + $result = $db->query( $query ); + + // Did the table get dropped? + return $this->is_success( $result ); + } + + /** + * Truncate the database table. + * + * @since 1.0.0 + * + * @return bool + */ + public function truncate() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "TRUNCATE TABLE {$this->table_name}"; + $result = $db->query( $query ); + + // Did the table get truncated? + return $this->is_success( $result ); + } + + /** + * Delete all items from the database table. + * + * @since 1.0.0 + * + * @return bool + */ + public function delete_all() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "DELETE FROM {$this->table_name}"; + $result = $db->query( $query ); + + // Return the results + return $result; + } + + /** + * Clone this database table. + * + * Pair with copy(). + * + * @since 1.1.0 + * + * @param string $new_table_name The name of the new table, without prefix + * + * @return bool + */ + public function _clone( $new_table_name = '' ) { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Sanitize the new table name + $table_name = $this->sanitize_table_name( $new_table_name ); + + // Bail if new table name is invalid + if ( empty( $table_name ) ) { + return false; + } + + // Query statement + $table = $this->apply_prefix( $table_name ); + $query = "CREATE TABLE {$table} LIKE {$this->table_name}"; + $result = $db->query( $query ); + + // Did the table get cloned? + return $this->is_success( $result ); + } + + /** + * Copy the contents of this table to a new table. + * + * Pair with clone(). + * + * @since 1.1.0 + * + * @param string $new_table_name The name of the new table, without prefix + * + * @return bool + */ + public function copy( $new_table_name = '' ) { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Sanitize the new table name + $table_name = $this->sanitize_table_name( $new_table_name ); + + // Bail if new table name is invalid + if ( empty( $table_name ) ) { + return false; + } + + // Query statement + $table = $this->apply_prefix( $table_name ); + $query = "INSERT INTO {$table} SELECT * FROM {$this->table_name}"; + $result = $db->query( $query ); + + // Did the table get copied? + return $this->is_success( $result ); + } + + /** + * Count the number of items in the database table. + * + * @since 1.0.0 + * + * @return int + */ + public function count() { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return 0; + } + + // Query statement + $query = "SELECT COUNT(*) FROM {$this->table_name}"; + $result = $db->get_var( $query ); + + // Query success/fail + return intval( $result ); + } + + /** + * Check if column already exists. + * + * @since 1.0.0 + * + * @param string $name Value + * + * @return bool + */ + public function column_exists( $name = '' ) { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Query statement + $query = "SHOW COLUMNS FROM {$this->table_name} LIKE %s"; + $like = $db->esc_like( $name ); + $prepared = $db->prepare( $query, $like ); + $result = $db->query( $prepared ); + + // Does the column exist? + return $this->is_success( $result ); + } + + /** + * Check if index already exists. + * + * @since 1.0.0 + * + * @param string $name Value + * @param string $column Column name + * + * @return bool + */ + public function index_exists( $name = '', $column = 'Key_name' ) { + + // Get the database interface + $db = $this->get_db(); + + // Bail if no database interface is available + if ( empty( $db ) ) { + return false; + } + + // Limit $column to Key or Column name, until we can do better + if ( ! in_array( $column, array( 'Key_name', 'Column_name' ), true ) ) { + $column = 'Key_name'; + } + + // Query statement + $query = "SHOW INDEXES FROM {$this->table_name} WHERE {$column} LIKE %s"; + $like = $db->esc_like( $name ); + $prepared = $db->prepare( $query, $like ); + $result = $db->query( $prepared ); + + // Does the index exist? + return $this->is_success( $result ); + } + + /** Upgrades **************************************************************/ + + /** + * Upgrade this database table. + * + * @since 1.0.0 + * + * @return bool + */ + public function upgrade() { + + // Get pending upgrades + $upgrades = $this->get_pending_upgrades(); + + // Bail if no upgrades + if ( empty( $upgrades ) ) { + $this->set_db_version(); + + // Return, without failure + return true; + } + + // Default result + $result = false; + + // Try to do the upgrades + foreach ( $upgrades as $version => $callback ) { + + // Do the upgrade + $result = $this->upgrade_to( $version, $callback ); + + // Bail if an error occurs, to avoid skipping upgrades + if ( ! $this->is_success( $result ) ) { + return false; + } + } + + // Success/fail + return $this->is_success( $result ); + } + + /** + * Return array of upgrades that still need to run. + * + * @since 1.1.0 + * + * @return array Array of upgrade callbacks, keyed by their db version. + */ + public function get_pending_upgrades() { + + // Default return value + $upgrades = array(); + + // Bail if no upgrades, or no database version to compare to + if ( empty( $this->upgrades ) || empty( $this->db_version ) ) { + return $upgrades; + } + + // Loop through all upgrades, and pick out the ones that need doing + foreach ( $this->upgrades as $version => $callback ) { + if ( true === version_compare( $version, $this->db_version, '>' ) ) { + $upgrades[ $version ] = $callback; + } + } + + // Return + return $upgrades; + } + + /** + * Upgrade to a specific database version. + * + * @since 1.0.0 + * + * @param mixed $version Database version to check if upgrade is needed + * @param string $callback Callback function or class method to call + * + * @return bool + */ + public function upgrade_to( $version = '', $callback = '' ) { + + // Bail if no upgrade is needed + if ( ! $this->needs_upgrade( $version ) ) { + return false; + } + + // Allow self-named upgrade callbacks + if ( empty( $callback ) ) { + $callback = $version; + } + + // Is the callback... callable? + $callable = $this->get_callable( $callback ); + + // Bail if no callable upgrade was found + if ( empty( $callable ) ) { + return false; + } + + // Do the upgrade + $result = call_user_func( $callable ); + $success = $this->is_success( $result ); + + // Bail if upgrade failed + if ( true !== $success ) { + return false; + } + + // Set the database version to this successful version + $this->set_db_version( $version ); + + // Return success + return true; + } + + /** Private ***************************************************************/ + + /** + * Setup the necessary table variables. + * + * @since 1.0.0 + */ + private function setup() { + + // Bail if no database interface is available + if ( ! $this->get_db() ) { + return; + } + + // Sanitize the database table name + $this->name = $this->sanitize_table_name( $this->name ); + + // Bail if database table name was garbage + if ( false === $this->name ) { + return; + } + + // Separator + $glue = '_'; + + // Setup the prefixed name + $this->prefixed_name = $this->apply_prefix( $this->name, $glue ); + + // Maybe create database key + if ( empty( $this->db_version_key ) ) { + $this->db_version_key = implode( + $glue, + array( + sanitize_key( $this->db_global ), + $this->prefixed_name, + 'version' + ) + ); + } + } + + /** + * Set this table up in the database interface. + * + * This must be done directly because the database interface does not + * have a common mechanism for manipulating them safely. + * + * @since 1.0.0 + */ + private function set_db_interface() { + + // Get the database once, to avoid duplicate function calls + $db = $this->get_db(); + + // Bail if no database + if ( empty( $db ) ) { + return; + } + + // Set variables for global tables + if ( $this->is_global() ) { + $site_id = 0; + $tables = 'ms_global_tables'; + + // Set variables for per-site tables + } else { + $site_id = null; + $tables = 'tables'; + } + + // Set the table prefix and prefix the table name + $this->table_prefix = $db->get_blog_prefix( $site_id ); + + // Get the prefixed table name + $prefixed_table_name = "{$this->table_prefix}{$this->prefixed_name}"; + + // Set the database interface + $db->{$this->prefixed_name} = $this->table_name = $prefixed_table_name; + + // Create the array if it does not exist + if ( ! isset( $db->{$tables} ) ) { + $db->{$tables} = array(); + } + + // Add the table to the global table array + $db->{$tables}[] = $this->prefixed_name; + + // Charset + if ( ! empty( $db->charset ) ) { + $this->charset_collation = "DEFAULT CHARACTER SET {$db->charset}"; + } + + // Collation + if ( ! empty( $db->collate ) ) { + $this->charset_collation .= " COLLATE {$db->collate}"; + } + } + + /** + * Set the database version for the table. + * + * @since 1.0.0 + * + * @param mixed $version Database version to set when upgrading/creating + */ + private function set_db_version( $version = '' ) { + + // If no version is passed during an upgrade, use the current version + if ( empty( $version ) ) { + $version = $this->version; + } + + // Update the DB version + $this->is_global() + ? update_network_option( get_main_network_id(), $this->db_version_key, $version ) + : update_option( $this->db_version_key, $version ); + + // Set the DB version + $this->db_version = $version; + } + + /** + * Get the table version from the database. + * + * @since 1.0.0 + */ + private function get_db_version() { + $this->db_version = $this->is_global() + ? get_network_option( get_main_network_id(), $this->db_version_key, false ) + : get_option( $this->db_version_key, false ); + } + + /** + * Delete the table version from the database. + * + * @since 1.0.0 + */ + private function delete_db_version() { + $this->db_version = $this->is_global() + ? delete_network_option( get_main_network_id(), $this->db_version_key ) + : delete_option( $this->db_version_key ); + } + + /** + * Add class hooks to the parent application actions. + * + * @since 1.0.0 + */ + private function add_hooks() { + + // Add table to the global database object + add_action( 'switch_blog', array( $this, 'switch_blog' ) ); + add_action( 'admin_init', array( $this, 'maybe_upgrade' ) ); + } + + /** + * Check if the current request is from some kind of test. + * + * This is primarily used to skip 'admin_init' and force-install tables. + * + * @since 1.0.0 + * + * @return bool + */ + private function is_testing() { + return (bool) + + // Tests constant is being used + ( defined( 'WP_TESTS_DIR' ) && WP_TESTS_DIR ) + + || + + // Scaffolded (https://make.wordpress.org/cli/handbook/plugin-unit-tests/) + function_exists( '_manually_load_plugin' ); + } + + /** + * Check if table is global. + * + * @since 1.0.0 + * + * @return bool + */ + private function is_global() { + return ( true === $this->global ); + } + + /** + * Try to get a callable upgrade, with some magic to avoid needing to + * do this dance repeatedly inside subclasses. + * + * @since 1.0.0 + * + * @param string $callback + * + * @return mixed Callable string, or false if not callable + */ + private function get_callable( $callback = '' ) { + + // Default return value + $callable = $callback; + + // Look for global function + if ( ! is_callable( $callable ) ) { + + // Fallback to local class method + $callable = array( $this, $callback ); + if ( ! is_callable( $callable ) ) { + + // Fallback to class method prefixed with "__" + $callable = array( $this, "__{$callback}" ); + if ( ! is_callable( $callable ) ) { + $callable = false; + } + } + } + + // Return callable string, or false if not callable + return $callable; + } +} diff --git a/inc/Dependencies/League/Container/Argument/ArgumentResolverInterface.php b/inc/Dependencies/League/Container/Argument/ArgumentResolverInterface.php new file mode 100644 index 0000000..60acec5 --- /dev/null +++ b/inc/Dependencies/League/Container/Argument/ArgumentResolverInterface.php @@ -0,0 +1,28 @@ +getValue(); + } elseif ($argument instanceof ClassNameInterface) { + $id = $argument->getClassName(); + } elseif (!is_string($argument)) { + return $argument; + } else { + $justStringValue = true; + $id = $argument; + } + + $container = null; + + try { + $container = $this->getLeagueContainer(); + } catch (ContainerException $e) { + if ($this instanceof ReflectionContainer) { + $container = $this; + } + } + + if ($container !== null) { + try { + return $container->get($id); + } catch (NotFoundException $exception) { + if ($argument instanceof ClassNameWithOptionalValue) { + return $argument->getOptionalValue(); + } + + if ($justStringValue) { + return $id; + } + + throw $exception; + } + } + + if ($argument instanceof ClassNameWithOptionalValue) { + return $argument->getOptionalValue(); + } + + // Just a string value. + return $id; + }, $arguments); + } + + /** + * {@inheritdoc} + */ + public function reflectArguments(ReflectionFunctionAbstract $method, array $args = []) : array + { + $arguments = array_map(function (ReflectionParameter $param) use ($method, $args) { + $name = $param->getName(); + $type = $param->getType(); + + if (array_key_exists($name, $args)) { + return new RawArgument($args[$name]); + } + + if ($type) { + if (PHP_VERSION_ID >= 70100) { + $typeName = $type->getName(); + } else { + $typeName = (string) $type; + } + + $typeName = ltrim($typeName, '?'); + + if ($param->isDefaultValueAvailable()) { + return new ClassNameWithOptionalValue($typeName, $param->getDefaultValue()); + } + + return new ClassName($typeName); + } + + if ($param->isDefaultValueAvailable()) { + return new RawArgument($param->getDefaultValue()); + } + + throw new NotFoundException(sprintf( + 'Unable to resolve a value for parameter (%s) in the function/method (%s)', + $name, + $method->getName() + )); + }, $method->getParameters()); + + return $this->resolveArguments($arguments); + } + + /** + * @return ContainerInterface + */ + abstract public function getContainer() : ContainerInterface; + + /** + * @return Container + */ + abstract public function getLeagueContainer() : Container; +} diff --git a/inc/Dependencies/League/Container/Argument/ClassName.php b/inc/Dependencies/League/Container/Argument/ClassName.php new file mode 100644 index 0000000..80a19a4 --- /dev/null +++ b/inc/Dependencies/League/Container/Argument/ClassName.php @@ -0,0 +1,29 @@ +value = $value; + } + + /** + * {@inheritdoc} + */ + public function getClassName() : string + { + return $this->value; + } +} diff --git a/inc/Dependencies/League/Container/Argument/ClassNameInterface.php b/inc/Dependencies/League/Container/Argument/ClassNameInterface.php new file mode 100644 index 0000000..64973d8 --- /dev/null +++ b/inc/Dependencies/League/Container/Argument/ClassNameInterface.php @@ -0,0 +1,13 @@ +className = $className; + $this->optionalValue = $optionalValue; + } + + /** + * @inheritDoc + */ + public function getClassName(): string + { + return $this->className; + } + + public function getOptionalValue() + { + return $this->optionalValue; + } +} diff --git a/inc/Dependencies/League/Container/Argument/RawArgument.php b/inc/Dependencies/League/Container/Argument/RawArgument.php new file mode 100644 index 0000000..d0216c0 --- /dev/null +++ b/inc/Dependencies/League/Container/Argument/RawArgument.php @@ -0,0 +1,29 @@ +value = $value; + } + + /** + * {@inheritdoc} + */ + public function getValue() + { + return $this->value; + } +} diff --git a/inc/Dependencies/League/Container/Argument/RawArgumentInterface.php b/inc/Dependencies/League/Container/Argument/RawArgumentInterface.php new file mode 100644 index 0000000..a1d8421 --- /dev/null +++ b/inc/Dependencies/League/Container/Argument/RawArgumentInterface.php @@ -0,0 +1,13 @@ +definitions = $definitions ?? new DefinitionAggregate; + $this->providers = $providers ?? new ServiceProviderAggregate; + $this->inflectors = $inflectors ?? new InflectorAggregate; + + if ($this->definitions instanceof ContainerAwareInterface) { + $this->definitions->setLeagueContainer($this); + } + + if ($this->providers instanceof ContainerAwareInterface) { + $this->providers->setLeagueContainer($this); + } + + if ($this->inflectors instanceof ContainerAwareInterface) { + $this->inflectors->setLeagueContainer($this); + } + } + + /** + * Add an item to the container. + * + * @param string $id + * @param mixed $concrete + * @param boolean $shared + * + * @return DefinitionInterface + */ + public function add(string $id, $concrete = null, bool $shared = null) : DefinitionInterface + { + $concrete = $concrete ?? $id; + $shared = $shared ?? $this->defaultToShared; + + return $this->definitions->add($id, $concrete, $shared); + } + + /** + * Proxy to add with shared as true. + * + * @param string $id + * @param mixed $concrete + * + * @return DefinitionInterface + */ + public function share(string $id, $concrete = null) : DefinitionInterface + { + return $this->add($id, $concrete, true); + } + + /** + * Whether the container should default to defining shared definitions. + * + * @param boolean $shared + * + * @return self + */ + public function defaultToShared(bool $shared = true) : ContainerInterface + { + $this->defaultToShared = $shared; + + return $this; + } + + /** + * Get a definition to extend. + * + * @param string $id [description] + * + * @return DefinitionInterface + */ + public function extend(string $id) : DefinitionInterface + { + if ($this->providers->provides($id)) { + $this->providers->register($id); + } + + if ($this->definitions->has($id)) { + return $this->definitions->getDefinition($id); + } + + throw new NotFoundException( + sprintf('Unable to extend alias (%s) as it is not being managed as a definition', $id) + ); + } + + /** + * Add a service provider. + * + * @param ServiceProviderInterface|string $provider + * + * @return self + */ + public function addServiceProvider($provider) : self + { + $this->providers->add($provider); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function get($id, bool $new = false) + { + if ($this->definitions->has($id)) { + $resolved = $this->definitions->resolve($id, $new); + return $this->inflectors->inflect($resolved); + } + + if ($this->definitions->hasTag($id)) { + $arrayOf = $this->definitions->resolveTagged($id, $new); + + array_walk($arrayOf, function (&$resolved) { + $resolved = $this->inflectors->inflect($resolved); + }); + + return $arrayOf; + } + + if ($this->providers->provides($id)) { + $this->providers->register($id); + + if (!$this->definitions->has($id) && !$this->definitions->hasTag($id)) { + throw new ContainerException(sprintf('Service provider lied about providing (%s) service', $id)); + } + + return $this->get($id, $new); + } + + foreach ($this->delegates as $delegate) { + if ($delegate->has($id)) { + $resolved = $delegate->get($id); + return $this->inflectors->inflect($resolved); + } + } + + throw new NotFoundException(sprintf('Alias (%s) is not being managed by the container or delegates', $id)); + } + + /** + * {@inheritdoc} + */ + public function has($id) + { + if ($this->definitions->has($id)) { + return true; + } + + if ($this->definitions->hasTag($id)) { + return true; + } + + if ($this->providers->provides($id)) { + return true; + } + + foreach ($this->delegates as $delegate) { + if ($delegate->has($id)) { + return true; + } + } + + return false; + } + + /** + * Allows for manipulation of specific types on resolution. + * + * @param string $type + * @param callable|null $callback + * + * @return InflectorInterface + */ + public function inflector(string $type, callable $callback = null) : InflectorInterface + { + return $this->inflectors->add($type, $callback); + } + + /** + * Delegate a backup container to be checked for services if it + * cannot be resolved via this container. + * + * @param ContainerInterface $container + * + * @return self + */ + public function delegate(ContainerInterface $container) : self + { + $this->delegates[] = $container; + + if ($container instanceof ContainerAwareInterface) { + $container->setLeagueContainer($this); + } + + return $this; + } +} diff --git a/inc/Dependencies/League/Container/ContainerAwareInterface.php b/inc/Dependencies/League/Container/ContainerAwareInterface.php new file mode 100644 index 0000000..c2ffe83 --- /dev/null +++ b/inc/Dependencies/League/Container/ContainerAwareInterface.php @@ -0,0 +1,40 @@ +container = $container; + + return $this; + } + + /** + * Get the container. + * + * @return ContainerInterface + */ + public function getContainer() : ContainerInterface + { + if ($this->container instanceof ContainerInterface) { + return $this->container; + } + + throw new ContainerException('No container implementation has been set.'); + } + + /** + * Set a container. + * + * @param Container $container + * + * @return self + */ + public function setLeagueContainer(Container $container) : ContainerAwareInterface + { + $this->container = $container; + $this->leagueContainer = $container; + + return $this; + } + + /** + * Get the container. + * + * @return Container + */ + public function getLeagueContainer() : Container + { + if ($this->leagueContainer instanceof Container) { + return $this->leagueContainer; + } + + throw new ContainerException('No container implementation has been set.'); + } +} diff --git a/inc/Dependencies/League/Container/Definition/Definition.php b/inc/Dependencies/League/Container/Definition/Definition.php new file mode 100644 index 0000000..09cdeef --- /dev/null +++ b/inc/Dependencies/League/Container/Definition/Definition.php @@ -0,0 +1,278 @@ +alias = $id; + $this->concrete = $concrete; + } + + /** + * {@inheritdoc} + */ + public function addTag(string $tag) : DefinitionInterface + { + $this->tags[$tag] = true; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function hasTag(string $tag) : bool + { + return isset($this->tags[$tag]); + } + + /** + * {@inheritdoc} + */ + public function setAlias(string $id) : DefinitionInterface + { + $this->alias = $id; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getAlias() : string + { + return $this->alias; + } + + /** + * {@inheritdoc} + */ + public function setShared(bool $shared = true) : DefinitionInterface + { + $this->shared = $shared; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function isShared() : bool + { + return $this->shared; + } + + /** + * {@inheritdoc} + */ + public function getConcrete() + { + return $this->concrete; + } + + /** + * {@inheritdoc} + */ + public function setConcrete($concrete) : DefinitionInterface + { + $this->concrete = $concrete; + $this->resolved = null; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function addArgument($arg) : DefinitionInterface + { + $this->arguments[] = $arg; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function addArguments(array $args) : DefinitionInterface + { + foreach ($args as $arg) { + $this->addArgument($arg); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function addMethodCall(string $method, array $args = []) : DefinitionInterface + { + $this->methods[] = [ + 'method' => $method, + 'arguments' => $args + ]; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function addMethodCalls(array $methods = []) : DefinitionInterface + { + foreach ($methods as $method => $args) { + $this->addMethodCall($method, $args); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function resolve(bool $new = false) + { + $concrete = $this->concrete; + + if ($this->isShared() && $this->resolved !== null && $new === false) { + return $this->resolved; + } + + if (is_callable($concrete)) { + $concrete = $this->resolveCallable($concrete); + } + + if ($concrete instanceof RawArgumentInterface) { + $this->resolved = $concrete->getValue(); + + return $concrete->getValue(); + } + + if ($concrete instanceof ClassNameInterface) { + $concrete = $concrete->getClassName(); + } + + if (is_string($concrete) && class_exists($concrete)) { + $concrete = $this->resolveClass($concrete); + } + + if (is_object($concrete)) { + $concrete = $this->invokeMethods($concrete); + } + + if (is_string($concrete) && $this->getContainer()->has($concrete)) { + $concrete = $this->getContainer()->get($concrete); + } + + $this->resolved = $concrete; + + return $concrete; + } + + /** + * Resolve a callable. + * + * @param callable $concrete + * + * @return mixed + */ + protected function resolveCallable(callable $concrete) + { + $resolved = $this->resolveArguments($this->arguments); + + return call_user_func_array($concrete, $resolved); + } + + /** + * Resolve a class. + * + * @param string $concrete + * + * @return object + * + * @throws ReflectionException + */ + protected function resolveClass(string $concrete) + { + $resolved = $this->resolveArguments($this->arguments); + $reflection = new ReflectionClass($concrete); + + return $reflection->newInstanceArgs($resolved); + } + + /** + * Invoke methods on resolved instance. + * + * @param object $instance + * + * @return object + */ + protected function invokeMethods($instance) + { + foreach ($this->methods as $method) { + $args = $this->resolveArguments($method['arguments']); + + /** @var callable $callable */ + $callable = [$instance, $method['method']]; + call_user_func_array($callable, $args); + } + + return $instance; + } +} diff --git a/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php b/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php new file mode 100644 index 0000000..a3094a1 --- /dev/null +++ b/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php @@ -0,0 +1,124 @@ +definitions = array_filter($definitions, function ($definition) { + return ($definition instanceof DefinitionInterface); + }); + } + + /** + * {@inheritdoc} + */ + public function add(string $id, $definition, bool $shared = false) : DefinitionInterface + { + if (!$definition instanceof DefinitionInterface) { + $definition = new Definition($id, $definition); + } + + $this->definitions[] = $definition + ->setAlias($id) + ->setShared($shared) + ; + + return $definition; + } + + /** + * {@inheritdoc} + */ + public function has(string $id) : bool + { + foreach ($this->getIterator() as $definition) { + if ($id === $definition->getAlias()) { + return true; + } + } + + return false; + } + + /** + * {@inheritdoc} + */ + public function hasTag(string $tag) : bool + { + foreach ($this->getIterator() as $definition) { + if ($definition->hasTag($tag)) { + return true; + } + } + + return false; + } + + /** + * {@inheritdoc} + */ + public function getDefinition(string $id) : DefinitionInterface + { + foreach ($this->getIterator() as $definition) { + if ($id === $definition->getAlias()) { + return $definition->setLeagueContainer($this->getLeagueContainer()); + } + } + + throw new NotFoundException(sprintf('Alias (%s) is not being handled as a definition.', $id)); + } + + /** + * {@inheritdoc} + */ + public function resolve(string $id, bool $new = false) + { + return $this->getDefinition($id)->resolve($new); + } + + /** + * {@inheritdoc} + */ + public function resolveTagged(string $tag, bool $new = false) : array + { + $arrayOf = []; + + foreach ($this->getIterator() as $definition) { + if ($definition->hasTag($tag)) { + $arrayOf[] = $definition->setLeagueContainer($this->getLeagueContainer())->resolve($new); + } + } + + return $arrayOf; + } + + /** + * {@inheritdoc} + */ + public function getIterator() : Generator + { + $count = count($this->definitions); + + for ($i = 0; $i < $count; $i++) { + yield $this->definitions[$i]; + } + } +} diff --git a/inc/Dependencies/League/Container/Definition/DefinitionAggregateInterface.php b/inc/Dependencies/League/Container/Definition/DefinitionAggregateInterface.php new file mode 100644 index 0000000..3fef003 --- /dev/null +++ b/inc/Dependencies/League/Container/Definition/DefinitionAggregateInterface.php @@ -0,0 +1,67 @@ +type = $type; + $this->callback = $callback; + } + + /** + * {@inheritdoc} + */ + public function getType() : string + { + return $this->type; + } + + /** + * {@inheritdoc} + */ + public function invokeMethod(string $name, array $args) : InflectorInterface + { + $this->methods[$name] = $args; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function invokeMethods(array $methods) : InflectorInterface + { + foreach ($methods as $name => $args) { + $this->invokeMethod($name, $args); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function setProperty(string $property, $value) : InflectorInterface + { + $this->properties[$property] = $this->resolveArguments([$value])[0]; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function setProperties(array $properties) : InflectorInterface + { + foreach ($properties as $property => $value) { + $this->setProperty($property, $value); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function inflect($object) + { + $properties = $this->resolveArguments(array_values($this->properties)); + $properties = array_combine(array_keys($this->properties), $properties); + + // array_combine() can technically return false + foreach ($properties ?: [] as $property => $value) { + $object->{$property} = $value; + } + + foreach ($this->methods as $method => $args) { + $args = $this->resolveArguments($args); + + /** @var callable $callable */ + $callable = [$object, $method]; + call_user_func_array($callable, $args); + } + + if ($this->callback !== null) { + call_user_func($this->callback, $object); + } + } +} diff --git a/inc/Dependencies/League/Container/Inflector/InflectorAggregate.php b/inc/Dependencies/League/Container/Inflector/InflectorAggregate.php new file mode 100644 index 0000000..4866cc0 --- /dev/null +++ b/inc/Dependencies/League/Container/Inflector/InflectorAggregate.php @@ -0,0 +1,58 @@ +inflectors[] = $inflector; + + return $inflector; + } + + /** + * {@inheritdoc} + */ + public function getIterator() : Generator + { + $count = count($this->inflectors); + + for ($i = 0; $i < $count; $i++) { + yield $this->inflectors[$i]; + } + } + + /** + * {@inheritdoc} + */ + public function inflect($object) + { + foreach ($this->getIterator() as $inflector) { + $type = $inflector->getType(); + + if (! $object instanceof $type) { + continue; + } + + $inflector->setLeagueContainer($this->getLeagueContainer()); + $inflector->inflect($object); + } + + return $object; + } +} diff --git a/inc/Dependencies/League/Container/Inflector/InflectorAggregateInterface.php b/inc/Dependencies/League/Container/Inflector/InflectorAggregateInterface.php new file mode 100644 index 0000000..24a5995 --- /dev/null +++ b/inc/Dependencies/League/Container/Inflector/InflectorAggregateInterface.php @@ -0,0 +1,27 @@ +cacheResolutions === true && array_key_exists($id, $this->cache)) { + return $this->cache[$id]; + } + + if (! $this->has($id)) { + throw new NotFoundException( + sprintf('Alias (%s) is not an existing class and therefore cannot be resolved', $id) + ); + } + + $reflector = new ReflectionClass($id); + $construct = $reflector->getConstructor(); + + if ($construct && !$construct->isPublic()) { + throw new NotFoundException( + sprintf('Alias (%s) has a non-public constructor and therefore cannot be instantiated', $id) + ); + } + + $resolution = $construct === null + ? new $id + : $resolution = $reflector->newInstanceArgs($this->reflectArguments($construct, $args)) + ; + + if ($this->cacheResolutions === true) { + $this->cache[$id] = $resolution; + } + + return $resolution; + } + + /** + * {@inheritdoc} + */ + public function has($id) + { + return class_exists($id); + } + + /** + * Invoke a callable via the container. + * + * @param callable $callable + * @param array $args + * + * @return mixed + * + * @throws ReflectionException + */ + public function call(callable $callable, array $args = []) + { + if (is_string($callable) && strpos($callable, '::') !== false) { + $callable = explode('::', $callable); + } + + if (is_array($callable)) { + if (is_string($callable[0])) { + $callable[0] = $this->getContainer()->get($callable[0]); + } + + $reflection = new ReflectionMethod($callable[0], $callable[1]); + + if ($reflection->isStatic()) { + $callable[0] = null; + } + + return $reflection->invokeArgs($callable[0], $this->reflectArguments($reflection, $args)); + } + + if (is_object($callable)) { + $reflection = new ReflectionMethod($callable, '__invoke'); + + return $reflection->invokeArgs($callable, $this->reflectArguments($reflection, $args)); + } + + $reflection = new ReflectionFunction(\Closure::fromCallable($callable)); + + return $reflection->invokeArgs($this->reflectArguments($reflection, $args)); + } + + /** + * Whether the container should default to caching resolutions and returning + * the cache on following calls. + * + * @param boolean $option + * + * @return self + */ + public function cacheResolutions(bool $option = true) : ContainerInterface + { + $this->cacheResolutions = $option; + + return $this; + } +} diff --git a/inc/Dependencies/League/Container/ServiceProvider/AbstractServiceProvider.php b/inc/Dependencies/League/Container/ServiceProvider/AbstractServiceProvider.php new file mode 100644 index 0000000..77281ab --- /dev/null +++ b/inc/Dependencies/League/Container/ServiceProvider/AbstractServiceProvider.php @@ -0,0 +1,46 @@ +provides, true); + } + + /** + * {@inheritdoc} + */ + public function setIdentifier(string $id) : ServiceProviderInterface + { + $this->identifier = $id; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getIdentifier() : string + { + return $this->identifier ?? get_class($this); + } +} diff --git a/inc/Dependencies/League/Container/ServiceProvider/BootableServiceProviderInterface.php b/inc/Dependencies/League/Container/ServiceProvider/BootableServiceProviderInterface.php new file mode 100644 index 0000000..2d00532 --- /dev/null +++ b/inc/Dependencies/League/Container/ServiceProvider/BootableServiceProviderInterface.php @@ -0,0 +1,14 @@ +getContainer()->has($provider)) { + $provider = $this->getContainer()->get($provider); + } elseif (is_string($provider) && class_exists($provider)) { + $provider = new $provider; + } + + if (in_array($provider, $this->providers, true)) { + return $this; + } + + if ($provider instanceof ContainerAwareInterface) { + $provider->setLeagueContainer($this->getLeagueContainer()); + } + + if ($provider instanceof BootableServiceProviderInterface) { + $provider->boot(); + } + + if ($provider instanceof ServiceProviderInterface) { + $this->providers[] = $provider; + + return $this; + } + + throw new ContainerException( + 'A service provider must be a fully qualified class name or instance ' . + 'of (\WP_Rocket\Dependencies\League\Container\ServiceProvider\ServiceProviderInterface)' + ); + } + + /** + * {@inheritdoc} + */ + public function provides(string $service) : bool + { + foreach ($this->getIterator() as $provider) { + if ($provider->provides($service)) { + return true; + } + } + + return false; + } + + /** + * {@inheritdoc} + */ + public function getIterator() : Generator + { + $count = count($this->providers); + + for ($i = 0; $i < $count; $i++) { + yield $this->providers[$i]; + } + } + + /** + * {@inheritdoc} + */ + public function register(string $service) + { + if (false === $this->provides($service)) { + throw new ContainerException( + sprintf('(%s) is not provided by a service provider', $service) + ); + } + + foreach ($this->getIterator() as $provider) { + if (in_array($provider->getIdentifier(), $this->registered, true)) { + continue; + } + + if ($provider->provides($service)) { + $this->registered[] = $provider->getIdentifier(); + $provider->register(); + } + } + } +} diff --git a/inc/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php b/inc/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php new file mode 100644 index 0000000..6b1fece --- /dev/null +++ b/inc/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php @@ -0,0 +1,36 @@ +leagueContainer property or the `getLeagueContainer` method + * from the ContainerAwareTrait. + * + * @return void + */ + public function register(); + + /** + * Set a custom id for the service provider. This enables + * registering the same service provider multiple times. + * + * @param string $id + * + * @return self + */ + public function setIdentifier(string $id) : ServiceProviderInterface; + + /** + * The id of the service provider uniquely identifies it, so + * that we can quickly determine if it has already been registered. + * Defaults to get_class($provider). + * + * @return string + */ + public function getIdentifier() : string; +} diff --git a/inc/Dependencies/Minify/CSS.php b/inc/Dependencies/Minify/CSS.php new file mode 100644 index 0000000..8ac362c --- /dev/null +++ b/inc/Dependencies/Minify/CSS.php @@ -0,0 +1,790 @@ + + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ + +namespace WP_Rocket\Dependencies\Minify; + +use WP_Rocket\Dependencies\Minify\Exceptions\FileImportException; +use WP_Rocket\Dependencies\PathConverter\ConverterInterface; +use WP_Rocket\Dependencies\PathConverter\Converter; + +/** + * CSS minifier + * + * Please report bugs on https://github.com/matthiasmullie/minify/issues + * + * @package Minify + * @author Matthias Mullie + * @author Tijs Verkoyen + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +class CSS extends Minify +{ + /** + * @var int maximum inport size in kB + */ + protected $maxImportSize = 5; + + /** + * @var string[] valid import extensions + */ + protected $importExtensions = array( + 'gif' => 'data:image/gif', + 'png' => 'data:image/png', + 'jpe' => 'data:image/jpeg', + 'jpg' => 'data:image/jpeg', + 'jpeg' => 'data:image/jpeg', + 'svg' => 'data:image/svg+xml', + 'woff' => 'data:application/x-font-woff', + 'tif' => 'image/tiff', + 'tiff' => 'image/tiff', + 'xbm' => 'image/x-xbitmap', + ); + + /** + * Set the maximum size if files to be imported. + * + * Files larger than this size (in kB) will not be imported into the CSS. + * Importing files into the CSS as data-uri will save you some connections, + * but we should only import relatively small decorative images so that our + * CSS file doesn't get too bulky. + * + * @param int $size Size in kB + */ + public function setMaxImportSize($size) + { + $this->maxImportSize = $size; + } + + /** + * Set the type of extensions to be imported into the CSS (to save network + * connections). + * Keys of the array should be the file extensions & respective values + * should be the data type. + * + * @param string[] $extensions Array of file extensions + */ + public function setImportExtensions(array $extensions) + { + $this->importExtensions = $extensions; + } + + /** + * Move any import statements to the top. + * + * @param string $content Nearly finished CSS content + * + * @return string + */ + protected function moveImportsToTop($content) + { + if (preg_match_all('/(;?)(@import (?url\()?(?P["\']?).+?(?P=quotes)(?(url)\)));?/', $content, $matches)) { + // remove from content + foreach ($matches[0] as $import) { + $content = str_replace($import, '', $content); + } + + // add to top + $content = implode(';', $matches[2]).';'.trim($content, ';'); + } + + return $content; + } + + /** + * Combine CSS from import statements. + * + * @import's will be loaded and their content merged into the original file, + * to save HTTP requests. + * + * @param string $source The file to combine imports for + * @param string $content The CSS content to combine imports for + * @param string[] $parents Parent paths, for circular reference checks + * + * @return string + * + * @throws FileImportException + */ + protected function combineImports($source, $content, $parents) + { + $importRegexes = array( + // @import url(xxx) + '/ + # import statement + @import + + # whitespace + \s+ + + # open url() + url\( + + # (optional) open path enclosure + (?P["\']?) + + # fetch path + (?P.+?) + + # (optional) close path enclosure + (?P=quotes) + + # close url() + \) + + # (optional) trailing whitespace + \s* + + # (optional) media statement(s) + (?P[^;]*) + + # (optional) trailing whitespace + \s* + + # (optional) closing semi-colon + ;? + + /ix', + + // @import 'xxx' + '/ + + # import statement + @import + + # whitespace + \s+ + + # open path enclosure + (?P["\']) + + # fetch path + (?P.+?) + + # close path enclosure + (?P=quotes) + + # (optional) trailing whitespace + \s* + + # (optional) media statement(s) + (?P[^;]*) + + # (optional) trailing whitespace + \s* + + # (optional) closing semi-colon + ;? + + /ix', + ); + + // find all relative imports in css + $matches = array(); + foreach ($importRegexes as $importRegex) { + if (preg_match_all($importRegex, $content, $regexMatches, PREG_SET_ORDER)) { + $matches = array_merge($matches, $regexMatches); + } + } + + $search = array(); + $replace = array(); + + // loop the matches + foreach ($matches as $match) { + // get the path for the file that will be imported + $importPath = dirname($source).'/'.$match['path']; + + // only replace the import with the content if we can grab the + // content of the file + if (!$this->canImportByPath($match['path']) || !$this->canImportFile($importPath)) { + continue; + } + + // check if current file was not imported previously in the same + // import chain. + if (in_array($importPath, $parents)) { + throw new FileImportException('Failed to import file "'.$importPath.'": circular reference detected.'); + } + + // grab referenced file & minify it (which may include importing + // yet other @import statements recursively) + $minifier = new self($importPath); + $minifier->setMaxImportSize($this->maxImportSize); + $minifier->setImportExtensions($this->importExtensions); + $importContent = $minifier->execute($source, $parents); + + // check if this is only valid for certain media + if (!empty($match['media'])) { + $importContent = '@media '.$match['media'].'{'.$importContent.'}'; + } + + // add to replacement array + $search[] = $match[0]; + $replace[] = $importContent; + } + + // replace the import statements + return str_replace($search, $replace, $content); + } + + /** + * Import files into the CSS, base64-ized. + * + * @url(image.jpg) images will be loaded and their content merged into the + * original file, to save HTTP requests. + * + * @param string $source The file to import files for + * @param string $content The CSS content to import files for + * + * @return string + */ + protected function importFiles($source, $content) + { + $regex = '/url\((["\']?)(.+?)\\1\)/i'; + if ($this->importExtensions && preg_match_all($regex, $content, $matches, PREG_SET_ORDER)) { + $search = array(); + $replace = array(); + + // loop the matches + foreach ($matches as $match) { + $extension = substr(strrchr($match[2], '.'), 1); + if ($extension && !array_key_exists($extension, $this->importExtensions)) { + continue; + } + + // get the path for the file that will be imported + $path = $match[2]; + $path = dirname($source).'/'.$path; + + // only replace the import with the content if we're able to get + // the content of the file, and it's relatively small + if ($this->canImportFile($path) && $this->canImportBySize($path)) { + // grab content && base64-ize + $importContent = $this->load($path); + $importContent = base64_encode($importContent); + + // build replacement + $search[] = $match[0]; + $replace[] = 'url('.$this->importExtensions[$extension].';base64,'.$importContent.')'; + } + } + + // replace the import statements + $content = str_replace($search, $replace, $content); + } + + return $content; + } + + /** + * Minify the data. + * Perform CSS optimizations. + * + * @param string[optional] $path Path to write the data to + * @param string[] $parents Parent paths, for circular reference checks + * + * @return string The minified data + */ + public function execute($path = null, $parents = array()) + { + $content = ''; + + // loop CSS data (raw data and files) + foreach ($this->data as $source => $css) { + /* + * Let's first take out strings & comments, since we can't just + * remove whitespace anywhere. If whitespace occurs inside a string, + * we should leave it alone. E.g.: + * p { content: "a test" } + */ + $this->extractStrings(); + $this->stripComments(); + $this->extractMath(); + $this->extractCustomProperties(); + $css = $this->replace($css); + + $css = $this->stripWhitespace($css); + $css = $this->shortenColors($css); + $css = $this->shortenZeroes($css); + $css = $this->shortenFontWeights($css); + $css = $this->stripEmptyTags($css); + + // restore the string we've extracted earlier + $css = $this->restoreExtractedData($css); + + $source = is_int($source) ? '' : $source; + $parents = $source ? array_merge($parents, array($source)) : $parents; + $css = $this->combineImports($source, $css, $parents); + $css = $this->importFiles($source, $css); + + /* + * If we'll save to a new path, we'll have to fix the relative paths + * to be relative no longer to the source file, but to the new path. + * If we don't write to a file, fall back to same path so no + * conversion happens (because we still want it to go through most + * of the move code, which also addresses url() & @import syntax...) + */ + $converter = $this->getPathConverter($source, $path ?: $source); + $css = $this->move($converter, $css); + + // combine css + $content .= $css; + } + + $content = $this->moveImportsToTop($content); + + return $content; + } + + /** + * Moving a css file should update all relative urls. + * Relative references (e.g. ../images/image.gif) in a certain css file, + * will have to be updated when a file is being saved at another location + * (e.g. ../../images/image.gif, if the new CSS file is 1 folder deeper). + * + * @param ConverterInterface $converter Relative path converter + * @param string $content The CSS content to update relative urls for + * + * @return string + */ + protected function move(ConverterInterface $converter, $content) + { + /* + * Relative path references will usually be enclosed by url(). @import + * is an exception, where url() is not necessary around the path (but is + * allowed). + * This *could* be 1 regular expression, where both regular expressions + * in this array are on different sides of a |. But we're using named + * patterns in both regexes, the same name on both regexes. This is only + * possible with a (?J) modifier, but that only works after a fairly + * recent PCRE version. That's why I'm doing 2 separate regular + * expressions & combining the matches after executing of both. + */ + $relativeRegexes = array( + // url(xxx) + '/ + # open url() + url\( + + \s* + + # open path enclosure + (?P["\'])? + + # fetch path + (?P.+?) + + # close path enclosure + (?(quotes)(?P=quotes)) + + \s* + + # close url() + \) + + /ix', + + // @import "xxx" + '/ + # import statement + @import + + # whitespace + \s+ + + # we don\'t have to check for @import url(), because the + # condition above will already catch these + + # open path enclosure + (?P["\']) + + # fetch path + (?P.+?) + + # close path enclosure + (?P=quotes) + + /ix', + ); + + // find all relative urls in css + $matches = array(); + foreach ($relativeRegexes as $relativeRegex) { + if (preg_match_all($relativeRegex, $content, $regexMatches, PREG_SET_ORDER)) { + $matches = array_merge($matches, $regexMatches); + } + } + + $search = array(); + $replace = array(); + + // loop all urls + foreach ($matches as $match) { + // determine if it's a url() or an @import match + $type = (strpos($match[0], '@import') === 0 ? 'import' : 'url'); + + $url = $match['path']; + if ($this->canImportByPath($url)) { + // attempting to interpret GET-params makes no sense, so let's discard them for awhile + $params = strrchr($url, '?'); + $url = $params ? substr($url, 0, -strlen($params)) : $url; + + // fix relative url + $url = $converter->convert($url); + + // now that the path has been converted, re-apply GET-params + $url .= $params; + } + + /* + * Urls with control characters above 0x7e should be quoted. + * According to Mozilla's parser, whitespace is only allowed at the + * end of unquoted urls. + * Urls with `)` (as could happen with data: uris) should also be + * quoted to avoid being confused for the url() closing parentheses. + * And urls with a # have also been reported to cause issues. + * Urls with quotes inside should also remain escaped. + * + * @see https://developer.mozilla.org/nl/docs/Web/CSS/url#The_url()_functional_notation + * @see https://hg.mozilla.org/mozilla-central/rev/14abca4e7378 + * @see https://github.com/matthiasmullie/minify/issues/193 + */ + $url = trim($url); + if (preg_match('/[\s\)\'"#\x{7f}-\x{9f}]/u', $url)) { + $url = $match['quotes'] . $url . $match['quotes']; + } + + // build replacement + $search[] = $match[0]; + if ($type === 'url') { + $replace[] = 'url('.$url.')'; + } elseif ($type === 'import') { + $replace[] = '@import "'.$url.'"'; + } + } + + // replace urls + return str_replace($search, $replace, $content); + } + + /** + * Shorthand hex color codes. + * #FF0000 -> #F00. + * + * @param string $content The CSS content to shorten the hex color codes for + * + * @return string + */ + protected function shortenColors($content) + { + $content = preg_replace('/(?<=[: ])#([0-9a-z])\\1([0-9a-z])\\2([0-9a-z])\\3(?:([0-9a-z])\\4)?(?=[; }])/i', '#$1$2$3$4', $content); + + // remove alpha channel if it's pointless... + $content = preg_replace('/(?<=[: ])#([0-9a-z]{6})ff?(?=[; }])/i', '#$1', $content); + $content = preg_replace('/(?<=[: ])#([0-9a-z]{3})f?(?=[; }])/i', '#$1', $content); + + $colors = array( + // we can shorten some even more by replacing them with their color name + '#F0FFFF' => 'azure', + '#F5F5DC' => 'beige', + '#A52A2A' => 'brown', + '#FF7F50' => 'coral', + '#FFD700' => 'gold', + '#808080' => 'gray', + '#008000' => 'green', + '#4B0082' => 'indigo', + '#FFFFF0' => 'ivory', + '#F0E68C' => 'khaki', + '#FAF0E6' => 'linen', + '#800000' => 'maroon', + '#000080' => 'navy', + '#808000' => 'olive', + '#CD853F' => 'peru', + '#FFC0CB' => 'pink', + '#DDA0DD' => 'plum', + '#800080' => 'purple', + '#F00' => 'red', + '#FA8072' => 'salmon', + '#A0522D' => 'sienna', + '#C0C0C0' => 'silver', + '#FFFAFA' => 'snow', + '#D2B48C' => 'tan', + '#FF6347' => 'tomato', + '#EE82EE' => 'violet', + '#F5DEB3' => 'wheat', + // or the other way around + 'WHITE' => '#fff', + 'BLACK' => '#000', + ); + + return preg_replace_callback( + '/(?<=[: ])('.implode('|', array_keys($colors)).')(?=[; }])/i', + function ($match) use ($colors) { + return $colors[strtoupper($match[0])]; + }, + $content + ); + } + + /** + * Shorten CSS font weights. + * + * @param string $content The CSS content to shorten the font weights for + * + * @return string + */ + protected function shortenFontWeights($content) + { + $weights = array( + 'normal' => 400, + 'bold' => 700, + ); + + $callback = function ($match) use ($weights) { + return $match[1].$weights[$match[2]]; + }; + + return preg_replace_callback('/(font-weight\s*:\s*)('.implode('|', array_keys($weights)).')(?=[;}])/', $callback, $content); + } + + /** + * Shorthand 0 values to plain 0, instead of e.g. -0em. + * + * @param string $content The CSS content to shorten the zero values for + * + * @return string + */ + protected function shortenZeroes($content) + { + // we don't want to strip units in `calc()` expressions: + // `5px - 0px` is valid, but `5px - 0` is not + // `10px * 0` is valid (equates to 0), and so is `10 * 0px`, but + // `10 * 0` is invalid + // we've extracted calcs earlier, so we don't need to worry about this + + // reusable bits of code throughout these regexes: + // before & after are used to make sure we don't match lose unintended + // 0-like values (e.g. in #000, or in http://url/1.0) + // units can be stripped from 0 values, or used to recognize non 0 + // values (where wa may be able to strip a .0 suffix) + $before = '(?<=[:(, ])'; + $after = '(?=[ ,);}])'; + $units = '(em|ex|%|px|cm|mm|in|pt|pc|ch|rem|vh|vw|vmin|vmax|vm)'; + + // strip units after zeroes (0px -> 0) + // NOTE: it should be safe to remove all units for a 0 value, but in + // practice, Webkit (especially Safari) seems to stumble over at least + // 0%, potentially other units as well. Only stripping 'px' for now. + // @see https://github.com/matthiasmullie/minify/issues/60 + $content = preg_replace('/'.$before.'(-?0*(\.0+)?)(?<=0)px'.$after.'/', '\\1', $content); + + // strip 0-digits (.0 -> 0) + $content = preg_replace('/'.$before.'\.0+'.$units.'?'.$after.'/', '0\\1', $content); + // strip trailing 0: 50.10 -> 50.1, 50.10px -> 50.1px + $content = preg_replace('/'.$before.'(-?[0-9]+\.[0-9]+)0+'.$units.'?'.$after.'/', '\\1\\2', $content); + // strip trailing 0: 50.00 -> 50, 50.00px -> 50px + $content = preg_replace('/'.$before.'(-?[0-9]+)\.0+'.$units.'?'.$after.'/', '\\1\\2', $content); + // strip leading 0: 0.1 -> .1, 01.1 -> 1.1 + $content = preg_replace('/'.$before.'(-?)0+([0-9]*\.[0-9]+)'.$units.'?'.$after.'/', '\\1\\2\\3', $content); + + // strip negative zeroes (-0 -> 0) & truncate zeroes (00 -> 0) + $content = preg_replace('/'.$before.'-?0+'.$units.'?'.$after.'/', '0\\1', $content); + + // IE doesn't seem to understand a unitless flex-basis value (correct - + // it goes against the spec), so let's add it in again (make it `%`, + // which is only 1 char: 0%, 0px, 0 anything, it's all just the same) + // @see https://developer.mozilla.org/nl/docs/Web/CSS/flex + $content = preg_replace('/flex:([0-9]+\s[0-9]+\s)0([;\}])/', 'flex:${1}0%${2}', $content); + $content = preg_replace('/flex-basis:0([;\}])/', 'flex-basis:0%${1}', $content); + + return $content; + } + + /** + * Strip empty tags from source code. + * + * @param string $content + * + * @return string + */ + protected function stripEmptyTags($content) + { + $content = preg_replace('/(?<=^)[^\{\};]+\{\s*\}/', '', $content); + $content = preg_replace('/(?<=(\}|;))[^\{\};]+\{\s*\}/', '', $content); + + return $content; + } + + /** + * Strip comments from source code. + */ + protected function stripComments() + { + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $callback = function ($match) use ($minifier) { + $count = count($minifier->extracted); + $placeholder = '/*'.$count.'*/'; + $minifier->extracted[$placeholder] = $match[0]; + + return $placeholder; + }; + $this->registerPattern('/\n?\/\*(!|.*?@license|.*?@preserve).*?\*\/\n?/s', $callback); + + $this->registerPattern('/\/\*.*?\*\//s', ''); + } + + /** + * Strip whitespace. + * + * @param string $content The CSS content to strip the whitespace for + * + * @return string + */ + protected function stripWhitespace($content) + { + // remove leading & trailing whitespace + $content = preg_replace('/^\s*/m', '', $content); + $content = preg_replace('/\s*$/m', '', $content); + + // replace newlines with a single space + $content = preg_replace('/\s+/', ' ', $content); + + // remove whitespace around meta characters + // inspired by stackoverflow.com/questions/15195750/minify-compress-css-with-regex + $content = preg_replace('/\s*([\*$~^|]?+=|[{};,>~]|!important\b)\s*/', '$1', $content); + $content = preg_replace('/([\[(:>\+])\s+/', '$1', $content); + $content = preg_replace('/\s+([\]\)>\+])/', '$1', $content); + $content = preg_replace('/\s+(:)(?![^\}]*\{)/', '$1', $content); + + // whitespace around + and - can only be stripped inside some pseudo- + // classes, like `:nth-child(3+2n)` + // not in things like `calc(3px + 2px)`, shorthands like `3px -2px`, or + // selectors like `div.weird- p` + $pseudos = array('nth-child', 'nth-last-child', 'nth-last-of-type', 'nth-of-type'); + $content = preg_replace('/:('.implode('|', $pseudos).')\(\s*([+-]?)\s*(.+?)\s*([+-]?)\s*(.*?)\s*\)/', ':$1($2$3$4$5)', $content); + + // remove semicolon/whitespace followed by closing bracket + $content = str_replace(';}', '}', $content); + + return trim($content); + } + + /** + * Replace all occurrences of functions that may contain math, where + * whitespace around operators needs to be preserved (e.g. calc, clamp) + */ + protected function extractMath() + { + $functions = array('calc', 'clamp', 'min', 'max'); + $pattern = '/\b('. implode('|', $functions) .')(\(.+?)(?=$|;|})/m'; + + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $callback = function ($match) use ($minifier, $pattern, &$callback) { + $function = $match[1]; + $length = strlen($match[2]); + $expr = ''; + $opened = 0; + + // the regular expression for extracting math has 1 significant problem: + // it can't determine the correct closing parenthesis... + // instead, it'll match a larger portion of code to where it's certain that + // the calc() musts have ended, and we'll figure out which is the correct + // closing parenthesis here, by counting how many have opened + for ($i = 0; $i < $length; $i++) { + $char = $match[2][$i]; + $expr .= $char; + if ($char === '(') { + $opened++; + } elseif ($char === ')' && --$opened === 0) { + break; + } + } + + // now that we've figured out where the calc() starts and ends, extract it + $count = count($minifier->extracted); + $placeholder = 'math('.$count.')'; + $minifier->extracted[$placeholder] = $function.'('.trim(substr($expr, 1, -1)).')'; + + // and since we've captured more code than required, we may have some leftover + // calc() in here too - go recursive on the remaining but of code to go figure + // that out and extract what is needed + $rest = ""; + $pos = strpos($match[0], $function.$expr); + if ($pos !== false) { + $rest = substr_replace($match[0], '', $pos, strlen($function.$expr)); + } + $rest = preg_replace_callback($pattern, $callback, $rest); + + return $placeholder.$rest; + }; + + $this->registerPattern($pattern, $callback); + } + + /** + * Replace custom properties, whose values may be used in scenarios where + * we wouldn't want them to be minified (e.g. inside calc) + */ + protected function extractCustomProperties() + { + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $this->registerPattern( + '/(?<=^|[;}{])\s*(--[^:;{}"\'\s]+)\s*:([^;{}]+)/m', + function ($match) use ($minifier) { + $placeholder = '--custom-'. count($minifier->extracted) . ':0'; + $minifier->extracted[$placeholder] = $match[1] .':'. trim($match[2]); + return $placeholder; + + } + ); + } + + /** + * Check if file is small enough to be imported. + * + * @param string $path The path to the file + * + * @return bool + */ + protected function canImportBySize($path) + { + return ($size = @filesize($path)) && $size <= $this->maxImportSize * 1024; + } + + /** + * Check if file a file can be imported, going by the path. + * + * @param string $path + * + * @return bool + */ + protected function canImportByPath($path) + { + return preg_match('/^(data:|https?:|\\/)/', $path) === 0; + } + + /** + * Return a converter to update relative paths to be relative to the new + * destination. + * + * @param string $source + * @param string $target + * + * @return ConverterInterface + */ + protected function getPathConverter($source, $target) + { + return new Converter($source, $target); + } +} diff --git a/inc/Dependencies/Minify/Exception.php b/inc/Dependencies/Minify/Exception.php new file mode 100644 index 0000000..46ede5d --- /dev/null +++ b/inc/Dependencies/Minify/Exception.php @@ -0,0 +1,20 @@ + + */ +namespace WP_Rocket\Dependencies\Minify; + +/** + * Base Exception Class + * @deprecated Use Exceptions\BasicException instead + * + * @package Minify + * @author Matthias Mullie + */ +abstract class Exception extends \Exception +{ +} diff --git a/inc/Dependencies/Minify/Exceptions/BasicException.php b/inc/Dependencies/Minify/Exceptions/BasicException.php new file mode 100644 index 0000000..4d6dfca --- /dev/null +++ b/inc/Dependencies/Minify/Exceptions/BasicException.php @@ -0,0 +1,23 @@ + + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +namespace WP_Rocket\Dependencies\Minify\Exceptions; + +use WP_Rocket\Dependencies\Minify\Exception; + +/** + * Basic Exception Class + * + * @package Minify\Exception + * @author Matthias Mullie + */ +abstract class BasicException extends Exception +{ +} diff --git a/inc/Dependencies/Minify/Exceptions/FileImportException.php b/inc/Dependencies/Minify/Exceptions/FileImportException.php new file mode 100644 index 0000000..b5f9e30 --- /dev/null +++ b/inc/Dependencies/Minify/Exceptions/FileImportException.php @@ -0,0 +1,21 @@ + + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +namespace WP_Rocket\Dependencies\Minify\Exceptions; + +/** + * File Import Exception Class + * + * @package Minify\Exception + * @author Matthias Mullie + */ +class FileImportException extends BasicException +{ +} diff --git a/inc/Dependencies/Minify/Exceptions/IOException.php b/inc/Dependencies/Minify/Exceptions/IOException.php new file mode 100644 index 0000000..5bc6bfb --- /dev/null +++ b/inc/Dependencies/Minify/Exceptions/IOException.php @@ -0,0 +1,21 @@ + + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +namespace WP_Rocket\Dependencies\Minify\Exceptions; + +/** + * IO Exception Class + * + * @package Minify\Exception + * @author Matthias Mullie + */ +class IOException extends BasicException +{ +} diff --git a/inc/Dependencies/Minify/JS.php b/inc/Dependencies/Minify/JS.php new file mode 100644 index 0000000..3fc9b4c --- /dev/null +++ b/inc/Dependencies/Minify/JS.php @@ -0,0 +1,622 @@ + + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +namespace WP_Rocket\Dependencies\Minify; + +/** + * JavaScript Minifier Class + * + * Please report bugs on https://github.com/matthiasmullie/minify/issues + * + * @package Minify + * @author Matthias Mullie + * @author Tijs Verkoyen + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +class JS extends Minify +{ + /** + * Var-matching regex based on http://stackoverflow.com/a/9337047/802993. + * + * Note that regular expressions using that bit must have the PCRE_UTF8 + * pattern modifier (/u) set. + * + * @var string + */ + const REGEX_VARIABLE = '\b[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x{09df}-\x{09e1}\x{09f0}\x{09f1}\x{0a05}-\x{0a0a}\x{0a0f}\x{0a10}\x{0a13}-\x{0a28}\x{0a2a}-\x{0a30}\x{0a32}\x{0a33}\x{0a35}\x{0a36}\x{0a38}\x{0a39}\x{0a59}-\x{0a5c}\x{0a5e}\x{0a72}-\x{0a74}\x{0a85}-\x{0a8d}\x{0a8f}-\x{0a91}\x{0a93}-\x{0aa8}\x{0aaa}-\x{0ab0}\x{0ab2}\x{0ab3}\x{0ab5}-\x{0ab9}\x{0abd}\x{0ad0}\x{0ae0}\x{0ae1}\x{0b05}-\x{0b0c}\x{0b0f}\x{0b10}\x{0b13}-\x{0b28}\x{0b2a}-\x{0b30}\x{0b32}\x{0b33}\x{0b35}-\x{0b39}\x{0b3d}\x{0b5c}\x{0b5d}\x{0b5f}-\x{0b61}\x{0b71}\x{0b83}\x{0b85}-\x{0b8a}\x{0b8e}-\x{0b90}\x{0b92}-\x{0b95}\x{0b99}\x{0b9a}\x{0b9c}\x{0b9e}\x{0b9f}\x{0ba3}\x{0ba4}\x{0ba8}-\x{0baa}\x{0bae}-\x{0bb9}\x{0bd0}\x{0c05}-\x{0c0c}\x{0c0e}-\x{0c10}\x{0c12}-\x{0c28}\x{0c2a}-\x{0c33}\x{0c35}-\x{0c39}\x{0c3d}\x{0c58}\x{0c59}\x{0c60}\x{0c61}\x{0c85}-\x{0c8c}\x{0c8e}-\x{0c90}\x{0c92}-\x{0ca8}\x{0caa}-\x{0cb3}\x{0cb5}-\x{0cb9}\x{0cbd}\x{0cde}\x{0ce0}\x{0ce1}\x{0cf1}\x{0cf2}\x{0d05}-\x{0d0c}\x{0d0e}-\x{0d10}\x{0d12}-\x{0d3a}\x{0d3d}\x{0d4e}\x{0d60}\x{0d61}\x{0d7a}-\x{0d7f}\x{0d85}-\x{0d96}\x{0d9a}-\x{0db1}\x{0db3}-\x{0dbb}\x{0dbd}\x{0dc0}-\x{0dc6}\x{0e01}-\x{0e30}\x{0e32}\x{0e33}\x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x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x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}0-9\x{0300}-\x{036f}\x{0483}-\x{0487}\x{0591}-\x{05bd}\x{05bf}\x{05c1}\x{05c2}\x{05c4}\x{05c5}\x{05c7}\x{0610}-\x{061a}\x{064b}-\x{0669}\x{0670}\x{06d6}-\x{06dc}\x{06df}-\x{06e4}\x{06e7}\x{06e8}\x{06ea}-\x{06ed}\x{06f0}-\x{06f9}\x{0711}\x{0730}-\x{074a}\x{07a6}-\x{07b0}\x{07c0}-\x{07c9}\x{07eb}-\x{07f3}\x{0816}-\x{0819}\x{081b}-\x{0823}\x{0825}-\x{0827}\x{0829}-\x{082d}\x{0859}-\x{085b}\x{08e4}-\x{08fe}\x{0900}-\x{0903}\x{093a}-\x{093c}\x{093e}-\x{094f}\x{0951}-\x{0957}\x{0962}\x{0963}\x{0966}-\x{096f}\x{0981}-\x{0983}\x{09bc}\x{09be}-\x{09c4}\x{09c7}\x{09c8}\x{09cb}-\x{09cd}\x{09d7}\x{09e2}\x{09e3}\x{09e6}-\x{09ef}\x{0a01}-\x{0a03}\x{0a3c}\x{0a3e}-\x{0a42}\x{0a47}\x{0a48}\x{0a4b}-\x{0a4d}\x{0a51}\x{0a66}-\x{0a71}\x{0a75}\x{0a81}-\x{0a83}\x{0abc}\x{0abe}-\x{0ac5}\x{0ac7}-\x{0ac9}\x{0acb}-\x{0acd}\x{0ae2}\x{0ae3}\x{0ae6}-\x{0aef}\x{0b01}-\x{0b03}\x{0b3c}\x{0b3e}-\x{0b44}\x{0b47}\x{0b48}\x{0b4b}-\x{0b4d}\x{0b56}\x{0b57}\x{0b62}\x{0b63}\x{0b66}-\x{0b6f}\x{0b82}\x{0bbe}-\x{0bc2}\x{0bc6}-\x{0bc8}\x{0bca}-\x{0bcd}\x{0bd7}\x{0be6}-\x{0bef}\x{0c01}-\x{0c03}\x{0c3e}-\x{0c44}\x{0c46}-\x{0c48}\x{0c4a}-\x{0c4d}\x{0c55}\x{0c56}\x{0c62}\x{0c63}\x{0c66}-\x{0c6f}\x{0c82}\x{0c83}\x{0cbc}\x{0cbe}-\x{0cc4}\x{0cc6}-\x{0cc8}\x{0cca}-\x{0ccd}\x{0cd5}\x{0cd6}\x{0ce2}\x{0ce3}\x{0ce6}-\x{0cef}\x{0d02}\x{0d03}\x{0d3e}-\x{0d44}\x{0d46}-\x{0d48}\x{0d4a}-\x{0d4d}\x{0d57}\x{0d62}\x{0d63}\x{0d66}-\x{0d6f}\x{0d82}\x{0d83}\x{0dca}\x{0dcf}-\x{0dd4}\x{0dd6}\x{0dd8}-\x{0ddf}\x{0df2}\x{0df3}\x{0e31}\x{0e34}-\x{0e3a}\x{0e47}-\x{0e4e}\x{0e50}-\x{0e59}\x{0eb1}\x{0eb4}-\x{0eb9}\x{0ebb}\x{0ebc}\x{0ec8}-\x{0ecd}\x{0ed0}-\x{0ed9}\x{0f18}\x{0f19}\x{0f20}-\x{0f29}\x{0f35}\x{0f37}\x{0f39}\x{0f3e}\x{0f3f}\x{0f71}-\x{0f84}\x{0f86}\x{0f87}\x{0f8d}-\x{0f97}\x{0f99}-\x{0fbc}\x{0fc6}\x{102b}-\x{103e}\x{1040}-\x{1049}\x{1056}-\x{1059}\x{105e}-\x{1060}\x{1062}-\x{1064}\x{1067}-\x{106d}\x{1071}-\x{1074}\x{1082}-\x{108d}\x{108f}-\x{109d}\x{135d}-\x{135f}\x{1712}-\x{1714}\x{1732}-\x{1734}\x{1752}\x{1753}\x{1772}\x{1773}\x{17b4}-\x{17d3}\x{17dd}\x{17e0}-\x{17e9}\x{180b}-\x{180d}\x{1810}-\x{1819}\x{18a9}\x{1920}-\x{192b}\x{1930}-\x{193b}\x{1946}-\x{194f}\x{19b0}-\x{19c0}\x{19c8}\x{19c9}\x{19d0}-\x{19d9}\x{1a17}-\x{1a1b}\x{1a55}-\x{1a5e}\x{1a60}-\x{1a7c}\x{1a7f}-\x{1a89}\x{1a90}-\x{1a99}\x{1b00}-\x{1b04}\x{1b34}-\x{1b44}\x{1b50}-\x{1b59}\x{1b6b}-\x{1b73}\x{1b80}-\x{1b82}\x{1ba1}-\x{1bad}\x{1bb0}-\x{1bb9}\x{1be6}-\x{1bf3}\x{1c24}-\x{1c37}\x{1c40}-\x{1c49}\x{1c50}-\x{1c59}\x{1cd0}-\x{1cd2}\x{1cd4}-\x{1ce8}\x{1ced}\x{1cf2}-\x{1cf4}\x{1dc0}-\x{1de6}\x{1dfc}-\x{1dff}\x{200c}\x{200d}\x{203f}\x{2040}\x{2054}\x{20d0}-\x{20dc}\x{20e1}\x{20e5}-\x{20f0}\x{2cef}-\x{2cf1}\x{2d7f}\x{2de0}-\x{2dff}\x{302a}-\x{302f}\x{3099}\x{309a}\x{a620}-\x{a629}\x{a66f}\x{a674}-\x{a67d}\x{a69f}\x{a6f0}\x{a6f1}\x{a802}\x{a806}\x{a80b}\x{a823}-\x{a827}\x{a880}\x{a881}\x{a8b4}-\x{a8c4}\x{a8d0}-\x{a8d9}\x{a8e0}-\x{a8f1}\x{a900}-\x{a909}\x{a926}-\x{a92d}\x{a947}-\x{a953}\x{a980}-\x{a983}\x{a9b3}-\x{a9c0}\x{a9d0}-\x{a9d9}\x{aa29}-\x{aa36}\x{aa43}\x{aa4c}\x{aa4d}\x{aa50}-\x{aa59}\x{aa7b}\x{aab0}\x{aab2}-\x{aab4}\x{aab7}\x{aab8}\x{aabe}\x{aabf}\x{aac1}\x{aaeb}-\x{aaef}\x{aaf5}\x{aaf6}\x{abe3}-\x{abea}\x{abec}\x{abed}\x{abf0}-\x{abf9}\x{fb1e}\x{fe00}-\x{fe0f}\x{fe20}-\x{fe26}\x{fe33}\x{fe34}\x{fe4d}-\x{fe4f}\x{ff10}-\x{ff19}\x{ff3f}]*\b'; + + /** + * Full list of JavaScript reserved words. + * Will be loaded from /data/js/keywords_reserved.txt. + * + * @see https://mathiasbynens.be/notes/reserved-keywords + * + * @var string[] + */ + protected $keywordsReserved = array(); + + /** + * List of JavaScript reserved words that accept a + * after them. Some end of lines are not the end of a statement, like with + * these keywords. + * + * E.g.: we shouldn't insert a ; after this else + * else + * console.log('this is quite fine') + * + * Will be loaded from /data/js/keywords_before.txt + * + * @var string[] + */ + protected $keywordsBefore = array(); + + /** + * List of JavaScript reserved words that accept a + * before them. Some end of lines are not the end of a statement, like when + * continued by one of these keywords on the newline. + * + * E.g.: we shouldn't insert a ; before this instanceof + * variable + * instanceof String + * + * Will be loaded from /data/js/keywords_after.txt + * + * @var string[] + */ + protected $keywordsAfter = array(); + + /** + * List of all JavaScript operators. + * + * Will be loaded from /data/js/operators.txt + * + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators + * + * @var string[] + */ + protected $operators = array(); + + /** + * List of JavaScript operators that accept a after + * them. Some end of lines are not the end of a statement, like with these + * operators. + * + * Note: Most operators are fine, we've only removed ++ and --. + * ++ & -- have to be joined with the value they're in-/decrementing. + * + * Will be loaded from /data/js/operators_before.txt + * + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators + * + * @var string[] + */ + protected $operatorsBefore = array(); + + /** + * List of JavaScript operators that accept a before + * them. Some end of lines are not the end of a statement, like when + * continued by one of these operators on the newline. + * + * Note: Most operators are fine, we've only removed ), ], ++, --, ! and ~. + * There can't be a newline separating ! or ~ and whatever it is negating. + * ++ & -- have to be joined with the value they're in-/decrementing. + * ) & ] are "special" in that they have lots or usecases. () for example + * is used for function calls, for grouping, in if () and for (), ... + * + * Will be loaded from /data/js/operators_after.txt + * + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators + * + * @var string[] + */ + protected $operatorsAfter = array(); + + /** + * {@inheritdoc} + */ + public function __construct() + { + call_user_func_array(array('\\WP_Rocket\Dependencies\Minify\\Minify', '__construct'), func_get_args()); + + $dataDir = __DIR__.'/data/js/'; + $options = FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES; + $this->keywordsReserved = file($dataDir.'keywords_reserved.txt', $options); + $this->keywordsBefore = file($dataDir.'keywords_before.txt', $options); + $this->keywordsAfter = file($dataDir.'keywords_after.txt', $options); + $this->operators = file($dataDir.'operators.txt', $options); + $this->operatorsBefore = file($dataDir.'operators_before.txt', $options); + $this->operatorsAfter = file($dataDir.'operators_after.txt', $options); + } + + /** + * Minify the data. + * Perform JS optimizations. + * + * @param string[optional] $path Path to write the data to + * + * @return string The minified data + */ + public function execute($path = null) + { + $content = ''; + + /* + * Let's first take out strings, comments and regular expressions. + * All of these can contain JS code-like characters, and we should make + * sure any further magic ignores anything inside of these. + * + * Consider this example, where we should not strip any whitespace: + * var str = "a test"; + * + * Comments will be removed altogether, strings and regular expressions + * will be replaced by placeholder text, which we'll restore later. + */ + $this->extractStrings('\'"`'); + $this->stripComments(); + $this->extractRegex(); + + // loop files + foreach ($this->data as $source => $js) { + // take out strings, comments & regex (for which we've registered + // the regexes just a few lines earlier) + $js = $this->replace($js); + + $js = $this->propertyNotation($js); + $js = $this->shortenBools($js); + $js = $this->stripWhitespace($js); + + // combine js: separating the scripts by a ; + $content .= $js.";"; + } + + // clean up leftover `;`s from the combination of multiple scripts + $content = ltrim($content, ';'); + $content = (string) substr($content, 0, -1); + + /* + * Earlier, we extracted strings & regular expressions and replaced them + * with placeholder text. This will restore them. + */ + $content = $this->restoreExtractedData($content); + + return $content; + } + + /** + * Strip comments from source code. + */ + protected function stripComments() + { + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $callback = function ($match) use ($minifier) { + if ( + substr($match[1], 0, 1) === '!' || + strpos($match[1], '@license') !== false || + strpos($match[1], '@preserve') !== false + ) { + // preserve multi-line comments that start with /*! + // or contain @license or @preserve annotations + $count = count($minifier->extracted); + $placeholder = '/*'.$count.'*/'; + $minifier->extracted[$placeholder] = $match[0]; + + return $placeholder; + } + + return ''; + }; + + // multi-line comments + $this->registerPattern('/\n?\/\*(.*?)\*\/\n?/s', $callback); + + // single-line comments + $this->registerPattern('/\/\/.*$/m', ''); + } + + /** + * JS can have /-delimited regular expressions, like: /ab+c/.match(string). + * + * The content inside the regex can contain characters that may be confused + * for JS code: e.g. it could contain whitespace it needs to match & we + * don't want to strip whitespace in there. + * + * The regex can be pretty simple: we don't have to care about comments, + * (which also use slashes) because stripComments() will have stripped those + * already. + * + * This method will replace all string content with simple REGEX# + * placeholder text, so we've rid all regular expressions from characters + * that may be misinterpreted. Original regex content will be saved in + * $this->extracted and after doing all other minifying, we can restore the + * original content via restoreRegex() + */ + protected function extractRegex() + { + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $callback = function ($match) use ($minifier) { + $count = count($minifier->extracted); + $placeholder = '"'.$count.'"'; + $minifier->extracted[$placeholder] = $match[0]; + + return $placeholder; + }; + + // match all chars except `/` and `\` + // `\` is allowed though, along with whatever char follows (which is the + // one being escaped) + // this should allow all chars, except for an unescaped `/` (= the one + // closing the regex) + // then also ignore bare `/` inside `[]`, where they don't need to be + // escaped: anything inside `[]` can be ignored safely + $pattern = '\\/(?!\*)(?:[^\\[\\/\\\\\n\r]++|(?:\\\\.)++|(?:\\[(?:[^\\]\\\\\n\r]++|(?:\\\\.)++)++\\])++)++\\/[gimuy]*'; + + // a regular expression can only be followed by a few operators or some + // of the RegExp methods (a `\` followed by a variable or value is + // likely part of a division, not a regex) + $keywords = array('do', 'in', 'new', 'else', 'throw', 'yield', 'delete', 'return', 'typeof'); + $before = '(^|[=:,;\+\-\*\/\}\(\{\[&\|!]|'.implode('|', $keywords).')\s*'; + $propertiesAndMethods = array( + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Properties_2 + 'constructor', + 'flags', + 'global', + 'ignoreCase', + 'multiline', + 'source', + 'sticky', + 'unicode', + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Methods_2 + 'compile(', + 'exec(', + 'test(', + 'toSource(', + 'toString(', + ); + $delimiters = array_fill(0, count($propertiesAndMethods), '/'); + $propertiesAndMethods = array_map('preg_quote', $propertiesAndMethods, $delimiters); + $after = '(?=\s*([\.,;\)\}&\|+]|\/\/|$|\.('.implode('|', $propertiesAndMethods).')))'; + $this->registerPattern('/'.$before.'\K'.$pattern.$after.'/', $callback); + + // regular expressions following a `)` are rather annoying to detect... + // quite often, `/` after `)` is a division operator & if it happens to + // be followed by another one (or a comment), it is likely to be + // confused for a regular expression + // however, it's perfectly possible for a regex to follow a `)`: after + // a single-line `if()`, `while()`, ... statement, for example + // since, when they occur like that, they're always the start of a + // statement, there's only a limited amount of ways they can be useful: + // by calling the regex methods directly + // if a regex following `)` is not followed by `.`, + // it's quite likely not a regex + $before = '\)\s*'; + $after = '(?=\s*\.('.implode('|', $propertiesAndMethods).'))'; + $this->registerPattern('/'.$before.'\K'.$pattern.$after.'/', $callback); + + // 1 more edge case: a regex can be followed by a lot more operators or + // keywords if there's a newline (ASI) in between, where the operator + // actually starts a new statement + // (https://github.com/matthiasmullie/minify/issues/56) + $operators = $this->getOperatorsForRegex($this->operatorsBefore, '/'); + $operators += $this->getOperatorsForRegex($this->keywordsReserved, '/'); + $after = '(?=\s*\n\s*('.implode('|', $operators).'))'; + $this->registerPattern('/'.$pattern.$after.'/', $callback); + } + + /** + * Strip whitespace. + * + * We won't strip *all* whitespace, but as much as possible. The thing that + * we'll preserve are newlines we're unsure about. + * JavaScript doesn't require statements to be terminated with a semicolon. + * It will automatically fix missing semicolons with ASI (automatic semi- + * colon insertion) at the end of line causing errors (without semicolon.) + * + * Because it's sometimes hard to tell if a newline is part of a statement + * that should be terminated or not, we'll just leave some of them alone. + * + * @param string $content The content to strip the whitespace for + * + * @return string + */ + protected function stripWhitespace($content) + { + // uniform line endings, make them all line feed + $content = str_replace(array("\r\n", "\r"), "\n", $content); + + // collapse all non-line feed whitespace into a single space + $content = preg_replace('/[^\S\n]+/', ' ', $content); + + // strip leading & trailing whitespace + $content = str_replace(array(" \n", "\n "), "\n", $content); + + // collapse consecutive line feeds into just 1 + $content = preg_replace('/\n+/', "\n", $content); + + $operatorsBefore = $this->getOperatorsForRegex($this->operatorsBefore, '/'); + $operatorsAfter = $this->getOperatorsForRegex($this->operatorsAfter, '/'); + $operators = $this->getOperatorsForRegex($this->operators, '/'); + $keywordsBefore = $this->getKeywordsForRegex($this->keywordsBefore, '/'); + $keywordsAfter = $this->getKeywordsForRegex($this->keywordsAfter, '/'); + + // strip whitespace that ends in (or next line begin with) an operator + // that allows statements to be broken up over multiple lines + unset($operatorsBefore['+'], $operatorsBefore['-'], $operatorsAfter['+'], $operatorsAfter['-']); + $content = preg_replace( + array( + '/('.implode('|', $operatorsBefore).')\s+/', + '/\s+('.implode('|', $operatorsAfter).')/', + ), + '\\1', + $content + ); + + // make sure + and - can't be mistaken for, or joined into ++ and -- + $content = preg_replace( + array( + '/(?%&|', $delimiter); + $operators['='] = '(?keywordsReserved; + $callback = function ($match) use ($minifier, $keywords) { + $property = trim($minifier->extracted[$match[1]], '\'"'); + + /* + * Check if the property is a reserved keyword. In this context (as + * property of an object literal/array) it shouldn't matter, but IE8 + * freaks out with "Expected identifier". + */ + if (in_array($property, $keywords)) { + return $match[0]; + } + + /* + * See if the property is in a variable-like format (e.g. + * array['key-here'] can't be replaced by array.key-here since '-' + * is not a valid character there. + */ + if (!preg_match('/^'.$minifier::REGEX_VARIABLE.'$/u', $property)) { + return $match[0]; + } + + return '.'.$property; + }; + + /* + * Figure out if previous character is a variable name (of the array + * we want to use property notation on) - this is to make sure + * standalone ['value'] arrays aren't confused for keys-of-an-array. + * We can (and only have to) check the last character, because PHP's + * regex implementation doesn't allow unfixed-length look-behind + * assertions. + */ + preg_match('/(\[[^\]]+\])[^\]]*$/', static::REGEX_VARIABLE, $previousChar); + $previousChar = $previousChar[1]; + + /* + * Make sure word preceding the ['value'] is not a keyword, e.g. + * return['x']. Because -again- PHP's regex implementation doesn't allow + * unfixed-length look-behind assertions, I'm just going to do a lot of + * separate look-behind assertions, one for each keyword. + */ + $keywords = $this->getKeywordsForRegex($keywords); + $keywords = '(? + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +namespace WP_Rocket\Dependencies\Minify; + +use WP_Rocket\Dependencies\Minify\Exceptions\IOException; +use Psr\Cache\CacheItemInterface; + +/** + * Abstract minifier class. + * + * Please report bugs on https://github.com/matthiasmullie/minify/issues + * + * @package Minify + * @author Matthias Mullie + * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved + * @license MIT License + */ +abstract class Minify +{ + /** + * The data to be minified. + * + * @var string[] + */ + protected $data = array(); + + /** + * Array of patterns to match. + * + * @var string[] + */ + protected $patterns = array(); + + /** + * This array will hold content of strings and regular expressions that have + * been extracted from the JS source code, so we can reliably match "code", + * without having to worry about potential "code-like" characters inside. + * + * @var string[] + */ + public $extracted = array(); + + /** + * Init the minify class - optionally, code may be passed along already. + */ + public function __construct(/* $data = null, ... */) + { + // it's possible to add the source through the constructor as well ;) + if (func_num_args()) { + call_user_func_array(array($this, 'add'), func_get_args()); + } + } + + /** + * Add a file or straight-up code to be minified. + * + * @param string|string[] $data + * + * @return static + */ + public function add($data /* $data = null, ... */) + { + // bogus "usage" of parameter $data: scrutinizer warns this variable is + // not used (we're using func_get_args instead to support overloading), + // but it still needs to be defined because it makes no sense to have + // this function without argument :) + $args = array($data) + func_get_args(); + + // this method can be overloaded + foreach ($args as $data) { + if (is_array($data)) { + call_user_func_array(array($this, 'add'), $data); + continue; + } + + // redefine var + $data = (string) $data; + + // load data + $value = $this->load($data); + $key = ($data != $value) ? $data : count($this->data); + + // replace CR linefeeds etc. + // @see https://github.com/matthiasmullie/minify/pull/139 + $value = str_replace(array("\r\n", "\r"), "\n", $value); + + // store data + $this->data[$key] = $value; + } + + return $this; + } + + /** + * Add a file to be minified. + * + * @param string|string[] $data + * + * @return static + * + * @throws IOException + */ + public function addFile($data /* $data = null, ... */) + { + // bogus "usage" of parameter $data: scrutinizer warns this variable is + // not used (we're using func_get_args instead to support overloading), + // but it still needs to be defined because it makes no sense to have + // this function without argument :) + $args = array($data) + func_get_args(); + + // this method can be overloaded + foreach ($args as $path) { + if (is_array($path)) { + call_user_func_array(array($this, 'addFile'), $path); + continue; + } + + // redefine var + $path = (string) $path; + + // check if we can read the file + if (!$this->canImportFile($path)) { + throw new IOException('The file "'.$path.'" could not be opened for reading. Check if PHP has enough permissions.'); + } + + $this->add($path); + } + + return $this; + } + + /** + * Minify the data & (optionally) saves it to a file. + * + * @param string[optional] $path Path to write the data to + * + * @return string The minified data + */ + public function minify($path = null) + { + $content = $this->execute($path); + + // save to path + if ($path !== null) { + $this->save($content, $path); + } + + return $content; + } + + /** + * Minify & gzip the data & (optionally) saves it to a file. + * + * @param string[optional] $path Path to write the data to + * @param int[optional] $level Compression level, from 0 to 9 + * + * @return string The minified & gzipped data + */ + public function gzip($path = null, $level = 9) + { + $content = $this->execute($path); + $content = gzencode($content, $level, FORCE_GZIP); + + // save to path + if ($path !== null) { + $this->save($content, $path); + } + + return $content; + } + + /** + * Minify the data & write it to a CacheItemInterface object. + * + * @param CacheItemInterface $item Cache item to write the data to + * + * @return CacheItemInterface Cache item with the minifier data + */ + public function cache(CacheItemInterface $item) + { + $content = $this->execute(); + $item->set($content); + + return $item; + } + + /** + * Minify the data. + * + * @param string[optional] $path Path to write the data to + * + * @return string The minified data + */ + abstract public function execute($path = null); + + /** + * Load data. + * + * @param string $data Either a path to a file or the content itself + * + * @return string + */ + protected function load($data) + { + // check if the data is a file + if ($this->canImportFile($data)) { + $data = file_get_contents($data); + + // strip BOM, if any + if (substr($data, 0, 3) == "\xef\xbb\xbf") { + $data = substr($data, 3); + } + } + + return $data; + } + + /** + * Save to file. + * + * @param string $content The minified data + * @param string $path The path to save the minified data to + * + * @throws IOException + */ + protected function save($content, $path) + { + $handler = $this->openFileForWriting($path); + + $this->writeToFile($handler, $content); + + @fclose($handler); + } + + /** + * Register a pattern to execute against the source content. + * + * If $replacement is a string, it must be plain text. Placeholders like $1 or \2 don't work. + * If you need that functionality, use a callback instead. + * + * @param string $pattern PCRE pattern + * @param string|callable $replacement Replacement value for matched pattern + */ + protected function registerPattern($pattern, $replacement = '') + { + // study the pattern, we'll execute it more than once + $pattern .= 'S'; + + $this->patterns[] = array($pattern, $replacement); + } + + /** + * We can't "just" run some regular expressions against JavaScript: it's a + * complex language. E.g. having an occurrence of // xyz would be a comment, + * unless it's used within a string. Of you could have something that looks + * like a 'string', but inside a comment. + * The only way to accurately replace these pieces is to traverse the JS one + * character at a time and try to find whatever starts first. + * + * @param string $content The content to replace patterns in + * + * @return string The (manipulated) content + */ + protected function replace($content) + { + $contentLength = strlen($content); + $output = ''; + $processedOffset = 0; + $positions = array_fill(0, count($this->patterns), -1); + $matches = array(); + + while ($processedOffset < $contentLength) { + // find first match for all patterns + foreach ($this->patterns as $i => $pattern) { + list($pattern, $replacement) = $pattern; + + // we can safely ignore patterns for positions we've unset earlier, + // because we know these won't show up anymore + if (array_key_exists($i, $positions) == false) { + continue; + } + + // no need to re-run matches that are still in the part of the + // content that hasn't been processed + if ($positions[$i] >= $processedOffset) { + continue; + } + + $match = null; + if (preg_match($pattern, $content, $match, PREG_OFFSET_CAPTURE, $processedOffset)) { + $matches[$i] = $match; + + // we'll store the match position as well; that way, we + // don't have to redo all preg_matches after changing only + // the first (we'll still know where those others are) + $positions[$i] = $match[0][1]; + } else { + // if the pattern couldn't be matched, there's no point in + // executing it again in later runs on this same content; + // ignore this one until we reach end of content + unset($matches[$i], $positions[$i]); + } + } + + // no more matches to find: everything's been processed, break out + if (!$matches) { + // output the remaining content + $output .= substr($content, $processedOffset); + break; + } + + // see which of the patterns actually found the first thing (we'll + // only want to execute that one, since we're unsure if what the + // other found was not inside what the first found) + $matchOffset = min($positions); + $firstPattern = array_search($matchOffset, $positions); + $match = $matches[$firstPattern]; + + // execute the pattern that matches earliest in the content string + list(, $replacement) = $this->patterns[$firstPattern]; + + // add the part of the input between $processedOffset and the first match; + // that content wasn't matched by anything + $output .= substr($content, $processedOffset, $matchOffset - $processedOffset); + // add the replacement for the match + $output .= $this->executeReplacement($replacement, $match); + // advance $processedOffset past the match + $processedOffset = $matchOffset + strlen($match[0][0]); + } + + return $output; + } + + /** + * If $replacement is a callback, execute it, passing in the match data. + * If it's a string, just pass it through. + * + * @param string|callable $replacement Replacement value + * @param array $match Match data, in PREG_OFFSET_CAPTURE form + * + * @return string + */ + protected function executeReplacement($replacement, $match) + { + if (!is_callable($replacement)) { + return $replacement; + } + // convert $match from the PREG_OFFSET_CAPTURE form to the form the callback expects + foreach ($match as &$matchItem) { + $matchItem = $matchItem[0]; + } + return $replacement($match); + } + + /** + * Strings are a pattern we need to match, in order to ignore potential + * code-like content inside them, but we just want all of the string + * content to remain untouched. + * + * This method will replace all string content with simple STRING# + * placeholder text, so we've rid all strings from characters that may be + * misinterpreted. Original string content will be saved in $this->extracted + * and after doing all other minifying, we can restore the original content + * via restoreStrings(). + * + * @param string[optional] $chars + * @param string[optional] $placeholderPrefix + */ + protected function extractStrings($chars = '\'"', $placeholderPrefix = '') + { + // PHP only supports $this inside anonymous functions since 5.4 + $minifier = $this; + $callback = function ($match) use ($minifier, $placeholderPrefix) { + // check the second index here, because the first always contains a quote + if ($match[2] === '') { + /* + * Empty strings need no placeholder; they can't be confused for + * anything else anyway. + * But we still needed to match them, for the extraction routine + * to skip over this particular string. + */ + return $match[0]; + } + + $count = count($minifier->extracted); + $placeholder = $match[1].$placeholderPrefix.$count.$match[1]; + $minifier->extracted[$placeholder] = $match[1].$match[2].$match[1]; + + return $placeholder; + }; + + /* + * The \\ messiness explained: + * * Don't count ' or " as end-of-string if it's escaped (has backslash + * in front of it) + * * Unless... that backslash itself is escaped (another leading slash), + * in which case it's no longer escaping the ' or " + * * So there can be either no backslash, or an even number + * * multiply all of that times 4, to account for the escaping that has + * to be done to pass the backslash into the PHP string without it being + * considered as escape-char (times 2) and to get it in the regex, + * escaped (times 2) + */ + $this->registerPattern('/(['.$chars.'])(.*?(?extracted. + * + * @param string $content + * + * @return string + */ + protected function restoreExtractedData($content) + { + if (!$this->extracted) { + // nothing was extracted, nothing to restore + return $content; + } + + $content = strtr($content, $this->extracted); + + $this->extracted = array(); + + return $content; + } + + /** + * Check if the path is a regular file and can be read. + * + * @param string $path + * + * @return bool + */ + protected function canImportFile($path) + { + $parsed = parse_url($path); + if ( + // file is elsewhere + isset($parsed['host']) || + // file responds to queries (may change, or need to bypass cache) + isset($parsed['query']) + ) { + return false; + } + + return strlen($path) < PHP_MAXPATHLEN && @is_file($path) && is_readable($path); + } + + /** + * Attempts to open file specified by $path for writing. + * + * @param string $path The path to the file + * + * @return resource Specifier for the target file + * + * @throws IOException + */ + protected function openFileForWriting($path) + { + if ($path === '' || ($handler = @fopen($path, 'w')) === false) { + throw new IOException('The file "'.$path.'" could not be opened for writing. Check if PHP has enough permissions.'); + } + + return $handler; + } + + /** + * Attempts to write $content to the file specified by $handler. $path is used for printing exceptions. + * + * @param resource $handler The resource to write to + * @param string $content The content to write + * @param string $path The path to the file (for exception printing only) + * + * @throws IOException + */ + protected function writeToFile($handler, $content, $path = '') + { + if ( + !is_resource($handler) || + ($result = @fwrite($handler, $content)) === false || + ($result < strlen($content)) + ) { + throw new IOException('The file "'.$path.'" could not be written to. Check your disk space and file permissions.'); + } + } +} diff --git a/inc/Dependencies/Minify/data/js/keywords_after.txt b/inc/Dependencies/Minify/data/js/keywords_after.txt new file mode 100644 index 0000000..5c8cba7 --- /dev/null +++ b/inc/Dependencies/Minify/data/js/keywords_after.txt @@ -0,0 +1,7 @@ +in +public +extends +private +protected +implements +instanceof \ No newline at end of file diff --git a/inc/Dependencies/Minify/data/js/keywords_before.txt b/inc/Dependencies/Minify/data/js/keywords_before.txt new file mode 100644 index 0000000..5abf357 --- /dev/null +++ b/inc/Dependencies/Minify/data/js/keywords_before.txt @@ -0,0 +1,26 @@ +do +in +let +new +var +case +else +enum +void +with +class +const +yield +delete +export +import +public +static +typeof +extends +package +private +function +protected +implements +instanceof \ No newline at end of file diff --git a/inc/Dependencies/Minify/data/js/keywords_reserved.txt b/inc/Dependencies/Minify/data/js/keywords_reserved.txt new file mode 100644 index 0000000..2a3ad3c --- /dev/null +++ b/inc/Dependencies/Minify/data/js/keywords_reserved.txt @@ -0,0 +1,63 @@ +do +if +in +for +let +new +try +var +case +else +enum +eval +null +this +true +void +with +break +catch +class +const +false +super +throw +while +yield +delete +export +import +public +return +static +switch +typeof +default +extends +finally +package +private +continue +debugger +function +arguments +interface +protected +implements +instanceof +abstract +boolean +byte +char +double +final +float +goto +int +long +native +short +synchronized +throws +transient +volatile \ No newline at end of file diff --git a/inc/Dependencies/Minify/data/js/operators.txt b/inc/Dependencies/Minify/data/js/operators.txt new file mode 100644 index 0000000..e66229a --- /dev/null +++ b/inc/Dependencies/Minify/data/js/operators.txt @@ -0,0 +1,46 @@ ++ +- +* +/ +% += ++= +-= +*= +/= +%= +<<= +>>= +>>>= +&= +^= +|= +& +| +^ +~ +<< +>> +>>> +== +=== +!= +!== +> +< +>= +<= +&& +|| +! +. +[ +] +? +: +, +; +( +) +{ +} \ No newline at end of file diff --git a/inc/Dependencies/Minify/data/js/operators_after.txt b/inc/Dependencies/Minify/data/js/operators_after.txt new file mode 100644 index 0000000..71a9b70 --- /dev/null +++ b/inc/Dependencies/Minify/data/js/operators_after.txt @@ -0,0 +1,43 @@ ++ +- +* +/ +% += ++= +-= +*= +/= +%= +<<= +>>= +>>>= +&= +^= +|= +& +| +^ +<< +>> +>>> +== +=== +!= +!== +> +< +>= +<= +&& +|| +. +[ +] +? +: +, +; +( +) +} \ No newline at end of file diff --git a/inc/Dependencies/Minify/data/js/operators_before.txt b/inc/Dependencies/Minify/data/js/operators_before.txt new file mode 100644 index 0000000..ff50d87 --- /dev/null +++ b/inc/Dependencies/Minify/data/js/operators_before.txt @@ -0,0 +1,43 @@ ++ +- +* +/ +% += ++= +-= +*= +/= +%= +<<= +>>= +>>>= +&= +^= +|= +& +| +^ +~ +<< +>> +>>> +== +=== +!= +!== +> +< +>= +<= +&& +|| +! +. +[ +? +: +, +; +( +{ diff --git a/inc/Dependencies/Monolog/ErrorHandler.php b/inc/Dependencies/Monolog/ErrorHandler.php new file mode 100644 index 0000000..faa26b5 --- /dev/null +++ b/inc/Dependencies/Monolog/ErrorHandler.php @@ -0,0 +1,239 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +use WP_Rocket\Dependencies\Psr\Log\LoggerInterface; +use WP_Rocket\Dependencies\Psr\Log\LogLevel; +use WP_Rocket\Dependencies\Monolog\Handler\AbstractHandler; + +/** + * WP_Rocket\Dependencies\Monolog error handler + * + * A facility to enable logging of runtime errors, exceptions and fatal errors. + * + * Quick setup: ErrorHandler::register($logger); + * + * @author Jordi Boggiano + */ +class ErrorHandler +{ + private $logger; + + private $previousExceptionHandler; + private $uncaughtExceptionLevel; + + private $previousErrorHandler; + private $errorLevelMap; + private $handleOnlyReportedErrors; + + private $hasFatalErrorHandler; + private $fatalLevel; + private $reservedMemory; + private $lastFatalTrace; + private static $fatalErrors = array(E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR); + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + + /** + * Registers a new ErrorHandler for a given Logger + * + * By default it will handle errors, exceptions and fatal errors + * + * @param LoggerInterface $logger + * @param array|false $errorLevelMap an array of E_* constant to LogLevel::* constant mapping, or false to disable error handling + * @param int|false $exceptionLevel a LogLevel::* constant, or false to disable exception handling + * @param int|false $fatalLevel a LogLevel::* constant, or false to disable fatal error handling + * @return ErrorHandler + */ + public static function register(LoggerInterface $logger, $errorLevelMap = array(), $exceptionLevel = null, $fatalLevel = null) + { + //Forces the autoloader to run for LogLevel. Fixes an autoload issue at compile-time on PHP5.3. See https://github.com/Seldaek/monolog/pull/929 + class_exists('\\Psr\\Log\\LogLevel', true); + + /** @phpstan-ignore-next-line */ + $handler = new static($logger); + if ($errorLevelMap !== false) { + $handler->registerErrorHandler($errorLevelMap); + } + if ($exceptionLevel !== false) { + $handler->registerExceptionHandler($exceptionLevel); + } + if ($fatalLevel !== false) { + $handler->registerFatalHandler($fatalLevel); + } + + return $handler; + } + + public function registerExceptionHandler($level = null, $callPrevious = true) + { + $prev = set_exception_handler(array($this, 'handleException')); + $this->uncaughtExceptionLevel = $level; + if ($callPrevious && $prev) { + $this->previousExceptionHandler = $prev; + } + } + + public function registerErrorHandler(array $levelMap = array(), $callPrevious = true, $errorTypes = -1, $handleOnlyReportedErrors = true) + { + $prev = set_error_handler(array($this, 'handleError'), $errorTypes); + $this->errorLevelMap = array_replace($this->defaultErrorLevelMap(), $levelMap); + if ($callPrevious) { + $this->previousErrorHandler = $prev ?: true; + } + + $this->handleOnlyReportedErrors = $handleOnlyReportedErrors; + } + + public function registerFatalHandler($level = null, $reservedMemorySize = 20) + { + register_shutdown_function(array($this, 'handleFatalError')); + + $this->reservedMemory = str_repeat(' ', 1024 * $reservedMemorySize); + $this->fatalLevel = $level; + $this->hasFatalErrorHandler = true; + } + + protected function defaultErrorLevelMap() + { + return array( + E_ERROR => LogLevel::CRITICAL, + E_WARNING => LogLevel::WARNING, + E_PARSE => LogLevel::ALERT, + E_NOTICE => LogLevel::NOTICE, + E_CORE_ERROR => LogLevel::CRITICAL, + E_CORE_WARNING => LogLevel::WARNING, + E_COMPILE_ERROR => LogLevel::ALERT, + E_COMPILE_WARNING => LogLevel::WARNING, + E_USER_ERROR => LogLevel::ERROR, + E_USER_WARNING => LogLevel::WARNING, + E_USER_NOTICE => LogLevel::NOTICE, + E_STRICT => LogLevel::NOTICE, + E_RECOVERABLE_ERROR => LogLevel::ERROR, + E_DEPRECATED => LogLevel::NOTICE, + E_USER_DEPRECATED => LogLevel::NOTICE, + ); + } + + /** + * @private + */ + public function handleException($e) + { + $this->logger->log( + $this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel, + sprintf('Uncaught Exception %s: "%s" at %s line %s', Utils::getClass($e), $e->getMessage(), $e->getFile(), $e->getLine()), + array('exception' => $e) + ); + + if ($this->previousExceptionHandler) { + call_user_func($this->previousExceptionHandler, $e); + } + + exit(255); + } + + /** + * @private + */ + public function handleError($code, $message, $file = '', $line = 0, $context = array()) + { + if ($this->handleOnlyReportedErrors && !(error_reporting() & $code)) { + return; + } + + // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries + if (!$this->hasFatalErrorHandler || !in_array($code, self::$fatalErrors, true)) { + $level = isset($this->errorLevelMap[$code]) ? $this->errorLevelMap[$code] : LogLevel::CRITICAL; + $this->logger->log($level, self::codeToString($code).': '.$message, array('code' => $code, 'message' => $message, 'file' => $file, 'line' => $line)); + } else { + // http://php.net/manual/en/function.debug-backtrace.php + // As of 5.3.6, DEBUG_BACKTRACE_IGNORE_ARGS option was added. + // Any version less than 5.3.6 must use the DEBUG_BACKTRACE_IGNORE_ARGS constant value '2'. + $trace = debug_backtrace((PHP_VERSION_ID < 50306) ? 2 : DEBUG_BACKTRACE_IGNORE_ARGS); + array_shift($trace); // Exclude handleError from trace + $this->lastFatalTrace = $trace; + } + + if ($this->previousErrorHandler === true) { + return false; + } elseif ($this->previousErrorHandler) { + return call_user_func($this->previousErrorHandler, $code, $message, $file, $line, $context); + } + } + + /** + * @private + */ + public function handleFatalError() + { + $this->reservedMemory = null; + + $lastError = error_get_last(); + if ($lastError && in_array($lastError['type'], self::$fatalErrors, true)) { + $this->logger->log( + $this->fatalLevel === null ? LogLevel::ALERT : $this->fatalLevel, + 'Fatal Error ('.self::codeToString($lastError['type']).'): '.$lastError['message'], + array('code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line'], 'trace' => $this->lastFatalTrace) + ); + + if ($this->logger instanceof Logger) { + foreach ($this->logger->getHandlers() as $handler) { + if ($handler instanceof AbstractHandler) { + $handler->close(); + } + } + } + } + } + + private static function codeToString($code) + { + switch ($code) { + case E_ERROR: + return 'E_ERROR'; + case E_WARNING: + return 'E_WARNING'; + case E_PARSE: + return 'E_PARSE'; + case E_NOTICE: + return 'E_NOTICE'; + case E_CORE_ERROR: + return 'E_CORE_ERROR'; + case E_CORE_WARNING: + return 'E_CORE_WARNING'; + case E_COMPILE_ERROR: + return 'E_COMPILE_ERROR'; + case E_COMPILE_WARNING: + return 'E_COMPILE_WARNING'; + case E_USER_ERROR: + return 'E_USER_ERROR'; + case E_USER_WARNING: + return 'E_USER_WARNING'; + case E_USER_NOTICE: + return 'E_USER_NOTICE'; + case E_STRICT: + return 'E_STRICT'; + case E_RECOVERABLE_ERROR: + return 'E_RECOVERABLE_ERROR'; + case E_DEPRECATED: + return 'E_DEPRECATED'; + case E_USER_DEPRECATED: + return 'E_USER_DEPRECATED'; + } + + return 'Unknown PHP error'; + } +} diff --git a/inc/Dependencies/Monolog/Formatter/FormatterInterface.php b/inc/Dependencies/Monolog/Formatter/FormatterInterface.php new file mode 100644 index 0000000..e4a3176 --- /dev/null +++ b/inc/Dependencies/Monolog/Formatter/FormatterInterface.php @@ -0,0 +1,36 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Formatter; + +/** + * Interface for formatters + * + * @author Jordi Boggiano + */ +interface FormatterInterface +{ + /** + * Formats a log record. + * + * @param array $record A record to format + * @return mixed The formatted record + */ + public function format(array $record); + + /** + * Formats a set of log records. + * + * @param array $records A set of records to format + * @return mixed The formatted set of records + */ + public function formatBatch(array $records); +} diff --git a/inc/Dependencies/Monolog/Formatter/HtmlFormatter.php b/inc/Dependencies/Monolog/Formatter/HtmlFormatter.php new file mode 100644 index 0000000..b8c2158 --- /dev/null +++ b/inc/Dependencies/Monolog/Formatter/HtmlFormatter.php @@ -0,0 +1,142 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Formatter; + +use WP_Rocket\Dependencies\Monolog\Logger; +use WP_Rocket\Dependencies\Monolog\Utils; + +/** + * Formats incoming records into an HTML table + * + * This is especially useful for html email logging + * + * @author Tiago Brito + */ +class HtmlFormatter extends NormalizerFormatter +{ + /** + * Translates WP_Rocket\Dependencies\Monolog log levels to html color priorities. + */ + protected $logLevels = array( + Logger::DEBUG => '#cccccc', + Logger::INFO => '#468847', + Logger::NOTICE => '#3a87ad', + Logger::WARNING => '#c09853', + Logger::ERROR => '#f0ad4e', + Logger::CRITICAL => '#FF7708', + Logger::ALERT => '#C12A19', + Logger::EMERGENCY => '#000000', + ); + + /** + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + */ + public function __construct($dateFormat = null) + { + parent::__construct($dateFormat); + } + + /** + * Creates an HTML table row + * + * @param string $th Row header content + * @param string $td Row standard cell content + * @param bool $escapeTd false if td content must not be html escaped + * @return string + */ + protected function addRow($th, $td = ' ', $escapeTd = true) + { + $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8'); + if ($escapeTd) { + $td = '
    '.htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8').'
    '; + } + + return "\n$th:\n".$td."\n"; + } + + /** + * Create a HTML h1 tag + * + * @param string $title Text to be in the h1 + * @param int $level Error level + * @return string + */ + protected function addTitle($title, $level) + { + $title = htmlspecialchars($title, ENT_NOQUOTES, 'UTF-8'); + + return '

    '.$title.'

    '; + } + + /** + * Formats a log record. + * + * @param array $record A record to format + * @return mixed The formatted record + */ + public function format(array $record) + { + $output = $this->addTitle($record['level_name'], $record['level']); + $output .= ''; + + $output .= $this->addRow('Message', (string) $record['message']); + $output .= $this->addRow('Time', $record['datetime']->format($this->dateFormat)); + $output .= $this->addRow('Channel', $record['channel']); + if ($record['context']) { + $embeddedTable = '
    '; + foreach ($record['context'] as $key => $value) { + $embeddedTable .= $this->addRow($key, $this->convertToString($value)); + } + $embeddedTable .= '
    '; + $output .= $this->addRow('Context', $embeddedTable, false); + } + if ($record['extra']) { + $embeddedTable = ''; + foreach ($record['extra'] as $key => $value) { + $embeddedTable .= $this->addRow($key, $this->convertToString($value)); + } + $embeddedTable .= '
    '; + $output .= $this->addRow('Extra', $embeddedTable, false); + } + + return $output.''; + } + + /** + * Formats a set of log records. + * + * @param array $records A set of records to format + * @return mixed The formatted set of records + */ + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } + + protected function convertToString($data) + { + if (null === $data || is_scalar($data)) { + return (string) $data; + } + + $data = $this->normalize($data); + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return Utils::jsonEncode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE, true); + } + + return str_replace('\\/', '/', Utils::jsonEncode($data, null, true)); + } +} diff --git a/inc/Dependencies/Monolog/Formatter/LineFormatter.php b/inc/Dependencies/Monolog/Formatter/LineFormatter.php new file mode 100644 index 0000000..60b8a72 --- /dev/null +++ b/inc/Dependencies/Monolog/Formatter/LineFormatter.php @@ -0,0 +1,181 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Formatter; + +use WP_Rocket\Dependencies\Monolog\Utils; + +/** + * Formats incoming records into a one-line string + * + * This is especially useful for logging to files + * + * @author Jordi Boggiano + * @author Christophe Coevoet + */ +class LineFormatter extends NormalizerFormatter +{ + const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n"; + + protected $format; + protected $allowInlineLineBreaks; + protected $ignoreEmptyContextAndExtra; + protected $includeStacktraces; + + /** + * @param string $format The format of the message + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + * @param bool $allowInlineLineBreaks Whether to allow inline line breaks in log entries + * @param bool $ignoreEmptyContextAndExtra + */ + public function __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = false) + { + $this->format = $format ?: static::SIMPLE_FORMAT; + $this->allowInlineLineBreaks = $allowInlineLineBreaks; + $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra; + parent::__construct($dateFormat); + } + + public function includeStacktraces($include = true) + { + $this->includeStacktraces = $include; + if ($this->includeStacktraces) { + $this->allowInlineLineBreaks = true; + } + } + + public function allowInlineLineBreaks($allow = true) + { + $this->allowInlineLineBreaks = $allow; + } + + public function ignoreEmptyContextAndExtra($ignore = true) + { + $this->ignoreEmptyContextAndExtra = $ignore; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $vars = parent::format($record); + + $output = $this->format; + + foreach ($vars['extra'] as $var => $val) { + if (false !== strpos($output, '%extra.'.$var.'%')) { + $output = str_replace('%extra.'.$var.'%', $this->stringify($val), $output); + unset($vars['extra'][$var]); + } + } + + + foreach ($vars['context'] as $var => $val) { + if (false !== strpos($output, '%context.'.$var.'%')) { + $output = str_replace('%context.'.$var.'%', $this->stringify($val), $output); + unset($vars['context'][$var]); + } + } + + if ($this->ignoreEmptyContextAndExtra) { + if (empty($vars['context'])) { + unset($vars['context']); + $output = str_replace('%context%', '', $output); + } + + if (empty($vars['extra'])) { + unset($vars['extra']); + $output = str_replace('%extra%', '', $output); + } + } + + foreach ($vars as $var => $val) { + if (false !== strpos($output, '%'.$var.'%')) { + $output = str_replace('%'.$var.'%', $this->stringify($val), $output); + } + } + + // remove leftover %extra.xxx% and %context.xxx% if any + if (false !== strpos($output, '%')) { + $output = preg_replace('/%(?:extra|context)\..+?%/', '', $output); + } + + return $output; + } + + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } + + public function stringify($value) + { + return $this->replaceNewlines($this->convertToString($value)); + } + + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof \Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.Utils::getClass($e)); + } + + $previousText = ''; + if ($previous = $e->getPrevious()) { + do { + $previousText .= ', '.Utils::getClass($previous).'(code: '.$previous->getCode().'): '.$previous->getMessage().' at '.$previous->getFile().':'.$previous->getLine(); + } while ($previous = $previous->getPrevious()); + } + + $str = '[object] ('.Utils::getClass($e).'(code: '.$e->getCode().'): '.$e->getMessage().' at '.$e->getFile().':'.$e->getLine().$previousText.')'; + if ($this->includeStacktraces) { + $str .= "\n[stacktrace]\n".$e->getTraceAsString()."\n"; + } + + return $str; + } + + protected function convertToString($data) + { + if (null === $data || is_bool($data)) { + return var_export($data, true); + } + + if (is_scalar($data)) { + return (string) $data; + } + + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return $this->toJson($data, true); + } + + return str_replace('\\/', '/', $this->toJson($data, true)); + } + + protected function replaceNewlines($str) + { + if ($this->allowInlineLineBreaks) { + if (0 === strpos($str, '{')) { + return str_replace(array('\r', '\n'), array("\r", "\n"), $str); + } + + return $str; + } + + return str_replace(array("\r\n", "\r", "\n"), ' ', $str); + } +} diff --git a/inc/Dependencies/Monolog/Formatter/NormalizerFormatter.php b/inc/Dependencies/Monolog/Formatter/NormalizerFormatter.php new file mode 100644 index 0000000..df64b2a --- /dev/null +++ b/inc/Dependencies/Monolog/Formatter/NormalizerFormatter.php @@ -0,0 +1,199 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Formatter; + +use Exception; +use WP_Rocket\Dependencies\Monolog\Utils; + +/** + * Normalizes incoming records to remove objects/resources so it's easier to dump to various targets + * + * @author Jordi Boggiano + */ +class NormalizerFormatter implements FormatterInterface +{ + const SIMPLE_DATE = "Y-m-d H:i:s"; + + protected $dateFormat; + protected $maxDepth; + + /** + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + * @param int $maxDepth + */ + public function __construct($dateFormat = null, $maxDepth = 9) + { + $this->dateFormat = $dateFormat ?: static::SIMPLE_DATE; + $this->maxDepth = $maxDepth; + if (!function_exists('json_encode')) { + throw new \RuntimeException('PHP\'s json extension is required to use WP_Rocket\Dependencies\Monolog\'s NormalizerFormatter'); + } + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + return $this->normalize($record); + } + + /** + * {@inheritdoc} + */ + public function formatBatch(array $records) + { + foreach ($records as $key => $record) { + $records[$key] = $this->format($record); + } + + return $records; + } + + /** + * @return int + */ + public function getMaxDepth() + { + return $this->maxDepth; + } + + /** + * @param int $maxDepth + */ + public function setMaxDepth($maxDepth) + { + $this->maxDepth = $maxDepth; + } + + protected function normalize($data, $depth = 0) + { + if ($depth > $this->maxDepth) { + return 'Over '.$this->maxDepth.' levels deep, aborting normalization'; + } + + if (null === $data || is_scalar($data)) { + if (is_float($data)) { + if (is_infinite($data)) { + return ($data > 0 ? '' : '-') . 'INF'; + } + if (is_nan($data)) { + return 'NaN'; + } + } + + return $data; + } + + if (is_array($data)) { + $normalized = array(); + + $count = 1; + foreach ($data as $key => $value) { + if ($count++ > 1000) { + $normalized['...'] = 'Over 1000 items ('.count($data).' total), aborting normalization'; + break; + } + + $normalized[$key] = $this->normalize($value, $depth+1); + } + + return $normalized; + } + + if ($data instanceof \DateTime) { + return $data->format($this->dateFormat); + } + + if (is_object($data)) { + // TODO 2.0 only check for Throwable + if ($data instanceof Exception || (PHP_VERSION_ID > 70000 && $data instanceof \Throwable)) { + return $this->normalizeException($data); + } + + // non-serializable objects that implement __toString stringified + if (method_exists($data, '__toString') && !$data instanceof \JsonSerializable) { + $value = $data->__toString(); + } else { + // the rest is json-serialized in some way + $value = $this->toJson($data, true); + } + + return sprintf("[object] (%s: %s)", Utils::getClass($data), $value); + } + + if (is_resource($data)) { + return sprintf('[resource] (%s)', get_resource_type($data)); + } + + return '[unknown('.gettype($data).')]'; + } + + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.Utils::getClass($e)); + } + + $data = array( + 'class' => Utils::getClass($e), + 'message' => $e->getMessage(), + 'code' => (int) $e->getCode(), + 'file' => $e->getFile().':'.$e->getLine(), + ); + + if ($e instanceof \SoapFault) { + if (isset($e->faultcode)) { + $data['faultcode'] = $e->faultcode; + } + + if (isset($e->faultactor)) { + $data['faultactor'] = $e->faultactor; + } + + if (isset($e->detail)) { + if (is_string($e->detail)) { + $data['detail'] = $e->detail; + } elseif (is_object($e->detail) || is_array($e->detail)) { + $data['detail'] = $this->toJson($e->detail, true); + } + } + } + + $trace = $e->getTrace(); + foreach ($trace as $frame) { + if (isset($frame['file'])) { + $data['trace'][] = $frame['file'].':'.$frame['line']; + } + } + + if ($previous = $e->getPrevious()) { + $data['previous'] = $this->normalizeException($previous); + } + + return $data; + } + + /** + * Return the JSON representation of a value + * + * @param mixed $data + * @param bool $ignoreErrors + * @throws \RuntimeException if encoding fails and errors are not ignored + * @return string + */ + protected function toJson($data, $ignoreErrors = false) + { + return Utils::jsonEncode($data, null, $ignoreErrors); + } +} \ No newline at end of file diff --git a/inc/Dependencies/Monolog/Handler/AbstractHandler.php b/inc/Dependencies/Monolog/Handler/AbstractHandler.php new file mode 100644 index 0000000..5e089b6 --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/AbstractHandler.php @@ -0,0 +1,196 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Formatter\FormatterInterface; +use WP_Rocket\Dependencies\Monolog\Formatter\LineFormatter; +use WP_Rocket\Dependencies\Monolog\Logger; +use WP_Rocket\Dependencies\Monolog\ResettableInterface; + +/** + * Base Handler class providing the Handler structure + * + * @author Jordi Boggiano + */ +abstract class AbstractHandler implements HandlerInterface, ResettableInterface +{ + protected $level = Logger::DEBUG; + protected $bubble = true; + + /** + * @var FormatterInterface + */ + protected $formatter; + protected $processors = array(); + + /** + * @param int|string $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($level = Logger::DEBUG, $bubble = true) + { + $this->setLevel($level); + $this->bubble = $bubble; + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return $record['level'] >= $this->level; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + foreach ($records as $record) { + $this->handle($record); + } + } + + /** + * Closes the handler. + * + * This will be called automatically when the object is destroyed + */ + public function close() + { + } + + /** + * {@inheritdoc} + */ + public function pushProcessor($callback) + { + if (!is_callable($callback)) { + throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given'); + } + array_unshift($this->processors, $callback); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function popProcessor() + { + if (!$this->processors) { + throw new \LogicException('You tried to pop from an empty processor stack.'); + } + + return array_shift($this->processors); + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + $this->formatter = $formatter; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getFormatter() + { + if (!$this->formatter) { + $this->formatter = $this->getDefaultFormatter(); + } + + return $this->formatter; + } + + /** + * Sets minimum logging level at which this handler will be triggered. + * + * @param int|string $level Level or level name + * @return self + */ + public function setLevel($level) + { + $this->level = Logger::toMonologLevel($level); + + return $this; + } + + /** + * Gets minimum logging level at which this handler will be triggered. + * + * @return int + */ + public function getLevel() + { + return $this->level; + } + + /** + * Sets the bubbling behavior. + * + * @param bool $bubble true means that this handler allows bubbling. + * false means that bubbling is not permitted. + * @return self + */ + public function setBubble($bubble) + { + $this->bubble = $bubble; + + return $this; + } + + /** + * Gets the bubbling behavior. + * + * @return bool true means that this handler allows bubbling. + * false means that bubbling is not permitted. + */ + public function getBubble() + { + return $this->bubble; + } + + public function __destruct() + { + try { + $this->close(); + } catch (\Exception $e) { + // do nothing + } catch (\Throwable $e) { + // do nothing + } + } + + public function reset() + { + foreach ($this->processors as $processor) { + if ($processor instanceof ResettableInterface) { + $processor->reset(); + } + } + } + + /** + * Gets the default formatter. + * + * @return FormatterInterface + */ + protected function getDefaultFormatter() + { + return new LineFormatter(); + } +} diff --git a/inc/Dependencies/Monolog/Handler/AbstractProcessingHandler.php b/inc/Dependencies/Monolog/Handler/AbstractProcessingHandler.php new file mode 100644 index 0000000..e852d27 --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/AbstractProcessingHandler.php @@ -0,0 +1,68 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\ResettableInterface; + +/** + * Base Handler class providing the Handler structure + * + * Classes extending it should (in most cases) only implement write($record) + * + * @author Jordi Boggiano + * @author Christophe Coevoet + */ +abstract class AbstractProcessingHandler extends AbstractHandler +{ + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if (!$this->isHandling($record)) { + return false; + } + + $record = $this->processRecord($record); + + $record['formatted'] = $this->getFormatter()->format($record); + + $this->write($record); + + return false === $this->bubble; + } + + /** + * Writes the record down to the log of the implementing handler + * + * @param array $record + * @return void + */ + abstract protected function write(array $record); + + /** + * Processes a record. + * + * @param array $record + * @return array + */ + protected function processRecord(array $record) + { + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + return $record; + } +} diff --git a/inc/Dependencies/Monolog/Handler/FormattableHandlerInterface.php b/inc/Dependencies/Monolog/Handler/FormattableHandlerInterface.php new file mode 100644 index 0000000..3d4cbec --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/FormattableHandlerInterface.php @@ -0,0 +1,39 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Formatter\FormatterInterface; + +/** + * Interface to describe loggers that have a formatter + * + * This interface is present in monolog 1.x to ease forward compatibility. + * + * @author Jordi Boggiano + */ +interface FormattableHandlerInterface +{ + /** + * Sets the formatter. + * + * @param FormatterInterface $formatter + * @return HandlerInterface self + */ + public function setFormatter(FormatterInterface $formatter): HandlerInterface; + + /** + * Gets the formatter. + * + * @return FormatterInterface + */ + public function getFormatter(): FormatterInterface; +} diff --git a/inc/Dependencies/Monolog/Handler/FormattableHandlerTrait.php b/inc/Dependencies/Monolog/Handler/FormattableHandlerTrait.php new file mode 100644 index 0000000..9f40d25 --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/FormattableHandlerTrait.php @@ -0,0 +1,63 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Formatter\FormatterInterface; +use WP_Rocket\Dependencies\Monolog\Formatter\LineFormatter; + +/** + * Helper trait for implementing FormattableInterface + * + * This trait is present in monolog 1.x to ease forward compatibility. + * + * @author Jordi Boggiano + */ +trait FormattableHandlerTrait +{ + /** + * @var FormatterInterface + */ + protected $formatter; + + /** + * {@inheritdoc} + * @suppress PhanTypeMismatchReturn + */ + public function setFormatter(FormatterInterface $formatter): HandlerInterface + { + $this->formatter = $formatter; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getFormatter(): FormatterInterface + { + if (!$this->formatter) { + $this->formatter = $this->getDefaultFormatter(); + } + + return $this->formatter; + } + + /** + * Gets the default formatter. + * + * Overwrite this if the LineFormatter is not a good default for your handler. + */ + protected function getDefaultFormatter(): FormatterInterface + { + return new LineFormatter(); + } +} diff --git a/inc/Dependencies/Monolog/Handler/HandlerInterface.php b/inc/Dependencies/Monolog/Handler/HandlerInterface.php new file mode 100644 index 0000000..20527d7 --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/HandlerInterface.php @@ -0,0 +1,90 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Formatter\FormatterInterface; + +/** + * Interface that all WP_Rocket\Dependencies\Monolog Handlers must implement + * + * @author Jordi Boggiano + */ +interface HandlerInterface +{ + /** + * Checks whether the given record will be handled by this handler. + * + * This is mostly done for performance reasons, to avoid calling processors for nothing. + * + * Handlers should still check the record levels within handle(), returning false in isHandling() + * is no guarantee that handle() will not be called, and isHandling() might not be called + * for a given record. + * + * @param array $record Partial log record containing only a level key + * + * @return bool + */ + public function isHandling(array $record); + + /** + * Handles a record. + * + * All records may be passed to this method, and the handler should discard + * those that it does not want to handle. + * + * The return value of this function controls the bubbling process of the handler stack. + * Unless the bubbling is interrupted (by returning true), the Logger class will keep on + * calling further handlers in the stack with a given log record. + * + * @param array $record The record to handle + * @return bool true means that this handler handled the record, and that bubbling is not permitted. + * false means the record was either not processed or that this handler allows bubbling. + */ + public function handle(array $record); + + /** + * Handles a set of records at once. + * + * @param array $records The records to handle (an array of record arrays) + */ + public function handleBatch(array $records); + + /** + * Adds a processor in the stack. + * + * @param callable $callback + * @return self + */ + public function pushProcessor($callback); + + /** + * Removes the processor on top of the stack and returns it. + * + * @return callable + */ + public function popProcessor(); + + /** + * Sets the formatter. + * + * @param FormatterInterface $formatter + * @return self + */ + public function setFormatter(FormatterInterface $formatter); + + /** + * Gets the formatter. + * + * @return FormatterInterface + */ + public function getFormatter(); +} diff --git a/inc/Dependencies/Monolog/Handler/ProcessableHandlerInterface.php b/inc/Dependencies/Monolog/Handler/ProcessableHandlerInterface.php new file mode 100644 index 0000000..12630d9 --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/ProcessableHandlerInterface.php @@ -0,0 +1,40 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Processor\ProcessorInterface; + +/** + * Interface to describe loggers that have processors + * + * This interface is present in monolog 1.x to ease forward compatibility. + * + * @author Jordi Boggiano + */ +interface ProcessableHandlerInterface +{ + /** + * Adds a processor in the stack. + * + * @param ProcessorInterface|callable $callback + * @return HandlerInterface self + */ + public function pushProcessor($callback): HandlerInterface; + + /** + * Removes the processor on top of the stack and returns it. + * + * @throws \LogicException In case the processor stack is empty + * @return callable + */ + public function popProcessor(): callable; +} diff --git a/inc/Dependencies/Monolog/Handler/ProcessableHandlerTrait.php b/inc/Dependencies/Monolog/Handler/ProcessableHandlerTrait.php new file mode 100644 index 0000000..b5223cb --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/ProcessableHandlerTrait.php @@ -0,0 +1,73 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\ResettableInterface; + +/** + * Helper trait for implementing ProcessableInterface + * + * This trait is present in monolog 1.x to ease forward compatibility. + * + * @author Jordi Boggiano + */ +trait ProcessableHandlerTrait +{ + /** + * @var callable[] + */ + protected $processors = []; + + /** + * {@inheritdoc} + * @suppress PhanTypeMismatchReturn + */ + public function pushProcessor($callback): HandlerInterface + { + array_unshift($this->processors, $callback); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function popProcessor(): callable + { + if (!$this->processors) { + throw new \LogicException('You tried to pop from an empty processor stack.'); + } + + return array_shift($this->processors); + } + + /** + * Processes a record. + */ + protected function processRecord(array $record): array + { + foreach ($this->processors as $processor) { + $record = $processor($record); + } + + return $record; + } + + protected function resetProcessors(): void + { + foreach ($this->processors as $processor) { + if ($processor instanceof ResettableInterface) { + $processor->reset(); + } + } + } +} diff --git a/inc/Dependencies/Monolog/Handler/StreamHandler.php b/inc/Dependencies/Monolog/Handler/StreamHandler.php new file mode 100644 index 0000000..1b1ff9c --- /dev/null +++ b/inc/Dependencies/Monolog/Handler/StreamHandler.php @@ -0,0 +1,194 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Handler; + +use WP_Rocket\Dependencies\Monolog\Logger; +use WP_Rocket\Dependencies\Monolog\Utils; + +/** + * Stores to any stream resource + * + * Can be used to store into php://stderr, remote and local files, etc. + * + * @author Jordi Boggiano + */ +class StreamHandler extends AbstractProcessingHandler +{ + /** @private 512KB */ + const CHUNK_SIZE = 524288; + + /** @var resource|null */ + protected $stream; + protected $url; + private $errorMessage; + protected $filePermission; + protected $useLocking; + private $dirCreated; + + /** + * @param resource|string $stream + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write) + * @param bool $useLocking Try to lock log file before doing any writes + * + * @throws \Exception If a missing directory is not buildable + * @throws \InvalidArgumentException If stream is not a resource or string + */ + public function __construct($stream, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false) + { + parent::__construct($level, $bubble); + if (is_resource($stream)) { + $this->stream = $stream; + $this->streamSetChunkSize(); + } elseif (is_string($stream)) { + $this->url = Utils::canonicalizePath($stream); + } else { + throw new \InvalidArgumentException('A stream must either be a resource or a string.'); + } + + $this->filePermission = $filePermission; + $this->useLocking = $useLocking; + } + + /** + * {@inheritdoc} + */ + public function close() + { + if ($this->url && is_resource($this->stream)) { + fclose($this->stream); + } + $this->stream = null; + $this->dirCreated = null; + } + + /** + * Return the currently active stream if it is open + * + * @return resource|null + */ + public function getStream() + { + return $this->stream; + } + + /** + * Return the stream URL if it was configured with a URL and not an active resource + * + * @return string|null + */ + public function getUrl() + { + return $this->url; + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + if (!is_resource($this->stream)) { + if (null === $this->url || '' === $this->url) { + throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().'); + } + $this->createDir(); + $this->errorMessage = null; + set_error_handler(array($this, 'customErrorHandler')); + $this->stream = fopen($this->url, 'a'); + if ($this->filePermission !== null) { + @chmod($this->url, $this->filePermission); + } + restore_error_handler(); + if (!is_resource($this->stream)) { + $this->stream = null; + + throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $this->url)); + } + $this->streamSetChunkSize(); + } + + if ($this->useLocking) { + // ignoring errors here, there's not much we can do about them + flock($this->stream, LOCK_EX); + } + + $this->streamWrite($this->stream, $record); + + if ($this->useLocking) { + flock($this->stream, LOCK_UN); + } + } + + /** + * Write to stream + * @param resource $stream + * @param array $record + */ + protected function streamWrite($stream, array $record) + { + fwrite($stream, (string) $record['formatted']); + } + + protected function streamSetChunkSize() + { + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return stream_set_chunk_size($this->stream, self::CHUNK_SIZE); + } + + return false; + } + + private function customErrorHandler($code, $msg) + { + $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg); + } + + /** + * @param string $stream + * + * @return null|string + */ + private function getDirFromStream($stream) + { + $pos = strpos($stream, '://'); + if ($pos === false) { + return dirname($stream); + } + + if ('file://' === substr($stream, 0, 7)) { + return dirname(substr($stream, 7)); + } + + return null; + } + + private function createDir() + { + // Do not try to create dir if it has already been tried. + if ($this->dirCreated) { + return; + } + + $dir = $this->getDirFromStream($this->url); + if (null !== $dir && !is_dir($dir)) { + $this->errorMessage = null; + set_error_handler(array($this, 'customErrorHandler')); + $status = mkdir($dir, 0777, true); + restore_error_handler(); + if (false === $status && !is_dir($dir)) { + throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir)); + } + } + $this->dirCreated = true; + } +} diff --git a/inc/Dependencies/Monolog/Logger.php b/inc/Dependencies/Monolog/Logger.php new file mode 100644 index 0000000..2903bc7 --- /dev/null +++ b/inc/Dependencies/Monolog/Logger.php @@ -0,0 +1,796 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +use WP_Rocket\Dependencies\Monolog\Handler\HandlerInterface; +use WP_Rocket\Dependencies\Monolog\Handler\StreamHandler; +use WP_Rocket\Dependencies\Psr\Log\LoggerInterface; +use WP_Rocket\Dependencies\Psr\Log\InvalidArgumentException; +use Exception; + +/** + * WP_Rocket\Dependencies\Monolog log channel + * + * It contains a stack of Handlers and a stack of Processors, + * and uses them to store records that are added to it. + * + * @author Jordi Boggiano + */ +class Logger implements LoggerInterface, ResettableInterface +{ + /** + * Detailed debug information + */ + const DEBUG = 100; + + /** + * Interesting events + * + * Examples: User logs in, SQL logs. + */ + const INFO = 200; + + /** + * Uncommon events + */ + const NOTICE = 250; + + /** + * Exceptional occurrences that are not errors + * + * Examples: Use of deprecated APIs, poor use of an API, + * undesirable things that are not necessarily wrong. + */ + const WARNING = 300; + + /** + * Runtime errors + */ + const ERROR = 400; + + /** + * Critical conditions + * + * Example: Application component unavailable, unexpected exception. + */ + const CRITICAL = 500; + + /** + * Action must be taken immediately + * + * Example: Entire website down, database unavailable, etc. + * This should trigger the SMS alerts and wake you up. + */ + const ALERT = 550; + + /** + * Urgent alert. + */ + const EMERGENCY = 600; + + /** + * WP_Rocket\Dependencies\Monolog API version + * + * This is only bumped when API breaks are done and should + * follow the major version of the library + * + * @var int + */ + const API = 1; + + /** + * Logging levels from syslog protocol defined in RFC 5424 + * + * @var array $levels Logging levels + */ + protected static $levels = array( + self::DEBUG => 'DEBUG', + self::INFO => 'INFO', + self::NOTICE => 'NOTICE', + self::WARNING => 'WARNING', + self::ERROR => 'ERROR', + self::CRITICAL => 'CRITICAL', + self::ALERT => 'ALERT', + self::EMERGENCY => 'EMERGENCY', + ); + + /** + * @var \DateTimeZone + */ + protected static $timezone; + + /** + * @var string + */ + protected $name; + + /** + * The handler stack + * + * @var HandlerInterface[] + */ + protected $handlers; + + /** + * Processors that will process all log records + * + * To process records of a single handler instead, add the processor on that specific handler + * + * @var callable[] + */ + protected $processors; + + /** + * @var bool + */ + protected $microsecondTimestamps = true; + + /** + * @var callable + */ + protected $exceptionHandler; + + /** + * @param string $name The logging channel + * @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. + * @param callable[] $processors Optional array of processors + */ + public function __construct($name, array $handlers = array(), array $processors = array()) + { + $this->name = $name; + $this->setHandlers($handlers); + $this->processors = $processors; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Return a new cloned instance with the name changed + * + * @return static + */ + public function withName($name) + { + $new = clone $this; + $new->name = $name; + + return $new; + } + + /** + * Pushes a handler on to the stack. + * + * @param HandlerInterface $handler + * @return $this + */ + public function pushHandler(HandlerInterface $handler) + { + array_unshift($this->handlers, $handler); + + return $this; + } + + /** + * Pops a handler from the stack + * + * @return HandlerInterface + */ + public function popHandler() + { + if (!$this->handlers) { + throw new \LogicException('You tried to pop from an empty handler stack.'); + } + + return array_shift($this->handlers); + } + + /** + * Set handlers, replacing all existing ones. + * + * If a map is passed, keys will be ignored. + * + * @param HandlerInterface[] $handlers + * @return $this + */ + public function setHandlers(array $handlers) + { + $this->handlers = array(); + foreach (array_reverse($handlers) as $handler) { + $this->pushHandler($handler); + } + + return $this; + } + + /** + * @return HandlerInterface[] + */ + public function getHandlers() + { + return $this->handlers; + } + + /** + * Adds a processor on to the stack. + * + * @param callable $callback + * @return $this + */ + public function pushProcessor($callback) + { + if (!is_callable($callback)) { + throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given'); + } + array_unshift($this->processors, $callback); + + return $this; + } + + /** + * Removes the processor on top of the stack and returns it. + * + * @return callable + */ + public function popProcessor() + { + if (!$this->processors) { + throw new \LogicException('You tried to pop from an empty processor stack.'); + } + + return array_shift($this->processors); + } + + /** + * @return callable[] + */ + public function getProcessors() + { + return $this->processors; + } + + /** + * Control the use of microsecond resolution timestamps in the 'datetime' + * member of new records. + * + * Generating microsecond resolution timestamps by calling + * microtime(true), formatting the result via sprintf() and then parsing + * the resulting string via \DateTime::createFromFormat() can incur + * a measurable runtime overhead vs simple usage of DateTime to capture + * a second resolution timestamp in systems which generate a large number + * of log events. + * + * @param bool $micro True to use microtime() to create timestamps + */ + public function useMicrosecondTimestamps($micro) + { + $this->microsecondTimestamps = (bool) $micro; + } + + /** + * Adds a log record. + * + * @param int $level The logging level + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addRecord($level, $message, array $context = array()) + { + if (!$this->handlers) { + $this->pushHandler(new StreamHandler('php://stderr', static::DEBUG)); + } + + $levelName = static::getLevelName($level); + + // check if any handler will handle this message so we can return early and save cycles + $handlerKey = null; + reset($this->handlers); + while ($handler = current($this->handlers)) { + if ($handler->isHandling(array('level' => $level))) { + $handlerKey = key($this->handlers); + break; + } + + next($this->handlers); + } + + if (null === $handlerKey) { + return false; + } + + if (!static::$timezone) { + static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC'); + } + + // php7.1+ always has microseconds enabled, so we do not need this hack + if ($this->microsecondTimestamps && PHP_VERSION_ID < 70100) { + $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone); + } else { + $ts = new \DateTime('now', static::$timezone); + } + $ts->setTimezone(static::$timezone); + + $record = array( + 'message' => (string) $message, + 'context' => $context, + 'level' => $level, + 'level_name' => $levelName, + 'channel' => $this->name, + 'datetime' => $ts, + 'extra' => array(), + ); + + try { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + + while ($handler = current($this->handlers)) { + if (true === $handler->handle($record)) { + break; + } + + next($this->handlers); + } + } catch (Exception $e) { + $this->handleException($e, $record); + } + + return true; + } + + /** + * Ends a log cycle and frees all resources used by handlers. + * + * Closing a Handler means flushing all buffers and freeing any open resources/handles. + * Handlers that have been closed should be able to accept log records again and re-open + * themselves on demand, but this may not always be possible depending on implementation. + * + * This is useful at the end of a request and will be called automatically on every handler + * when they get destructed. + */ + public function close() + { + foreach ($this->handlers as $handler) { + if (method_exists($handler, 'close')) { + $handler->close(); + } + } + } + + /** + * Ends a log cycle and resets all handlers and processors to their initial state. + * + * Resetting a Handler or a Processor means flushing/cleaning all buffers, resetting internal + * state, and getting it back to a state in which it can receive log records again. + * + * This is useful in case you want to avoid logs leaking between two requests or jobs when you + * have a long running process like a worker or an application server serving multiple requests + * in one process. + */ + public function reset() + { + foreach ($this->handlers as $handler) { + if ($handler instanceof ResettableInterface) { + $handler->reset(); + } + } + + foreach ($this->processors as $processor) { + if ($processor instanceof ResettableInterface) { + $processor->reset(); + } + } + } + + /** + * Adds a log record at the DEBUG level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addDebug($message, array $context = array()) + { + return $this->addRecord(static::DEBUG, $message, $context); + } + + /** + * Adds a log record at the INFO level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addInfo($message, array $context = array()) + { + return $this->addRecord(static::INFO, $message, $context); + } + + /** + * Adds a log record at the NOTICE level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addNotice($message, array $context = array()) + { + return $this->addRecord(static::NOTICE, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addWarning($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addError($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addCritical($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the ALERT level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addAlert($message, array $context = array()) + { + return $this->addRecord(static::ALERT, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function addEmergency($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Gets all supported logging levels. + * + * @return array Assoc array with human-readable level names => level codes. + */ + public static function getLevels() + { + return array_flip(static::$levels); + } + + /** + * Gets the name of the logging level. + * + * @param int $level + * @return string + */ + public static function getLevelName($level) + { + if (!isset(static::$levels[$level])) { + throw new InvalidArgumentException('Level "'.$level.'" is not defined, use one of: '.implode(', ', array_keys(static::$levels))); + } + + return static::$levels[$level]; + } + + /** + * Converts PSR-3 levels to WP_Rocket\Dependencies\Monolog ones if necessary + * + * @param string|int $level Level number (monolog) or name (PSR-3) + * @return int + */ + public static function toMonologLevel($level) + { + if (is_string($level)) { + // Contains chars of all log levels and avoids using strtoupper() which may have + // strange results depending on locale (for example, "i" will become "İ") + $upper = strtr($level, 'abcdefgilmnortuwy', 'ABCDEFGILMNORTUWY'); + if (defined(__CLASS__.'::'.$upper)) { + return constant(__CLASS__ . '::' . $upper); + } + } + + return $level; + } + + /** + * Checks whether the Logger has a handler that listens on the given level + * + * @param int $level + * @return bool + */ + public function isHandling($level) + { + $record = array( + 'level' => $level, + ); + + foreach ($this->handlers as $handler) { + if ($handler->isHandling($record)) { + return true; + } + } + + return false; + } + + /** + * Set a custom exception handler + * + * @param callable $callback + * @return $this + */ + public function setExceptionHandler($callback) + { + if (!is_callable($callback)) { + throw new \InvalidArgumentException('Exception handler must be valid callable (callback or object with an __invoke method), '.var_export($callback, true).' given'); + } + $this->exceptionHandler = $callback; + + return $this; + } + + /** + * @return callable + */ + public function getExceptionHandler() + { + return $this->exceptionHandler; + } + + /** + * Delegates exception management to the custom exception handler, + * or throws the exception if no custom handler is set. + */ + protected function handleException(Exception $e, array $record) + { + if (!$this->exceptionHandler) { + throw $e; + } + + call_user_func($this->exceptionHandler, $e, $record); + } + + /** + * Adds a log record at an arbitrary level. + * + * This method allows for compatibility with common interfaces. + * + * @param mixed $level The log level + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function log($level, $message, array $context = array()) + { + $level = static::toMonologLevel($level); + + return $this->addRecord($level, $message, $context); + } + + /** + * Adds a log record at the DEBUG level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function debug($message, array $context = array()) + { + return $this->addRecord(static::DEBUG, $message, $context); + } + + /** + * Adds a log record at the INFO level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function info($message, array $context = array()) + { + return $this->addRecord(static::INFO, $message, $context); + } + + /** + * Adds a log record at the NOTICE level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function notice($message, array $context = array()) + { + return $this->addRecord(static::NOTICE, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function warn($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function warning($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function err($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function error($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function crit($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function critical($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the ALERT level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function alert($message, array $context = array()) + { + return $this->addRecord(static::ALERT, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function emerg($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return bool Whether the record has been processed + */ + public function emergency($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Set the timezone to be used for the timestamp of log records. + * + * This is stored globally for all Logger instances + * + * @param \DateTimeZone $tz Timezone object + */ + public static function setTimezone(\DateTimeZone $tz) + { + self::$timezone = $tz; + } +} diff --git a/inc/Dependencies/Monolog/Processor/IntrospectionProcessor.php b/inc/Dependencies/Monolog/Processor/IntrospectionProcessor.php new file mode 100644 index 0000000..d91d462 --- /dev/null +++ b/inc/Dependencies/Monolog/Processor/IntrospectionProcessor.php @@ -0,0 +1,112 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Processor; + +use WP_Rocket\Dependencies\Monolog\Logger; + +/** + * Injects line/file:class/function where the log message came from + * + * Warning: This only works if the handler processes the logs directly. + * If you put the processor on a handler that is behind a FingersCrossedHandler + * for example, the processor will only be called once the trigger level is reached, + * and all the log records will have the same file/line/.. data from the call that + * triggered the FingersCrossedHandler. + * + * @author Jordi Boggiano + */ +class IntrospectionProcessor implements ProcessorInterface +{ + private $level; + + private $skipClassesPartials; + + private $skipStackFramesCount; + + private $skipFunctions = array( + 'call_user_func', + 'call_user_func_array', + ); + + public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0) + { + $this->level = Logger::toMonologLevel($level); + $this->skipClassesPartials = array_merge(array('WP_Rocket\Dependencies\Monolog\\'), $skipClassesPartials); + $this->skipStackFramesCount = $skipStackFramesCount; + } + + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + // return if the level is not high enough + if ($record['level'] < $this->level) { + return $record; + } + + /* + * http://php.net/manual/en/function.debug-backtrace.php + * As of 5.3.6, DEBUG_BACKTRACE_IGNORE_ARGS option was added. + * Any version less than 5.3.6 must use the DEBUG_BACKTRACE_IGNORE_ARGS constant value '2'. + */ + $trace = debug_backtrace((PHP_VERSION_ID < 50306) ? 2 : DEBUG_BACKTRACE_IGNORE_ARGS); + + // skip first since it's always the current method + array_shift($trace); + // the call_user_func call is also skipped + array_shift($trace); + + $i = 0; + + while ($this->isTraceClassOrSkippedFunction($trace, $i)) { + if (isset($trace[$i]['class'])) { + foreach ($this->skipClassesPartials as $part) { + if (strpos($trace[$i]['class'], $part) !== false) { + $i++; + continue 2; + } + } + } elseif (in_array($trace[$i]['function'], $this->skipFunctions)) { + $i++; + continue; + } + + break; + } + + $i += $this->skipStackFramesCount; + + // we should have the call source now + $record['extra'] = array_merge( + $record['extra'], + array( + 'file' => isset($trace[$i - 1]['file']) ? $trace[$i - 1]['file'] : null, + 'line' => isset($trace[$i - 1]['line']) ? $trace[$i - 1]['line'] : null, + 'class' => isset($trace[$i]['class']) ? $trace[$i]['class'] : null, + 'function' => isset($trace[$i]['function']) ? $trace[$i]['function'] : null, + ) + ); + + return $record; + } + + private function isTraceClassOrSkippedFunction(array $trace, $index) + { + if (!isset($trace[$index])) { + return false; + } + + return isset($trace[$index]['class']) || in_array($trace[$index]['function'], $this->skipFunctions); + } +} diff --git a/inc/Dependencies/Monolog/Processor/ProcessorInterface.php b/inc/Dependencies/Monolog/Processor/ProcessorInterface.php new file mode 100644 index 0000000..597900c --- /dev/null +++ b/inc/Dependencies/Monolog/Processor/ProcessorInterface.php @@ -0,0 +1,25 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog\Processor; + +/** + * An optional interface to allow labelling WP_Rocket\Dependencies\Monolog processors. + * + * @author Nicolas Grekas + */ +interface ProcessorInterface +{ + /** + * @return array The processed records + */ + public function __invoke(array $records); +} diff --git a/inc/Dependencies/Monolog/Registry.php b/inc/Dependencies/Monolog/Registry.php new file mode 100644 index 0000000..806ee11 --- /dev/null +++ b/inc/Dependencies/Monolog/Registry.php @@ -0,0 +1,134 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +use InvalidArgumentException; + +/** + * WP_Rocket\Dependencies\Monolog log registry + * + * Allows to get `Logger` instances in the global scope + * via static method calls on this class. + * + * + * $application = new WP_Rocket\Dependencies\Monolog\Logger('application'); + * $api = new WP_Rocket\Dependencies\Monolog\Logger('api'); + * + * WP_Rocket\Dependencies\Monolog\Registry::addLogger($application); + * WP_Rocket\Dependencies\Monolog\Registry::addLogger($api); + * + * function testLogger() + * { + * WP_Rocket\Dependencies\Monolog\Registry::api()->addError('Sent to $api Logger instance'); + * WP_Rocket\Dependencies\Monolog\Registry::application()->addError('Sent to $application Logger instance'); + * } + * + * + * @author Tomas Tatarko + */ +class Registry +{ + /** + * List of all loggers in the registry (by named indexes) + * + * @var Logger[] + */ + private static $loggers = array(); + + /** + * Adds new logging channel to the registry + * + * @param Logger $logger Instance of the logging channel + * @param string|null $name Name of the logging channel ($logger->getName() by default) + * @param bool $overwrite Overwrite instance in the registry if the given name already exists? + * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists + */ + public static function addLogger(Logger $logger, $name = null, $overwrite = false) + { + $name = $name ?: $logger->getName(); + + if (isset(self::$loggers[$name]) && !$overwrite) { + throw new InvalidArgumentException('Logger with the given name already exists'); + } + + self::$loggers[$name] = $logger; + } + + /** + * Checks if such logging channel exists by name or instance + * + * @param string|Logger $logger Name or logger instance + */ + public static function hasLogger($logger) + { + if ($logger instanceof Logger) { + $index = array_search($logger, self::$loggers, true); + + return false !== $index; + } else { + return isset(self::$loggers[$logger]); + } + } + + /** + * Removes instance from registry by name or instance + * + * @param string|Logger $logger Name or logger instance + */ + public static function removeLogger($logger) + { + if ($logger instanceof Logger) { + if (false !== ($idx = array_search($logger, self::$loggers, true))) { + unset(self::$loggers[$idx]); + } + } else { + unset(self::$loggers[$logger]); + } + } + + /** + * Clears the registry + */ + public static function clear() + { + self::$loggers = array(); + } + + /** + * Gets Logger instance from the registry + * + * @param string $name Name of the requested Logger instance + * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger + */ + public static function getInstance($name) + { + if (!isset(self::$loggers[$name])) { + throw new InvalidArgumentException(sprintf('Requested "%s" logger instance is not in the registry', $name)); + } + + return self::$loggers[$name]; + } + + /** + * Gets Logger instance from the registry via static method call + * + * @param string $name Name of the requested Logger instance + * @param array $arguments Arguments passed to static method call + * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger + */ + public static function __callStatic($name, $arguments) + { + return self::getInstance($name); + } +} diff --git a/inc/Dependencies/Monolog/ResettableInterface.php b/inc/Dependencies/Monolog/ResettableInterface.php new file mode 100644 index 0000000..f91ee12 --- /dev/null +++ b/inc/Dependencies/Monolog/ResettableInterface.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +/** + * Handler or Processor implementing this interface will be reset when Logger::reset() is called. + * + * Resetting ends a log cycle gets them back to their initial state. + * + * Resetting a Handler or a Processor means flushing/cleaning all buffers, resetting internal + * state, and getting it back to a state in which it can receive log records again. + * + * This is useful in case you want to avoid logs leaking between two requests or jobs when you + * have a long running process like a worker or an application server serving multiple requests + * in one process. + * + * @author Grégoire Pineau + */ +interface ResettableInterface +{ + public function reset(); +} diff --git a/inc/Dependencies/Monolog/SignalHandler.php b/inc/Dependencies/Monolog/SignalHandler.php new file mode 100644 index 0000000..8f62c7e --- /dev/null +++ b/inc/Dependencies/Monolog/SignalHandler.php @@ -0,0 +1,115 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +use WP_Rocket\Dependencies\Psr\Log\LoggerInterface; +use WP_Rocket\Dependencies\Psr\Log\LogLevel; +use ReflectionExtension; + +/** + * WP_Rocket\Dependencies\Monolog POSIX signal handler + * + * @author Robert Gust-Bardon + */ +class SignalHandler +{ + private $logger; + + private $previousSignalHandler = array(); + private $signalLevelMap = array(); + private $signalRestartSyscalls = array(); + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + + public function registerSignalHandler($signo, $level = LogLevel::CRITICAL, $callPrevious = true, $restartSyscalls = true, $async = true) + { + if (!extension_loaded('pcntl') || !function_exists('pcntl_signal')) { + return $this; + } + + if ($callPrevious) { + if (function_exists('pcntl_signal_get_handler')) { + $handler = pcntl_signal_get_handler($signo); + if ($handler === false) { + return $this; + } + $this->previousSignalHandler[$signo] = $handler; + } else { + $this->previousSignalHandler[$signo] = true; + } + } else { + unset($this->previousSignalHandler[$signo]); + } + $this->signalLevelMap[$signo] = $level; + $this->signalRestartSyscalls[$signo] = $restartSyscalls; + + if (function_exists('pcntl_async_signals') && $async !== null) { + pcntl_async_signals($async); + } + + pcntl_signal($signo, array($this, 'handleSignal'), $restartSyscalls); + + return $this; + } + + public function handleSignal($signo, array $siginfo = null) + { + static $signals = array(); + + if (!$signals && extension_loaded('pcntl')) { + $pcntl = new ReflectionExtension('pcntl'); + $constants = $pcntl->getConstants(); + if (!$constants) { + // HHVM 3.24.2 returns an empty array. + $constants = get_defined_constants(true); + $constants = $constants['Core']; + } + foreach ($constants as $name => $value) { + if (substr($name, 0, 3) === 'SIG' && $name[3] !== '_' && is_int($value)) { + $signals[$value] = $name; + } + } + unset($constants); + } + + $level = isset($this->signalLevelMap[$signo]) ? $this->signalLevelMap[$signo] : LogLevel::CRITICAL; + $signal = isset($signals[$signo]) ? $signals[$signo] : $signo; + $context = isset($siginfo) ? $siginfo : array(); + $this->logger->log($level, sprintf('Program received signal %s', $signal), $context); + + if (!isset($this->previousSignalHandler[$signo])) { + return; + } + + if ($this->previousSignalHandler[$signo] === true || $this->previousSignalHandler[$signo] === SIG_DFL) { + if (extension_loaded('pcntl') && function_exists('pcntl_signal') && function_exists('pcntl_sigprocmask') && function_exists('pcntl_signal_dispatch') + && extension_loaded('posix') && function_exists('posix_getpid') && function_exists('posix_kill')) { + $restartSyscalls = isset($this->signalRestartSyscalls[$signo]) ? $this->signalRestartSyscalls[$signo] : true; + pcntl_signal($signo, SIG_DFL, $restartSyscalls); + pcntl_sigprocmask(SIG_UNBLOCK, array($signo), $oldset); + posix_kill(posix_getpid(), $signo); + pcntl_signal_dispatch(); + pcntl_sigprocmask(SIG_SETMASK, $oldset); + pcntl_signal($signo, array($this, 'handleSignal'), $restartSyscalls); + } + } elseif (is_callable($this->previousSignalHandler[$signo])) { + if (PHP_VERSION_ID >= 70100) { + $this->previousSignalHandler[$signo]($signo, $siginfo); + } else { + $this->previousSignalHandler[$signo]($signo); + } + } + } +} diff --git a/inc/Dependencies/Monolog/Utils.php b/inc/Dependencies/Monolog/Utils.php new file mode 100644 index 0000000..2542e2e --- /dev/null +++ b/inc/Dependencies/Monolog/Utils.php @@ -0,0 +1,189 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace WP_Rocket\Dependencies\Monolog; + +class Utils +{ + /** + * @internal + */ + public static function getClass($object) + { + $class = \get_class($object); + + return 'c' === $class[0] && 0 === strpos($class, "class@anonymous\0") ? get_parent_class($class).'@anonymous' : $class; + } + + /** + * Makes sure if a relative path is passed in it is turned into an absolute path + * + * @param string $streamUrl stream URL or path without protocol + * + * @return string + */ + public static function canonicalizePath($streamUrl) + { + $prefix = ''; + if ('file://' === substr($streamUrl, 0, 7)) { + $streamUrl = substr($streamUrl, 7); + $prefix = 'file://'; + } + + // other type of stream, not supported + if (false !== strpos($streamUrl, '://')) { + return $streamUrl; + } + + // already absolute + if (substr($streamUrl, 0, 1) === '/' || substr($streamUrl, 1, 1) === ':' || substr($streamUrl, 0, 2) === '\\\\') { + return $prefix.$streamUrl; + } + + $streamUrl = getcwd() . '/' . $streamUrl; + + return $prefix.$streamUrl; + } + + /** + * Return the JSON representation of a value + * + * @param mixed $data + * @param int $encodeFlags flags to pass to json encode, defaults to JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE + * @param bool $ignoreErrors whether to ignore encoding errors or to throw on error, when ignored and the encoding fails, "null" is returned which is valid json for null + * @throws \RuntimeException if encoding fails and errors are not ignored + * @return string + */ + public static function jsonEncode($data, $encodeFlags = null, $ignoreErrors = false) + { + if (null === $encodeFlags && version_compare(PHP_VERSION, '5.4.0', '>=')) { + $encodeFlags = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; + } + + if ($ignoreErrors) { + $json = @json_encode($data, $encodeFlags); + if (false === $json) { + return 'null'; + } + + return $json; + } + + $json = json_encode($data, $encodeFlags); + if (false === $json) { + $json = self::handleJsonError(json_last_error(), $data); + } + + return $json; + } + + /** + * Handle a json_encode failure. + * + * If the failure is due to invalid string encoding, try to clean the + * input and encode again. If the second encoding attempt fails, the + * inital error is not encoding related or the input can't be cleaned then + * raise a descriptive exception. + * + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded + * @param int $encodeFlags flags to pass to json encode, defaults to JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE + * @throws \RuntimeException if failure can't be corrected + * @return string JSON encoded data after error correction + */ + public static function handleJsonError($code, $data, $encodeFlags = null) + { + if ($code !== JSON_ERROR_UTF8) { + self::throwEncodeError($code, $data); + } + + if (is_string($data)) { + self::detectAndCleanUtf8($data); + } elseif (is_array($data)) { + array_walk_recursive($data, array('WP_Rocket\Dependencies\Monolog\Utils', 'detectAndCleanUtf8')); + } else { + self::throwEncodeError($code, $data); + } + + if (null === $encodeFlags && version_compare(PHP_VERSION, '5.4.0', '>=')) { + $encodeFlags = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; + } + + $json = json_encode($data, $encodeFlags); + + if ($json === false) { + self::throwEncodeError(json_last_error(), $data); + } + + return $json; + } + + /** + * Throws an exception according to a given code with a customized message + * + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded + * @throws \RuntimeException + */ + private static function throwEncodeError($code, $data) + { + switch ($code) { + case JSON_ERROR_DEPTH: + $msg = 'Maximum stack depth exceeded'; + break; + case JSON_ERROR_STATE_MISMATCH: + $msg = 'Underflow or the modes mismatch'; + break; + case JSON_ERROR_CTRL_CHAR: + $msg = 'Unexpected control character found'; + break; + case JSON_ERROR_UTF8: + $msg = 'Malformed UTF-8 characters, possibly incorrectly encoded'; + break; + default: + $msg = 'Unknown error'; + } + + throw new \RuntimeException('JSON encoding failed: '.$msg.'. Encoding: '.var_export($data, true)); + } + + /** + * Detect invalid UTF-8 string characters and convert to valid UTF-8. + * + * Valid UTF-8 input will be left unmodified, but strings containing + * invalid UTF-8 codepoints will be reencoded as UTF-8 with an assumed + * original encoding of ISO-8859-15. This conversion may result in + * incorrect output if the actual encoding was not ISO-8859-15, but it + * will be clean UTF-8 output and will not rely on expensive and fragile + * detection algorithms. + * + * Function converts the input in place in the passed variable so that it + * can be used as a callback for array_walk_recursive. + * + * @param mixed $data Input to check and convert if needed, passed by ref + * @private + */ + public static function detectAndCleanUtf8(&$data) + { + if (is_string($data) && !preg_match('//u', $data)) { + $data = preg_replace_callback( + '/[\x80-\xFF]+/', + function ($m) { return utf8_encode($m[0]); }, + $data + ); + $data = str_replace( + array('¤', '¦', '¨', '´', '¸', '¼', '½', '¾'), + array('€', 'Š', 'š', 'Ž', 'ž', 'Œ', 'œ', 'Ÿ'), + $data + ); + } + } +} diff --git a/inc/Dependencies/PathConverter/Converter.php b/inc/Dependencies/PathConverter/Converter.php new file mode 100644 index 0000000..0b620ab --- /dev/null +++ b/inc/Dependencies/PathConverter/Converter.php @@ -0,0 +1,204 @@ + + * @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved + * @license MIT License + */ +class Converter implements ConverterInterface +{ + /** + * @var string + */ + protected $from; + + /** + * @var string + */ + protected $to; + + /** + * @param string $from The original base path (directory, not file!) + * @param string $to The new base path (directory, not file!) + * @param string $root Root directory (defaults to `getcwd`) + */ + public function __construct($from, $to, $root = '') + { + $shared = $this->shared($from, $to); + if ($shared === '') { + // when both paths have nothing in common, one of them is probably + // absolute while the other is relative + $root = $root ?: getcwd(); + $from = strpos($from, $root) === 0 ? $from : preg_replace('/\/+/', '/', $root.'/'.$from); + $to = strpos($to, $root) === 0 ? $to : preg_replace('/\/+/', '/', $root.'/'.$to); + + // or traveling the tree via `..` + // attempt to resolve path, or assume it's fine if it doesn't exist + $from = @realpath($from) ?: $from; + $to = @realpath($to) ?: $to; + } + + $from = $this->dirname($from); + $to = $this->dirname($to); + + $from = $this->normalize($from); + $to = $this->normalize($to); + + $this->from = $from; + $this->to = $to; + } + + /** + * Normalize path. + * + * @param string $path + * + * @return string + */ + protected function normalize($path) + { + // deal with different operating systems' directory structure + $path = rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $path), '/'); + + // remove leading current directory. + if (substr($path, 0, 2) === './') { + $path = substr($path, 2); + } + + // remove references to current directory in the path. + $path = str_replace('/./', '/', $path); + + /* + * Example: + * /home/forkcms/frontend/cache/compiled_templates/../../core/layout/css/../images/img.gif + * to + * /home/forkcms/frontend/core/layout/images/img.gif + */ + do { + $path = preg_replace('/[^\/]+(? $chunk) { + if (isset($path2[$i]) && $path1[$i] == $path2[$i]) { + $shared[] = $chunk; + } else { + break; + } + } + + return implode('/', $shared); + } + + /** + * Convert paths relative from 1 file to another. + * + * E.g. + * ../images/img.gif relative to /home/forkcms/frontend/core/layout/css + * should become: + * ../../core/layout/images/img.gif relative to + * /home/forkcms/frontend/cache/minified_css + * + * @param string $path The relative path that needs to be converted + * + * @return string The new relative path + */ + public function convert($path) + { + // quit early if conversion makes no sense + if ($this->from === $this->to) { + return $path; + } + + $path = $this->normalize($path); + // if we're not dealing with a relative path, just return absolute + if (strpos($path, '/') === 0) { + return $path; + } + + // normalize paths + $path = $this->normalize($this->from.'/'.$path); + + // strip shared ancestor paths + $shared = $this->shared($path, $this->to); + $path = mb_substr($path, mb_strlen($shared)); + $to = mb_substr($this->to, mb_strlen($shared)); + + // add .. for every directory that needs to be traversed to new path + $to = str_repeat('../', count(array_filter(explode('/', $to)))); + + return $to.ltrim($path, '/'); + } + + /** + * Attempt to get the directory name from a path. + * + * @param string $path + * + * @return string + */ + protected function dirname($path) + { + if (@is_file($path)) { + return dirname($path); + } + + if (@is_dir($path)) { + return rtrim($path, '/'); + } + + // no known file/dir, start making assumptions + + // ends in / = dir + if (mb_substr($path, -1) === '/') { + return rtrim($path, '/'); + } + + // has a dot in the name, likely a file + if (preg_match('/.*\..*$/', basename($path)) !== 0) { + return dirname($path); + } + + // you're on your own here! + return $path; + } +} diff --git a/inc/Dependencies/PathConverter/ConverterInterface.php b/inc/Dependencies/PathConverter/ConverterInterface.php new file mode 100644 index 0000000..53c2ee6 --- /dev/null +++ b/inc/Dependencies/PathConverter/ConverterInterface.php @@ -0,0 +1,24 @@ + + * @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved + * @license MIT License + */ +interface ConverterInterface +{ + /** + * Convert file paths. + * + * @param string $path The path to be converted + * + * @return string The new path + */ + public function convert($path); +} diff --git a/inc/Dependencies/PathConverter/NoConverter.php b/inc/Dependencies/PathConverter/NoConverter.php new file mode 100644 index 0000000..cba2292 --- /dev/null +++ b/inc/Dependencies/PathConverter/NoConverter.php @@ -0,0 +1,23 @@ + + * @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved + * @license MIT License + */ +class NoConverter implements ConverterInterface +{ + /** + * {@inheritdoc} + */ + public function convert($path) + { + return $path; + } +} diff --git a/inc/Dependencies/Psr/Container/ContainerExceptionInterface.php b/inc/Dependencies/Psr/Container/ContainerExceptionInterface.php new file mode 100644 index 0000000..ecf66a2 --- /dev/null +++ b/inc/Dependencies/Psr/Container/ContainerExceptionInterface.php @@ -0,0 +1,13 @@ +log(LogLevel::EMERGENCY, $message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function alert($message, array $context = array()) + { + $this->log(LogLevel::ALERT, $message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function critical($message, array $context = array()) + { + $this->log(LogLevel::CRITICAL, $message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function error($message, array $context = array()) + { + $this->log(LogLevel::ERROR, $message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function warning($message, array $context = array()) + { + $this->log(LogLevel::WARNING, $message, $context); + } + + /** + * Normal but significant events. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function notice($message, array $context = array()) + { + $this->log(LogLevel::NOTICE, $message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function info($message, array $context = array()) + { + $this->log(LogLevel::INFO, $message, $context); + } + + /** + * Detailed debug information. + * + * @param string $message + * @param mixed[] $context + * + * @return void + */ + public function debug($message, array $context = array()) + { + $this->log(LogLevel::DEBUG, $message, $context); + } +} diff --git a/inc/Dependencies/Psr/Log/InvalidArgumentException.php b/inc/Dependencies/Psr/Log/InvalidArgumentException.php new file mode 100644 index 0000000..559e424 --- /dev/null +++ b/inc/Dependencies/Psr/Log/InvalidArgumentException.php @@ -0,0 +1,7 @@ +logger = $logger; + } +} diff --git a/inc/Dependencies/Psr/Log/LoggerInterface.php b/inc/Dependencies/Psr/Log/LoggerInterface.php new file mode 100644 index 0000000..f150312 --- /dev/null +++ b/inc/Dependencies/Psr/Log/LoggerInterface.php @@ -0,0 +1,125 @@ +log(LogLevel::EMERGENCY, $message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function alert($message, array $context = array()) + { + $this->log(LogLevel::ALERT, $message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function critical($message, array $context = array()) + { + $this->log(LogLevel::CRITICAL, $message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function error($message, array $context = array()) + { + $this->log(LogLevel::ERROR, $message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function warning($message, array $context = array()) + { + $this->log(LogLevel::WARNING, $message, $context); + } + + /** + * Normal but significant events. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function notice($message, array $context = array()) + { + $this->log(LogLevel::NOTICE, $message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function info($message, array $context = array()) + { + $this->log(LogLevel::INFO, $message, $context); + } + + /** + * Detailed debug information. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function debug($message, array $context = array()) + { + $this->log(LogLevel::DEBUG, $message, $context); + } + + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string $message + * @param array $context + * + * @return void + * + * @throws \WP_Rocket\Dependencies\Psr\Log\InvalidArgumentException + */ + abstract public function log($level, $message, array $context = array()); +} diff --git a/inc/Dependencies/Psr/Log/NullLogger.php b/inc/Dependencies/Psr/Log/NullLogger.php new file mode 100644 index 0000000..bdea7eb --- /dev/null +++ b/inc/Dependencies/Psr/Log/NullLogger.php @@ -0,0 +1,30 @@ +logger) { }` + * blocks. + */ +class NullLogger extends AbstractLogger +{ + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string $message + * @param array $context + * + * @return void + * + * @throws \WP_Rocket\Dependencies\Psr\Log\InvalidArgumentException + */ + public function log($level, $message, array $context = array()) + { + // noop + } +} diff --git a/inc/Dependencies/Psr/SimpleCache/CacheException.php b/inc/Dependencies/Psr/SimpleCache/CacheException.php new file mode 100644 index 0000000..b9998ab --- /dev/null +++ b/inc/Dependencies/Psr/SimpleCache/CacheException.php @@ -0,0 +1,10 @@ + value pairs. Cache keys that do not exist or are stale will have $default as value. + * + */ + public function getMultiple($keys, $default = null); + + /** + * Persists a set of key => value pairs in the cache, with an optional TTL. + * + * @param iterable $values A list of key => value pairs for a multiple-set operation. + * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and + * the driver supports TTL then the library may set a default value + * for it or let the driver take care of that. + * + * @return bool True on success and false on failure. + * + */ + public function setMultiple($values, $ttl = null); + + /** + * Deletes multiple cache items in a single operation. + * + * @param iterable $keys A list of string-based keys to be deleted. + * + * @return bool True if the items were successfully removed. False if there was an error. + * + */ + public function deleteMultiple($keys); + + /** + * Determines whether an item is present in the cache. + * + * NOTE: It is recommended that has() is only to be used for cache warming type purposes + * and not to be used within your live applications operations for get/set, as this method + * is subject to a race condition where your has() will return true and immediately after, + * another script can remove it making the state of your app out of date. + * + * @param string $key The cache item key. + * + * @return bool + * + */ + public function has($key); +} diff --git a/inc/Dependencies/Psr/SimpleCache/InvalidArgumentException.php b/inc/Dependencies/Psr/SimpleCache/InvalidArgumentException.php new file mode 100644 index 0000000..f42d29b --- /dev/null +++ b/inc/Dependencies/Psr/SimpleCache/InvalidArgumentException.php @@ -0,0 +1,13 @@ +getLazyloadScript( $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Gets the inline lazyload script configuration + * + * @param array $args Array of arguments to populate the lazyload script options. + * @return string + */ + public function getInlineLazyloadScript( $args = [] ) { + $defaults = [ + 'elements' => [ + 'iframe', + ], + 'threshold' => 300, + 'options' => [], + ]; + + $allowed_options = [ + 'container' => 1, + 'thresholds' => 1, + 'data_bg' => 1, + 'data_bg_hidpi' => 1, + 'data_bg_multi' => 1, + 'data_bg_multi_hidpi' => 1, + 'data_poster' => 1, + 'class_applied' => 1, + 'class_error' => 1, + 'class_entered' => 1, + 'class_exited' => 1, + 'cancel_on_exit' => 1, + 'unobserve_entered' => 1, + 'unobserve_completed' => 1, + 'callback_enter' => 1, + 'callback_exit' => 1, + 'callback_loading' => 1, + 'callback_cancel' => 1, + 'callback_loaded' => 1, + 'callback_error' => 1, + 'callback_applied' => 1, + 'callback_finish' => 1, + 'use_native' => 1, + ]; + + $args = wp_parse_args( $args, $defaults ); + $script = ''; + + $args['options'] = array_intersect_key( $args['options'], $allowed_options ); + $script .= 'window.lazyLoadOptions = '; + + if ( isset( $args['elements']['background_image'] ) ) { + $script .= '['; + } + + $script .= '{ + elements_selector: "' . esc_attr( implode( ',', $args['elements'] ) ) . '", + data_src: "lazy-src", + data_srcset: "lazy-srcset", + data_sizes: "lazy-sizes", + class_loading: "lazyloading", + class_loaded: "lazyloaded", + threshold: ' . esc_attr( $args['threshold'] ) . ', + callback_loaded: function(element) { + if ( element.tagName === "IFRAME" && element.dataset.rocketLazyload == "fitvidscompatible" ) { + if (element.classList.contains("lazyloaded") ) { + if (typeof window.jQuery != "undefined") { + if (jQuery.fn.fitVids) { + jQuery(element).parent().fitVids(); + } + } + } + } + }'; + + if ( ! empty( $args['options'] ) ) { + $script .= ',' . PHP_EOL; + + foreach ( $args['options'] as $option => $value ) { + $script .= $option . ': ' . $value . ','; + } + + $script = rtrim( $script, ',' ); + } + + if ( isset( $args['elements']['background_image'] ) ) { + $script .= '},{ + elements_selector: "' . esc_attr( $args['elements']['background_image'] ) . '", + data_src: "lazy-src", + data_srcset: "lazy-srcset", + data_sizes: "lazy-sizes", + class_loading: "lazyloading", + class_loaded: "lazyloaded", + threshold: ' . esc_attr( $args['threshold'] ) . ', + }];'; + } else { + $script .= '};'; + } + + $script .= ' + window.addEventListener(\'LazyLoad::Initialized\', function (e) { + var lazyLoadInstance = e.detail.instance; + + if (window.MutationObserver) { + var observer = new MutationObserver(function(mutations) { + var image_count = 0; + var iframe_count = 0; + var rocketlazy_count = 0; + + mutations.forEach(function(mutation) { + for (var i = 0; i < mutation.addedNodes.length; i++) { + if (typeof mutation.addedNodes[i].getElementsByTagName !== \'function\') { + continue; + } + + if (typeof mutation.addedNodes[i].getElementsByClassName !== \'function\') { + continue; + } + + images = mutation.addedNodes[i].getElementsByTagName(\'img\'); + is_image = mutation.addedNodes[i].tagName == "IMG"; + iframes = mutation.addedNodes[i].getElementsByTagName(\'iframe\'); + is_iframe = mutation.addedNodes[i].tagName == "IFRAME"; + rocket_lazy = mutation.addedNodes[i].getElementsByClassName(\'rocket-lazyload\'); + + image_count += images.length; + iframe_count += iframes.length; + rocketlazy_count += rocket_lazy.length; + + if(is_image){ + image_count += 1; + } + + if(is_iframe){ + iframe_count += 1; + } + } + } ); + + if(image_count > 0 || iframe_count > 0 || rocketlazy_count > 0){ + lazyLoadInstance.update(); + } + } ); + + var b = document.getElementsByTagName("body")[0]; + var config = { childList: true, subtree: true }; + + observer.observe(b, config); + } + }, false);'; + + return $script; + } + + /** + * Returns the lazyload inline script + * + * @param array $args Array of arguments to populate the lazyload script options. + * @return string + */ + public function getLazyloadScript( $args = [] ) { + $defaults = [ + 'base_url' => '', + 'version' => '', + ]; + + $args = wp_parse_args( $args, $defaults ); + $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; + + /** + * Filters the script tag for the lazyload script + * + * @since 2.2.6 + * + * @param $script_tag HTML tag for the lazyload script. + */ + return apply_filters( 'rocket_lazyload_script_tag', '' ); // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript + } + + /** + * Inserts in the HTML the script to replace the Youtube thumbnail by the iframe. + * + * @param array $args Array of arguments to populate the script options. + * @return void + */ + public function insertYoutubeThumbnailScript( $args = [] ) { + echo $this->getYoutubeThumbnailScript( $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Returns the Youtube Thumbnail inline script + * + * @param array $args Array of arguments to populate the script options. + * @return string + */ + public function getYoutubeThumbnailScript( $args = [] ) { + $defaults = [ + 'resolution' => 'hqdefault', + 'lazy_image' => false, + 'native' => true, + 'extension' => 'jpg', + ]; + + $allowed_resolutions = [ + 'default' => [ + 'width' => 120, + 'height' => 90, + ], + 'mqdefault' => [ + 'width' => 320, + 'height' => 180, + ], + 'hqdefault' => [ + 'width' => 480, + 'height' => 360, + ], + 'sddefault' => [ + 'width' => 640, + 'height' => 480, + ], + + 'maxresdefault' => [ + 'width' => 1280, + 'height' => 720, + ], + ]; + + $args['resolution'] = ( isset( $args['resolution'] ) && isset( $allowed_resolutions[ $args['resolution'] ] ) ) ? $args['resolution'] : 'hqdefault'; + + $args = wp_parse_args( $args, $defaults ); + + $extension_uri = 'webp' === $args['extension'] ? 'vi_webp' : 'vi'; + + $image_url = 'https://i.ytimg.com/' . $extension_uri . '/ID/' . $args['resolution'] . '.' . $args['extension']; + + $image = ''; + + if ( isset( $args['lazy_image'] ) && $args['lazy_image'] ) { + $attributes = 'alt="" width="' . $allowed_resolutions[ $args['resolution'] ]['width'] . '" height="' . $allowed_resolutions[ $args['resolution'] ]['height'] . '"'; + + $image = ''; + + if ( $args['native'] ) { + $image = ''; + } + } + + return ""; + } + + /** + * Inserts the CSS to style the Youtube thumbnail container + * + * @param array $args Array of arguments to populate the CSS. + * @return void + */ + public function insertYoutubeThumbnailCSS( $args = [] ) { + wp_register_style( 'rocket-lazyload', false ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion + wp_enqueue_style( 'rocket-lazyload' ); + wp_add_inline_style( 'rocket-lazyload', $this->getYoutubeThumbnailCSS( $args ) ); + } + + /** + * Returns the CSS for the Youtube Thumbnail + * + * @param array $args Array of arguments to populate the CSS. + * @return string + */ + public function getYoutubeThumbnailCSS( $args = [] ) { + $defaults = [ + 'base_url' => '', + 'responsive_embeds' => true, + ]; + + $args = wp_parse_args( $args, $defaults ); + + $css = '.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%;}.rll-youtube-player:focus-within{outline: 2px solid currentColor;outline-offset: 5px;}.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;-webkit-transition:.4s all;-moz-transition:.4s all;transition:.4s all}.rll-youtube-player img:hover{-webkit-filter:brightness(75%)}.rll-youtube-player .play{height:100%;width:100%;left:0;top:0;position:absolute;background:url(' . $args['base_url'] . 'img/youtube.png) no-repeat center;background-color: transparent !important;cursor:pointer;border:none;}'; + + if ( $args['responsive_embeds'] ) { + $css .= '.wp-embed-responsive .wp-has-aspect-ratio .rll-youtube-player{position:absolute;padding-bottom:0;width:100%;height:100%;top:0;bottom:0;left:0;right:0}'; + } + + return $css; + } + + /** + * Inserts the CSS needed when Javascript is not enabled to keep the display correct + */ + public function insertNoJSCSS() { + echo $this->getNoJSCSS(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Returns the CSS to correctly display images when JavaScript is disabled + * + * @return string + */ + public function getNoJSCSS() { + return ''; + } +} diff --git a/inc/Dependencies/RocketLazyload/Iframe.php b/inc/Dependencies/RocketLazyload/Iframe.php new file mode 100644 index 0000000..d5143f3 --- /dev/null +++ b/inc/Dependencies/RocketLazyload/Iframe.php @@ -0,0 +1,237 @@ + false, + ]; + + $args = wp_parse_args( $args, $defaults ); + + if ( ! preg_match_all( '@\s.+)>.*@iUs', $buffer, $iframes, PREG_SET_ORDER ) ) { + return $html; + } + + $iframes = array_unique( $iframes, SORT_REGULAR ); + + foreach ( $iframes as $iframe ) { + if ( $this->isIframeExcluded( $iframe ) ) { + continue; + } + + // Given the previous regex pattern, $iframe['atts'] starts with a whitespace character. + if ( ! preg_match( '@\ssrc\s*=\s*(\'|")(?.*)\1@iUs', $iframe['atts'], $atts ) ) { + continue; + } + + $iframe['src'] = trim( $atts['src'] ); + + if ( '' === $iframe['src'] ) { + continue; + } + + if ( $args['youtube'] ) { + $iframe_lazyload = $this->replaceYoutubeThumbnail( $iframe ); + } + + if ( empty( $iframe_lazyload ) ) { + $iframe_lazyload = $this->replaceIframe( $iframe ); + } + + $html = str_replace( $iframe[0], $iframe_lazyload, $html ); + + unset( $iframe_lazyload ); + } + + return $html; + } + + /** + * Checks if the provided iframe is excluded from lazyload + * + * @param array $iframe Array of matched patterns. + * @return boolean + */ + public function isIframeExcluded( $iframe ) { + + foreach ( $this->getExcludedPatterns() as $excluded_pattern ) { + if ( strpos( $iframe[0], $excluded_pattern ) !== false ) { + return true; + } + } + + return false; + } + + /** + * Gets patterns excluded from lazyload for iframes + * + * @since 2.1.1 + * + * @return array + */ + private function getExcludedPatterns() { + /** + * Filters the patterns excluded from lazyload for iframes + * + * @since 2.1.1 + * + * @param array $excluded_patterns Array of excluded patterns. + */ + return apply_filters( + 'rocket_lazyload_iframe_excluded_patterns', + [ + 'gform_ajax_frame', + 'data-no-lazy=', + 'recaptcha/api/fallback', + 'loading="eager"', + 'data-skip-lazy', + 'skip-lazy', + 'google_ads_iframe_', + ] + ); + } + + /** + * Applies lazyload on the iframe provided + * + * @param array $iframe Array of matched elements. + * @return string + */ + private function replaceIframe( $iframe ) { + /** + * Filter the LazyLoad placeholder on src attribute + * + * @since 1.0 + * + * @param string $placeholder placeholder that will be printed. + */ + $placeholder = apply_filters( 'rocket_lazyload_placeholder', 'about:blank' ); + + $placeholder_atts = str_replace( $iframe['src'], $placeholder, $iframe['atts'] ); + $iframe_lazyload = str_replace( $iframe['atts'], $placeholder_atts . ' data-rocket-lazyload="fitvidscompatible" data-lazy-src="' . esc_url( $iframe['src'] ) . '"', $iframe[0] ); + + if ( ! preg_match( '@\sloading\s*=\s*(\'|")(?:lazy|auto)\1@i', $iframe_lazyload ) ) { + $iframe_lazyload = str_replace( ''; + + return $iframe_lazyload; + } + + /** + * Replaces the iframe provided by the Youtube thumbnail + * + * @param array $iframe Array of matched elements. + * @return bool|string + */ + private function replaceYoutubeThumbnail( $iframe ) { + $youtube_id = $this->getYoutubeIDFromURL( $iframe['src'] ); + + if ( ! $youtube_id ) { + return false; + } + + $query = wp_parse_url( htmlspecialchars_decode( $iframe['src'] ), PHP_URL_QUERY ); + + $youtube_url = $this->changeYoutubeUrlForYoutuDotBe( $iframe['src'] ); + $youtube_url = $this->cleanYoutubeUrl( $iframe['src'] ); + + preg_match( '@\s*title\s*=\s*(\'|")(?.*)\1@iUs', $iframe['atts'], $atts ); + + $title = $atts['title'] ?? ''; + /** + * Filter the LazyLoad HTML output on Youtube iframes + * + * @since 2.11 + * + * @param array $html Output that will be printed. + */ + $youtube_lazyload = apply_filters( 'rocket_lazyload_youtube_html', '<div class="rll-youtube-player" data-src="' . esc_attr( $youtube_url ) . '" data-id="' . esc_attr( $youtube_id ) . '" data-query="' . esc_attr( $query ) . '" data-alt="' . esc_attr( $title ) . '"></div>' ); + $youtube_lazyload .= '<noscript>' . $iframe[0] . '</noscript>'; + + return $youtube_lazyload; + } + + /** + * Gets the Youtube ID from the URL provided + * + * @param string $url URL to search. + * @return bool|string + */ + public function getYoutubeIDFromURL( $url ) { + $pattern = '#^(?:https?:)?(?://)?(?:www\.)?(?:youtu\.be|youtube\.com|youtube-nocookie\.com)/(?:embed/|v/|watch/?\?v=)?([\w-]{11})#iU'; + $result = preg_match( $pattern, $url, $matches ); + + if ( ! $result ) { + return false; + } + + // exclude playlist. + if ( 'videoseries' === $matches[1] ) { + return false; + } + + return $matches[1]; + } + + /** + * Changes URL youtu.be/ID to youtube.com/embed/ID + * + * @param string $url URL to replace. + * @return string Unchanged URL or modified URL. + */ + public function changeYoutubeUrlForYoutuDotBe( $url ) { + $pattern = '#^(?:https?:)?(?://)?(?:www\.)?(?:youtu\.be)/(?:embed/|v/|watch/?\?v=)?([\w-]{11})#iU'; + $result = preg_match( $pattern, $url, $matches ); + + if ( ! $result ) { + return $url; + } + + return 'https://www.youtube.com/embed/' . $matches[1]; + } + + /** + * Cleans Youtube URL. Keeps only scheme, host and path. + * + * @param string $url URL to be cleaned. + * @return string Cleaned URL + */ + public function cleanYoutubeUrl( $url ) { + $parsed_url = wp_parse_url( $url, -1 ); + $scheme = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '//'; + $host = isset( $parsed_url['host'] ) ? $parsed_url['host'] : ''; + $path = isset( $parsed_url['path'] ) ? $parsed_url['path'] : ''; + + return $scheme . $host . $path; + } +} diff --git a/inc/Dependencies/RocketLazyload/Image.php b/inc/Dependencies/RocketLazyload/Image.php new file mode 100644 index 0000000..9ff6061 --- /dev/null +++ b/inc/Dependencies/RocketLazyload/Image.php @@ -0,0 +1,651 @@ +<?php +declare(strict_types=1); + +/** + * Handles lazyloading of images + * + * @package WP_Rocket\Dependencies\RocketLazyload + */ + +namespace WP_Rocket\Dependencies\RocketLazyload; + +/** + * A class to provide the methods needed to lazyload images in WP Rocket and Lazyload by WP Rocket + */ +class Image { + + /** + * Finds the images to be lazyloaded and call the callback method to replace them. + * + * @param string $html Original HTML. + * @param string $buffer Content to parse. + * @param bool $use_native Use native lazyload. + * @return string + */ + public function lazyloadImages( $html, $buffer, $use_native = true ) { + if ( ! preg_match_all( '#<img(?<atts>\s.+)\s?/?>#iUs', $buffer, $images, PREG_SET_ORDER ) ) { + return $html; + } + + $images = array_unique( $images, SORT_REGULAR ); + + foreach ( $images as $image ) { + $image = $this->canLazyload( $image ); + + if ( ! $image ) { + continue; + } + + $image_lazyload = $this->replaceImage( $image, $use_native ); + + if ( ! $use_native ) { + $image_lazyload .= $this->noscript( $image[0] ); + } + + $html = str_replace( $image[0], $image_lazyload, $html ); + + unset( $image_lazyload ); + } + + return $html; + } + + /** + * Applies lazyload on background images defined in style attributes + * + * @param string $html Original HTML. + * @param string $buffer Content to parse. + * @return string + */ + public function lazyloadBackgroundImages( $html, $buffer ) { + if ( ! preg_match_all( '#<(?<tag>div|figure|section|span|li|a)\s+(?<before>[^>]+[\'"\s])?style\s*=\s*([\'"])(?<styles>.*?)\3(?<after>[^>]*)>#is', $buffer, $elements, PREG_SET_ORDER ) ) { + return $html; + } + + foreach ( $elements as $element ) { + if ( $this->isExcluded( $element['before'] . $element['after'], $this->getExcludedAttributes() ) ) { + continue; + } + + /** + * Regex to detect bg images inside CSS. + * + * @param string $regex regex to detect. + * @return string + */ + $regex = apply_filters( 'rocket_lazyload_bg_images_regex', 'background-image\s*:\s*(?<attr>\s*url\s*\((?<url>[^)]+)\))\s*;?' ); + + if ( @preg_match( "#$regex#is", '' ) === false ) {// phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + $regex = 'background-image\s*:\s*(?<attr>\s*url\s*\((?<url>[^)]+)\))\s*;?'; + } + + if ( ! preg_match( "#$regex#is", $element['styles'], $url ) ) { + continue; + } + + if ( preg_match( '#data:image#is', $url['url'], $img ) ) { + continue; + } + $url['url'] = esc_url( + trim( + wp_strip_all_tags( + html_entity_decode( + $url['url'], + ENT_QUOTES | ENT_HTML5 + ) + ), + '\'" ' + ) + ); + + if ( $this->isExcluded( $url['url'], $this->getExcludedSrc() ) ) { + continue; + } + + $lazy_bg = $this->addLazyCLass( $element[0] ); + $lazy_bg = str_replace( $url[0], '', $lazy_bg ); + $lazy_bg = str_replace( '<' . $element['tag'], '<' . $element['tag'] . ' data-bg="' . esc_attr( $url['url'] ) . '"', $lazy_bg ); + + $html = str_replace( $element[0], $lazy_bg, $html ); + unset( $lazy_bg ); + } + + return $html; + } + + /** + * Add the identifier class to the element + * + * @param string $element Element to add the class to. + * @return string + */ + private function addLazyClass( $element ) { + $class = $this->getClasses( $element ); + if ( empty( $class ) ) { + return preg_replace( '#<(img|div|figure|section|li|span|a)([^>]*)>#is', '<\1 class="rocket-lazyload"\2>', $element ); + } + + if ( empty( $class['attribute'] ) || empty( $class['classes'] ) ) { + return str_replace( $class['attribute'], 'class="rocket-lazyload"', $element ); + } + + $quotes = $this->getAttributeQuotes( $class['classes'] ); + $classes = $this->trimOuterQuotes( $class['classes'], $quotes ); + + if ( empty( $classes ) ) { + return str_replace( $class['attribute'], 'class="rocket-lazyload"', $element ); + } + + $classes .= ' rocket-lazyload'; + + return str_replace( + $class['attribute'], + 'class=' . $this->normalizeClasses( $classes, $quotes ), + $element + ); + } + + /** + * Gets the attribute value's outer quotation mark, if one exists, i.e. " or '. + * + * @param string $attribute_value The target attribute's value. + * + * @return bool|string quotation character; else false when no quotation mark. + */ + private function getAttributeQuotes( $attribute_value ) { + $attribute_value = trim( $attribute_value ); + $first_char = $attribute_value[0]; + + if ( '"' === $first_char || "'" === $first_char ) { + return $first_char; + } + + return false; + } + + /** + * Gets the class attribute and values from the given element, if it exists. + * + * @param string $element Given HTML element to extract classes from. + * + * @return bool|string[] { + * @type string $attribute Class attribute and value, e.g. class="value" + * @type string $classes String of class attribute's value(s) + * }; else, false when no class attribute exists. + */ + private function getClasses( $element ) { + if ( ! preg_match( '#class\s*=\s*(?<classes>["\'].*?["\']|[^\s]+)#is', $element, $class ) ) { + return false; + } + + if ( empty( $class ) ) { + return false; + } + + if ( ! isset( $class['classes'] ) ) { + return false; + } + + return [ + 'attribute' => $class[0], + 'classes' => $class['classes'], + ]; + } + + /** + * Removes outer single or double quotations. + * + * @param string $string String to strip quotes from. + * @param string $quotes The outer quotes to remove. + * + * @return string string without quotes. + */ + private function trimOuterQuotes( $string, $quotes ) { + $string = trim( $string ); + if ( empty( $string ) ) { + return ''; + } + + if ( empty( $quotes ) ) { + return $string; + } + + $string = ltrim( $string, $quotes ); + $string = rtrim( $string, $quotes ); + return trim( $string ); + } + + /** + * Normalizes the class attribute values to ensure well-formed. + * + * @param string $classes String of class attribute value(s). + * @param string|bool $quotes Optional. Quotation mark to wrap around the classes. + * + * @return string well-formed class attributes. + */ + private function normalizeClasses( $classes, $quotes = '"' ) { + $array_of_classes = $this->stringToArray( $classes ); + $classes = implode( ' ', $array_of_classes ); + + if ( false === $quotes ) { + $quotes = '"'; + } + + return $quotes . $classes . $quotes; + } + + /** + * Converts the given string into an array of strings. + * + * Note: + * 1. Removes empties. + * 2. Trims each string. + * + * @param string $string The target string to convert. + * @param string $delimiter Optional. Default: ' ' empty string. + * + * @return array An array of trimmed strings. + */ + private function stringToArray( $string, $delimiter = ' ' ) { + if ( empty( $string ) ) { + return []; + } + + $array = explode( $delimiter, $string ); + $array = array_map( 'trim', $array ); + + // Remove empties. + return array_filter( $array ); + } + + /** + * Applies lazyload on picture elements found in the HTML. + * + * @param string $html Original HTML. + * @param string $buffer Content to parse. + * @return string + */ + public function lazyloadPictures( $html, $buffer ) { + if ( ! preg_match_all( '#<picture(?:.*)?>(?<sources>.*)</picture>#iUs', $buffer, $pictures, PREG_SET_ORDER ) ) { + return $html; + } + + $pictures = array_unique( $pictures, SORT_REGULAR ); + $excluded = array_merge( $this->getExcludedAttributes(), $this->getExcludedSrc() ); + + foreach ( $pictures as $picture ) { + if ( $this->isExcluded( $picture[0], $excluded ) ) { + if ( ! preg_match( '#<img(?<atts>\s.+)\s?/?>#iUs', $picture[0], $img ) ) { + continue; + } + + $img = $this->canLazyload( $img ); + + if ( ! $img ) { + continue; + } + + $nolazy_picture = str_replace( '<img', '<img data-no-lazy=""', $picture[0] ); + $html = str_replace( $picture[0], $nolazy_picture, $html ); + + continue; + } + + if ( preg_match_all( '#<source(?<atts>\s.+)>#iUs', $picture['sources'], $sources, PREG_SET_ORDER ) ) { + $lazy_sources = 0; + $sources = array_unique( $sources, SORT_REGULAR ); + $lazy_picture = $picture[0]; + + foreach ( $sources as $source ) { + $lazyload_srcset = preg_replace( '/([\s"\'])srcset/i', '\1data-lazy-srcset', $source[0] ); + $lazy_picture = str_replace( $source[0], $lazyload_srcset, $lazy_picture ); + + unset( $lazyload_srcset ); + $lazy_sources++; + } + + if ( 0 === $lazy_sources ) { + continue; + } + + $html = str_replace( $picture[0], $lazy_picture, $html ); + } + + if ( ! preg_match( '#<img(?<atts>\s.+)\s?/?>#iUs', $picture[0], $img ) ) { + continue; + } + + $img = $this->canLazyload( $img ); + + if ( ! $img ) { + continue; + } + + $img_lazy = $this->replaceImage( $img, false ); + $img_lazy .= $this->noscript( $img[0] ); + $safe_img = str_replace( '/', '\/', preg_quote( $img[0], '#' ) ); + $html = preg_replace( '#<noscript[^>]*>.*' . $safe_img . '.*<\/noscript>(*SKIP)(*FAIL)|' . $safe_img . '#i', $img_lazy, $html ); + + unset( $img_lazy ); + } + + return $html; + } + + /** + * Checks if the image can be lazyloaded + * + * @param Array $image Array of image data coming from Regex. + * @return bool|Array + */ + private function canLazyload( $image ) { + if ( $this->isExcluded( $image['atts'], $this->getExcludedAttributes() ) ) { + return false; + } + + // Given the previous regex pattern, $image['atts'] starts with a whitespace character. + if ( ! preg_match( '@\ssrc\s*=\s*(\'|")(?<src>.*)\1@iUs', $image['atts'], $atts ) ) { + return false; + } + + $image['src'] = trim( $atts['src'] ); + + if ( '' === $image['src'] ) { + return false; + } + + if ( $this->isExcluded( $image['src'], $this->getExcludedSrc() ) ) { + return false; + } + + return $image; + } + + /** + * Checks if the provided string matches with the provided excluded patterns + * + * @param string $string String to check. + * @param array $excluded_values Patterns to match against. + * @return boolean + */ + public function isExcluded( $string, $excluded_values ) { + if ( ! is_array( $excluded_values ) ) { + $excluded_values = (array) $excluded_values; + } + + if ( empty( $excluded_values ) ) { + return false; + } + + foreach ( $excluded_values as $excluded_value ) { + if ( strpos( $string, $excluded_value ) !== false ) { + return true; + } + } + + return false; + } + + /** + * Returns the list of excluded attributes + * + * @return array + */ + public function getExcludedAttributes() { + /** + * Filters the attributes used to prevent lazylad from being applied + * + * @since 1.0 + * + * @param array $excluded_attributes An array of excluded attributes. + */ + return apply_filters( + 'rocket_lazyload_excluded_attributes', + [ + 'data-src=', + 'data-no-lazy=', + 'data-lazy-original=', + 'data-lazy-src=', + 'data-lazysrc=', + 'data-lazyload=', + 'data-bgposition=', + 'data-envira-src=', + 'fullurl=', + 'lazy-slider-img=', + 'data-srcset=', + 'class="ls-l', + 'class="ls-bg', + 'soliloquy-image', + 'loading="eager"', + 'swatch-img', + 'data-height-percentage', + 'data-large_image', + 'avia-bg-style-fixed', + 'data-skip-lazy', + 'skip-lazy', + 'image-compare__', + ] + ); + } + + /** + * Returns the list of excluded src + * + * @return array + */ + public function getExcludedSrc() { + /** + * Filters the src used to prevent lazylad from being applied + * + * @since 1.0 + * + * @param array $excluded_src An array of excluded src. + */ + return apply_filters( + 'rocket_lazyload_excluded_src', + [ + '/wpcf7_captcha/', + 'timthumb.php?src', + 'woocommerce/assets/images/placeholder.png', + ] + ); + } + + /** + * Replaces the original image by the lazyload one + * + * @param array $image Array of matches elements. + * @param bool $use_native Use native lazyload. + * + * @return string + */ + private function replaceImage( $image, $use_native = true ) { + if ( empty( $image ) ) { + return ''; + } + + $native_pattern = '@\sloading\s*=\s*(\'|")(?:lazy|auto)\1@i'; + $image_lazyload = $image[0]; + + if ( $use_native ) { + if ( preg_match( $native_pattern, $image[0] ) ) { + return $image[0]; + } + + $image_lazyload = str_replace( '<img', '<img loading="lazy"', $image_lazyload ); + } else { + $width = 0; + $height = 0; + + if ( preg_match( '@[\s"\']width\s*=\s*(\'|")(?<width>.*)\1@iUs', $image['atts'], $atts ) ) { + $width = absint( $atts['width'] ); + } + + if ( preg_match( '@[\s"\']height\s*=\s*(\'|")(?<height>.*)\1@iUs', $image['atts'], $atts ) ) { + $height = absint( $atts['height'] ); + } + + $placeholder_atts = preg_replace( '@\ssrc\s*=\s*(\'|")(?<src>.*)\1@iUs', ' src="' . $this->getPlaceholder( $width, $height ) . '"', $image['atts'] ); + + $image_lazyload = str_replace( $image['atts'], $placeholder_atts . ' data-lazy-src="' . $image['src'] . '"', $image_lazyload ); + + if ( preg_match( $native_pattern, $image_lazyload ) ) { + $image_lazyload = preg_replace( $native_pattern, '', $image_lazyload ); + } + } + + /** + * Filter the LazyLoad HTML output + * + * @since 1.0 + * + * @param string $html Output that will be printed + */ + $image_lazyload = apply_filters( 'rocket_lazyload_html', $image_lazyload ); + + return $image_lazyload; + } + + /** + * Returns the HTML tag wrapped inside noscript tags + * + * @param string $element Element to wrap. + * @return string + */ + private function noscript( $element ) { + return '<noscript>' . $element . '</noscript>'; + } + + /** + * Applies lazyload on srcset and sizes attributes + * + * @param string $html HTML image tag. + * @return string + */ + public function lazyloadResponsiveAttributes( $html ) { + $html = preg_replace( '/[\s|"|\'](srcset)\s*=\s*("|\')([^"|\']+)\2/i', ' data-lazy-$1=$2$3$2', $html ); + $html = preg_replace( '/[\s|"|\'](sizes)\s*=\s*("|\')([^"|\']+)\2/i', ' data-lazy-$1=$2$3$2', $html ); + + return $html; + } + + /** + * Finds patterns matching smiley and call the callback method to replace them with the image + * + * @param string $text Content to search in. + * @return string + */ + public function convertSmilies( $text ) { + global $wp_smiliessearch; + + if ( empty( $text ) || ! is_string( $text ) ) { + return $text; + } + + if ( ! get_option( 'use_smilies' ) || empty( $wp_smiliessearch ) ) { + return $text; + } + + $output = ''; + // HTML loop taken from texturize function, could possible be consolidated. + $textarr = preg_split( '/(<.*>)/U', $text, -1, PREG_SPLIT_DELIM_CAPTURE ); // capture the tags as well as in between. + $stop = count( $textarr );// loop stuff. + + // Ignore proessing of specific tags. + $tags_to_ignore = 'code|pre|style|script|textarea'; + $ignore_block_element = ''; + + for ( $i = 0; $i < $stop; $i++ ) { + $content = $textarr[ $i ]; + + // If we're in an ignore block, wait until we find its closing tag. + if ( '' === $ignore_block_element && preg_match( '/^<(' . $tags_to_ignore . ')>/', $content, $matches ) ) { + $ignore_block_element = $matches[1]; + } + + // If it's not a tag and not in ignore block. + if ( '' === $ignore_block_element && strlen( $content ) > 0 && '<' !== $content[0] ) { + $content = preg_replace_callback( $wp_smiliessearch, [ $this, 'translateSmiley' ], $content ); + } + + // did we exit ignore block. + if ( '' !== $ignore_block_element && '</' . $ignore_block_element . '>' === $content ) { + $ignore_block_element = ''; + } + + $output .= $content; + } + + return $output; + } + + /** + * Replace matches by smiley image, lazyloaded + * + * @param array $matches Array of matches. + * @return string + */ + private function translateSmiley( $matches ) { + global $wpsmiliestrans; + + if ( count( $matches ) === 0 ) { + return ''; + } + + $smiley = trim( reset( $matches ) ); + $img = $wpsmiliestrans[ $smiley ]; + + $matches = []; + $ext = preg_match( '/\.([^.]+)$/', $img, $matches ) ? strtolower( $matches[1] ) : false; + $image_exts = [ 'jpg', 'jpeg', 'jpe', 'gif', 'png' ]; + + // Don't convert smilies that aren't images - they're probably emoji. + if ( ! in_array( $ext, $image_exts, true ) ) { + return $img; + } + + /** + * Filter the Smiley image URL before it's used in the image element. + * + * @since 2.9.0 + * + * @param string $smiley_url URL for the smiley image. + * @param string $img Filename for the smiley image. + * @param string $site_url Site URL, as returned by site_url(). + */ + $src_url = apply_filters( 'smilies_src', includes_url( "images/smilies/$img" ), $img, site_url() ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + + // Don't LazyLoad if process is stopped for these reasons. + if ( is_feed() || is_preview() ) { + return sprintf( ' <img src="%s" alt="%s" class="wp-smiley" /> ', esc_url( $src_url ), esc_attr( $smiley ) ); + } + + return sprintf( ' <img src="%s" data-lazy-src="%s" alt="%s" class="wp-smiley" /> ', $this->getPlaceholder(), esc_url( $src_url ), esc_attr( $smiley ) ); + } + + /** + * Returns the placeholder for the src attribute + * + * @since 1.2 + * + * @param int $width Width of the placeholder image. Default 0. + * @param int $height Height of the placeholder image. Default 0. + * @return string + */ + public function getPlaceholder( $width = 0, $height = 0 ) { + $width = 0 === $width ? 0 : absint( $width ); + $height = 0 === $height ? 0 : absint( $height ); + + $placeholder = str_replace( ' ', '%20', "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 $width $height'%3E%3C/svg%3E" ); + /** + * Filter the image lazyLoad placeholder on src attribute + * + * @since 1.1 + * + * @param string $placeholder Placeholder that will be printed. + * @param int $width Placeholder width. + * @param int $height Placeholder height. + */ + return apply_filters( 'rocket_lazyload_placeholder', $placeholder, $width, $height ); + } +} diff --git a/inc/Engine/Activation/Activation.php b/inc/Engine/Activation/Activation.php new file mode 100644 index 0000000..207cb19 --- /dev/null +++ b/inc/Engine/Activation/Activation.php @@ -0,0 +1,99 @@ +<?php + +namespace WP_Rocket\Engine\Activation; + +use WP_Rocket\Admin\Options; +use WP_Rocket\Dependencies\League\Container\Container; +use WP_Rocket\Event_Management\Event_Manager; +use WP_Rocket\ThirdParty\Hostings\HostResolver; + +/** + * Plugin activation controller + * + * @since 3.6.3 + */ +class Activation { + /** + * Aliases in the container for each class that needs to call its activate method + * + * @var array + */ + private static $activators = [ + 'advanced_cache', + 'capabilities_manager', + 'wp_cache', + 'action_scheduler_check', + 'preload_activation', + ]; + + /** + * Performs these actions during the plugin activation + * + * @return void + */ + public static function activate_plugin() { + $container = new Container(); + + $container->add( 'template_path', WP_ROCKET_PATH . 'views' ); + $options_api = new Options( 'wp_rocket_' ); + $container->add( 'options_api', $options_api ); + $container->addServiceProvider( \WP_Rocket\ServiceProvider\Options::class ); + $container->addServiceProvider( \WP_Rocket\Engine\Preload\Activation\ServiceProvider::class ); + $container->addServiceProvider( ServiceProvider::class ); + $container->addServiceProvider( \WP_Rocket\ThirdParty\Hostings\ServiceProvider::class ); + + $host_type = HostResolver::get_host_service(); + + if ( ! empty( $host_type ) ) { + array_unshift( self::$activators, $host_type ); + } + + foreach ( self::$activators as $activator ) { + $container->get( $activator ); + } + + // Last constants. + define( 'WP_ROCKET_PLUGIN_NAME', 'WP Rocket' ); + define( 'WP_ROCKET_PLUGIN_SLUG', sanitize_key( WP_ROCKET_PLUGIN_NAME ) ); + + if ( defined( 'SUNRISE' ) && SUNRISE === 'on' && function_exists( 'domain_mapping_siteurl' ) ) { + require WP_ROCKET_INC_PATH . 'domain-mapping.php'; + } + + require WP_ROCKET_FUNCTIONS_PATH . 'options.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'formatting.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'i18n.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'htaccess.php'; + + /** + * WP Rocket activation. + * + * @since 3.1.5 + */ + do_action( 'rocket_activation' ); + + if ( rocket_valid_key() ) { + // Add All WP Rocket rules of the .htaccess file. + flush_rocket_htaccess(); + } + + // Create the cache folders (wp-rocket & min). + rocket_init_cache_dir(); + + // Create the config folder (wp-rocket-config). + rocket_init_config_dir(); + + // Update customer key & licence. + wp_remote_get( + WP_ROCKET_WEB_API . 'activate-licence.php', + [ + 'blocking' => false, + ] + ); + + /** + * Fires after WP Rocket is activated + */ + do_action( 'rocket_after_activation' ); + } +} diff --git a/inc/Engine/Activation/ActivationInterface.php b/inc/Engine/Activation/ActivationInterface.php new file mode 100644 index 0000000..951b042 --- /dev/null +++ b/inc/Engine/Activation/ActivationInterface.php @@ -0,0 +1,12 @@ +<?php + +namespace WP_Rocket\Engine\Activation; + +interface ActivationInterface { + /** + * Executes this method on plugin activation + * + * @return void + */ + public function activate(); +} diff --git a/inc/Engine/Activation/ServiceProvider.php b/inc/Engine/Activation/ServiceProvider.php new file mode 100644 index 0000000..016945a --- /dev/null +++ b/inc/Engine/Activation/ServiceProvider.php @@ -0,0 +1,59 @@ +<?php +namespace WP_Rocket\Engine\Activation; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Dependencies\League\Container\ServiceProvider\BootableServiceProviderInterface; +use WP_Rocket\Engine\Cache\AdvancedCache; +use WP_Rocket\Engine\Cache\WPCache; +use WP_Rocket\Engine\Capabilities\Manager; +use WP_Rocket\Engine\HealthCheck\ActionSchedulerCheck; + +/** + * Service Provider for the activation process. + * + * @since 3.6.3 + */ +class ServiceProvider extends AbstractServiceProvider implements BootableServiceProviderInterface { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'advanced_cache', + 'capabilities_manager', + 'wp_cache', + 'action_scheduler_check', + ]; + + /** + * Executes this method when the service provider is registered + * + * @return void + */ + public function boot() { + $this->getContainer() + ->inflector( ActivationInterface::class ) + ->invokeMethod( 'activate', [] ); + } + + /** + * Registers the option array in the container. + */ + public function register() { + $filesystem = rocket_direct_filesystem(); + + $this->getContainer()->add( 'advanced_cache', AdvancedCache::class ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/cache/' ) + ->addArgument( $filesystem ); + $this->getContainer()->add( 'capabilities_manager', Manager::class ); + $this->getContainer()->add( 'wp_cache', WPCache::class ) + ->addArgument( $filesystem ); + $this->getContainer()->add( 'action_scheduler_check', ActionSchedulerCheck::class ); + } +} diff --git a/inc/Engine/Admin/API/ServiceProvider.php b/inc/Engine/Admin/API/ServiceProvider.php new file mode 100644 index 0000000..adecab3 --- /dev/null +++ b/inc/Engine/Admin/API/ServiceProvider.php @@ -0,0 +1,32 @@ +<?php + +namespace WP_Rocket\Engine\Admin\API; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'admin_api_subscriber', + ]; + + /** + * Registers the option array in the container + * + * @since 3.3 + * + * @return void + */ + public function register() { + $this->getContainer()->add( 'admin_api_subscriber', Subscriber::class ); + } +} diff --git a/inc/Engine/Admin/API/Subscriber.php b/inc/Engine/Admin/API/Subscriber.php new file mode 100644 index 0000000..ae21cb1 --- /dev/null +++ b/inc/Engine/Admin/API/Subscriber.php @@ -0,0 +1,82 @@ +<?php + +namespace WP_Rocket\Engine\Admin\API; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +class Subscriber implements Subscriber_Interface { + + const ROUTE_NAMESPACE = 'wp-rocket/v1'; + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return string[] + */ + public static function get_subscribed_events() { + return [ + 'rest_api_init' => 'register_route', + 'admin_enqueue_scripts' => [ 'enqueue_url', 999 ], + ]; + } + + + /** + * Enqueue the URL for option exporting. + * + * @return void + */ + public function enqueue_url() { + wp_localize_script( + 'wpr-admin-common', + 'rocket_option_export', + [ + 'rest_url_option_export' => wp_nonce_url( admin_url( 'admin-post.php?action=rocket_export' ), 'rocket_export' ), + ] + ); + } + + /** + * Register REST route. + * + * @return void + */ + public function register_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'options/export', + [ + 'methods' => 'GET', + 'callback' => [ $this, 'export_options' ], + 'permission_callback' => [ $this, 'has_permissions' ], + ] + ); + } + + /** + * Export options. + * + * @return void + */ + public function export_options() { + list( $filename, $options ) = rocket_export_options(); + + nocache_headers(); + @header( 'Content-Type: application/json' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + @header( 'Content-Disposition: attachment; filename="' . $filename . '"' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + @header( 'Content-Transfer-Encoding: binary' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + @header( 'Content-Length: ' . strlen( $options ) ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + @header( 'Connection: close' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + echo $options; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + exit(); + } + + /** + * Has permission to use the API route. + * + * @return bool + */ + public function has_permissions() { + return current_user_can( 'rocket_manage_options' ); + } +} diff --git a/inc/Engine/Admin/ActionSchedulerSubscriber.php b/inc/Engine/Admin/ActionSchedulerSubscriber.php new file mode 100644 index 0000000..e855361 --- /dev/null +++ b/inc/Engine/Admin/ActionSchedulerSubscriber.php @@ -0,0 +1,39 @@ +<?php + +namespace WP_Rocket\Engine\Admin; + +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\ThirdParty\ReturnTypesTrait; + +class ActionSchedulerSubscriber implements Subscriber_Interface { + + use ReturnTypesTrait; + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'action_scheduler_check_pastdue_actions' => 'return_false', + 'action_scheduler_extra_action_counts' => 'hide_pastdue_status_filter', + ]; + } + + /** + * Hide past-due from status filter in Action Scheduler tools page. + * + * @param array $extra_actions Array with format action_count_identifier => action count. + * + * @return array + */ + public function hide_pastdue_status_filter( array $extra_actions ) { + if ( ! isset( $extra_actions['past-due'] ) ) { + return $extra_actions; + } + + unset( $extra_actions['past-due'] ); + return $extra_actions; + } +} diff --git a/inc/Engine/Admin/Beacon/Beacon.php b/inc/Engine/Admin/Beacon/Beacon.php new file mode 100644 index 0000000..abd7a68 --- /dev/null +++ b/inc/Engine/Admin/Beacon/Beacon.php @@ -0,0 +1,800 @@ +<?php + +namespace WP_Rocket\Engine\Admin\Beacon; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\Support\Data; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Helpscout Beacon integration + * + * @since 3.2 + */ +class Beacon extends Abstract_Render implements Subscriber_Interface { + /** + * Options_Data instance + * + * @since 3.2 + * + * @var Options_Data $options + */ + private $options; + + /** + * Current user locale + * + * @since 3.2 + * + * @var string $locale + */ + private $locale; + + /** + * Support data instance + * + * @var Data + */ + private $support_data; + + /** + * Constructor + * + * @since 3.2 + * + * @param Options_Data $options Options instance. + * @param string $template_path Absolute path to the views/settings. + * @param Data $support_data Support data instance. + */ + public function __construct( Options_Data $options, $template_path, Data $support_data ) { + parent::__construct( $template_path ); + + $this->options = $options; + $this->support_data = $support_data; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.2 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_print_footer_scripts-settings_page_wprocket' => 'insert_script', + ]; + } + + /** + * Configures and returns beacon javascript + * + * @since 3.2 + * + * @return void + */ + public function insert_script() { + if ( + rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) + || + ! current_user_can( 'rocket_manage_options' ) + ) { + return; + } + + switch ( $this->get_user_locale() ) { + case 'fr': + $form_id = '9db9417a-5e2f-41dd-8857-1421d5112aea'; + break; + default: + $form_id = '44cc73fb-7636-4206-b115-c7b33823551b'; + break; + } + + $data = [ + 'form_id' => $form_id, + 'identify' => wp_json_encode( $this->identify_data() ), + 'session' => wp_json_encode( $this->support_data->get_support_data() ), + 'prefill' => wp_json_encode( $this->prefill_data() ), + 'config' => wp_json_encode( $this->config_data() ), + ]; + + echo $this->generate( 'beacon', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Sets the locale property with the current user locale if not set yet + * + * @since 3.5 + * + * @return string + */ + private function get_user_locale() { + if ( ! isset( $this->locale ) ) { + $this->locale = current( array_slice( explode( '_', get_user_locale() ), 0, 1 ) ); + } + + /** + * Filters the locale ID for Beacon + * + * @since 3.6 + * + * @param string $locale The locale ID. + */ + return apply_filters( 'rocket_beacon_locale', $this->locale ); + } + + /** + * Returns Identify data to pass to Beacon + * + * @since 3.0 + * + * @return array + */ + private function identify_data() { + $identify_data = [ + 'email' => $this->options->get( 'consumer_email' ), + 'Website' => home_url(), + ]; + $customer_data = get_transient( 'wp_rocket_customer_data' ); + + if ( false !== $customer_data && isset( $customer_data->status ) ) { + $identify_data['status'] = $customer_data->status; + } + + return $identify_data; + } + + /** + * Returns prefill data to pass to Beacon + * + * @since 3.6 + * + * @return array + */ + private function prefill_data() { + $prefill_data = [ + 'fields' => [ + [ + 'id' => 21728, + 'value' => 108003, // default to nulled. + ], + ], + ]; + + $customer_data = get_transient( 'wp_rocket_customer_data' ); + + if ( false === $customer_data || ! isset( $customer_data->licence_account ) ) { + return $prefill_data; + } + + $licenses = [ + 'Single' => 108000, + 'Plus' => 108001, + 'Infinite' => 108002, + 'Unavailable' => 108003, + ]; + + if ( isset( $licenses[ $customer_data->licence_account ] ) ) { + $prefill_data['fields'][0]['value'] = $licenses[ $customer_data->licence_account ]; + } + + return $prefill_data; + } + + /** + * Returns config data to pass to Beacon + * + * @since 3.8.5 + * + * @return array + */ + private function config_data(): array { + return [ + 'display' => [ + 'position' => is_rtl() ? 'left' : 'right', + ], + ]; + } + + /** + * Returns the IDs for the HelpScout docs for the corresponding section and language. + * + * @since 3.0 + * + * @param string $doc_id Section identifier. + * + * @return string|array + */ + public function get_suggest( $doc_id ) { + $suggest = [ + 'faq' => [ + 'en' => [ + [ + 'id' => '5569b671e4b027e1978e3c51', + 'url' => 'https://docs.wp-rocket.me/article/99-pages-are-not-cached-or-css-and-js-minification-are-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Pages Are Not Cached or CSS and JS Minification Are Not Working', + ], + [ + 'id' => '556778c8e4b01a224b426fad', + 'url' => 'https://docs.wp-rocket.me/article/85-google-page-speed-grade-does-not-improve/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Google PageSpeed Grade does not Improve', + ], + [ + 'id' => '556ef48ce4b01a224b428691', + 'url' => 'https://docs.wp-rocket.me/article/106-my-site-is-broken/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'My Site Is Broken', + ], + [ + 'id' => '6001a83b2e764327f87bf189', + 'url' => 'https://docs.wp-rocket.me/article/1407-eliminate-render-blocking-resources/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Eliminate Render Blocking Resources', + ], + [ + 'id' => '54e6f7e5e4b034c37ea9095f', + 'url' => 'https://docs.wp-rocket.me/article/46-how-to-check-if-wp-rocket-is-caching-your-pages/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'How to check if WP Rocket is caching your pages', + ], + ], + 'fr' => [ + [ + 'id' => '5697d2dc9033603f7da31041', + 'url' => 'https://fr.docs.wp-rocket.me/article/264-les-pages-ne-sont-pas-mises-en-cache-ou-la-minification-css-et-js-ne-fonctionne-pas/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Les pages ne sont pas mises en cache, ou la minification CSS et JS ne fonctionne pas', + ], + [ + 'id' => '569564dfc69791436155e0b0', + 'url' => 'https://fr.docs.wp-rocket.me/article/218-la-note-google-page-speed-ne-sameliore-pas/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => "La note Google Page Speed ne s'améliore pas", + ], + [ + 'id' => '5697d03bc69791436155ed69', + 'url' => 'https://fr.docs.wp-rocket.me/article/263-site-casse/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Mon site est cassé', + ], + [ + 'id' => '601d4b83ac2f834ec5385ca5', + 'url' => 'https://fr.docs.wp-rocket.me/article/1440-eliminez-les-ressources-qui-bloquent-le-rendu/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Éliminez les ressources qui bloquent le rendu', + ], + [ + 'id' => '568fe9ebc69791436155cd32', + 'url' => 'https://fr.docs.wp-rocket.me/article/180-verifier-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + 'title' => 'Comment vérifier si WP Rocket met bien en cache vos pages', + ], + ], + ], + 'user_cache_section' => [ + 'en' => '56b55ba49033600da1c0b687,587920b5c697915403a0e1f4,560c66b0c697917e72165a6d', + 'fr' => '56cb9ba990336008e9e9e3d9,5879230cc697915403a0e211,569410999033603f7da2fa94', + ], + 'user_cache' => [ + 'en' => [ + 'id' => '56b55ba49033600da1c0b687', + 'url' => 'https://docs.wp-rocket.me/article/313-user-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '56cb9ba990336008e9e9e3d9', + 'url' => 'https://fr.docs.wp-rocket.me/article/333-cache-utilisateurs-connectes/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'mobile_cache_section' => [ + 'en' => '577a5f1f903360258a10e52a,5678aa76c697914361558e92,5745b9a6c697917290ddc715', + 'fr' => '589b17a02c7d3a784630b249,5a6b32830428632faf6233dc,58a480e5dd8c8e56bfa7b85c', + ], + 'mobile_cache' => [ + 'en' => [ + 'id' => '577a5f1f903360258a10e52a', + 'url' => 'https://docs.wp-rocket.me/article/708-mobile-caching/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '589b17a02c7d3a784630b249', + 'url' => 'https://fr.docs.wp-rocket.me/article/934-mise-en-cache-pour-mobile/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cache_ssl' => [ + 'en' => [ + 'id' => '56c24fd3903360436857f1ed', + 'url' => 'https://docs.wp-rocket.me/article/314-using-ssl-with-wp-rocket/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '56cb9d24c6979102ccfc801c', + 'url' => 'https://fr.docs.wp-rocket.me/article/335-utiliser-ssl-wp-rocket/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cache_lifespan' => [ + 'en' => [ + 'id' => '555c7e9ee4b027e1978e17a5', + 'url' => 'https://docs.wp-rocket.me/article/78-how-often-is-the-cache-updated/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '568f7df49033603f7da2ec72', + 'url' => 'https://fr.docs.wp-rocket.me/article/171-intervalle-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cache_lifespan_section' => [ + 'en' => '555c7e9ee4b027e1978e17a5,5922fd0e0428634b4a33552c', + 'fr' => '568f7df49033603f7da2ec72,598080e1042863033a1b890e', + ], + 'nonce' => [ + 'en' => [ + 'id' => '5922fd0e0428634b4a33552c', + 'url' => 'https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespan/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '598080e1042863033a1b890e', + 'url' => 'https://fr.docs.wp-rocket.me/article/1015-nonces-delai-nettoyage-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'css_section' => [ + 'en' => '556ef48ce4b01a224b428691,6001a83b2e764327f87bf189,5569b671e4b027e1978e3c51,5d5214d10428631e94f94ae6', + 'fr' => '5697d2dc9033603f7da31041,5d5abcce0428634552d85c1c,5697d03bc69791436155ed69,601d4b83ac2f834ec5385ca5', + ], + 'js_section' => [ + 'en' => '54b9509de4b07997ea3f27c7,59236dfb0428634b4a3358f9,5f359695042863444aa04e26,556ef48ce4b01a224b428691,6001a83b2e764327f87bf189', + 'fr' => '56967eebc69791436155e649,593fe9882c7d3a0747cddb77,5f523c46c9e77c0016384ba0,5697d03bc69791436155ed69,601d4b83ac2f834ec5385ca5', + ], + 'file_optimization' => [ + 'en' => [ + 'id' => '6001a83b2e764327f87bf189', + 'url' => 'https://docs.wp-rocket.me/article/1407-eliminate-render-blocking-resources/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '601d4b83ac2f834ec5385ca5', + 'url' => 'https://fr.docs.wp-rocket.me/article/1440-eliminez-les-ressources-qui-bloquent-le-rendu/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'combine' => [ + 'en' => [ + 'id' => '596eaf7d2c7d3a73488b3661', + 'url' => 'https://docs.wp-rocket.me/article/1009-configuration-for-http-2/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '59a418ad042863033a1c572e', + 'url' => 'https://fr.docs.wp-rocket.me/article/1018-configuration-http-2/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'remove_unused_css' => [ + 'en' => [ + 'id' => '6076083ff8c0ef2d98df1f97', + 'url' => 'https://docs.wp-rocket.me/article/1529-remove-unused-css?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '60d499a705ff892e6bc2a89e', + 'url' => 'https://fr.docs.wp-rocket.me/article/1577-supprimer-les-ressources-css-inutilisees?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_inline_js' => [ + 'en' => [ + 'id' => '5b4879100428630abc0c0713', + 'url' => 'https://docs.wp-rocket.me/article/1104-excluding-inline-js-from-combine/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5b4dd9290428631d7a89023c', + 'url' => 'https://fr.docs.wp-rocket.me/article/1109-exclure-les-js-inline-de-la-combinaison?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_js' => [ + 'en' => [ + 'id' => '54b9509de4b07997ea3f27c7', + 'url' => 'https://docs.wp-rocket.me/article/39-excluding-external-js-from-concatenation/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '56967eebc69791436155e649', + 'url' => 'https://fr.docs.wp-rocket.me/article/243-exclure-js-externe-minification?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_css' => [ + 'en' => [ + 'id' => '5bf339b12c7d3a31944e2111', + 'url' => 'https://docs.wp-rocket.me/article/1131-resolving-issues-with-css-minify-combine?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5bf3bece04286304a71c6d35', + 'url' => 'https://fr.docs.wp-rocket.me/article/1132-resoudre-problemes-minification-combinaison-css?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'defer_js' => [ + 'en' => [ + 'id' => '5d52138d2c7d3a68825e8faa', + 'url' => 'https://docs.wp-rocket.me/article/1265-load-javascript-deferred/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5d5ac08b2c7d3a7920be3649', + 'url' => 'https://fr.​docs.​wp-rocket.​me/article/1270-chargement-differe-des-fichiers-js/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'delay_js' => [ + 'en' => [ + 'id' => '5f359695042863444aa04e26', + 'url' => 'https://docs.wp-rocket.me/article/1349-delay-javascript-execution/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '60e5b05605ff892e6bc2e86c', + 'url' => 'https://fr.docs.wp-rocket.me/article/1626-reporter-l-execution-du-javascript?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'delay_js_exclusions' => [ + 'en' => [ + 'id' => '', + 'url' => 'https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'async' => [ + 'en' => [ + 'id' => '5d52144c0428631e94f94ae2', + 'url' => 'https://docs.wp-rocket.me/article/1266-optimize-css-delivery/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5d5abada0428634552d85bff', + 'url' => 'https://fr.​docs.​wp-rocket.​me/article/1268-optimiser-le-chargement-du-css/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'lazyload' => [ + 'en' => [ + 'id' => '5c884cf80428633d2cf38314', + 'url' => 'https://docs.wp-rocket.me/article/1141-using-lazyload-in-wp-rocket/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5c98ff532c7d3a1544614cf4', + 'url' => 'https://fr.docs.wp-rocket.me/article/1146-utiliser-lazyload-images-wp-rocket/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'webp' => [ + 'fr' => [ + 'id' => '5d7b495e04286364bc8f12ef', + 'url' => 'https://fr.docs.wp-rocket.me/article/1286-compatibilite-webp?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'en' => [ + 'id' => '5d72919704286364bc8ed49d', + 'url' => 'https://docs.wp-rocket.me/article/1282-webp?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'lazyload_section' => [ + 'en' => '5c884cf80428633d2cf38314,54b85754e4b0512429883a86,5418c792e4b0e7b8127bed99,569ec4a69033603f7da32c93,5419e246e4b099def9b5561e', + 'fr' => '56967a859033603f7da30858,56967952c69791436155e60a,56cb9c9d90336008e9e9e3dc,569676ea9033603f7da3083d', + ], + 'sitemap_preload' => [ + 'en' => '541780fde4b005ed2d11784c,5a71c8ab2c7d3a4a4198a9b3,55b282ede4b0b0593824f852', + 'fr' => '5693d582c69791436155d645', + ], + 'preload_bot' => [ + 'en' => '541780fde4b005ed2d11784c,55b282ede4b0b0593824f852,559113eae4b027e1978eba11', + 'fr' => '5693d582c69791436155d645,569433d1c69791436155d99c', + ], + 'preload_exclusions' => [ + 'en' => [ + 'id' => '6349682bde258f5018eb456d', + 'url' => 'https://docs.wp-rocket.me/article/1721-exclude-urls-from-being-preloaded?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '63496d5b8a552811521e52d2', + 'url' => 'https://fr.docs.wp-rocket.me/article/1722-exclure-url-du-prechargement?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'bot' => [ + 'en' => [ + 'id' => '541780fde4b005ed2d11784c', + 'url' => 'https://docs.wp-rocket.me/article/8-how-the-cache-is-preloaded/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5693d582c69791436155d645', + 'url' => 'https://fr.docs.wp-rocket.me/article/188-comment-est-pre-charge-le-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'dns_prefetch' => [ + 'en' => [ + 'id' => '5e055a602c7d3a7e9ae5881c', + 'url' => 'https://docs.wp-rocket.me/article/1302-prefetch-dns-requests/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5e1891892c7d3a7e9ae60983', + 'url' => 'https://fr.docs.wp-rocket.me/article/1303-prechargement-requetes-dns/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'fonts_preload' => [ + 'en' => [ + 'id' => '5eab7729042863474d19f647', + 'url' => 'https://docs.wp-rocket.me/article/1317-preload-fonts/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5eb3add02c7d3a5ea54aa66d', + 'url' => 'https://fr.docs.wp-rocket.me/article/1319-precharger-polices/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'preload_links' => [ + 'en' => [ + 'id' => '5f35939b042863444aa04df9', + 'url' => 'https://docs.wp-rocket.me/article/1348-preload-links/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5f58527cc9e77c001603746c', + 'url' => 'https://fr.docs.wp-rocket.me/article/1358-precharger-les-liens/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'ecommerce' => [ + 'en' => [ + 'id' => '548f492de4b034fd4862493e', + 'url' => 'https://docs.wp-rocket.me/article/27-using-wp-rocket-on-your-ecommerce-site/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '569431189033603f7da2fc13', + 'url' => 'https://fr.docs.wp-rocket.me/article/198-ecommerce?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cache_query_strings' => [ + 'en' => [ + 'id' => '590a83610428634b4a32d52c', + 'url' => 'https://docs.wp-rocket.me/article/971-caching-query-strings/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '597a04fd042863033a1b6da4', + 'url' => 'https://fr.docs.wp-rocket.me/article/1014-cache-query-strings/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_cache' => [ + 'en' => [ + 'id' => '5519ab03e4b061031402119f', + 'url' => 'https://docs.wp-rocket.me/article/54-exclude-pages-from-the-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '56941c0cc69791436155d8ab', + 'url' => 'https://fr.docs.wp-rocket.me/article/196-exclure-pages-cache/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_cookie' => [ + 'en' => [ + 'id' => '5fe5462df24ccf588e3fe804', + 'url' => 'https://docs.wp-rocket.me/article/1382-never-cache-cookies/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_user_agent' => [ + 'en' => [ + 'id' => '5ff728d3551e0c2853f3a245', + 'url' => 'https://docs.wp-rocket.me/article/1389-never-cache-user-agents/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'always_purge' => [ + 'en' => [ + 'id' => '5ff72b4dfd168b77735328b7', + 'url' => 'https://docs.wp-rocket.me/article/1391-always-purge-url-s/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'db_optimization' => [ + 'en' => [ + 'id' => '60259156b3ebfb109b58182d', + 'url' => 'https://docs.wp-rocket.me/article/1443-database-optimizations-are-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '6040c5b90a2dae5b58fb5d29', + 'url' => 'https://fr.docs.wp-rocket.me/article/1486-les-optimisations-de-la-base-de-donnees-ne-fonctionne-pas/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cdn_section' => [ + 'en' => '5e4c84bd04286364bc958833,54c7fa3de4b0512429885b5c,54a6d578e4b047ebb774a687,56b2b4459033603f7da37acf,566f749f9033603f7da28459,5434667fe4b0310ce5ee867a', + 'fr' => '5f351e42042863444aa04652,5696830b9033603f7da308ac,569685749033603f7da308c0,57a4961190336059d4edc9d8,5697d5f8c69791436155ed8e,569684d29033603f7da308b9', + ], + 'cdn' => [ + 'en' => [ + 'id' => '54c7fa3de4b0512429885b5c', + 'url' => 'https://docs.wp-rocket.me/article/42-using-wp-rocket-with-a-cdn/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5696830b9033603f7da308ac', + 'url' => 'https://fr.docs.wp-rocket.me/article/246-utiliser-wp-rocket-avec-un-cdn/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'rocketcdn' => [ + 'en' => [ + 'id' => '5e4c84bd04286364bc958833', + 'url' => 'https://docs.wp-rocket.me/article/1307-rocketcdn/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5f351e42042863444aa04652', + 'url' => 'https://fr.docs.wp-rocket.me/article/1343-comment-utiliser-rocketcdn/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'rocketcdn_error' => [ + 'en' => [ + 'id' => '60ddc72d9e87cb3d01249270', + 'url' => 'https://docs.wp-rocket.me/article/1608-error-notices-during-the-rocketcdn-subscription-process/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '60df1cb200fd0d7c253fc044', + 'url' => 'https://fr.docs.wp-rocket.me/article/1620-messages-derreur-pendant-le-processus-dabonnement/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_cdn' => [ + 'en' => [ + 'id' => '5434667fe4b0310ce5ee867a', + 'url' => 'https://docs.wp-rocket.me/article/24-resolving-issues-with-cdn-and-fonts-icons/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '569684d29033603f7da308b9', + 'url' => 'https://fr.docs.wp-rocket.me/article/248-resoudre-des-problemes-avec-cdn-et-les-polices-icones/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cloudflare_credentials' => [ + 'en' => [ + 'id' => '54205619e4b0e7b8127bf849', + 'url' => 'https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5696837e9033603f7da308ae', + 'url' => 'https://fr.docs.wp-rocket.me/article/247-utiliser-wp-rocket-avec-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cloudflare_settings' => [ + 'en' => [ + 'id' => '54205619e4b0e7b8127bf849', + 'url' => 'https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5696837e9033603f7da308ae', + 'url' => 'https://fr.docs.wp-rocket.me/article/247-utiliser-wp-rocket-avec-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'cloudflare_credentials_api' => [ + 'en' => [ + 'id' => '54205619e4b0e7b8127bf849', + 'url' => 'https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on', + ], + 'fr' => [ + 'id' => '5696837e9033603f7da308ae', + 'url' => 'https://fr.docs.wp-rocket.me/article/247-utiliser-wp-rocket-avec-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on', + ], + ], + 'cloudflare_apo' => [ + 'en' => [ + 'id' => '602593e90a2dae5b58faee1e', + 'url' => 'https://docs.wp-rocket.me/article/1444-using-cloudflare-apo-with-wp-rocket?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '6486cb4147772865db893c7c', + 'url' => 'https://fr.docs.wp-rocket.me/article/1757-utiliser-cloudflare-apo-avec-wp-rocket?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'sucuri_credentials' => [ + 'en' => [ + 'id' => '5bce07be2c7d3a04dd5bf94d', + 'url' => 'https://docs.wp-rocket.me/article/1120-sucuri-add-on/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5bcf39c72c7d3a4db66085b9', + 'url' => 'https://fr.docs.wp-rocket.me/article/1122-sucuri-add-on/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'varnish' => [ + 'en' => [ + 'id' => '56f48132c6979115a34095bd', + 'url' => 'https://docs.wp-rocket.me/article/493-using-varnish-with-wp-rocket/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '56fd2f789033601d6683e574', + 'url' => 'https://fr.docs.wp-rocket.me/article/512-varnish-wp-rocket-2-7/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'heartbeat_settings' => [ + 'en' => [ + 'id' => '5bcdfecd042863158cc7b672', + 'url' => 'https://docs.wp-rocket.me/article/1119-control-wordpress-heartbeat-api/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5bcf4378042863215a46bc00', + 'url' => 'https://fr.docs.wp-rocket.me/article/1124-controler-api-wordpress-heartbeat/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'google_fonts' => [ + 'en' => [ + 'id' => '5e8687c22c7d3a7e9aea4c4a', + 'url' => 'https://docs.wp-rocket.me/article/1312-optimize-google-fonts', + ], + 'fr' => [ + 'id' => '5e970f512c7d3a7e9aeaf9fb', + 'url' => 'https://fr.docs.wp-rocket.me/article/1314-optimiser-les-google-fonts/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'dynamic_lists' => [ + 'en' => [ + 'id' => '63234712b0f178684ee3b04a', + 'url' => 'https://docs.wp-rocket.me/article/1716-dynamic-exclusions-and-inclusions/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '6323604341e1a47267b8d0e3', + 'url' => 'https://fr.docs.wp-rocket.me/article/1717-inclusions-et-exclusions-dynamiques/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'image_dimensions' => [ + 'en' => [ + 'id' => '5fc70216de1bfa158fb54737', + 'url' => 'https://docs.wp-rocket.me/article/1366-add-missing-image-dimensions/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '5fd20dcab6c6251cd1c35079', + 'url' => 'https://fr.docs.wp-rocket.me/article/1369-ajouter-les-dimensions-dimage-manquantes/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_defer_js' => [ + 'en' => [ + 'id' => '59236dfb0428634b4a3358f9', + 'url' => 'https://docs.wp-rocket.me/article/976-exclude-files-from-defer-js/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'exclude_lazyload' => [ + 'fr' => [ + 'id' => '56967952c69791436155e60a', + 'url' => 'https://fr.docs.wp-rocket.me/article/235-desactivez-le-lazyload-sur-des-images-specifiques?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'en' => [ + 'id' => '5418c792e4b0e7b8127bed99', + 'url' => 'https://docs.wp-rocket.me/article/15-disabling-lazy-load-on-specific-images/?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'invalid_exclusions' => [ + 'en' => [ + 'id' => '619e90a3d3efbe495c3b26b8', + 'url' => 'https://docs.wp-rocket.me/article/1657-invalid-patterns-of-exclusions', + ], + 'fr' => [ + 'id' => '61b21c1297682b790dad345a', + 'url' => 'https://fr.docs.wp-rocket.me/article/1659-motifs-exclusion-non-valables', + ], + ], + 'async_opti' => [ + 'en' => [ + 'id' => '622a725a2ce7ed0fb0914056', + 'url' => 'https://docs.wp-rocket.me/article/1688-asynchronous-optimizations?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '6231fc24c1688a6d26a75ee1', + 'url' => 'https://fr.docs.wp-rocket.me/article/1689-optimisations-asynchrones?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'offline' => [ + 'en' => [ + 'id' => '60623465c44f5d025f4491de', + 'url' => 'https://docs.wp-rocket.me/article/1514-private-intranet-offline?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '6065cb184466ce6ddc5f05fb', + 'url' => 'https://fr.docs.wp-rocket.me/article/1521-utiliser-wp-rocket-sur-un-intranet-prive-ou-hors-ligne?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'fallback_css' => [ + 'en' => [ + 'id' => '5ec5c4072c7d3a5ea54b7de7', + 'url' => 'https://docs.wp-rocket.me/article/1321-critical-css-issues-fouc#use-fallback-critical-css', + ], + 'fr' => [ + 'id' => '5edf8a5504286306f804e1dc', + 'url' => 'https://fr.docs.wp-rocket.me/article/1327-problemes-critical-css-fouc#critical-path-css-de-secours', + ], + ], + 'domain_change' => [ + 'en' => [ + 'id' => '577578b1903360258a10d8ba', + 'url' => 'https://docs.wp-rocket.me/article/705-changing-domains-migrating-sites-with-wp-rocket?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + 'fr' => [ + 'id' => '57868414c697912dee72a98a', + 'url' => 'https://fr.docs.wp-rocket.me/article/837-changer-de-domaine-migrer-un-site-avec-wp-rocket?utm_source=wp_plugin&utm_medium=wp_rocket', + ], + ], + 'rucss_firewall_ips' => [ + 'en' => [ + 'id' => '6076083ff8c0ef2d98df1f97', + 'url' => 'https://docs.wp-rocket.me/article/1529-remove-unused-css?utm_source=wp_plugin&utm_medium=wp_rocket#basic-requirements', + ], + 'fr' => [ + 'id' => '60d499a705ff892e6bc2a89e', + 'url' => 'https://fr.docs.wp-rocket.me/article/1577-supprimer-les-ressources-css-inutilisees?utm_source=wp_plugin&utm_medium=wp_rocket#basic-requirements', + ], + ], + ]; + + return isset( $suggest[ $doc_id ][ $this->get_user_locale() ] ) + ? $suggest[ $doc_id ][ $this->get_user_locale() ] + : $suggest[ $doc_id ]['en']; + } +} diff --git a/inc/Engine/Admin/Beacon/ServiceProvider.php b/inc/Engine/Admin/Beacon/ServiceProvider.php new file mode 100644 index 0000000..282b0ab --- /dev/null +++ b/inc/Engine/Admin/Beacon/ServiceProvider.php @@ -0,0 +1,38 @@ +<?php +namespace WP_Rocket\Engine\Admin\Beacon; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +/** + * Service Provider for Beacon + * + * @since 3.3 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'beacon', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $this->getContainer()->share( 'beacon', Beacon::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/settings' ) + ->addArgument( $this->getContainer()->get( 'support_data' ) ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/Admin/Database/Optimization.php b/inc/Engine/Admin/Database/Optimization.php new file mode 100644 index 0000000..367ad7c --- /dev/null +++ b/inc/Engine/Admin/Database/Optimization.php @@ -0,0 +1,107 @@ +<?php +namespace WP_Rocket\Engine\Admin\Database; + +/** + * Handles the database optimization process. + */ +class Optimization { + /** + * Background process instance + * + * @var OptimizationProcess $process Background Process instance. + */ + protected $process; + + /** + * Array of option name/label pairs. + * + * @var array + */ + private $options; + + /** + * Class constructor. + * + * @param OptimizationProcess $process Background process instance. + */ + public function __construct( OptimizationProcess $process ) { + $this->process = $process; + $this->options = [ + 'database_revisions' => __( 'Revisions', 'rocket' ), + 'database_auto_drafts' => __( 'Auto Drafts', 'rocket' ), + 'database_trashed_posts' => __( 'Trashed Posts', 'rocket' ), + 'database_spam_comments' => __( 'Spam Comments', 'rocket' ), + 'database_trashed_comments' => __( 'Trashed Comments', 'rocket' ), + 'database_all_transients' => __( 'Transients', 'rocket' ), + 'database_optimize_tables' => __( 'Tables', 'rocket' ), + ]; + } + + /** + * Get Database options + * + * @since 3.0.4 + * + * @return array + */ + public function get_options() { + return $this->options; + } + + /** + * Performs the database optimization + * + * @since 2.11 + * + * @param array $options WP Rocket Database options. + */ + public function process_handler( $options ) { + if ( method_exists( $this->process, 'cancel_process' ) ) { + $this->process->cancel_process(); + } + + array_map( [ $this->process, 'push_to_queue' ], $options ); + + $this->process->save()->dispatch(); + } + + /** + * Count the number of items concerned by the database cleanup + * + * @since 2.8 + * + * @param string $type Item type to count. + * @return int Number of items for this type + */ + public function count_cleanup_items( $type ) { + global $wpdb; + + $count = 0; + + switch ( $type ) { + case 'database_revisions': + $count = $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_type = 'revision'" ); + break; + case 'database_auto_drafts': + $count = $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_status = 'auto-draft'" ); + break; + case 'database_trashed_posts': + $count = $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_status = 'trash'" ); + break; + case 'database_spam_comments': + $count = $wpdb->get_var( "SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_approved = 'spam'" ); + break; + case 'database_trashed_comments': + $count = $wpdb->get_var( "SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE (comment_approved = 'trash' OR comment_approved = 'post-trashed')" ); + break; + case 'database_all_transients': + $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(option_id) FROM $wpdb->options WHERE option_name LIKE %s OR option_name LIKE %s", $wpdb->esc_like( '_transient_' ) . '%', $wpdb->esc_like( '_site_transient_' ) . '%' ) ); + break; + case 'database_optimize_tables': + $count = $wpdb->get_var( "SELECT COUNT(table_name) FROM information_schema.tables WHERE table_schema = '" . DB_NAME . "' and Engine <> 'InnoDB' and data_free > 0" ); + break; + } + + return $count; + } +} diff --git a/inc/Engine/Admin/Database/OptimizationProcess.php b/inc/Engine/Admin/Database/OptimizationProcess.php new file mode 100644 index 0000000..5e67c09 --- /dev/null +++ b/inc/Engine/Admin/Database/OptimizationProcess.php @@ -0,0 +1,151 @@ +<?php +namespace WP_Rocket\Engine\Admin\Database; + +use WP_Rocket_WP_Background_Process; + +/** + * Extends the background process class for the database optimization background process. + * + * @see WP_Rocket_WP_Background_Process + */ +class OptimizationProcess extends WP_Rocket_WP_Background_Process { + /** + * Prefix + * + * @var string + */ + protected $prefix = 'rocket'; + + /** + * Specific action identifier for sitemap preload. + * + * @var string Action identifier + */ + protected $action = 'database_optimization'; + + /** + * Count the number of optimized items. + * + * @var array $count An array of indexed number of optimized items. + */ + protected $count = []; + + /** + * Dispatch + * + * @return array|WP_Error + */ + public function dispatch() { + set_transient( 'rocket_database_optimization_process', 'running', HOUR_IN_SECONDS ); + + // Perform remote post. + return parent::dispatch(); + } + + /** + * Perform the optimization corresponding to $item + * + * @param mixed $item Queue item to iterate over. + * + * @return bool false + */ + protected function task( $item ) { + global $wpdb; + + switch ( $item ) { + case 'database_revisions': + $query = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_type = 'revision'" ); + if ( $query ) { + $number = 0; + foreach ( $query as $id ) { + $number += wp_delete_post_revision( intval( $id ) ) instanceof \WP_Post ? 1 : 0; + } + + $this->count[ $item ] = $number; + } + break; + case 'database_auto_drafts': + $query = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_status = 'auto-draft'" ); + if ( $query ) { + $number = 0; + foreach ( $query as $id ) { + $number += wp_delete_post( intval( $id ), true ) instanceof \WP_Post ? 1 : 0; + } + + $this->count[ $item ] = $number; + } + break; + case 'database_trashed_posts': + $query = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_status = 'trash'" ); + if ( $query ) { + $number = 0; + foreach ( $query as $id ) { + $number += wp_delete_post( $id, true ) instanceof \WP_Post ? 1 : 0; + } + + $this->count[ $item ] = $number; + } + break; + case 'database_spam_comments': + $query = $wpdb->get_col( "SELECT comment_ID FROM $wpdb->comments WHERE comment_approved = 'spam'" ); + if ( $query ) { + $number = 0; + foreach ( $query as $id ) { + $number += (int) wp_delete_comment( intval( $id ), true ); + } + + $this->count[ $item ] = $number; + } + break; + case 'database_trashed_comments': + $query = $wpdb->get_col( "SELECT comment_ID FROM $wpdb->comments WHERE (comment_approved = 'trash' OR comment_approved = 'post-trashed')" ); + if ( $query ) { + $number = 0; + foreach ( $query as $id ) { + $number += (int) wp_delete_comment( intval( $id ), true ); + } + + $this->count[ $item ] = $number; + } + break; + case 'database_all_transients': + $query = $wpdb->get_col( $wpdb->prepare( "SELECT option_name FROM $wpdb->options WHERE option_name LIKE %s OR option_name LIKE %s", $wpdb->esc_like( '_transient_' ) . '%', $wpdb->esc_like( '_site_transient_' ) . '%' ) ); + if ( $query ) { + $number = 0; + foreach ( $query as $transient ) { + if ( strpos( $transient, '_site_transient_' ) !== false ) { + $number += (int) delete_site_transient( str_replace( '_site_transient_', '', $transient ) ); + } else { + $number += (int) delete_transient( str_replace( '_transient_', '', $transient ) ); + } + } + + $this->count[ $item ] = $number; + } + break; + case 'database_optimize_tables': + $query = $wpdb->get_results( "SELECT table_name, data_free FROM information_schema.tables WHERE table_schema = '" . DB_NAME . "' and Engine <> 'InnoDB' and data_free > 0" ); + if ( $query ) { + $number = 0; + foreach ( $query as $table ) { + $number += (int) $wpdb->query( "OPTIMIZE TABLE $table->table_name" ); + } + + $this->count[ $item ] = $number; + } + break; + } + + return false; + } + + /** + * Complete + */ + protected function complete() { + delete_transient( 'rocket_database_optimization_process' ); + set_transient( 'rocket_database_optimization_process_complete', $this->count ); + + parent::complete(); + } +} diff --git a/inc/Engine/Admin/Database/ServiceProvider.php b/inc/Engine/Admin/Database/ServiceProvider.php new file mode 100644 index 0000000..58c7de3 --- /dev/null +++ b/inc/Engine/Admin/Database/ServiceProvider.php @@ -0,0 +1,44 @@ +<?php +namespace WP_Rocket\Engine\Admin\Database; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +/** + * Service Provider for database optimization + * + * @since 3.3 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'db_optimization_process', + 'db_optimization', + 'db_optimization_subscriber', + ]; + + /** + * Registers the option array in the container + * + * @since 3.3 + * + * @return void + */ + public function register() { + $this->getContainer()->add( 'db_optimization_process', OptimizationProcess::class ); + $this->getContainer()->add( 'db_optimization', Optimization::class ) + ->addArgument( $this->getContainer()->get( 'db_optimization_process' ) ); + $this->getContainer()->share( 'db_optimization_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'db_optimization' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Engine/Admin/Database/Subscriber.php b/inc/Engine/Admin/Database/Subscriber.php new file mode 100644 index 0000000..1162e90 --- /dev/null +++ b/inc/Engine/Admin/Database/Subscriber.php @@ -0,0 +1,247 @@ +<?php +namespace WP_Rocket\Engine\Admin\Database; + +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\Admin\Options_Data; + +/** + * Subscriber for the database optimization + */ +class Subscriber implements Subscriber_Interface { + + /** + * Optimization process instance. + * + * @since 3.4 + * + * @var Optimization + */ + private $optimize; + + /** + * WP Rocket Options instance. + * + * @since 3.4 + * + * @var Options_Data + */ + private $options; + + /** + * Constructor + * + * @param Optimization $optimize Optimize instance. + * @param Options_Data $options WP Rocket options. + */ + public function __construct( Optimization $optimize, Options_Data $options ) { + $this->optimize = $optimize; + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.3 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'cron_schedules' => 'add_cron_schedule', + 'init' => 'database_optimization_scheduled', + 'rocket_database_optimization_time_event' => 'cron_optimize', + 'pre_update_option_' . WP_ROCKET_SLUG => 'save_optimize', + 'admin_notices' => [ + [ 'notice_process_running' ], + [ 'notice_process_complete' ], + ], + ]; + } + + /** + * Add a new interval for the cron job. + * This adds a weekly/monthly interval for database optimization. + * + * @since 3.4 + * + * @param array $schedules An array of intervals used by cron jobs. + * @return array Updated array of intervals. + */ + public function add_cron_schedule( $schedules ) { + if ( ! $this->options->get( 'schedule_automatic_cleanup', false ) ) { + return $schedules; + } + + switch ( $this->options->get( 'automatic_cleanup_frequency', 'weekly' ) ) { + case 'weekly': + $schedules['weekly'] = [ + 'interval' => 604800, + 'display' => __( 'weekly', 'rocket' ), + ]; + break; + case 'monthly': + $schedules['monthly'] = [ + 'interval' => 2592000, + 'display' => __( 'monthly', 'rocket' ), + ]; + break; + } + + return $schedules; + } + + /** + * Plans database optimization cron + * If the task is not programmed, it is automatically triggered + * + * @since 2.8 + * + * @see process_handler() + */ + public function database_optimization_scheduled() { + if ( ! $this->options->get( 'schedule_automatic_cleanup', false ) ) { + return; + } + + if ( ! wp_next_scheduled( 'rocket_database_optimization_time_event' ) ) { + wp_schedule_event( time(), $this->options->get( 'automatic_cleanup_frequency', 'weekly' ), 'rocket_database_optimization_time_event' ); + } + } + + /** + * Database Optimization cron callback + * + * @since 3.0.4 + */ + public function cron_optimize() { + $items = array_filter( array_keys( $this->optimize->get_options() ), [ $this->options, 'get' ] ); + + if ( empty( $items ) ) { + return; + } + + $this->optimize->process_handler( $items ); + } + + /** + * Launches the database optimization when the settings are saved with optimize button + * + * @since 2.8 + * + * @see process_handler() + * + * @param array $value The new, unserialized option value. + * @return array + */ + public function save_optimize( $value ) { + if ( empty( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + return $value; + } + + if ( empty( $value ) || ! isset( $value['submit_optimize'] ) ) { + return $value; + } + + unset( $value['submit_optimize'] ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return $value; + } + + $items = []; + $db_options = $this->optimize->get_options(); + + foreach ( $value as $key => $option_value ) { + if ( isset( $db_options[ $key ] ) && 1 === $option_value ) { + $items[] = $key; + } + } + + if ( empty( $items ) ) { + return $value; + } + + $this->optimize->process_handler( $items ); + + return $value; + } + + /** + * This notice is displayed after launching the database optimization process + * + * @since 2.11 + */ + public function notice_process_running() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $notice = get_transient( 'rocket_database_optimization_process' ); + + if ( ! $notice ) { + return; + } + + \rocket_notice_html( + [ + 'status' => 'info', + 'message' => esc_html__( 'Database optimization process is running', 'rocket' ), + ] + ); + } + + /** + * This notice is displayed when the database optimization process is complete + * + * @since 2.11 + */ + public function notice_process_complete() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $optimized = get_transient( 'rocket_database_optimization_process_complete' ); + + if ( false === $optimized ) { + return; + } + + $db_options = $this->optimize->get_options(); + delete_transient( 'rocket_database_optimization_process_complete' ); + + $message = esc_html__( 'Database optimization process is complete. Everything was already optimized!', 'rocket' ); + + if ( ! empty( $optimized ) ) { + $message = esc_html__( 'Database optimization process is complete. List of optimized items below:', 'rocket' ); + } + + if ( ! empty( $optimized ) ) { + $message .= '<ul>'; + foreach ( $optimized as $key => $number ) { + $message .= '<li>' . + /* translators: %1$d = number of items optimized, %2$s = type of optimization */ + sprintf( esc_html__( '%1$d %2$s optimized.', 'rocket' ), $number, $db_options[ $key ] ) + . '</li>'; + } + $message .= '</ul>'; + } + + \rocket_notice_html( + [ + 'message' => $message, + ] + ); + } +} diff --git a/inc/Engine/Admin/Deactivation/DeactivationIntent.php b/inc/Engine/Admin/Deactivation/DeactivationIntent.php new file mode 100644 index 0000000..b8b1f35 --- /dev/null +++ b/inc/Engine/Admin/Deactivation/DeactivationIntent.php @@ -0,0 +1,197 @@ +<?php + +namespace WP_Rocket\Engine\Admin\Deactivation; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options; +use WP_Rocket\Admin\Options_Data; + +class DeactivationIntent extends Abstract_Render { + /** + * Options instance. + * + * @var Options + */ + private $options_api; + + /** + * Options_Data instance. + * + * @since 3.0 + * + * @var Options_Data + */ + private $options; + + /** + * Constructor + * + * @since 3.0 + * + * @param string $template Template path. + * @param Options $options_api Options instance. + * @param Options_Data $options Options_Data instance. + */ + public function __construct( $template, Options $options_api, Options_Data $options ) { + parent::__construct( $template ); + + $this->options_api = $options_api; + $this->options = $options; + } + + /** + * Checks if the deactivation modal is snoozed + * + * @since 3.11.1 + * + * @return bool + */ + private function is_snoozed(): bool { + if ( 1 === (int) get_option( 'wp_rocket_hide_deactivation_form', 0 ) ) { + return true; + } + + if ( false !== get_transient( 'rocket_hide_deactivation_form' ) ) { + return true; + } + + return false; + } + + /** + * Inserts the deactivation intent form on plugins page + * + * @since 3.0 + * + * @return void + */ + public function insert_deactivation_intent_form() { + if ( $this->is_snoozed() ) { + return; + } + + $data = [ + 'form_action' => admin_url( 'admin-post.php?action=rocket_deactivation' ), + ]; + + echo $this->generate( 'form', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Deactivate the plugin and set the snooze value + * + * @since 3.11.1 + * + * @param int $snooze Snooze value. + * + * @return void + */ + public function deactivate_and_snooze( $snooze ) { + $this->set_snooze( $snooze ); + deactivate_plugins( 'wp-rocket/wp-rocket.php' ); + } + + /** + * Sets the snooze value + * + * @since 3.11.1 + * + * @param int $snooze Snooze value. + * + * @return void + */ + private function set_snooze( int $snooze ) { + if ( 0 === $snooze ) { + add_option( 'wp_rocket_hide_deactivation_form', 1 ); + return; + } + + set_transient( 'rocket_hide_deactivation_form', 1, $snooze * DAY_IN_SECONDS ); + } + + /** + * Activates WP Rocket safe mode by deactivating possibly layout breaking options + * + * @since 3.0 + * + * @return void + */ + public function activate_safe_mode() { + /** + * Filters the array of options to reset when activating safe mode + * + * @since 3.7 + * + * @param array $options Array of options to reset. + */ + $reset_options = apply_filters( + 'rocket_safe_mode_reset_options', + [ + 'async_css' => 0, + 'lazyload' => 0, + 'lazyload_iframes' => 0, + 'lazyload_youtube' => 0, + 'minify_css' => 0, + 'minify_js' => 0, + 'minify_concatenate_js' => 0, + 'defer_all_js' => 0, + 'delay_js' => 0, + 'remove_unused_css' => 0, + 'minify_google_fonts' => 0, + 'cdn' => 0, + ] + ); + + $this->options->set_values( $reset_options ); + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Add modal assets on the plugins page + * + * @since 3.11.1 + * + * @param string $hook The current admin page. + * + * @return void + */ + public function add_modal_assets( $hook ) { + if ( 'plugins.php' !== $hook ) { + return; + } + + if ( $this->is_snoozed() ) { + return; + } + + wp_enqueue_style( 'wpr-modal', rocket_get_constant( 'WP_ROCKET_ASSETS_CSS_URL' ) . 'wpr-modal.css', null, rocket_get_constant( 'WP_ROCKET_VERSION' ) ); + wp_enqueue_script( 'micromodal', rocket_get_constant( 'WP_ROCKET_ASSETS_JS_URL' ) . 'micromodal.min.js', null, '0.4.10', true ); + wp_add_inline_script( + 'micromodal', + 'window.addEventListener("DOMContentLoaded", (event) => { + document.getElementById("deactivate-wp-rocket").addEventListener("click", (event) => {event.preventDefault();});MicroModal.init(); + });' + ); + } + + /** + * Add data attribute to WP Rocket deactivation link for the modal + * + * @since 3.11.1 + * + * @param string[] $actions An array of plugin action links. + * + * @return array + */ + public function add_data_attribute( $actions ) { + if ( ! isset( $actions['deactivate'] ) ) { + return $actions; + } + + $deactivate_link = str_replace( '<a', '<a data-micromodal-trigger="wpr-deactivation-modal"', $actions['deactivate'] ); + + $actions['deactivate'] = $deactivate_link; + + return $actions; + } +} diff --git a/inc/Engine/Admin/Deactivation/Subscriber.php b/inc/Engine/Admin/Deactivation/Subscriber.php new file mode 100644 index 0000000..5122a89 --- /dev/null +++ b/inc/Engine/Admin/Deactivation/Subscriber.php @@ -0,0 +1,107 @@ +<?php + +namespace WP_Rocket\Engine\Admin\Deactivation; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +class Subscriber implements Subscriber_Interface { + /** + * DeactivationIntent instance + * + * @var DeactivationIntent + */ + private $deactivation; + + /** + * Constructor + * + * @param DeactivationIntent $deactivation DeactivationIntent instance. + */ + public function __construct( DeactivationIntent $deactivation ) { + $this->deactivation = $deactivation; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_footer-plugins.php' => 'insert_deactivation_intent_form', + 'admin_enqueue_scripts' => 'add_modal_assets', + 'admin_post_rocket_deactivation' => 'safe_mode_or_deactivate', + 'plugin_action_links_wp-rocket/wp-rocket.php' => 'add_data_attribute', + ]; + } + + /** + * Inserts the deactivation intent form on plugins page + * + * @since 3.11.1 + * + * @return void + */ + public function insert_deactivation_intent_form() { + $this->deactivation->insert_deactivation_intent_form(); + } + + /** + * Add modal assets on the plugins page + * + * @since 3.11.1 + * + * @param string $hook The current admin page. + * + * @return void + */ + public function add_modal_assets( $hook ) { + $this->deactivation->add_modal_assets( $hook ); + } + + /** + * Apply safe mode or deactivate the plugin + * + * @since 3.11.1 + * + * @return void + */ + public function safe_mode_or_deactivate() { + check_admin_referer( 'rocket_deactivation', '_wpnonce' ); + + $referer = wp_get_referer(); + + if ( ! current_user_can( 'manage_options' ) ) { + wp_safe_redirect( $referer ); + exit; + } + + $mode = isset( $_POST['mode'] ) ? sanitize_key( $_POST['mode'] ) : ''; + + if ( 'safe_mode' === $mode ) { + $this->deactivation->activate_safe_mode(); + } elseif ( 'deactivate' === $mode ) { + $snooze = isset( $_POST['snooze'] ) ? absint( $_POST['snooze'] ) : 0; + + $this->deactivation->deactivate_and_snooze( $snooze ); + + $referer = add_query_arg( 'deactivate', '1', $referer ); + } + + wp_safe_redirect( $referer ); + exit; + } + + /** + * Add data attribute to WP Rocket deactivation link for the modal + * + * @since 3.11.1 + * + * @param string[] $actions An array of plugin action links. + * + * @return array + */ + public function add_data_attribute( $actions ): array { + return $this->deactivation->add_data_attribute( $actions ); + } +} diff --git a/inc/Engine/Admin/DomainChange/ServiceProvider.php b/inc/Engine/Admin/DomainChange/ServiceProvider.php new file mode 100644 index 0000000..4a65e10 --- /dev/null +++ b/inc/Engine/Admin/DomainChange/ServiceProvider.php @@ -0,0 +1,35 @@ +<?php + +namespace WP_Rocket\Engine\Admin\DomainChange; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Engine\Common\Ajax\AjaxHandler; + +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'domain_change_subscriber', + 'ajax_handler', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $this->getContainer()->add( 'ajax_handler', AjaxHandler::class ); + $this->getContainer()->add( 'domain_change_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'ajax_handler' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ); + } +} diff --git a/inc/Engine/Admin/DomainChange/Subscriber.php b/inc/Engine/Admin/DomainChange/Subscriber.php new file mode 100644 index 0000000..3ecaee7 --- /dev/null +++ b/inc/Engine/Admin/DomainChange/Subscriber.php @@ -0,0 +1,210 @@ +<?php + +namespace WP_Rocket\Engine\Admin\DomainChange; + +use WP_Rocket\Engine\Admin\Beacon\Beacon; +use WP_Rocket\Engine\Common\Ajax\AjaxHandler; +use WP_Rocket\Event_Management\Subscriber_Interface; + +class Subscriber implements Subscriber_Interface { + + /** + * Handle basic ajax operations. + * + * @var AjaxHandler + */ + protected $ajax_handler; + + /** + * Beacon instance + * + * @var Beacon + */ + protected $beacon; + + /** + * Name of the option saving the last base URL. + * + * @var string + */ + const LAST_BASE_URL_OPTION = 'wp_rocket_last_base_url'; + + /** + * Instantiate the class. + * + * @param AjaxHandler $ajax_handler Handle basic ajax operations. + * @param Beacon $beacon Beacon instance. + */ + public function __construct( AjaxHandler $ajax_handler, Beacon $beacon ) { + $this->ajax_handler = $ajax_handler; + $this->beacon = $beacon; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return string[] + */ + public static function get_subscribed_events() { + + return [ + 'admin_init' => 'maybe_launch_domain_changed', + 'admin_notices' => 'maybe_display_domain_change_notice', + 'rocket_domain_changed' => 'maybe_clean_cache_domain_change', + 'rocket_notice_args' => 'add_regenerate_configuration_action', + 'admin_post_rocket_regenerate_configuration' => 'regenerate_configuration', + ]; + } + + /** + * Maybe launch the domain changed event. + * + * @return void + */ + public function maybe_launch_domain_changed() { + if ( wp_doing_ajax() ) { + return; + } + + $base_url = trailingslashit( get_option( 'home' ) ); + $base_url_encoded = base64_encode( $base_url ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode + $last_base_url_encoded = get_option( self::LAST_BASE_URL_OPTION ); + + if ( ! $last_base_url_encoded ) { + update_option( self::LAST_BASE_URL_OPTION, $base_url_encoded, true ); + return; + } + + if ( $base_url_encoded === $last_base_url_encoded ) { + return; + } + + update_option( self::LAST_BASE_URL_OPTION, $base_url_encoded, true ); + + $last_base_url = base64_decode( $last_base_url_encoded ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode + + set_transient( 'rocket_domain_changed', $last_base_url_encoded, 2 * rocket_get_constant( 'WEEK_IN_SECONDS', 604800 ) ); + + /** + * Fires when the domain of the website has been changed. + * + * @param string $current_url current URL from the website. + * @param string $old_url old URL from the website. + */ + do_action( 'rocket_detected_domain_changed', $base_url, $last_base_url ); + } + + /** + * Maybe clean cache on domain change. + * + * @return void + */ + public function maybe_clean_cache_domain_change() { + + $options = get_option( rocket_get_constant( 'WP_ROCKET_SLUG' ) ); + + if ( ! $options ) { + return; + } + + /** + * Fires after WP Rocket options that require a cache purge have changed + * + * @param array $value An array of submitted values for the settings. + */ + do_action( 'rocket_domain_options_changed', $options ); + } + + /** + * Maybe display a notice when domain change. + * + * @return void + */ + public function maybe_display_domain_change_notice() { + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $notice = get_transient( 'rocket_domain_changed' ); + + if ( ! $notice || is_multisite() ) { + return; + } + + $beacon = $this->beacon->get_suggest( 'domain_change' ); + + $args = [ + 'status' => 'warning', + 'dismissible' => '', + 'dismiss_button' => false, + 'message' => sprintf( + // translators: %1$s = <strong>, %2$s = </strong>, %3$s = <a>, %4$s = </a>. + __( '%1$sWP Rocket:%2$s We detected that the website domain has changed. The configuration files must be regenerated for the page cache and all other optimizations to work as intended. %3$sLearn More%4$s', 'rocket' ), + '<strong>', + '</strong>', + '<a href="' . esc_url( $beacon['url'] ) . '" data-beacon-article="' . esc_attr( $beacon['id'] ) . '" target="_blank" rel="noopener noreferrer">', + '</a>' + ), + 'action' => 'regenerate_configuration', + ]; + + rocket_notice_html( $args ); + } + + /** + * Add mapping on notice. + * + * @param array $args Arguments from the notice. + * + * @return array + */ + public function add_regenerate_configuration_action( $args ) { + if ( ! key_exists( 'action', $args ) || 'regenerate_configuration' !== $args['action'] ) { + return $args; + } + + $params = [ + 'action' => 'rocket_regenerate_configuration', + ]; + + $args['action'] = '<a class="wp-core-ui button" href="' . add_query_arg( $params, wp_nonce_url( admin_url( 'admin-post.php' ), 'rocket_regenerate_configuration' ) ) . '">' . __( 'Regenerate WP Rocket configuration files now', 'rocket' ) . '</a>'; + + return $args; + } + + /** + * Regenerate configurations. + * + * @return void + */ + public function regenerate_configuration() { + if ( ! $this->ajax_handler->validate_referer( + 'rocket_regenerate_configuration', + 'rocket_manage_options' + ) ) { + return; + } + + $last_base_url_encoded = get_transient( 'rocket_domain_changed' ); + + if ( ! $last_base_url_encoded ) { + return; + } + + $last_base_url = base64_decode( $last_base_url_encoded ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode + $base_url = trailingslashit( get_option( 'home' ) ); + + /** + * Fires when the domain of the website has been changed and user clicked on notice. + * + * @param string $current_url current URL from the website. + * @param string $old_url old URL from the website. + */ + do_action( 'rocket_domain_changed', $base_url, $last_base_url ); + + delete_transient( 'rocket_domain_changed' ); + + $this->ajax_handler->redirect(); + } +} diff --git a/inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php b/inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php new file mode 100644 index 0000000..ab096d8 --- /dev/null +++ b/inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php @@ -0,0 +1,205 @@ +<?php +declare(strict_types=1); + +namespace WP_Rocket\Engine\Admin\Metaboxes; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Event_Management\Subscriber_Interface; + +class PostEditOptionsSubscriber extends Abstract_Render implements Subscriber_Interface { + /** + * Options instance + * + * @var Options_data + */ + private $options; + + /** + * Constructor + * + * @param Options_Data $options Options instance. + * @param string $template_path Path to the views. + */ + public function __construct( Options_Data $options, $template_path ) { + parent::__construct( $template_path ); + + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'add_meta_boxes' => 'options_metabox', + 'save_post' => 'save_metabox_options', + ]; + } + + /** + * Add options metabox on post edit page + * + * @return void + */ + public function options_metabox() { + if ( ! rocket_can_display_options() ) { + return; + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $cpts = get_post_types( + [ + 'public' => true, + ], + 'objects' + ); + + unset( $cpts['attachment'] ); + + /** + * Filters the post types to add the options metabox to + * + * @param array $cpts Array of post types. + */ + $cpts = apply_filters( 'rocket_metabox_options_post_types', $cpts ); + + foreach ( $cpts as $cpt => $cpt_object ) { + $label = $cpt_object->labels->singular_name; + add_meta_box( 'rocket_post_exclude', sprintf( __( 'WP Rocket Options', 'rocket' ), $label ), [ $this, 'display_metabox' ], $cpt, 'side', 'core' ); + } + } + + /** + * Displays checkboxes to de/activate some options + * + * @return void + */ + public function display_metabox() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + global $post, $pagenow; + + $excluded_url = false; + + if ( 'post-new.php' !== $pagenow ) { + $path = rocket_clean_exclude_file( get_permalink( $post->ID ) ); + + if ( in_array( $path, $this->options->get( 'cache_reject_uri', [] ), true ) ) { + $excluded_url = true; + } + } + + $original_fields = []; + + /** + * WP Rocket Metabox fields on post edit page. + * + * @param string[] $original_fields Metaboxes fields. + */ + $fields = apply_filters( 'rocket_meta_boxes_fields', $original_fields ); + + if ( ! is_array( $fields ) ) { + $fields = $original_fields; + } + + $fields_attributes = []; + + foreach ( $fields as $field => $label ) { + $disabled = disabled( ! $this->options->get( $field ), true, false ); + + $fields_attributes[ $field ]['id'] = $field; + $fields_attributes[ $field ]['label'] = $label; + // translators: %s is the name of the option. + $fields_attributes[ $field ]['title'] = $disabled ? ' title="' . esc_attr( sprintf( __( 'Activate first the %s option.', 'rocket' ), $label ) ) . '"' : ''; + $fields_attributes[ $field ]['class'] = $disabled ? ' class="rkt-disabled"' : ''; + $fields_attributes[ $field ]['checked'] = ! $disabled ? checked( ! get_post_meta( $post->ID, '_rocket_exclude_' . $field, true ), true, false ) : ''; + $fields_attributes[ $field ]['disabled'] = $disabled; + } + + echo $this->generate( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + 'post_edit_options', + [ + 'excluded_url' => $excluded_url, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + 'fields' => $fields_attributes, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + ] + ); + } + + /** + * Updates the options from the metabox. + * + * @return void + */ + public function save_metabox_options() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( ! isset( $_POST['post_ID'], $_POST['rocket_post_exclude_hidden'] ) ) { + return; + } + + check_admin_referer( 'rocket_box_option', '_rocketnonce' ); + + // No cache field. + if ( isset( $_POST['post_status'] ) && 'publish' === $_POST['post_status'] ) { + $new_cache_reject_uri = $cache_reject_uri = $this->options->get( 'cache_reject_uri', [] ); // phpcs:ignore Squiz.PHP.DisallowMultipleAssignments.Found + $rejected_uris = array_flip( $cache_reject_uri ); + $path = rocket_clean_exclude_file( get_permalink( (int) $_POST['post_ID'] ) ); + + if ( isset( $_POST['rocket_post_nocache'] ) ) { + if ( ! isset( $rejected_uris[ $path ] ) ) { + array_push( $new_cache_reject_uri, $path ); + } + } elseif ( isset( $rejected_uris[ $path ] ) ) { + unset( $new_cache_reject_uri[ $rejected_uris[ $path ] ] ); + } + + if ( $new_cache_reject_uri !== $cache_reject_uri ) { + // Update the "Never cache the following pages" option. + update_rocket_option( 'cache_reject_uri', $new_cache_reject_uri ); + + // Update config file. + rocket_generate_config_file(); + } + } + + $original_fields = []; + + /** + * Metaboxes fields. + * + * @param string[] $original_fields Metaboxes fields. + */ + $fields = apply_filters( 'rocket_meta_boxes_fields', $original_fields ); + + if ( ! is_array( $fields ) ) { + $fields = $original_fields; + } + + $fields = array_keys( $fields ); + + foreach ( $fields as $field ) { + if ( ! isset( $_POST['rocket_post_exclude_hidden'][ $field ] ) ) { + continue; + } + + if ( isset( $_POST['rocket_post_exclude'][ $field ] ) ) { + delete_post_meta( (int) $_POST['post_ID'], '_rocket_exclude_' . $field ); + continue; + } + + if ( $this->options->get( $field ) ) { + update_post_meta( (int) $_POST['post_ID'], '_rocket_exclude_' . $field, true ); + } + } + } +} diff --git a/inc/Engine/Admin/ServiceProvider.php b/inc/Engine/Admin/ServiceProvider.php new file mode 100644 index 0000000..9231bdf --- /dev/null +++ b/inc/Engine/Admin/ServiceProvider.php @@ -0,0 +1,57 @@ +<?php +namespace WP_Rocket\Engine\Admin; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Engine\Admin\Deactivation\{DeactivationIntent, Subscriber}; +use WP_Rocket\Engine\Admin\Metaboxes\PostEditOptionsSubscriber; +use WP_Rocket\ThirdParty\Plugins\Optimization\Hummingbird; + +/** + * Service Provider for admin subscribers. + * + * @since 3.3 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'deactivation_intent', + 'deactivation_intent_subscriber', + 'hummingbird_subscriber', + 'actionscheduler_admin_subscriber', + 'post_edit_options_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $options = $this->getContainer()->get( 'options' ); + + $this->getContainer()->add( 'deactivation_intent', DeactivationIntent::class ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/deactivation-intent' ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $options ); + $this->getContainer()->share( 'deactivation_intent_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'deactivation_intent' ) ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'hummingbird_subscriber', Hummingbird::class ) + ->addArgument( $options ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'actionscheduler_admin_subscriber', ActionSchedulerSubscriber::class ); + $this->getContainer()->share( 'post_edit_options_subscriber', PostEditOptionsSubscriber::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/metaboxes' ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/Admin/Settings/Page.php b/inc/Engine/Admin/Settings/Page.php new file mode 100644 index 0000000..8650cde --- /dev/null +++ b/inc/Engine/Admin/Settings/Page.php @@ -0,0 +1,2237 @@ +<?php +namespace WP_Rocket\Engine\Admin\Settings; + +use WP_Rocket\Engine\Admin\Database\Optimization; +use WP_Rocket\Engine\Admin\Beacon\Beacon; +use WP_Rocket\Engine\License\API\UserClient; +use WP_Rocket\Engine\Optimization\DelayJS\Admin\SiteList; +use WP_Rocket\Interfaces\Render_Interface; +use WP_Rocket\Engine\Optimization\DelayJS\Admin\Settings as DelayJSSettings; + +/** + * Registers the admin page and WP Rocket settings. + * + * @since 3.5.5 Moves into the new architecture. + * @since 3.0 + */ +class Page { + /** + * Plugin slug. + * + * @since 3.0 + * + * @var string + */ + private $slug; + + /** + * Plugin page title. + * + * @since 3.0 + * + * @var string + */ + private $title; + + /** + * Required capability to access the page. + * + * @since 3.0 + * + * @var string + */ + private $capability; + + /** + * Settings instance. + * + * @since 3.0 + * + * @var Settings + */ + private $settings; + + /** + * Render implementation. + * + * @since 3.0 + * + * @var Render + */ + private $render; + + /** + * Beacon instance. + * + * @since 3.2 + * + * @var Beacon + */ + private $beacon; + + /** + * Database optimization instance. + * + * @since 3.3 + * + * @var Optimization + */ + private $optimize; + + /** + * User client instance. + * + * @var UserClient + */ + private $user_client; + + /** + * Delay JS Site List controller. + * + * @var SiteList + */ + protected $delayjs_sitelist; + + /** + * Creates an instance of the Page object. + * + * @since 3.0 + * + * @param array $args Array of required arguments to add the admin page. + * @param Settings $settings Instance of Settings class. + * @param Render_Interface $render Implementation of Render interface. + * @param Beacon $beacon Beacon instance. + * @param Optimization $optimize Database optimization instance. + * @param UserClient $user_client User client instance. + * @param SiteList $delayjs_sitelist User client instance. + */ + public function __construct( array $args, Settings $settings, Render_Interface $render, Beacon $beacon, Optimization $optimize, UserClient $user_client, SiteList $delayjs_sitelist ) { + $args = array_merge( + [ + 'slug' => 'wprocket', + 'title' => 'WP Rocket', + 'capability' => 'rocket_manage_options', + ], + $args + ); + + $this->slug = $args['slug']; + $this->title = $args['title']; + $this->capability = $args['capability']; + $this->settings = $settings; + $this->render = $render; + $this->beacon = $beacon; + $this->optimize = $optimize; + $this->user_client = $user_client; + $this->delayjs_sitelist = $delayjs_sitelist; + } + + /** + * Returns the settings page title. + * + * @since 3.3 + * + * @return string + */ + public function get_title() { + return $this->title; + } + + /** + * Returns the settings page slug. + * + * @since 3.3 + * + * @return string + */ + public function get_slug() { + return $this->slug; + } + + /** + * Returns the settings page capability. + * + * @since 3.3 + * + * @return string + */ + public function get_capability() { + return $this->capability; + } + + /** + * Registers the settings, page sections, fields sections and fields. + * + * @since 3.0 + */ + public function configure() { + register_setting( $this->slug, WP_ROCKET_SLUG, [ $this->settings, 'sanitize_callback' ] ); + } + + /** + * Renders the settings page. + * + * @since 3.0 + */ + public function render_page() { + $rocket_valid_key = rocket_valid_key(); + if ( $rocket_valid_key ) { + $this->dashboard_section(); + $this->cache_section(); + $this->assets_section(); + $this->media_section(); + $this->preload_section(); + $this->advanced_cache_section(); + $this->database_section(); + $this->cdn_section(); + $this->heartbeat_section(); + $this->addons_section(); + $this->cloudflare_section(); + $this->sucuri_section(); + } else { + $this->license_section(); + } + + $this->render->set_settings( $this->settings->get_settings() ); + + $this->hidden_fields(); + + $this->render->set_hidden_settings( $this->settings->get_hidden_settings() ); + + $btn_submit_text = $rocket_valid_key ? __( 'Save Changes', 'rocket' ) : __( 'Validate License', 'rocket' ); + echo $this->render->generate( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + 'page', + [ + 'slug' => $this->slug, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + 'btn_submit_text' => $btn_submit_text, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + ] + ); + } + + /** + * Enqueues WP Rocket scripts on the settings page + * + * @since 3.6.1 + * + * @param string $hook The current admin page. + * + * @return void + */ + public function enqueue_rocket_scripts( $hook ) { + if ( 'settings_page_wprocket' !== $hook ) { + return; + } + + wp_enqueue_script( 'wistia-e-v1', 'https://fast.wistia.com/assets/external/E-v1.js', [], null, true ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion + } + + /** + * Adds the async attribute to the Wistia script + * + * @since 3.6.1 + * + * @param string $tag The <script> tag for the enqueued script. + * @param string $handle The script's registered handle. + * + * @return string + */ + public function async_wistia_script( $tag, $handle ) { + if ( 'wistia-e-v1' !== $handle ) { + return $tag; + } + + return str_replace( ' src', ' async src', $tag ); + } + + /** + * Returns the customer data to display on the dashboard + * + * @since 3.7.3 Update to use the user client class to get the data + * @since 3.0 + * + * @return object + */ + public function customer_data() { + $user = $this->user_client->get_user_data(); + $data = [ + 'license_type' => __( 'Unavailable', 'rocket' ), + 'license_expiration' => __( 'Unavailable', 'rocket' ), + 'license_class' => 'wpr-isInvalid', + 'is_from_one_dot_com' => false, + ]; + + $data['license_type'] = rocket_get_license_type( $user ); + + $data['license_class'] = time() < $user->licence_expiration ? 'wpr-isValid' : 'wpr-isInvalid'; + $data['license_expiration'] = date_i18n( get_option( 'date_format' ), (int) $user->licence_expiration ); + $data['is_from_one_dot_com'] = (bool) $user->{'has_one-com_account'}; + + return $data; + } + + /** + * Toggle sliding checkboxes option value. + * + * @since 3.0 + */ + public function toggle_option() { + check_ajax_referer( 'rocket-ajax' ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_die(); + } + + $allowed = [ + 'analytics_enabled' => 1, + 'debug_enabled' => 1, + 'varnish_auto_purge' => 1, + 'do_cloudflare' => 1, + 'cloudflare_protocol_rewrite' => 1, + 'sucury_waf_cache_sync' => 1, + 'sucury_waf_api_key' => 1, + 'cache_webp' => 1, + ]; + + if ( ! isset( $_POST['option']['name'] ) || ! isset( $allowed[ $_POST['option']['name'] ] ) ) { + wp_die(); + } + + $value = (int) ! empty( $_POST['option']['value'] ); + + update_rocket_option( sanitize_key( $_POST['option']['name'] ), $value ); + + wp_die(); + } + + /** + * Forces the value for the mobile options if a mobile plugin is active. + * + * @since 3.0 + * @since 3.2 Not used anymore. + * @see \WP_Rocket\Subscriber\Third_Party\Plugins\Mobile_Subscriber::is_mobile_plugin_active_callback() + * + * @param mixed $value Option value. + * + * @return mixed + */ + public function is_mobile_plugin_active( $value ) { + if ( rocket_is_mobile_plugin_active() ) { + return 1; + } + + return $value; + } + + /** + * Registers License section. + * + * @since 3.0 + */ + private function license_section() { + $this->settings->add_page_section( + 'license', + [ + 'title' => __( 'License', 'rocket' ), + ] + ); + + $this->settings->add_settings_sections( + [ + 'license_section' => [ + 'type' => 'nocontainer', + 'page' => 'license', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'consumer_key' => [ + 'type' => 'text', + 'label' => __( 'API key', 'rocket' ), + 'default' => '', + 'container_class' => [ + 'wpr-field--split', + 'wpr-isDisabled', + ], + 'section' => 'license_section', + 'page' => 'license', + 'sanitize_callback' => 'sanitize_text_field', + 'input_attr' => [ + 'disabled' => 1, + ], + ], + 'consumer_email' => [ + 'type' => 'text', + 'label' => __( 'Email address', 'rocket' ), + 'default' => '', + 'container_class' => [ + 'wpr-field--split', + 'wpr-isDisabled', + ], + 'section' => 'license_section', + 'page' => 'license', + 'sanitize_callback' => 'sanitize_email', + 'input_attr' => [ + 'disabled' => 1, + ], + ], + ] + ); + } + + /** + * Registers Dashboard section. + * + * @since 3.0 + */ + private function dashboard_section() { + $this->settings->add_page_section( + 'dashboard', + [ + 'title' => __( 'Dashboard', 'rocket' ), + 'menu_description' => __( 'Get help, account info', 'rocket' ), + 'faq' => $this->beacon->get_suggest( 'faq' ), + 'customer_data' => $this->customer_data(), + ] + ); + + $this->settings->add_settings_sections( + [ + 'status' => [ + 'title' => __( 'My Status', 'rocket' ), + 'page' => 'dashboard', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'analytics_enabled' => [ + 'type' => 'sliding_checkbox', + 'label' => __( 'Rocket Analytics', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s', 'rocket' ), '<button class="wpr-js-popin">', '</button>' ), + 'section' => 'status', + 'page' => 'dashboard', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ); + } + + /** + * Registers Cache section. + * + * @since 3.0 + */ + private function cache_section() { + $mobile_cache_beacon = $this->beacon->get_suggest( 'mobile_cache' ); + $user_cache_beacon = $this->beacon->get_suggest( 'user_cache' ); + $nonce_beacon = $this->beacon->get_suggest( 'nonce' ); + $cache_life_beacon = $this->beacon->get_suggest( 'cache_lifespan' ); + + $this->settings->add_page_section( + 'cache', + [ + 'title' => __( 'Cache', 'rocket' ), + 'menu_description' => __( 'Basic cache options', 'rocket' ), + ] + ); + + $this->settings->add_settings_sections( + [ + 'mobile_cache_section' => [ + 'title' => __( 'Mobile Cache', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'Speed up your site for mobile visitors.', 'rocket' ), + 'help' => [ + 'url' => $mobile_cache_beacon['url'], + 'id' => $this->beacon->get_suggest( 'mobile_cache_section' ), + ], + 'helper' => rocket_is_mobile_plugin_active() ? __( 'We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility.', 'rocket' ) : '', + 'page' => 'cache', + ], + 'user_cache_section' => [ + 'title' => __( 'User Cache', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( '%1$sUser cache%2$s is great when you have user-specific or restricted content on your website.', 'rocket' ), '<a href="' . esc_url( $user_cache_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $user_cache_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'help' => [ + 'url' => $user_cache_beacon['url'], + 'id' => $this->beacon->get_suggest( 'user_cache_section' ), + ], + 'page' => 'cache', + ], + 'cache_lifespan' => [ + 'title' => __( 'Cache Lifespan', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Cache files older than the specified lifespan will be deleted.<br>Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration.', 'rocket' ), '<a href="#preload">', '</a>' ), + 'help' => [ + 'url' => $cache_life_beacon['url'], + 'id' => $this->beacon->get_suggest( 'cache_lifespan_section' ), + ], + 'page' => 'cache', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'cache_logged_user' => [ + 'type' => 'checkbox', + 'label' => __( 'Enable caching for logged-in WordPress users', 'rocket' ), + 'section' => 'user_cache_section', + 'page' => 'cache', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'cache_mobile' => [ + 'type' => 'checkbox', + 'label' => __( 'Enable caching for mobile devices', 'rocket' ), + 'container_class' => [ + rocket_is_mobile_plugin_active() ? 'wpr-isDisabled' : '', + 'wpr-isParent', + ], + 'section' => 'mobile_cache_section', + 'page' => 'cache', + 'default' => 1, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => rocket_is_mobile_plugin_active() ? 1 : 0, + ], + ], + 'do_caching_mobile_files' => [ + 'type' => 'checkbox', + 'label' => __( 'Separate cache files for mobile devices', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $mobile_cache_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $mobile_cache_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'container_class' => [ + rocket_is_mobile_plugin_active() ? 'wpr-isDisabled' : '', + 'wpr-field--children', + ], + 'parent' => 'cache_mobile', + 'section' => 'mobile_cache_section', + 'page' => 'cache', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => rocket_is_mobile_plugin_active() ? 1 : 0, + ], + ], + 'purge_cron_interval' => [ + 'type' => 'cache_lifespan', + 'label' => __( 'Specify time after which the global cache is cleared<br>(0 = unlimited )', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s', 'rocket' ), '<a href="' . esc_url( $nonce_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $nonce_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'section' => 'cache_lifespan', + 'page' => 'cache', + 'default' => 10, + 'sanitize_callback' => 'sanitize_cache_lifespan', + 'choices' => [ + 'HOUR_IN_SECONDS' => __( 'Hours', 'rocket' ), + 'DAY_IN_SECONDS' => __( 'Days', 'rocket' ), + ], + ], + ] + ); + } + + /** + * Registers CSS & Javascript section. + * + * @since 3.0 + */ + private function assets_section() { + $combine_beacon = $this->beacon->get_suggest( 'combine' ); + $defer_js_beacon = $this->beacon->get_suggest( 'defer_js' ); + $async_beacon = $this->beacon->get_suggest( 'async' ); + $files_beacon = $this->beacon->get_suggest( 'file_optimization' ); + $inline_js_beacon = $this->beacon->get_suggest( 'exclude_inline_js' ); + $exclude_js_beacon = $this->beacon->get_suggest( 'exclude_js' ); + $exclude_css_beacon = $this->beacon->get_suggest( 'exclude_css' ); + $delay_js_beacon = $this->beacon->get_suggest( 'delay_js' ); + $delay_js_exclusions_beacon = $this->beacon->get_suggest( 'delay_js_exclusions' ); + $exclude_defer_js = $this->beacon->get_suggest( 'exclude_defer_js' ); + $rucss_beacon = $this->beacon->get_suggest( 'remove_unused_css' ); + $offline_beacon = $this->beacon->get_suggest( 'offline' ); + $fallback_css_beacon = $this->beacon->get_suggest( 'fallback_css' ); + + $disable_combine_js = $this->disable_combine_js(); + $disable_combine_css = $this->disable_combine_css(); + $disable_ocd = 'local' === wp_get_environment_type(); + + /** + * Filters the status of the RUCSS option. + * + * @param array $should_disable will return array with disable status and text. + */ + $rucss_status = apply_filters( + 'rocket_disable_rucss_setting', + [ + 'disable' => false, + 'text' => '', + ] + ); + + $invalid_license = get_option( 'wp_rocket_no_licence' ); + + $this->settings->add_page_section( + 'file_optimization', + [ + 'title' => __( 'File Optimization', 'rocket' ), + 'menu_description' => __( 'Optimize CSS & JS', 'rocket' ), + ] + ); + + $css_section_helper = []; + + if ( rocket_maybe_disable_minify_css() ) { + // translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP Rocket”. + $css_section_helper[] = sprintf( __( '%1$s Minification is currently activated in <strong>Autoptimize</strong>. If you want to use %2$s’s minification, disable this option in Autoptimize.', 'rocket' ), 'CSS', WP_ROCKET_PLUGIN_NAME ); + } + + if ( $rucss_status['disable'] ) { + $css_section_helper[] = $rucss_status['text']; + } + + $this->settings->add_settings_sections( + [ + 'css' => [ + 'title' => __( 'CSS Files', 'rocket' ), + 'help' => [ + 'id' => $this->beacon->get_suggest( 'css_section' ), + 'url' => $files_beacon['url'], + ], + 'page' => 'file_optimization', + 'helper' => $css_section_helper, + ], + 'js' => [ + 'title' => __( 'JavaScript Files', 'rocket' ), + 'help' => [ + 'id' => $this->beacon->get_suggest( 'js_section' ), + 'url' => $files_beacon['url'], + ], + 'page' => 'file_optimization', + // translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP Rocket”. + 'helper' => rocket_maybe_disable_minify_js() ? sprintf( __( '%1$s Minification is currently activated in <strong>Autoptimize</strong>. If you want to use %2$s’s minification, disable those options in Autoptimize.', 'rocket' ), 'JS', WP_ROCKET_PLUGIN_NAME ) : '', + ], + ] + ); + + $delay_js_list_helper = esc_html__( 'If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:', 'rocket' ); + $delay_js_list_helper .= sprintf( '<br><pre><code>%1$s</code></pre><br>', implode( '<br>', DelayJSSettings::get_delay_js_default_exclusions() ) ); + $delay_js_list_helper .= sprintf( + // translators: %1$s = opening </a> tag, %2$s = closing </a> tag. + esc_html__( 'Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions.', 'rocket' ), + '<a href="' . esc_url( $delay_js_exclusions_beacon['url'] ) . '" target="_blank" rel="noopener">', + '</a>' + ); + + $delay_js_found_list_helper = esc_html__( 'Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option.', 'rocket' ); + $delay_js_found_list_helper .= '<br>' . sprintf( + // translators: %1$s = opening </a> tag, %2$s = closing </a> tag. + esc_html__( 'If this causes trouble, restore the default exclusions, found %1$shere%2$s', 'rocket' ), + '<a href="' . esc_url( $delay_js_beacon['url'] ) . '" target="_blank" rel="noopener">', + '</a>' + ); + + $this->settings->add_settings_fields( + [ + 'minify_css' => [ + 'type' => 'checkbox', + 'label' => __( 'Minify CSS files', 'rocket' ), + 'description' => __( 'Minify CSS removes whitespace and comments to reduce the file size.', 'rocket' ), + 'container_class' => [ + rocket_maybe_disable_minify_css() ? 'wpr-isDisabled' : '', + 'wpr-field--parent', + ], + 'section' => 'css', + 'page' => 'file_optimization', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => rocket_maybe_disable_minify_css() ? 1 : 0, + ], + 'warning' => [ + 'title' => __( 'This could break things!', 'rocket' ), + 'description' => __( 'If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal.', 'rocket' ), + 'button_label' => __( 'Activate minify CSS', 'rocket' ), + ], + ], + 'exclude_css' => [ + 'type' => 'textarea', + 'label' => __( 'Excluded CSS Files', 'rocket' ), + 'description' => __( 'Specify URLs of CSS files to be excluded from minification (one per line).', 'rocket' ), + 'helper' => __( '<strong>Internal:</strong> The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path.', 'rocket' ) . '<br>' . + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + sprintf( __( '<strong>3rd Party:</strong> Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $exclude_css_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $exclude_css_beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', '</a>' ), + 'container_class' => [ + 'wpr-field--children', + ], + 'placeholder' => '/wp-content/plugins/some-plugin/(.*).css', + 'parent' => 'minify_css', + 'section' => 'css', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'optimize_css_delivery' => [ + 'type' => 'checkbox', + 'label' => __( 'Optimize CSS delivery', 'rocket' ), + 'container_class' => [ + $disable_ocd ? 'wpr-isDisabled' : '', + 'wpr-isParent', + ], + 'description' => $invalid_license ? __( 'Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license.', 'rocket' ) : __( 'Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance.', 'rocket' ), + 'section' => 'css', + 'page' => 'file_optimization', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => $disable_ocd ? 1 : 0, + ], + 'helper' => $disable_ocd ? sprintf( + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + __( 'Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s', 'rocket' ), + '<a href="' . esc_url( $offline_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $offline_beacon['id'] ) . '" target="_blank">', + '</a>' + ) : '', + ], + 'optimize_css_delivery_method' => [ + 'type' => 'radio_buttons', + 'label' => __( 'Optimize CSS delivery', 'rocket' ), + 'container_class' => [ + 'wpr-field--children', + 'wpr-field--optimize-css-delivery', + ], + 'buttons_container_class' => '', + 'parent' => 'optimize_css_delivery', + 'section' => 'css', + 'page' => 'file_optimization', + 'default' => 'remove_unused_css', + 'sanitize_callback' => 'sanitize_checkbox', + 'options' => [ + 'remove_unused_css' => [ + 'label' => __( 'Remove Unused CSS', 'rocket' ), + 'disabled' => $invalid_license || $rucss_status['disable'] ? 'disabled' : false, + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $rucss_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $rucss_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'warning' => $invalid_license ? [] : [ + 'title' => __( 'This could break things!', 'rocket' ), + 'description' => __( 'If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal.', 'rocket' ), + 'button_label' => __( 'Activate Remove Unused CSS', 'rocket' ), + ], + 'sub_fields' => $invalid_license ? [] : [ + 'remove_unused_css_safelist' => + [ + 'type' => 'textarea', + 'label' => __( 'CSS safelist', 'rocket' ), + 'description' => __( 'Specify CSS filenames, IDs or classes that should not be removed (one per line).', 'rocket' ), + 'placeholder' => "/wp-content/plugins/some-plugin/(.*).css\n.css-class\n#css_id\ntag", + 'default' => [], + 'value' => [], + 'sanitize_callback' => 'sanitize_textarea', + 'parent' => '', + 'section' => 'css', + 'page' => 'file_optimization', + 'input_attr' => [ + 'disabled' => get_rocket_option( 'remove_unused_css' ) ? 0 : 1, + ], + ], + ], + ], + 'async_css' => [ + 'label' => __( 'Load CSS asynchronously', 'rocket' ), + 'description' => is_plugin_active( 'wp-criticalcss/wp-criticalcss.php' ) ? + // translators: %1$s = plugin name. + sprintf( _x( 'Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin.', 'WP Critical CSS compatibility', 'rocket' ), 'WP Critical CSS' ) : + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + sprintf( __( 'Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $async_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $async_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'disabled' => is_plugin_active( 'wp-criticalcss/wp-criticalcss.php' ) ? 'disabled' : '', + 'sub_fields' => [ + 'critical_css' => + [ + 'type' => 'textarea', + 'label' => __( 'Fallback critical CSS', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'helper' => sprintf( __( 'Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $fallback_css_beacon['url'] ) . '#fallback" data-beacon-article="' . esc_attr( $fallback_css_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'sanitize_callback' => 'sanitize_textarea', + 'parent' => '', + 'section' => 'css', + 'page' => 'file_optimization', + 'placeholder' => '', + 'default' => [], + 'value' => [], + ], + ], + ], + ], + ], + 'minify_js' => [ + 'type' => 'checkbox', + 'label' => __( 'Minify JavaScript files', 'rocket' ), + 'description' => __( 'Minify JavaScript removes whitespace and comments to reduce the file size.', 'rocket' ), + 'container_class' => [ + rocket_maybe_disable_minify_js() ? 'wpr-isDisabled' : '', + 'wpr-field--parent', + ], + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => 0, + 'input_attr' => [ + 'disabled' => rocket_maybe_disable_minify_js() ? 1 : 0, + ], + 'sanitize_callback' => 'sanitize_checkbox', + 'warning' => [ + 'title' => __( 'This could break things!', 'rocket' ), + 'description' => __( 'If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal.', 'rocket' ), + 'button_label' => __( 'Activate minify JavaScript', 'rocket' ), + ], + ], + 'minify_concatenate_js' => [ + 'type' => 'checkbox', + 'label' => __( 'Combine JavaScript files <em>(Enable Minify JavaScript files to select)</em>', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $combine_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $combine_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'helper' => get_rocket_option( 'delay_js' ) ? __( 'For compatibility and best results, this option is disabled when delay javascript execution is enabled.', 'rocket' ) : '', + 'container_class' => [ + $disable_combine_js ? 'wpr-isDisabled' : '', + 'wpr-field--parent', + 'wpr-NoPaddingBottom', + ], + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => $disable_combine_js ? 1 : 0, + ], + 'warning' => [ + 'title' => __( 'This could break things!', 'rocket' ), + 'description' => __( 'If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal.', 'rocket' ), + 'button_label' => __( 'Activate combine JavaScript', 'rocket' ), + ], + ], + 'exclude_inline_js' => [ + 'type' => 'textarea', + 'label' => __( 'Excluded Inline JavaScript', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $inline_js_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $inline_js_beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', '</a>' ), + 'container_class' => [ + 'wpr-field--children', + ], + 'placeholder' => 'recaptcha', + 'parent' => 'minify_concatenate_js', + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + 'input_attr' => [ + 'disabled' => get_rocket_option( 'minify_concatenate_js' ) ? 0 : 1, + ], + ], + 'exclude_js' => [ + 'type' => 'textarea', + 'label' => __( 'Excluded JavaScript Files', 'rocket' ), + 'description' => __( 'Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line).', 'rocket' ), + 'helper' => __( '<strong>Internal:</strong> The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path.', 'rocket' ) . '<br>' . + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + sprintf( __( '<strong>3rd Party:</strong> Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $exclude_js_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $exclude_js_beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', '</a>' ), + 'container_class' => [ + 'wpr-field--children', + ], + 'placeholder' => '/wp-content/themes/some-theme/(.*).js', + 'parent' => 'minify_js', + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'defer_all_js' => [ + 'container_class' => [ + 'wpr-isParent', + ], + 'type' => 'checkbox', + 'label' => __( 'Load JavaScript deferred', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $defer_js_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $defer_js_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'exclude_defer_js' => [ + 'container_class' => [ + 'wpr-field--children', + ], + 'type' => 'textarea', + 'label' => __( 'Excluded JavaScript Files', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $exclude_defer_js['url'] ) . '" data-beacon-article="' . esc_attr( $exclude_defer_js['id'] ) . '" target="_blank">', '</a>' ), + 'placeholder' => '/wp-content/themes/some-theme/(.*).js', + 'parent' => 'defer_all_js', + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'delay_js' => apply_filters( + 'rocket_delay_js_settings_field', + [ + 'container_class' => [ + 'wpr-isParent', + 'wpr-Delayjs', + ], + 'type' => 'checkbox', + 'label' => __( 'Delay JavaScript execution', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $delay_js_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $delay_js_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ] + ), + 'delay_js_exclusions_selected' => [ + 'type' => 'categorized_multiselect', + 'label' => __( 'One-click exclusions', 'rocket' ), + 'description' => __( 'When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu.', 'rocket' ), + 'sub_description' => __( 'If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away.', 'rocket' ), + 'container_class' => [ + 'wpr-field--children', + ], + 'parent' => 'delay_js', + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + 'input_attr' => [ + 'disabled' => get_rocket_option( 'delay_js' ) ? 0 : 1, + ], + 'items' => $this->delayjs_sitelist->prepare_delayjs_ui_list(), + ], + 'delay_js_exclusions' => [ + 'type' => 'textarea', + 'label' => __( 'Excluded JavaScript Files', 'rocket' ), + 'description' => __( 'Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line).', 'rocket' ), + 'container_class' => [ + 'wpr-field--children', + ], + 'parent' => 'delay_js', + 'section' => 'js', + 'page' => 'file_optimization', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + 'input_attr' => [ + 'disabled' => get_rocket_option( 'delay_js' ) ? 0 : 1, + ], + 'helper' => DelayJSSettings::exclusion_list_has_default() ? $delay_js_found_list_helper : $delay_js_list_helper, + 'placeholder' => '/wp-includes/js/jquery/jquery.min.js', + ], + ] + ); + } + + /** + * Registers Media section. + * + * @since 3.0 + */ + private function media_section() { + $lazyload_beacon = $this->beacon->get_suggest( 'lazyload' ); + $exclude_lazyload = $this->beacon->get_suggest( 'exclude_lazyload' ); + $dimensions = $this->beacon->get_suggest( 'image_dimensions' ); + + $this->settings->add_page_section( + 'media', + [ + 'title' => __( 'Media', 'rocket' ), + 'menu_description' => __( 'LazyLoad, image dimensions', 'rocket' ), + ] + ); + + $disable_images_lazyload = []; + $disable_iframes_lazyload = []; + $disable_youtube_lazyload = []; + + if ( rocket_maybe_disable_lazyload() ) { + $disable_images_lazyload[] = __( 'Autoptimize', 'rocket' ); + } + + /** + * Lazyload Helper filter which disables WPR lazyload functionality for images. + * + * @since 3.4.2 + * + * @param array $disable_images_lazyload Will return the array with all plugin names which should disable LazyLoad + */ + $disable_images_lazyload = (array) apply_filters( 'rocket_maybe_disable_lazyload_helper', $disable_images_lazyload ); + $disable_images_lazyload = $this->sanitize_and_format_list( $disable_images_lazyload ); + + /** + * Lazyload Helper filter which disables WPR lazyload functionality for iframes. + * + * @since 3.5.5 + * + * @param array $disable_iframes_lazyload Will return the array with all plugin names which should disable LazyLoad + */ + $disable_iframes_lazyload = (array) apply_filters( 'rocket_maybe_disable_iframes_lazyload_helper', $disable_iframes_lazyload ); + $disable_iframes_lazyload = $this->sanitize_and_format_list( $disable_iframes_lazyload ); + + $disable_css_bg_img_lazyload = false; + + /** + * Lazyload Helper filter which disables WPR lazyload functionality for bg css. + * + * @param bool $disable_css_bg_img_lazyload Should the lazyload CSS be disabled. + */ + $disable_css_bg_img_lazyload = (bool) apply_filters( 'rocket_maybe_disable_css_bg_img_lazyload_helper', $disable_css_bg_img_lazyload ); + + /** + * Lazyload Helper filter which disables WPR lazyload functionality to replace YouTube iframe with preview image. + * + * @since 3.6.3 + * + * @param array $disable_youtube_lazyload Will return the array with all plugin/themes names which should disable replace YouTube iframe with preview image + */ + $disable_youtube_lazyload = (array) apply_filters( 'rocket_maybe_disable_youtube_lazyload_helper', $disable_youtube_lazyload ); + $disable_youtube_lazyload = $this->sanitize_and_format_list( $disable_youtube_lazyload ); + $disable_youtube_lazyload = array_merge( $disable_youtube_lazyload, $disable_iframes_lazyload ); + $disable_youtube_lazyload = array_unique( $disable_youtube_lazyload ); + + $disable_lazyload = array_merge( $disable_images_lazyload, $disable_iframes_lazyload ); + $disable_lazyload = array_unique( $disable_lazyload ); + + $disable_lazyload = wp_sprintf_l( '%l', $disable_lazyload ); + $disable_images_lazyload = wp_sprintf_l( '%l', $disable_images_lazyload ); + $disable_youtube_lazyload = wp_sprintf_l( '%l', $disable_youtube_lazyload ); + + $this->settings->add_settings_sections( + [ + 'lazyload_section' => [ + 'title' => __( 'LazyLoad', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s', 'rocket' ), '<a href="' . esc_url( $lazyload_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $lazyload_beacon['id'] ) . '" target="_blank" rel="noopener noreferrer">', '</a>' ), + 'help' => [ + 'id' => $this->beacon->get_suggest( 'lazyload_section' ), + 'url' => $lazyload_beacon['url'], + ], + 'page' => 'media', + // translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. + 'helper' => ! empty( $disable_lazyload ) ? sprintf( __( 'LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s.', 'rocket' ), WP_ROCKET_PLUGIN_NAME, $disable_lazyload ) : '', + ], + 'dimensions_section' => [ + 'title' => __( 'Image Dimensions', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $dimensions['url'] ) . '" data-beacon-article="' . esc_attr( $dimensions['id'] ) . '" target="_blank" rel="noopener noreferrer">', '</a>' ), + 'help' => $dimensions, + 'page' => 'media', + ], + ] + ); + + /** + * Add more content to the 'cache_webp' setting field. + * + * @since 3.4 + * + * @param array $cache_webp_field Data to be added to the setting field. + */ + + $this->settings->add_settings_fields( + [ + 'lazyload' => [ + 'type' => 'checkbox', + 'label' => __( 'Enable for images', 'rocket' ), + 'section' => 'lazyload_section', + 'page' => 'media', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'container_class' => [ + ! empty( $disable_images_lazyload ) ? 'wpr-isDisabled' : '', + ], + 'input_attr' => [ + 'disabled' => ! empty( $disable_images_lazyload ) ? 1 : 0, + ], + // translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. + 'description' => ! empty( $disable_images_lazyload ) ? sprintf( __( 'LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s.', 'rocket' ), WP_ROCKET_PLUGIN_NAME, $disable_images_lazyload ) : '', + ], + 'lazyload_css_bg_img' => [ + 'container_class' => [ + $disable_css_bg_img_lazyload ? 'wpr-isDisabled' : '', + 'wpr-isParent', + ], + 'type' => 'checkbox', + 'label' => __( 'Enable for CSS background images', 'rocket' ), + 'section' => 'lazyload_section', + 'page' => 'media', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => $disable_css_bg_img_lazyload ? 1 : 0, + ], + ], + 'lazyload_iframes' => [ + 'container_class' => [ + ! empty( $disable_iframes_lazyload ) ? 'wpr-isDisabled' : '', + 'wpr-isParent', + ], + 'type' => 'checkbox', + 'label' => __( 'Enable for iframes and videos', 'rocket' ), + 'section' => 'lazyload_section', + 'page' => 'media', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => ! empty( $disable_iframes_lazyload ) ? 1 : 0, + ], + ], + 'lazyload_youtube' => [ + 'container_class' => [ + ! empty( $disable_youtube_lazyload ) ? 'wpr-isDisabled' : '', + 'wpr-field--children', + ], + 'type' => 'checkbox', + 'label' => __( 'Replace YouTube iframe with preview image', 'rocket' ), + // translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. + 'description' => ! empty( $disable_youtube_lazyload ) ? sprintf( __( 'Replace YouTube iframe with preview image is not compatible with %2$s.', 'rocket' ), WP_ROCKET_PLUGIN_NAME, $disable_youtube_lazyload ) : __( 'This can significantly improve your loading time if you have a lot of YouTube videos on a page.', 'rocket' ), + 'parent' => 'lazyload_iframes', + 'section' => 'lazyload_section', + 'page' => 'media', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'input_attr' => [ + 'disabled' => ! empty( $disable_youtube_lazyload ) ? 1 : 0, + ], + ], + 'exclude_lazyload' => [ + 'container_class' => [ + 'wpr-Delayjs', + ], + 'type' => 'textarea', + 'label' => __( 'Excluded images or iframes', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $exclude_lazyload['url'] ) . '" data-beacon-article="' . esc_attr( $exclude_lazyload['id'] ) . '" target="_blank" rel="noopener noreferrer">', '</a>' ), + 'section' => 'lazyload_section', + 'page' => 'media', + 'default' => [], + 'placeholder' => "example-image.jpg\nslider-image\nbackground-image-style.css", + ], + 'image_dimensions' => [ + 'type' => 'checkbox', + 'label' => __( 'Add missing image dimensions', 'rocket' ), + 'section' => 'dimensions_section', + 'page' => 'media', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ); + } + + /** + * Registers Preload section. + * + * @since 3.0 + */ + private function preload_section() { + $this->settings->add_page_section( + 'preload', + [ + 'title' => __( 'Preload', 'rocket' ), + 'menu_description' => __( 'Generate cache files, preload fonts', 'rocket' ), + ] + ); + + $bot_beacon = $this->beacon->get_suggest( 'bot' ); + $fonts_preload = $this->beacon->get_suggest( 'fonts_preload' ); + $preload_links = $this->beacon->get_suggest( 'preload_links' ); + $exclusions = $this->beacon->get_suggest( 'preload_exclusions' ); + + $this->settings->add_settings_sections( + [ + 'preload_section' => [ + 'title' => __( 'Preload Cache', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => __( 'When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded.', 'rocket' ), + 'help' => [ + 'id' => $this->beacon->get_suggest( 'sitemap_preload' ), + 'url' => $bot_beacon['url'], + ], + 'page' => 'preload', + ], + 'preload_links_section' => [ + 'title' => __( 'Preload Links', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $preload_links['url'] ) . '" data-beacon-article="' . esc_attr( $preload_links['id'] ) . '" target="_blank">', '</a>' ), + 'help' => [ + 'id' => $preload_links['id'], + 'url' => $preload_links['url'], + ], + 'page' => 'preload', + ], + 'dns_prefetch_section' => [ + 'title' => __( 'Prefetch DNS Requests', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'DNS prefetching can make external files load faster, especially on mobile networks', 'rocket' ), + 'help' => $this->beacon->get_suggest( 'dns_prefetch' ), + 'page' => 'preload', + ], + 'preload_fonts_section' => [ + 'title' => __( 'Preload Fonts', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $fonts_preload['url'] ) . '" data-beacon-article="' . esc_attr( $fonts_preload['id'] ) . '" target="_blank">', '</a>' ), + 'help' => [ + 'id' => $fonts_preload['id'], + 'url' => $fonts_preload['url'], + ], + 'page' => 'preload', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'manual_preload' => [ + 'type' => 'checkbox', + 'label' => __( 'Activate Preloading', 'rocket' ), + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 1, + 'sanitize_callback' => 'sanitize_checkbox', + 'container_class' => [ + 'wpr-isParent', + ], + ], + 'preload_excluded_uri' => [ + 'type' => 'textarea', + 'label' => __( 'Exclude URLs', 'rocket' ), + 'container_class' => [ + 'wpr-field--children', + ], + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s', 'rocket' ), '<a href="' . esc_url( $exclusions['url'] ) . '" data-beacon-article="' . esc_attr( $exclusions['id'] ) . '" target="_blank">', '</a>' ), + 'placeholder' => '/author/(.*)', + 'helper' => 'Use (.*) wildcards to address multiple URLs under a given path.', + 'parent' => 'manual_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'dns_prefetch' => [ + 'type' => 'textarea', + 'label' => __( 'URLs to prefetch', 'rocket' ), + 'description' => __( 'Specify external hosts to be prefetched (no <code>http:</code>, one per line)', 'rocket' ), + 'placeholder' => '//example.com', + 'section' => 'dns_prefetch_section', + 'page' => 'preload', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'preload_fonts' => [ + 'type' => 'textarea', + 'label' => __( 'Fonts to preload', 'rocket' ), + 'description' => __( 'Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab.', 'rocket' ), + 'helper' => __( 'The domain part of the URL will be stripped automatically.<br/>Allowed font extensions: otf, ttf, svg, woff, woff2.', 'rocket' ), + 'placeholder' => '/wp-content/themes/your-theme/assets/fonts/font-file.woff', + 'section' => 'preload_fonts_section', + 'page' => 'preload', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'preload_links' => [ + 'type' => 'checkbox', + 'label' => __( 'Enable link preloading', 'rocket' ), + 'section' => 'preload_links_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ); + } + + /** + * Registers Advanced Cache section. + * + * @since 3.0 + */ + private function advanced_cache_section() { + $this->settings->add_page_section( + 'advanced_cache', + [ + 'title' => __( 'Advanced Rules', 'rocket' ), + 'menu_description' => __( 'Fine-tune cache rules', 'rocket' ), + ] + ); + $ecommerce_beacon = $this->beacon->get_suggest( 'ecommerce' ); + $cache_query_strings_beacon = $this->beacon->get_suggest( 'cache_query_strings' ); + $never_cache_beacon = $this->beacon->get_suggest( 'exclude_cache' ); + $never_cache_cookie_beacon = $this->beacon->get_suggest( 'exclude_cookie' ); + $exclude_user_agent_beacon = $this->beacon->get_suggest( 'exclude_user_agent' ); + $always_purge_beacon = $this->beacon->get_suggest( 'always_purge' ); + + $ecommerce_plugin = ''; + $reject_uri_desc = __( 'Sensitive pages like custom login/logout URLs should be excluded from cache.', 'rocket' ); + + if ( function_exists( 'WC' ) && function_exists( 'wc_get_page_id' ) ) { + $ecommerce_plugin = _x( 'WooCommerce', 'plugin name', 'rocket' ); + } elseif ( function_exists( 'EDD' ) ) { + $ecommerce_plugin = _x( 'Easy Digital Downloads', 'plugin name', 'rocket' ); + } elseif ( function_exists( 'it_exchange_get_page_type' ) && function_exists( 'it_exchange_get_page_url' ) ) { + $ecommerce_plugin = _x( 'iThemes Exchange', 'plugin name', 'rocket' ); + } elseif ( defined( 'JIGOSHOP_VERSION' ) && function_exists( 'jigoshop_get_page_id' ) ) { + $ecommerce_plugin = _x( 'Jigoshop', 'plugin name', 'rocket' ); + } elseif ( defined( 'WPSHOP_VERSION' ) && class_exists( 'wpshop_tools' ) && method_exists( 'wpshop_tools', 'get_page_id' ) ) { + $ecommerce_plugin = _x( 'WP-Shop', 'plugin name', 'rocket' ); + } + + if ( ! empty( $ecommerce_plugin ) ) { + $reject_uri_desc .= sprintf( + // translators: %1$s = opening <a> tag, %2$s = plugin name, %3$s closing </a> tag. + __( '<br>Cart, checkout and "my account" pages set in <strong>%1$s%2$s%3$s</strong> will be detected and never cached by default.', 'rocket' ), + '<a href="' . esc_url( $ecommerce_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $ecommerce_beacon['id'] ) . '" target="_blank">', + $ecommerce_plugin, + '</a>' + ); + } + + $this->settings->add_settings_sections( + [ + 'cache_reject_uri_section' => [ + 'title' => __( 'Never Cache URL(s)', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => $reject_uri_desc, + 'help' => $never_cache_beacon, + 'page' => 'advanced_cache', + ], + 'cache_reject_cookies_section' => [ + 'title' => __( 'Never Cache Cookies', 'rocket' ), + 'type' => 'fields_container', + 'page' => 'advanced_cache', + 'help' => $never_cache_cookie_beacon, + ], + 'cache_reject_ua_section' => [ + 'title' => __( 'Never Cache User Agent(s)', 'rocket' ), + 'type' => 'fields_container', + 'help' => $exclude_user_agent_beacon, + 'page' => 'advanced_cache', + ], + 'cache_purge_pages_section' => [ + 'title' => __( 'Always Purge URL(s)', 'rocket' ), + 'type' => 'fields_container', + 'help' => $always_purge_beacon, + 'page' => 'advanced_cache', + ], + 'cache_query_strings_section' => [ + 'title' => __( 'Cache Query String(s)', 'rocket' ), + 'type' => 'fields_container', + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( '%1$sCache for query strings%2$s enables you to force caching for specific GET parameters.', 'rocket' ), '<a href="' . esc_url( $cache_query_strings_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $cache_query_strings_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'help' => $cache_query_strings_beacon, + 'page' => 'advanced_cache', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'cache_reject_uri' => [ + 'type' => 'textarea', + 'description' => __( 'Specify URLs of pages or posts that should never be cached (one per line)', 'rocket' ), + 'helper' => __( 'The domain part of the URL will be stripped automatically.<br>Use (.*) wildcards to address multiple URLs under a given path.', 'rocket' ), + 'placeholder' => '/example/(.*)', + 'section' => 'cache_reject_uri_section', + 'page' => 'advanced_cache', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'cache_reject_cookies' => [ + 'type' => 'textarea', + 'description' => __( 'Specify full or partial IDs of cookies that, when set in the visitor\'s browser, should prevent a page from getting cached (one per line)', 'rocket' ), + 'section' => 'cache_reject_cookies_section', + 'page' => 'advanced_cache', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'cache_reject_ua' => [ + 'type' => 'textarea', + 'description' => __( 'Specify user agent strings that should never see cached pages (one per line)', 'rocket' ), + 'helper' => __( 'Use (.*) wildcards to detect parts of UA strings.', 'rocket' ), + 'placeholder' => '(.*)Mobile(.*)Safari(.*)', + 'section' => 'cache_reject_ua_section', + 'page' => 'advanced_cache', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'cache_purge_pages' => [ + 'type' => 'textarea', + 'description' => __( 'Specify URLs you always want purged from cache whenever you update any post or page (one per line)', 'rocket' ), + 'helper' => __( 'The domain part of the URL will be stripped automatically.<br>Use (.*) wildcards to address multiple URLs under a given path.', 'rocket' ), + 'section' => 'cache_purge_pages_section', + 'page' => 'advanced_cache', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + 'cache_query_strings' => [ + 'type' => 'textarea', + 'description' => __( 'Specify query strings for caching (one per line)', 'rocket' ), + 'section' => 'cache_query_strings_section', + 'page' => 'advanced_cache', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + ] + ); + } + + /** + * Registers Database section. + * + * @since 3.0 + */ + private function database_section() { + $total = []; + + foreach ( array_keys( $this->optimize->get_options() ) as $key ) { + $total[ $key ] = $this->optimize->count_cleanup_items( $key ); + } + + $this->settings->add_page_section( + 'database', + [ + 'title' => __( 'Database', 'rocket' ), + 'menu_description' => __( 'Optimize, reduce bloat', 'rocket' ), + ] + ); + + $this->settings->add_settings_sections( + [ + 'post_cleanup_section' => [ + 'title' => __( 'Post Cleanup', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts.', 'rocket' ), + 'help' => $this->beacon->get_suggest( 'db_optimization' ), + 'page' => 'database', + ], + 'comments_cleanup_section' => [ + 'title' => __( 'Comments Cleanup', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'Spam and trashed comments will be permanently deleted.', 'rocket' ), + 'page' => 'database', + ], + 'transients_cleanup_section' => [ + 'title' => __( 'Transients Cleanup', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them.', 'rocket' ), + 'page' => 'database', + ], + 'database_cleanup_section' => [ + 'title' => __( 'Database Cleanup', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'Reduces overhead of database tables', 'rocket' ), + 'page' => 'database', + ], + 'schedule_cleanup_section' => [ + 'title' => __( 'Automatic Cleanup', 'rocket' ), + 'type' => 'fields_container', + 'page' => 'database', + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'database_revisions' => [ + 'type' => 'checkbox', + 'label' => __( 'Revisions', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s revision in your database.', '%s revisions in your database.', $total['database_revisions'], 'rocket' ), number_format_i18n( $total['database_revisions'] ) ), + 'section' => 'post_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_auto_drafts' => [ + 'type' => 'checkbox', + 'label' => __( 'Auto Drafts', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s draft in your database.', '%s drafts in your database.', $total['database_auto_drafts'], 'rocket' ), number_format_i18n( $total['database_auto_drafts'] ) ), + 'section' => 'post_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_trashed_posts' => [ + 'type' => 'checkbox', + 'label' => __( 'Trashed Posts', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s trashed post in your database.', '%s trashed posts in your database.', $total['database_trashed_posts'], 'rocket' ), $total['database_trashed_posts'] ), + 'section' => 'post_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_spam_comments' => [ + 'type' => 'checkbox', + 'label' => __( 'Spam Comments', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s spam comment in your database.', '%s spam comments in your database.', $total['database_spam_comments'], 'rocket' ), number_format_i18n( $total['database_spam_comments'] ) ), + 'section' => 'comments_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_trashed_comments' => [ + 'type' => 'checkbox', + 'label' => __( 'Trashed Comments', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s trashed comment in your database.', '%s trashed comments in your database.', $total['database_trashed_comments'], 'rocket' ), number_format_i18n( $total['database_trashed_comments'] ) ), + 'section' => 'comments_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_all_transients' => [ + 'type' => 'checkbox', + 'label' => __( 'All transients', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s transient in your database.', '%s transients in your database.', $total['database_all_transients'], 'rocket' ), number_format_i18n( $total['database_all_transients'] ) ), + 'section' => 'transients_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'database_optimize_tables' => [ + 'type' => 'checkbox', + 'label' => __( 'Optimize Tables', 'rocket' ), + // translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. + 'description' => sprintf( _n( '%s table to optimize in your database.', '%s tables to optimize in your database.', $total['database_optimize_tables'], 'rocket' ), number_format_i18n( $total['database_optimize_tables'] ) ), + 'section' => 'database_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'schedule_automatic_cleanup' => [ + 'container_class' => [ + 'wpr-isParent', + ], + 'type' => 'checkbox', + 'label' => __( 'Schedule Automatic Cleanup', 'rocket' ), + 'description' => '', + 'section' => 'schedule_cleanup_section', + 'page' => 'database', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'automatic_cleanup_frequency' => [ + 'container_class' => [ + 'wpr-field--children', + ], + 'type' => 'select', + 'label' => __( 'Frequency', 'rocket' ), + 'description' => '', + 'parent' => 'schedule_automatic_cleanup', + 'section' => 'schedule_cleanup_section', + 'page' => 'database', + 'default' => 'daily', + 'sanitize_callback' => 'sanitize_text_field', + 'choices' => [ + 'daily' => __( 'Daily', 'rocket' ), + 'weekly' => __( 'Weekly', 'rocket' ), + 'monthly' => __( 'Monthly', 'rocket' ), + ], + ], + ] + ); + } + + /** + * Registers CDN section + * + * @since 3.0 + */ + private function cdn_section() { + $this->settings->add_page_section( + 'page_cdn', + [ + 'title' => __( 'CDN', 'rocket' ), + 'menu_description' => __( 'Integrate your CDN', 'rocket' ), + ] + ); + + $cdn_beacon = $this->beacon->get_suggest( 'cdn' ); + $cdn_exclude_beacon = $this->beacon->get_suggest( 'exclude_cdn' ); + + $this->settings->add_settings_sections( + [ + 'cdn_section' => [ + 'title' => __( 'CDN', 'rocket' ), + 'type' => 'fields_container', + 'description' => __( 'All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide.', 'rocket' ) . '<br><em>' . sprintf( + // translators: %1$s = opening link tag, %2$s = closing link tag. + __( 'Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s.', 'rocket' ), + '<a href="#addons">', + '</a>' + ) . '</em>', + 'help' => [ + 'id' => $this->beacon->get_suggest( 'cdn_section' ), + 'url' => $cdn_beacon['url'], + ], + 'page' => 'page_cdn', + ], + 'cnames_section' => [ + 'type' => 'nocontainer', + 'page' => 'page_cdn', + ], + 'exclude_cdn_section' => [ + 'title' => __( 'Exclude files from CDN', 'rocket' ), + 'type' => 'fields_container', + 'help' => [ + 'id' => $cdn_exclude_beacon['id'], + 'url' => $cdn_exclude_beacon['url'], + ], + 'page' => 'page_cdn', + ], + ] + ); + + $maybe_display_cdn_helper = ''; + + /** + * Name from addons requiring the helper message. + * + * @param string[] addons. + * + * @return string [] + */ + $addons = apply_filters( 'rocket_cdn_helper_addons', [] ); + + if ( ! is_array( $addons ) ) { + $addons = []; + } + + $addons = array_unique( $addons ); + + if ( ! empty( $addons ) ) { + $maybe_display_cdn_helper = wp_sprintf( + // translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = closing em tag. + _n( + '%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site.', + '%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site.', + count( $addons ), + 'rocket' + ), + '<em>', + $addons, + '</em>' + ) . '<br>'; + } + + $this->settings->add_settings_fields( + /** + * Filters the fields for the CDN section. + * + * @since 3.5 + * @author Remy Perona + * + * @param array $cdn_settings_fields Data to be added to the CDN section. + */ + apply_filters( + 'rocket_cdn_settings_fields', + [ + 'cdn' => [ + 'type' => 'checkbox', + 'label' => __( 'Enable Content Delivery Network', 'rocket' ), + 'helper' => $maybe_display_cdn_helper, + 'section' => 'cdn_section', + 'page' => 'page_cdn', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'cdn_cnames' => [ + 'type' => 'cnames', + 'label' => __( 'CDN CNAME(s)', 'rocket' ), + 'description' => __( 'Specify the CNAME(s) below', 'rocket' ), + 'default' => [], + 'section' => 'cnames_section', + 'page' => 'page_cdn', + ], + 'cdn_reject_files' => [ + 'type' => 'textarea', + 'description' => __( 'Specify URL(s) of files that should not get served via CDN (one per line).', 'rocket' ), + 'helper' => __( 'The domain part of the URL will be stripped automatically.<br>Use (.*) wildcards to exclude all files of a given file type located at a specific path.', 'rocket' ), + 'placeholder' => '/wp-content/plugins/some-plugins/(.*).css', + 'section' => 'exclude_cdn_section', + 'page' => 'page_cdn', + 'default' => [], + 'sanitize_callback' => 'sanitize_textarea', + ], + ] + ) + ); + } + + /** + * Registers Heartbeat section. + * + * @since 3.2 + */ + private function heartbeat_section() { + $heartbeat_beacon = $this->beacon->get_suggest( 'heartbeat_settings' ); + + $this->settings->add_page_section( + 'heartbeat', + [ + 'title' => __( 'Heartbeat', 'rocket' ), + 'menu_description' => __( 'Control WordPress Heartbeat API', 'rocket' ), + ] + ); + + $this->settings->add_settings_sections( + [ + 'heartbeat_section' => [ + 'title' => __( 'Heartbeat', 'rocket' ), + 'description' => __( 'Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources.', 'rocket' ), + 'type' => 'fields_container', + 'page' => 'heartbeat', + 'help' => $heartbeat_beacon, + ], + 'heartbeat_settings' => [ + 'title' => __( 'Reduce or disable Heartbeat activity', 'rocket' ), + 'description' => __( 'Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes.', 'rocket' ) . '<br/>' . __( 'Disabling Heartbeat entirely may break plugins and themes using this API.', 'rocket' ), + 'type' => 'fields_container', + 'page' => 'heartbeat', + ], + ] + ); + + $fields_default = [ + 'type' => 'select', + 'page' => 'heartbeat', + 'section' => 'heartbeat_settings', + 'sanitize_callback' => 'sanitize_text_field', + 'default' => 'reduce_periodicity', + 'choices' => [ + '' => __( 'Do not limit', 'rocket' ), + 'reduce_periodicity' => __( 'Reduce activity', 'rocket' ), + 'disable' => __( 'Disable', 'rocket' ), + ], + ]; + + $this->settings->add_settings_fields( + [ + 'control_heartbeat' => [ + 'type' => 'checkbox', + 'label' => __( 'Control Heartbeat', 'rocket' ), + 'page' => 'heartbeat', + 'section' => 'heartbeat_section', + 'sanitize_callback' => 'sanitize_checkbox', + 'default' => 0, + ], + 'heartbeat_admin_behavior' => array_merge( + $fields_default, + [ + 'label' => __( 'Behavior in backend', 'rocket' ), + 'description' => '', + ] + ), + 'heartbeat_editor_behavior' => array_merge( + $fields_default, + [ + 'label' => __( 'Behavior in post editor', 'rocket' ), + ] + ), + 'heartbeat_site_behavior' => array_merge( + $fields_default, + [ + 'label' => __( 'Behavior in frontend', 'rocket' ), + ] + ), + ] + ); + } + + /** + * Registers Add-ons section. + * + * @since 3.0 + */ + private function addons_section() { + $webp_beacon = $this->beacon->get_suggest( 'webp' ); + $this->settings->add_page_section( + 'addons', + [ + 'title' => __( 'Add-ons', 'rocket' ), + 'menu_description' => __( 'Add more features', 'rocket' ), + ] + ); + + $this->settings->add_settings_sections( + [ + 'one_click' => [ + 'title' => __( 'One-click Rocket Add-ons', 'rocket' ), + 'description' => __( 'One-Click Add-ons are features extending available options without configuration needed. Switch the option "on" to enable from this screen.', 'rocket' ), + 'type' => 'addons_container', + 'page' => 'addons', + ], + ] + ); + + $this->settings->add_settings_sections( + [ + 'addons' => [ + 'title' => __( 'Rocket Add-ons', 'rocket' ), + 'description' => __( 'Rocket Add-ons are complementary features extending available options.', 'rocket' ), + 'type' => 'addons_container', + 'page' => 'addons', + ], + ] + ); + + $default_cf_settings = [ + 'do_cloudflare' => [ + 'type' => 'rocket_addon', + 'label' => __( 'Cloudflare', 'rocket' ), + 'logo' => [ + 'url' => rocket_get_constant( 'WP_ROCKET_ASSETS_IMG_URL', '' ) . 'logo-cloudflare2.svg', + 'width' => 153, + 'height' => 51, + ], + 'title' => __( 'Integrate your Cloudflare account with this add-on.', 'rocket' ), + 'description' => __( 'Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket.', 'rocket' ), + 'helper' => sprintf( + // translators: %1$s = opening span tag, %2$s = closing span tag. + __( '%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility.', 'rocket' ), + '<span class="wpr-helper-title">', + '</span>' + ), + 'section' => 'addons', + 'page' => 'addons', + 'settings_page' => 'cloudflare', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ]; + + /** + * Filters the Cloudflare Addon field values + * + * @since 3.14 + * + * @param array $cf_settings Array of values to populate the field. + */ + $cf_settings = (array) apply_filters( 'rocket_cloudflare_field_settings', $default_cf_settings ); + $cf_settings = wp_parse_args( $cf_settings, $default_cf_settings ); + + $this->settings->add_settings_fields( $cf_settings ); + + /** + * Allow to display the "Varnish" tab in the settings page + * + * @since 2.7 + * + * @param bool $display true will display the "Varnish" tab. + */ + if ( apply_filters( 'rocket_display_varnish_options_tab', true ) ) { + $varnish_beacon = $this->beacon->get_suggest( 'varnish' ); + + $this->settings->add_settings_fields( + /** + * Filters the Varnish field settings data + * + * @since 3.0 + * @author Remy Perona + * + * @param array $settings Field settings data. + */ + apply_filters( + 'rocket_varnish_field_settings', + [ + 'varnish_auto_purge' => [ + 'type' => 'one_click_addon', + 'label' => __( 'Varnish', 'rocket' ), + 'logo' => [ + 'url' => WP_ROCKET_ASSETS_IMG_URL . 'logo-varnish.svg', + 'width' => 152, + 'height' => 135, + ], + 'title' => __( 'If Varnish runs on your server, you must activate this add-on.', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( __( 'Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.<br>%1$sLearn more%2$s', 'rocket' ), '<a href="' . esc_url( $varnish_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $varnish_beacon['id'] ) . '" target="_blank">', '</a>' ), + 'section' => 'one_click', + 'page' => 'addons', + 'settings_page' => 'varnish', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ) + ); + } + + $webp_beacon = $this->beacon->get_suggest( 'webp' ); + + if ( rocket_valid_key() && ! \Imagify_Partner::has_imagify_api_key() ) { + $imagify_link = '<a href="#imagify">'; + } else { + $imagify_link = '<a href="https://wordpress.org/plugins/imagify/" target="_blank" rel="noopener noreferrer">'; + } + + $this->settings->add_settings_fields( + [ + 'cache_webp' => + /** + * Add more content to the 'cache_webp' setting field. + * + * @since 3.10 moved to add-on section + * @since 3.4 + * + * @param array $cache_webp_field Data to be added to the setting field. + */ + apply_filters( + 'rocket_cache_webp_setting_field', + [ + 'type' => 'one_click_addon', + 'label' => __( 'WebP Compatibility', 'rocket' ), + 'logo' => [ + 'url' => WP_ROCKET_ASSETS_IMG_URL . 'logo-webp.svg', + 'width' => 152, + 'height' => 135, + ], + 'title' => __( 'Improve browser compatibility for WebP images.', 'rocket' ), + // translators: %1$s = opening <a> tag, %2$s = closing </a> tag. + 'description' => sprintf( + // translators: %1$s and %3$s = opening <a> tag, %2$s = closing </a> tag. + __( 'Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s', 'rocket' ), + $imagify_link, + '</a>', + '<a href="' . esc_url( $webp_beacon['url'] ) . '" data-beacon-article="' . esc_attr( $webp_beacon['id'] ) . '" target="_blank" rel="noopener noreferrer">' + ), + 'section' => 'one_click', + 'page' => 'addons', + 'settings_page' => 'webp', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + 'container_class' => [ + 'wpr-webp-addon', + ], + ] + ), + ] + ); + + if ( defined( 'WP_ROCKET_SUCURI_API_KEY_HIDDEN' ) && WP_ROCKET_SUCURI_API_KEY_HIDDEN ) { + // No need to display the dedicated tab if there is nothing to display on it. + $description = __( 'Clear the Sucuri cache when WP Rocket’s cache is cleared.', 'rocket' ); + $settings_page = false; + } else { + $description = __( 'Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared.', 'rocket' ); + $settings_page = 'sucuri'; + } + + $this->settings->add_settings_fields( + [ + 'sucury_waf_cache_sync' => [ + 'type' => 'rocket_addon', + 'label' => __( 'Sucuri', 'rocket' ), + 'logo' => [ + 'url' => WP_ROCKET_ASSETS_IMG_URL . 'logo-sucuri.png', + 'width' => 152, + 'height' => 56, + ], + 'title' => __( 'Synchronize Sucuri cache with this add-on.', 'rocket' ), + 'description' => $description, + 'section' => 'addons', + 'page' => 'addons', + 'settings_page' => $settings_page, + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ); + } + + /** + * Registers Cloudflare section. + * + * @since 3.0 + */ + private function cloudflare_section() { + $this->settings->add_page_section( + 'cloudflare', + [ + 'title' => __( 'Cloudflare', 'rocket' ), + 'menu_description' => '', + 'class' => [ + 'wpr-subMenuItem', + 'wpr-addonSubMenuItem', + ], + ] + ); + + $beacon_cf_credentials = $this->beacon->get_suggest( 'cloudflare_credentials' ); + $beacon_cf_settings = $this->beacon->get_suggest( 'cloudflare_settings' ); + $beacon_cf_credentials_api = $this->beacon->get_suggest( 'cloudflare_credentials_api' ); + + $this->settings->add_settings_sections( + [ + 'cloudflare_credentials' => [ + 'type' => 'fields_container', + 'title' => __( 'Cloudflare credentials', 'rocket' ), + 'help' => [ + 'id' => $beacon_cf_credentials['id'], + 'url' => $beacon_cf_credentials['url'], + ], + 'page' => 'cloudflare', + ], + 'cloudflare_settings' => [ + 'type' => 'fields_container', + 'title' => __( 'Cloudflare settings', 'rocket' ), + 'help' => [ + 'id' => $beacon_cf_settings['id'], + 'url' => $beacon_cf_settings['url'], + ], + 'page' => 'cloudflare', + ], + ] + ); + + if ( ! defined( 'WP_ROCKET_CF_API_KEY_HIDDEN' ) || ! WP_ROCKET_CF_API_KEY_HIDDEN ) { + $this->settings->add_settings_fields( + [ + 'cloudflare_api_key' => [ + 'label' => _x( 'Global API key:', 'Cloudflare', 'rocket' ), + 'description' => sprintf( '<a href="%1$s" target="_blank">%2$s</a>', esc_url( $beacon_cf_credentials_api['url'] ), _x( 'Find your API key', 'Cloudflare', 'rocket' ) ), + 'default' => '', + 'section' => 'cloudflare_credentials', + 'page' => 'cloudflare', + ], + ] + ); + } + + $this->settings->add_settings_fields( + [ + 'cloudflare_email' => [ + 'label' => _x( 'Account email', 'Cloudflare', 'rocket' ), + 'default' => '', + 'container_class' => [ + 'wpr-field--split', + ], + 'section' => 'cloudflare_credentials', + 'page' => 'cloudflare', + ], + 'cloudflare_zone_id' => [ + 'label' => _x( 'Zone ID', 'Cloudflare', 'rocket' ), + 'default' => '', + 'container_class' => [ + 'wpr-field--split', + ], + 'section' => 'cloudflare_credentials', + 'page' => 'cloudflare', + ], + 'cloudflare_devmode' => [ + 'type' => 'sliding_checkbox', + 'label' => __( 'Development mode', 'rocket' ), + // translators: %1$s = link opening tag, %2$s = link closing tag. + 'description' => sprintf( __( 'Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s', 'rocket' ), '<a href="https://support.cloudflare.com/hc/en-us/articles/200168246" target="_blank">', '</a>' ), + 'default' => 0, + 'section' => 'cloudflare_settings', + 'page' => 'cloudflare', + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'cloudflare_auto_settings' => [ + 'type' => 'sliding_checkbox', + 'label' => __( 'Optimal settings', 'rocket' ), + 'description' => __( 'Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility.', 'rocket' ), + 'default' => 0, + 'section' => 'cloudflare_settings', + 'page' => 'cloudflare', + 'sanitize_callback' => 'sanitize_checkbox', + ], + 'cloudflare_protocol_rewrite' => [ + 'type' => 'sliding_checkbox', + 'label' => __( 'Relative protocol', 'rocket' ), + 'description' => __( 'Should only be used with Cloudflare\'s flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://.', 'rocket' ), + 'default' => 0, + 'section' => 'cloudflare_settings', + 'page' => 'cloudflare', + 'sanitize_callback' => 'sanitize_checkbox', + ], + ] + ); + } + + /** + * Registers Sucuri cache section. + * + * @since 3.2 + */ + private function sucuri_section() { + if ( defined( 'WP_ROCKET_SUCURI_API_KEY_HIDDEN' ) && WP_ROCKET_SUCURI_API_KEY_HIDDEN ) { + return; + } + + $sucuri_beacon = $this->beacon->get_suggest( 'sucuri_credentials' ); + + $this->settings->add_page_section( + 'sucuri', + [ + 'title' => __( 'Sucuri', 'rocket' ), + 'menu_description' => '', + 'class' => [ + 'wpr-subMenuItem', + 'wpr-addonSubMenuItem', + ], + ] + ); + + $this->settings->add_settings_sections( + [ + 'sucuri_credentials' => [ + 'type' => 'fields_container', + 'title' => __( 'Sucuri credentials', 'rocket' ), + 'page' => 'sucuri', + 'help' => [ + 'id' => $sucuri_beacon['id'], + 'url' => $sucuri_beacon['url'], + ], + ], + ] + ); + + $this->settings->add_settings_fields( + [ + 'sucury_waf_api_key' => [ + 'label' => _x( 'Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:', 'Sucuri', 'rocket' ), + 'description' => sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://kb.sucuri.net/firewall/Performance/clearing-cache', _x( 'Find your API key', 'Sucuri', 'rocket' ) ), + 'default' => '', + 'section' => 'sucuri_credentials', + 'page' => 'sucuri', + ], + ] + ); + } + + /** + * Sets hidden fields. + * + * @since 3.0 + */ + private function hidden_fields() { + $this->settings->add_hidden_settings_fields( + /** + * Filters the hidden settings fields + * + * @since 3.5 + * @author Remy Perona + * + * @param array $hidden_settings_fields An array of hidden settings fields ID + */ + apply_filters( + 'rocket_hidden_settings_fields', + [ + 'consumer_key', + 'consumer_email', + 'secret_key', + 'license', + 'secret_cache_key', + 'minify_css_key', + 'minify_js_key', + 'version', + 'cloudflare_old_settings', + 'cache_ssl', + 'minify_google_fonts', + 'emoji', + 'remove_unused_css', + 'async_css', + 'minify_concatenate_css', + ] + ) + ); + } + + /** + * Sanitize and format a list. + * + * @since 3.5.5 + * + * @param array $list A list of strings. + * @param string $tag_name Name of the HTML tag that will wrap each element of the list. + * @return array + */ + private function sanitize_and_format_list( $list, $tag_name = 'strong' ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.listFound + if ( ! is_array( $list ) || empty( $list ) ) { + return []; + } + + $list = array_filter( $list ); + + if ( empty( $list ) ) { + return []; + } + + $list = array_unique( $list ); + + if ( empty( $tag_name ) ) { + return $list; + } + + $format = "<$tag_name>%s</$tag_name>"; + + return array_map( 'sprintf', array_fill( 0, count( $list ), $format ), $list ); + } + + /** + * Checks if combine JS option should be disabled + * + * @since 3.9 + * + * @return bool + */ + private function disable_combine_js(): bool { + if ( (bool) get_rocket_option( 'delay_js', 0 ) ) { + return true; + } + + return ! (bool) get_rocket_option( 'minify_js', 0 ); + } + + /** + * Checks if combine CSS option should be disabled + * + * @since 3.11 + * + * @return bool + */ + private function disable_combine_css(): bool { + if ( (bool) get_rocket_option( 'remove_unused_css', 0 ) ) { + return true; + } + + return ! (bool) get_rocket_option( 'minify_css', 0 ); + } + + /** + * Render radio options sub fields. + * + * @since 3.10 + * + * @param array $sub_fields Array of fields to display. + */ + public function display_radio_options_sub_fields( $sub_fields ) { + $sub_fields = $this->settings->set_radio_buttons_sub_fields_value( $sub_fields ); + $this->render->render_fields( $sub_fields ); + } +} diff --git a/inc/Engine/Admin/Settings/Render.php b/inc/Engine/Admin/Settings/Render.php new file mode 100644 index 0000000..403446a --- /dev/null +++ b/inc/Engine/Admin/Settings/Render.php @@ -0,0 +1,517 @@ +<?php +namespace WP_Rocket\Engine\Admin\Settings; + +use stdClass; +use WP_Rocket\Abstract_Render; + +defined( 'ABSPATH' ) || exit; + +/** + * Handle rendering of HTML content for the settings page. + * + * @since 3.5.5 Moves into the new architecture. + * @since 3.0 + */ +class Render extends Abstract_render { + /** + * Settings array. + * + * @since 3.0 + * + * @var array + */ + private $settings = []; + + /** + * Hidden settings array. + * + * @since 3.0 + * + * @var array + */ + private $hidden_settings; + + /** + * Sets the settings value. + * + * @since 3.0 + * + * @param array $settings Array of settings. + * @return void + */ + public function set_settings( $settings ) { + $this->settings = (array) $settings; + } + + /** + * Sets the hidden settings value. + * + * @since 3.0 + * + * @param array $hidden_settings Array of hidden settings. + */ + public function set_hidden_settings( $hidden_settings ) { + $this->hidden_settings = $hidden_settings; + } + + /** + * Renders the page sections navigation. + * + * @since 3.0 + */ + public function render_navigation() { + /** + * Filters WP Rocket settings page navigation items. + * + * @since 3.0 + * + * @param array $navigation { + * Items to populate the navigation. + * + * @type string $id Page section identifier. + * @type string $title Menu item title. + * @type string $menu_description Menu item description. + * @type string $class Menu item classes + * } + */ + $navigation = (array) apply_filters( 'rocket_settings_menu_navigation', $this->settings ); + + $default = [ + 'id' => '', + 'title' => '', + 'menu_description' => '', + 'class' => '', + ]; + + $navigation = array_map( + function ( array $item ) use ( $default ) { + $item = wp_parse_args( $item, $default ); + + if ( ! empty( $item['class'] ) ) { + $item['class'] = implode( ' ', array_map( 'sanitize_html_class', $item['class'] ) ); + } + + unset( $item['sections'] ); + return $item; + }, + $navigation + ); + + echo $this->generate( 'navigation', $navigation ); // phpcs:ignore WordPress.Security.EscapeOutput -- Dynamic content is properly escaped in the view. + } + + /** + * Render the page sections. + * + * @since 3.0 + */ + public function render_form_sections() { + if ( ! isset( $this->settings ) ) { + return; + } + + foreach ( $this->settings as $id => $args ) { + $default = [ + 'title' => '', + 'menu_description' => '', + 'class' => '', + ]; + + $args = wp_parse_args( $args, $default ); + $id = str_replace( '_', '-', $id ); + + echo $this->generate( 'page-sections/' . $id, $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + } + + /** + * Render the Imagify page section. + * + * @since 3.2 + */ + public function render_imagify_section() { + echo $this->generate( 'page-sections/imagify' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Render the Tutorials page section. + * + * @since 3.4 + */ + public function render_tutorials_section() { + echo $this->generate( 'page-sections/tutorials' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Render the tools page section. + * + * @since 3.0 + */ + public function render_tools_section() { + echo $this->generate( 'page-sections/tools' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Renders the settings sections for a page section. + * + * @since 3.0 + * + * @param string $page Page section identifier. + * @return void + */ + public function render_settings_sections( $page ) { + if ( ! isset( $this->settings[ $page ]['sections'] ) ) { + return; + } + + foreach ( $this->settings[ $page ]['sections'] as $args ) { + $default = [ + 'type' => 'fields_container', + 'title' => '', + 'description' => '', + 'class' => '', + 'help' => '', + 'helper' => '', + 'page' => '', + ]; + + $args = wp_parse_args( $args, $default ); + + if ( ! empty( $args['class'] ) ) { + $args['class'] = implode( ' ', array_map( 'sanitize_html_class', $args['class'] ) ); + } + + call_user_func_array( [ $this, $args['type'] ], [ $args ] ); + } + } + + /** + * Renders the settings fields for a setting section and page. + * + * @since 3.0 + * + * @param string $page Page section identifier. + * @param string $section Settings section identifier. + * @return void + */ + public function render_settings_fields( $page, $section ) { + if ( ! isset( $this->settings[ $page ]['sections'][ $section ]['fields'] ) ) { + return; + } + $this->render_fields( $this->settings[ $page ]['sections'][ $section ]['fields'] ); + } + + /** + * Renders hidden fields in the form. + * + * @since 3.0 + */ + public function render_hidden_fields() { + foreach ( $this->hidden_settings as $setting ) { + call_user_func_array( [ $this, 'hidden' ], [ $setting ] ); + } + } + + /** + * Displays the fields container section template. + * + * @since 3.0 + * @author Remy Perona + * + * @param array $args Array of arguments to populate the template. + */ + public function fields_container( $args ) { + echo $this->generate( 'sections/fields-container', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the no container section template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function nocontainer( $args ) { + echo $this->generate( 'sections/nocontainer', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the add-ons container section template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function addons_container( $args ) { + echo $this->generate( 'sections/addons-container', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the text field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function text( $args ) { + echo $this->generate( 'fields/text', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the checkbox field template. + * + * @since 3.0 + * @author Remy Perona + * + * @param array $args Array of arguments to populate the template. + * @return void + */ + public function checkbox( $args ) { + echo $this->generate( 'fields/checkbox', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the textarea field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function textarea( $args ) { + if ( is_array( $args['value'] ) ) { + $args['value'] = implode( "\n", $args['value'] ); + } + + $args['value'] = empty( $args['value'] ) ? '' : $args['value']; + + echo $this->generate( 'fields/textarea', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the sliding checkbox field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function sliding_checkbox( $args ) { + echo $this->generate( 'fields/sliding-checkbox', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the number input field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function number( $args ) { + echo $this->generate( 'fields/number', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the multiselect field template. + * + * @param array $args Array of arguments to populate the template. + */ + public function categorized_multiselect( $args ) { + $args['items'] = empty( $args['items'] ) ? new stdClass() : $args['items']; + $args['selected'] = get_rocket_option( sanitize_key( $args['id'] ), [] ); + + echo $this->generate( 'fields/categorized_multiselect', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the select field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function select( $args ) { + echo $this->generate( 'fields/select', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the clear cache lifespan block template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function cache_lifespan( $args ) { + echo $this->generate( 'fields/cache-lifespan', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the hidden field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function hidden( $args ) { + echo $this->generate( 'fields/hidden', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the CDN CNAMES template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function cnames( $args ) { + echo $this->generate( 'fields/cnames', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the RocketCDN template. + * + * @since 3.5 + * + * @param array $args Array of arguments to populate the template. + */ + public function rocket_cdn( $args ) { + echo $this->generate( 'fields/rocket-cdn', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the one-click add-on field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function one_click_addon( $args ) { + echo $this->generate( 'fields/one-click-addon', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the Rocket add-on field template. + * + * @since 3.0 + * + * @param array $args Array of arguments to populate the template. + */ + public function rocket_addon( $args ) { + echo $this->generate( 'fields/rocket-addon', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the import form template. + * + * @since 3.0 + */ + public function render_import_form() { + $args = []; + + /** + * Filter the maximum allowed upload size for import files. + * + * @since (WordPress) 2.3.0 + * + * @see wp_max_upload_size() + * + * @param int $max_upload_size Allowed upload size. Default 1 MB. + */ + $args['bytes'] = apply_filters( 'import_upload_size_limit', wp_max_upload_size() ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + $args['size'] = size_format( $args['bytes'] ); + $args['upload_dir'] = wp_upload_dir(); + $args['action'] = 'rocket_import_settings'; + $args['submit_text'] = __( 'Upload file and import settings', 'rocket' ); + + echo $this->generate( 'fields/import-form', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays a partial template. + * + * @since 3.0 + * + * @param string $part Partial template name. + */ + public function render_part( $part ) { + echo $this->generate( 'partials/' . $part ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Displays the radio_buttons field template. + * + * @since 3.10 + * + * @param array $args Array of arguments to populate the template. + */ + public function radio_buttons( $args ) { + echo $this->generate( 'fields/radio-buttons', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Renders the fields. + * + * @since 3.10 + * + * @param array $fields fields to render. + * + * @return void + */ + public function render_fields( $fields ) { + + foreach ( $fields as $id => $args ) { + $default = [ + 'type' => 'text', + 'label' => '', + 'description' => '', + 'class' => '', + 'container_class' => '', + 'default' => '', + 'helper' => '', + 'placeholder' => '', + 'parent' => '', + 'section' => '', + 'page' => '', + 'sanitize_callback' => 'sanitize_text_field', + 'input_attr' => '', + 'warning' => [], + ]; + + $args = wp_parse_args( $args, $default ); + + if ( empty( $args['id'] ) ) { + $args['id'] = $id; + } + + if ( ! empty( $args['input_attr'] ) ) { + $input_attr = ''; + + foreach ( $args['input_attr'] as $key => $value ) { + if ( 'disabled' === $key ) { + if ( 1 === $value ) { + $input_attr .= ' disabled'; + } + + continue; + } + + $input_attr .= ' ' . sanitize_key( $key ) . '="' . esc_attr( $value ) . '"'; + } + + $args['input_attr'] = $input_attr; + } + + if ( ! empty( $args['parent'] ) ) { + $args['parent'] = ' data-parent="' . esc_attr( $args['parent'] ) . '"'; + } + + if ( ! empty( $args['class'] ) ) { + $args['class'] = implode( ' ', array_map( 'sanitize_html_class', $args['class'] ) ); + } + + if ( ! empty( $args['container_class'] ) ) { + $args['container_class'] = implode( ' ', array_map( 'sanitize_html_class', $args['container_class'] ) ); + } + + call_user_func_array( [ $this, $args['type'] ], [ $args ] ); + } + } +} diff --git a/inc/Engine/Admin/Settings/ServiceProvider.php b/inc/Engine/Admin/Settings/ServiceProvider.php new file mode 100644 index 0000000..e027b72 --- /dev/null +++ b/inc/Engine/Admin/Settings/ServiceProvider.php @@ -0,0 +1,52 @@ +<?php +namespace WP_Rocket\Engine\Admin\Settings; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +/** + * Service provider for the WP Rocket settings. + * + * @since 3.5.5 Moves into the new architecture. + * @since 3.3 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'settings', + 'settings_render', + 'settings_page', + 'settings_page_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $this->getContainer()->add( 'settings', Settings::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + $this->getContainer()->add( 'settings_render', Render::class ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/settings' ); + $this->getContainer()->add( 'settings_page', Page::class ) + ->addArgument( $this->getContainer()->get( 'settings_page_config' ) ) + ->addArgument( $this->getContainer()->get( 'settings' ) ) + ->addArgument( $this->getContainer()->get( 'settings_render' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( $this->getContainer()->get( 'db_optimization' ) ) + ->addArgument( $this->getContainer()->get( 'user_client' ) ) + ->addArgument( $this->getContainer()->get( 'delay_js_sitelist' ) ); + $this->getContainer()->share( 'settings_page_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'settings_page' ) ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/Admin/Settings/Settings.php b/inc/Engine/Admin/Settings/Settings.php new file mode 100644 index 0000000..225411b --- /dev/null +++ b/inc/Engine/Admin/Settings/Settings.php @@ -0,0 +1,701 @@ +<?php +namespace WP_Rocket\Engine\Admin\Settings; + +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Addon\Sucuri\Subscriber as SucuriSubscriber; + +/** + * Settings class. + * + * @since 3.5.5 Moves into the new architecture. + */ +class Settings { + /** + * Options_Data instance. + * + * @since 3.0 + * + * @var Options_Data + */ + private $options; + + /** + * Array of settings to build the settings page. + * + * @since 3.0 + * + * @var array + */ + private $settings; + + /** + * Hidden settings on the settings page. + * + * @since 3.0 + * + * @var array + */ + private $hidden_settings; + + /** + * Font formats allowed to be preloaded. + * + * @since 3.6 + * @see $this->sanitize_font() + * + * @var array + */ + private $font_formats = [ + 'otf', + 'ttf', + 'svg', + 'woff', + 'woff2', + ]; + + /** + * Array of valid hosts. + * + * @since 3.6 + * @see $this->get_hosts() + * + * @var array + */ + private $hosts; + + /** + * Constructor + * + * @since 3.0 + * + * @param Options_Data $options Options_Data instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Adds a page section to the settings. + * + * A page section is a top-level block containing settings sections. + * + * @since 3.0 + * + * @param string $id Page section identifier. + * @param array $args { + * Data to build the section. + * + * @type string $title Section title. + * @type string $menu_description Description displayed in the navigation. + * } + * @return void + */ + public function add_page_section( $id, $args ) { + $args['id'] = $id; + + $this->settings[ $id ] = $args; + } + + /** + * Adds settings sections to the settings. + * + * A setting section is a block containing settings fields. + * + * @since 3.0 + * + * @param array $settings_sections { + * Data to build the section. + * + * @type string $title Section title. + * @type string $type Type of section. + * @type string $page Page section identifier it belongs to. + * @type string $description Section description. + * @type string $help Helper IDs for beacon. + * } + * @return void + */ + public function add_settings_sections( $settings_sections ) { + foreach ( $settings_sections as $id => $args ) { + $args['id'] = $id; + + $this->settings[ $args['page'] ]['sections'][ $id ] = $args; + } + } + + /** + * Adds settings fields to the settings. + * + * @since 3.0 + * + * @param array $settings_fields { + * Data to build the section. + * + * @type string $id Identifier. + * @type string $title Field title. + * } + * @return void + */ + public function add_settings_fields( $settings_fields ) { + foreach ( $settings_fields as $id => $args ) { + $args['id'] = $id; + $args['value'] = $this->options->get( $id, $args['default'] ); + $page = $args['page']; + $section = $args['section']; + unset( $args['page'], $args['section'] ); + /** + * Filters the field before add to the settings + * + * @since 3.10 + * + * @param array $input Array of sanitized values after being submitted by the form. + */ + $args = apply_filters( 'rocket_before_add_field_to_settings', $args ); + $this->settings[ $page ]['sections'][ $section ]['fields'][ $id ] = $args; + } + } + + /** + * Adds hidden settings fields to the settings. + * + * @since 3.0 + * + * @param array $hidden_settings_fields { + * Data to build the section. + * + * @type string $id Identifier. + * } + * @return void + */ + public function add_hidden_settings_fields( $hidden_settings_fields ) { + foreach ( $hidden_settings_fields as $id ) { + $value = $this->options->get( $id ); + + $this->hidden_settings[] = [ + 'id' => $id, + 'value' => $value, + ]; + } + } + + /** + * Returns the plugin settings + * + * @since 3.0 + * + * @return array + */ + public function get_settings() { + return $this->settings; + } + + /** + * Returns the plugin hidden settings + * + * @since 3.0 + * + * @return array + */ + public function get_hidden_settings() { + return $this->hidden_settings; + } + + /** + * Sanitizes the submitted values. + * + * @since 3.0 + * + * @param array $input Array of values submitted by the form. + * @return array + */ + public function sanitize_callback( $input ) { + global $wp_settings_errors; + + $input['cache_logged_user'] = ! empty( $input['cache_logged_user'] ) ? 1 : 0; + + $input['cache_ssl'] = ! empty( $input['cache_ssl'] ) ? 1 : 0; + + $input['cache_mobile'] = ! empty( $input['cache_mobile'] ) ? 1 : 0; + $input['do_caching_mobile_files'] = ! empty( $input['do_caching_mobile_files'] ) ? 1 : 0; + + $input['minify_google_fonts'] = ! empty( $input['minify_google_fonts'] ) ? 1 : 0; + + // Option : Minification CSS & JS. + $input['minify_css'] = ! empty( $input['minify_css'] ) ? 1 : 0; + $input['minify_js'] = ! empty( $input['minify_js'] ) ? 1 : 0; + + $input['minify_concatenate_js'] = ! empty( $input['minify_concatenate_js'] ) ? 1 : 0; + + $input['defer_all_js'] = ! empty( $input['defer_all_js'] ) ? 1 : 0; + $input['exclude_defer_js'] = ! empty( $input['exclude_defer_js'] ) ? rocket_sanitize_textarea_field( 'exclude_defer_js', $input['exclude_defer_js'] ) : []; + + $input['emoji'] = ! empty( $input['emoji'] ) ? 1 : 0; + + $input['lazyload'] = ! empty( $input['lazyload'] ) ? 1 : 0; + $input['lazyload_iframes'] = ! empty( $input['lazyload_iframes'] ) ? 1 : 0; + $input['lazyload_youtube'] = ! empty( $input['lazyload_youtube'] ) ? 1 : 0; + + // If iframes lazyload is not checked, uncheck youtube thumbnail option too. + if ( 0 === $input['lazyload_iframes'] ) { + $input['lazyload_youtube'] = 0; + } + + // Option : Purge interval. + $input['purge_cron_interval'] = isset( $input['purge_cron_interval'] ) ? (int) $input['purge_cron_interval'] : $this->options->get( 'purge_cron_interval' ); + + $allowed_cron_units = [ + 'HOUR_IN_SECONDS' => 1, + 'DAY_IN_SECONDS' => 1, + ]; + + $input['purge_cron_unit'] = isset( $input['purge_cron_unit'], $allowed_cron_units[ $input['purge_cron_unit'] ] ) ? $input['purge_cron_unit'] : $this->options->get( 'purge_cron_unit' ); + + // Option : Prefetch DNS requests. + $input['dns_prefetch'] = $this->sanitize_dns_prefetch( $input ); + + // Option : Empty the cache of the following pages when updating a post. + if ( ! empty( $input['cache_purge_pages'] ) ) { + $input['cache_purge_pages'] = rocket_sanitize_textarea_field( 'cache_purge_pages', $input['cache_purge_pages'] ); + } else { + $input['cache_purge_pages'] = []; + } + + // Option : Never cache the following pages. + if ( ! empty( $input['cache_reject_uri'] ) ) { + $input['cache_reject_uri'] = rocket_sanitize_textarea_field( 'cache_reject_uri', $input['cache_reject_uri'] ); + $input['cache_reject_uri'] = $this->check_global_exclusion( $input['cache_reject_uri'] ); + } else { + $input['cache_reject_uri'] = []; + } + + // Option : Don't cache pages that use the following cookies. + if ( ! empty( $input['cache_reject_cookies'] ) ) { + $input['cache_reject_cookies'] = rocket_sanitize_textarea_field( 'cache_reject_cookies', $input['cache_reject_cookies'] ); + } else { + $input['cache_reject_cookies'] = []; + } + + // Option : Cache pages that use the following query strings (GET parameters). + if ( ! empty( $input['cache_query_strings'] ) ) { + $input['cache_query_strings'] = rocket_sanitize_textarea_field( 'cache_query_strings', $input['cache_query_strings'] ); + } else { + $input['cache_query_strings'] = []; + } + + // Option : Never send cache pages for these user agents. + if ( ! empty( $input['cache_reject_ua'] ) ) { + $input['cache_reject_ua'] = rocket_sanitize_textarea_field( 'cache_reject_ua', $input['cache_reject_ua'] ); + } else { + $input['cache_reject_ua'] = []; + } + + // Option : CSS files to exclude from the minification. + if ( ! empty( $input['exclude_css'] ) ) { + $input['exclude_css'] = rocket_sanitize_textarea_field( 'exclude_css', $input['exclude_css'] ); + } else { + $input['exclude_css'] = []; + } + + // Option : JS files to exclude from the minification. + if ( ! empty( $input['exclude_js'] ) ) { + $input['exclude_js'] = rocket_sanitize_textarea_field( 'exclude_js', $input['exclude_js'] ); + } else { + $input['exclude_js'] = []; + } + + // Option: inline JS patterns to exclude from combine JS. + if ( ! empty( $input['exclude_inline_js'] ) ) { + $input['exclude_inline_js'] = rocket_sanitize_textarea_field( 'exclude_inline_js', $input['exclude_inline_js'] ); + } else { + $input['exclude_inline_js'] = []; + } + + // Option: Async CSS. + $input['async_css'] = ! empty( $input['async_css'] ) ? 1 : 0; + + // Option: Critical CSS. + $input['critical_css'] = ! empty( $input['critical_css'] ) ? wp_strip_all_tags( str_replace( [ '<style>', '</style>' ], '', $input['critical_css'] ), [ "\'", '\"' ] ) : ''; + + // Database options. + $input['database_revisions'] = ! empty( $input['database_revisions'] ) ? 1 : 0; + $input['database_auto_drafts'] = ! empty( $input['database_auto_drafts'] ) ? 1 : 0; + $input['database_trashed_posts'] = ! empty( $input['database_trashed_posts'] ) ? 1 : 0; + $input['database_spam_comments'] = ! empty( $input['database_spam_comments'] ) ? 1 : 0; + $input['database_trashed_comments'] = ! empty( $input['database_trashed_comments'] ) ? 1 : 0; + $input['database_all_transients'] = ! empty( $input['database_all_transients'] ) ? 1 : 0; + $input['database_optimize_tables'] = ! empty( $input['database_optimize_tables'] ) ? 1 : 0; + $input['schedule_automatic_cleanup'] = ! empty( $input['schedule_automatic_cleanup'] ) ? 1 : 0; + + $cleanup_frequencies = [ + 'daily' => 1, + 'weekly' => 1, + 'monthly' => 1, + ]; + + $input['automatic_cleanup_frequency'] = isset( $input['automatic_cleanup_frequency'], $cleanup_frequencies[ $input['automatic_cleanup_frequency'] ] ) ? $input['automatic_cleanup_frequency'] : $this->options->get( 'automatic_cleanup_frequency' ); + + if ( 1 !== $input['schedule_automatic_cleanup'] && ( 'daily' !== $input['automatic_cleanup_frequency'] || 'weekly' !== $input['automatic_cleanup_frequency'] || 'monthly' !== $input['automatic_cleanup_frequency'] ) ) { + $input['automatic_cleanup_frequency'] = $this->options->get( 'automatic_cleanup_frequency' ); + } + + // Options: Activate bot preload. + $input['manual_preload'] = ! empty( $input['manual_preload'] ) ? 1 : 0; + + // Option : fonts to preload. + $input['preload_fonts'] = ! empty( $input['preload_fonts'] ) ? $this->sanitize_fonts( $input['preload_fonts'] ) : []; + + // Options: Sucuri cache. And yeah, there's a typo, but now it's too late to fix ^^'. + $input['sucury_waf_cache_sync'] = ! empty( $input['sucury_waf_cache_sync'] ) ? 1 : 0; + + if ( defined( 'WP_ROCKET_SUCURI_API_KEY' ) ) { + $input['sucury_waf_api_key'] = WP_ROCKET_SUCURI_API_KEY; + } else { + $input['sucury_waf_api_key'] = isset( $input['sucury_waf_api_key'] ) ? sanitize_text_field( $input['sucury_waf_api_key'] ) : ''; + } + + $input['sucury_waf_api_key'] = trim( $input['sucury_waf_api_key'] ); + + if ( ! SucuriSubscriber::is_api_key_valid( $input['sucury_waf_api_key'] ) ) { + $input['sucury_waf_api_key'] = ''; + + if ( $input['sucury_waf_cache_sync'] && empty( $input['ignore'] ) ) { + add_settings_error( 'general', 'sucuri_waf_api_key_invalid', __( 'Sucuri Add-on: The API key for the Sucuri firewall must be in format <code>{32 characters}/{32 characters}</code>.', 'rocket' ), 'error' ); + } + } + + // Options : Heartbeat. + $choices = [ + '' => 1, + 'reduce_periodicity' => 1, + 'disable' => 1, + ]; + + $input['control_heartbeat'] = ! empty( $input['control_heartbeat'] ) ? 1 : 0; + $input['heartbeat_site_behavior'] = isset( $input['heartbeat_site_behavior'], $choices[ $input['heartbeat_site_behavior'] ] ) ? $input['heartbeat_site_behavior'] : ''; + $input['heartbeat_admin_behavior'] = isset( $input['heartbeat_admin_behavior'], $choices[ $input['heartbeat_admin_behavior'] ] ) ? $input['heartbeat_admin_behavior'] : ''; + $input['heartbeat_editor_behavior'] = isset( $input['heartbeat_editor_behavior'], $choices[ $input['heartbeat_editor_behavior'] ] ) ? $input['heartbeat_editor_behavior'] : ''; + + // Option : CDN. + $input['cdn'] = ! empty( $input['cdn'] ) ? 1 : 0; + + // Option : CDN Cnames. + if ( isset( $input['cdn_cnames'] ) ) { + $input['cdn_cnames'] = $this->sanitize_cdn_cnames( $input['cdn_cnames'] ); + } else { + $input['cdn_cnames'] = []; + } + + if ( ! $input['cdn_cnames'] ) { + $input['cdn_zone'] = []; + } else { + $total_cdn_cnames = max( array_keys( $input['cdn_cnames'] ) ); + for ( $i = 0; $i <= $total_cdn_cnames; $i++ ) { + if ( ! isset( $input['cdn_cnames'][ $i ] ) ) { + unset( $input['cdn_zone'][ $i ] ); + } else { + $allowed_cdn_zones = [ + 'all' => 1, + 'images' => 1, + 'css_and_js' => 1, + 'css' => 1, + 'js' => 1, + ]; + + $input['cdn_zone'][ $i ] = isset( $allowed_cdn_zones[ $input['cdn_zone'][ $i ] ] ) ? $input['cdn_zone'][ $i ] : 'all'; + } + } + + $input['cdn_cnames'] = array_values( $input['cdn_cnames'] ); + $input['cdn_cnames'] = array_map( 'untrailingslashit', $input['cdn_cnames'] ); + + ksort( $input['cdn_zone'] ); + + $input['cdn_zone'] = array_values( $input['cdn_zone'] ); + } + + // Option : Files to exclude from the CDN process. + if ( ! empty( $input['cdn_reject_files'] ) ) { + $input['cdn_reject_files'] = rocket_sanitize_textarea_field( 'cdn_reject_files', $input['cdn_reject_files'] ); + } else { + $input['cdn_reject_files'] = []; + } + + $input['varnish_auto_purge'] = ! empty( $input['varnish_auto_purge'] ) ? 1 : 0; + + if ( ! rocket_valid_key() ) { + $checked = rocket_check_key(); + } + + if ( isset( $checked ) && is_array( $checked ) ) { + $input['consumer_key'] = $checked['consumer_key']; + $input['consumer_email'] = $checked['consumer_email']; + $input['secret_key'] = $checked['secret_key']; + } + + if ( ! empty( $input['secret_key'] ) && empty( $input['ignore'] ) && rocket_valid_key() ) { + // Add a "Settings saved." admin notice only if not already added. + $notices = array_merge( (array) $wp_settings_errors, (array) get_transient( 'settings_errors' ) ); + $notices = array_filter( + $notices, + function ( $error ) { + if ( ! $error || ! is_array( $error ) ) { + return false; + } + if ( ! isset( $error['setting'], $error['code'], $error['type'] ) ) { + return false; + } + return 'general' === $error['setting'] && 'settings_updated' === $error['code'] && 'updated' === $error['type']; + } + ); + + if ( ! $notices ) { + add_settings_error( 'general', 'settings_updated', __( 'Settings saved.', 'rocket' ), 'updated' ); + } + } + + unset( $input['ignore'] ); + + /** + * Filters the sanitized input before returning the array + * + * @param array $input Array of sanitized values after being submitted by the form. + * @param Settings $settings Current class instance. + */ + return apply_filters( 'rocket_input_sanitize', $input, $this ); + } + + /** + * Sanitizes the returned value of a checkbox + * + * @since 3.0 + * + * @param array $array Options array. + * @param string $key Array key to check. + * @return int + */ + public function sanitize_checkbox( $array, $key ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound + return isset( $array[ $key ] ) && ! empty( $array[ $key ] ) ? 1 : 0; + } + + /** + * Sanitizes the DNS Prefetch sub-option value + * + * @since 3.5.1 + * + * @param array $input Array of values for the WP Rocket settings option. + * @return array Sanitized array for the DNS Prefetch sub-option + */ + private function sanitize_dns_prefetch( array $input ) { + if ( empty( $input['dns_prefetch'] ) ) { + return []; + } + + $value = $input['dns_prefetch']; + + if ( ! is_array( $value ) ) { + $value = explode( "\n", $value ); + } + + $urls = []; + + foreach ( $value as $url ) { + $url = trim( $url ); + + if ( empty( $url ) ) { + continue; + } + + $url = preg_replace( '/^(?:https?)?:?\/{3,}/i', 'http://', $url ); + $url = esc_url_raw( $url ); + + if ( empty( $url ) ) { + continue; + } + + $urls[] = $url; + } + + if ( empty( $urls ) ) { + return []; + } + + return array_unique( + array_map( + function ( $url ) { + return '//' . wp_parse_url( $url, PHP_URL_HOST ); + }, + $urls + ) + ); + } + + /** + * Sanitize a list of font file paths. + * + * @since 3.6 + * + * @param array|string $files List of filepaths to sanitize. Can be an array of strings or a string listing paths separated by "\n". + * @return array Sanitized filepaths. + */ + private function sanitize_fonts( $files ) { + if ( ! is_array( $files ) ) { + $files = explode( "\n", trim( $files ) ); + } + + $files = array_map( [ $this, 'sanitize_font' ], $files ); + + return array_unique( array_filter( $files ) ); + } + + /** + * Sanitize an entry for the preload fonts option. + * + * @since 3.6 + * + * @param string $file URL or path to a font file. + * @return string|bool + */ + private function sanitize_font( $file ) { + if ( ! is_string( $file ) ) { + return false; + } + + $file = trim( $file ); + + if ( empty( $file ) ) { + return false; + } + + $parsed_url = wp_parse_url( $file ); + $hosts = $this->get_hosts(); + + if ( ! empty( $parsed_url['host'] ) ) { + $match = false; + + foreach ( $hosts as $host ) { + if ( false !== strpos( $file, $host ) ) { + $match = true; + break; + } + } + + if ( ! $match ) { + return false; + } + } + + $file = str_replace( [ 'http:', 'https:' ], '', $file ); + $file = str_replace( $hosts, '', $file ); + $file = '/' . ltrim( $file, '/' ); + + $ext = strtolower( pathinfo( $parsed_url['path'], PATHINFO_EXTENSION ) ); + + if ( ! in_array( $ext, $this->font_formats, true ) ) { + return false; + } + + return $file; + } + + /** + * Gets an array of valid hosts. + * + * @since 3.6 + * + * @return array + */ + private function get_hosts() { + if ( isset( $this->hosts ) ) { + return $this->hosts; + } + + $urls = (array) $this->options->get( 'cdn_cnames', [] ); + $urls[] = home_url(); + $urls = array_map( 'rocket_add_url_protocol', $urls ); + + foreach ( $urls as $url ) { + $parsed_url = get_rocket_parse_url( $url ); + + if ( empty( $parsed_url['host'] ) ) { + continue; + } + + $parsed_url['path'] = ( '/' === $parsed_url['path'] ) ? '' : $parsed_url['path']; + + $this->hosts[] = "//{$parsed_url['host']}{$parsed_url['path']}"; + } + + if ( empty( $this->hosts ) ) { + $this->hosts = []; + } + + return $this->hosts; + } + + /** + * Sets radio buttons sub fields value from wp options. + * + * @since 3.10 + * + * @param array $sub_fields Array of fields to display.. + * @return array + */ + public function set_radio_buttons_sub_fields_value( $sub_fields ) { + + foreach ( $sub_fields as $id => &$args ) { + $args['id'] = $id; + $args['value'] = $this->options->get( $id, $args['default'] ); + $args = apply_filters( 'rocket_before_render_option_extra_field', $args ); + } + + return $sub_fields; + } + + /** + * Checks if the global exclusion pattern is used in the given field + * + * @since 3.10.3 + * + * @param array $field A field array value. + * + * @return array + */ + private function check_global_exclusion( $field ) { + if ( ! in_array( '/(.*)', $field, true ) ) { + return $field; + } + + add_settings_error( 'general', 'reject_uri_global_exclusion', __( 'Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site.', 'rocket' ) ); + + return array_diff_key( $field, array_flip( array_keys( $field, '/(.*)', true ) ) ); + } + + /** + * Sanitizes the CDN cnames values + * + * @param array $cnames Array of user submitted values for the cnames. + * + * @return array + */ + private function sanitize_cdn_cnames( array $cnames ) { + $cnames = array_map( + function ( $cname ) { + $cname = trim( $cname ); + + if ( empty( $cname ) ) { + return false; + } + + $cname_parts = get_rocket_parse_url( rocket_add_url_protocol( $cname ) ); + + if ( false === filter_var( $cname_parts['host'], FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME ) ) { + return false; + } + + return $cname_parts['scheme'] . '://' . $cname_parts['host'] . $cname_parts['path']; + }, + $cnames + ); + + return array_unique( array_filter( $cnames ) ); + } +} diff --git a/inc/Engine/Admin/Settings/Subscriber.php b/inc/Engine/Admin/Settings/Subscriber.php new file mode 100644 index 0000000..691cc24 --- /dev/null +++ b/inc/Engine/Admin/Settings/Subscriber.php @@ -0,0 +1,234 @@ +<?php +namespace WP_Rocket\Engine\Admin\Settings; + +use Imagify_Partner; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * WP Rocket settings page subscriber. + * + * @since 3.5.5 Moves into the new architecture. + * @since 3.3 + */ +class Subscriber implements Subscriber_Interface { + /** + * Page instance + * + * @var Page + */ + private $page; + + /** + * Creates an instance of the object. + * + * @param Page $page Page instance. + */ + public function __construct( Page $page ) { + $this->page = $page; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.3 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_menu' => 'add_admin_page', + 'admin_init' => 'configure', + 'wp_ajax_rocket_refresh_customer_data' => 'refresh_customer_data', + 'wp_ajax_rocket_toggle_option' => 'toggle_option', + 'rocket_settings_menu_navigation' => [ + [ 'add_menu_tools_page' ], + [ 'add_imagify_page', 9 ], + [ 'add_tutorials_page', 11 ], + ], + 'admin_enqueue_scripts' => [ + [ 'enqueue_rocket_scripts' ], + [ 'enqueue_url' ], + ], + 'script_loader_tag' => [ 'async_wistia_script', 10, 2 ], + 'rocket_after_settings_radio_options' => [ 'display_radio_options_sub_fields', 11 ], + + ]; + } + + /** + * Enqueue the URL for option exporting. + * + * @return void + */ + public function enqueue_url() { + wp_localize_script( + 'wpr-admin-common', + 'rocket_option_export', + [ + 'rest_url_option_export' => rest_url( 'wp-rocket/v1/options/export/' ), + ] + ); + } + + /** + * Enqueues WP Rocket scripts on the settings page + * + * @since 3.6 + * + * @param string $hook The current admin page. + * + * @return void + */ + public function enqueue_rocket_scripts( $hook ) { + $this->page->enqueue_rocket_scripts( $hook ); + } + + /** + * Adds the async attribute to the Wistia script + * + * @param string $tag The <script> tag for the enqueued script. + * @param string $handle The script's registered handle. + * + * @return string + */ + public function async_wistia_script( $tag, $handle ) { + return $this->page->async_wistia_script( $tag, $handle ); + } + + /** + * Adds plugin page to the Settings menu. + * + * @since 3.0 + */ + public function add_admin_page() { + add_options_page( + $this->page->get_title(), + /** + * Filters the menu title to display in the Settings sub-menu + * + * @since 3.7.4 + * + * @param string $menu_title The text to be used for the menu. + */ + apply_filters( 'rocket_menu_title', $this->page->get_title() ), + $this->page->get_capability(), + $this->page->get_slug(), + [ $this->page, 'render_page' ] + ); + } + + /** + * Registers the settings, page sections, fields sections and fields. + * + * @since 3.0 + */ + public function configure() { + $this->page->configure(); + } + + /** + * Gets customer data to refresh it on the dashboard with AJAX. + * + * @since 3.0 + * + * @return string + */ + public function refresh_customer_data() { + check_ajax_referer( 'rocket-ajax' ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_die(); + } + + delete_transient( 'wp_rocket_customer_data' ); + + return wp_send_json_success( $this->page->customer_data() ); + } + + /** + * Toggle sliding checkboxes option value. + * + * @since 3.0 + */ + public function toggle_option() { + $this->page->toggle_option(); + } + + /** + * Add Tools section to navigation. + * + * @since 3.0 + * + * @param array $navigation Array of menu items. + * @return array + */ + public function add_menu_tools_page( $navigation ) { + $navigation['tools'] = [ + 'id' => 'tools', + 'title' => __( 'Tools', 'rocket' ), + 'menu_description' => __( 'Import, Export, Rollback', 'rocket' ), + ]; + + return $navigation; + } + + /** + * Add Imagify section to navigation. + * + * @since 3.2 + * + * @param array $navigation Array of menu items. + * @return array + */ + public function add_imagify_page( $navigation ) { + if ( + rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) + || + Imagify_Partner::has_imagify_api_key() + ) { + return $navigation; + } + + $navigation['imagify'] = [ + 'id' => 'imagify', + 'title' => __( 'Image Optimization', 'rocket' ), + 'menu_description' => __( 'Compress your images', 'rocket' ), + ]; + + return $navigation; + } + + /** + * Add Tutorials section to navigation. + * + * @since 3.4 + * + * @param array $navigation Array of menu items. + * @return array + */ + public function add_tutorials_page( $navigation ) { + $navigation['tutorials'] = [ + 'id' => 'tutorials', + 'title' => __( 'Tutorials', 'rocket' ), + 'menu_description' => __( 'Getting started and how to videos', 'rocket' ), + ]; + + return $navigation; + } + + /** + * Displays the radio option sub fields + * + * @since 3.10 + * + * @param array $option_data array of option_id and sub_fields of the option. + * + * @return void + */ + public function display_radio_options_sub_fields( $option_data ) { + if ( empty( $option_data['sub_fields'] ) ) { + return; + } + $this->page->display_radio_options_sub_fields( $option_data['sub_fields'] ); + } +} diff --git a/inc/Engine/CDN/Admin/Subscriber.php b/inc/Engine/CDN/Admin/Subscriber.php new file mode 100644 index 0000000..281259b --- /dev/null +++ b/inc/Engine/CDN/Admin/Subscriber.php @@ -0,0 +1,32 @@ +<?php +declare(strict_types=1); + +namespace WP_Rocket\Engine\CDN\Admin; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +class Subscriber implements Subscriber_Interface { + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 9 ], + ]; + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['cdn'] = __( 'CDN', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/CDN/CDN.php b/inc/Engine/CDN/CDN.php new file mode 100644 index 0000000..a6245c5 --- /dev/null +++ b/inc/Engine/CDN/CDN.php @@ -0,0 +1,455 @@ +<?php +declare(strict_types=1); + +namespace WP_Rocket\Engine\CDN; + +use WP_Rocket\Admin\Options_Data; + +/** + * CDN class + * + * @since 3.4 + */ +class CDN { + /** + * WP Rocket Options instance + * + * @var Options_Data + */ + private $options; + + /** + * Home URL host + * + * @var string + */ + private $home_host; + + /** + * Constructor + * + * @param Options_Data $options WP Rocket Options instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Search & Replace URLs with the CDN URLs in the provided content + * + * @since 3.4 + * + * @param string $html HTML content. + * @return string + */ + public function rewrite( $html ) { + $relative_path_pattern = ''; + + $buffer = $html; + + /** + * Filters the exclusion of CDN rewritting inside inline scripts + * + * @since 3.10.5 + * + * @param bool $enable True to exclude, false otherwise. + */ + if ( apply_filters( 'rocket_cdn_exclude_inline_scripts', true ) ) { + $buffer = $this->remove_inline_scripts( $html ); + } + + /** + * Filters the CDN rewriting of relative paths + * + * @since 3.10.5 + * + * @param bool $enable True to enable, false otherwise. + */ + if ( apply_filters( 'rocket_cdn_relative_paths', true ) ) { + $relative_path_pattern = '|\/[^/](?:[^"\')\s>]+\.[[:alnum:]]+)'; + } + + $pattern = '#[("\']\s*(?<url>(?:(?:https?:|)' . preg_quote( $this->get_base_url(), '#' ) . ')\/(?:(?:(?:' . $this->get_allowed_paths() . ')[^"\',)]+))' . $relative_path_pattern . ')\s*["\')]#i'; + + if ( ! preg_match_all( $pattern, $buffer, $matches, PREG_SET_ORDER ) ) { + return $html; + } + + foreach ( $matches as $match ) { + $cdn_url = str_replace( $match['url'], $this->rewrite_url( $match['url'] ), $match[0] ); + $html = str_replace( $match[0], $cdn_url, $html ); + } + + return $html; + } + + /** + * Rewrites URLs in a srcset attribute using the CDN URL + * + * @since 3.4.0.4 + * + * @param string $html HTML content. + * @return string + */ + public function rewrite_srcset( $html ) { + $pattern = '#\s+(?:' . $this->get_srcset_attributes() . ')?srcset\s*=\s*["\']\s*(?<sources>[^"\',\s]+\.[^"\',\s]+(?:\s+\d+[wx])?(?:\s*,\s*[^"\',\s]+\.[^"\',\s]+(?:\s+\d+[wx])?)*)\s*["\']#i'; + + if ( ! preg_match_all( $pattern, $html, $srcsets, PREG_SET_ORDER ) ) { + return $html; + } + foreach ( $srcsets as $srcset ) { + $sources = explode( ',', $srcset['sources'] ); + $sources = array_unique( array_map( 'trim', $sources ) ); + $cdn_srcset = $srcset['sources']; + foreach ( $sources as $source ) { + $url = preg_split( '#\s+#', trim( $source ) ); + $cdn_source = str_replace( $url[0], $this->rewrite_url( $url[0] ), $source ); + $cdn_srcset = str_replace( $source, $cdn_source, $cdn_srcset ); + } + + $cdn_srcsets = str_replace( $srcset['sources'], $cdn_srcset, $srcset[0] ); + $html = str_replace( $srcset[0], $cdn_srcsets, $html ); + } + + return $html; + } + + /** + * Rewrites an URL with the CDN URL + * + * @since 3.4 + * + * @param string $url Original URL. + * @return string + */ + public function rewrite_url( $url ) { + if ( ! $this->options->get( 'cdn', 0 ) ) { + return $url; + } + + if ( $this->is_excluded( $url ) ) { + return $url; + } + + $cdn_urls = $this->get_cdn_urls( $this->get_zones_for_url( $url ) ); + + if ( ! $cdn_urls ) { + return $url; + } + + $parsed_url = wp_parse_url( $url ); + $cdn_url = untrailingslashit( $cdn_urls[ ( abs( crc32( $parsed_url['path'] ) ) % count( $cdn_urls ) ) ] ); + + if ( ! isset( $parsed_url['host'] ) ) { + return rocket_add_url_protocol( $cdn_url . '/' . ltrim( $url, '/' ) ); + } + + $home_host = $this->get_home_host(); + + if ( ! isset( $parsed_url['scheme'] ) ) { + return str_replace( $home_host, rocket_remove_url_protocol( $cdn_url ), $url ); + } + + $home_url = [ + 'http://' . $home_host, + 'https://' . $home_host, + ]; + + return str_replace( $home_url, rocket_add_url_protocol( $cdn_url ), $url ); + } + + /** + * Rewrites URLs to CDN URLs in CSS content + * + * @since 3.4 + * + * @param string $content CSS content. + * @return string + */ + public function rewrite_css_properties( $content ) { + if ( ! preg_match_all( '#url\(\s*(\'|")?\s*(?![\'"]?data)(?<url>(?:https?:|)' . preg_quote( $this->get_base_url(), '#' ) . '\/[^"|\'|\)|\s]+)\s*#i', $content, $matches, PREG_SET_ORDER ) ) { + return $content; + } + + foreach ( $matches as $property ) { + /** + * Filters the URL of the CSS property + * + * @since 2.8 + * + * @param string $url URL of the CSS property. + */ + $cdn_url = $this->rewrite_url( apply_filters( 'rocket_cdn_css_properties_url', $property['url'] ) ); + $replacement = str_replace( $property['url'], $cdn_url, $property[0] ); + $content = str_replace( $property[0], $replacement, $content ); + } + + return $content; + } + + /** + * Get all CDN URLs for one or more zones. + * + * @since 2.1 + * @since 3.0 Don't check for WP Rocket CDN option activated to be able to use the function on Hosting with CDN auto-enabled. + * + * @param array $zones List of zones. Default is [ 'all' ]. + * @return array + */ + public function get_cdn_urls( $zones = [ 'all' ] ) { + $hosts = []; + $zones = (array) $zones; + $cdn_urls = $this->options->get( 'cdn_cnames', [] ); + + if ( $cdn_urls ) { + $cdn_zones = $this->options->get( 'cdn_zone', [] ); + + foreach ( $cdn_urls as $k => $urls ) { + if ( ! in_array( $cdn_zones[ $k ], $zones, true ) ) { + continue; + } + + $urls = explode( ',', $urls ); + $urls = array_map( 'trim', $urls ); + + foreach ( $urls as $url ) { + $hosts[] = $url; + } + } + } + + /** + * Filter all CDN URLs. + * + * @since 2.7 + * @since 3.4 Added $zone parameter. + * + * @param array $hosts List of CDN URLs. + * @param array $zones List of zones. Default is [ 'all' ]. + */ + $hosts = (array) apply_filters( 'rocket_cdn_cnames', $hosts, $zones ); + $hosts = array_filter( $hosts ); + $hosts = array_flip( array_flip( $hosts ) ); + $hosts = array_values( $hosts ); + + return $hosts; + } + + /** + * Gets the base URL for the website + * + * @since 3.4 + * + * @return string + */ + private function get_base_url() { + return '//' . $this->get_home_host(); + } + + /** + * Gets the allowed paths as a regex pattern for the CDN rewrite + * + * @since 3.4 + * + * @return string + */ + private function get_allowed_paths() { + $wp_content_dirname = ltrim( trailingslashit( wp_parse_url( content_url(), PHP_URL_PATH ) ), '/' ); + $wp_includes_dirname = ltrim( trailingslashit( wp_parse_url( includes_url(), PHP_URL_PATH ) ), '/' ); + + $upload_dirname = ''; + $uploads_info = wp_upload_dir(); + + if ( ! empty( $uploads_info['baseurl'] ) ) { + $upload_dirname = '|' . ltrim( trailingslashit( wp_parse_url( $uploads_info['baseurl'], PHP_URL_PATH ) ), '/' ); + } + + return $wp_content_dirname . $upload_dirname . '|' . $wp_includes_dirname; + } + + /** + * Checks if the provided URL can be rewritten with the CDN URL + * + * @since 3.4 + * + * @param string $url URL to check. + * @return boolean + */ + public function is_excluded( $url ) { + $path = wp_parse_url( $url, PHP_URL_PATH ); + + $excluded_extensions = [ + 'php', + 'html', + 'htm', + 'cfm', + ]; + + if ( in_array( pathinfo( $path, PATHINFO_EXTENSION ), $excluded_extensions, true ) ) { + return true; + } + + if ( ! $path ) { + return true; + } + + if ( '/' === $path ) { + return true; + } + + if ( preg_match( '#^(' . $this->get_excluded_files( '#' ) . ')$#', $path ) ) { + return true; + } + + return false; + } + + /** + * Gets the home URL host + * + * @since 3.5.5 + * + * @return string + */ + private function get_home_host() { + if ( empty( $this->home_host ) ) { + $this->home_host = wp_parse_url( home_url(), PHP_URL_HOST ); + } + + return $this->home_host; + } + + /** + * Gets the CDN zones for the provided URL + * + * @since 3.4 + * + * @param string $url URL to check. + * @return array + */ + private function get_zones_for_url( $url ) { + $zones = [ 'all' ]; + + $ext = pathinfo( wp_parse_url( $url, PHP_URL_PATH ), PATHINFO_EXTENSION ); + + $image_types = [ + 'jpg', + 'jpeg', + 'jpe', + 'png', + 'gif', + 'webp', + 'bmp', + 'tiff', + 'svg', + ]; + + if ( 'css' === $ext || 'js' === $ext ) { + $zones[] = 'css_and_js'; + } + + if ( 'css' === $ext ) { + $zones[] = 'css'; + } + + if ( 'js' === $ext ) { + $zones[] = 'js'; + } + + if ( in_array( $ext, $image_types, true ) ) { + $zones[] = 'images'; + } + + return $zones; + } + + /** + * Get all files we don't allow to get in CDN. + * + * @since 2.5 + * + * @param string $delimiter RegEx delimiter. + * @return string A pipe-separated list of excluded files. + */ + private function get_excluded_files( $delimiter ) { + $files = $this->options->get( 'cdn_reject_files', [] ); + + /** + * Filter the excluded files. + * + * @since 2.5 + * + * @param array $files List of excluded files. + */ + $files = (array) apply_filters( 'rocket_cdn_reject_files', $files ); + $files = array_filter( $files ); + + if ( ! $files ) { + return ''; + } + + $files = array_flip( array_flip( $files ) ); + $files = array_map( + function ( $file ) use ( $delimiter ) { + return str_replace( $delimiter, '\\' . $delimiter, $file ); + }, + $files + ); + + return implode( '|', $files ); + } + + /** + * Get srcset attributes to rewrite to the CDN. + * + * @since 3.8.7 + * + * @return string A pipe-separated list of srcset attributes. + */ + private function get_srcset_attributes() { + /** + * Filter the srcset attributes. + * + * @since 3.8.7 + * + * @param array $srcset_attributes List of srcset attributes. + */ + $srcset_attributes = (array) apply_filters( + 'rocket_cdn_srcset_attributes', + [ + 'data-lazy-', + 'data-', + ] + ); + return implode( '|', $srcset_attributes ); + } + + /** + * Removes inline scripts from the HTML + * + * @since 3.10.5 + * + * @param string $html HTML content. + * + * @return string + */ + private function remove_inline_scripts( $html ): string { + if ( ! preg_match_all( '#<script(?:[^>]*)>(?<content>[\s\S]*?)</script>#msi', $html, $matches, PREG_SET_ORDER ) ) { + return $html; + } + + if ( empty( $matches ) ) { + return $html; + } + + foreach ( $matches as $inline_js ) { + if ( empty( $inline_js['content'] ) ) { + continue; + } + + $html = str_replace( $inline_js[0], '', $html ); + } + + return $html; + } +} diff --git a/inc/Engine/CDN/RocketCDN/APIClient.php b/inc/Engine/CDN/RocketCDN/APIClient.php new file mode 100644 index 0000000..526366c --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/APIClient.php @@ -0,0 +1,286 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Error; + +/** + * Class to Interact with the RocketCDN API + */ +class APIClient { + const ROCKETCDN_API = 'https://rocketcdn.me/api/'; + + /** + * Gets current RocketCDN subscription data from cache if it exists + * + * Else do a request to the API to get fresh data + * + * @since 3.5 + * + * @return array + */ + public function get_subscription_data() { + $status = get_transient( 'rocketcdn_status' ); + + if ( false !== $status ) { + return $status; + } + + return $this->get_remote_subscription_data(); + } + + /** + * Gets fresh RocketCDN subscription data from the API + * + * @since 3.5 + * + * @return array + */ + private function get_remote_subscription_data() { + $default = [ + 'id' => 0, + 'is_active' => false, + 'cdn_url' => '', + 'subscription_next_date_update' => 0, + 'subscription_status' => 'cancelled', + ]; + + $token = get_option( 'rocketcdn_user_token' ); + + if ( empty( $token ) ) { + return $default; + } + + $args = [ + 'headers' => [ + 'Authorization' => 'Token ' . $token, + ], + ]; + + $response = wp_remote_get( + self::ROCKETCDN_API . 'website/search/?url=' . home_url(), + $args + ); + + if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { + $this->set_status_transient( $default, 3 * MINUTE_IN_SECONDS ); + + return $default; + } + + $data = wp_remote_retrieve_body( $response ); + + if ( empty( $data ) ) { + $this->set_status_transient( $default, 3 * MINUTE_IN_SECONDS ); + + return $default; + } + + $data = json_decode( $data, true ); + $data = array_intersect_key( (array) $data, $default ); + $data = array_merge( $default, $data ); + + $this->set_status_transient( $data, WEEK_IN_SECONDS ); + + return $data; + } + + /** + * Sets the RocketCDN status transient with the provided value + * + * @since 3.5 + * + * @param array $value Transient value. + * @param int $duration Transient duration. + * @return void + */ + private function set_status_transient( $value, $duration ) { + set_transient( 'rocketcdn_status', $value, $duration ); + } + + /** + * Gets pricing & promotion data for RocketCDN from cache if it exists + * + * Else do a request to the API to get fresh data + * + * @since 3.5 + * + * @return array|WP_Error + */ + public function get_pricing_data() { + $pricing = get_transient( 'rocketcdn_pricing' ); + + if ( false !== $pricing ) { + return $pricing; + } + + return $this->get_remote_pricing_data(); + } + + /** + * Gets fresh pricing & promotion data for RocketCDN + * + * @since 3.5 + * + * @return array|WP_Error + */ + private function get_remote_pricing_data() { + $response = wp_remote_get( self::ROCKETCDN_API . 'pricing' ); + + if ( is_wp_error( $response ) ) { + return $response; + } + + if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { + return $this->get_wp_error( __( 'We could not fetch the current price because RocketCDN API returned an unexpected error code.', 'rocket' ) ); + } + + $data = wp_remote_retrieve_body( $response ); + + if ( empty( $data ) ) { + return $this->get_wp_error( __( 'RocketCDN is not available at the moment. Please retry later.', 'rocket' ) ); + } + + $data = json_decode( $data, true ); + + set_transient( 'rocketcdn_pricing', $data, 6 * HOUR_IN_SECONDS ); + + return $data; + } + + /** + * Gets a new WP_Error instance + * + * @since 3.5 + * + * @param string $message Error message. + * + * @return WP_Error + */ + private function get_wp_error( string $message ) { + return new WP_Error( 'rocketcdn_error', $message ); + } + + /** + * Sends a request to the API to purge the CDN cache + * + * @since 3.5 + * + * @return array + */ + public function purge_cache_request() { + $subscription = $this->get_subscription_data(); + $status = 'error'; + + if ( ! isset( $subscription['id'] ) || 0 === $subscription['id'] ) { + return [ + 'status' => $status, + 'message' => __( 'RocketCDN cache purge failed: Missing identifier parameter.', 'rocket' ), + ]; + } + + $token = get_option( 'rocketcdn_user_token' ); + + if ( empty( $token ) ) { + return [ + 'status' => $status, + 'message' => __( 'RocketCDN cache purge failed: Missing user token.', 'rocket' ), + ]; + } + + $args = [ + 'method' => 'DELETE', + 'headers' => [ + 'Authorization' => 'Token ' . $token, + ], + ]; + + $response = wp_remote_request( + self::ROCKETCDN_API . 'website/' . $subscription['id'] . '/purge/', + $args + ); + + if ( is_wp_error( $response ) ) { + return [ + 'status' => $status, + 'message' => $response->get_error_message(), + ]; + } + + if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { + return [ + 'status' => $status, + 'message' => __( 'RocketCDN cache purge failed: The API returned an unexpected response code.', 'rocket' ), + ]; + } + + $data = wp_remote_retrieve_body( $response ); + + if ( empty( $data ) ) { + return [ + 'status' => $status, + 'message' => __( 'RocketCDN cache purge failed: The API returned an empty response.', 'rocket' ), + ]; + } + + $data = json_decode( $data ); + + if ( ! isset( $data->success ) ) { + return [ + 'status' => $status, + 'message' => __( 'RocketCDN cache purge failed: The API returned an unexpected response.', 'rocket' ), + ]; + } + + if ( ! $data->success ) { + return [ + 'status' => $status, + 'message' => sprintf( + // translators: %s = message returned by the API. + __( 'RocketCDN cache purge failed: %s.', 'rocket' ), + isset( $data->message ) ? $data->message : '' + ), + ]; + } + + return [ + 'status' => 'success', + 'message' => __( 'RocketCDN cache purge successful.', 'rocket' ), + ]; + } + + /** + * Filter the arguments used in an HTTP request, to make sure our user token has not been overwritten + * by some other plugin. + * + * @since 3.5 + * + * @param array $args An array of HTTP request arguments. + * @param string $url The request URL. + * @return array + */ + public function preserve_authorization_token( $args, $url ) { + if ( strpos( $url, self::ROCKETCDN_API ) === false ) { + return $args; + } + + if ( empty( $args['headers']['Authorization'] ) && self::ROCKETCDN_API . 'pricing' === $url ) { + return $args; + } + + $token = get_option( 'rocketcdn_user_token' ); + + if ( empty( $token ) ) { + return $args; + } + + $value = 'token ' . $token; + + if ( isset( $args['headers']['Authorization'] ) && $value === $args['headers']['Authorization'] ) { + return $args; + } + + $args['headers']['Authorization'] = $value; + + return $args; + } +} diff --git a/inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php b/inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php new file mode 100644 index 0000000..eeba435 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php @@ -0,0 +1,256 @@ +<?php + +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\Admin\Beacon\Beacon; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Subscriber for the RocketCDN integration in WP Rocket settings page + * + * @since 3.5 + */ +class AdminPageSubscriber extends Abstract_Render implements Subscriber_Interface { + /** + * RocketCDN API Client instance. + * + * @var APIClient + */ + private $api_client; + + /** + * WP Rocket options instance + * + * @var Options_Data + */ + private $options; + + /** + * Beacon instance + * + * @var Beacon + */ + private $beacon; + + /** + * Constructor + * + * @param APIClient $api_client RocketCDN API Client instance. + * @param Options_Data $options WP Rocket options instance. + * @param Beacon $beacon Beacon instance. + * @param string $template_path Path to the templates. + */ + public function __construct( APIClient $api_client, Options_Data $options, Beacon $beacon, $template_path ) { + parent::__construct( $template_path ); + + $this->api_client = $api_client; + $this->options = $options; + $this->beacon = $beacon; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'rocket_dashboard_after_account_data' => 'display_rocketcdn_status', + 'rocket_cdn_settings_fields' => 'rocketcdn_field', + 'admin_post_rocket_purge_rocketcdn' => 'purge_cdn_cache', + 'rocket_settings_page_footer' => 'add_subscription_modal', + 'http_request_args' => [ 'preserve_authorization_token', PHP_INT_MAX, 2 ], + ]; + } + + /** + * Displays the RocketCDN section on the dashboard tab + * + * @since 3.5 + * + * @return void + */ + public function display_rocketcdn_status() { + /** + * Filters the display of the RocketCDN status. + * + * @param bool $display_rocketcdn_status; true to display, false otherwise. + */ + if ( ! apply_filters( 'rocket_display_rocketcdn_status', true ) ) { + return; + } + + if ( $this->is_white_label_account() ) { + return; + } + + $subscription_data = $this->api_client->get_subscription_data(); + + if ( 'running' === $subscription_data['subscription_status'] ) { + $label = __( 'Next Billing Date', 'rocket' ); + $status_class = ' wpr-isValid'; + $container_class = ''; + $status_text = date_i18n( get_option( 'date_format' ), strtotime( $subscription_data['subscription_next_date_update'] ) ); + $is_active = true; + } elseif ( 'cancelled' === $subscription_data['subscription_status'] ) { + $label = ''; + $status_class = ' wpr-isInvalid'; + $container_class = ' wpr-flex--egal'; + $status_text = __( 'No Subscription', 'rocket' ); + $is_active = false; + } + + $data = [ + 'is_live_site' => rocket_is_live_site(), + 'container_class' => $container_class, + 'label' => $label, + 'status_class' => $status_class, + 'status_text' => $status_text, + 'is_active' => $is_active, + ]; + + echo $this->generate( 'dashboard-status', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Adds the RocketCDN fields to the CDN section + * + * @since 3.5 + * + * @param array $fields CDN settings fields. + * + * @return array + */ + public function rocketcdn_field( $fields ) { + if ( $this->is_white_label_account() ) { + return $fields; + } + + $subscription_data = $this->api_client->get_subscription_data(); + + if ( 'running' !== $subscription_data['subscription_status'] ) { + return $fields; + } + + $helper_text = __( 'Your RocketCDN subscription is currently active.', 'rocket' ); + $cdn_cnames = $this->options->get( 'cdn_cnames', [] ); + + if ( empty( $cdn_cnames ) || $cdn_cnames[0] !== $subscription_data['cdn_url'] ) { + $helper_text = sprintf( + // translators: %1$s = opening <code> tag, %2$s = CDN URL, %3$s = closing </code> tag. + __( 'To use RocketCDN, replace your CNAME with %1$s%2$s%3$s.', 'rocket' ), + '<code>', + $subscription_data['cdn_url'], + '</code>' + ); + } + + $beacon = $this->beacon->get_suggest( 'rocketcdn' ); + + $more_info = sprintf( + // translators: %1$is = opening link tag, %2$s = closing link tag. + __( '%1$sMore Info%2$s', 'rocket' ), + '<a href="' . esc_url( $beacon['url'] ) . '" data-beacon-article="' . esc_attr( $beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', + '</a>' + ); + + $fields['cdn_cnames'] = [ + 'type' => 'rocket_cdn', + 'label' => __( 'CDN CNAME(s)', 'rocket' ), + 'description' => __( 'Specify the CNAME(s) below', 'rocket' ), + 'helper' => $helper_text . ' ' . $more_info, + 'default' => '', + 'section' => 'cnames_section', + 'page' => 'page_cdn', + 'beacon' => [ + 'url' => $beacon['url'], + 'id' => $beacon['id'], + ], + ]; + + return $fields; + } + + /** + * Purges the CDN cache and store the response in a transient. + * + * @since 3.5 + * + * @return void + */ + public function purge_cdn_cache() { + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'rocket_purge_rocketcdn' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_die(); + } + + set_transient( 'rocketcdn_purge_cache_response', $this->api_client->purge_cache_request(), HOUR_IN_SECONDS ); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } + + /** + * Adds the subscription modal on the WP Rocket settings page + * + * @since 3.5 + * + * @return void + */ + public function add_subscription_modal() { + if ( $this->is_white_label_account() ) { + return; + } + + if ( ! rocket_is_live_site() ) { + return; + } + + $iframe_src = add_query_arg( + [ + 'website' => home_url(), + 'callback' => rest_url( 'wp-rocket/v1/rocketcdn/' ), + ], + rocket_get_constant( 'WP_ROCKET_WEB_MAIN' ) . 'cdn/iframe' + ); + ?> + <div class="wpr-rocketcdn-modal" id="wpr-rocketcdn-modal" aria-hidden="true"> + <div class="wpr-rocketcdn-modal__overlay" tabindex="-1"> + <div class="wpr-rocketcdn-modal__container" role="dialog" aria-modal="true" aria-labelledby="wpr-rocketcdn-modal-title"> + <div id="wpr-rocketcdn-modal-content"> + <iframe id="rocketcdn-iframe" src="<?php echo esc_url( $iframe_src ); ?>" width="674" height="425"></iframe> + </div> + </div> + </div> + </div> + <?php + } + + /** + * Filter the arguments used in an HTTP request, to make sure our user token has not been overwritten + * by some other plugin. + * + * @since 3.5 + * + * @param array $args An array of HTTP request arguments. + * @param string $url The request URL. + * @return array + */ + public function preserve_authorization_token( $args, $url ) { + return $this->api_client->preserve_authorization_token( $args, $url ); + } + + /** + * Checks if white label is enabled + * + * @since 3.6 + * + * @return bool + */ + private function is_white_label_account() { + return (bool) rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ); + } +} diff --git a/inc/Engine/CDN/RocketCDN/CDNOptionsManager.php b/inc/Engine/CDN/RocketCDN/CDNOptionsManager.php new file mode 100644 index 0000000..a577d75 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/CDNOptionsManager.php @@ -0,0 +1,84 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Admin\Options; +use WP_Rocket\Admin\Options_Data; + +/** + * Manager for WP Rocket CDN options + * + * @since 3.5 + */ +class CDNOptionsManager { + /** + * WP Options API instance + * + * @var Options + */ + private $options_api; + + /** + * WP Rocket Options instance + * + * @var Options_Data + */ + private $options; + + /** + * Constructor + * + * @param Options $options_api WP Options API instance. + * @param Options_Data $options WP Rocket Options instance. + */ + public function __construct( Options $options_api, Options_Data $options ) { + $this->options_api = $options_api; + $this->options = $options; + } + + /** + * Enable CDN option, save CDN URL & delete RocketCDN status transient + * + * @since 3.5 + * + * @param string $cdn_url CDN URL. + * @return void + */ + public function enable( $cdn_url ) { + $this->options->set( 'cdn', 1 ); + $this->options->set( 'cdn_cnames', [ $cdn_url ] ); + $this->options->set( 'cdn_zone', [ 'all' ] ); + + $this->options_api->set( 'settings', $this->options->get_options() ); + + delete_transient( 'rocketcdn_status' ); + rocket_clean_domain(); + } + + /** + * Disable CDN option, remove CDN URL & user token, delete RocketCDN status transient + * + * @since 3.5 + * + * @return void + */ + public function disable() { + $this->options->set( 'cdn', 0 ); + $this->options->set( 'cdn_cnames', [] ); + $this->options->set( 'cdn_zone', [] ); + + $this->options_api->set( 'settings', $this->options->get_options() ); + + delete_option( 'rocketcdn_user_token' ); + delete_transient( 'rocketcdn_status' ); + rocket_clean_domain(); + } + + /** + * Get current CDN cnames. + * + * @return array + */ + public function get_cdn_cnames() { + return $this->options->get( 'cdn_cnames', [] ); + } +} diff --git a/inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php b/inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php new file mode 100644 index 0000000..df02391 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php @@ -0,0 +1,343 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Subscriber for the RocketCDN integration in WP Rocket settings page + * + * @since 3.5 + */ +class DataManagerSubscriber implements Subscriber_Interface { + const CRON_EVENT = 'rocketcdn_check_subscription_status_event'; + + /** + * RocketCDN API Client instance. + * + * @var APIClient + */ + private $api_client; + + /** + * CDNOptionsManager instance. + * + * @var CDNOptionsManager + */ + private $cdn_options; + + /** + * Constructor + * + * @param APIClient $api_client RocketCDN API Client instance. + * @param CDNOptionsManager $cdn_options CDNOptionsManager instance. + */ + public function __construct( APIClient $api_client, CDNOptionsManager $cdn_options ) { + $this->api_client = $api_client; + $this->cdn_options = $cdn_options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'wp_ajax_save_rocketcdn_token' => 'update_user_token', + 'wp_ajax_rocketcdn_enable' => 'enable', + 'wp_ajax_rocketcdn_disable' => 'disable', + 'wp_ajax_rocketcdn_process_set' => 'set_process_status', + 'wp_ajax_rocketcdn_process_status' => 'get_process_status', + 'wp_ajax_rocketcdn_validate_token_cname' => 'validate_token_cname', + self::CRON_EVENT => 'maybe_disable_cdn', + ]; + } + + /** + * Updates the RocketCDN user token value + * + * @since 3.5 + * + * @return void + */ + public function update_user_token() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_send_json_error( 'unauthorized_user' ); + + return; + } + + if ( empty( $_POST['value'] ) ) { + delete_option( 'rocketcdn_user_token' ); + + wp_send_json_success( 'user_token_deleted' ); + + return; + } + + if ( ! is_string( $_POST['value'] ) ) { + wp_send_json_error( 'invalid_token' ); + + return; + } + + $token = sanitize_key( $_POST['value'] ); + + if ( 40 !== strlen( $token ) ) { + wp_send_json_error( 'invalid_token_length' ); + + return; + } + + update_option( 'rocketcdn_user_token', $token ); + + wp_send_json_success( 'user_token_saved' ); + } + + /** + * Ajax callback to enable RocketCDN + * + * @since 3.5 + * + * @return void + */ + public function enable() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + $data = [ + 'process' => 'subscribe', + ]; + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + $data['message'] = 'unauthorized_user'; + + wp_send_json_error( $data ); + + return; + } + + if ( empty( $_POST['cdn_url'] ) ) { + $data['message'] = 'cdn_url_empty'; + + wp_send_json_error( $data ); + + return; + } + + $cdn_url = filter_var( wp_unslash( $_POST['cdn_url'] ), FILTER_VALIDATE_URL ); + + if ( ! $cdn_url ) { + $data['message'] = 'cdn_url_invalid_format'; + + wp_send_json_error( $data ); + + return; + } + + $this->cdn_options->enable( esc_url_raw( $cdn_url ) ); + + $subscription = $this->api_client->get_subscription_data(); + + $this->schedule_subscription_check( $subscription ); + $this->delete_process(); + + $data['message'] = 'rocketcdn_enabled'; + + wp_send_json_success( $data ); + } + + /** + * AJAX callback to disable RocketCDN + * + * @since 3.5 + * + * @return void + */ + public function disable() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + $data = [ + 'process' => 'unsubscribe', + ]; + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + $data['message'] = 'unauthorized_user'; + + wp_send_json_error( $data ); + + return; + } + + $this->cdn_options->disable(); + + $timestamp = wp_next_scheduled( self::CRON_EVENT ); + + if ( $timestamp ) { + wp_unschedule_event( $timestamp, self::CRON_EVENT ); + } + + $this->delete_process(); + + $data['message'] = 'rocketcdn_disabled'; + + wp_send_json_success( $data ); + } + + /** + * Delete the option tracking the RocketCDN process state + * + * @since 3.5 + * + * @return void + */ + private function delete_process() { + delete_option( 'rocketcdn_process' ); + } + + /** + * Set the RocketCDN subscription process status + * + * @since 3.5 + * + * @return void + */ + public function set_process_status() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( empty( $_POST['status'] ) ) { + return; + } + + $status = filter_var( $_POST['status'], FILTER_VALIDATE_BOOLEAN ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash -- Used as a boolean. + + if ( false === $status ) { + delete_option( 'rocketcdn_process' ); + return; + } + + update_option( 'rocketcdn_process', $status ); + } + + /** + * Check for RocketCDN subscription process status + * + * @since 3.5 + * + * @return void + */ + public function get_process_status() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_send_json_error(); + + return; + } + + if ( get_option( 'rocketcdn_process' ) ) { + wp_send_json_success(); + + return; + } + + wp_send_json_error(); + } + + /** + * Cron job to disable CDN if the subscription expired + * + * @since 3.5 + * + * @return void + */ + public function maybe_disable_cdn() { + delete_transient( 'rocketcdn_status' ); + + $subscription = $this->api_client->get_subscription_data(); + + if ( rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ) { + $subscription = apply_filters( 'rocket_pre_get_subscription_data', $subscription ); + } + + if ( 'running' === $subscription['subscription_status'] ) { + $this->schedule_subscription_check( $subscription ); + + return; + } + + $this->cdn_options->disable(); + } + + /** + * Validates and updates the token and cname from RocketCDN Iframe. + * + * @return void + */ + public function validate_token_cname() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + $data = []; + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + $data['message'] = 'unauthorized_user'; + wp_send_json_error( $data ); + return; + } + + if ( empty( $_POST['cdn_url'] ) || empty( $_POST['cdn_token'] ) ) { + $data['message'] = 'cdn_values_empty'; + wp_send_json_error( $data ); + return; + } + + $token = sanitize_key( $_POST['cdn_token'] ); + $cdn_url = filter_var( wp_unslash( $_POST['cdn_url'] ), FILTER_VALIDATE_URL ); + + if ( ! $cdn_url ) { + $data['message'] = 'cdn_url_invalid_format'; + wp_send_json_error( $data ); + return; + } + + if ( 40 !== strlen( $token ) ) { + $data['message'] = 'invalid_token_length'; + wp_send_json_error( $data ); + return; + } + + $current_token = get_option( 'rocketcdn_user_token' ); + $current_cname = $this->cdn_options->get_cdn_cnames(); + + if ( ! empty( $current_token ) ) { + $data['message'] = 'token_already_set'; + wp_send_json_error( $data ); + return; + } + + update_option( 'rocketcdn_user_token', $token ); + $this->cdn_options->enable( esc_url_raw( $cdn_url ) ); + + $data['message'] = 'token_updated_successfully'; + wp_send_json_success( $data ); + } + + /** + * Schedule the next cron subscription check + * + * @since 3.5 + * + * @param array $subscription Array containing the subscription data. + * @return void + */ + private function schedule_subscription_check( $subscription ) { + $timestamp = strtotime( $subscription['subscription_next_date_update'] ) + strtotime( '+2 days' ); + + if ( ! wp_next_scheduled( self::CRON_EVENT ) ) { + wp_schedule_single_event( $timestamp, self::CRON_EVENT ); + } + } +} diff --git a/inc/Engine/CDN/RocketCDN/NoticesSubscriber.php b/inc/Engine/CDN/RocketCDN/NoticesSubscriber.php new file mode 100644 index 0000000..6dd6231 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/NoticesSubscriber.php @@ -0,0 +1,362 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Engine\Admin\Beacon\Beacon; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Subscriber for the RocketCDN notices on WP Rocket settings page + * + * @since 3.5 + */ +class NoticesSubscriber extends Abstract_Render implements Subscriber_Interface { + /** + * RocketCDN API Client instance. + * + * @var APIClient + */ + private $api_client; + + /** + * Beacon instance + * + * @var Beacon + */ + private $beacon; + + /** + * Constructor + * + * @param APIClient $api_client RocketCDN API Client instance. + * @param Beacon $beacon Beacon instance. + * @param string $template_path Path to the templates. + */ + public function __construct( APIClient $api_client, Beacon $beacon, $template_path ) { + parent::__construct( $template_path ); + + $this->api_client = $api_client; + $this->beacon = $beacon; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'admin_notices' => [ + [ 'promote_rocketcdn_notice' ], + [ 'purge_cache_notice' ], + ], + 'rocket_before_cdn_sections' => 'display_rocketcdn_cta', + 'wp_ajax_toggle_rocketcdn_cta' => 'toggle_cta', + 'wp_ajax_rocketcdn_dismiss_notice' => 'dismiss_notice', + 'admin_footer' => 'add_dismiss_script', + ]; + } + + /** + * Adds notice to promote RocketCDN on settings page + * + * @since 3.5 + * + * @return void + */ + public function promote_rocketcdn_notice() { + /** + * Filters RocketCDN promotion notice. + * + * @param bool $promotion_notice; true to display, false otherwise. + */ + if ( ! apply_filters( 'rocket_promote_rocketcdn_notice', true ) ) { + return; + } + + if ( $this->is_white_label_account() ) { + return; + } + + if ( ! rocket_is_live_site() ) { + return; + } + + if ( ! $this->should_display_notice() ) { + return; + } + + echo $this->generate( 'promote-notice' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Adds inline script to permanently dismissing the RocketCDN promotion notice + * + * @since 3.5 + * + * @return void + */ + public function add_dismiss_script() { + if ( $this->is_white_label_account() ) { + return; + } + + if ( ! rocket_is_live_site() ) { + return; + } + + if ( ! $this->should_display_notice() ) { + return; + } + + $nonce = wp_create_nonce( 'rocketcdn_dismiss_notice' ); + ?> + <script> + window.addEventListener( 'load', function() { + var dismissBtn = document.querySelectorAll( '#rocketcdn-promote-notice .notice-dismiss, #rocketcdn-promote-notice #rocketcdn-learn-more-dismiss' ); + + dismissBtn.forEach(function(element) { + element.addEventListener( 'click', function( event ) { + var httpRequest = new XMLHttpRequest(), + postData = ''; + + postData += 'action=rocketcdn_dismiss_notice'; + postData += '&nonce=<?php echo esc_attr( $nonce ); ?>'; + httpRequest.open( 'POST', '<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>' ); + httpRequest.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' ) + httpRequest.send( postData ); + }); + }); + }); + </script> + <?php + } + + /** + * Checks if the promotion notice should be displayed + * + * @since 3.5 + * + * @return boolean + */ + private function should_display_notice() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return false; + } + + if ( 'settings_page_wprocket' !== get_current_screen()->id ) { + return false; + } + + if ( get_user_meta( get_current_user_id(), 'rocketcdn_dismiss_notice', true ) ) { + return false; + } + + $subscription_data = $this->api_client->get_subscription_data(); + + return 'running' !== $subscription_data['subscription_status']; + } + + /** + * Ajax callback to save the dismiss as a user meta + * + * @since 3.5 + * + * @return void + */ + public function dismiss_notice() { + check_ajax_referer( 'rocketcdn_dismiss_notice', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_send_json_error( 'no permissions' ); + + return; + } + + update_user_meta( get_current_user_id(), 'rocketcdn_dismiss_notice', true ); + + wp_send_json_success(); + } + + /** + * Displays the RocketCDN Call to Action on the CDN tab of WP Rocket settings page + * + * @since 3.5 + * + * @return void + */ + public function display_rocketcdn_cta() { + /** + * Filters the display of the RocketCDN cta banner. + * + * @param bool $display_cta_banner; true to display, false otherwise. + */ + if ( ! apply_filters( 'rocket_display_rocketcdn_cta', true ) ) { + return; + } + + if ( $this->is_white_label_account() ) { + return; + } + + if ( ! rocket_is_live_site() ) { + return; + } + + $subscription_data = $this->api_client->get_subscription_data(); + + if ( 'running' === $subscription_data['subscription_status'] ) { + return; + } + + $pricing = $this->api_client->get_pricing_data(); + + $regular_price = ''; + $nopromo_variant = '--no-promo'; + $cta_small_class = 'wpr-isHidden'; + $cta_big_class = ''; + + if ( get_user_meta( get_current_user_id(), 'rocket_rocketcdn_cta_hidden', true ) ) { + $cta_small_class = ''; + $cta_big_class = 'wpr-isHidden'; + } + + $small_cta_data = [ + 'container_class' => $cta_small_class, + ]; + + if ( is_wp_error( $pricing ) ) { + $beacon = $this->beacon->get_suggest( 'rocketcdn_error' ); + $more_info = sprintf( + // translators: %1$is = opening link tag, %2$s = closing link tag. + __( '%1$sMore Info%2$s', 'rocket' ), + '<a href="' . esc_url( $beacon['url'] ) . '" data-beacon-article="' . esc_attr( $beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', + '</a>' + ); + + $message = $pricing->get_error_message() . ' ' . $more_info; + + $big_cta_data = [ + 'container_class' => $cta_big_class, + 'nopromo_variant' => $nopromo_variant, + 'error' => true, + 'message' => $message, + ]; + } else { + $current_price = number_format_i18n( $pricing['monthly_price'], 2 ); + $promotion_campaign = ''; + $end_date = strtotime( $pricing['end_date'] ); + $promotion_end_date = ''; + + if ( + $pricing['is_discount_active'] + && + $end_date > time() + ) { + $promotion_campaign = $pricing['discount_campaign_name']; + $regular_price = $current_price; + $current_price = number_format_i18n( $pricing['discounted_price_monthly'], 2 ) . '*'; + $nopromo_variant = ''; + $promotion_end_date = date_i18n( get_option( 'date_format' ), $end_date ); + } + + $big_cta_data = [ + 'container_class' => $cta_big_class, + 'promotion_campaign' => $promotion_campaign, + 'promotion_end_date' => $promotion_end_date, + 'nopromo_variant' => $nopromo_variant, + 'regular_price' => $regular_price, + 'current_price' => $current_price, + ]; + } + + echo $this->generate( 'cta-small', $small_cta_data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + echo $this->generate( 'cta-big', $big_cta_data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Toggles display of the RocketCDN CTAs on the settings page + * + * @since 3.5 + * + * @return void + */ + public function toggle_cta() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_send_json_error( 'no permissions' ); + + return; + } + + if ( ! isset( $_POST['status'] ) ) { + wp_send_json_error( 'missing status' ); + + return; + } + + if ( 'big' === $_POST['status'] ) { + delete_user_meta( get_current_user_id(), 'rocket_rocketcdn_cta_hidden' ); + } elseif ( 'small' === $_POST['status'] ) { + update_user_meta( get_current_user_id(), 'rocket_rocketcdn_cta_hidden', true ); + } + + wp_send_json_success(); + } + + /** + * Displays a notice after purging the RocketCDN cache. + * + * @since 3.5 + * + * @return void + */ + public function purge_cache_notice() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== get_current_screen()->id ) { + return; + } + + $purge_response = get_transient( 'rocketcdn_purge_cache_response' ); + + if ( false === $purge_response ) { + return; + } + + $message = $purge_response['message']; + + if ( 'error' === $purge_response['status'] ) { + $beacon = $this->beacon->get_suggest( 'rocketcdn_error' ); + $more_info = sprintf( + // translators: %1$is = opening link tag, %2$s = closing link tag. + __( '%1$sMore Info%2$s', 'rocket' ), + '<a href="' . esc_url( $beacon['url'] ) . '" data-beacon-article="' . esc_attr( $beacon['id'] ) . '" rel="noopener noreferrer" target="_blank">', + '</a>' + ); + + $message .= ' ' . $more_info; + } + + delete_transient( 'rocketcdn_purge_cache_response' ); + + rocket_notice_html( + [ + 'status' => $purge_response['status'], + 'message' => $message, + ] + ); + } + + /** + * Checks if white label is enabled + * + * @since 3.6 + * + * @return bool + */ + private function is_white_label_account() { + return (bool) rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ); + } +} diff --git a/inc/Engine/CDN/RocketCDN/RESTSubscriber.php b/inc/Engine/CDN/RocketCDN/RESTSubscriber.php new file mode 100644 index 0000000..25b20d6 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/RESTSubscriber.php @@ -0,0 +1,194 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\Admin\Options_Data; + +/** + * Subscriber for RocketCDN REST API Integration + * + * @since 3.5 + */ +class RESTSubscriber implements Subscriber_Interface { + const ROUTE_NAMESPACE = 'wp-rocket/v1'; + + /** + * CDNOptionsManager instance + * + * @var CDNOptionsManager + */ + private $cdn_options; + + /** + * WP Rocket Options instance + * + * @var Options_Data + */ + private $options; + + /** + * Constructor + * + * @param CDNOptionsManager $cdn_options CDNOptionsManager instance. + * @param Options_Data $options WP Rocket Options instance. + */ + public function __construct( CDNOptionsManager $cdn_options, Options_Data $options ) { + $this->cdn_options = $cdn_options; + $this->options = $options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'rest_api_init' => [ + [ 'register_enable_route' ], + [ 'register_disable_route' ], + ], + ]; + } + + /** + * Register Enable route in the WP REST API + * + * @since 3.5 + * + * @return void + */ + public function register_enable_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'rocketcdn/enable', + [ + 'methods' => 'PUT', + 'callback' => [ $this, 'enable' ], + 'args' => [ + 'email' => [ + 'required' => true, + 'validate_callback' => [ $this, 'validate_email' ], + ], + 'key' => [ + 'required' => true, + 'validate_callback' => [ $this, 'validate_key' ], + ], + 'url' => [ + 'required' => true, + 'validate_callback' => function ( $param ) { + $url = esc_url_raw( $param ); + + return ! empty( $url ); + }, + 'sanitize_callback' => function ( $param ) { + return esc_url_raw( $param ); + }, + ], + ], + 'permission_callback' => '__return_true', + ] + ); + } + + /** + * Register Disable route in the WP REST API + * + * @since 3.5 + * + * @return void + */ + public function register_disable_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'rocketcdn/disable', + [ + 'methods' => 'PUT', + 'callback' => [ $this, 'disable' ], + 'args' => [ + 'email' => [ + 'required' => true, + 'validate_callback' => [ $this, 'validate_email' ], + ], + 'key' => [ + 'required' => true, + 'validate_callback' => [ $this, 'validate_key' ], + ], + ], + 'permission_callback' => '__return_true', + ] + ); + } + + /** + * Enable CDN and add RocketCDN URL to WP Rocket options + * + * @since 3.5 + * + * @param \WP_REST_Request $request the WP REST Request object. + * + * @return \WP_REST_Response|\WP_Error + */ + public function enable( \WP_REST_Request $request ) { + $params = $request->get_body_params(); + + $this->cdn_options->enable( $params['url'] ); + + $response = [ + 'code' => 'success', + 'message' => __( 'RocketCDN enabled', 'rocket' ), + 'data' => [ + 'status' => 200, + ], + ]; + + return rest_ensure_response( $response ); + } + + /** + * Disable the CDN and remove the RocketCDN URL from WP Rocket options + * + * @since 3.5 + * + * @param \WP_REST_Request $request the WP Rest Request object. + * + * @return \WP_REST_Response|\WP_Error + */ + public function disable( \WP_REST_Request $request ) { + $this->cdn_options->disable(); + + $response = [ + 'code' => 'success', + 'message' => __( 'RocketCDN disabled', 'rocket' ), + 'data' => [ + 'status' => 200, + ], + ]; + + return rest_ensure_response( $response ); + } + + /** + * Checks that the email sent along the request corresponds to the one saved in the DB + * + * @since 3.5 + * + * @param string $param Parameter value to validate. + * + * @return bool + */ + public function validate_email( $param ) { + return ! empty( $param ) && $param === $this->options->get( 'consumer_email' ); + } + + /** + * Checks that the key sent along the request corresponds to the one saved in the DB + * + * @since 3.5 + * + * @param string $param Parameter value to validate. + * + * @return bool + */ + public function validate_key( $param ) { + return ! empty( $param ) && $param === $this->options->get( 'consumer_key' ); + } +} diff --git a/inc/Engine/CDN/RocketCDN/ServiceProvider.php b/inc/Engine/CDN/RocketCDN/ServiceProvider.php new file mode 100644 index 0000000..d4e234e --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/ServiceProvider.php @@ -0,0 +1,67 @@ +<?php +namespace WP_Rocket\Engine\CDN\RocketCDN; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +/** + * Service provider for RocketCDN + * + * @since 3.5 + */ +class ServiceProvider extends AbstractServiceProvider { + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'rocketcdn_api_client', + 'rocketcdn_options_manager', + 'rocketcdn_data_manager_subscriber', + 'rocketcdn_rest_subscriber', + 'rocketcdn_admin_subscriber', + 'rocketcdn_notices_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $options = $this->getContainer()->get( 'options' ); + // RocketCDN API Client. + $this->getContainer()->add( 'rocketcdn_api_client', APIClient::class ); + // RocketCDN CDN options manager. + $this->getContainer()->add( 'rocketcdn_options_manager', CDNOptionsManager::class ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $options ); + // RocketCDN Data manager subscriber. + $this->getContainer()->share( 'rocketcdn_data_manager_subscriber', DataManagerSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'rocketcdn_api_client' ) ) + ->addArgument( $this->getContainer()->get( 'rocketcdn_options_manager' ) ) + ->addTag( 'admin_subscriber' ); + // RocketCDN REST API Subscriber. + $this->getContainer()->share( 'rocketcdn_rest_subscriber', RESTSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'rocketcdn_options_manager' ) ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + // RocketCDN Notices Subscriber. + $this->getContainer()->share( 'rocketcdn_notices_subscriber', NoticesSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'rocketcdn_api_client' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( __DIR__ . '/views' ) + ->addTag( 'admin_subscriber' ); + // RocketCDN settings page subscriber. + $this->getContainer()->share( 'rocketcdn_admin_subscriber', AdminPageSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'rocketcdn_api_client' ) ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( __DIR__ . '/views' ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/CDN/RocketCDN/views/cta-big.php b/inc/Engine/CDN/RocketCDN/views/cta-big.php new file mode 100644 index 0000000..cb5b360 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/views/cta-big.php @@ -0,0 +1,93 @@ +<?php +/** + * RocketCDN small CTA template. + * + * @since 3.5 + * + * @param array $data { + * @type string $container_class container CSS class. + * @type string $promotion_campaign Promotion campaign title. + * @type string $promotion_end_date Promotion end date. + * @type string $nopromo_variant CSS modifier for the no promotion display. + * @type string $regular_price RocketCDN regular price. + * @type string $current_price RocketCDN current price. + * } + */ + +defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); +?> +<div class="wpr-rocketcdn-cta <?php echo esc_attr( $data['container_class'] ); ?>" id="wpr-rocketcdn-cta"> + <?php if ( ! empty( $data['promotion_campaign'] ) ) : ?> + <div class="wpr-flex wpr-rocketcdn-promo"> + <h3 class="wpr-rocketcdn-promo-title"><?php echo esc_html( $data['promotion_campaign'] ); ?></h3> + <p class="wpr-title2 wpr-rocketcdn-promo-date"> + <?php + printf( + // Translators: %s = date formatted using date_i18n() and get_option( 'date_format' ). + esc_html__( 'Valid until %s only!', 'rocket' ), + esc_html( $data['promotion_end_date'] ) + ); + ?> + </p> + </div> + <?php endif; ?> + <section class="wpr-rocketcdn-cta-content<?php echo esc_attr( $data['nopromo_variant'] ); ?>"> + <h3 class="wpr-title2">RocketCDN</h3> + <p class="wpr-rocketcdn-cta-subtitle"><?php esc_html_e( 'Speed up your website thanks to:', 'rocket' ); ?></p> + <div class="wpr-flex"> + <ul class="wpr-rocketcdn-features"> + <li class="wpr-rocketcdn-feature wpr-rocketcdn-bandwidth"> + <?php + // translators: %1$s = opening strong tag, %2$s = closing strong tag. + printf( esc_html__( 'High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s', 'rocket' ), '<strong>', '</strong>' ); + ?> + </li> + <li class="wpr-rocketcdn-feature wpr-rocketcdn-configuration"> + <?php + // translators: %1$s = opening strong tag, %2$s = closing strong tag. + printf( esc_html__( 'Easy configuration: the %1$sbest CDN settings%2$s are automatically applied', 'rocket' ), '<strong>', '</strong>' ); + ?> + </li> + <li class="wpr-rocketcdn-feature wpr-rocketcdn-automatic"> + <?php + // translators: %1$s = opening strong tag, %2$s = closing strong tag. + printf( esc_html__( 'WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin', 'rocket' ), '<strong>', '</strong>' ); + ?> + </li> + <li class="wpr-rocketcdn-cta-footer"> + <a href="https://wp-rocket.me/rocketcdn/" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Learn more about RocketCDN', 'rocket' ); ?></a> + </li> + <?php if ( ! empty( $data['promotion_campaign'] ) ) : ?> + <li class="wpr-rocketcdn-cta-promo-footer"> + <?php + printf( + // translators: %1$s = discounted price, %2$s = regular price. + esc_html__( '*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time.', 'rocket' ), + esc_html( str_replace( '*', '', $data['current_price'] ) ), + esc_html( $data['regular_price'] ) + ); + ?> + </li> + <?php endif; ?> + </ul> + <div class="wpr-rocketcdn-pricing"> + <?php if ( ! empty( $data['error'] ) ) : ?> + <p><?php echo $data['message']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p> + <?php else : ?> + <?php if ( ! empty( $data['regular_price'] ) ) : ?> + <h4 class="wpr-title2 wpr-rocketcdn-pricing-regular"><del>$<?php echo esc_html( $data['regular_price'] ); ?></del></h4> + <?php endif; ?> + <h4 class="wpr-rocketcdn-pricing-current"> + <span class="wpr-rocketcdn-cta-currency-minor">$</span> + <span class="wpr-rocketcdn-cta-currency-major"><?php echo esc_html( substr( $data['current_price'], 0, strpos( $data['current_price'], '.' ) ) ); ?></span> + <span class="wpr-rocketcdn-cta-currency-minor"><?php echo esc_html( substr( $data['current_price'], strpos( $data['current_price'], '.' ) ) ); ?> + </span> + </h4> + <p class="wpr-rocketcdn-cta-billing-detail"><?php esc_html_e( 'Billed monthly', 'rocket' ); ?></p> + <button class="wpr-button wpr-rocketcdn-open" data-micromodal-trigger="wpr-rocketcdn-modal"><?php esc_html_e( 'Get Started', 'rocket' ); ?></button> + <?php endif; ?> + </div> + </div> + </section> + <button class="wpr-rocketcdn-cta-close<?php echo esc_attr( $data['nopromo_variant'] ); ?>" id="wpr-rocketcdn-close-cta"><span class="screen-reader-text"><?php esc_html_e( 'Reduce this banner', 'rocket' ); ?></span></button> +</div> diff --git a/inc/Engine/CDN/RocketCDN/views/cta-small.php b/inc/Engine/CDN/RocketCDN/views/cta-small.php new file mode 100644 index 0000000..93d8285 --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/views/cta-small.php @@ -0,0 +1,23 @@ +<?php +/** + * RocketCDN small CTA template. + * + * @since 3.5 + * + * @param array $data { + * @type string $container_class container CSS class. + * } + */ + +defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); +?> +<div class="wpr-rocketcdn-cta-small notice-alt notice-warning <?php echo esc_attr( $data['container_class'] ); ?>" id="wpr-rocketcdn-cta-small"> + <div class="wpr-flex"> + <section> + <h3 class="notice-title"><?php esc_html_e( 'Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network.', 'rocket' ); ?></strong></h3> + </section> + <div> + <button class="wpr-button" id="wpr-rocketcdn-open-cta"><?php esc_html_e( 'Learn More', 'rocket' ); ?></button> + </div> + </div> +</div> diff --git a/inc/Engine/CDN/RocketCDN/views/dashboard-status.php b/inc/Engine/CDN/RocketCDN/views/dashboard-status.php new file mode 100644 index 0000000..ac22d8a --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/views/dashboard-status.php @@ -0,0 +1,37 @@ +<?php +/** + * RocketCDN status on dashboard tab template. + * + * @since 3.5 + * + * @param array $data { + * @type bool $is_live_site Identifies if the current website is a live or local/staging one + * @type string $container_class Flex container CSS class. + * @type string $label Content label. + * @type string $status_class CSS Class to display the status. + * @type string $status_text Text to display the subscription status. + * @type bool $is_active Boolean identifying the activation status. + * } + */ + +?> +<div class="wpr-optionHeader"> + <h3 class="wpr-title2">RocketCDN</h3> +</div> +<div class="wpr-field wpr-field-account"> + <?php if ( ! $data['is_live_site'] ) : ?> + <span class="wpr-infoAccount wpr-isInvalid"><?php esc_html_e( 'RocketCDN is unavailable on local domains and staging sites.', 'rocket' ); ?></span> + <?php else : ?> + <div class="wpr-flex<?php echo esc_attr( $data['container_class'] ); ?>"> + <div> + <span class="wpr-title3"><?php echo esc_html( $data['label'] ); ?></span> + <span class="wpr-infoAccount<?php echo esc_attr( $data['status_class'] ); ?>"><?php echo esc_html( $data['status_text'] ); ?></span> + </div> + <?php if ( ! $data['is_active'] ) : ?> + <div> + <a href="#page_cdn" class="wpr-button"><?php esc_html_e( 'Get RocketCDN', 'rocket' ); ?></a> + </div> + <?php endif; ?> + </div> + <?php endif; ?> +</div> diff --git a/inc/Engine/CDN/RocketCDN/views/promote-notice.php b/inc/Engine/CDN/RocketCDN/views/promote-notice.php new file mode 100644 index 0000000..93f7b9a --- /dev/null +++ b/inc/Engine/CDN/RocketCDN/views/promote-notice.php @@ -0,0 +1,14 @@ +<?php +/** + * Promote RocketCDN notice template. + * + * @since 3.5 + */ + +defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); +?> +<div class="notice notice-alt notice-warning is-dismissible" id="rocketcdn-promote-notice"> + <h2 class="notice-title"><?php esc_html_e( 'New!', 'rocket' ); ?></h2> + <p><?php esc_html_e( 'Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!', 'rocket' ); ?></p> + <p><a href="#page_cdn" class="wpr-button" id="rocketcdn-learn-more-dismiss"><?php esc_html_e( 'Learn More', 'rocket' ); ?></a></p> +</div> diff --git a/inc/Engine/CDN/ServiceProvider.php b/inc/Engine/CDN/ServiceProvider.php new file mode 100644 index 0000000..a245160 --- /dev/null +++ b/inc/Engine/CDN/ServiceProvider.php @@ -0,0 +1,45 @@ +<?php +namespace WP_Rocket\Engine\CDN; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Engine\CDN\Admin\Subscriber as AdminSubscriber; + +/** + * Service provider for WP Rocket CDN + * + * @since 3.5.5 + */ +class ServiceProvider extends AbstractServiceProvider { + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'cdn', + 'cdn_subscriber', + 'cdn_admin_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $options = $this->getContainer()->get( 'options' ); + + $this->getContainer()->share( 'cdn', CDN::class ) + ->addArgument( $options ); + $this->getContainer()->share( 'cdn_subscriber', Subscriber::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'cdn' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer()->share( 'cdn_admin_subscriber', AdminSubscriber::class ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/CDN/Subscriber.php b/inc/Engine/CDN/Subscriber.php new file mode 100644 index 0000000..1397821 --- /dev/null +++ b/inc/Engine/CDN/Subscriber.php @@ -0,0 +1,349 @@ +<?php +namespace WP_Rocket\Engine\CDN; + +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Subscriber for the CDN feature + * + * @since 3.4 + */ +class Subscriber implements Subscriber_Interface { + /** + * WP Rocket Options instance + * + * @var Options_Data + */ + private $options; + + /** + * CDN instance + * + * @var CDN + */ + private $cdn; + + /** + * Constructor + * + * @param Options_Data $options WP Rocket Options instance. + * @param CDN $cdn CDN instance. + */ + public function __construct( Options_Data $options, CDN $cdn ) { + $this->options = $options; + $this->cdn = $cdn; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.4 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ + [ 'rewrite', 20 ], + [ 'rewrite_srcset', 21 ], + ], + 'rocket_css_content' => 'rewrite_css_properties', + 'rocket_usedcss_content' => 'rewrite_css_properties', + 'rocket_cdn_hosts' => [ 'get_cdn_hosts', 10, 2 ], + 'rocket_dns_prefetch' => 'add_dns_prefetch_cdn', + 'rocket_facebook_sdk_url' => 'add_cdn_url', + 'rocket_css_url' => [ 'add_cdn_url', 10, 2 ], + 'rocket_js_url' => [ 'add_cdn_url', 10, 2 ], + 'rocket_asset_url' => [ 'maybe_replace_url', 10, 2 ], + 'wp_resource_hints' => [ 'add_preconnect_cdn', 10, 2 ], + 'rocket_font_url' => [ 'add_cdn_url', 10, 2 ], + ]; + } + + /** + * Rewrites URLs to the CDN URLs if allowed + * + * @since 3.4 + * + * @param string $html HTML content. + * + * @return string + */ + public function rewrite( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + return $this->cdn->rewrite( $html ); + } + + /** + * Rewrites URLs in srcset attributes to the CDN URLs if allowed + * + * @since 3.4.0.4 + * + * @param string $html HTML content. + * + * @return string + */ + public function rewrite_srcset( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + return $this->cdn->rewrite_srcset( $html ); + } + + /** + * Rewrites URLs to the CDN URLs in CSS files + * + * @since 3.4 + * + * @param string $content CSS content. + * + * @return string + */ + public function rewrite_css_properties( $content ) { + /** + * Filters the application of the CDN on CSS properties + * + * @since 2.6 + * + * @param bool true to apply CDN to properties, false otherwise + */ + $do_rewrite = apply_filters( 'do_rocket_cdn_css_properties', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + if ( ! $do_rewrite ) { + return $content; + } + + if ( ! $this->is_cdn_enabled() ) { + return $content; + } + + return $this->cdn->rewrite_css_properties( $content ); + } + + /** + * Gets the host value for each CDN URLs + * + * @since 3.4 + * + * @param array $hosts Base hosts. + * @param array $zones Zones to get the CND URLs associated with. + * + * @return array + */ + public function get_cdn_hosts( array $hosts = [], array $zones = [ 'all' ] ) { + $cdn_urls = $this->cdn->get_cdn_urls( $zones ); + + if ( empty( $cdn_urls ) ) { + return $hosts; + } + + foreach ( $cdn_urls as $cdn_url ) { + $parsed = get_rocket_parse_url( rocket_add_url_protocol( $cdn_url ) ); + + if ( empty( $parsed['host'] ) ) { + continue; + } + + $hosts[] = untrailingslashit( $parsed['host'] . $parsed['path'] ); + } + + return array_unique( $hosts ); + } + + /** + * Adds CDN URLs to the DNS prefetch links + * + * @since 3.4 + * + * @param array $domains Domain names to DNS prefetch. + * + * @return array + */ + public function add_dns_prefetch_cdn( $domains ) { + if ( ! $this->is_allowed() ) { + return $domains; + } + + $cdn_urls = $this->cdn->get_cdn_urls( [ 'all', 'images', 'css_and_js', 'css', 'js' ] ); + + if ( ! $cdn_urls ) { + return $domains; + } + + return array_merge( $domains, $cdn_urls ); + } + + /** + * Adds the CDN URL on the provided URL + * + * @since 3.4 + * + * @param string $url URL to rewrite. + * @param string $original_url Original URL for this URL. Optional. + * + * @return string + */ + public function add_cdn_url( $url, $original_url = '' ) { + if ( ! empty( $original_url ) ) { + if ( $this->cdn->is_excluded( $original_url ) ) { + return $url; + } + } + + return $this->cdn->rewrite_url( $url ); + } + + /** + * Replace CDN URL with site URL on the provided asset URL. + * + * @since 3.5.3 + * + * @param string $url URL of the asset. + * @param array $zones Array of corresponding zones for the asset. + * + * @return string + */ + public function maybe_replace_url( $url, array $zones = [ 'all' ] ) { + if ( ! $this->is_allowed() ) { + return $url; + } + + $url_parts = get_rocket_parse_url( $url ); + + if ( empty( $url_parts['host'] ) ) { + return $url; + } + + $site_url_parts = get_rocket_parse_url( site_url() ); + + if ( empty( $site_url_parts['host'] ) ) { + return $url; + } + + if ( $url_parts['host'] === $site_url_parts['host'] ) { + return $url; + } + + $cdn_urls = $this->cdn->get_cdn_urls( $zones ); + + if ( empty( $cdn_urls ) ) { + return $url; + } + + $cdn_urls = array_map( 'rocket_add_url_protocol', $cdn_urls ); + + $site_url = $site_url_parts['scheme'] . '://' . $site_url_parts['host']; + + foreach ( $cdn_urls as $cdn_url ) { + if ( false === strpos( $url, $cdn_url ) ) { + continue; + } + + return str_replace( $cdn_url, $site_url, $url ); + } + + return $url; + } + + /** + * Add a preconnect tag for the CDN. + * + * @since 3.8.3 + * + * @param array $urls The initial array of wp_resource_hint urls. + * @param string $relation_type The relation type for the hint: eg., 'preconnect', 'prerender', etc. + * + * @return array The filtered urls. + */ + public function add_preconnect_cdn( array $urls, string $relation_type ): array { + if ( + 'preconnect' !== $relation_type + || + rocket_bypass() + || + ! $this->is_allowed() + || + ! $this->is_cdn_enabled() + ) { + return $urls; + } + + $cdn_urls = $this->cdn->get_cdn_urls( [ 'all', 'images', 'css_and_js', 'css', 'js' ] ); + + if ( empty( $cdn_urls ) ) { + return $urls; + } + + foreach ( $cdn_urls as $url ) { + $url_parts = get_rocket_parse_url( $url ); + + if ( empty( $url_parts['scheme'] ) ) { + if ( preg_match( '/^(?![\/])(?=[^\.]+\/).+/i', $url ) ) { + continue; + } + + $url = '//' . $url; + $url_parts = get_rocket_parse_url( $url ); + } + + $domain = empty( $url_parts['scheme'] ) + ? '//' . $url_parts['host'] + : $url_parts['scheme'] . '://' . $url_parts['host']; + + // Note: As of 22 Feb, 2021 we cannot add more than one instance of a domain url + // on the wp_resource_hint() hook -- wp_resource_hint() will + // only actually print the first one. + // Ideally, we want both because CSS resources will use the crossorigin version, + // But JS resources will not. + // Jonathan has submitted a ticket to change this behavior: + // @see https://core.trac.wordpress.org/ticket/52465 + // Until then, we order these to prefer/print the non-crossorigin version. + $urls[] = [ 'href' => $domain ]; + $urls[] = [ + 'href' => $domain, + 'crossorigin' => 'anonymous', + ]; + } + + return $urls; + } + + /** + * Checks if CDN can be applied + * + * @since 3.4 + * + * @return boolean + */ + private function is_allowed() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( ! $this->is_cdn_enabled() ) { + return false; + } + + if ( is_rocket_post_excluded_option( 'cdn' ) ) { + return false; + } + + return true; + } + + /** + * Checks if the CDN option is enabled + * + * @since 3.5.5 + * + * @return bool + */ + private function is_cdn_enabled() { + return (bool) $this->options->get( 'cdn', 0 ); + } +} diff --git a/inc/Engine/Cache/AdminSubscriber.php b/inc/Engine/Cache/AdminSubscriber.php new file mode 100644 index 0000000..2524e2d --- /dev/null +++ b/inc/Engine/Cache/AdminSubscriber.php @@ -0,0 +1,269 @@ +<?php + +namespace WP_Rocket\Engine\Cache; + +use WP_Filesystem_Direct; +use WP_Rocket\Event_Management\Event_Manager; +use WP_Rocket\Event_Management\Event_Manager_Aware_Subscriber_Interface; + +/** + * Subscriber for the cache admin events + * + * @since 3.5.5 + */ +class AdminSubscriber implements Event_Manager_Aware_Subscriber_Interface { + /** + * Event Manager instance + * + * @var Event_Manager; + */ + protected $event_manager; + + /** + * AdvancedCache instance + * + * @var AdvancedCache + */ + private $advanced_cache; + + /** + * WPCache instance + * + * @var WPCache + */ + private $wp_cache; + + /** + * WordPress filesystem. + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Instantiate the class + * + * @param AdvancedCache $advanced_cache AdvancedCache instance. + * @param WPCache $wp_cache WPCache instance. + * @param WP_Filesystem_Direct|null $filesystem WordPress filesystem. + */ + public function __construct( AdvancedCache $advanced_cache, WPCache $wp_cache, $filesystem = null ) { + $this->advanced_cache = $advanced_cache; + $this->wp_cache = $wp_cache; + $this->filesystem = ! empty( $filesystem ) ? $filesystem : rocket_direct_filesystem(); + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + $slug = rocket_get_constant( 'WP_ROCKET_SLUG' ); + return [ + 'admin_init' => [ + [ 'register_terms_row_action' ], + [ 'maybe_set_wp_cache' ], + ], + 'admin_notices' => [ + [ 'notice_advanced_cache_permissions' ], + [ 'notice_wp_config_permissions' ], + ], + "update_option_{$slug}" => [ 'maybe_set_wp_cache', 12 ], + 'site_status_tests' => 'add_wp_cache_status_test', + 'wp_rocket_upgrade' => [ 'on_update', 10, 2 ], + 'rocket_domain_changed' => [ + [ 'regenerate_configs' ], + [ 'delete_old_configs' ], + [ 'clear_cache', 10, 2 ], + ], + ]; + } + + /** + * Sets the event manager for the subscriber. + * + * @param Event_Manager $event_manager Event Manager instance. + */ + public function set_event_manager( Event_Manager $event_manager ) { + $this->event_manager = $event_manager; + } + + /** + * Registers the action for each public taxonomy + * + * @since 3.5.5 + * + * @return void + */ + public function register_terms_row_action() { + $taxonomies = get_taxonomies( + [ + 'public' => true, + 'publicly_queryable' => true, + ] + ); + + foreach ( $taxonomies as $taxonomy ) { + $this->event_manager->add_callback( "{$taxonomy}_row_actions", [ $this, 'add_purge_term_link' ], 10, 2 ); + } + } + + /** + * Adds a link "Purge this cache" in the terms list table + * + * @param array $actions An array of action links to be displayed. + * @param WP_Term $term Term object. + * + * @return array + */ + public function add_purge_term_link( $actions, $term ) { + if ( ! current_user_can( 'rocket_purge_terms' ) ) { + return $actions; + } + + $url = wp_nonce_url( + admin_url( "admin-post.php?action=purge_cache&type=term-{$term->term_id}&taxonomy={$term->taxonomy}" ), + "purge_cache_term-{$term->term_id}" + ); + + $actions['rocket_purge'] = sprintf( + '<a href="%1$s">%2$s</a>', + $url, + __( 'Clear this cache', 'rocket' ) + ); + + return $actions; + } + + /** + * Displays the notice for advanced-cache.php permissions + * + * @since 3.6 + * + * @return void + */ + public function notice_advanced_cache_permissions() { + $this->advanced_cache->notice_permissions(); + } + + /** + * Set WP_CACHE constant to true if needed + * + * @since 3.6.1 + * + * @return void + */ + public function maybe_set_wp_cache() { + $this->wp_cache->maybe_set_wp_cache(); + } + + /** + * Displays the notice for wp-config.php permissions + * + * @since 3.6.1 + * + * @return void + */ + public function notice_wp_config_permissions() { + $this->wp_cache->notice_wp_config_permissions(); + } + + /** + * Adds a Site Health check for the WP_CACHE constant value + * + * @since 3.6.1 + * + * @param array $tests An array of tests to perform. + * @return array + */ + public function add_wp_cache_status_test( $tests ) { + return $this->wp_cache->add_wp_cache_status_test( $tests ); + } + + /** + * Regenerate configs. + * + * @return void + */ + public function regenerate_configs() { + rocket_generate_advanced_cache_file(); + flush_rocket_htaccess(); + rocket_generate_config_file(); + } + + /** + * Delete old config files. + * + * @return void + */ + public function delete_old_configs() { + $configs = []; + + if ( is_multisite() ) { + foreach ( get_sites( [ 'fields' => 'ids' ] ) as $site_id ) { + switch_to_blog( $site_id ); + $configs[] = $this->generate_config_path(); + restore_current_blog(); + } + } else { + $configs[] = $this->generate_config_path(); + } + + $contents = $this->filesystem->dirlist( WP_ROCKET_CONFIG_PATH ); + foreach ( $contents as $content ) { + $content = WP_ROCKET_CONFIG_PATH . $content['name']; + if ( ! preg_match( '#\.php$#', $content ) || ! $this->filesystem->is_file( $content ) || in_array( + $content, + $configs, + true + ) ) { + continue; + } + + if ( false === strpos( $this->filesystem->get_contents( $content ), '$rocket_cookie_hash' ) ) { + continue; + } + + $this->filesystem->delete( $content ); + } + } + + /** + * Generate the path to the config for the current website. + * + * @return string + */ + protected function generate_config_path() { + $file = get_rocket_parse_url( untrailingslashit( home_url() ) ); + $file['path'] = ( ! empty( $file['path'] ) ) ? str_replace( '/', '.', untrailingslashit( $file['path'] ) ) : ''; + return WP_ROCKET_CONFIG_PATH . strtolower( $file['host'] ) . $file['path'] . '.php'; + } + + /** + * Clear cache. + * + * @param string $current_url current URL from the website. + * @param string $old_url old URL from the website. + * + * @return void + */ + public function clear_cache( string $current_url, string $old_url ) { + rocket_clean_files( [ $old_url, $current_url ], null, false ); + } + + /** + * Regenerate the advanced cache file on update + * + * @param string $new_version New plugin version. + * @param string $old_version Previous plugin version. + * + * @return void + */ + public function on_update( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.15', '>=' ) ) { + return; + } + rocket_generate_advanced_cache_file(); + } +} diff --git a/inc/Engine/Cache/AdvancedCache.php b/inc/Engine/Cache/AdvancedCache.php new file mode 100644 index 0000000..f74996f --- /dev/null +++ b/inc/Engine/Cache/AdvancedCache.php @@ -0,0 +1,206 @@ +<?php + +namespace WP_Rocket\Engine\Cache; + +use WP_Filesystem_Direct; +use WP_Rocket\Engine\Activation\ActivationInterface; +use WP_Rocket\Engine\Deactivation\DeactivationInterface; + +class AdvancedCache implements ActivationInterface, DeactivationInterface { + + /** + * Absolute path to template files + * + * @var string + */ + private $template_path; + + /** + * WP Content directory path + * + * @var string + */ + private $content_dir; + + /** + * Instance of the filesystem handler. + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Instantiate of the class. + * + * @param string $template_path Absolute path to template files. + * @param WP_Filesystem_Direct $filesystem Instance of the filesystem handler. + */ + public function __construct( $template_path, $filesystem ) { + $this->template_path = $template_path; + $this->content_dir = rocket_get_constant( 'WP_CONTENT_DIR' ); + $this->filesystem = $filesystem; + } + + /** + * Actions to perform on plugin activation + * + * @since 3.6.3 + * + * @return void + */ + public function activate() { + add_action( 'rocket_activation', [ $this, 'update_advanced_cache' ] ); + } + + /** + * Actions to perform on plugin deactivation + * + * @since 3.6.3 + * + * @return void + */ + public function deactivate() { + add_action( 'rocket_deactivation', [ $this, 'update_advanced_cache' ] ); + } + + /** + * Generates the advanced-cache.php file with its content + * + * @since 3.6.3 + * + * @param int $sites_number Number of WP Rocket config files found. + * @return void + */ + public function update_advanced_cache( $sites_number = 0 ) { + /** + * Filters whether to generate the advanced-cache.php file. + * + * @since 3.6.3 + * + * @param bool True (default) to go ahead with advanced cache file generation; false to stop generation. + */ + if ( ! (bool) apply_filters( 'rocket_generate_advanced_cache_file', true ) ) { + return; + } + + $content = $this->get_advanced_cache_content(); + + if ( 'rocket_deactivation' === current_filter() ) { + if ( is_multisite() && 0 !== $sites_number ) { + return; + } + + $content = ''; + } + + $this->filesystem->put_contents( + "{$this->content_dir}/advanced-cache.php", + $content, + rocket_get_filesystem_perms( 'file' ) + ); + } + + /** + * Gets the content for the advanced-cache.php file + * + * @since 3.6 + * + * @return string + */ + public function get_advanced_cache_content() { + $content = $this->filesystem->get_contents( $this->template_path . 'advanced-cache.php' ); + $mobile = is_rocket_generate_caching_mobile_files() ? '$1' : ''; + $content = preg_replace( "/'{{MOBILE_CACHE}}';(\X*)'{{\/MOBILE_CACHE}}';/", $mobile, $content ); + + $replacements = [ + '{{WP_ROCKET_PHP_VERSION}}' => rocket_get_constant( 'WP_ROCKET_PHP_VERSION' ), + '{{WP_ROCKET_PATH}}' => rocket_get_constant( 'WP_ROCKET_PATH' ), + '{{WP_ROCKET_CONFIG_PATH}}' => rocket_get_constant( 'WP_ROCKET_CONFIG_PATH' ), + '{{WP_ROCKET_CACHE_PATH}}' => rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ), + ]; + + foreach ( $replacements as $key => $value ) { + $content = str_replace( $key, $value, $content ); + } + + /** + * Filter the content of advanced-cache.php file. + * + * @since 2.1 + * + * @param string $content The content that will be printed in advanced-cache.php. + */ + return (string) apply_filters( 'rocket_advanced_cache_file', $content ); + } + + /** + * This warning is displayed when the advanced-cache.php file isn't writeable + * + * @since 3.6 Moved to a method in AdvancedCache + * @since 2.0 + * + * @return void + */ + public function notice_permissions() { + if ( ! $this->is_user_allowed() ) { + return; + } + + // This filter is documented in inc/functions/files.php. + if ( ! (bool) apply_filters( 'rocket_generate_advanced_cache_file', true ) ) { + return; + } + + if ( + $this->filesystem->is_writable( "{$this->content_dir}/advanced-cache.php" ) + || + rocket_get_constant( 'WP_ROCKET_ADVANCED_CACHE' ) + ) { + return; + } + + $notice_name = 'rocket_warning_advanced_cache_permissions'; + + if ( + in_array( + $notice_name, + (array) get_user_meta( get_current_user_id(), 'rocket_boxes', true ), + true + ) + ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $this->get_notice_message(), + 'dismiss_button' => $notice_name, + 'readonly_content' => $this->get_advanced_cache_content(), + ] + ); + } + + /** + * Checks if current user can see the notices + * + * @since 3.6 + * + * @return bool + */ + private function is_user_allowed() { + return current_user_can( 'rocket_manage_options' ) && rocket_valid_key(); + } + + /** + * Gets the message to display in the notice + * + * @since 3.6 + * + * @return string + */ + private function get_notice_message() { + return rocket_notice_writing_permissions( basename( $this->content_dir ) . '/advanced-cache.php' ); + } +} diff --git a/inc/Engine/Cache/Config/ConfigSubscriber.php b/inc/Engine/Cache/Config/ConfigSubscriber.php new file mode 100644 index 0000000..529b5bc --- /dev/null +++ b/inc/Engine/Cache/Config/ConfigSubscriber.php @@ -0,0 +1,108 @@ +<?php +namespace WP_Rocket\Engine\Cache\Config; + +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Admin\Options; + +/** + * Subscriber for the Cache Config + */ +class ConfigSubscriber implements Subscriber_Interface { + + /** + * Options Data instance. + * + * @var Options_Data + */ + private $options; + + /** + * Options instance. + * + * @var Options + */ + private $options_api; + + /** + * Creates an instance of the Cache Config Subscriber. + * + * @param Options_Data $options WP Rocket options instance. + * @param Options $options_api Options instance. + */ + public function __construct( Options_Data $options, Options $options_api ) { + $this->options = $options; + $this->options_api = $options_api; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'permalink_structure_changed' => 'regenerate_config_file', + 'pre_update_option_' . rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ) => [ 'change_cache_reject_uri_with_permalink', 10, 2 ], + ]; + } + + /** + * Returns a matching user added patterns with permalink structure + * + * @param array $patterns user pattern. + * @return array + */ + private function match_pattern_with_permalink_structure( array $patterns ): array { + if ( empty( $patterns ) ) { + return $patterns; + } + + $patterns = array_map( + function ( $uri ) { + if ( false !== strpos( $uri, 'index.php' ) || '/' === $uri ) { + return $uri; + } + + return user_trailingslashit( $uri ); + }, + $patterns + ); + + return $patterns; + } + + /** + * Regenerate config file. + * + * @return void + */ + public function regenerate_config_file() { + $cache_reject_uri = $this->match_pattern_with_permalink_structure( $this->options->get( 'cache_reject_uri', [] ) ); + + $this->options->set( 'cache_reject_uri', $cache_reject_uri ); + $this->options_api->set( 'settings', $this->options->get_options() ); + + rocket_generate_config_file(); + } + + /** + * Modify cache_reject_uri values. + * + * @param mixed $value The new, unserialized option value. + * @param mixed $old_value The old option value. + * @return array + */ + public function change_cache_reject_uri_with_permalink( $value, $old_value ): array { + if ( ! isset( $old_value['cache_reject_uri'], $value['cache_reject_uri'] ) ) { + return $value; + } + + if ( $old_value['cache_reject_uri'] === $value['cache_reject_uri'] ) { + return $value; + } + + $value['cache_reject_uri'] = $this->match_pattern_with_permalink_structure( $value['cache_reject_uri'] ); + return $value; + } +} diff --git a/inc/Engine/Cache/Config/Subscriber.php b/inc/Engine/Cache/Config/Subscriber.php new file mode 100644 index 0000000..3db9a08 --- /dev/null +++ b/inc/Engine/Cache/Config/Subscriber.php @@ -0,0 +1,30 @@ +<?php +namespace WP_Rocket\Engine\Cache\Config; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Subscriber for the Cache Config + */ +class Subscriber implements Subscriber_Interface { + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'permalink_structure_changed' => 'regenerate_config_file', + ]; + } + + /** + * Regenerate config file. + * + * @return void + */ + public function regenerate_config_file() { + rocket_generate_config_file(); + } +} diff --git a/inc/Engine/Cache/Purge.php b/inc/Engine/Cache/Purge.php new file mode 100644 index 0000000..9be1191 --- /dev/null +++ b/inc/Engine/Cache/Purge.php @@ -0,0 +1,307 @@ +<?php + +namespace WP_Rocket\Engine\Cache; + +use WP_Rocket\Engine\Preload\Database\Queries\Cache; +use DirectoryIterator; +use Exception; +use WP_Term; +use WP_Post; + +/** + * Cache Purge handling class + */ +class Purge { + /** + * Filesystem instance + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Cache Query + * + * @var Cache + */ + protected $query; + + /** + * Initialize the class. + * + * @param WP_Filesystem_Direct $filesystem Filesystem instance. + * @param Cache $query Cache query instance. + */ + public function __construct( $filesystem, Cache $query ) { + $this->filesystem = $filesystem; + $this->query = $query; + } + + /** + * Purges cache for the dates archives of a post + * + * @param WP_Post $post Post object. + * @return void + */ + public function purge_dates_archives( $post ) { + foreach ( $this->get_dates_archives( $post ) as $url ) { + $this->purge_url( $url, true ); + } + } + + /** + * Purge URL cache. + * + * @param string $url URL to be purged. + * @param boolean $pagination Purge also pagination. + * @return void + */ + public function purge_url( $url, $pagination = false ) { + if ( ! is_string( $url ) ) { + return; + } + + global $wp_rewrite; + + $parsed_url = $this->parse_url( $url ); + + foreach ( _rocket_get_cache_dirs( $parsed_url['host'] ) as $dir ) { + $path = $dir . $parsed_url['path']; + + if ( ! $this->filesystem->exists( $path ) ) { + continue; + } + + foreach ( $this->get_iterator( $path ) as $item ) { + if ( $item->isFile() ) { + $this->filesystem->delete( $item->getPathname() ); + } + } + + if ( $pagination ) { + $this->maybe_remove_dir( $path . DIRECTORY_SEPARATOR . $wp_rewrite->pagination_base ); + } + } + } + + /** + * Gets the dates archives URLs for the provided post + * + * @param WP_Post $post Post object. + * @return array + */ + private function get_dates_archives( $post ) { + $time = get_the_time( 'Y-m-d', $post ); + + if ( empty( $time ) ) { + return []; + } + + $date = explode( '-', $time ); + $urls = [ + get_year_link( $date[0] ), + get_month_link( $date[0], $date[1] ), + get_day_link( $date[0], $date[1], $date[2] ), + ]; + + /** + * Filter the list of dates URLs. + * + * @since 1.1.0 + * + * @param array $urls List of dates URLs. + */ + return (array) apply_filters( 'rocket_post_dates_urls', $urls ); + } + + /** + * Parses URL and return the parts array + * + * @since 3.6.1 + * + * @param string $url URL to parse. + * @return array + */ + private function parse_url( $url ) { + $parsed_url = get_rocket_parse_url( $url ); + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', false ) ) { + $parsed_url['host'] = str_replace( '.', '_', $parsed_url['host'] ); + } + + return $parsed_url; + } + + /** + * Gets the iterator for the given path + * + * @since 3.6.1 + * + * @param string $path Absolute path. + * @return DirectoryIterator|array + */ + private function get_iterator( $path ) { + try { + $iterator = new DirectoryIterator( $path ); + } catch ( Exception $e ) { + // No action required, as logging not enabled. + $iterator = []; + } + + return $iterator; + } + + /** + * Recursively remove the provided directory and its content + * + * @since 3.6.1 + * + * @param string $dir Absolute path for the directory. + * @return void + */ + private function maybe_remove_dir( $dir ) { + if ( $this->filesystem->is_dir( $dir ) ) { + rocket_rrmdir( $dir, [], $this->filesystem ); + } + } + + /** + * Purge all terms archives urls associated to a specific post. + * + * @since 3.6.1 + * + * @param WP_Post $post Post object. + */ + public function purge_post_terms_urls( WP_Post $post ) { + $urls = $this->get_post_terms_urls( $post ); + foreach ( $urls as $url ) { + $this->purge_url( $url, true ); + } + /** + * Action to preload urls after cleaning cache. + * + * @param array urls to preload. + */ + do_action( 'rocket_after_clean_terms', $urls ); + } + + /** + * Get all terms archives urls associated to a specific post. + * + * @since 3.6.1 + * + * @param WP_Post $post Post object. + * + * @return array $urls List of taxonomies URLs + */ + private function get_post_terms_urls( WP_Post $post ) { + $urls = []; + $taxonomies = get_object_taxonomies( get_post_type( $post->ID ), 'objects' ); + /** + * Filters the taxonomies excluded from post purge + * + * @since 3.9.1 + * + * @param array $excluded_taxonomies Array of excluded taxonomies names. + */ + $excluded_taxonomies = apply_filters( 'rocket_exclude_post_taxonomy', [] ); + + foreach ( $taxonomies as $taxonomy ) { + if ( + ! $taxonomy->public + || + in_array( $taxonomy->name, $excluded_taxonomies, true ) + ) { + continue; + } + + // Get the terms related to post. + $terms = get_the_terms( $post->ID, $taxonomy->name ); + + if ( empty( $terms ) || is_wp_error( $terms ) ) { + continue; + } + foreach ( $terms as $term ) { + $term_url = get_term_link( $term->slug, $taxonomy->name ); + if ( ! is_wp_error( $term_url ) ) { + $urls[] = $term_url; + } + if ( ! is_taxonomy_hierarchical( $taxonomy->name ) ) { + continue; + } + $ancestors = (array) get_ancestors( $term->term_id, $taxonomy->name ); + foreach ( $ancestors as $ancestor ) { + $ancestor_object = get_term( $ancestor, $taxonomy->name ); + if ( ! $ancestor_object instanceof WP_Term ) { + continue; + } + $ancestor_term_url = get_term_link( $ancestor_object->slug, $taxonomy->name ); + if ( ! is_wp_error( $ancestor_term_url ) ) { + $urls[] = $ancestor_term_url; + } + } + } + } + + // Remove entries with empty values in array. + $urls = array_filter( $urls, 'is_string' ); + + /** + * Filter the list of taxonomies URLs + * + * @since 1.1.0 + * + * @param array $urls List of taxonomies URLs + */ + return apply_filters( 'rocket_post_terms_urls', $urls ); + } + + /** + * Purge single cache file(s) added in the Never Cache URL(s). + * + * @param array $old_value An array of previous values for the settings. + * @param array $value An array of submitted values for the settings. + * @return void + */ + public function purge_cache_reject_uri_partially( array $old_value, array $value ): void { + // Bail out if cache_reject_uri key is not in the settings array. + if ( ! array_key_exists( 'cache_reject_uri', $old_value ) || ! array_key_exists( 'cache_reject_uri', $value ) ) { + return; + } + + // Get change in uris. + $diff = array_diff( $value['cache_reject_uri'], $old_value['cache_reject_uri'] ); + + // Bail out if values has not changed. + if ( empty( $diff ) ) { + return; + } + + $urls = []; + $wildcard = '(.*)'; + foreach ( $diff as $path ) { + // Check if string is a path or pattern. + if ( strpos( $path, $wildcard ) !== false ) { + $pattern = preg_replace( '#\(\.\*\).*#', '*', $path ); + $results = $this->query->query( + [ + 'search' => $pattern, + 'search_columns' => [ 'url' ], + 'status' => 'completed', + ] + ); + + foreach ( $results as $result ) { + $urls[] = $result->url; + } + + continue; + } + + // Get full url of never cache path. + $urls[] = home_url( $path ); + } + rocket_clean_files( array_unique( $urls ) ); + } +} diff --git a/inc/Engine/Cache/PurgeActionsSubscriber.php b/inc/Engine/Cache/PurgeActionsSubscriber.php new file mode 100644 index 0000000..820b75e --- /dev/null +++ b/inc/Engine/Cache/PurgeActionsSubscriber.php @@ -0,0 +1,212 @@ +<?php +namespace WP_Rocket\Engine\Cache; + +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Logger\Logger; + +/** + * Subscriber for the cache purge actions + * + * @since 3.5 + */ +class PurgeActionsSubscriber implements Subscriber_Interface { + /** + * WP Rocket options instance + * + * @var Options_Data + */ + private $options; + + /** + * Purge instance + * + * @var Purge + */ + private $purge; + + /** + * Constructor + * + * @param Options_Data $options WP Rocket options instance. + * @param Purge $purge Purge instance. + */ + public function __construct( Options_Data $options, Purge $purge ) { + $this->options = $options; + $this->purge = $purge; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + $slug = rocket_get_constant( 'WP_ROCKET_SLUG' ); + + return [ + 'profile_update' => 'purge_user_cache', + 'delete_user' => 'purge_user_cache', + 'create_term' => [ 'maybe_purge_cache_on_term_change', 10, 3 ], + 'edit_term' => [ 'maybe_purge_cache_on_term_change', 10, 3 ], + 'delete_term' => [ 'maybe_purge_cache_on_term_change', 10, 3 ], + 'after_rocket_clean_post' => [ + [ 'purge_dates_archives' ], + [ 'purge_post_terms_urls' ], + ], + 'rocket_rucss_complete_job_status' => [ 'purge_url_cache', 100 ], + 'rocket_rucss_after_clearing_usedcss' => 'purge_url_cache', + 'rocket_after_save_dynamic_lists' => 'purge_cache_after_saving_dynamic_lists', + 'update_option_' . $slug => [ 'purge_cache_reject_uri_partially', 10, 2 ], + 'update_option_blog_public' => 'purge_cache', + 'wp_rocket_upgrade' => [ 'on_update', 10, 2 ], + ]; + } + + /** + * Purges the cache of the corresponding user + * + * @since 3.5 + * + * @param int $user_id User ID. + * @return void + */ + public function purge_user_cache( $user_id ) { + if ( ! $this->should_purge_user_cache() ) { + return; + } + + rocket_clean_user( $user_id ); + } + + /** + * Purges the cache when a public term is created|updated|deleted + * + * @since 3.5.5 + * + * @param int $term_id Term ID. + * @param int $tt_id Term taxonomy ID. + * @param string $taxonomy Taxonomy slug. + * @return void + */ + public function maybe_purge_cache_on_term_change( $term_id, $tt_id, $taxonomy ) { + if ( ! $this->is_taxonomy_public( $taxonomy ) ) { + return; + } + + rocket_clean_domain(); + } + + /** + * Purges cache for the dates archives of a post after cleaning the post + * + * @param WP_Post $post Post object. + * @return void + */ + public function purge_dates_archives( $post ) { + $this->purge->purge_dates_archives( $post ); + } + + /** + * Purge all terms archives urls associated to a specific post. + * + * @param WP_Post $post Post object. + * @return void + */ + public function purge_post_terms_urls( $post ) { + $this->purge->purge_post_terms_urls( $post ); + } + + /** + * Checks if the given taxonomy is public + * + * @param string $name Taxonomy name. + * @return bool + */ + private function is_taxonomy_public( $name ) { + $taxonomy = get_taxonomy( $name ); + + if ( false === $taxonomy ) { + return false; + } + + return ( $taxonomy->public && $taxonomy->publicly_queryable ); + } + + /** + * Checks if the user cache should be purged + * + * @since 3.5 + * + * @return boolean + */ + private function should_purge_user_cache() { + if ( ! $this->options->get( 'cache_logged_user', 0 ) ) { + return false; + } + + // This filter is documented in /inc/functions/files.php. + return ! (bool) apply_filters( 'rocket_common_cache_logged_users', false ); + } + + /** + * Purge cache after RUCSS + * + * @param string $url URL to be purged. + * + * @return void + */ + public function purge_url_cache( string $url ) { + // Flush cache for this url. + Logger::debug( 'RUCSS: Purge the cache for url: ' . $url ); + + $this->purge->purge_url( $url ); + } + + /** + * Clean the whole cache + * + * @return void + */ + public function purge_cache() { + rocket_clean_domain(); + } + + /** + * Purge single cache file(s) added in the Never Cache URL(s). + * + * @param array $old_value An array of previous values for the settings. + * @param array $value An array of submitted values for the settings. + * @return void + */ + public function purge_cache_reject_uri_partially( array $old_value, array $value ): void { + $this->purge->purge_cache_reject_uri_partially( $old_value, $value ); + } + + /** + * Purge cache after saving dynamic lists. + * + * @param bool $should_purge Should purge or not. + * + * @return void + */ + public function purge_cache_after_saving_dynamic_lists( $should_purge = true ) { + if ( ! $should_purge ) { + return; + } + $this->purge_cache(); + } + + /** + * Regenerate the advanced cache file on update + * + * @param string $new_version New plugin version. + * @param string $old_version Previous plugin version. + * + * @return void + */ + public function on_update( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.15.3', '>=' ) ) { + return; + } + rocket_generate_advanced_cache_file(); + } +} diff --git a/inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php b/inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php new file mode 100644 index 0000000..7618bf4 --- /dev/null +++ b/inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php @@ -0,0 +1,404 @@ +<?php +namespace WP_Rocket\Engine\Cache\PurgeExpired; + +use WP_Rocket\Buffer\Cache; + +/** + * Purge expired cache files based on the defined lifespan + * + * @since 3.4 + */ +class PurgeExpiredCache { + /** + * Path to the global cache folder. + * + * @since 3.4 + * + * @var string + */ + private $cache_path; + + /** + * Filesystem object. + * + * @since 3.4 + * + * @var \WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Constructor + * + * @param string $cache_path Path to the global cache folder. + */ + public function __construct( $cache_path ) { + $this->cache_path = $cache_path; + } + + /** + * Perform the event action. + * + * @since 3.4 + * + * @param int $lifespan The cache lifespan in seconds. + */ + public function purge_expired_files( $lifespan ) { + if ( ! $lifespan ) { + // Uh? + return; + } + + $urls = get_rocket_i18n_uri(); + $file_age_limit = time() - $lifespan; + + /** + * Filter home URLs that will be searched for old cache files. + * + * @since 3.4 + * + * @param array $urls URLs that will be searched for old cache files. + * @param int $file_age_limit Timestamp of the maximum age files must have. + */ + $urls = apply_filters( 'rocket_automatic_cache_purge_urls', $urls, $file_age_limit ); + + if ( ! is_array( $urls ) ) { + // I saw what you did ಠ_ಠ. + $urls = get_rocket_i18n_uri(); + } + + $urls = array_filter( $urls, 'is_string' ); + $urls = array_filter( $urls ); + + if ( ! $urls ) { + return; + } + + $urls = array_unique( $urls ); + + if ( empty( $this->filesystem ) ) { + $this->filesystem = rocket_direct_filesystem(); + } + + $deleted = []; + $cache_enabled = Cache::can_generate_caching_files(); + + foreach ( $urls as $url ) { + /** + * Fires before purging a cache directory. + * + * @since 3.4 + * + * @param string $url The home url. + * @param int $file_age_limit Timestamp of the maximum age files must have. + */ + do_action( 'rocket_before_automatic_cache_purge_dir', $url, $file_age_limit ); + + $url_deleted = []; + + if ( $cache_enabled ) { + // Get the directory names. + $file = get_rocket_parse_url( $url ); + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', false ) ) { + $file['host'] = str_replace( '.', '_', $file['host'] ); + } + + $sub_dir = rtrim( $file['path'], '/' ); + $files = $this->get_cache_files_in_dir( $file ); + + foreach ( $files as $item ) { + $dir_path = $item->getPathname(); + $sub_dir_path = $dir_path . $sub_dir; + + // Time to cut old leaves. + $item_paths = $this->purge_dir( $sub_dir_path, $file_age_limit ); + + if ( $item_paths ) { + $url_deleted[] = [ + 'home_url' => $url, + 'home_path' => $sub_dir_path, + 'logged_in' => $dir_path !== $this->cache_path . $file['host'], + 'files' => $item_paths, + ]; + } + + if ( $this->is_dir_empty( $dir_path ) ) { + // If the folder is empty, remove it. + $this->filesystem->delete( $dir_path ); + } + } + + if ( $url_deleted ) { + $deleted = array_merge( $deleted, $url_deleted ); + } + } + + $args = [ + 'url' => $url, + 'lifespan' => $lifespan, + 'file_age_limit' => $file_age_limit, + ]; + + /** + * Fires after a cache directory is purged. + * + * @since 3.4 + * + * @param array $deleted { + * An array of arrays sharing the same home URL, described like: { + * @type string $home_url The home URL. This is the same as $args['url']. + * @type string $home_path Path to home. + * @type bool $logged_in True if the home path corresponds to a logged in user’s folder. + * @type array $files A list of paths of files that have been deleted. + * } + * Ex: + * [ + * [ + * 'home_url' => 'http://example.com/home1', + * 'home_path' => '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1', + * 'logged_in' => false, + * 'files' => [ + * '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1/deleted-page', + * '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1/very-dead-page', + * ], + * ], + * [ + * 'home_url' => 'http://example.com/home1', + * 'home_path' => '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1', + * 'logged_in' => true, + * 'files' => [ + * '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1/how-to-prank-your-coworkers', + * '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1/best-source-of-gifs', + * ], + * ], + * ] + * @param array $args { + * @type string $url The home url. + * @type int $lifespan Files lifespan in seconds. + * @type int $file_age_limit Timestamp of the maximum age files must have. This is basically `time() - $lifespan`. + * } + */ + do_action( 'rocket_after_automatic_cache_purge_dir', $url_deleted, $args ); + } + + $args = [ + 'lifespan' => $lifespan, + 'file_age_limit' => $file_age_limit, + ]; + + /** + * Fires after cache directories are purged. + * + * @since 3.4 + * + * @param array $deleted { + * An array of arrays, described like: { + * @type string $home_url The home URL. + * @type string $home_path Path to home. + * @type bool $logged_in True if the home path corresponds to a logged in user’s folder. + * @type array $files A list of paths of files that have been deleted. + * } + * Ex: + * [ + * [ + * 'home_url' => 'http://example.com/home1', + * 'home_path' => '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1', + * 'logged_in' => false, + * 'files' => [ + * '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1/deleted-page', + * '/path-to/home1/wp-content/cache/wp-rocket/example.com/home1/very-dead-page', + * ], + * ], + * [ + * 'home_url' => 'http://example.com/home1', + * 'home_path' => '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1', + * 'logged_in' => true, + * 'files' => [ + * '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1/how-to-prank-your-coworkers', + * '/path-to/home1/wp-content/cache/wp-rocket/example.com-Greg-594d03f6ae698691165999/home1/best-source-of-gifs', + * ], + * ], + * [ + * 'home_url' => 'http://example.com/home4', + * 'home_path' => '/path-to/home4/wp-content/cache/wp-rocket/example.com-Greg-71edg8d6af865569979569/home4', + * 'logged_in' => true, + * 'files' => [ + * '/path-to/home4/wp-content/cache/wp-rocket/example.com-Greg-71edg8d6af865569979569/home4/easter-eggs-in-code-your-best-opportunities', + * ], + * ], + * ] + * } + * @param array $args { + * @type int $lifespan Files lifespan in seconds. + * @type int $file_age_limit Timestamp of the maximum age files must have. This is basically `time() - $lifespan`. + * } + */ + do_action( 'rocket_after_automatic_cache_purge', $deleted, $args ); + } + + + /** ----------------------------------------------------------------------------------------- */ + /** TOOLS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + /** + * Get all cache files for the provided URL + * + * @since 3.4 + * + * @param array $file An array of the parsed URL parts. + * @return array|\CallbackFilterIterator + */ + private function get_cache_files_in_dir( $file ) { + // Grab cache folders. + $host_pattern = '@^' . preg_quote( $file['host'], '@' ) . '@'; + $sub_dir = rtrim( $file['path'], '/' ); + + try { + $iterator = new \DirectoryIterator( $this->cache_path ); + } + catch ( \Exception $e ) { + return []; + } + + return new \CallbackFilterIterator( + $iterator, + function ( $current ) use ( $host_pattern, $sub_dir ) { + + if ( ! $current->isDir() || $current->isDot() ) { + // We look for folders only, and don't want '.' nor '..'. + return false; + } + + if ( ! preg_match( $host_pattern, $current->getFilename() ) ) { + // Not the right host. + return false; + } + + if ( '' !== $sub_dir && ! $this->filesystem->exists( $current->getPathname() . $sub_dir ) ) { + // Not the right path. + return false; + } + + return true; + } + ); + } + + /** + * Purge a folder from old files. + * + * @since 3.4 + * + * @param string $dir_path Path to the folder to purge. + * @param int $file_age_limit Timestamp of the maximum age files must have. + * @return array A list of files that have been deleted. + */ + private function purge_dir( $dir_path, $file_age_limit ) { + $deleted = []; + + try { + $iterator = new \DirectoryIterator( $dir_path ); + } + catch ( \Exception $e ) { + return []; + } + + foreach ( $iterator as $item ) { + if ( $item->isDot() ) { + continue; + } + + if ( $item->isDir() ) { + /** + * A folder, let’s see what’s in there. + * Maybe there’s a dinosaur fossil or a hidden treasure. + */ + $dir_deleted = $this->purge_dir( $item->getPathname(), $file_age_limit ); + $deleted = array_merge( $deleted, $dir_deleted ); + + } elseif ( $item->isFile() && $item->getMTime() < $file_age_limit ) { + $file_path = $item->getPathname(); + + /** + * The file is older than our limit. + * This will also delete the file if `$item->getMTime()` fails. + */ + if ( ! $this->filesystem->delete( $file_path ) ) { + continue; + } + + /** + * A page can have mutiple cache files: + * index(-mobile)(-https)(-dynamic-cookie-key){0,*}.html(_gzip). + */ + $dir_path = dirname( $file_path ); + + if ( ! in_array( $dir_path, $deleted, true ) ) { + $deleted[] = $dir_path; + } + } + } + + if ( $this->is_dir_empty( $dir_path ) ) { + // If the folder is empty, remove it. + $this->filesystem->delete( $dir_path ); + } + + return $deleted; + } + + /** + * Tell if a folder is empty. + * + * @since 3.4 + * + * @param string $dir_path Path to the folder to purge. + * @return bool True if empty. False if it contains files. + */ + private function is_dir_empty( $dir_path ) { + try { + $iterator = new \DirectoryIterator( $dir_path ); + } + catch ( \Exception $e ) { + return []; + } + + foreach ( $iterator as $item ) { + if ( $item->isDot() ) { + continue; + } + return false; + } + + return true; + } + + /** + * Update lifespan option to convert old minutes to hours. + * + * @since 3.8 + * + * @param int $old_lifespan Old value in minutes. + * @param int $old_lifespan_unit Old value of unit. + * + * @return void + */ + public function update_lifespan_value( $old_lifespan, $old_lifespan_unit ) { + if ( 'MINUTE_IN_SECONDS' !== $old_lifespan_unit ) { + return; + } + + $options = get_option( 'wp_rocket_settings', [] ); + + if ( $old_lifespan > 0 && $old_lifespan < 60 ) { + $old_lifespan = 60; + } + + $options['purge_cron_unit'] = 'HOUR_IN_SECONDS'; + $options['purge_cron_interval'] = round( $old_lifespan / 60 ); + + update_option( 'wp_rocket_settings', $options ); + } +} diff --git a/inc/Engine/Cache/PurgeExpired/Subscriber.php b/inc/Engine/Cache/PurgeExpired/Subscriber.php new file mode 100644 index 0000000..588ec9d --- /dev/null +++ b/inc/Engine/Cache/PurgeExpired/Subscriber.php @@ -0,0 +1,184 @@ +<?php +namespace WP_Rocket\Engine\Cache\PurgeExpired; + +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Event subscriber to clear cached files after lifespan. + * + * @since 3.4 + */ +class Subscriber implements Subscriber_Interface { + + /** + * Cron name. + * + * @since 3.4 + * + * @var string + */ + const EVENT_NAME = 'rocket_purge_time_event'; + + /** + * WP Rocket Options instance. + * + * @since 3.4 + * + * @var Options_Data + */ + private $options; + + /** + * Expired Cache Purge instance. + * + * @since 3.4 + * + * @var PurgeExpiredCache + */ + private $purge; + + /** + * Constructor. + * + * @param Options_Data $options Options instance. + * @param PurgeExpiredCache $purge Purge instance. + */ + public function __construct( Options_Data $options, PurgeExpiredCache $purge ) { + $this->options = $options; + $this->purge = $purge; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'init' => 'schedule_event', + 'rocket_deactivation' => 'unschedule_event', + static::EVENT_NAME => 'purge_expired_files', + 'cron_schedules' => 'custom_cron_schedule', + 'wp_rocket_upgrade' => [ 'update_lifespan_option_on_update', 13, 2 ], + ]; + } + + /** + * Adds a custom cron schedule based on purge lifespan interval. + * + * @since 3.4.3 + * + * @param array $schedules An array of non-default cron schedules. + */ + public function custom_cron_schedule( $schedules ) { + $schedules['rocket_expired_cache_cron_interval'] = [ + 'interval' => $this->get_interval(), + 'display' => __( 'WP Rocket Expired Cache Interval', 'rocket' ), + ]; + + return $schedules; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOK CALLBACKS ========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Scheduling the cron event. + * If the task is not programmed, it is automatically added. + * + * @since 3.4 + */ + public function schedule_event() { + if ( $this->get_cache_lifespan() && ! wp_next_scheduled( static::EVENT_NAME ) ) { + $interval = $this->get_interval(); + wp_schedule_event( time() + $interval, 'rocket_expired_cache_cron_interval', static::EVENT_NAME ); + } + } + + /** + * Gets the interval when the scheduled clean cache purge needs to run. + * If Minutes option is selected, then the interval will be set to minutes. + * If Hours / Days options are selected, then it will be set to 1 hour. + * + * @since 3.4.3 + * + * @return int $interval Interval time in seconds. + */ + private function get_interval() { + $unit = $this->options->get( 'purge_cron_unit' ); + $lifespan = $this->options->get( 'purge_cron_interval', 10 ); + $interval = HOUR_IN_SECONDS; + + if ( ! $unit || ! defined( $unit ) ) { + $unit = 'HOUR_IN_SECONDS'; + } + if ( 'MINUTE_IN_SECONDS' === $unit ) { + $interval = $lifespan * MINUTE_IN_SECONDS; + } + return $interval; + } + + /** + * Unschedule the event. + * + * @since 3.4 + */ + public function unschedule_event() { + wp_clear_scheduled_hook( static::EVENT_NAME ); + } + + /** + * Perform the event action. + * + * @since 3.4 + */ + public function purge_expired_files() { + $this->purge->purge_expired_files( $this->get_cache_lifespan() ); + } + + /** + * Get the cache lifespan in seconds. + * If no value is filled in the settings, return 0. It means the purge is disabled. + * If the value from the settings is filled but invalid, fallback to the initial value (10 hours). + * + * @since 3.4 + * + * @return int The cache lifespan in seconds. + */ + public function get_cache_lifespan() { + $lifespan = $this->options->get( 'purge_cron_interval' ); + + if ( ! $lifespan ) { + return 0; + } + + $unit = $this->options->get( 'purge_cron_unit' ); + + if ( $lifespan < 0 || ! $unit || ! defined( $unit ) ) { + return 10 * HOUR_IN_SECONDS; + } + + return $lifespan * constant( $unit ); + } + + /** + * Update lifespan option to remove minutes with WP Rocket Update. + * + * @since 3.8 + * + * @param string $new_version New plugin version. + * @param string $old_version Previous plugin version. + * + * @return void + */ + public function update_lifespan_option_on_update( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.8', '>' ) ) { + return; + } + + $this->purge->update_lifespan_value( + $this->options->get( 'purge_cron_interval' ), + $this->options->get( 'purge_cron_unit' ) + ); + } +} diff --git a/inc/Engine/Cache/ServiceProvider.php b/inc/Engine/Cache/ServiceProvider.php new file mode 100644 index 0000000..2c61e43 --- /dev/null +++ b/inc/Engine/Cache/ServiceProvider.php @@ -0,0 +1,79 @@ +<?php +namespace WP_Rocket\Engine\Cache; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Engine\Cache\PurgeExpired\PurgeExpiredCache; +use WP_Rocket\Engine\Cache\PurgeExpired\Subscriber; +use WP_Rocket\Engine\Preload\Database\Queries\Cache as CacheQuery; +use WP_Rocket\Logger\Logger; +use WP_Rocket\Engine\Cache\Config\ConfigSubscriber; + +/** + * Service Provider for cache subscribers + * + * @since 3.5.5 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'advanced_cache', + 'wp_cache', + 'purge', + 'purge_actions_subscriber', + 'admin_cache_subscriber', + 'expired_cache_purge', + 'expired_cache_purge_subscriber', + 'preload_caches_query', + 'cache_config', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $filesystem = rocket_direct_filesystem(); + + $this->getContainer()->add( 'preload_caches_query', CacheQuery::class ) + ->addArgument( new Logger() ); + $cache_query = $this->getContainer()->get( 'preload_caches_query' ); + + $this->getContainer()->add( 'advanced_cache', AdvancedCache::class ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/cache/' ) + ->addArgument( $filesystem ); + $this->getContainer()->add( 'wp_cache', WPCache::class ) + ->addArgument( $filesystem ); + $this->getContainer()->add( 'purge', Purge::class ) + ->addArgument( $filesystem ) + ->addArgument( $cache_query ); + $this->getContainer()->share( 'purge_actions_subscriber', PurgeActionsSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'purge' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer()->share( 'admin_cache_subscriber', AdminSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'advanced_cache' ) ) + ->addArgument( $this->getContainer()->get( 'wp_cache' ) ) + ->addTag( 'admin_subscriber' ); + + $this->getContainer()->add( 'expired_cache_purge', PurgeExpiredCache::class ) + ->addArgument( rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ) ); + $this->getContainer()->share( 'expired_cache_purge_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'expired_cache_purge' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer()->add( 'cache_config', ConfigSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Engine/Cache/WPCache.php b/inc/Engine/Cache/WPCache.php new file mode 100644 index 0000000..8780386 --- /dev/null +++ b/inc/Engine/Cache/WPCache.php @@ -0,0 +1,392 @@ +<?php + +namespace WP_Rocket\Engine\Cache; + +use WP_Rocket\Engine\Activation\ActivationInterface; +use WP_Rocket\Engine\Deactivation\DeactivationInterface; + +class WPCache implements ActivationInterface, DeactivationInterface { + /** + * Filesystem instance. + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Instantiate the class + * + * @param WP_Filesystem_Direct $filesystem Filesystem instance. + */ + public function __construct( $filesystem ) { + $this->filesystem = $filesystem; + } + + /** + * Performs these actions during the plugin activation + * + * @return void + */ + public function activate() { + add_action( 'rocket_activation', [ $this, 'update_wp_cache' ] ); + } + + /** + * Performs these actions during the plugin deactivation + * + * @return void + */ + public function deactivate() { + add_action( 'rocket_deactivation', [ $this, 'update_wp_cache' ] ); + add_filter( 'rocket_prevent_deactivation', [ $this, 'maybe_prevent_deactivation' ] ); + } + + /** + * Sets the WP_CACHE constant on (de)activation + * + * @since 3.6.3 + * + * @param int $sites_number Number of WP Rocket config files found. + * @return void + */ + public function update_wp_cache( $sites_number = 0 ) { + if ( ! rocket_valid_key() ) { + return; + } + + $value = true; + + if ( 'rocket_deactivation' === current_filter() ) { + if ( is_multisite() && 0 !== $sites_number ) { + return; + } + + $value = false; + } + + $this->set_wp_cache_constant( $value ); + } + + /** + * Updates the causes array on deactivation if needed + * + * @since 3.6.3 + * + * @param array $causes Array of causes to pass to the notice. + */ + public function maybe_prevent_deactivation( $causes ) { + if ( + $this->find_wpconfig_path() + || + // This filter is documented in inc/Engine/Cache/WPCache.php. + ! (bool) apply_filters( 'rocket_set_wp_cache_constant', true ) + ) { + return $causes; + } + + $causes[] = 'wpconfig'; + + return $causes; + } + + /** + * Set WP_CACHE constant to true if needed + * + * @since 3.6.1 + * + * @return void + */ + public function maybe_set_wp_cache() { + if ( + rocket_get_constant( 'DOING_AJAX' ) + || + rocket_get_constant( 'DOING_AUTOSAVE' ) + ) { + return; + } + + if ( rocket_get_constant( 'WP_CACHE' ) ) { + return; + } + + $this->set_wp_cache_constant( true ); + } + + /** + * Sets the value of the WP_CACHE constant in wp-config.php + * + * @since 3.6.1 + * + * @param bool $value The value to set for WP_CACHE constant. + * @return bool true on success, false otherwise. + */ + public function set_wp_cache_constant( $value ) { + if ( ! $this->should_set_wp_cache_constant( $value ) ) { + return false; + } + + $config_file_path = $this->find_wpconfig_path(); + + if ( ! $config_file_path ) { + return false; + } + + $config_file_contents = $this->filesystem->get_contents( $config_file_path ); + $value = $value ? 'true' : 'false'; + + /** + * Filter allow to change the value of WP_CACHE constant + * + * @since 2.1 + * + * @param string $value The value of WP_CACHE constant. + */ + $value = apply_filters( 'set_rocket_wp_cache_define', $value ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + $wp_cache_found = preg_match( '/^\s*define\(\s*\'WP_CACHE\'\s*,\s*(?<value>[^\s\)]*)\s*\)/m', $config_file_contents, $matches ); + + if ( + ! empty( $matches['value'] ) + && + $matches['value'] === $value + ) { + return false; + } + + $constant = $this->get_wp_cache_content( $value ); + + if ( ! $wp_cache_found ) { + $config_file_contents = preg_replace( '/(<\?php)/i', "<?php\r\n{$constant}\r\n", $config_file_contents, 1 ); + } elseif ( ! empty( $matches['value'] ) && $matches['value'] !== $value ) { + $config_file_contents = preg_replace( '/^\s*define\(\s*\'WP_CACHE\'\s*,\s*([^\s\)]*)\s*\).+/m', $constant, $config_file_contents ); + } + + return $this->filesystem->put_contents( $config_file_path, $config_file_contents, rocket_get_filesystem_perms( 'file' ) ); + } + + /** + * Checks if we should set the WP_CACHE constant + * + * @since 3.6.1 + * + * @param bool $value The value to set for WP_CACHE constant. + * @return bool + */ + private function should_set_wp_cache_constant( $value ) { + if ( ! $this->is_user_allowed() ) { + return false; + } + + if ( + true === $value + && + rocket_get_constant( 'WP_CACHE' ) + ) { + return false; + } + + /** + * Filters the writing of the WP_CACHE constant in wp-config.php + * + * @since 3.6.1 + * @param bool $set True to allow writing, false otherwise. + */ + return (bool) apply_filters( 'rocket_set_wp_cache_constant', true ); + } + + /** + * Try to find the correct wp-config.php file, support one level up in file tree. + * + * @since 3.6.1 + * + * @return string|bool The path of wp-config.php file or false if not found. + */ + private function find_wpconfig_path() { + /** + * Filter the wp-config's filename. + * + * @since 2.11 + * + * @param string $filename The WP Config filename, without the extension. + */ + $config_file_name = apply_filters( 'rocket_wp_config_name', 'wp-config' ); + $abspath = rocket_get_constant( 'ABSPATH' ); + $config_file = "{$abspath}{$config_file_name}.php"; + + if ( $this->filesystem->is_writable( $config_file ) ) { + return $config_file; + } + + $abspath_parent = dirname( $abspath ) . DIRECTORY_SEPARATOR; + $config_file_alt = "{$abspath_parent}{$config_file_name}.php"; + + if ( + $this->filesystem->exists( $config_file_alt ) + && + $this->filesystem->is_writable( $config_file_alt ) + && + ! $this->filesystem->exists( "{$abspath_parent}wp-settings.php" ) + ) { + return $config_file_alt; + } + + // No writable file found. + return false; + } + + /** + * This warning is displayed when the wp-config.php file isn't writable + * + * @since 3.6.1 + * + * @return void + */ + public function notice_wp_config_permissions() { + global $pagenow; + + if ( + 'plugins.php' === $pagenow + || + isset( $_GET['activate'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended + ) { + return; + } + + if ( ! $this->is_user_allowed() ) { + return; + } + + if ( rocket_get_constant( 'WP_CACHE' ) ) { + return; + } + + // This filter is documented in inc/Engine/Cache/WPCache.php. + if ( ! (bool) apply_filters( 'rocket_set_wp_cache_constant', true ) ) { + return; + } + + if ( $this->find_wpconfig_path() ) { + return; + } + + $notice_name = 'rocket_warning_wp_config_permissions'; + + if ( + in_array( + $notice_name, + (array) get_user_meta( get_current_user_id(), 'rocket_boxes', true ), + true + ) + ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => rocket_notice_writing_permissions( 'wp-config.php' ), + 'dismiss_button' => $notice_name, + 'readonly_content' => $this->get_wp_cache_content(), + ] + ); + } + + /** + * Checks if current user can perform the action + * + * @since 3.6.1 + * + * @return bool + */ + private function is_user_allowed() { + return ( rocket_get_constant( 'WP_CLI', false ) || current_user_can( 'rocket_manage_options' ) ) && rocket_valid_key(); + } + + /** + * Gets the content to add to the wp-config.php file + * + * @since 3.6.1 + * + * @param string $value Value for the WP_CACHE constant. + * @return string + */ + private function get_wp_cache_content( $value = 'true' ) { + $plugin_name = rocket_get_constant( 'WP_ROCKET_PLUGIN_NAME' ); + + return "define( 'WP_CACHE', {$value} ); // Added by {$plugin_name}"; + } + + + /** + * Adds a Site Health check for the WP_CACHE constant value + * + * @since 3.6.1 + * + * @param array $tests An array of tests to perform. + * @return array + */ + public function add_wp_cache_status_test( $tests ) { + + // This filter is documented in inc/Engine/Cache/WPCache.php. + if ( ! (bool) apply_filters( 'rocket_set_wp_cache_constant', true ) ) { + return $tests; + } + + $tests['direct']['wp_cache_status'] = [ + 'label' => __( 'WP_CACHE value', 'rocket' ), + 'test' => [ $this, 'check_wp_cache_value' ], + ]; + + return $tests; + } + + /** + * Checks the WP_CACHE constant value and return the result for Site Health + * + * @since 3.6.1 + * + * @return array + */ + public function check_wp_cache_value() { + $result = [ + 'badge' => [ + 'label' => __( 'Cache', 'rocket' ), + ], + 'description' => sprintf( + '<p>%s</p>', + __( 'The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly', 'rocket' ) + ), + 'actions' => '', + 'test' => 'wp_cache_status', + ]; + + $value = rocket_get_constant( 'WP_CACHE' ); + + if ( true === $value ) { + $result['label'] = __( 'WP_CACHE is set to true', 'rocket' ); + $result['status'] = 'good'; + $result['badge']['color'] = 'green'; + + return $result; + } + + if ( null === $value ) { + $result['label'] = __( 'WP_CACHE is not set', 'rocket' ); + $result['status'] = 'critical'; + $result['badge']['color'] = 'red'; + + return $result; + } + + if ( false === $value ) { + $result['label'] = __( 'WP_CACHE is set to false', 'rocket' ); + $result['status'] = 'critical'; + $result['badge']['color'] = 'red'; + + return $result; + } + + return $result; + } +} diff --git a/inc/Engine/Capabilities/Manager.php b/inc/Engine/Capabilities/Manager.php new file mode 100644 index 0000000..a24d4a3 --- /dev/null +++ b/inc/Engine/Capabilities/Manager.php @@ -0,0 +1,191 @@ +<?php + +namespace WP_Rocket\Engine\Capabilities; + +use WP_Rocket\Engine\Activation\ActivationInterface; +use WP_Rocket\Engine\Deactivation\DeactivationInterface; + +class Manager implements ActivationInterface, DeactivationInterface { + /** + * List of WP Rocket capabilities + * + * @var array + */ + private $capabilities = [ + 'rocket_manage_options', + 'rocket_purge_cache', + 'rocket_purge_posts', + 'rocket_purge_terms', + 'rocket_purge_users', + 'rocket_purge_cloudflare_cache', + 'rocket_purge_sucuri_cache', + 'rocket_preload_cache', + 'rocket_regenerate_critical_css', + 'rocket_remove_unused_css', + ]; + + /** + * Gets the WP Rocket capabilities + * + * @since 3.4 + * + * @return array + */ + private function get_capabilities() { + return $this->capabilities; + } + + /** + * Performs these actions during the plugin activation + * + * @return void + */ + public function activate() { + add_action( 'rocket_activation', [ $this, 'add_rocket_capabilities' ] ); + } + + /** + * Performs these actions during the plugin deactivation + * + * @return void + */ + public function deactivate() { + add_action( 'rocket_deactivation', [ $this, 'remove_rocket_capabilities' ] ); + } + + /** + * Add WP Rocket capabilities to the administrator role + * + * @since 3.4 + * + * @return void + */ + public function add_rocket_capabilities() { + $role = $this->get_administrator_role_object(); + + if ( is_null( $role ) ) { + return; + } + + foreach ( $this->get_capabilities() as $cap ) { + $role->add_cap( $cap ); + } + } + + /** + * Remove WP Rocket capabilities from the administrator role + * + * @since 3.4 + * + * @return void + */ + public function remove_rocket_capabilities() { + $role = $this->get_administrator_role_object(); + + if ( is_null( $role ) ) { + return; + } + + foreach ( $this->get_capabilities() as $cap ) { + $role->remove_cap( $cap ); + } + } + + /** + * Sets the capability for the options page. + * + * @since 3.4 + * + * @param string $capability The capability used for the page, which is manage_options by default. + * @return string + */ + public function required_capability( $capability ) { + return 'rocket_manage_options'; + } + + /** + * Add WP Rocket capabilities to User Role Editor + * + * @since 3.4 + * + * @param array $caps Array of existing capabilities. + * @return array + */ + public function add_caps_to_ure( $caps ) { + foreach ( $this->get_capabilities() as $cap ) { + $caps[ $cap ] = [ + 'custom', + 'wp_rocket', + ]; + } + + return $caps; + } + + /** + * Add WP Rocket as a group in User Role Editor + * + * @since 3.4 + * + * @param array $groups Array of existing groups. + * @return array + */ + public function add_group_to_ure( $groups ) { + $groups['wp_rocket'] = [ + 'caption' => esc_html( 'WP Rocket' ), + 'parent' => 'custom', + 'level' => 2, + ]; + + return $groups; + } + + /** + * Add WP Rocket as a cap group in Members + */ + public function add_cap_group_to_members() { + \members_register_cap_group( + 'wp_rocket', + [ + 'label' => esc_html( 'WP Rocket' ), + 'priority' => 42, + 'caps' => $this->get_capabilities(), + ] + ); + } + + /** + * Add WP Rocket capabilities to Members + */ + public function add_caps_to_members() { + foreach ( $this->get_capabilities() as $cap ) { + \members_register_cap( $cap, [ 'label' => $cap ] ); + } + } + + /** + * Adds WP Rocket capabilities on plugin upgrade + * + * @since 3.6.3 + * + * @param string $wp_rocket_version Latest WP Rocket version. + * @param string $actual_version Installed WP Rocket version. + * @return void + */ + public function add_capabilities_on_upgrade( $wp_rocket_version, $actual_version ) { + if ( version_compare( $actual_version, '3.9', '<' ) ) { + $this->add_rocket_capabilities(); + } + } + + /** + * Returns the object for the administrator roll + * + * @since 3.6.3 + * + * @return WP_Role|null + */ + private function get_administrator_role_object() { + return get_role( 'administrator' ); + } +} diff --git a/inc/Engine/Capabilities/ServiceProvider.php b/inc/Engine/Capabilities/ServiceProvider.php new file mode 100644 index 0000000..564ddfd --- /dev/null +++ b/inc/Engine/Capabilities/ServiceProvider.php @@ -0,0 +1,38 @@ +<?php +namespace WP_Rocket\Engine\Capabilities; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; + +/** + * Service Provider for capabilities + * + * @since 3.6.3 + */ +class ServiceProvider extends AbstractServiceProvider { + + /** + * The provides array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'capabilities_manager', + 'capabilities_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + $this->getContainer()->add( 'capabilities_manager', Manager::class ); + $this->getContainer()->share( 'capabilities_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'capabilities_manager' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Engine/Capabilities/Subscriber.php b/inc/Engine/Capabilities/Subscriber.php new file mode 100644 index 0000000..9fafab6 --- /dev/null +++ b/inc/Engine/Capabilities/Subscriber.php @@ -0,0 +1,111 @@ +<?php +namespace WP_Rocket\Engine\Capabilities; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +/** + * Manage WP Rocket custom capabilities + * + * @since 3.4 + */ +class Subscriber implements Subscriber_Interface { + /** + * Capabilities manager instance + * + * @var Manager + */ + private $capabilities; + + /** + * Instantiate the subscriber + * + * @param Manager $capabilities Capabilities manager instance. + */ + public function __construct( Manager $capabilities ) { + $this->capabilities = $capabilities; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.4 + * + * @return array + */ + public static function get_subscribed_events() { + $slug = rocket_get_constant( 'WP_ROCKET_PLUGIN_SLUG' ); + + return [ + "option_page_capability_{$slug}" => 'required_capability', + 'ure_built_in_wp_caps' => 'add_caps_to_ure', + 'ure_capabilities_groups_tree' => 'add_group_to_ure', + 'members_register_cap_groups' => 'add_cap_group_to_members', + 'members_register_caps' => 'add_caps_to_members', + 'wp_rocket_upgrade' => [ 'add_capabilities_on_upgrade', 12, 2 ], + ]; + } + + /** + * Sets the capability for the options page. + * + * @since 3.4 + * + * @param string $capability The capability used for the page, which is manage_options by default. + * @return string + */ + public function required_capability( $capability ) { + return $this->capabilities->required_capability( $capability ); + } + + /** + * Adds WP Rocket capabilities to User Role Editor + * + * @since 3.4 + * + * @param array $caps Array of existing capabilities. + * @return array + */ + public function add_caps_to_ure( $caps ) { + return $this->capabilities->add_caps_to_ure( $caps ); + } + + /** + * Adds WP Rocket as a group in User Role Editor + * + * @since 3.4 + * + * @param array $groups Array of existing groups. + * @return array + */ + public function add_group_to_ure( $groups ) { + return $this->capabilities->add_group_to_ure( $groups ); + } + + /** + * Add WP Rocket as a cap group in Members + */ + public function add_cap_group_to_members() { + $this->capabilities->add_cap_group_to_members(); + } + + /** + * Add WP Rocket capabilities to Members + */ + public function add_caps_to_members() { + $this->capabilities->add_caps_to_members(); + } + + + /** + * Adds WP Rocket capabilities on plugin upgrade + * + * @since 3.6.3 + * + * @param string $wp_rocket_version Latest WP Rocket version. + * @param string $actual_version Installed WP Rocket version. + * @return void + */ + public function add_capabilities_on_upgrade( $wp_rocket_version, $actual_version ) { + $this->capabilities->add_capabilities_on_upgrade( $wp_rocket_version, $actual_version ); + } +} diff --git a/inc/Engine/Common/Ajax/AjaxHandler.php b/inc/Engine/Common/Ajax/AjaxHandler.php new file mode 100644 index 0000000..08c142d --- /dev/null +++ b/inc/Engine/Common/Ajax/AjaxHandler.php @@ -0,0 +1,35 @@ +<?php + +namespace WP_Rocket\Engine\Common\Ajax; + +class AjaxHandler { + + /** + * Validate the referer before going further. + * + * @param string $action Action to validate. + * @param string $capacities User capacity to verify. + * @return bool + */ + public function validate_referer( string $action, string $capacities ) { + + check_admin_referer( $action ); + + if ( ! current_user_can( $capacities ) ) { + return false; + } + + return true; + } + + /** + * Redirect the page at the end of the logic. + * + * @param string $url URl to redirect to (by default referrer). + * @return void + */ + public function redirect( string $url = '' ) { + wp_safe_redirect( '' === $url ? wp_get_referer() : $url ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } +} diff --git a/inc/Engine/Common/Cache/CacheInterface.php b/inc/Engine/Common/Cache/CacheInterface.php new file mode 100644 index 0000000..5daeb7b --- /dev/null +++ b/inc/Engine/Common/Cache/CacheInterface.php @@ -0,0 +1,36 @@ +<?php + +namespace WP_Rocket\Engine\Common\Cache; + +interface CacheInterface extends \WP_Rocket\Dependencies\Psr\SimpleCache\CacheInterface { + + /** + * Generate the real URL. + * + * @param string $url original URL. + * @return string + */ + public function generate_url( string $url ): string; + + /** + * Is the root path available. + * + * @return bool + */ + public function is_accessible(): bool; + + /** + * Get root path from the cache. + * + * @return string + */ + public function get_root_path(): string; + + /** + * Generate a path from the URL. + * + * @param string $url URL to change to a path. + * @return string + */ + public function generate_path( string $url ): string; +} diff --git a/inc/Engine/Common/Cache/FilesystemCache.php b/inc/Engine/Common/Cache/FilesystemCache.php new file mode 100644 index 0000000..df42f1a --- /dev/null +++ b/inc/Engine/Common/Cache/FilesystemCache.php @@ -0,0 +1,239 @@ +<?php + +namespace WP_Rocket\Engine\Common\Cache; + +use WP_Rocket\Dependencies\Psr\SimpleCache\InvalidArgumentException; +use WP_Filesystem_Direct; + +class FilesystemCache implements CacheInterface { + + /** + * Root folder from the path. + * + * @var string + */ + protected $root_folder; + + /** + * WordPress filesystem. + * + * @var WP_Filesystem_Direct + */ + protected $filesystem; + + /** + * Class instantiation. + * + * @param string $root_folder Root folder from the path. + * @param WP_Filesystem_Direct|null $filesystem WordPress filesystem. + */ + public function __construct( string $root_folder, WP_Filesystem_Direct $filesystem = null ) { + $this->root_folder = $root_folder; + $this->filesystem = $filesystem ?: rocket_direct_filesystem(); + } + + + /** + * Fetches a value from the cache. + * + * @param string $key The unique key of this item in the cache. + * @param mixed $default Default value to return if the key does not exist. + * + * @return mixed The value of the item from the cache, or $default in case of cache miss. + */ + public function get( $key, $default = null ) { + $path = $this->generate_path( $key ); + + if ( ! $this->filesystem->exists( $path ) ) { + return $default; + } + + return $this->filesystem->get_contents( $path ); + } + + /** + * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. + * + * @param string $key The key of the item to store. + * @param mixed $value The value of the item to store, must be serializable. + * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and + * the driver supports TTL then the library may set a default value + * for it or let the driver take care of that. + * + * @return bool True on success and false on failure. + */ + public function set( $key, $value, $ttl = null ) { + $path = $this->generate_path( $key ); + $directory = dirname( $path ); + rocket_mkdir_p( $directory, $this->filesystem ); + return $this->filesystem->put_contents( $path, $value, rocket_get_filesystem_perms( 'file' ) ); + } + + /** + * Delete an item from the cache by its unique key. + * + * @param string $key The unique cache key of the item to delete. + * + * @return bool True if the item was successfully removed. False if there was an error. + */ + public function delete( $key ) { + $path = $this->generate_path( $key ); + if ( ! $this->filesystem->exists( $path ) ) { + return false; + } + if ( $this->filesystem->is_dir( $path ) ) { + rocket_rrmdir( $path, [], $this->filesystem ); + return true; + } + + return $this->filesystem->delete( $path ); + } + + /** + * Wipes clean the entire cache's keys. + * + * @return bool True on success and false on failure. + */ + public function clear() { + $root_path = $this->get_root_path(); + if ( ! $this->filesystem->exists( $root_path ) ) { + return false; + } + rocket_rrmdir( $root_path, [], $this->filesystem ); + return true; + } + + /** + * Obtains multiple cache items by their unique keys. + * + * @param iterable $keys A list of keys that can obtained in a single operation. + * @param mixed $default Default value to return for keys that do not exist. + * + * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value. + */ + public function getMultiple( $keys, $default = null ) { + $results = []; + foreach ( $keys as $key ) { + $results[ $key ] = $this->get( $key, $default ); + } + return $results; + } + + /** + * Persists a set of key => value pairs in the cache, with an optional TTL. + * + * @param iterable $values A list of key => value pairs for a multiple-set operation. + * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and + * the driver supports TTL then the library may set a default value + * for it or let the driver take care of that. + * + * @return bool True on success and false on failure. + */ + public function setMultiple( $values, $ttl = null ) { + $result = true; + foreach ( $values as $key => $value ) { + $result &= $this->set( $key, $value, $ttl ); + } + return (bool) $result; + } + + /** + * Deletes multiple cache items in a single operation. + * + * @param iterable $keys A list of string-based keys to be deleted. + * + * @return bool True if the items were successfully removed. False if there was an error. + */ + public function deleteMultiple( $keys ) { + $result = true; + foreach ( $keys as $key ) { + $result &= $this->delete( $key ); + } + return (bool) $result; + } + + /** + * Determines whether an item is present in the cache. + * + * NOTE: It is recommended that has() is only to be used for cache warming type purposes + * and not to be used within your live applications operations for get/set, as this method + * is subject to a race condition where your has() will return true and immediately after, + * another script can remove it making the state of your app out of date. + * + * @param string $key The cache item key. + * + * @return bool + */ + public function has( $key ) { + $path = $this->generate_path( $key ); + + return $this->filesystem->exists( $path ); + } + + /** + * Generate the real URL. + * + * @param string $url original URL. + * @return string + */ + public function generate_url( string $url ): string { + $path = $this->generate_path( $url ); + if ( ! $this->filesystem->exists( $path ) ) { + return $url; + } + + $wp_content_dir = rocket_get_constant( 'WP_CONTENT_DIR' ); + + $wp_content_url = rocket_get_constant( 'WP_CONTENT_URL' ); + + $relative_path = str_replace( $wp_content_dir, '', $path ); + + $generated_url = $wp_content_url . $relative_path; + + return (string) apply_filters( 'rocket_css_url', $generated_url ); + } + + /** + * Generate a path from the URL. + * + * @param string $url URL to change to a path. + * @return string + */ + public function generate_path( string $url ): string { + $root_path = $this->get_root_path(); + $root_path = rtrim( $root_path, '/' ); + $parsed_url = get_rocket_parse_url( $url ); + $parsed_url_path = trim( $parsed_url['path'], '/' ); + + $home_url = home_url(); + $home_parsed_url = get_rocket_parse_url( $home_url ); + + $host = '' === $parsed_url['host'] || null === $parsed_url['host'] ? $home_parsed_url['host'] : $parsed_url['host']; + $parsed_url_host = '/' . $host; + + return $root_path . $parsed_url_host . '/' . $parsed_url_path; + } + + /** + * Is the root path available. + * + * @return bool + */ + public function is_accessible(): bool { + $root_path = $this->get_root_path(); + if ( ! $this->filesystem->exists( $root_path ) ) { + rocket_mkdir_p( $root_path, $this->filesystem ); + } + + return $this->filesystem->is_writable( $root_path ); + } + + /** + * Get root path from the cache. + * + * @return string + */ + public function get_root_path(): string { + return rtrim( _rocket_normalize_path( rocket_get_constant( 'WP_ROCKET_CACHE_ROOT_PATH' ) ) . $this->root_folder, '/' ) . '/'; + } +} diff --git a/inc/Engine/Common/Context/AbstractContext.php b/inc/Engine/Common/Context/AbstractContext.php new file mode 100644 index 0000000..3607180 --- /dev/null +++ b/inc/Engine/Common/Context/AbstractContext.php @@ -0,0 +1,76 @@ +<?php + +namespace WP_Rocket\Engine\Common\Context; + +use WP_Rocket\Admin\Options_Data; + +abstract class AbstractContext implements ContextInterface { + + + /** + * WPR options. + * + * @var Options_Data + */ + protected $options; + + /** + * Instantiate the class. + * + * @param Options_Data $options WPR options. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Run common checks. + * + * @param array $args Arguments to configure the checks. + * + * @return bool + */ + public function run_common_checks( array $args = [] ): bool { + if ( key_exists( 'do_not_optimize', $args ) && (bool) rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) !== (bool) $args['do_not_optimize'] ) { + return false; + } + + if ( key_exists( 'bypass', $args ) && rocket_bypass() !== (bool) $args['bypass'] ) { + return false; + } + + if ( key_exists( 'option', $args ) && is_string( $args['option'] ) && ! (bool) $this->options->get( $args['option'], 0 ) ) { + return false; + } + + if ( key_exists( 'password_protected', $args ) && $this->is_password_protected() !== (bool) $args['password_protected'] ) { + return false; + } + + if ( key_exists( 'post_excluded', $args ) && is_string( $args['post_excluded'] ) && is_rocket_post_excluded_option( $args['post_excluded'] ) ) { + return false; + } + + // Bailout if user is logged in. + if ( key_exists( 'logged_in', $args ) && is_user_logged_in() !== (bool) $args['logged_in'] ) { + return false; + } + + return true; + } + + /** + * Checks if on a single post and if it is password protected + * + * @since 3.11 + * + * @return bool + */ + private function is_password_protected(): bool { + if ( ! is_singular() ) { + return false; + } + + return post_password_required(); + } +} diff --git a/inc/Engine/Common/Context/ContextInterface.php b/inc/Engine/Common/Context/ContextInterface.php new file mode 100644 index 0000000..efd42ae --- /dev/null +++ b/inc/Engine/Common/Context/ContextInterface.php @@ -0,0 +1,14 @@ +<?php + +namespace WP_Rocket\Engine\Common\Context; + +interface ContextInterface { + + /** + * Determine if the action is allowed. + * + * @param array $data Data to pass to the context. + * @return bool + */ + public function is_allowed( array $data = [] ): bool; +} diff --git a/inc/Engine/Common/ExtractCSS/ServiceProvider.php b/inc/Engine/Common/ExtractCSS/ServiceProvider.php new file mode 100644 index 0000000..6f2ea36 --- /dev/null +++ b/inc/Engine/Common/ExtractCSS/ServiceProvider.php @@ -0,0 +1,44 @@ +<?php + +namespace WP_Rocket\Engine\Common\ExtractCSS; + +use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider; +use WP_Rocket\Engine\Common\Cache\FilesystemCache; + +/** + * Service provider. + */ +class ServiceProvider extends AbstractServiceProvider { + + + /** + * The provided array is a way to let the container + * know that a service is provided by this service + * provider. Every service that is registered via + * this service provider must have an alias added + * to this array or it will be ignored. + * + * @var array + */ + protected $provides = [ + 'lazyload_css_cache', + 'common_extractcss_subscriber', + ]; + + /** + * Registers items with the container + * + * @return void + */ + public function register() { + /** + * Background CSS cache folder. + * + * @param string $root Background CSS cache folder. + */ + $root = apply_filters( 'rocket_lazyload_css_cache_root', 'background-css' ); + $this->getLeagueContainer()->add( 'lazyload_css_cache', FilesystemCache::class ) + ->addArgument( $root ); + $this->getContainer()->share( 'common_extractcss_subscriber', Subscriber::class ); + } +} diff --git a/inc/Engine/Common/ExtractCSS/Subscriber.php b/inc/Engine/Common/ExtractCSS/Subscriber.php new file mode 100644 index 0000000..1046ad8 --- /dev/null +++ b/inc/Engine/Common/ExtractCSS/Subscriber.php @@ -0,0 +1,166 @@ +<?php +namespace WP_Rocket\Engine\Common\ExtractCSS; + +use WP_Rocket\Engine\Optimization\RegexTrait; +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Rocket\Logger\LoggerAware; +use WP_Rocket\Logger\LoggerAwareInterface; + +class Subscriber implements Subscriber_Interface, LoggerAwareInterface { + use RegexTrait; + use LoggerAware; + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * The array key is the event name. The value can be: + * + * * The method name + * * An array with the method name and priority + * * An array with the method name, priority and number of accepted arguments + * + * For instance: + * + * * array('hook_name' => 'method_name') + * * array('hook_name' => array('method_name', $priority)) + * * array('hook_name' => array('method_name', $priority, $accepted_args)) + * * array('hook_name' => array(array('method_name_1', $priority_1, $accepted_args_1)), array('method_name_2', $priority_2, $accepted_args_2))) + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_generate_lazyloaded_css' => [ + [ 'extract_css_files_from_html', 11 ], + [ 'extract_inline_css_from_html', 14 ], + ], + ]; + } + + /** + * Extract CSS files from the HTML. + * + * @param array $data Data sent. + * @return array + */ + public function extract_css_files_from_html( array $data ): array { + + if ( ! key_exists( 'html', $data ) ) { + $this->logger::notice( + 'Extract CSS files bailed out', + [ + 'type' => 'extract_css', + 'data' => $data, + ] + ); + return $data; + } + + if ( ! key_exists( 'css_files', $data ) ) { + $data['css_files'] = []; + } + + $css_links = []; + + $html = $this->hide_comments( $data['html'] ); + + $link_styles = $this->find( + '<link\s+([^>]+[\s"\'])?href\s*=\s*[\'"]\s*?(?<url>[^\'"]+(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>', + $html, + 'Uis' + ); + + foreach ( $link_styles as $style ) { + if ( + ! (bool) preg_match( '/rel=[\'"]?stylesheet[\'"]?/is', $style[0] ) + && + ! ( (bool) preg_match( '/rel=[\'"]?preload[\'"]?/is', $style[0] ) && (bool) preg_match( '/as=[\'"]?style[\'"]?/is', $style[0] ) ) + || + ( strstr( $style['url'], '//fonts.googleapis.com/css' ) ) + ) { + $this->logger::notice( + "Skipped URL: {$style['url']}", + [ + 'type' => 'extract_css', + 'data' => $style[0], + ] + ); + continue; + } + + $css_links [] = $style['url']; + $this->logger::notice( + "Extracted URL: {$style['url']}", + [ + 'type' => 'extract_css', + 'data' => $style[0], + ] + ); + } + + $data['css_files'] = array_merge( $data['css_files'], $css_links ); + + return $data; + } + + /** + * Extract inline CSS from the HTML. + * + * @param array $data Data sent. + * @return array + */ + public function extract_inline_css_from_html( array $data ): array { + if ( ! key_exists( 'html', $data ) ) { + $this->logger::notice( + 'Extract CSS inline bailed out', + [ + 'type' => 'extract_css', + 'data' => $data, + ] + ); + return $data; + } + + if ( ! key_exists( 'css_inline', $data ) ) { + $data['css_inline'] = []; + } + + $css_links = []; + + $html = $this->hide_comments( $data['html'] ); + + $inline_styles = $this->find( + '<style(?<atts>.*)>(?<content>.*)<\/style\s*>', + $html + ); + + foreach ( $inline_styles as $style ) { + + $content = trim( $style['content'] ); + + if ( empty( $content ) ) { + $this->logger::notice( + "Skipped Content: {$style['content']}", + [ + 'type' => 'extract_css', + 'data' => $style[0], + ] + ); + continue; + } + + $css_links [] = $content; + $this->logger::notice( + "Extracted Content: $content", + [ + 'type' => 'extract_css', + 'data' => $style[0], + ] + ); + } + + $data['css_inline'] = array_merge( $data['css_inline'], $css_links ); + + return $data; + } +} diff --git a/inc/Engine/Common/Queue/AbstractASQueue.php b/inc/Engine/Common/Queue/AbstractASQueue.php new file mode 100644 index 0000000..7c67058 --- /dev/null +++ b/inc/Engine/Common/Queue/AbstractASQueue.php @@ -0,0 +1,253 @@ +<?php +declare( strict_types=1 ); + +namespace WP_Rocket\Engine\Common\Queue; + +use ActionScheduler_Store; +use Exception; +use WP_Rocket\Logger\Logger; + +abstract class AbstractASQueue implements QueueInterface { + + /** + * Queue shared Group. + * + * @var string + */ + protected $group = 'rocket'; + + /** + * Enqueue an action to run one time, as soon as possible + * + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return int The action ID. + */ + public function add_async( $hook, $args = [] ) { + try { + if ( function_exists( 'as_enqueue_async_action' ) ) { + return as_enqueue_async_action( $hook, $args, $this->group ); + } + + return $this->schedule_single( time() + MINUTE_IN_SECONDS, $hook, $args ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return 0; + } + } + + /** + * Schedule an action to run once at some time in the future + * + * @param int $timestamp When the job will run. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return int The action ID. + */ + public function schedule_single( $timestamp, $hook, $args = [] ) { + try { + return as_schedule_single_action( $timestamp, $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return 0; + } + } + + /** + * Schedule a recurring action + * + * @param int $timestamp When the first instance of the job will run. + * @param int $interval_in_seconds How long to wait between runs. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return int The action ID. + */ + public function schedule_recurring( $timestamp, $interval_in_seconds, $hook, $args = [] ) { + if ( $this->is_scheduled( $hook, $args ) ) { + // TODO: When v3.3.0 from Action Scheduler is commonly used use the array notation for status to reduce search queries to one. + $pending_actions = $this->search( + [ + 'hook' => $hook, + 'status' => ActionScheduler_Store::STATUS_PENDING, + ], + 'ids' + ); + + if ( 1 < count( $pending_actions ) ) { + $this->cancel_all( $hook, $args ); + return ''; + } + + $running_actions = $this->search( + [ + 'hook' => $hook, + 'status' => ActionScheduler_Store::STATUS_RUNNING, + ], + 'ids' + ); + + if ( 1 === count( $pending_actions ) + count( $running_actions ) ) { + return ''; + } + + $this->cancel_all( $hook, $args ); + } + + try { + return as_schedule_recurring_action( $timestamp, $interval_in_seconds, $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return 0; + } + } + + /** + * Checks if the hook is scheduled. + * + * @param string $hook The hook to check. + * @param array $args Passed arguments. + * + * @return bool + */ + public function is_scheduled( $hook, $args = [] ) { + if ( ! function_exists( 'as_has_scheduled_action' ) ) { + return ! is_null( $this->get_next( $hook, $args ) ); + } + + try { + return as_has_scheduled_action( $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return false; + } + } + + /** + * Schedule an action that recurs on a cron-like schedule. + * + * @param int $timestamp The schedule will start on or after this time. + * @param string $cron_schedule A cron-link schedule string. + * @see http://en.wikipedia.org/wiki/Cron + * * * * * * * + * ┬ ┬ ┬ ┬ ┬ ┬ + * | | | | | | + * | | | | | + year [optional] + * | | | | +----- day of week (0 - 7) (Sunday=0 or 7) + * | | | +---------- month (1 - 12) + * | | +--------------- day of month (1 - 31) + * | +-------------------- hour (0 - 23) + * +------------------------- min (0 - 59) + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return int The action ID + */ + public function schedule_cron( $timestamp, $cron_schedule, $hook, $args = [] ) { + if ( $this->is_scheduled( $hook, $args ) ) { + return ''; + } + + try { + return as_schedule_cron_action( $timestamp, $cron_schedule, $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return 0; + } + } + + /** + * Dequeue the next scheduled instance of an action with a matching hook (and optionally matching args and group). + * + * Any recurring actions with a matching hook should also be cancelled, not just the next scheduled action. + * + * While technically only the next instance of a recurring or cron action is unscheduled by this method, that will also + * prevent all future instances of that recurring or cron action from being run. Recurring and cron actions are scheduled + * in a sequence instead of all being scheduled at once. Each successive occurrence of a recurring action is scheduled + * only after the former action is run. As the next instance is never run, because it's unscheduled by this function, + * then the following instance will never be scheduled (or exist), which is effectively the same as being unscheduled + * by this method also. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + */ + public function cancel( $hook, $args = [] ) { + try { + as_unschedule_action( $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + } + } + + /** + * Dequeue all actions with a matching hook (and optionally matching args and group) so no matching actions are ever run. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + */ + public function cancel_all( $hook, $args = [] ) { + try { + as_unschedule_all_actions( $hook, $args, $this->group ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + } + } + + /** + * Get the date and time for the next scheduled occurence of an action with a given hook + * (an optionally that matches certain args and group), if any. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Filter to a hook with matching args that will be passed to the job when it runs. + * @return int|null The date and time for the next occurrence, or null if there is no pending, scheduled action for the given hook. + */ + public function get_next( $hook, $args = null ) { + try { + $next_timestamp = as_next_scheduled_action( $hook, $args, $this->group ); + + if ( is_numeric( $next_timestamp ) ) { + return $next_timestamp; + } + + return null; + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return null; + } + } + + /** + * Find scheduled actions + * + * @param array $args Possible arguments, with their default values: + * 'hook' => '' - the name of the action that will be triggered + * 'args' => null - the args array that will be passed with the action + * 'date' => null - the scheduled date of the action. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'date_compare' => '<=' - operator for testing "date". accepted values are '!=', '>', '>=', '<', '<=', '=' + * 'modified' => null - the date the action was last updated. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'modified_compare' => '<=' - operator for testing "modified". accepted values are '!=', '>', '>=', '<', '<=', '=' + * 'group' => '' - the group the action belongs to + * 'status' => '' - ActionScheduler_Store::STATUS_COMPLETE or ActionScheduler_Store::STATUS_PENDING + * 'claimed' => null - TRUE to find claimed actions, FALSE to find unclaimed actions, a string to find a specific claim ID + * 'per_page' => 5 - Number of results to return + * 'offset' => 0 + * 'orderby' => 'date' - accepted values are 'hook', 'group', 'modified', or 'date' + * 'order' => 'ASC'. + * + * @param string $return_format OBJECT, ARRAY_A, or ids. + * @return array + */ + public function search( $args = [], $return_format = OBJECT ) { + try { + return as_get_scheduled_actions( $args, $return_format ); + } catch ( Exception $exception ) { + Logger::error( $exception->getMessage(), [ 'Action Scheduler Queue' ] ); + + return []; + } + } +} diff --git a/inc/Engine/Common/Queue/Cleaner.php b/inc/Engine/Common/Queue/Cleaner.php new file mode 100644 index 0000000..5d24257 --- /dev/null +++ b/inc/Engine/Common/Queue/Cleaner.php @@ -0,0 +1,102 @@ +<?php +declare( strict_types=1 ); + +namespace WP_Rocket\Engine\Common\Queue; + +class Cleaner extends \ActionScheduler_QueueCleaner { + + /** + * The duration of clean Hour In seconds. + * + * @var int + */ + protected $hour_in_seconds = 60 * 60; + + /** + * Store instance. + * + * @var \ActionScheduler_Store + */ + private $store = null; + + /** + * Group name to be cleaned. + * + * @var string + */ + private $group; + + /** + * Cleaner constructor. + * + * @param \ActionScheduler_Store|null $store The store instance. + * @param int $batch_size The batch size. + * @param string $group Current queue group. + */ + public function __construct( \ActionScheduler_Store $store = null, $batch_size = 20, $group = '' ) { + parent::__construct( $store, $batch_size ); + $this->store = $store ? $store : \ActionScheduler_Store::instance(); + $this->group = $group; + } + + /** + * Overrides the base method of action scheduler to do the clean process for our actions only. + * + * @return void + */ + public function delete_old_actions() { + $lifespan = (int) apply_filters( 'action_scheduler_retention_period', $this->hour_in_seconds );// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + + /** + * Filters the retention period for our tasks only. + * + * @since 3.11.0.5 + * + * @param int $lifespan Lifespan in seconds. + * + * @return int + */ + $lifespan = (int) apply_filters( 'rocket_action_scheduler_retention_period', $lifespan, $this->group ); + $cutoff = as_get_datetime_object( $lifespan . ' seconds ago' ); + + $statuses_to_purge = [ + \ActionScheduler_Store::STATUS_COMPLETE, + \ActionScheduler_Store::STATUS_CANCELED, + \ActionScheduler_Store::STATUS_FAILED, + ]; + foreach ( $statuses_to_purge as $status ) { + $actions_to_delete = $this->store->query_actions( + [ + 'status' => $status, + 'modified' => $cutoff, + 'modified_compare' => '<=', + 'per_page' => $this->get_batch_size(), + 'orderby' => 'none', + 'group' => $this->group, + ] + ); + + foreach ( $actions_to_delete as $action_id ) { + try { + $this->store->delete_action( $action_id ); + } catch ( \Exception $e ) { + + /** + * Notify 3rd party code of exceptions when deleting a completed action older than the retention period + * + * This hook provides a way for 3rd party code to log or otherwise handle exceptions relating to their + * actions. + * + * @since 2.0.0 + * + * @param int $action_id The scheduled actions ID in the data store + * @param \Exception $e The exception thrown when attempting to delete the action from the data store + * @param int $lifespan The retention period, in seconds, for old actions + * @param int $count_of_actions_to_delete The number of old actions being deleted in this batch + */ + do_action( 'action_scheduler_failed_old_action_deletion', $action_id, $e, $lifespan, count( $actions_to_delete ) );// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + } + } + } + } +} diff --git a/inc/Engine/Common/Queue/QueueInterface.php b/inc/Engine/Common/Queue/QueueInterface.php new file mode 100644 index 0000000..d8f556a --- /dev/null +++ b/inc/Engine/Common/Queue/QueueInterface.php @@ -0,0 +1,118 @@ +<?php +declare( strict_types=1 ); + +namespace WP_Rocket\Engine\Common\Queue; + +interface QueueInterface { + + /** + * Enqueue an action to run one time, as soon as possible + * + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return string The action ID + */ + public function add_async( $hook, $args = [] ); + + /** + * Schedule an action to run once at some time in the future + * + * @param int $timestamp When the job will run. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return string The action ID + */ + public function schedule_single( $timestamp, $hook, $args = [] ); + + /** + * Schedule a recurring action + * + * @param int $timestamp When the first instance of the job will run. + * @param int $interval_in_seconds How long to wait between runs. + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return string The action ID + */ + public function schedule_recurring( $timestamp, $interval_in_seconds, $hook, $args = [] ); + + /** + * Checks if the hook is scheduled. + * + * @param string $hook The hook to check. + * @param array $args Passed arguments. + * + * @return bool + */ + public function is_scheduled( $hook, $args = [] ); + + /** + * Schedule an action that recurs on a cron-like schedule. + * + * @param int $timestamp The schedule will start on or after this time. + * @param string $cron_schedule A cron-link schedule string. + * @see http://en.wikipedia.org/wiki/Cron + * * * * * * * + * ┬ ┬ ┬ ┬ ┬ ┬ + * | | | | | | + * | | | | | + year [optional] + * | | | | +----- day of week (0 - 7) (Sunday=0 or 7) + * | | | +---------- month (1 - 12) + * | | +--------------- day of month (1 - 31) + * | +-------------------- hour (0 - 23) + * +------------------------- min (0 - 59) + * @param string $hook The hook to trigger. + * @param array $args Arguments to pass when the hook triggers. + * @return string The action ID + */ + public function schedule_cron( $timestamp, $cron_schedule, $hook, $args = [] ); + + /** + * Dequeue the next scheduled instance of an action with a matching hook (and optionally matching args and group). + * + * Any recurring actions with a matching hook should also be cancelled, not just the next scheduled action. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + */ + public function cancel( $hook, $args = [] ); + + /** + * Dequeue all actions with a matching hook (and optionally matching args and group) so no matching actions are ever run. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Args that would have been passed to the job. + */ + public function cancel_all( $hook, $args = [] ); + + /** + * Get the date and time for the next scheduled occurence of an action with a given hook + * (an optionally that matches certain args and group), if any. + * + * @param string $hook The hook that the job will trigger. + * @param array $args Filter to a hook with matching args that will be passed to the job when it runs. + * @return int|null The date and time for the next occurrence, or null if there is no pending, scheduled action for the given hook + */ + public function get_next( $hook, $args = null ); + + /** + * Find scheduled actions. + * + * @param array $args Possible arguments, with their default values. + * 'hook' => '' - the name of the action that will be triggered. + * 'args' => null - the args array that will be passed with the action. + * 'date' => null - the scheduled date of the action. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'date_compare' => '<=' - operator for testing "date". accepted values are '!=', '>', '>=', '<', '<=', '='. + * 'modified' => null - the date the action was last updated. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. + * 'modified_compare' => '<=' - operator for testing "modified". accepted values are '!=', '>', '>=', '<', '<=', '='. + * 'group' => '' - the group the action belongs to. + * 'status' => '' - ActionScheduler_Store::STATUS_COMPLETE or ActionScheduler_Store::STATUS_PENDING. + * 'claimed' => null - TRUE to find claimed actions, FALSE to find unclaimed actions, a string to find a specific claim ID. + * 'per_page' => 5 - Number of results to return. + * 'offset' => 0. + * 'orderby' => 'date' - accepted values are 'hook', 'group', 'modified', or 'date'. + * 'order' => 'ASC'. + * @param string $return_format OBJECT, ARRAY_A, or ids. + * @return array + */ + public function search( $args = [], $return_format = OBJECT ); +} diff --git a/inc/Engine/Common/Queue/RUCSSQueueRunner.php b/inc/Engine/Common/Queue/RUCSSQueueRunner.php new file mode 100644 index 0000000..1b8165b --- /dev/null +++ b/inc/Engine/Common/Queue/RUCSSQueueRunner.php @@ -0,0 +1,279 @@ +<?php +declare( strict_types=1 ); + +namespace WP_Rocket\Engine\Common\Queue; + +use WP_Rocket\Logger\Logger; +use ActionScheduler_Abstract_QueueRunner; + +class RUCSSQueueRunner extends ActionScheduler_Abstract_QueueRunner { + + /** + * Cron hook name. + */ + const WP_CRON_HOOK = 'action_scheduler_run_queue_rucss'; + + /** + * Cron schedule interval. + */ + const WP_CRON_SCHEDULE = 'every_minute'; + + /** + * Async Request Queue Runner instance. + * We used the default one from AS. + * + * @var \ActionScheduler_AsyncRequest_QueueRunner Instance. + */ + protected $async_request; + + /** + * Current runner instance. + * + * @var RUCSSQueueRunner Instance. + */ + private static $runner = null; + + /** + * Current queue group. + * + * @var string + */ + private $group = 'rocket-rucss'; + + /** + * Get singleton instance. + * + * @return RUCSSQueueRunner Instance. + */ + public static function instance() { + if ( empty( self::$runner ) ) { + self::$runner = new RUCSSQueueRunner(); + } + return self::$runner; + } + + /** + * ActionScheduler_QueueRunner constructor. + * + * @param \ActionScheduler_Store|null $store Store Instance. + * @param \ActionScheduler_FatalErrorMonitor|null $monitor Fatal Error monitor instance. + * @param Cleaner|null $cleaner Cleaner instance. + * @param \ActionScheduler_AsyncRequest_QueueRunner|null $async_request Async Request Queue Runner instance. + */ + public function __construct( \ActionScheduler_Store $store = null, \ActionScheduler_FatalErrorMonitor $monitor = null, Cleaner $cleaner = null, \ActionScheduler_AsyncRequest_QueueRunner $async_request = null ) { + if ( is_null( $cleaner ) ) { + /** + * Filters the clean batch size. + * + * @since 3.11.0.5 + * + * @param int $batch_size Batch size. + * + * @return int + */ + $batch_size = (int) apply_filters( 'rocket_action_scheduler_clean_batch_size', 100, $this->group ); + $cleaner = new Cleaner( $store, $batch_size, $this->group ); + } + + parent::__construct( $store, $monitor, $cleaner ); + + if ( is_null( $async_request ) ) { + $async_request = new \ActionScheduler_AsyncRequest_QueueRunner( $this->store ); + } + + $this->async_request = $async_request; + } + + /** + * Initialize the queue runner. + */ + public function init() { + + // phpcs:ignore WordPress.WP.CronInterval.CronSchedulesInterval + add_filter( 'cron_schedules', [ self::instance(), 'add_wp_cron_schedule' ] ); + + // Check for and remove any WP Cron hook scheduled by Action Scheduler < 3.0.0, which didn't include the $context param. + $next_timestamp = wp_next_scheduled( self::WP_CRON_HOOK ); + if ( $next_timestamp ) { + wp_unschedule_event( $next_timestamp, self::WP_CRON_HOOK ); + } + + $cron_context = [ 'WP Cron' ]; + + if ( ! wp_next_scheduled( self::WP_CRON_HOOK, $cron_context ) ) { + $schedule = apply_filters( 'rocket_action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); + wp_schedule_event( time(), $schedule, self::WP_CRON_HOOK, $cron_context ); + } + + add_action( self::WP_CRON_HOOK, [ self::instance(), 'run' ] ); + $this->hook_dispatch_async_request(); + } + + /** + * Hook check for dispatching an async request. + */ + public function hook_dispatch_async_request() { + add_action( 'shutdown', [ $this, 'maybe_dispatch_async_request' ] ); + } + + /** + * Unhook check for dispatching an async request. + */ + public function unhook_dispatch_async_request() { + remove_action( 'shutdown', [ $this, 'maybe_dispatch_async_request' ] ); + } + + /** + * Check if we should dispatch an async request to process actions. + * + * This method is attached to 'shutdown', so is called frequently. To avoid slowing down + * the site, it mitigates the work performed in each request by: + * 1. checking if it's in the admin context and then + * 2. haven't run on the 'shutdown' hook within the lock time (60 seconds by default) + * 3. haven't exceeded the number of allowed batches. + * + * The order of these checks is important, because they run from a check on a value: + * 1. in memory - is_admin() maps to $GLOBALS or the WP_ADMIN constant + * 2. in memory - transients use autoloaded options by default + * 3. from a database query - has_maximum_concurrent_batches() run the query + * $this->store->get_claim_count() to find the current number of claims in the DB. + * + * If all of these conditions are met, then we request an async runner check whether it + * should dispatch a request to process pending actions. + */ + public function maybe_dispatch_async_request() { + if ( is_admin() && ! \ActionScheduler::lock()->is_locked( 'async-request-runner' ) ) { + // Only start an async queue at most once every 60 seconds. + \ActionScheduler::lock()->set( 'async-request-runner' ); + $this->async_request->maybe_dispatch(); + } + } + + /** + * Process actions in the queue. Attached to self::WP_CRON_HOOK i.e. 'action_scheduler_run_queue' + * + * The $context param of this method defaults to 'WP Cron', because prior to Action Scheduler 3.0.0 + * that was the only context in which this method was run, and the self::WP_CRON_HOOK hook had no context + * passed along with it. New code calling this method directly, or by triggering the self::WP_CRON_HOOK, + * should set a context as the first parameter. For an example of this, refer to the code seen in + * + * @see ActionScheduler_AsyncRequest_QueueRunner::handle() + * + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + * @return int The number of actions processed. + */ + public function run( $context = 'WP Cron' ) { + \ActionScheduler_Compatibility::raise_memory_limit(); + \ActionScheduler_Compatibility::raise_time_limit( $this->get_time_limit() ); + do_action( 'action_scheduler_before_process_queue' );// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + $this->run_cleanup(); + $processed_actions = 0; + if ( false === $this->has_maximum_concurrent_batches() ) { + $batch_size = apply_filters( 'action_scheduler_queue_runner_batch_size', 25 );// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + do { + $processed_actions_in_batch = $this->do_batch( $batch_size, $context ); + $processed_actions += $processed_actions_in_batch; + } while ( $processed_actions_in_batch > 0 && ! $this->batch_limits_exceeded( $processed_actions ) ); // keep going until we run out of actions, time, or memory. + } + + do_action( 'action_scheduler_after_process_queue' );// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + return $processed_actions; + } + + /** + * Process a batch of actions pending in the queue. + * + * Actions are processed by claiming a set of pending actions then processing each one until either the batch + * size is completed, or memory or time limits are reached, defined by @see $this->batch_limits_exceeded(). + * + * @param int $size The maximum number of actions to process in the batch. + * @param string $context Optional identifer for the context in which this action is being processed, e.g. 'WP CLI' or 'WP Cron' + * Generally, this should be capitalised and not localised as it's a proper noun. + * @return int The number of actions processed. + */ + protected function do_batch( $size = 100, $context = '' ) { + try { + $claim = $this->store->stake_claim( $size, null, [], $this->group ); + $this->monitor->attach( $claim ); + $processed_actions = 0; + + foreach ( $claim->get_actions() as $action_id ) { + // bail if we lost the claim. + if ( ! in_array( $action_id, $this->store->find_actions_by_claim_id( $claim->get_id() ), true ) ) { + break; + } + $this->process_action( $action_id, $context ); + ++$processed_actions; + + if ( $this->batch_limits_exceeded( $processed_actions ) ) { + break; + } + } + $this->store->release_claim( $claim ); + $this->monitor->detach(); + $this->clear_caches(); + $this->reset_group(); + return $processed_actions; + } catch ( \Exception $exception ) { + Logger::debug( $exception->getMessage() ); + $this->reset_group(); + return 0; + } + } + + /** + * Reset group in store's claim filter. + * + * @return void + */ + private function reset_group() { + if ( ! method_exists( $this->store, 'set_claim_filter' ) ) { + return; + } + $this->store->set_claim_filter( 'group', '' ); + } + + /** + * Running large batches can eat up memory, as WP adds data to its object cache. + * + * If using a persistent object store, this has the side effect of flushing that + * as well, so this is disabled by default. To enable: + * + * add_filter( 'action_scheduler_queue_runner_flush_cache', '__return_true' ); + */ + protected function clear_caches() { + if ( ! wp_using_ext_object_cache() || apply_filters( 'action_scheduler_queue_runner_flush_cache', false ) ) {// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + wp_cache_flush(); + } + } + + /** + * Add the cron schedule. + * + * @param array $schedules Array of current schedules. + * + * @return array + */ + public function add_wp_cron_schedule( $schedules ) { + if ( isset( $schedules['every_minute'] ) ) { + return $schedules; + } + + $schedules['every_minute'] = [ + 'interval' => 60, // in seconds. + 'display' => __( 'Every minute', 'rocket' ), + ]; + + return $schedules; + } + + /** + * Get the number of concurrent batches a runner allows. + * + * @return int + */ + public function get_allowed_concurrent_batches() { + return 2; + } +} diff --git a/inc/Engine/CriticalPath/APIClient.php b/inc/Engine/CriticalPath/APIClient.php new file mode 100644 index 0000000..f8466ad --- /dev/null +++ b/inc/Engine/CriticalPath/APIClient.php @@ -0,0 +1,257 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath; + +use stdClass; +use WP_Error; + +class APIClient { + + /** + * Constant url for Critical Path API job. + */ + const API_URL = 'https://cpcss.wp-rocket.me/api/job/'; + + /** + * Sends a generation request to the Critical Path API. + * + * @since 3.6 + * + * @param string $url The URL to send a CPCSS generation request for. + * @param array $params Optional. Parameters needed to be sent in the body. Default: []. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * @return array + */ + public function send_generation_request( $url, $params = [], $item_type = 'custom' ) { + $params['url'] = $url; + $is_mobile = isset( $params['mobile'] ) && $params['mobile']; + $response = wp_remote_post( + self::API_URL, + [ + /** + * Filters the parameters sent to the Critical CSS generator API. + * + * @since 2.11 + * + * @param array $params An array of parameters to send to the API. + */ + 'body' => apply_filters( 'rocket_cpcss_job_request', $params ), + ] + ); + + return $this->prepare_response( $response, $url, $is_mobile, $item_type ); + } + + /** + * Prepare the response to be returned. + * + * @since 3.6 + * + * @param array|WP_Error $response The response or WP_Error on failure. + * @param string $url Url to be checked. + * @param bool $is_mobile Optional. Flag for if this is cpcss for mobile or not. Default: false. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array|WP_Error + */ + private function prepare_response( $response, $url, $is_mobile = false, $item_type = 'custom' ) { + + if ( is_wp_error( $response ) ) { + return new WP_Error( + $this->get_response_code( $response ), + sprintf( + // translators: %1$s = type of content, %2$s = error message. + __( 'Critical CSS for %1$s not generated. Error: %2$s', 'rocket' ), + ( 'custom' === $item_type ) ? $url : $item_type, + $response->get_error_message() + ), + [ + 'status' => 400, + ] + ); + } + + $response_data = $this->get_response_data( $response ); + $response_status_code = $this->get_response_status( $response, ( isset( $response_data->status ) ) ? $response_data->status : null ); + $succeeded = $this->get_response_success( $response_status_code, $response_data ); + + if ( $succeeded ) { + return $response_data; + } + + $response_message = $this->get_response_message( $response_status_code, $response_data, $url, $is_mobile, $item_type ); + + if ( 200 === $response_status_code ) { + $response_status_code = 400; + } + + return new WP_Error( + $this->get_response_code( $response ), + $response_message, + [ + 'status' => $response_status_code, + ] + ); + } + + /** + * Get the status of response. + * + * @since 3.6 + * + * @param int $response_code Response code to check success or failure. + * @param stdClass $response_data Object of data returned from request. + * + * @return bool success or failed. + */ + private function get_response_success( $response_code, $response_data ) { + return ( + 200 === $response_code + && + ! empty( $response_data ) + && + ( + ( + isset( $response_data->status ) + && + 200 === $response_data->status + ) + || + ( + isset( $response_data->data ) + && + isset( $response_data->data->id ) + ) + ) + ); + } + + /** + * Get response status code/number. + * + * @since 3.6 + * + * @param array|WP_Error $response The response or WP_Error on failure. + * @param null|int $status Optional. Status code to overwrite the response status. Default: null. + * + * @return int status code|number of response. + */ + private function get_response_status( $response, $status = null ) { + if ( ! is_null( $status ) ) { + return (int) $status; + } + + return (int) wp_remote_retrieve_response_code( $response ); + } + + /** + * Get response message. + * + * @since 3.6 + * + * @param int $response_status_code Response status code. + * @param stdClass $response_data Object of data returned from request. + * @param string $url Url for the web page to be checked. + * @param bool $is_mobile Optional. Flag for if this is cpcss for mobile or not. Default: false. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return string + */ + private function get_response_message( $response_status_code, $response_data, $url, $is_mobile = false, $item_type = 'custom' ) { + $message = ''; + + switch ( $response_status_code ) { + case 200: + if ( ! isset( $response_data->data->id ) ) { + $message .= sprintf( + $is_mobile + ? + // translators: %s = item URL. + __( 'Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response.', 'rocket' ) + : + // translators: %s = item URL. + __( 'Critical CSS for %1$s not generated. Error: The API returned an empty response.', 'rocket' ), + ( 'custom' === $item_type ) ? $url : $item_type + ); + } + break; + case 400: + case 440: + case 404: + // translators: %s = item URL. + $message .= sprintf( + $is_mobile + // translators: %s = item URL. + ? __( 'Critical CSS for %1$s on mobile not generated.', 'rocket' ) + // translators: %s = item URL. + : __( 'Critical CSS for %1$s not generated.', 'rocket' ), + ( 'custom' === $item_type ) ? $url : $item_type + ); + break; + default: + $message .= sprintf( + $is_mobile + // translators: %s = URL. + ? __( 'Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code.', 'rocket' ) + // translators: %s = URL. + : __( 'Critical CSS for %1$s not generated. Error: The API returned an invalid response code.', 'rocket' ), + ( 'custom' === $item_type ) ? $url : $item_type + ); + break; + } + + if ( isset( $response_data->message ) ) { + // translators: %1$s = error message. + $message .= ' ' . sprintf( __( 'Error: %1$s', 'rocket' ), $response_data->message ); + } + + return $message; + } + + /** + * Get response data from the API. + * + * @since 3.6 + * + * @param array|WP_Error $response The response or WP_Error on failure. + * + * @return mixed response of API. + */ + private function get_response_data( $response ) { + return json_decode( wp_remote_retrieve_body( $response ) ); + } + + /** + * Get our internal response code [Not the standard HTTP codes]. + * + * @since 3.6 + * + * @param array|WP_Error $response The response or WP_Error on failure. + * + * @return string response code. + */ + private function get_response_code( $response ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found + // Todo: we can return code based on the response status number, for example 404 not_found. + return 'cpcss_generation_failed'; + } + + /** + * Get job details by calling API with job ID. + * + * @since 3.6 + * + * @param string $job_id ID for the job to get details. + * @param string $url URL to be used in error messages. + * @param bool $is_mobile Optional. Flag for if this is cpcss for mobile or not. Default: false. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return mixed|WP_Error Details for job. + */ + public function get_job_details( $job_id, $url, $is_mobile = false, $item_type = 'custom' ) { + $response = wp_remote_get( + self::API_URL . "{$job_id}/" + ); + + return $this->prepare_response( $response, $url, $is_mobile, $item_type ); + } +} diff --git a/inc/Engine/CriticalPath/Admin/Admin.php b/inc/Engine/CriticalPath/Admin/Admin.php new file mode 100644 index 0000000..2b11537 --- /dev/null +++ b/inc/Engine/CriticalPath/Admin/Admin.php @@ -0,0 +1,280 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath\Admin; + +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\CriticalPath\ProcessorService; +use WP_Rocket\Engine\CriticalPath\TransientTrait; + +class Admin { + use TransientTrait; + + /** + * Instance of options handler. + * + * @var Options_Data + */ + private $options; + + /** + * Instance of ProcessorService. + * + * @var ProcessorService + */ + private $processor; + + /** + * Creates an instance of the class. + * + * @param Options_Data $options Options instance. + * @param ProcessorService $processor ProcessorService instance. + */ + public function __construct( Options_Data $options, ProcessorService $processor ) { + $this->options = $options; + $this->processor = $processor; + } + + /** + * Check the CPCSS heartbeat. + * + * @since 3.6 + */ + public function cpcss_heartbeat() { + check_ajax_referer( 'cpcss_heartbeat_nonce', '_nonce', true ); + + if ( + ! $this->is_async_css_enabled() + || + ! current_user_can( 'rocket_manage_options' ) + || + ! current_user_can( 'rocket_regenerate_critical_css' ) + ) { + wp_send_json_error(); + + return; + } + + $cpcss_pending = get_transient( 'rocket_cpcss_generation_pending' ); + + if ( ! empty( $cpcss_pending ) ) { + $cpcss_pending = $this->process_cpcss_pending_queue( (array) $cpcss_pending ); + } + + if ( false !== $cpcss_pending && empty( $cpcss_pending ) ) { + delete_transient( 'rocket_cpcss_generation_pending' ); + } + + if ( empty( $cpcss_pending ) ) { + $this->generation_complete(); + wp_send_json_success( [ 'status' => 'cpcss_complete' ] ); + + return; + } + + set_transient( 'rocket_cpcss_generation_pending', $cpcss_pending, HOUR_IN_SECONDS ); + wp_send_json_success( [ 'status' => 'cpcss_running' ] ); + } + + /** + * Pull one item off of the CPCSS Pending Queue and process it. + * + * @since 3.6 + * + * @param array $cpcss_pending CPCSS Pending Queue. + * + * @return array remaining queue. + */ + private function process_cpcss_pending_queue( array $cpcss_pending ) { + $cpcss_item = reset( $cpcss_pending ); + if ( empty( $cpcss_item ) ) { + return $cpcss_pending; + } + + // Threshold 'check' > 10 = timed out. + $timeout = ( $cpcss_item['check'] > 10 ); + $additional_params = [ + 'timeout' => $timeout, + 'is_mobile' => ! empty( $cpcss_item['mobile'] ) ? (bool) $cpcss_item['mobile'] : false, + 'item_type' => $cpcss_item['type'], + ]; + $cpcss_generation = $this->processor->process_generate( + $cpcss_item['url'], + $cpcss_item['path'], + $additional_params + ); + + // Increment this item's threshold count. + ++$cpcss_pending[ $cpcss_item['path'] ]['check']; + + $this->cpcss_heartbeat_notices( $cpcss_generation, $cpcss_item ); + + // Remove the item from the queue when (a) the CPCSS API returns success or error or (b) timeouts. + if ( + is_wp_error( $cpcss_generation ) + || + 'cpcss_generation_successful' === $cpcss_generation['code'] + || + 'cpcss_generation_failed' === $cpcss_generation['code'] + || + $timeout + ) { + unset( $cpcss_pending[ $cpcss_item['path'] ] ); + } + + return $cpcss_pending; + } + + /** + * CPCSS heartbeat update notices transients. + * + * @since 3.6 + * + * @param array|WP_Error $cpcss_generation CPCSS regeneration reply. + * @param array $cpcss_item Item processed. + */ + private function cpcss_heartbeat_notices( $cpcss_generation, $cpcss_item ) { + $mobile = isset( $cpcss_item['mobile'] ) ? $cpcss_item['mobile'] : 0; + $transient = (array) get_transient( 'rocket_critical_css_generation_process_running' ); + + // Initializes the transient. + if ( ! isset( $transient['items'] ) ) { + $transient['items'] = []; + } + + if ( is_wp_error( $cpcss_generation ) ) { + $this->update_running_transient( $transient, $cpcss_item['path'], $mobile, $cpcss_generation->get_error_message(), false ); + return; + } + + if ( + isset( $cpcss_generation['code'] ) + && + ( + 'cpcss_generation_successful' === $cpcss_generation['code'] + || + 'cpcss_generation_failed' === $cpcss_generation['code'] + ) + ) { + $this->update_running_transient( $transient, $cpcss_item['path'], $mobile, $cpcss_generation['message'], ( 'cpcss_generation_successful' === $cpcss_generation['code'] ) ); + } + } + + /** + * Launches when the CPCSS generation is complete. + * + * @since 3.6 + */ + private function generation_complete() { + $running = get_transient( 'rocket_critical_css_generation_process_running' ); + + if ( false === $running ) { + return; + } + + if ( ! isset( $running['total'], $running['items'] ) ) { + return; + } + + if ( $running['total'] > count( $running['items'] ) ) { + return; + } + + /** + * Fires when the critical CSS generation process is complete. + * + * @since 2.11 + */ + do_action( 'rocket_critical_css_generation_process_complete' ); + + rocket_clean_domain(); + set_transient( 'rocket_critical_css_generation_process_complete', get_transient( 'rocket_critical_css_generation_process_running' ), HOUR_IN_SECONDS ); + delete_transient( 'rocket_critical_css_generation_process_running' ); + } + + /** + * Enqueue CPCSS heartbeat script on all admin pages. + * + * @since 3.6 + */ + public function enqueue_admin_cpcss_heartbeat_script() { + if ( ! $this->is_async_css_enabled() ) { + return; + } + + wp_enqueue_script( + 'wpr-heartbeat-cpcss-script', + rocket_get_constant( 'WP_ROCKET_ASSETS_JS_URL' ) . 'wpr-cpcss-heartbeat.js', + [], + rocket_get_constant( 'WP_ROCKET_VERSION' ), + true + ); + + wp_localize_script( + 'wpr-heartbeat-cpcss-script', + 'rocket_cpcss_heartbeat', + [ + 'nonce' => wp_create_nonce( 'cpcss_heartbeat_nonce' ), + ] + ); + } + + /** + * Add Regenerate Critical CSS link to WP Rocket admin bar item + * + * @since 3.6 + * + * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference. + * + * @return void + */ + public function add_regenerate_menu_item( $wp_admin_bar ) { + if ( 'local' === wp_get_environment_type() ) { + return; + } + + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + return; + } + + if ( ! is_admin() ) { + return; + } + + if ( ! $this->is_async_css_enabled() ) { + return; + } + + // This filter is documented in inc/Engine/CriticalPath/CriticalCSS.php. + if ( ! apply_filters( 'do_rocket_critical_css_generation', true ) ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + return; + } + + $referer = ''; + $action = 'rocket_generate_critical_css'; + + if ( ! empty( $_SERVER['REQUEST_URI'] ) ) { + $referer_url = filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ), FILTER_SANITIZE_URL ); + $referer = '&_wp_http_referer=' . rawurlencode( remove_query_arg( 'fl_builder', $referer_url ) ); + } + + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'regenerate-critical-path', + 'title' => __( 'Regenerate Critical Path CSS', 'rocket' ), + 'href' => wp_nonce_url( admin_url( "admin-post.php?action={$action}{$referer}" ), $action ), + ] + ); + } + + /** + * Checks if the "async_css" option is enabled. + * + * @since 3.6 + * + * @return bool true when "async_css" option is enabled. + */ + private function is_async_css_enabled() { + return (bool) $this->options->get( 'async_css', 0 ); + } +} diff --git a/inc/Engine/CriticalPath/Admin/Post.php b/inc/Engine/CriticalPath/Admin/Post.php new file mode 100644 index 0000000..3c95c64 --- /dev/null +++ b/inc/Engine/CriticalPath/Admin/Post.php @@ -0,0 +1,244 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath\Admin; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\Admin\Beacon\Beacon; + +class Post extends Abstract_Render { + /** + * Instance of the Beacon handler. + * + * @var Beacon + */ + private $beacon; + + /** + * Instance of options handler. + * + * @var Options_Data + */ + private $options; + + /** + * Path to the critical-css directory. + * + * @var string + */ + private $critical_css_path; + + /** + * Array of reasons to disable actions. + * + * @var array + */ + private $disabled_data; + + /** + * Creates an instance of the subscriber. + * + * @param Options_Data $options WP Rocket Options instance. + * @param Beacon $beacon Beacon instance. + * @param string $critical_path Path to the critical CSS base folder. + * @param string $template_path Path to the templates folder. + */ + public function __construct( Options_Data $options, Beacon $beacon, $critical_path, $template_path ) { + parent::__construct( $template_path ); + + $this->beacon = $beacon; + $this->options = $options; + $this->critical_css_path = $critical_path . get_current_blog_id() . '/posts/'; + } + + /** + * Displays the critical CSS block in WP Rocket options metabox. + * + * @since 3.6 + * + * @return void + */ + public function cpcss_section() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $data = [ + 'disabled_description' => $this->get_disabled_description(), + ]; + + echo $this->generate( 'metabox/container', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Displays the content inside the critical CSS block. + * + * @since 3.6 + * + * @return void + */ + public function cpcss_actions() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $data = [ + 'disabled' => $this->is_enabled(), + 'beacon' => $this->beacon->get_suggest( 'async' ), + 'cpcss_exists' => $this->cpcss_exists(), + ]; + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->generate( + 'metabox/generate', + $data // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + ); + } + + /** + * Enqueue CPCSS generation / deletion script on edit.php page. + * + * @since 3.6 + * + * @param string $page The current admin page. + * + * @return void + */ + public function enqueue_admin_edit_script( $page ) { + global $post, $pagenow; + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + // Bailout if the page is not Post / Page. + if ( ! in_array( $page, [ 'edit.php', 'post.php' ], true ) ) { + return; + } + + if ( ! in_array( $pagenow, [ 'post-new.php', 'post.php' ], true ) ) { + return; + } + + // Bailout if the CPCSS is not enabled for this Post / Page. + if ( $this->is_enabled() ) { + return; + } + + $post_id = ( 'post-new.php' === $pagenow ) ? '' : $post->ID; + + wp_enqueue_script( + 'wpr-edit-cpcss-script', + rocket_get_constant( 'WP_ROCKET_ASSETS_JS_URL' ) . 'wpr-cpcss.js', + [], + rocket_get_constant( 'WP_ROCKET_VERSION' ), + true + ); + + wp_localize_script( + 'wpr-edit-cpcss-script', + 'rocket_cpcss', + [ + 'rest_url' => rest_url( "wp-rocket/v1/cpcss/post/{$post_id}" ), + 'rest_nonce' => wp_create_nonce( 'wp_rest' ), + 'generate_btn' => __( 'Generate Specific CPCSS', 'rocket' ), + 'regenerate_btn' => __( 'Regenerate specific CPCSS', 'rocket' ), + 'wprMobileCpcssEnabled' => $this->options->get( 'async_css_mobile', 0 ), + ] + ); + } + + /** + * Gets data for the disabled checks. + * + * @since 3.6 + * + * @return array + */ + private function get_disabled_data() { + global $post; + + if ( rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ) { + $this->disabled_data = null; + } + + if ( isset( $this->disabled_data ) ) { + return $this->disabled_data; + } + + if ( 'publish' !== $post->post_status ) { + $this->disabled_data['not_published'] = 1; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + $this->disabled_data['option_disabled'] = 1; + } + + if ( get_post_meta( $post->ID, '_rocket_exclude_async_css', true ) ) { + $this->disabled_data['option_excluded'] = 1; + } + + if ( ! is_post_type_viewable( get_post_type( $post ) ) ) { + $this->disabled_data['not_viewable'] = 1; + } + + return $this->disabled_data; + } + + /** + * Checks if critical CSS generation is enabled for the current post. + * + * @since 3.6 + * + * @return bool + */ + private function is_enabled() { + return ! empty( $this->get_disabled_data() ); + } + + /** + * Returns the reason why actions are disabled. + * + * @since 3.6 + * + * @return string + */ + private function get_disabled_description() { + global $post; + + $disabled_data = $this->get_disabled_data(); + + if ( empty( $disabled_data ) ) { + return ''; + } + + if ( isset( $disabled_data['not_viewable'] ) ) { + return __( 'This feature is not available for non-public post types.', 'rocket' ); + } + + $notice = __( '%l to use this feature.', 'rocket' ); + $list = [ + // translators: %s = post type. + 'not_published' => sprintf( __( 'Publish the %s', 'rocket' ), $post->post_type ), + 'option_disabled' => __( 'Enable Load CSS asynchronously in WP Rocket settings', 'rocket' ), + 'option_excluded' => __( 'Enable Load CSS asynchronously in the options above', 'rocket' ), + ]; + + return wp_sprintf_l( $notice, array_intersect_key( $list, $disabled_data ) ); + } + + /** + * Checks if a specific critical css file exists for the current post. + * + * @since 3.6 + * + * @return bool + */ + private function cpcss_exists() { + global $post; + + $post_cpcss = "{$this->critical_css_path}{$post->post_type}-{$post->ID}.css"; + + return rocket_direct_filesystem()->exists( $post_cpcss ); + } +} diff --git a/inc/Engine/CriticalPath/Admin/Settings.php b/inc/Engine/CriticalPath/Admin/Settings.php new file mode 100644 index 0000000..2e33b9d --- /dev/null +++ b/inc/Engine/CriticalPath/Admin/Settings.php @@ -0,0 +1,160 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath\Admin; + +use WP_Rocket\Abstract_Render; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\Admin\Beacon\Beacon; +use WP_Rocket\Engine\CriticalPath\CriticalCSS; + +class Settings extends Abstract_Render { + /** + * Instance of the Beacon handler. + * + * @var Beacon + */ + private $beacon; + + /** + * Instance of options handler. + * + * @var Options_Data + */ + private $options; + + /** + * Instance of CriticalCSS. + * + * @var CriticalCSS + */ + private $critical_css; + + /** + * Creates an instance of the subscriber. + * + * @param Options_Data $options WP Rocket Options instance. + * @param Beacon $beacon Beacon instance. + * @param CriticalCSS $critical_css CriticalCSS instance. + * @param string $template_path Path to the templates folder. + */ + public function __construct( Options_Data $options, Beacon $beacon, CriticalCSS $critical_css, $template_path ) { + parent::__construct( $template_path ); + + $this->beacon = $beacon; + $this->options = $options; + $this->critical_css = $critical_css; + } + + /** + * Display CPCSS mobile section tool admin view. + * + * @since 3.6 + * + * @return void + */ + public function display_cpcss_mobile_section() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + // Bailout if CPCSS is not enabled & separate cache for mobiles is not enabled. + // Or bailout if CPCSS mobile option is false. + if ( + ! ( + $this->options->get( 'async_css', 0 ) + && + $this->options->get( 'cache_mobile', 0 ) + && + $this->options->get( 'do_caching_mobile_files', 0 ) + ) + || + $this->options->get( 'async_css_mobile', 0 ) + ) { + return; + } + + $data = [ + 'beacon' => $this->beacon->get_suggest( 'async' ), + ]; + + echo $this->generate( 'activate-cpcss-mobile', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Enable CPCSS mobile. + * + * @since 3.6 + * + * @return void + */ + public function enable_mobile_cpcss() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) || ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + wp_send_json_error(); + return; + } + + $this->options->set( 'async_css_mobile', 1 ); + update_option( rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ), $this->options->get_options() ); + + // Start Mobile CPCSS process. + $this->critical_css->process_handler( 'mobile' ); + + wp_send_json_success(); + } + + /** + * Adds async_css_mobile option to WP Rocket options. + * + * @since 3.6 + * + * @param array $options WP Rocket options array. + * + * @return array + */ + public function add_async_css_mobile_option( $options ) { + $options = (array) $options; + + $options['async_css_mobile'] = 1; + + return $options; + } + + /** + * Sets the default value of async_css_mobile to 0 when upgrading from < 3.6. + * + * @since 3.6 + * + * @param string $new_version New WP Rocket version. + * @param string $old_version Previous WP Rocket version. + */ + public function set_async_css_mobile_default_value( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.6', '>' ) ) { + return; + } + + $options = get_option( 'wp_rocket_settings', [] ); + + $options['async_css_mobile'] = 0; + + update_option( 'wp_rocket_settings', $options ); + } + + /** + * Adds async_css_mobile to the hidden settings fields. + * + * @since 3.6 + * + * @param array $hidden_settings_fields An array of hidden settings fields ID. + * + * @return array + */ + public function add_hidden_async_css_mobile( $hidden_settings_fields ) { + $hidden_settings_fields = (array) $hidden_settings_fields; + + $hidden_settings_fields[] = 'async_css_mobile'; + + return $hidden_settings_fields; + } +} diff --git a/inc/Engine/CriticalPath/Admin/Subscriber.php b/inc/Engine/CriticalPath/Admin/Subscriber.php new file mode 100644 index 0000000..129697f --- /dev/null +++ b/inc/Engine/CriticalPath/Admin/Subscriber.php @@ -0,0 +1,204 @@ +<?php +declare(strict_types=1); + +namespace WP_Rocket\Engine\CriticalPath\Admin; + +use WP_Rocket\Event_Management\Subscriber_Interface; + +class Subscriber implements Subscriber_Interface { + /** + * Instance of the CPCSS Settings handler. + * + * @var Settings + */ + private $settings; + + /** + * Instance of the Post handler + * + * @var Post + */ + private $post; + + /** + * Instance of the Admin handler + * + * @var Admin + */ + private $admin; + + /** + * Creates an instance of the subscriber. + * + * @param Post $post Post instance. + * @param Settings $settings CPCSS Settings instance. + * @param Admin $admin Admin instance. + */ + public function __construct( Post $post, Settings $settings, Admin $admin ) { + $this->post = $post; + $this->settings = $settings; + $this->admin = $admin; + } + + /** + * Events this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_after_options_metabox' => 'cpcss_section', + 'rocket_metabox_cpcss_content' => 'cpcss_actions', + 'rocket_first_install_options' => 'add_async_css_mobile_option', + 'wp_rocket_upgrade' => [ 'set_async_css_mobile_default_value', 12, 2 ], + 'rocket_hidden_settings_fields' => 'add_hidden_async_css_mobile', + 'rocket_settings_tools_content' => 'display_cpcss_mobile_section', + 'wp_ajax_rocket_enable_mobile_cpcss' => 'enable_mobile_cpcss', + 'wp_ajax_rocket_cpcss_heartbeat' => 'cpcss_heartbeat', + 'admin_enqueue_scripts' => [ + [ 'enqueue_admin_edit_script' ], + [ 'enqueue_admin_cpcss_heartbeat_script' ], + ], + 'rocket_admin_bar_items' => 'add_regenerate_menu_item', + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 3 ], + ]; + } + + /** + * Enable CPCSS mobile. + * + * @since 3.6 + * + * @return void + */ + public function enable_mobile_cpcss() { + $this->settings->enable_mobile_cpcss(); + } + + /** + * Display CPCSS mobile section tool admin view. + * + * @since 3.6 + * + * @return void + */ + public function display_cpcss_mobile_section() { + $this->settings->display_cpcss_mobile_section(); + } + + /** + * Enqueue CPCSS generation / deletion script on edit.php page. + * + * @since 3.6 + * + * @param string $page The current admin page. + * + * @return void + */ + public function enqueue_admin_edit_script( $page ) { + $this->post->enqueue_admin_edit_script( $page ); + } + + /** + * Displays the critical CSS block in WP Rocket options metabox. + * + * @since 3.6 + * + * @return void + */ + public function cpcss_section() { + $this->post->cpcss_section(); + } + + /** + * Displays the content inside the critical CSS block. + * + * @since 3.6 + * + * @return void + */ + public function cpcss_actions() { + $this->post->cpcss_actions(); + } + + /** + * Adds async_css_mobile option to WP Rocket options. + * + * @since 3.6 + * + * @param array $options WP Rocket options array. + * + * @return array + */ + public function add_async_css_mobile_option( $options ) { + return $this->settings->add_async_css_mobile_option( $options ); + } + + /** + * Sets the default value of async_css_mobile to 0 when upgrading from < 3.6. + * + * @since 3.6 + * + * @param string $new_version New WP Rocket version. + * @param string $old_version Previous WP Rocket version. + */ + public function set_async_css_mobile_default_value( $new_version, $old_version ) { + $this->settings->set_async_css_mobile_default_value( $new_version, $old_version ); + } + + /** + * Adds async_css_mobile to the hidden settings fields. + * + * @since 3.6 + * + * @param array $hidden_settings_fields An array of hidden settings fields ID. + * + * @return array + */ + public function add_hidden_async_css_mobile( $hidden_settings_fields ) { + return $this->settings->add_hidden_async_css_mobile( $hidden_settings_fields ); + } + + /** + * Check the CPCSS heartbeat. + * + * @since 3.6 + */ + public function cpcss_heartbeat() { + $this->admin->cpcss_heartbeat(); + } + + /** + * Enqueue CPCSS heartbeat script on all admin pages. + * + * @since 3.6 + */ + public function enqueue_admin_cpcss_heartbeat_script() { + $this->admin->enqueue_admin_cpcss_heartbeat_script(); + } + + /** + * Add Regenerate Critical CSS link to WP Rocket admin bar item + * + * @since 3.6 + * + * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference. + * @return void + */ + public function add_regenerate_menu_item( $wp_admin_bar ) { + $this->admin->add_regenerate_menu_item( $wp_admin_bar ); + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['async_css'] = __( 'Load CSS asynchronously', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/CriticalPath/CriticalCSS.php b/inc/Engine/CriticalPath/CriticalCSS.php new file mode 100644 index 0000000..17c4fb2 --- /dev/null +++ b/inc/Engine/CriticalPath/CriticalCSS.php @@ -0,0 +1,472 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath; + +use FilesystemIterator; +use UnexpectedValueException; +use WP_Filesystem_Direct; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\Optimization\ContentTrait; + +/** + * Handles the critical CSS generation process. + * + * @since 2.11 + */ +class CriticalCSS { + use ContentTrait; + + /** + * Background Process instance. + * + * @var CriticalCSSGeneration + */ + public $process; + + /** + * WP Rocket options instance. + * + * @var Options_Data + */ + private $options; + + /** + * Items for which we generate a critical CSS. + * + * @var array + */ + public $items = []; + + /** + * Path to the critical CSS directory. + * + * @var string + */ + private $critical_css_path; + + /** + * Instance of the filesystem handler. + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * Creates an instance of CriticalCSS. + * + * @param CriticalCSSGeneration $process Background process instance. + * @param Options_Data $options Instance of options data handler. + * @param WP_Filesystem_Direct $filesystem Instance of the filesystem handler. + */ + public function __construct( CriticalCSSGeneration $process, Options_Data $options, $filesystem ) { + $this->process = $process; + $this->options = $options; + $this->critical_css_path = rocket_get_constant( 'WP_ROCKET_CRITICAL_CSS_PATH' ) . get_current_blog_id() . '/'; + $this->filesystem = $filesystem; + $this->items['front_page'] = [ + 'type' => 'front_page', + 'url' => home_url( '/' ), + 'path' => 'front_page.css', + 'check' => 0, + ]; + } + + /** + * Returns the current site critical CSS path. + * + * @since 3.3.5 + * + * @return string + */ + public function get_critical_css_path() { + return $this->critical_css_path; + } + + /** + * Performs the critical CSS generation. + * + * @since 3.13.2 Always clear all CPCSS files. + * @since 3.6 Added the $version parameter. + * @since 2.11 + * + * @param string $version Optional. Version of the CPCSS files to generate. Possible values: default, mobile, all. + * @param string $clean_version Optional: Version of the CPCSS files to clean. Possible values: default, mobile, all. + */ + public function process_handler( $version = 'default', $clean_version = '' ) { + /** + * Filters the critical CSS generation process. + * + * Use this filter to prevent the automatic critical CSS generation. + * + * @since 2.11.5 + * + * @param bool $do_rocket_critical_css_generation True to activate the automatic generation, false to prevent it. + */ + if ( ! apply_filters( 'do_rocket_critical_css_generation', true ) ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + return; + } + + if ( get_transient( 'rocket_critical_css_generation_process_running' ) ) { + return; + } + + if ( empty( $clean_version ) ) { + $clean_version = $version; + } + + $this->clean_critical_css( $clean_version ); + + $this->stop_generation(); + + $this->set_items( $version ); + + array_map( [ $this->process, 'push_to_queue' ], $this->items ); + + $this->update_process_running_transient(); + + $this->process->save()->dispatch(); + } + + /** + * Stop the critical CSS generation process. + * + * @since 3.3 + */ + public function stop_generation() { + if ( method_exists( $this->process, 'cancel_process' ) ) { + $this->process->cancel_process(); + } + } + + /** + * Launches when the CPCSS generation is complete. + * + * @since 3.6 + */ + protected function generation_complete() { + /** + * Fires when the critical CSS generation process is complete. + * + * @since 2.11 + */ + do_action( 'rocket_critical_css_generation_process_complete' ); + + set_transient( 'rocket_critical_css_generation_process_complete', get_transient( 'rocket_critical_css_generation_process_running' ), HOUR_IN_SECONDS ); + delete_transient( 'rocket_critical_css_generation_process_running' ); + } + + /** + * Deletes critical CSS files. + * + * @since 3.6 Replaced glob(). + * @since 3.6 Added $version parameter. + * @since 2.11 + * + * @param string $version Optional. Version of the CPCSS files to delete. Possible values: default, mobile, all. + */ + public function clean_critical_css( $version = 'default' ) { + foreach ( $this->get_critical_css_iterator() as $file ) { + if ( ! $this->filesystem->is_file( $file ) ) { + continue; + } + + if ( + 'mobile' === $version + && + false === strpos( $file, '-mobile' ) + ) { + continue; + } elseif ( + 'default' === $version + && + false !== strpos( $file, '-mobile' ) + ) { + continue; + } + + $this->filesystem->delete( $file ); + } + } + + /** + * Gets the Critical CSS Filesystem Iterator. + * + * @since 3.6 + * + * @return FilesystemIterator|array Returns iterator on success; else an empty array. + */ + private function get_critical_css_iterator() { + try { + return new FilesystemIterator( $this->critical_css_path ); + } catch ( UnexpectedValueException $e ) { + // No logging yet. + return []; + } + } + + /** + * Sets the items for which we generate critical CSS. + * + * @since 2.11 + * + * @param string $version Optional. Version of the CPCSS files to generate. Possible values: default, mobile, all. + */ + private function set_items( $version = 'default' ) { + $page_for_posts = get_option( 'page_for_posts' ); + + if ( 'page' === get_option( 'show_on_front' ) && ! empty( $page_for_posts ) ) { + $this->items['home'] = [ + 'type' => 'home', + 'url' => get_permalink( get_option( 'page_for_posts' ) ), + 'path' => 'home.css', + 'check' => 0, + ]; + } + + $post_types = $this->get_public_post_types(); + + foreach ( $post_types as $post_type ) { + $this->items[ $post_type->post_type ] = [ + 'type' => $post_type->post_type, + 'url' => get_permalink( $post_type->ID ), + 'path' => "{$post_type->post_type}.css", + 'check' => 0, + ]; + } + + $taxonomies = $this->get_public_taxonomies(); + foreach ( $taxonomies as $taxonomy ) { + + $this->items[ $taxonomy->taxonomy ] = [ + 'type' => $taxonomy->taxonomy, + 'url' => get_term_link( (int) $taxonomy->ID, $taxonomy->taxonomy ), + 'path' => "{$taxonomy->taxonomy}.css", + 'check' => 0, + ]; + } + + if ( in_array( $version, [ 'all', 'mobile' ], true ) ) { + $mobile_items = []; + + foreach ( $this->items as $key => $value ) { + $value['mobile'] = 1; + $value['path'] = str_replace( '.css', '-mobile.css', $value['path'] ); + $mobile_items[ "{$key}-mobile" ] = $value; + } + + if ( 'mobile' === $version ) { + $this->items = $mobile_items; + } elseif ( 'all' === $version ) { + $this->items = array_merge( $this->items, $mobile_items ); + } + } + + /** + * Filters the array containing the items to send to the critical CSS generator. + * + * @since 2.11.4 + * + * @param array $items Array containing the type/url pair for each item to send. + */ + $this->items = (array) apply_filters( 'rocket_cpcss_items', $this->items ); + } + + /** + * Updates the "rocket_critical_css_generation_process_running" transient. + * + * @since 3.6 + */ + private function update_process_running_transient() { + $total = 0; + + foreach ( $this->items as $item ) { + if ( ! isset( $item['mobile'] ) ) { + ++$total; + continue; + } + + if ( 1 === $item['mobile'] ) { + continue; + } + + ++$total; + } + + $transient = [ + 'total' => $total, + 'items' => [], + ]; + + set_transient( 'rocket_critical_css_generation_process_running', $transient, HOUR_IN_SECONDS ); + } + + /** + * Gets the CPCSS content to use on the current page. + * + * @since 3.6 + * + * @return bool|string + */ + public function get_critical_css_content() { + $filename = $this->get_current_page_critical_css(); + + if ( empty( $filename ) ) { + return $this->options->get( 'critical_css', '' ); + } + + return $this->filesystem->get_contents( $filename ); + } + + /** + * Gets the CPCSS filepath for the current page. + * + * @since 2.11 + * + * @return string Filepath if the file exists, empty string otherwise. + */ + public function get_current_page_critical_css() { + $files = $this->get_critical_css_filenames(); + + if ( + $this->is_async_css_mobile() + && + wp_is_mobile() + && + $this->filesystem->is_readable( $this->critical_css_path . $files['mobile'] ) + ) { + return $this->critical_css_path . $files['mobile']; + } + + if ( $this->filesystem->is_readable( $this->critical_css_path . $files['default'] ) ) { + return $this->critical_css_path . $files['default']; + } + + return ''; + } + + /** + * Gets the CPCSS filenames for the current URL type. + * + * @since 3.6 + * + * @return array + */ + private function get_critical_css_filenames() { + $default = [ + 'default' => 'front_page.css', + 'mobile' => 'front_page-mobile.css', + ]; + + if ( is_home() && 'page' === get_option( 'show_on_front' ) ) { + return [ + 'default' => 'home.css', + 'mobile' => 'home-mobile.css', + ]; + } + + if ( is_front_page() ) { + return $default; + } + + if ( is_category() ) { + return [ + 'default' => 'category.css', + 'mobile' => 'category-mobile.css', + ]; + } + + if ( is_tag() ) { + return [ + 'default' => 'post_tag.css', + 'mobile' => 'post_tag-mobile.css', + ]; + } + + if ( is_tax() ) { + $taxonomy = get_queried_object()->taxonomy; + + return [ + 'default' => "{$taxonomy}.css", + 'mobile' => "{$taxonomy}-mobile.css", + ]; + } + + if ( is_singular() ) { + return $this->get_singular_cpcss_filenames(); + } + + return $default; + } + + /** + * Gets the filenames for a singular content. + * + * @since 3.6 + * + * @return array + */ + private function get_singular_cpcss_filenames() { + $post_type = get_post_type(); + $post_id = get_the_ID(); + $post_cpcss = [ + 'default' => "posts/{$post_type}-{$post_id}.css", + 'mobile' => "posts/{$post_type}-{$post_id}-mobile.css", + ]; + + if ( + $this->is_async_css_mobile() + && + ! $this->filesystem->exists( $this->critical_css_path . $post_cpcss['mobile'] ) + ) { + $post_cpcss['mobile'] = $post_cpcss['default']; + } + + if ( $this->filesystem->exists( $this->critical_css_path . $post_cpcss['default'] ) ) { + return $post_cpcss; + } + + return [ + 'default' => "{$post_type}.css", + 'mobile' => "{$post_type}-mobile.css", + ]; + } + + /** + * Checks if we are in a situation where we need the mobile CPCSS. + * + * @since 3.6 + * + * @return bool + */ + public function is_async_css_mobile() { + if ( ! (bool) $this->options->get( 'do_caching_mobile_files', 0 ) ) { + return false; + } + + return (bool) $this->options->get( 'async_css_mobile', 0 ); + } + + /** + * Get list of CSS files to be excluded from async CSS. + * + * @since 3.6.2 + * + * @return array An array of URLs for the CSS files to be excluded. + */ + public function get_exclude_async_css() { + /** + * Filter list of async CSS files + * + * @since 2.10 + * + * @param array $exclude_async_css An array of URLs for the CSS files to be excluded. + */ + $exclude_async_css = (array) apply_filters( 'rocket_exclude_async_css', [] ); + if ( empty( $exclude_async_css ) ) { + return $exclude_async_css; + } + $exclude_async_css = array_filter( $exclude_async_css ); + + return array_flip( array_flip( $exclude_async_css ) ); + } +} diff --git a/inc/Engine/CriticalPath/CriticalCSSGeneration.php b/inc/Engine/CriticalPath/CriticalCSSGeneration.php new file mode 100644 index 0000000..64b9c49 --- /dev/null +++ b/inc/Engine/CriticalPath/CriticalCSSGeneration.php @@ -0,0 +1,94 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath; + +use WP_Rocket_WP_Background_Process; + +/** + * Extends the background process class for the critical CSS generation process. + * + * @since 2.11 + * + * @see WP_Background_Process + */ +class CriticalCSSGeneration extends WP_Rocket_WP_Background_Process { + use TransientTrait; + + /** + * Process prefix. + * + * @var string + */ + protected $prefix = 'rocket'; + + /** + * Specific action identifier for sitemap preload. + * + * @var string Action identifier + */ + protected $action = 'critical_css_generation'; + + /** + * ProcessorService instance. + * + * @var ProcessorService + */ + protected $processor; + + /** + * Instantiate the class + * + * @param ProcessorService $processor ProcessorService instance. + */ + public function __construct( ProcessorService $processor ) { + parent::__construct(); + + $this->processor = $processor; + } + + /** + * Perform the optimization corresponding to $item. + * + * @since 2.11 + * + * @param mixed $item Queue item to iterate over. + * + * @return bool false if task performed successfully, true otherwise to re-queue the item. + */ + protected function task( $item ) { + if ( ! is_array( $item ) ) { + return false; + } + + $transient = get_transient( 'rocket_critical_css_generation_process_running' ); + $mobile = isset( $item['mobile'] ) ? $item['mobile'] : 0; + + $generation_params = [ + 'is_mobile' => $mobile, + 'item_type' => $item['type'], + ]; + $generated = $this->processor->process_generate( $item['url'], $item['path'], $generation_params ); + + if ( is_wp_error( $generated ) ) { + $this->update_running_transient( $transient, $item['path'], $mobile, $generated->get_error_message(), false ); + return false; + } + + if ( isset( $generated['code'] ) && 'cpcss_generation_pending' === $generated['code'] ) { + $pending = get_transient( 'rocket_cpcss_generation_pending' ); + + if ( false === $pending ) { + $pending = []; + } + + $pending[ $item['path'] ] = $item; + + set_transient( 'rocket_cpcss_generation_pending', $pending, HOUR_IN_SECONDS ); + + return false; + } + + $this->update_running_transient( $transient, $item['path'], $mobile, $generated['message'], ( 'cpcss_generation_successful' === $generated['code'] ) ); + return false; + } +} diff --git a/inc/Engine/CriticalPath/CriticalCSSSubscriber.php b/inc/Engine/CriticalPath/CriticalCSSSubscriber.php new file mode 100644 index 0000000..52acd27 --- /dev/null +++ b/inc/Engine/CriticalPath/CriticalCSSSubscriber.php @@ -0,0 +1,874 @@ +<?php + +namespace WP_Rocket\Engine\CriticalPath; + +use WP_Rocket\Admin\Options; +use WP_Rocket\Admin\Options_Data; +use WP_Rocket\Engine\License\API\User; +use WP_Rocket\Engine\Optimization\RegexTrait; +use WP_Rocket\Event_Management\Subscriber_Interface; +use WP_Filesystem_Direct; + +/** + * Critical CSS Subscriber. + * + * @since 3.3 + */ +class CriticalCSSSubscriber implements Subscriber_Interface { + use RegexTrait; + + /** + * Instance of Critical CSS. + * + * @var Critical_CSS + */ + protected $critical_css; + + /** + * Instance of options. + * + * @var Options_Data + */ + protected $options; + + /** + * WordPress options. + * + * @var Options + */ + protected $options_api; + + /** + * Instance of the filesystem handler. + * + * @var WP_Filesystem_Direct + */ + private $filesystem; + + /** + * CPCSS generation and deletion service. + * + * @var ProcessorService instance for this service. + */ + private $cpcss_service; + + /** + * User instance. + * + * @var User + */ + protected $user; + + /** + * Creates an instance of the Critical CSS Subscriber. + * + * @param CriticalCSS $critical_css Critical CSS instance. + * @param ProcessorService $cpcss_service Has the logic for cpcss generation and deletion. + * @param Options_Data $options WP Rocket options. + * @param Options $options_api WordPress options. + * @param User $user User instance. + * @param WP_Filesystem_Direct $filesystem Instance of the filesystem handler. + */ + public function __construct( CriticalCSS $critical_css, ProcessorService $cpcss_service, Options_Data $options, Options $options_api, User $user, $filesystem ) { + $this->critical_css = $critical_css; + $this->cpcss_service = $cpcss_service; + $this->options = $options; + $this->options_api = $options_api; + $this->user = $user; + $this->filesystem = $filesystem; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.3 + * + * @return array + */ + public static function get_subscribed_events() { + // phpcs:disable WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned + return [ + 'admin_post_rocket_generate_critical_css' => 'init_critical_css_generation', + + 'update_option_' . rocket_get_constant( 'WP_ROCKET_SLUG' ) => [ + [ 'generate_critical_css_on_activation', 11, 2 ], + [ 'stop_process_on_deactivation', 11, 2 ], + [ 'maybe_generate_cpcss_mobile', 12, 2 ], + ], + + 'admin_notices' => [ + [ 'notice_critical_css_generation_triggered' ], + [ 'critical_css_generation_running_notice' ], + [ 'critical_css_generation_complete_notice' ], + [ 'warning_critical_css_dir_permissions' ], + [ 'switch_to_rucss_notice', 9 ], + ], + + 'wp_head' => [ 'insert_load_css', PHP_INT_MAX ], + + 'rocket_buffer' => [ + [ 'insert_critical_css_buffer', 19 ], + [ 'async_css', 32 ], + ], + + 'switch_theme' => 'maybe_regenerate_cpcss', + 'rocket_excluded_inline_js_content' => 'exclude_inline_js', + 'before_delete_post' => 'delete_cpcss', + 'rocket_before_rollback' => [ 'stop_critical_css_generation', 9 ], + 'wp_rocket_upgrade' => [ 'stop_critical_css_generation', 9 ], + 'admin_post_switch_to_rucss' => 'switch_to_rucss', + ]; + // phpcs:enable WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned + } + + /** + * Deletes the custom CPCSS files from /posts/ folder. + * + * @since 3.6 + * + * @param int $post_id Deleted post id. + */ + public function delete_cpcss( $post_id ) { + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + return; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return; + } + + $post_type = get_post_type( $post_id ); + $item_path = 'posts' . DIRECTORY_SEPARATOR . "{$post_type}-{$post_id}.css"; + $this->cpcss_service->process_delete( $item_path ); + + if ( $this->options->get( 'async_css_mobile', 0 ) ) { + $mobile_item_path = 'posts' . DIRECTORY_SEPARATOR . "{$post_type}-{$post_id}-mobile.css"; + $this->cpcss_service->process_delete( $mobile_item_path ); + } + } + + /** + * This notice is displayed when the Critical CSS Generation is triggered from a different page than + * WP Rocket settings page. + * + * @since 3.4.1 + */ + public function notice_critical_css_generation_triggered() { + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + return; + } + + $screen = get_current_screen(); + + if ( 'settings_page_wprocket' === $screen->id ) { + return; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return; + } + + if ( false === get_transient( 'rocket_critical_css_generation_triggered' ) ) { + return; + } + + delete_transient( 'rocket_critical_css_generation_triggered' ); + + $message = __( 'Critical CSS generation is currently running.', 'rocket' ); + + if ( current_user_can( 'rocket_manage_options' ) ) { + $message .= ' ' . sprintf( + // Translators: %1$s = opening link tag, %2$s = closing link tag. + __( 'Go to the %1$sWP Rocket settings%2$s page to track progress.', 'rocket' ), + '<a href="' . esc_url( admin_url( 'options-general.php?page=' . WP_ROCKET_PLUGIN_SLUG ) ) . '">', + '</a>' + ); + } + + rocket_notice_html( + [ + 'status' => 'info', + 'message' => $message, + ] + ); + } + + /** + * Launches the critical CSS generation from admin. + * + * @since 2.11 + * + * @see CriticalCSS::process_handler() + */ + public function init_critical_css_generation() { + if ( + ! isset( $_GET['_wpnonce'] ) + || + ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'rocket_generate_critical_css' ) + ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + wp_die(); + } + + $version = 'default'; + + if ( $this->critical_css->is_async_css_mobile() ) { + $version = 'all'; + } + + $this->critical_css->process_handler( $version ); + + if ( ! strpos( wp_get_referer(), 'wprocket' ) ) { + set_transient( 'rocket_critical_css_generation_triggered', 1 ); + } + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } + + /** + * Launches the critical CSS generation when activating the async CSS option. + * + * @since 2.11 + * + * @param array $old_value Previous values for WP Rocket settings. + * @param array $value New values for WP Rocket settings. + * + * @see CriticalCSS::process_handler() + */ + public function generate_critical_css_on_activation( $old_value, $value ) { + if ( + ! isset( $old_value['async_css'], $value['async_css'] ) + || + ( $old_value['async_css'] === $value['async_css'] ) + || 1 !== (int) $value['async_css'] + ) { + return; + } + + $critical_css_path = $this->critical_css->get_critical_css_path(); + + // Check if the CPCSS path exists and create it. + if ( ! $this->filesystem->is_dir( $critical_css_path ) ) { + rocket_mkdir_p( $critical_css_path ); + } + + $version = 'default'; + + if ( + isset( $value['do_caching_mobile_files'], $value['async_css_mobile'] ) + && + ( + 1 === (int) $value['do_caching_mobile_files'] + && + 1 === (int) $value['async_css_mobile'] + ) + ) { + $version = 'all'; + } + + // Generate the CPCSS files. + $this->critical_css->process_handler( $version ); + } + + /** + * Maybe generate the CPCSS for Mobile. + * + * @since 3.6 + * + * @param array $old_value Array of original values. + * @param array $value Array of new values. + */ + public function maybe_generate_cpcss_mobile( $old_value, $value ) { + if ( + ! isset( $value['async_css_mobile'] ) + || + 1 !== (int) $value['async_css_mobile'] + ) { + return; + } + + if ( + ! isset( $value['do_caching_mobile_files'] ) + || + 1 !== (int) $value['do_caching_mobile_files'] + ) { + return; + } + + if ( + ! isset( $old_value['async_css'], $value['async_css'] ) + || + ( ( $old_value['async_css'] !== $value['async_css'] ) && 1 === (int) $value['async_css'] ) + || + 1 !== (int) $value['async_css'] + ) { + return; + } + + $this->critical_css->process_handler( 'mobile' ); + } + + /** + * Stops the critical CSS generation when deactivating the async CSS option and remove the notices. + * + * @since 2.11 + * + * @param array $old_value Previous values for WP Rocket settings. + * @param array $value New values for WP Rocket settings. + */ + public function stop_process_on_deactivation( $old_value, $value ) { + if ( + ! empty( $_POST[ WP_ROCKET_SLUG ] ) // phpcs:ignore WordPress.Security.NonceVerification.Missing + && + isset( $old_value['async_css'], $value['async_css'] ) + && + ( $old_value['async_css'] !== $value['async_css'] ) + && + 0 === (int) $value['async_css'] + ) { + $this->stop_critical_css_generation(); + } + } + + /** + * This notice is displayed when the critical CSS generation is running. + * + * @since 2.11 + */ + public function critical_css_generation_running_notice() { + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + return; + } + + $screen = get_current_screen(); + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return; + } + + $transient = get_transient( 'rocket_critical_css_generation_process_running' ); + + if ( ! $transient ) { + return; + } + + $success_counter = 0; + $items_message = ''; + + if ( ! empty( $transient['items'] ) ) { + $items_message .= '<ul>'; + + foreach ( $transient['items'] as $item ) { + $status_nonmobile = isset( $item['status']['nonmobile'] ); + $status_mobile = $this->is_mobile_cpcss_active() ? isset( $item['status']['mobile'] ) : true; + if ( $status_nonmobile && $status_mobile ) { + $items_message .= '<li>' . $item['status']['nonmobile']['message'] . '</li>'; + if ( $item['status']['nonmobile']['success'] ) { + ++$success_counter; + } + } + } + + $items_message .= '</ul>'; + } + + if ( ! isset( $transient['total'] ) ) { + return; + } + + if ( + 0 === $success_counter + && + 0 === $transient['total'] + ) { + return; + } + + $message = '<p>' . sprintf( + // Translators: %1$d = number of critical CSS generated, %2$d = total number of critical CSS to generate. + __( 'Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)', 'rocket' ), + $success_counter, + $transient['total'] + ) . '</p>' . $items_message; + + rocket_notice_html( + [ + 'status' => 'info', + 'message' => $message, + ] + ); + } + + /** + * This notice is displayed when the critical CSS generation is complete. + * + * @since 2.11 + */ + public function critical_css_generation_complete_notice() { + if ( ! current_user_can( 'rocket_regenerate_critical_css' ) ) { + return; + } + + $screen = get_current_screen(); + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return; + } + + $transient = get_transient( 'rocket_critical_css_generation_process_complete' ); + if ( ! $transient ) { + return; + } + + $status = 'success'; + $success_counter = 0; + $items_message = ''; + $desktop = false; + + if ( ! empty( $transient['items'] ) ) { + $items_message .= '<ul>'; + + foreach ( $transient['items'] as $item ) { + $status_nonmobile = isset( $item['status']['nonmobile'] ); + $status_mobile = $this->is_mobile_cpcss_active() ? isset( $item['status']['mobile'] ) : true; + if ( ! $status_nonmobile || ! $status_mobile ) { + continue; + } + if ( isset( $item['status']['nonmobile']['message'] ) ) { + $desktop = true; + } + $items_message .= '<li>' . $item['status']['nonmobile']['message'] . '</li>'; + if ( $item['status']['nonmobile']['success'] ) { + ++$success_counter; + } + } + + $items_message .= '</ul>'; + } + + if ( ! $desktop || ( 0 === $success_counter && 0 === $transient['total'] ) ) { + return; + } + + if ( 0 === $success_counter ) { + $status = 'error'; + } elseif ( $success_counter < $transient['total'] ) { + $status = 'warning'; + } + + $message = '<p>' . sprintf( + // Translators: %1$d = number of critical CSS generated, %2$d = total number of critical CSS to generate. + __( 'Critical CSS generation finished for %1$d of %2$d page types.', 'rocket' ), + $success_counter, + $transient['total'] + ); + $message .= ' <em> (' . date_i18n( get_option( 'date_format' ) ) . ' @ ' . date_i18n( get_option( 'time_format' ) ) . ') </em></p>' . $items_message; + + if ( 'error' === $status || 'warning' === $status ) { + $message .= '<p>' . __( 'Critical CSS generation encountered one or more errors.', 'rocket' ) . ' <a href="https://docs.wp-rocket.me/article/1267-troubleshooting-critical-css-generation-issues" data-beacon-article="5d5214d10428631e94f94ae6" target="_blank" rel="noreferer noopener">' . __( 'Learn more.', 'rocket' ) . '</a>'; + } + + rocket_notice_html( + [ + 'status' => $status, + 'message' => $message, + ] + ); + + delete_transient( 'rocket_critical_css_generation_process_complete' ); + } + + /** + * This warning is displayed when the critical CSS dir isn't writeable. + * + * @since 2.11 + */ + public function warning_critical_css_dir_permissions() { + if ( + current_user_can( 'rocket_manage_options' ) + && + ( ! $this->filesystem->is_writable( WP_ROCKET_CRITICAL_CSS_PATH ) ) + && + ( $this->options->get( 'async_css', false ) ) + && + rocket_valid_key() + ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( + trim( str_replace( ABSPATH, '', WP_ROCKET_CRITICAL_CSS_PATH ), '/' ) + ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } + } + + /** + * Insert loadCSS script in <head>. + * + * @since 2.11.2 Updated loadCSS rel=preload polyfill to version 2.0.1 + * @since 2.10 + */ + public function insert_load_css() { + if ( ! $this->should_async_css() ) { + return; + } + + // This filter is documented in inc/classes/Buffer/class-tests.php. + $rocket_cache_search = apply_filters( 'rocket_cache_search', false ); + + // Don't apply on search page. + if ( is_search() && ! $rocket_cache_search ) { + return; + } + + // Don't apply on 404 page. + if ( is_404() ) { + return; + } + + if ( + empty( $this->critical_css->get_current_page_critical_css() ) + && + empty( $this->options->get( 'critical_css', '' ) ) + ) { + return; + } + + echo /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. */ <<<JS +<script> +/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */ +(function(w){"use strict";if(!w.loadCSS){w.loadCSS=function(){}} +var rp=loadCSS.relpreload={};rp.support=(function(){var ret;try{ret=w.document.createElement("link").relList.supports("preload")}catch(e){ret=!1} +return function(){return ret}})();rp.bindMediaToggle=function(link){var finalMedia=link.media||"all";function enableStylesheet(){link.media=finalMedia} +if(link.addEventListener){link.addEventListener("load",enableStylesheet)}else if(link.attachEvent){link.attachEvent("onload",enableStylesheet)} +setTimeout(function(){link.rel="stylesheet";link.media="only x"});setTimeout(enableStylesheet,3000)};rp.poly=function(){if(rp.support()){return} +var links=w.document.getElementsByTagName("link");for(var i=0;i<links.length;i++){var link=links[i];if(link.rel==="preload"&&link.getAttribute("as")==="style"&&!link.getAttribute("data-loadcss")){link.setAttribute("data-loadcss",!0);rp.bindMediaToggle(link)}}};if(!rp.support()){rp.poly();var run=w.setInterval(rp.poly,500);if(w.addEventListener){w.addEventListener("load",function(){rp.poly();w.clearInterval(run)})}else if(w.attachEvent){w.attachEvent("onload",function(){rp.poly();w.clearInterval(run)})}} +if(typeof exports!=="undefined"){exports.loadCSS=loadCSS} +else{w.loadCSS=loadCSS}}(typeof global!=="undefined"?global:this)) +</script> +JS; + } + + /** + * Insert critical CSS before combined CSS when option is active. + * + * @since 2.11.5 + * + * @param string $buffer HTML output of the page. + * + * @return string Updated HTML output + */ + public function insert_critical_css_buffer( $buffer ) { + if ( ! $this->should_async_css() ) { + return $buffer; + } + + $critical_css_content = $this->critical_css->get_critical_css_content(); + + if ( empty( $critical_css_content ) ) { + return $buffer; + } + + $critical_css_content = str_replace( '\\', '\\\\', $critical_css_content ); + + $buffer = preg_replace( + '##iU', + '', + $buffer, + 1 + ); + + return preg_replace( '##iU', $this->return_remove_cpcss_script() . '', $buffer, 1 ); + } + + /** + * Returns JS script to remove the critical css style from frontend. + * + * @since 3.6 + * + * @return string + */ + protected function return_remove_cpcss_script() { + $filename = rocket_get_constant( 'SCRIPT_DEBUG' ) ? 'cpcss-removal.js' : 'cpcss-removal.min.js'; + $script = rocket_get_constant( 'WP_ROCKET_PATH' ) . "assets/js/{$filename}"; + + if ( ! is_readable( $script ) ) { + return ''; + } + + return sprintf( + '', + $this->filesystem->get_contents( $script ) + ); + } + + /** + * Adds wprRemoveCPCSS to excluded inline JS array. + * + * @since 3.6 + * + * @param array $excluded_inline Array of inline JS excluded from being combined. + * + * @return array + */ + public function exclude_inline_js( array $excluded_inline ) { + $excluded_inline[] = 'wprRemoveCPCSS'; + + return $excluded_inline; + } + + /** + * Defer loading of CSS files. + * + * @since 2.10 + * + * @param string $buffer HTML code. + * + * @return string Updated HTML code + */ + public function async_css( $buffer ) { + if ( ! $this->should_async_css() ) { + return $buffer; + } + + if ( + empty( $this->critical_css->get_current_page_critical_css() ) + && + empty( $this->options->get( 'critical_css', '' ) ) + ) { + return $buffer; + } + + $excluded_css = array_flip( $this->critical_css->get_exclude_async_css() ); + + /** + * Filters the pattern used to get all stylesheets in the HTML. + * + * @since 2.10 + * + * @param string $css_pattern Regex pattern to get all stylesheets in the HTML. + */ + $css_pattern = apply_filters( + 'rocket_async_css_regex_pattern', + '/(?=]*\s(rel\s*=\s*[\'"]stylesheet["\']))]*\shref\s*=\s*[\'"]([^\'"]+)[\'"](.*)>/iU' + ); + + // Remove comments from the buffer. + $clean_buffer = $this->hide_comments( $buffer ); + $clean_buffer = $this->hide_noscripts( $clean_buffer ); + + // Get all css files with this regex. + preg_match_all( $css_pattern, $clean_buffer, $tags_match ); + if ( ! isset( $tags_match[0] ) ) { + return $buffer; + } + + $noscripts = ''; + + return str_replace( '', $noscripts . '', $buffer ); + } + + /** + * Regenerates the CPCSS when switching theme if the option is active. + * + * @since 3.3 + */ + public function maybe_regenerate_cpcss() { + if ( ! $this->options->get( 'async_css' ) ) { + return; + } + + if ( ! $this->is_mobile_cpcss_active() ) { + $this->critical_css->process_handler( 'default', 'all' ); + return; + } + + $this->critical_css->process_handler( 'all' ); + } + + /** + * Checks if mobile CPCSS is active. + * + * @since 3.6 + * + * @return boolean CPCSS active or not. + */ + private function is_mobile_cpcss_active() { + return ( + $this->options->get( 'async_css', 0 ) + && + $this->options->get( 'cache_mobile', 0 ) + && + $this->options->get( 'do_caching_mobile_files', 0 ) + ) + && + $this->options->get( 'async_css_mobile', 0 ); + } + + /** + * Checks if we should async CSS + * + * @since 3.6.2.1 + * + * @return boolean + */ + private function should_async_css() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return false; + } + + return ! is_rocket_post_excluded_option( 'async_css' ); + } + + /** + * Stops the critical CSS generation. + * + * @since 3.10 + * + * @return void + */ + public function stop_critical_css_generation() { + + $this->critical_css->stop_generation(); + delete_transient( 'rocket_critical_css_generation_process_running' ); + delete_transient( 'rocket_critical_css_generation_process_complete' ); + } + + /** + * Display a notice to pass from CPCSS to RUCSS. + * + * @return void + */ + public function switch_to_rucss_notice() { + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + if ( ! $this->options->get( 'async_css', 0 ) ) { + return; + } + + if ( $this->user->is_license_expired() ) { + return; + } + + $screen = get_current_screen(); + + if ( isset( $screen->id ) && 'settings_page_wprocket' !== $screen->id ) { + return; + } + + /** + * Filters the status of the RUCSS option. + * + * @param array $should_disable will return array with disable status and text. + */ + $rucss_status = apply_filters( + 'rocket_disable_rucss_setting', + [ + 'disable' => false, + 'text' => '', + ] + ); + + if ( is_array( $rucss_status ) && key_exists( 'disable', $rucss_status ) && $rucss_status['disable'] ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'wpr-warning', + 'dismissible' => '', + 'dismiss_button' => __FUNCTION__, + 'message' => sprintf( + // translators: %1$ = opening bold tag, %2$ = closing bold tag. + __( 'We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up.', 'rocket' ), + '', + '' + ), + 'action' => 'switch_to_rucss', + 'dismiss_button_message' => __( 'Stay with the old option', 'rocket' ), + ] + ); + } + + /** + * Switch to RUCSS. + * + * @return void + */ + public function switch_to_rucss() { + check_admin_referer( 'rucss_switch' ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_safe_redirect( wp_get_referer() ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + return; // phpcs:ignore Squiz.PHP.NonExecutableCode.Unreachable + } + + $this->options->set( 'async_css', false ); + $this->options->set( 'remove_unused_css', true ); + $this->options_api->set( 'settings', $this->options->get_options() ); + + rocket_dismiss_box( 'switch_to_rucss_notice' ); + + wp_safe_redirect( wp_get_referer() ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } +} diff --git a/inc/Engine/CriticalPath/DataManager.php b/inc/Engine/CriticalPath/DataManager.php new file mode 100644 index 0000000..a53e098 --- /dev/null +++ b/inc/Engine/CriticalPath/DataManager.php @@ -0,0 +1,200 @@ +critical_css_path = $critical_css_path . get_current_blog_id() . DIRECTORY_SEPARATOR; + $this->filesystem = $filesystem; + } + + /** + * Save CPCSS into file. + * + * @since 3.6 + * + * @param string $path Path for cpcss file related to this web page. + * @param string $cpcss CPCSS code to be saved. + * @param string $url URL for item to be used in error messages. + * @param bool $is_mobile If this is cpcss for mobile or not. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return bool|WP_Error + */ + public function save_cpcss( $path, $cpcss, $url, $is_mobile = false, $item_type = 'custom' ) { + $file_path_directory = dirname( $this->critical_css_path . $path ); + + if ( ! $this->filesystem->is_dir( $file_path_directory ) ) { + if ( ! rocket_mkdir_p( $file_path_directory ) ) { + + return new WP_Error( + 'cpcss_generation_failed', + // translators: %s = item URL. + sprintf( + $is_mobile + ? + // translators: %s = item URL. + __( 'Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created.', 'rocket' ) + : + // translators: %s = item URL. + __( 'Critical CSS for %1$s not generated. Error: The destination folder could not be created.', 'rocket' ), + ( 'custom' === $item_type ) ? $url : $item_type + ), + [ + 'status' => 400, + ] + ); + + } + } + + $cpcss = $this->apply_font_display_swap( $cpcss ); + + return rocket_put_content( + $this->critical_css_path . $path, + wp_strip_all_tags( $cpcss, true ) + ); + } + + /** + * Delete critical css file by path. + * + * @param string $path Critical css file path to be deleted. + * @param bool $is_mobile If this is cpcss for mobile or not. + * + * @return bool|WP_Error + */ + public function delete_cpcss( $path, $is_mobile = false ) { + $full_path = $this->critical_css_path . $path; + + if ( ! $this->filesystem->exists( $full_path ) ) { + return new WP_Error( + 'cpcss_not_exists', + $is_mobile + ? + __( 'Critical CSS file for mobile does not exist', 'rocket' ) + : + __( 'Critical CSS file does not exist', 'rocket' ), + [ + 'status' => 400, + ] + ); + } + + if ( ! $this->filesystem->delete( $full_path ) ) { + return new WP_Error( + 'cpcss_deleted_failed', + $is_mobile + ? + __( 'Critical CSS file for mobile cannot be deleted', 'rocket' ) + : + __( 'Critical CSS file cannot be deleted', 'rocket' ), + [ + 'status' => 400, + ] + ); + } + + return true; + } + + /** + * Get job_id from cache based on item_url. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return mixed + */ + public function get_cache_job_id( $item_url, $is_mobile = false ) { + $cache_key = $this->get_cache_key_from_url( $item_url, $is_mobile ); + + return get_transient( $cache_key ); + } + + /** + * Set Job_id for Item_url into cache. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param string $job_id ID for the job to get details. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return bool + */ + public function set_cache_job_id( $item_url, $job_id, $is_mobile = false ) { + $cache_key = $this->get_cache_key_from_url( $item_url, $is_mobile ); + + return set_transient( $cache_key, $job_id, HOUR_IN_SECONDS ); + } + + /** + * Delete job_id from cache based on item_url. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return bool + */ + public function delete_cache_job_id( $item_url, $is_mobile = false ) { + $cache_key = $this->get_cache_key_from_url( $item_url, $is_mobile ); + + return delete_transient( $cache_key ); + } + + /** + * Get cache key from url to be used in caching job_id. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return string + */ + private function get_cache_key_from_url( $item_url, $is_mobile = false ) { + $encoded_url = md5( $item_url ); + + if ( $is_mobile ) { + $encoded_url .= '_mobile'; + } + + return 'rocket_specific_cpcss_job_' . $encoded_url; + } +} diff --git a/inc/Engine/CriticalPath/ProcessorService.php b/inc/Engine/CriticalPath/ProcessorService.php new file mode 100644 index 0000000..175a823 --- /dev/null +++ b/inc/Engine/CriticalPath/ProcessorService.php @@ -0,0 +1,338 @@ +data_manager = $data_manager; + $this->api_client = $api_client; + } + + /** + * Process CPCSS generation, Check timeout and send the generation request. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param string $item_path Path for item to be processed. + * @param array $additional_parameters additional parameters for generation. + * + * @return array|WP_Error + */ + public function process_generate( $item_url, $item_path, $additional_parameters = [] ) { + $defaults = [ + 'timeout' => false, + 'is_mobile' => false, + 'item_type' => 'custom', + ]; + $args = array_merge( $defaults, $additional_parameters ); + + // Ajax call requested a timeout. + if ( $args['timeout'] ) { + return $this->process_timeout( $item_url, $args['is_mobile'], $args['item_type'] ); + } + + $cpcss_job_id = $this->data_manager->get_cache_job_id( $item_url, $args['is_mobile'] ); + if ( false === $cpcss_job_id ) { + return $this->send_generation_request( $item_url, $item_path, $args['is_mobile'], $args['item_type'] ); + } + + // job_id is found and we need to check status for it. + return $this->check_cpcss_job_status( $cpcss_job_id, $item_path, $item_url, $args['is_mobile'], $args['item_type'] ); + } + + /** + * Send Generation first request. + * + * @since 3.6 + * + * @param string $item_url Url for item to send the generation request for. + * @param string $item_path Path for item to send the generation request for. + * @param bool $is_mobile If this request is for mobile cpcss. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array + */ + private function send_generation_request( $item_url, $item_path, $is_mobile = false, $item_type = 'custom' ) { + // call send generation request from APIClient for the first time. + $params = [ + 'mobile' => (int) $is_mobile, + 'nofontface' => false, + ]; + $generated_job = $this->api_client->send_generation_request( $item_url, $params, $item_type ); + + // validate generate response. + if ( is_wp_error( $generated_job ) ) { + // Failed so return back the data. + return $generated_job; + } + + // Send generation request succeeded. + // Save job_id into cache. + $this->data_manager->set_cache_job_id( $item_url, $generated_job->data->id, $is_mobile ); + + return $this->check_cpcss_job_status( $generated_job->data->id, $item_path, $item_url, $is_mobile, $item_type ); + } + + /** + * Get job details by job_id. + * + * @since 3.6 + * + * @param string $job_id ID for the job to get details. + * @param string $item_url URL for item to be used in error messages. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array|mixed|WP_Error + */ + private function get_cpcss_job_details( $job_id, $item_url, $item_type = 'custom' ) { + $job_details = $this->api_client->get_job_details( $job_id, $item_url, $item_type ); + + if ( is_wp_error( $job_details ) ) { + return $job_details; + } + + return $job_details; + } + + /** + * Check status and process the output for a job. + * + * @since 3.6 + * + * @param string $job_id ID for the job to get details. + * @param string $item_path Path for this item to be validated. + * @param string $item_url URL for item to be used in error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array|WP_Error Response in case of success, failure or pending. + */ + private function check_cpcss_job_status( $job_id, $item_path, $item_url, $is_mobile = false, $item_type = 'custom' ) { + $job_details = $this->api_client->get_job_details( $job_id, $item_url, $is_mobile, $item_type ); + + if ( is_wp_error( $job_details ) ) { + $this->data_manager->delete_cache_job_id( $item_url, $is_mobile ); + + return $job_details; + } + + if ( 200 !== $job_details->status ) { + // On job error. + return $this->on_job_error( $job_details, $item_url, $is_mobile, $item_type ); + } + + // On job status 200. + $job_state = $job_details->data->state; + + // For pending job status. + if ( isset( $job_state ) && 'complete' !== $job_state ) { + return $this->on_job_pending( $item_url, $item_type ); + } + + // For successful job status. + if ( + isset( $job_state, $job_details->data->critical_path ) + && + 'complete' === $job_state + ) { + return $this->on_job_success( $item_path, $item_url, $job_details->data->critical_path, $is_mobile, $item_type ); + } + } + + /** + * Process logic for job error. + * + * @since 3.6 + * + * @param array $job_details Job details array. + * @param string $item_url Url for web page to be processed, used for error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return WP_Error + */ + private function on_job_error( $job_details, $item_url, $is_mobile = false, $item_type = 'custom' ) { + $this->data_manager->delete_cache_job_id( $item_url, $is_mobile ); + + if ( $is_mobile ) { + + $error = sprintf( + // translators: %1$s = item URL or item type. + __( 'Mobile Critical CSS for %1$s not generated.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ); + } else { + + $error = sprintf( + // translators: %1$s = item URL or item type. + __( 'Critical CSS for %1$s not generated.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ); + } + + if ( isset( $job_details->message ) ) { + // translators: %1$s = error message. + $error .= ' ' . sprintf( __( 'Error: %1$s', 'rocket' ), $job_details->message ); + } + + return new WP_Error( + 'cpcss_generation_failed', + $error, + [ + 'status' => 400, + ] + ); + } + + /** + * Process logic for job pending status. + * + * @since 3.6 + * + * @param string $item_url Url for web page to be processed, used for error messages. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array + */ + private function on_job_pending( $item_url, $item_type = 'custom' ) { + return [ + 'code' => 'cpcss_generation_pending', + 'message' => sprintf( + // translators: %1$s = Item URL or item type. + __( 'Critical CSS for %s in progress.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ), + ]; + } + + /** + * Process logic for job success status. + * + * @since 3.6 + * + * @param string $item_path Item Path for web page to be processed. + * @param string $item_url Item Url for web page to be processed. + * @param string $cpcss_code CPCSS Code to be saved. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * + * @return array|WP_Error + */ + private function on_job_success( $item_path, $item_url, $cpcss_code, $is_mobile = false, $item_type = 'custom' ) { + // delete cache job_id for this item. + $this->data_manager->delete_cache_job_id( $item_url, $is_mobile ); + + // save the generated CPCSS code into file. + $saved = $this->data_manager->save_cpcss( $item_path, $cpcss_code, $item_url, $is_mobile, $item_type ); + if ( is_wp_error( $saved ) ) { + return $saved; + } + + if ( $is_mobile ) { + return [ + 'code' => 'cpcss_generation_successful', + 'message' => sprintf( + // translators: %1$s = Item URL or item type. + __( 'Mobile Critical CSS for %s generated.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ), + ]; + } + + // Send the current status of job. + return [ + 'code' => 'cpcss_generation_successful', + 'message' => sprintf( + // translators: %1$s = Item URL or item type. + __( 'Critical CSS for %s generated.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ), + ]; + } + + /** + * Process the login for CPCSS deletion. + * + * @param string $item_path Path for item to delete CPCSS code. + * + * @return array|WP_Error + */ + public function process_delete( $item_path ) { + $deleted = $this->data_manager->delete_cpcss( $item_path ); + + if ( is_wp_error( $deleted ) ) { + return $deleted; + } + + return [ + 'code' => 'success', + 'message' => __( 'Critical CSS file deleted successfully.', 'rocket' ), + ]; + } + + /** + * Process timeout action for CPCSS generation. + * + * @since 3.6 + * + * @param string $item_url URL for item to be used in error messages. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * @param string $item_type Optional. Type for this item if it's custom or specific type. Default: custom. + * @return WP_Error + */ + private function process_timeout( $item_url, $is_mobile = false, $item_type = 'custom' ) { + $this->data_manager->delete_cache_job_id( $item_url, $is_mobile ); + + if ( $is_mobile ) { + return new WP_Error( + 'cpcss_generation_timeout', + sprintf( + // translators: %1$s = Item URL or item type. + __( 'Mobile Critical CSS for %1$s timeout. Please retry a little later.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ), + [ + 'status' => 400, + ] + ); + } + + return new WP_Error( + 'cpcss_generation_timeout', + sprintf( + // translators: %1$s = Item URL or item type. + __( 'Critical CSS for %1$s timeout. Please retry a little later.', 'rocket' ), + ( 'custom' === $item_type ) ? $item_url : $item_type + ), + [ + 'status' => 400, + ] + ); + } +} diff --git a/inc/Engine/CriticalPath/RESTCSSSubscriber.php b/inc/Engine/CriticalPath/RESTCSSSubscriber.php new file mode 100644 index 0000000..cd5ba9b --- /dev/null +++ b/inc/Engine/CriticalPath/RESTCSSSubscriber.php @@ -0,0 +1,54 @@ +rest_manager = $rest_manager; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.6 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rest_api_init' => [ 'register_routes' ], + ]; + } + + /** + * Registers generate/delete routes in the API. + * + * @since 3.6 + * + * @return void + */ + public function register_routes() { + $this->rest_manager->register_generate_route(); + $this->rest_manager->register_delete_route(); + } +} diff --git a/inc/Engine/CriticalPath/RESTWP.php b/inc/Engine/CriticalPath/RESTWP.php new file mode 100644 index 0000000..a5696c1 --- /dev/null +++ b/inc/Engine/CriticalPath/RESTWP.php @@ -0,0 +1,320 @@ +cpcss_service = $cpcss_service; + $this->options = $options; + } + + /** + * Registers the generate route in the WP REST API + * + * @since 3.6 + * + * @return void + */ + public function register_generate_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'cpcss/' . $this->route_namespace . '/(?P[\d]+)', + [ + 'methods' => 'POST', + 'callback' => [ $this, 'generate' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + } + + /** + * Register Delete CPCSS route in the WP REST API. + * + * @since 3.6 + */ + public function register_delete_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'cpcss/' . $this->route_namespace . '/(?P[\d]+)', + [ + 'methods' => 'DELETE', + 'callback' => [ $this, 'delete' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + } + + /** + * Checks user's permissions. This is a callback registered to REST route's "permission_callback" parameter. + * + * @since 3.6 + * + * @return bool true if the user has permission; else false. + */ + public function check_permissions() { + return current_user_can( 'rocket_regenerate_critical_css' ); + } + + /** + * Clean post cache files on CPCSS generation or deletion. + * + * @since 3.6.1 + * + * @param int $item_id ID for this item to get Url for. + */ + private function clean_post_cache( $item_id ) { + rocket_clean_files( $this->get_url( $item_id ) ); + } + + /** + * Generates the CPCSS for the requested post ID. + * + * @since 3.6 + * + * @param WP_REST_Request $request WP REST request response. + * + * @return WP_REST_Response + */ + public function generate( WP_REST_Request $request ) { + $item_id = (int) $request->get_param( 'id' ); + $is_mobile = (bool) $request->get_param( 'is_mobile' ); + + // Bailout in case mobile CPCSS generation is called but this option is disabled. + if ( + $is_mobile + && + ( + ! $this->options->get( 'async_css_mobile', 0 ) + || + ! $this->options->get( 'do_caching_mobile_files', 0 ) + ) + ) { + return rest_ensure_response( + $this->return_error( + new WP_Error( + 'mobile_cpcss_not_enabled', + __( 'Mobile CPCSS generation not enabled.', 'rocket' ), + [ + 'status' => 400, + ] + ) + ) + ); + } + + // validate item. + $validated = $this->validate_item_for_generate( $item_id ); + if ( is_wp_error( $validated ) ) { + return rest_ensure_response( $this->return_error( $validated ) ); + } + + // get item url. + $item_url = $this->get_url( $item_id ); + $timeout = ( isset( $request['timeout'] ) && ! empty( $request['timeout'] ) ); + $item_path = $this->get_path( $item_id, $is_mobile ); + + $additional_params = [ + 'timeout' => $timeout, + 'is_mobile' => $is_mobile, + 'item_type' => 'custom', + ]; + $generated = $this->cpcss_service->process_generate( $item_url, $item_path, $additional_params ); + + if ( is_wp_error( $generated ) ) { + return rest_ensure_response( + $this->return_error( $generated ) + ); + } + + $this->clean_post_cache( $item_id ); + + return rest_ensure_response( + $this->return_success( $generated ) + ); + } + + /** + * Validate the item to be sent to generate CPCSS. + * + * @since 3.6 + * + * @param int $item_id ID for this item to be validated. + * + * @return true|WP_Error + */ + abstract protected function validate_item_for_generate( $item_id ); + + /** + * Validate the item to be sent to Delete CPCSS. + * + * @since 3.6 + * + * @param int $item_id ID for this item to be validated. + * + * @return true|WP_Error + */ + abstract protected function validate_item_for_delete( $item_id ); + + /** + * Get url for this item. + * + * @since 3.6 + * + * @param int $item_id ID for this item to get Url for. + * + * @return false|string + */ + abstract protected function get_url( $item_id ); + + /** + * Get CPCSS file path to save CPCSS code into. + * + * @since 3.6 + * + * @param int $item_id ID for this item to get the path for. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return string + */ + abstract protected function get_path( $item_id, $is_mobile = false ); + + /** + * Delete Post ID CPCSS file. + * + * @since 3.6 + * + * @param WP_REST_Request $request the WP Rest Request object. + * + * @return WP_REST_Response + */ + public function delete( WP_REST_Request $request ) { + $item_id = (int) $request->get_param( 'id' ); + + // validate item. + $validated = $this->validate_item_for_delete( $item_id ); + if ( is_wp_error( $validated ) ) { + return rest_ensure_response( $this->return_error( $validated ) ); + } + + if ( $this->options->get( 'async_css_mobile', 0 ) ) { + $mobile_item_path = $this->get_path( $item_id, true ); + $this->cpcss_service->process_delete( $mobile_item_path ); + } + + $item_path = $this->get_path( $item_id ); + $deleted = $this->cpcss_service->process_delete( $item_path ); + if ( is_wp_error( $deleted ) ) { + return rest_ensure_response( $this->return_error( $deleted ) ); + } + + $this->clean_post_cache( $item_id ); + + return rest_ensure_response( $this->return_success( $deleted ) ); + } + + /** + * Returns the formatted array response + * + * @since 3.6 + * + * @param bool $success True for success, false otherwise. + * @param string $code The code to use for the response. + * @param string $message The message to send in the response. + * @param int $status The status code to send for the response. + * + * @return array + */ + protected function return_array_response( $success = false, $code = '', $message = '', $status = 200 ) { + return [ + 'success' => $success, + 'code' => $code, + 'message' => $message, + 'data' => [ + 'status' => $status, + ], + ]; + } + + /** + * Convert WP_Error into array to be used in response. + * + * @since 3.6 + * + * @param WP_Error $error Error that will be converted to array. + * + * @return array + */ + protected function return_error( $error ) { + $error_data = $error->get_error_data(); + + return $this->return_array_response( + false, + $error->get_error_code(), + $error->get_error_message(), + isset( $error_data['status'] ) ? $error_data['status'] : 400 + ); + } + + /** + * Return success to be used in response. + * + * @since 3.6 + * + * @param array $data which has success parameters with two keys: code and message. + * + * @return array + */ + protected function return_success( $data ) { + return $this->return_array_response( + true, + $data['code'], + $data['message'], + 200 + ); + } +} diff --git a/inc/Engine/CriticalPath/RESTWPInterface.php b/inc/Engine/CriticalPath/RESTWPInterface.php new file mode 100644 index 0000000..ce125ad --- /dev/null +++ b/inc/Engine/CriticalPath/RESTWPInterface.php @@ -0,0 +1,57 @@ + 400, + ] + ); + } + + if ( 'publish' !== $status ) { + return new WP_Error( + 'post_not_published', + __( 'Cannot generate CPCSS for unpublished post.', 'rocket' ), + [ + 'status' => 400, + ] + ); + } + + return true; + } + + /** + * Validate the item to be sent to delete CPCSS. + * + * @since 3.6 + * + * @param int $post_id ID for this post to be validated. + * + * @return true|WP_Error + */ + protected function validate_item_for_delete( $post_id ) { + if ( empty( get_permalink( $post_id ) ) ) { + return new WP_Error( + 'post_not_exists', + __( 'Requested post does not exist.', 'rocket' ), + [ + 'status' => 400, + ] + ); + } + + return true; + } + + + /** + * Get url for this item. + * + * @since 3.6 + * + * @param int $post_id ID for this post to be validated. + * + * @return false|string + */ + protected function get_url( $post_id ) { + return get_permalink( $post_id ); + } + + /** + * Get CPCSS file path to save CPCSS code into. + * + * @since 3.6 + * + * @param int $post_id ID for this post to be validated. + * @param bool $is_mobile Bool identifier for is_mobile CPCSS generation. + * + * @return string + */ + protected function get_path( $post_id, $is_mobile = false ) { + $post_type = get_post_type( $post_id ); + + return 'posts' . DIRECTORY_SEPARATOR . "{$post_type}-{$post_id}" . ( $is_mobile ? '-mobile' : '' ) . '.css'; + } +} diff --git a/inc/Engine/CriticalPath/ServiceProvider.php b/inc/Engine/CriticalPath/ServiceProvider.php new file mode 100644 index 0000000..83696dc --- /dev/null +++ b/inc/Engine/CriticalPath/ServiceProvider.php @@ -0,0 +1,110 @@ +getContainer()->get( 'options' ); + $beacon = $this->getContainer()->get( 'beacon' ); + $template_path = $this->getContainer()->get( 'template_path' ) . '/cpcss'; + + $this->getContainer()->share( 'cpcss_api_client', APIClient::class ); + $this->getContainer()->share( 'cpcss_data_manager', DataManager::class ) + ->addArgument( $critical_css_path ) + ->addArgument( $filesystem ); + $this->getContainer()->share( 'cpcss_service', ProcessorService::class ) + ->addArgument( $this->getContainer()->get( 'cpcss_data_manager' ) ) + ->addArgument( $this->getContainer()->get( 'cpcss_api_client' ) ); + + $processor_service = $this->getContainer()->get( 'cpcss_service' ); + + // REST CPCSS START. + $this->getContainer()->share( 'rest_cpcss_wp_post', RESTWPPost::class ) + ->addArgument( $processor_service ) + ->addArgument( $options ); + $this->getContainer()->share( 'rest_cpcss_subscriber', RESTCSSSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'rest_cpcss_wp_post' ) ) + ->addTag( 'common_subscriber' ); + // REST CPCSS END. + + $this->getContainer()->add( 'critical_css_generation', CriticalCSSGeneration::class ) + ->addArgument( $processor_service ); + $this->getContainer()->add( 'critical_css', CriticalCSS::class ) + ->addArgument( $this->getContainer()->get( 'critical_css_generation' ) ) + ->addArgument( $options ) + ->addArgument( $filesystem ); + + $critical_css = $this->getContainer()->get( 'critical_css' ); + + $this->getContainer()->share( 'critical_css_subscriber', CriticalCSSSubscriber::class ) + ->addArgument( $critical_css ) + ->addArgument( $processor_service ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'user' ) ) + ->addArgument( $filesystem ) + ->addTag( 'common_subscriber' ); + + $this->getContainer()->add( 'cpcss_post', Post::class ) + ->addArgument( $options ) + ->addArgument( $beacon ) + ->addArgument( $critical_css_path ) + ->addArgument( $template_path ); + $this->getContainer()->add( 'cpcss_settings', Settings::class ) + ->addArgument( $options ) + ->addArgument( $beacon ) + ->addArgument( $critical_css ) + ->addArgument( $template_path ); + $this->getContainer()->add( 'cpcss_admin', Admin::class ) + ->addArgument( $options ) + ->addArgument( $processor_service ); + $this->getContainer()->share( 'critical_css_admin_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'cpcss_post' ) ) + ->addArgument( $this->getContainer()->get( 'cpcss_settings' ) ) + ->addArgument( $this->getContainer()->get( 'cpcss_admin' ) ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/CriticalPath/TransientTrait.php b/inc/Engine/CriticalPath/TransientTrait.php new file mode 100644 index 0000000..1709164 --- /dev/null +++ b/inc/Engine/CriticalPath/TransientTrait.php @@ -0,0 +1,25 @@ +add( 'options_api', new Options( 'wp_rocket_' ) ); + $container->add( 'template_path', WP_ROCKET_PATH . 'views' ); + + $container->addServiceProvider( OptionsServiceProvider::class ); + $container->addServiceProvider( BeaconServiceProvider::class ); + $container->addServiceProvider( SupportServiceProvider::class ); + + $container->addServiceProvider( 'WP_Rocket\Engine\Deactivation\ServiceProvider' ); + $container->addServiceProvider( 'WP_Rocket\ThirdParty\Hostings\ServiceProvider' ); + + $host_type = HostResolver::get_host_service(); + + if ( ! empty( $host_type ) ) { + array_unshift( self::$deactivators, $host_type ); + } + + foreach ( self::$deactivators as $deactivator ) { + $container->get( $deactivator ); + } + + if ( ! isset( $_GET['rocket_nonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['rocket_nonce'] ), 'force_deactivation' ) ) { + $causes = []; + + // .htaccess problem. + if ( $is_apache && ! rocket_direct_filesystem()->is_writable( get_home_path() . '.htaccess' ) ) { + $causes[] = 'htaccess'; + } + + /** + * Filters the causes which can prevent the deactivation of the plugin + * + * @since 3.6.3 + * + * @param array $causes An array of causes to pass to the notice. + */ + $causes = (array) apply_filters( 'rocket_prevent_deactivation', $causes ); + + if ( count( $causes ) ) { + set_transient( get_current_user_id() . '_donotdeactivaterocket', $causes ); + wp_safe_redirect( wp_get_referer() ); + die(); + } + } + + // Delete config files. + rocket_delete_config_file(); + + $sites_number = count( _rocket_get_php_files_in_dir( rocket_get_constant( 'WP_ROCKET_CONFIG_PATH' ) ) ); + + if ( ! $sites_number ) { + // Delete All WP Rocket rules of the .htaccess file. + flush_rocket_htaccess( true ); + } + + // Update customer key & licence. + wp_remote_get( + WP_ROCKET_WEB_API . 'pause-licence.php', + [ + 'blocking' => false, + ] + ); + + // Delete transients. + delete_transient( 'rocket_check_licence_30' ); + delete_transient( 'rocket_check_licence_1' ); + delete_transient( 'rocket_rucss_as_tables_count' ); + delete_site_transient( 'update_wprocket_response' ); + delete_site_transient( 'wp_rocket_update_data' ); + + // Delete user metadata. + rocket_renew_box( 'preload_notice' ); + + // Unschedule WP Cron events. + wp_clear_scheduled_hook( 'rocket_cache_dir_size_check' ); + + /** + * WP Rocket deactivation. + * + * @since 3.6.3 add $sites_count parameter. + * @since 3.1.5 + * + * @param int $sites_number Number of WP Rocket config files found. + */ + do_action( 'rocket_deactivation', $sites_number ); + } +} diff --git a/inc/Engine/Deactivation/DeactivationInterface.php b/inc/Engine/Deactivation/DeactivationInterface.php new file mode 100644 index 0000000..1962df6 --- /dev/null +++ b/inc/Engine/Deactivation/DeactivationInterface.php @@ -0,0 +1,12 @@ +getContainer() + ->inflector( DeactivationInterface::class ) + ->invokeMethod( 'deactivate', [] ); + } + + /** + * Registers the option array in the container. + */ + public function register() { + $filesystem = rocket_direct_filesystem(); + + $this->getContainer()->add( 'cloudflare_plugin_facade', CloudflareFacade::class ); + $this->getContainer() + ->share( 'cloudflare_plugin_subscriber', Cloudflare::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( $this->getContainer()->get( 'cloudflare_plugin_facade' ) ) + ->addTag( 'common_subscriber' ); + + $this->getContainer()->add( 'advanced_cache', AdvancedCache::class ) + ->addArgument( $this->getContainer()->get( 'template_path' ) . '/cache/' ) + ->addArgument( $filesystem ); + $this->getContainer()->add( 'capabilities_manager', Manager::class ); + $this->getContainer()->add( 'wp_cache', WPCache::class ) + ->addArgument( $filesystem ); + } +} diff --git a/inc/Engine/HealthCheck/ActionSchedulerCheck.php b/inc/Engine/HealthCheck/ActionSchedulerCheck.php new file mode 100644 index 0000000..bb9f55f --- /dev/null +++ b/inc/Engine/HealthCheck/ActionSchedulerCheck.php @@ -0,0 +1,153 @@ + [ 'check_on_update_options', 10, 2 ], + 'wp_rocket_update' => 'maybe_recreate_as_tables', + ]; + } + + /** + * Actions to perform on plugin activation + * + * @return void + */ + public function activate() { + add_action( 'rocket_activation', [ $this, 'maybe_recreate_as_tables' ] ); + } + + /** + * Maybe recreate Action Scheduler tables if they are missing + * + * @return bool + */ + public function maybe_recreate_as_tables(): bool { + if ( ! $this->is_valid_action_scheduler_version() ) { + return false; + } + + if ( $this->is_valid_as_tables() ) { + return false; + } + + $store_schema = new ActionScheduler_StoreSchema(); + $logger_schema = new ActionScheduler_LoggerSchema(); + $store_schema->register_tables( true ); + $logger_schema->register_tables( true ); + + return true; + } + + /** + * Maybe recreate tables on preload or RUCSS activation + * + * @param mixed $old_value The old option value. + * @param mixed $value The new option value. + * + * @return bool + */ + public function check_on_update_options( $old_value, $value ): bool { + if ( ! isset( $old_value['remove_unused_css'], $value['remove_unused_css'], $old_value['manual_preload'], $value['manual_preload'] ) ) { + return false; + } + + if ( + $old_value['remove_unused_css'] === $value['remove_unused_css'] + && + $old_value['manual_preload'] === $value['manual_preload'] + ) { + return false; + } + + if ( + 0 === (int) $value['remove_unused_css'] + && + 0 === (int) $value['manual_preload'] + ) { + return false; + } + + if ( + ( + $old_value['remove_unused_css'] !== $value['remove_unused_css'] + && + 1 !== (int) $value['remove_unused_css'] + ) + || + ( + $old_value['manual_preload'] !== $value['manual_preload'] + && + 1 !== (int) $value['manual_preload'] + ) + ) { + return false; + } + + return $this->maybe_recreate_as_tables(); + } + + /** + * Check if Action Scheduler tables exists + * + * @return bool + */ + private function is_valid_as_tables(): bool { + $cached_count = get_transient( 'rocket_rucss_as_tables_count' ); + + if ( + false !== $cached_count + && + ! is_admin() + ) { // Stop caching in admin UI. + return 4 === (int) $cached_count; + } + + global $wpdb; + + $exp = "'^" . $wpdb->prefix . "actionscheduler_(logs|actions|groups|claims)$'"; + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + $found_as_tables = $wpdb->get_col( + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + $wpdb->prepare( 'SHOW TABLES FROM `' . DB_NAME . '` WHERE `Tables_in_' . DB_NAME . '` LIKE %s AND `Tables_in_' . DB_NAME . '` REGEXP ' . $exp, '%actionscheduler%' ) + ); + + set_transient( 'rocket_rucss_as_tables_count', count( $found_as_tables ), rocket_get_constant( 'DAY_IN_SECONDS', 24 * 60 * 60 ) ); + + return 4 === count( $found_as_tables ); + } + + /** + * Validate if the currenlt loaded action scheduler's version is more than 3.0.0. + * Note: Latest_version method in ActionScheduler_Versions class will return false with first activation + * in case we don't have any other active plugin which loads Action Scheduler. + * Because with activation, our Action Scheduler still not initialized yet. + * + * @return bool + */ + private function is_valid_action_scheduler_version() { + if ( ! class_exists( 'ActionScheduler_Versions' ) || ! class_exists( 'ActionScheduler' ) ) { + return false; + } + + $version = ActionScheduler_Versions::instance()->latest_version(); + return ! $version || version_compare( $version, '3.0.0', '>=' ); + } +} diff --git a/inc/Engine/HealthCheck/HealthCheck.php b/inc/Engine/HealthCheck/HealthCheck.php new file mode 100644 index 0000000..3f3a7ea --- /dev/null +++ b/inc/Engine/HealthCheck/HealthCheck.php @@ -0,0 +1,149 @@ +options = $options; + $this->events = $this->get_events(); + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_notices' => 'missed_cron', + ]; + } + + /** + * Display a warning notice if WP Rocket scheduled events are not running properly. + * + * @since 3.5.4 + */ + public function missed_cron() { + if ( ! $this->should_check() ) { + return; + } + + $delay = rocket_get_constant( 'DISABLE_WP_CRON' ) ? HOUR_IN_SECONDS : 5 * MINUTE_IN_SECONDS; + $list = ''; + $events = $this->events; + + foreach ( $this->events as $event => $description ) { + $timestamp = wp_next_scheduled( $event ); + + if ( + false === $timestamp + || + ( $timestamp + $delay - time() ) > 0 + ) { + unset( $events[ $event ] ); + continue; + } + + $list .= "
  • {$description}
  • "; + } + + if ( empty( $events ) ) { + return; + } + + $message = sprintf( + '

    %1$s

    +
      %2$s
    +

    %3$s

    ', + _n( + 'The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:', + 'The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:', + count( $events ), + 'rocket' + ), + $list, + __( 'Please contact your host to check if CRON is working.', 'rocket' ) + ); + + rocket_notice_html( + [ + 'status' => 'warning', + 'dismissible' => '', + 'message' => $message, + 'dismiss_button' => 'rocket_warning_cron', + ] + ); + } + + /** + * Checks if health check should run. + * + * @since 3.5.4 + * + * @return bool true when should do health check; else, false. + */ + protected function should_check() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return false; + } + + if ( 'settings_page_wprocket' !== get_current_screen()->id ) { + return false; + } + + $dismissed = (array) get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + if ( in_array( 'rocket_warning_cron', $dismissed, true ) ) { + return false; + } + + return ! ( + 0 === (int) $this->options->get( 'purge_cron_interval', 0 ) + && + 0 === (int) $this->options->get( 'async_css', 0 ) + && + 0 === (int) $this->options->get( 'manual_preload', 0 ) + && + 0 === (int) $this->options->get( 'schedule_automatic_cleanup', 0 ) + ); + } + + /** + * Gets an array of events with their descriptions. + * + * @since 3.5.4 + * + * @return array array of events => descriptions. + */ + protected function get_events() { + return [ + 'rocket_purge_time_event' => __( 'Scheduled Cache Purge', 'rocket' ), + 'rocket_database_optimization_time_event' => __( 'Scheduled Database Optimization', 'rocket' ), + 'rocket_database_optimization_cron_interval' => __( 'Database Optimization Process', 'rocket' ), + 'rocket_preload_cron_interval' => _x( 'Preload', 'noun', 'rocket' ), + 'rocket_critical_css_generation_cron_interval' => __( 'Critical Path CSS Generation Process', 'rocket' ), + ]; + } +} diff --git a/inc/Engine/HealthCheck/ServiceProvider.php b/inc/Engine/HealthCheck/ServiceProvider.php new file mode 100644 index 0000000..c94fb46 --- /dev/null +++ b/inc/Engine/HealthCheck/ServiceProvider.php @@ -0,0 +1,39 @@ +getContainer()->share( 'health_check', HealthCheck::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'action_scheduler_check', ActionSchedulerCheck::class ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Engine/Heartbeat/HeartbeatSubscriber.php b/inc/Engine/Heartbeat/HeartbeatSubscriber.php new file mode 100644 index 0000000..76e018d --- /dev/null +++ b/inc/Engine/Heartbeat/HeartbeatSubscriber.php @@ -0,0 +1,166 @@ +options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.2 + * @access public + * + * @return array + */ + public static function get_subscribed_events() { + $priority = PHP_INT_MAX - 60; + return [ + 'admin_enqueue_scripts' => [ 'maybe_disable', $priority ], + 'wp_enqueue_scripts' => [ 'maybe_disable', $priority ], + 'heartbeat_settings' => [ 'maybe_modify_period', $priority ], + ]; + } + + /** + * Maybe disable Heartbeat. + * + * @since 3.2 + * @access public + */ + public function maybe_disable() { + if ( ! $this->behavior_match_context( 'disable' ) || rocket_bypass() ) { + return; + } + + wp_deregister_script( 'heartbeat' ); + + /** + * Enqueue an empty heartbeat script to prevent query monitor error + * Added to the footer + */ + wp_enqueue_script( 'heartbeat', WP_ROCKET_ASSETS_JS_URL . 'heartbeat.js', null, WP_ROCKET_VERSION, true ); + } + + /** + * Maybe modify Heartbeat periodicity. + * + * @since 3.2 + * @access public + * + * @param array $settings The Heartbeat settings. + * + * @return array + */ + public function maybe_modify_period( $settings ) { + if ( ! $this->behavior_match_context( 'reduce_periodicity' ) ) { + return $settings; + } + + $settings['interval'] = 120; + $settings['minimalInterval'] = 120; + + return $settings; + } + + /** + * Tell if we're in frontend, backend, or a post edition page. + * + * @since 3.2 + * @access private + * + * @return string Either 'site' (frontend), 'admin' (backend), or 'editor'. + */ + private function get_current_context() { + $request_uri = ! empty( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized + $request_uri = explode( '?', $request_uri, 2 ); + $request_uri = reset( $request_uri ); + + if ( $request_uri && preg_match( '@/wp-admin/post(-new)?\.php$@', $request_uri ) ) { + $context = 'editor'; + } elseif ( is_admin() ) { + $context = 'admin'; + + if ( wp_doing_ajax() && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + if ( 'wp-remove-post-lock' === sanitize_key( wp_unslash( $_POST['action'] ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + $context = 'editor'; + } elseif ( ! empty( $_POST['screen_id'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + switch ( $_POST['screen_id'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + case 'post': + $context = 'editor'; + break; + case 'front': + $context = 'site'; + } + } + } + } else { + $context = 'site'; + } + + /** + * Filter the current context. + * This can be useful for ajax requests or requests to admin-post.php, as there is no easy way to tell where those requests come from. + * + * @since 3.2 + * + * @param $context string Either 'site' (frontend), 'admin' (backend), or 'editor'. + */ + $filtered_context = apply_filters( 'rocket_heartbeat_context', $context ); + + $contexts = [ + 'editor' => 1, + 'admin' => 1, + 'site' => 1, + ]; + + return isset( $contexts[ $filtered_context ] ) ? $filtered_context : $context; + } + + /** + * Tell if the given behavior is what is set in the addon settings, accordingly to the current context. + * + * @since 3.2 + * @access private + * + * @param string $behavior Either '', 'disable', or 'reduce_periodicity'. + * + * @return bool + */ + private function behavior_match_context( $behavior ) { + if ( ! $this->options->get( 'control_heartbeat', 0 ) ) { + return false; + } + + $context = $this->get_current_context(); + + return $behavior === $this->options->get( 'heartbeat_' . $context . '_behavior', '' ); + } +} diff --git a/inc/Engine/Heartbeat/ServiceProvider.php b/inc/Engine/Heartbeat/ServiceProvider.php new file mode 100644 index 0000000..4d59d9c --- /dev/null +++ b/inc/Engine/Heartbeat/ServiceProvider.php @@ -0,0 +1,36 @@ +getContainer()->share( 'heartbeat_subscriber', HeartbeatSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/Engine/License/API/Pricing.php b/inc/Engine/License/API/Pricing.php new file mode 100644 index 0000000..6b7297f --- /dev/null +++ b/inc/Engine/License/API/Pricing.php @@ -0,0 +1,324 @@ +pricing = $pricing; + } + + /** + * Gets the single license pricing data + * + * @return null|object + */ + public function get_single_pricing() { + if ( + ! isset( $this->pricing->licenses->single ) + || + ! is_object( $this->pricing->licenses->single ) + ) { + return null; + } + + return $this->pricing->licenses->single; + } + + /** + * Gets the plus license pricing data + * + * @return null|object + */ + public function get_plus_pricing() { + if ( + ! isset( $this->pricing->licenses->plus ) + || + ! is_object( $this->pricing->licenses->plus ) + ) { + return null; + } + + return $this->pricing->licenses->plus; + } + + /** + * Gets the infinite license pricing data + * + * @return null|object + */ + public function get_infinite_pricing() { + if ( + ! isset( $this->pricing->licenses->infinite ) + || + ! is_object( $this->pricing->licenses->infinite ) + ) { + return null; + } + + return $this->pricing->licenses->infinite; + } + + /** + * Gets the license renewal pricing data + * + * @return null|object + */ + public function get_renewals_data() { + if ( + ! isset( $this->pricing->renewals ) + || + ! is_object( $this->pricing->renewals ) + ) { + return null; + } + + return $this->pricing->renewals; + } + + /** + * Gets the promotion data + * + * @return null|object + */ + public function get_promo_data() { + if ( + ! isset( $this->pricing->promo ) + || + ! is_object( $this->pricing->promo ) + ) { + return null; + } + + return $this->pricing->promo; + } + + /** + * Checks if a promotion is currently active + * + * @return boolean + */ + public function is_promo_active() { + $promo_data = $this->get_promo_data(); + + if ( is_null( $promo_data ) ) { + return false; + } + + if ( ! isset( $promo_data->start_date, $promo_data->end_date ) ) { + return false; + } + + $current_time = time(); + + return ( + absint( $promo_data->start_date ) < $current_time + && + absint( $promo_data->end_date ) > $current_time + ); + } + + /** + * Gets promotion end date + * + * @return int + */ + public function get_promo_end() { + $promo = $this->get_promo_data(); + + if ( + is_null( $promo ) + || + ! isset( $promo->end_date ) + ) { + return 0; + } + + return absint( $promo->end_date ); + } + + /** + * Gets the regular upgrade price from single to plus + * + * @return int + */ + public function get_regular_single_to_plus_price() { + $plus_pricing = $this->get_plus_pricing(); + + if ( + is_null( $plus_pricing ) + || + ! isset( $plus_pricing->prices->from_single->regular ) + ) { + return 0; + } + + return $plus_pricing->prices->from_single->regular; + } + + /** + * Gets the current upgrade price from single to plus + * + * @return int + */ + public function get_single_to_plus_price() { + $plus_pricing = $this->get_plus_pricing(); + $regular = $this->get_regular_single_to_plus_price(); + + if ( + is_null( $plus_pricing ) + || + ! isset( $plus_pricing->prices->from_single->sale ) + ) { + return $regular; + } + + return $this->is_promo_active() ? $plus_pricing->prices->from_single->sale : $regular; + } + + /** + * Gets the regular upgrade price from single to infinite + * + * @return int + */ + public function get_regular_single_to_infinite_price() { + $infinite_pricing = $this->get_infinite_pricing(); + + if ( + is_null( $infinite_pricing ) + || + ! isset( $infinite_pricing->prices->from_single->regular ) + ) { + return 0; + } + + return $infinite_pricing->prices->from_single->regular; + } + + /** + * Gets the current upgrade price from single to plus + * + * @return int + */ + public function get_single_to_infinite_price() { + $infinite_pricing = $this->get_infinite_pricing(); + $regular = $this->get_regular_single_to_infinite_price(); + + if ( + is_null( $infinite_pricing ) + || + ! isset( $infinite_pricing->prices->from_single->sale ) + ) { + return $regular; + } + + return $this->is_promo_active() ? $infinite_pricing->prices->from_single->sale : $regular; + } + + /** + * Gets the regular upgrade price from plus to infinite + * + * @return int + */ + public function get_regular_plus_to_infinite_price() { + $infinite_pricing = $this->get_infinite_pricing(); + + if ( + is_null( $infinite_pricing ) + || + ! isset( $infinite_pricing->prices->from_plus->regular ) + ) { + return 0; + } + + return $infinite_pricing->prices->from_plus->regular; + } + + /** + * Gets the current upgrade price from plus to infinite + * + * @return int + */ + public function get_plus_to_infinite_price() { + $infinite_pricing = $this->get_infinite_pricing(); + $regular = $this->get_regular_plus_to_infinite_price(); + + if ( + is_null( $infinite_pricing ) + || + ! isset( $infinite_pricing->prices->from_plus->sale ) + ) { + return $regular; + } + + return $this->is_promo_active() ? $infinite_pricing->prices->from_plus->sale : $regular; + } + + /** + * Gets the number of websites allowed for the single license + * + * @return int + */ + public function get_single_websites_count() { + $single_pricing = $this->get_single_pricing(); + + if ( + is_null( $single_pricing ) + || + ! isset( $single_pricing->websites ) + ) { + return 0; + } + + return (int) $single_pricing->websites; + } + + /** + * Gets the number of websites allowed for the plus license + * + * @return int + */ + public function get_plus_websites_count() { + $plus_pricing = $this->get_plus_pricing(); + + if ( + is_null( $plus_pricing ) + || + ! isset( $plus_pricing->websites ) + ) { + return 0; + } + + return (int) $plus_pricing->websites; + } + + /** + * Gets the number of websites allowed for the infinite license + * + * @return int + */ + public function get_infinite_websites_count() { + $infinite_pricing = $this->get_infinite_pricing(); + + if ( + is_null( $infinite_pricing ) + || + ! isset( $infinite_pricing->websites ) + ) { + return 0; + } + + return (int) $infinite_pricing->websites; + } +} diff --git a/inc/Engine/License/API/PricingClient.php b/inc/Engine/License/API/PricingClient.php new file mode 100644 index 0000000..0454822 --- /dev/null +++ b/inc/Engine/License/API/PricingClient.php @@ -0,0 +1,90 @@ +get_raw_pricing_data(); + + if ( false === $data ) { + return false; + } + + set_transient( 'wp_rocket_pricing', $data, 12 * HOUR_IN_SECONDS ); + + return $data; + } + + /** + * Gets the pricing data from the pricing endpoint + * + * @since 3.7.3 + * + * @return bool|object + */ + private function get_raw_pricing_data() { + if ( (bool) get_transient( 'wp_rocket_pricing_timeout_active' ) ) { + return false; + } + + $response = wp_safe_remote_get( + self::PRICING_ENDPOINT + ); + + if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { + $this->set_timeout_transients(); + + return false; + } + + $body = wp_remote_retrieve_body( $response ); + + if ( empty( $body ) ) { + $this->set_timeout_transients(); + + return false; + } + + delete_transient( 'wp_rocket_pricing_timeout' ); + delete_transient( 'wp_rocket_pricing_timeout_active' ); + + return json_decode( $body ); + } + + /** + * Set pricing timeout transients. + * + * @since 3.8.4 + * + * @return void + */ + private function set_timeout_transients() { + $timeout = (int) get_transient( 'wp_rocket_pricing_timeout' ); + $timeout = ( 0 === $timeout ) + ? 300 + : ( 2 * $timeout <= DAY_IN_SECONDS + ? 2 * $timeout : + DAY_IN_SECONDS + ); + + set_transient( 'wp_rocket_pricing_timeout', $timeout, WEEK_IN_SECONDS ); + set_transient( 'wp_rocket_pricing_timeout_active', true, $timeout ); + } +} diff --git a/inc/Engine/License/API/User.php b/inc/Engine/License/API/User.php new file mode 100644 index 0000000..819025c --- /dev/null +++ b/inc/Engine/License/API/User.php @@ -0,0 +1,123 @@ +user = is_object( $user ) ? $user : new \stdClass(); + } + + /** + * Gets the user license type + * + * @return int + */ + public function get_license_type() { + if ( ! isset( $this->user->licence_account ) ) { + return 0; + } + + return (int) $this->user->licence_account; + } + + /** + * Gets the user license expiration timestamp + * + * @return int + */ + public function get_license_expiration() { + if ( ! isset( $this->user->licence_expiration ) ) { + return 0; + } + + return (int) $this->user->licence_expiration; + } + + /** + * Checks if the user license is expired + * + * @return boolean + */ + public function is_license_expired() { + return time() > $this->get_license_expiration(); + } + + /** + * Gets the user license creation date + * + * @return int + */ + public function get_creation_date() { + if ( ! isset( $this->user->date_created ) ) { + return time(); + } + + return (int) $this->user->date_created > 0 + ? (int) $this->user->date_created + : time(); + } + + /** + * Checks if user has auto-renew enabled + * + * @return boolean + */ + public function is_auto_renew() { + if ( ! isset( $this->user->has_auto_renew ) ) { + return false; + } + + return (bool) $this->user->has_auto_renew; + } + + /** + * Gets the upgrade to plus URL + * + * @return string + */ + public function get_upgrade_plus_url() { + if ( ! isset( $this->user->upgrade_plus_url ) ) { + return ''; + } + + return $this->user->upgrade_plus_url; + } + + /** + * Gets the upgrade to infinite url + * + * @return string + */ + public function get_upgrade_infinite_url() { + if ( ! isset( $this->user->upgrade_infinite_url ) ) { + return ''; + } + + return $this->user->upgrade_infinite_url; + } + + /** + * Gets the renewal url + * + * @return string + */ + public function get_renewal_url() { + if ( ! isset( $this->user->renewal_url ) ) { + return ''; + } + + return $this->user->renewal_url; + } +} diff --git a/inc/Engine/License/API/UserClient.php b/inc/Engine/License/API/UserClient.php new file mode 100644 index 0000000..00d6f15 --- /dev/null +++ b/inc/Engine/License/API/UserClient.php @@ -0,0 +1,87 @@ +options = $options; + } + + /** + * Gets user data from cache if it exists, else gets it from the user endpoint + * + * Cache the user data for 24 hours in a transient + * + * @since 3.7.3 + * + * @return bool|object + */ + public function get_user_data() { + $cached_data = get_transient( 'wp_rocket_customer_data' ); + + if ( false !== $cached_data ) { + return $cached_data; + } + + $data = $this->get_raw_user_data(); + + if ( false === $data ) { + return false; + } + + set_transient( 'wp_rocket_customer_data', $data, DAY_IN_SECONDS ); + + return $data; + } + + /** + * Gets the user data from the user endpoint + * + * @since 3.7.3 + * + * @return bool|object + */ + private function get_raw_user_data() { + $customer_key = ! empty( $this->options->get( 'consumer_key', '' ) ) + ? $this->options->get( 'consumer_key', '' ) + : rocket_get_constant( 'WP_ROCKET_KEY', '' ); + $customer_email = ! empty( $this->options->get( 'consumer_email', '' ) ) + ? $this->options->get( 'consumer_email', '' ) + : rocket_get_constant( 'WP_ROCKET_EMAIL', '' ); + + $response = wp_safe_remote_post( + self::USER_ENDPOINT, + [ + 'body' => 'user_id=' . rawurlencode( $customer_email ) . '&consumer_key=' . sanitize_key( $customer_key ), + ] + ); + + if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { + return false; + } + + $body = wp_remote_retrieve_body( $response ); + + if ( empty( $body ) ) { + return false; + } + + return json_decode( $body ); + } +} diff --git a/inc/Engine/License/Renewal.php b/inc/Engine/License/Renewal.php new file mode 100644 index 0000000..a589eed --- /dev/null +++ b/inc/Engine/License/Renewal.php @@ -0,0 +1,760 @@ +pricing = $pricing; + $this->user = $user; + $this->options = $options; + } + + /** + * Displays the renewal banner for users expiring in less than 30 days + * + * @since 3.7.5 + * + * @return void + */ + public function display_renewal_soon_banner() { + if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) ) { + return; + } + + if ( $this->user->is_license_expired() ) { + return; + } + + if ( ! $this->is_expired_soon() ) { + return; + } + + $data = $this->get_banner_data(); + $data['countdown'] = $this->get_countdown_data(); + $discount = esc_html( '$' . number_format_i18n( $this->get_discount_percent(), 2 ) ); + $price = esc_html( '$' . number_format_i18n( $this->get_price(), 2 ) ); + + $data['message'] = sprintf( + // translators: %1$s = , %2$s = price, %3$s = . + esc_html__( 'Renew before it is too late, you will only pay %1$s%2$s%3$s!', 'rocket' ), + '', + $price, + '' + ); + + if ( $this->get_discount_percent() ) { + $data['message'] = sprintf( + // translators: %1$s = , %2$s = discount, %3$s = ,%4$s = , %5$s = price, %6$s=. + esc_html__( 'Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!', 'rocket' ), + '', + $discount, + '', + '', + $price, + '' + ); + } + + echo $this->generate( 'renewal-soon-banner', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Displays the renewal banner for expired users + * + * @since 3.7.5 + * + * @return void + */ + public function display_renewal_expired_banner() { + if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) ) { + return; + } + + if ( 0 === $this->user->get_license_expiration() ) { + return; + } + + if ( ! $this->user->is_license_expired() ) { + return; + } + + if ( false !== get_transient( 'rocket_renewal_banner_' . get_current_user_id() ) ) { + return; + } + + $expiration = $this->user->get_license_expiration(); + $expired_since = ( time() - $expiration ) / DAY_IN_SECONDS; + + if ( + $this->user->is_auto_renew() + && + 4 > $expired_since + ) { + return; + } + + $ocd_enabled = $this->options->get( 'optimize_css_delivery', 0 ); + $renewal_url = $this->user->get_renewal_url(); + $price = esc_html( '$' . number_format_i18n( $this->get_price(), 2 ) ); + + $message = sprintf( + // translators: %1$s = , %2$s = , %3$s = price. + esc_html__( 'Renew your license for 1 year now at %1$s%3$s%2$s.', 'rocket' ), + '', + '', + $price + ); + + if ( + ( $this->is_grandfather() || $this->has_grandmother() ) + && + $expired_since < 15 + ) { + $message = sprintf( + // translators: %1$s = , %2$s = , %3$s = discount percentage, %4$s = price. + esc_html__( 'Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!', 'rocket' ), + '', + '', + esc_html( '$' . number_format_i18n( $this->get_discount_percent(), 2 ) ), + $price + ); + } + + if ( $ocd_enabled ) { + if ( 15 > $expired_since ) { + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->generate( + 'renewal-expired-banner-ocd', + [ + 'renewal_url' => $renewal_url, + 'message' => $message, + 'disabled_date' => date_i18n( get_option( 'date_format' ), $expiration + 15 * DAY_IN_SECONDS ), + ] + ); + // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped + } elseif ( 90 > $expired_since ) { + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->generate( + 'renewal-expired-banner-ocd-disabled', + [ + 'renewal_url' => $renewal_url, + 'message' => $message, + ] + ); + // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped + } elseif ( 90 < $expired_since ) { + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->generate( + 'renewal-expired-banner', + [ + 'renewal_url' => $renewal_url, + 'message' => $message, + ] + ); + // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped + } + } elseif ( ! $ocd_enabled ) { + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->generate( + 'renewal-expired-banner', + [ + 'renewal_url' => $renewal_url, + 'message' => $message, + ] + ); + // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped + } + } + + /** + * Get base data to display in the banners + * + * @since 3.7.5 + * + * @return array + */ + private function get_banner_data() { + $price = esc_html( '$' . number_format_i18n( $this->get_price(), 2 ) ); + + $message = sprintf( + // translators: %1$s = , %2$s = , %3$s = discount price. + esc_html__( 'Renew before it is too late, you will pay %1$s%3$s%2$s.', 'rocket' ), + '', + '', + $price + ); + + if ( $this->is_grandfather() ) { + $message = sprintf( + // translators: %1$s = , %2$s = discount percentage, %3$s = , %4$s = discount price. + esc_html__( 'Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!', 'rocket' ), + '', + esc_html( '$' . number_format_i18n( $this->get_discount_percent(), 2 ) ), + '', + $price + ); + } + + return [ + 'message' => $message, + 'renewal_url' => $this->user->get_renewal_url(), + ]; + } + + /** + * AJAX callback to dismiss the renewal banner for expired users + * + * @since 3.7.5 + * + * @return void + */ + public function dismiss_renewal_expired_banner() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $transient = 'rocket_renewal_banner_' . get_current_user_id(); + + if ( false !== get_transient( $transient ) ) { + return; + } + + set_transient( $transient, 1, MONTH_IN_SECONDS ); + + wp_send_json_success(); + } + + /** + * Adds the license expiration time to WP Rocket localize script data + * + * @since 3.7.5 + * + * @param array $data Localize script data. + * @return array + */ + public function add_localize_script_data( $data ) { + if ( ! is_array( $data ) ) { + $data = (array) $data; + } + + if ( $this->user->is_license_expired() ) { + return $data; + } + + if ( ! $this->is_expired_soon() ) { + return $data; + } + + $data['license_expiration'] = $this->user->get_license_expiration(); + + return $data; + } + + /** + * Checks if the license expires in less than 30 days + * + * @since 3.7.5 + * + * @return boolean + */ + private function is_expired_soon() { + if ( $this->user->is_auto_renew() ) { + return false; + } + + $expiration_delay = $this->user->get_license_expiration() - time(); + + return 30 * DAY_IN_SECONDS > $expiration_delay; + } + + /** + * Gets the discount corresponding to the current user status + * + * @since 3.7.5 + * + * @return int + */ + private function get_discount_percent() { + $prices = $this->get_license_pricing_data(); + + $renewals = $this->get_user_renewal_status(); + + if ( false === $renewals || ! isset( $prices->prices, $prices->prices->renewal ) ) { + return 0; + } + + $prices = $prices->prices; + + if ( $renewals['is_grandfather'] ) { + return isset( $prices->renewal->is_grandfather, $prices->renewal->not_grandfather ) ? $prices->renewal->not_grandfather - $prices->renewal->is_grandfather : 0; + } + + if ( $renewals['is_grandmother'] ) { + return isset( $prices->renewal->is_grandmother, $prices->renewal->not_grandfather ) ? $prices->renewal->not_grandfather - $prices->renewal->is_grandmother : 0; + } + + return 0; + } + + /** + * Is user grandfathered + * + * @return bool + */ + private function is_grandfather(): bool { + $renewals = $this->get_user_renewal_status(); + + if ( ! is_array( $renewals ) ) { + return false; + } + + return key_exists( 'is_grandfather', $renewals ) && $renewals['is_grandfather']; + } + /** + * Is user grandmothered + * + * @return bool + */ + private function has_grandmother(): bool { + $renewals = $this->get_user_renewal_status(); + + if ( ! is_array( $renewals ) ) { + return false; + } + + return key_exists( 'is_grandmother', $renewals ) && $renewals['is_grandmother']; + } + + /** + * Gets the price corresponding to the current user status + * + * @since 3.7.5 + * + * @return int + */ + private function get_price() { + $renewals = $this->get_user_renewal_status(); + + if ( false === $renewals ) { + return 0; + } + + $license = $this->get_license_pricing_data(); + + if ( + $renewals['is_grandfather'] + && + ! $renewals['is_expired'] + ) { + return isset( $license->prices->renewal->is_grandfather ) ? $license->prices->renewal->is_grandfather : 0; + } + + if ( $renewals['is_grandmother'] && + ! $renewals['is_expired'] ) { + return isset( $license->prices->renewal->is_grandmother ) ? $license->prices->renewal->is_grandmother : 0; + } + + return isset( $license->prices->renewal->not_grandfather ) ? $license->prices->renewal->not_grandfather : 0; + } + + /** + * Gets the user renewal status + * + * @since 3.7.5 + * + * @return array + */ + private function get_user_renewal_status() { + $renewals = $this->pricing->get_renewals_data(); + + if ( ! isset( $renewals->extra_days, $renewals->grandfather_date, $renewals->discount_percent, $renewals->grandmother_date ) ) { + return false; + } + + return [ + 'discount_percent' => $renewals->discount_percent, + 'is_expired' => time() > ( $this->user->get_license_expiration() + ( $renewals->extra_days * DAY_IN_SECONDS ) ), + 'is_grandfather' => $renewals->grandfather_date > $this->user->get_creation_date(), + 'is_grandmother' => $renewals->grandmother_date > $this->user->get_creation_date(), + ]; + } + + /** + * Gets the license pricing data corresponding to the user license + * + * @since 3.7.5 + * + * @return object|null + */ + private function get_license_pricing_data() { + $license = $this->user->get_license_type(); + $plus_websites = $this->pricing->get_plus_websites_count(); + + if ( $license === $plus_websites ) { + return $this->pricing->get_plus_pricing(); + } elseif ( + $license >= $this->pricing->get_single_websites_count() + && + $license < $plus_websites + ) { + return $this->pricing->get_single_pricing(); + } + + return $this->pricing->get_infinite_pricing(); + } + + /** + * Gets the countdown data to display for the renewal soon banner + * + * @since 3.7.5 + * + * @return array + */ + private function get_countdown_data() { + $data = [ + 'days' => 0, + 'hours' => 0, + 'minutes' => 0, + 'seconds' => 0, + ]; + + if ( rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ) { + return $data; + } + + $expiration = $this->user->get_license_expiration(); + + if ( 0 === $expiration ) { + return $data; + } + + $now = date_create(); + $end = date_timestamp_set( date_create(), $expiration ); + + if ( $now > $end ) { + return $data; + } + + $remaining = date_diff( $now, $end ); + $format = explode( ' ', $remaining->format( '%d %H %i %s' ) ); + + $data['days'] = $format[0]; + $data['hours'] = $format[1]; + $data['minutes'] = $format[2]; + $data['seconds'] = $format[3]; + + return $data; + } + + /** + * Add license expiring warning to OCD label + * + * @param array $args Setting field arguments. + * + * @return array + */ + public function add_license_expire_warning( $args ): array { + if ( 'optimize_css_delivery' !== $args['id'] ) { + return $args; + } + + if ( ! $this->user->is_license_expired() ) { + return $args; + } + + $ocd = $this->options->get( 'optimize_css_delivery', 0 ); + $whitelabel = rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT', false ); + $expired_since = ( time() - $this->user->get_license_expiration() ) / DAY_IN_SECONDS; + $message = ' '; + + if ( + ( + $whitelabel + && + 15 > $expired_since + && + $ocd + ) + || + ( + ! $whitelabel + && + $this->user->is_auto_renew() + && + 4 > $expired_since + ) + || + ( + $whitelabel + && + $this->user->is_auto_renew() + && + 4 > $expired_since + && + ! $ocd + ) + ) { + return $args; + } elseif ( + ! $whitelabel + && + 15 > $expired_since + && + $ocd + ) { + $message .= sprintf( + // translators: %1$s = , %2$s = . + __( 'You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access.', 'rocket' ), + '', + '' + ); + } elseif ( + ( + ! $whitelabel + && + 15 < $expired_since + ) + || + ( + ! $whitelabel + && + 15 > $expired_since + && + ! $ocd + ) + ) { + $message .= sprintf( + // translators: %1$s = , %2$s = . + __( 'You need an active license to enable this option. %1$sRenew now%2$s.', 'rocket' ), + '', + '' + ); + } elseif ( + ( + $whitelabel + && + 15 < $expired_since + ) + || + ( + $whitelabel + && + 15 > $expired_since + && + ! $ocd + ) + ) { + $doc = 'https://docs.wp-rocket.me/article/1711-what-happens-if-my-license-expires'; + $locale = current( array_slice( explode( '_', get_user_locale() ), 0, 1 ) ); + + if ( 'fr' === $locale ) { + $doc = 'https://fr.docs.wp-rocket.me/article/1712-que-se-passe-t-il-si-ma-licence-expire'; + } + + $message .= sprintf( + // translators: %1$s = , %2$s = . + __( 'You need an active license to enable this option. %1$sMore info%2$s.', 'rocket' ), + '', + '' + ); + } + + $message .= ''; + + $args['label'] = $args['label'] . $message; + + return $args; + } + + /** + * Adds the notification bubble to WP Rocket menu item when expired + * + * @param string $menu_title Menu title. + * + * @return string + */ + public function add_expired_bubble( $menu_title ): string { + if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT', false ) ) { + return $menu_title; + } + + if ( ! $this->user->is_license_expired() ) { + return $menu_title; + } + + if ( false !== get_transient( 'wpr_dashboard_seen_' . get_current_user_id() ) ) { + return $menu_title; + } + + $expired_since = ( time() - $this->user->get_license_expiration() ) / DAY_IN_SECONDS; + $auto_renew = $this->user->is_auto_renew(); + $ocd_enabled = $this->options->get( 'optimize_css_delivery', 0 ); + + if ( + $ocd_enabled + && + $auto_renew + && + 4 > $expired_since + ) { + return $menu_title; + } + + if ( + ! $auto_renew + && + ! $ocd_enabled + && + 4 < $expired_since + + ) { + return $menu_title; + } + + if ( + $auto_renew + && + ! $ocd_enabled + && + ( + 4 > $expired_since + || + 15 < $expired_since + ) + ) { + return $menu_title; + } + + return $menu_title . ' !'; + } + + /** + * Sets the dashboard seen transient to hide the expired bubble + * + * @return void + */ + public function set_dashboard_seen_transient() { + if ( ! $this->user->is_license_expired() ) { + return; + } + + if ( ! $this->options->get( 'optimize_css_delivery', 0 ) ) { + return; + } + + $current_user = get_current_user_id(); + + if ( false !== get_transient( "wpr_dashboard_seen_{$current_user}" ) ) { + return; + } + + $expired_since = ( time() - $this->user->get_license_expiration() ) / DAY_IN_SECONDS; + + if ( 15 > $expired_since ) { + set_transient( "wpr_dashboard_seen_{$current_user}", 1, 15 * DAY_IN_SECONDS ); + } elseif ( 15 < $expired_since ) { + set_transient( "wpr_dashboard_seen_{$current_user}", 1, YEAR_IN_SECONDS ); + } + } + + /** + * Disable optimize CSS delivery setting + * + * @param array $args Array of setting field arguments. + * + * @return array + */ + public function maybe_disable_ocd( $args ) { + if ( 'optimize_css_delivery' !== $args['id'] ) { + return $args; + } + + if ( ! $this->user->is_license_expired() ) { + return $args; + } + + $expired_since = ( time() - $this->user->get_license_expiration() ) / DAY_IN_SECONDS; + + if ( + 15 > $expired_since + || + ( + $this->user->is_auto_renew() + && + 4 > $expired_since + ) + ) { + return $args; + } + + $args['value'] = 0; + + if ( + isset( $args['container_class'] ) + && + ! in_array( 'wpr-isDisabled', $args['container_class'], true ) + ) { + $args['container_class'][] = 'wpr-isDisabled'; + } + + $args['input_attr']['disabled'] = 1; + + return $args; + } + + /** + * Disables the RUCSS & Async CSS options if license is expired since more than 15 days + * + * @param mixed $value Current option value. + * + * @return mixed + */ + public function maybe_disable_option( $value ) { + $expired_since = ( time() - $this->user->get_license_expiration() ) / DAY_IN_SECONDS; + + if ( 15 > $expired_since ) { + return $value; + } + + return 0; + } +} diff --git a/inc/Engine/License/ServiceProvider.php b/inc/Engine/License/ServiceProvider.php new file mode 100644 index 0000000..a53f8a6 --- /dev/null +++ b/inc/Engine/License/ServiceProvider.php @@ -0,0 +1,64 @@ +getContainer()->add( 'pricing_client', PricingClient::class ); + $this->getContainer()->add( 'user_client', UserClient::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + $this->getContainer()->share( 'pricing', Pricing::class ) + ->addArgument( $this->getContainer()->get( 'pricing_client' )->get_pricing_data() ); + $this->getContainer()->share( 'user', User::class ) + ->addArgument( $this->getContainer()->get( 'user_client' )->get_user_data() ); + $this->getContainer()->add( 'upgrade', Upgrade::class ) + ->addArgument( $this->getContainer()->get( 'pricing' ) ) + ->addArgument( $this->getContainer()->get( 'user' ) ) + ->addArgument( $views ); + $this->getContainer()->add( 'renewal', Renewal::class ) + ->addArgument( $this->getContainer()->get( 'pricing' ) ) + ->addArgument( $this->getContainer()->get( 'user' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $views ); + $this->getContainer()->share( 'license_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'upgrade' ) ) + ->addArgument( $this->getContainer()->get( 'renewal' ) ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/License/Subscriber.php b/inc/Engine/License/Subscriber.php new file mode 100644 index 0000000..494b9e4 --- /dev/null +++ b/inc/Engine/License/Subscriber.php @@ -0,0 +1,253 @@ +upgrade = $upgrade; + $this->renewal = $renewal; + } + + /** + * Events this subscriber listens to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_dashboard_license_info' => 'display_upgrade_section', + 'rocket_settings_page_footer' => 'display_upgrade_popin', + 'rocket_menu_title' => [ + [ 'add_notification_bubble' ], + [ 'add_notification_bubble_expired' ], + ], + 'admin_footer-settings_page_wprocket' => [ + [ 'dismiss_notification_bubble' ], + [ 'set_dashboard_seen_transient' ], + ], + 'rocket_before_dashboard_content' => [ + [ 'display_promo_banner' ], + [ 'display_renewal_soon_banner', 11 ], + [ 'display_renewal_expired_banner', 12 ], + ], + 'wp_ajax_rocket_dismiss_promo' => 'dismiss_promo_banner', + 'wp_ajax_rocket_dismiss_renewal' => 'dismiss_renewal_banner', + 'rocket_localize_admin_script' => 'add_localize_script_data', + 'wp_rocket_upgrade' => [ 'clean_user_transient', 15, 2 ], + 'rocket_before_add_field_to_settings' => [ + [ 'maybe_disable_ocd', 11 ], + [ 'add_license_expire_warning' ], + ], + 'get_rocket_option_remove_unused_css' => [ 'maybe_disable_option', PHP_INT_MAX ], + 'get_rocket_option_async_css' => [ 'maybe_disable_option', PHP_INT_MAX ], + ]; + } + + /** + * Displays the upgrade section in the license info block + * + * @since 3.7.3 + * + * @return void + */ + public function display_upgrade_section() { + $this->upgrade->display_upgrade_section(); + } + + /** + * Displays the upgrade popin + * + * @since 3.7.3 + * + * @return void + */ + public function display_upgrade_popin() { + $this->upgrade->display_upgrade_popin(); + } + + /** + * Adds the notification bubble to the menu title if a promotion is active + * + * @since 3.7.4 + * + * @param string $menu_title The text to be used for the menu. + * @return string + */ + public function add_notification_bubble( $menu_title ) { + return $this->upgrade->add_notification_bubble( $menu_title ); + } + + /** + * Prevents the notification bubble from showing once the user accessed the dashboard once + * + * @since 3.7.4 + * + * @return void + */ + public function dismiss_notification_bubble() { + $this->upgrade->dismiss_notification_bubble(); + } + + /** + * Displays the promotions banner when a promotion is active + * + * @since 3.7.4 + * + * @return void + */ + public function display_promo_banner() { + $this->upgrade->display_promo_banner(); + } + + /** + * AJAX callback to dismiss the promotion banner + * + * @since 3.7.4 + * + * @return void + */ + public function dismiss_promo_banner() { + $this->upgrade->dismiss_promo_banner(); + } + + /** + * Adds the current time and promotion end time to WP Rocket localize script data + * + * @since 3.7.5 Add the renewal localize data + * @since 3.7.4 + * + * @param array $data Localize script data. + * @return array + */ + public function add_localize_script_data( $data ) { + $data = $this->upgrade->add_localize_script_data( $data ); + + return $this->renewal->add_localize_script_data( $data ); + } + + /** + * Deletes the user data transient on 3.7.4 update + * + * @since 3.7.4 + * + * @param string $new_version New version of the plugin. + * @param string $old_version Installed version of the plugin. + * @return void + */ + public function clean_user_transient( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.7.4', '>' ) ) { + return; + } + + delete_transient( 'wp_rocket_customer_data' ); + } + + /** + * Displays the renewal banner for users expiring in less than 30 days + * + * @since 3.7.5 + * + * @return void + */ + public function display_renewal_soon_banner() { + $this->renewal->display_renewal_soon_banner(); + } + + /** + * Displays the renewal banner for expired users + * + * @since 3.7.5 + * + * @return void + */ + public function display_renewal_expired_banner() { + $this->renewal->display_renewal_expired_banner(); + } + + /** + * AJAX callback to dismiss the renewal banner + * + * @since 3.7.5 + * + * @return void + */ + public function dismiss_renewal_banner() { + $this->renewal->dismiss_renewal_expired_banner(); + } + + /** + * Add license expiring warning to OCD label + * + * @param array $args Setting field arguments. + * + * @return array + */ + public function add_license_expire_warning( $args ): array { + return $this->renewal->add_license_expire_warning( $args ); + } + + /** + * Adds the notification bubble to WP Rocket menu item when expired + * + * @param string $menu_title Menu title. + * + * @return string + */ + public function add_notification_bubble_expired( $menu_title ) { + return $this->renewal->add_expired_bubble( $menu_title ); + } + + /** + * Sets the dashboard seen transient to hide the expired bubble + * + * @return void + */ + public function set_dashboard_seen_transient() { + $this->renewal->set_dashboard_seen_transient(); + } + + /** + * Disable optimize CSS delivery setting + * + * @param array $args Array of setting field arguments. + * + * @return array + */ + public function maybe_disable_ocd( $args ) { + return $this->renewal->maybe_disable_ocd( $args ); + } + + /** + * Disables the RUCSS & Async CSS options if license is expired + * + * @param mixed $value Current option value. + * + * @return mixed + */ + public function maybe_disable_option( $value ) { + return $this->renewal->maybe_disable_option( $value ); + } +} diff --git a/inc/Engine/License/Upgrade.php b/inc/Engine/License/Upgrade.php new file mode 100644 index 0000000..4d811f5 --- /dev/null +++ b/inc/Engine/License/Upgrade.php @@ -0,0 +1,417 @@ +pricing = $pricing; + $this->user = $user; + } + + /** + * Displays the upgrade section in the license block on the dashboard + * + * @return void + */ + public function display_upgrade_section() { + if ( ! $this->can_upgrade() ) { + return; + } + + echo $this->generate( 'upgrade-section' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Displays the upgrade pop on the dashboard + * + * @return void + */ + public function display_upgrade_popin() { + if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) ) { + return; + } + + if ( ! $this->can_upgrade() ) { + return; + } + + $data = [ + 'is_promo_active' => $this->pricing->is_promo_active(), + 'upgrades' => $this->get_upgrade_choices(), + ]; + + echo $this->generate( 'upgrade-popin', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Adds the notification bubble to WP Rocket menu item when a promo is active + * + * @param string $menu_title Menu title. + * @return string + */ + public function add_notification_bubble( $menu_title ) { + if ( ! $this->can_use_promo() ) { + return $menu_title; + } + + if ( false !== get_transient( 'rocket_promo_seen_' . get_current_user_id() ) ) { + return $menu_title; + } + + return $menu_title . ' !'; + } + + /** + * Prevents the notification bubble from showing once the user accessed the dashboard once + * + * @return void + */ + public function dismiss_notification_bubble() { + if ( ! $this->can_use_promo() ) { + return; + } + + $user_id = get_current_user_id(); + + if ( false !== get_transient( "rocket_promo_seen_{$user_id}" ) ) { + return; + } + + set_transient( "rocket_promo_seen_{$user_id}", 1, 2 * WEEK_IN_SECONDS ); + } + + /** + * Displays the promotion banner + * + * @return void + */ + public function display_promo_banner() { + if ( ! $this->can_use_promo() ) { + return; + } + + if ( false !== get_transient( 'rocket_promo_banner_' . get_current_user_id() ) ) { + return; + } + + $promo = $this->pricing->get_promo_data(); + $promo_name = isset( $promo->name ) ? $promo->name : ''; + $promo_discount = isset( $promo->discount_percent ) ? $promo->discount_percent : 0; + + $data = [ + 'name' => $promo_name, + 'discount_percent' => $promo_discount, + 'countdown' => $this->get_countdown_data(), + 'message' => $this->get_promo_message( $promo_name, $promo_discount ), + ]; + + echo $this->generate( 'promo-banner', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * AJAX callback to dismiss the promotion banner + * + * @return void + */ + public function dismiss_promo_banner() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $user = get_current_user_id(); + + if ( false !== get_transient( "rocket_promo_banner_{$user}" ) ) { + return; + } + + set_transient( "rocket_promo_banner_{$user}", 1, 2 * WEEK_IN_SECONDS ); + + wp_send_json_success(); + } + + /** + * Adds the promotion end time to WP Rocket localize script data + * + * @since 3.7.4 + * + * @param array $data Localize script data. + * @return array + */ + public function add_localize_script_data( $data ) { + if ( ! is_array( $data ) ) { + $data = (array) $data; + } + + if ( ! $this->can_use_promo() ) { + return $data; + } + + $data['promo_end'] = $this->pricing->get_promo_end(); + + return $data; + } + + /** + * Returns an array containing the remaining days, hours, minutes & seconds for the promotion + * + * @since 3.7.4 + * + * @return array + */ + private function get_countdown_data() { + $data = [ + 'days' => 0, + 'hours' => 0, + 'minutes' => 0, + 'seconds' => 0, + ]; + + if ( rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ) { + return $data; + } + + $promo_end = $this->pricing->get_promo_end(); + + if ( 0 === $promo_end ) { + return $data; + } + + $now = date_create(); + $end = date_timestamp_set( date_create(), $promo_end ); + + if ( $now > $end ) { + return $data; + } + + $remaining = date_diff( $now, $end ); + $format = explode( ' ', $remaining->format( '%d %H %i %s' ) ); + + $data['days'] = $format[0]; + $data['hours'] = $format[1]; + $data['minutes'] = $format[2]; + $data['seconds'] = $format[3]; + + return $data; + } + + /** + * Returns the promotion message to display in the banner + * + * @param string $promo_name Name of the promotion. + * @param int $promo_discount Discount percentage. + * + * @return string + */ + private function get_promo_message( $promo_name = '', $promo_discount = 0 ) { + $choices = 0; + $license = $this->user->get_license_type(); + $plus_websites = $this->pricing->get_plus_websites_count(); + + if ( $license === $plus_websites ) { + $choices = 2; + } elseif ( + $license >= $this->pricing->get_single_websites_count() + && + $license < $plus_websites + ) { + $choices = 1; + } + + return sprintf( + // translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = promotion discount percentage, %5$s = . + _n( + 'Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s', + 'Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s', + $choices, + 'rocket' + ), + $promo_name, + '
    ', + '', + $promo_discount . '%', + '' + ); + } + + /** + * Checks if current user can use the promotion + * + * @since 3.7.4 + * + * @return boolean + */ + private function can_use_promo() { + if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) ) { + return false; + } + + if ( ! $this->can_upgrade() ) { + return false; + } + + if ( $this->is_expired_soon() ) { + return false; + } + + if ( $this->is_new_user() ) { + return false; + } + + return $this->pricing->is_promo_active(); + } + + /** + * Checks if the license expires in less than 30 days + * + * @return boolean + */ + private function is_expired_soon() { + $expiration_delay = $this->user->get_license_expiration() - time(); + + return 30 * DAY_IN_SECONDS > $expiration_delay; + } + + /** + * Checks if the User license bought less than 14 days + * + * @return boolean + */ + private function is_new_user() { + return ( 14 * DAY_IN_SECONDS ) > time() - $this->user->get_creation_date(); + } + + /** + * Checks if the current license can upgrade + * + * @return boolean + */ + private function can_upgrade() { + return ( + -1 !== $this->user->get_license_type() + && + ! $this->user->is_license_expired() + ); + } + + /** + * Gets the upgrade choices depending on the current license level + * + * @return array + */ + private function get_upgrade_choices() { + $choices = []; + $license = $this->user->get_license_type(); + $plus_websites = $this->pricing->get_plus_websites_count(); + + if ( $license === $plus_websites ) { + $choices['infinite'] = $this->get_upgrade_from_plus_to_infinite_data(); + } elseif ( + $license >= $this->pricing->get_single_websites_count() + && + $license < $plus_websites + ) { + $choices['plus'] = $this->get_upgrade_from_single_to_plus_data(); + $choices['infinite'] = $this->get_upgrade_from_single_to_infinite_data(); + } + + return $choices; + } + + /** + * Gets the data to upgrade from single to plus + * + * @return array + */ + private function get_upgrade_from_single_to_plus_data() { + $price = $this->pricing->get_single_to_plus_price(); + $data = [ + 'name' => 'Plus', + 'price' => $price, + 'websites' => $this->pricing->get_plus_websites_count(), + 'upgrade_url' => $this->user->get_upgrade_plus_url(), + ]; + + if ( $this->pricing->is_promo_active() ) { + $regular_price = $this->pricing->get_regular_single_to_plus_price(); + $data['saving'] = $regular_price - $price; + $data['regular_price'] = $regular_price; + } + + return $data; + } + + /** + * Gets the data to upgrade from single to infinite + * + * @return array + */ + private function get_upgrade_from_single_to_infinite_data() { + $price = $this->pricing->get_single_to_infinite_price(); + $data = [ + 'name' => 'Infinite', + 'price' => $price, + 'websites' => __( 'Unlimited', 'rocket' ), + 'upgrade_url' => $this->user->get_upgrade_infinite_url(), + ]; + + if ( $this->pricing->is_promo_active() ) { + $regular_price = $this->pricing->get_regular_single_to_infinite_price(); + $data['saving'] = $regular_price - $price; + $data['regular_price'] = $regular_price; + } + + return $data; + } + + /** + * Gets the data to upgrade from plus to infinite + * + * @return array + */ + private function get_upgrade_from_plus_to_infinite_data() { + $price = $this->pricing->get_plus_to_infinite_price(); + $data = [ + 'name' => 'Infinite', + 'price' => $price, + 'websites' => __( 'Unlimited', 'rocket' ), + 'upgrade_url' => $this->user->get_upgrade_infinite_url(), + ]; + + if ( $this->pricing->is_promo_active() ) { + $regular_price = $this->pricing->get_regular_plus_to_infinite_price(); + $data['saving'] = $regular_price - $price; + $data['regular_price'] = $regular_price; + } + + return $data; + } +} diff --git a/inc/Engine/License/views/promo-banner.php b/inc/Engine/License/views/promo-banner.php new file mode 100644 index 0000000..78c42b3 --- /dev/null +++ b/inc/Engine/License/views/promo-banner.php @@ -0,0 +1,37 @@ + +
    +
    +

    + + + + +

    +

    +
    +
    +

    +
      +
    • +
    • +
    • +
    • +
    + +
    + +
    diff --git a/inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php b/inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php new file mode 100644 index 0000000..777030c --- /dev/null +++ b/inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php @@ -0,0 +1,33 @@ + +
    diff --git a/inc/Engine/License/views/renewal-expired-banner-ocd.php b/inc/Engine/License/views/renewal-expired-banner-ocd.php new file mode 100644 index 0000000..de470fa --- /dev/null +++ b/inc/Engine/License/views/renewal-expired-banner-ocd.php @@ -0,0 +1,43 @@ + +
    +

    +
    +
    +

    + , %2$s = . + esc_html__( 'You need an %1$sactive license to continue optimizing your CSS delivery%2$s.', 'rocket' ), + '', + '' + ); + ?> +
    + +
    + , %2$s = , %3$s = date. + esc_html__( 'They will be %1$sautomatically disabled on %3$s%2$s.', 'rocket' ), + '', + '', + esc_html( $data['disabled_date'] ) + ); + ?> +

    +

    +
    +
    + +
    +
    + +
    diff --git a/inc/Engine/License/views/renewal-expired-banner.php b/inc/Engine/License/views/renewal-expired-banner.php new file mode 100644 index 0000000..c357276 --- /dev/null +++ b/inc/Engine/License/views/renewal-expired-banner.php @@ -0,0 +1,31 @@ + +
    +

    +
    +
    +

    + , %2$s = . + esc_html__( 'Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀', 'rocket' ), + '', + '' + ); + ?> +

    +

    +
    +
    + +
    +
    + +
    diff --git a/inc/Engine/License/views/renewal-soon-banner.php b/inc/Engine/License/views/renewal-soon-banner.php new file mode 100644 index 0000000..46bb339 --- /dev/null +++ b/inc/Engine/License/views/renewal-soon-banner.php @@ -0,0 +1,33 @@ + +
    +
      +
    • +
    • +
    • +
    • +
    +
    +

    + , %2$s = . + esc_html__( 'Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support.', 'rocket' ), + '', + '' + ); + ?> +

    +

    +
    +
    + +
    +
    diff --git a/inc/Engine/License/views/upgrade-popin.php b/inc/Engine/License/views/upgrade-popin.php new file mode 100644 index 0000000..5a4ec99 --- /dev/null +++ b/inc/Engine/License/views/upgrade-popin.php @@ -0,0 +1,61 @@ + +
    +
    +

    + +
    +
    +

    + ', '' ); + ?> +

    +

    + ', '' ); + ?> +

    +
    + +
    + +
    + +
    + +

    +
    $ + + $ + +
    +
    + +
    + + + +
    + +
    +
    +
    diff --git a/inc/Engine/License/views/upgrade-section.php b/inc/Engine/License/views/upgrade-section.php new file mode 100644 index 0000000..eaa56ed --- /dev/null +++ b/inc/Engine/License/views/upgrade-section.php @@ -0,0 +1,12 @@ + +

    + +

    diff --git a/inc/Engine/Media/Emojis/EmojisSubscriber.php b/inc/Engine/Media/Emojis/EmojisSubscriber.php new file mode 100644 index 0000000..e6a06ca --- /dev/null +++ b/inc/Engine/Media/Emojis/EmojisSubscriber.php @@ -0,0 +1,93 @@ +options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.7 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'init' => 'disable_emoji', + ]; + } + + /** + * Disable the emoji functionality to reduce then number of external HTTP requests. + * + * @since 3.7 Moved to new architecture. + * @since 2.7 + */ + public function disable_emoji() { + if ( ! $this->can_disable_emoji() ) { + return; + } + + remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); + add_filter( 'emoji_svg_url', '__return_false' ); + } + + /** + * Remove the tinymce emoji plugin. + * + * @since 3.8 deprecated + * @since 3.7 Moved to new architecture. + * @since 2.7 + * + * @param array $plugins Plugins loaded for TinyMCE. + * + * @return array + */ + public function disable_emoji_tinymce( $plugins ) { + _deprecated_function( 'WP_Rocket\Engine\Media\Emojis\EmojisSubscriber::disable_emoji_tinymce', '3.8' ); + + if ( ! $this->can_disable_emoji() ) { + return $plugins; + } + + if ( is_array( $plugins ) ) { + return array_diff( $plugins, [ 'wpemoji' ] ); + } + + return []; + } + + /** + * Check for emoji option enabled & not bypassed. + * + * @since 3.7 + * + * @return bool + */ + private function can_disable_emoji() { + return ! rocket_bypass() && (bool) $this->options->get( 'emoji', 0 ); + } +} diff --git a/inc/Engine/Media/ImageDimensions/AdminSubscriber.php b/inc/Engine/Media/ImageDimensions/AdminSubscriber.php new file mode 100644 index 0000000..1e84d46 --- /dev/null +++ b/inc/Engine/Media/ImageDimensions/AdminSubscriber.php @@ -0,0 +1,59 @@ +dimensions = $dimensions; + } + + /** + * Returns an array of events this listens to + * + * @return array + */ + public static function get_subscribed_events(): array { + return [ + 'rocket_first_install_options' => [ 'add_option', 14 ], + 'rocket_input_sanitize' => [ 'sanitize_option', 10, 2 ], + ]; + } + + /** + * Add the images dimensions option to the WP Rocket options array + * + * @param array $options WP Rocket options array. + * @return array + */ + public function add_option( array $options ): array { + return $this->dimensions->add_option( $options ); + } + + /** + * Sanitizes the option value when saving from the settings page + * + * @since 3.8 + * + * @param array $input Array of sanitized values after being submitted by the form. + * @param Settings $settings Settings class instance. + * @return array + */ + public function sanitize_option( array $input, Settings $settings ): array { + return $this->dimensions->sanitize_option_value( $input, $settings ); + } +} diff --git a/inc/Engine/Media/ImageDimensions/ImageDimensions.php b/inc/Engine/Media/ImageDimensions/ImageDimensions.php new file mode 100644 index 0000000..73e7938 --- /dev/null +++ b/inc/Engine/Media/ImageDimensions/ImageDimensions.php @@ -0,0 +1,589 @@ +options = $options; + + if ( null === $filesystem ) { + $filesystem = rocket_direct_filesystem(); + } + + $this->filesystem = $filesystem; + } + + /** + * Adds the images dimensions option to WP Rocket options array + * + * @since 3.8 + * + * @param array $options WP Rocket options array. + * @return array + */ + public function add_option( array $options ): array { + $options['image_dimensions'] = 0; + + return $options; + } + + /** + * Sanitizes the option value when saving from the settings page + * + * @since 3.8 + * + * @param array $input Array of sanitized values after being submitted by the form. + * @param Settings $settings Settings class instance. + * @return array + */ + public function sanitize_option_value( array $input, Settings $settings ): array { + $input['image_dimensions'] = $settings->sanitize_checkbox( $input, 'image_dimensions' ); + + return $input; + } + + /** + * Specify image dimensions and insert it into images. + * + * @param string $html Buffer Page HTML contents. + * + * @return string Buffer Page HTML contents after inserting dimentions into images. + */ + public function specify_image_dimensions( $html ) { + Logger::debug( 'Start Specify Image Dimensions.' ); + + if ( ! $this->can_specify_dimensions_images() ) { + Logger::debug( 'Specify Image Dimensions failed because option is not enabled from admin or by filter (rocket_specify_image_dimensions).' ); + return $html; + } + + // Get all images without width and height attributes. + $images_regex = '](?!height=[\'\"](?:\S+)[\'\"]))*+>|](?!width=[\'\"](?:\S+)[\'\"]))*+>'; + + /** + * Filters Specify image dimensions inside picture tags also. + * + * @since 3.8 + * + * @param bool Do or not. Default is True, so it will skip all img tags that are inside picture tag. + */ + if ( apply_filters( 'rocket_specify_dimension_skip_pictures', true ) ) { + $images_regex = '<\s*picture[^>]*>.*<\s*\/\s*picture\s*>(*SKIP)(*FAIL)|' . $images_regex; + } + + $clean_html = $this->hide_scripts( $html ); + $clean_html = $this->hide_noscripts( $clean_html ); + + preg_match_all( "/{$images_regex}/Uis", $clean_html, $images_match ); + + if ( empty( $images_match ) ) { + Logger::debug( 'Specify Image Dimensions failed because there is no image without dimensions on this page.' ); + return $html; + } + + $replaces = []; + + /** + * Filters Page images passed to specify dimensions. + * + * @since 3.8 + * + * @param array Page images. + */ + $images = apply_filters( 'rocket_specify_dimension_images', $images_match[0] ); + + Logger::debug( 'Specify Image Dimensions found ( ' . count( $images ) . ' ).', $images ); + + foreach ( $images as $image ) { + $image_url = $this->can_specify_dimensions_one_image( $image ); + + if ( ! $image_url ) { + Logger::debug( + 'Specify Image Dimensions failed because it has attribute (data-lazy-original or data-no-image-dimensions) or it\'s without src.', + [ 'image' => $image ] + ); + continue; + } + + $sizes = $this->get_image_sizes( $image_url ); + + if ( ! $sizes ) { + continue; + } + + $width_height = $this->set_dimensions( $image, $sizes ); + + if ( ! $width_height ) { + continue; + } + + // Replace image with new attributes, we will replace all images at once after the loop for optimizations. + $replaces[ $image ] = $this->assign_width_height( $image, $width_height ); + } + + if ( empty( $replaces ) ) { + return $html; + } + + return str_replace( array_keys( $replaces ), $replaces, $html ); + } + + /** + * Determines if the file is external. + * + * @since 3.8 + * + * @param string $url URL of the file. + * @return bool True if external, false otherwise. + */ + private function is_external_file( $url ) { + $file = get_rocket_parse_url( $url ); + + if ( ! empty( $file['query'] ) ) { + return true; + } + + if ( empty( $file['path'] ) ) { + return true; + } + + $parsed_site_url = wp_parse_url( site_url() ); + + if ( empty( $parsed_site_url['host'] ) ) { + return true; + } + + /** + * Filters the allowed hosts for optimization + * + * @since 3.4 + * + * @param array $hosts Allowed hosts. + * @param array $zones Zones to check available hosts. + */ + $hosts = (array) apply_filters( 'rocket_cdn_hosts', [], [ 'all' ] ); + $hosts[] = $parsed_site_url['host']; + $langs = get_rocket_i18n_uri(); + + // Get host for all langs. + foreach ( $langs as $lang ) { + $url_host = wp_parse_url( $lang, PHP_URL_HOST ); + + if ( ! isset( $url_host ) ) { + continue; + } + + $hosts[] = $url_host; + } + + $hosts = array_unique( $hosts ); + + if ( empty( $hosts ) ) { + return true; + } + + // URL has domain and domain is part of the internal domains. + if ( ! empty( $file['host'] ) ) { + foreach ( $hosts as $host ) { + if ( false !== strpos( $file['host'], $host ) ) { + return false; + } + } + + return true; + } + + return false; + } + + /** + * Get local absolute path for image. + * + * @param string $url Image url. + * + * @return string Image absolute local path. + */ + private function get_local_path( $url ) { + $url = $this->normalize_url( $url ); + + $path = rocket_url_to_path( $url ); + if ( $path ) { + return $path; + } + + $relative_url = ltrim( wp_make_link_relative( $url ), '/' ); + $ds = rocket_get_constant( 'DIRECTORY_SEPARATOR' ); + $base_path = isset( $_SERVER['DOCUMENT_ROOT'] ) ? ( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ) . $ds ) : ''; + + return $base_path . str_replace( '/', $ds, $relative_url ); + } + + /** + * Check if we can specify dimensions for external images. + * + * @return bool Valid to be parsed or not. + */ + private function can_specify_dimensions_external_images() { + /** + * Enable/Disable specify image dimensions for external images. + * + * @since 3.8 + * + * @param bool Specify image dimensions for external images or not. + */ + return ini_get( 'allow_url_fopen' ) && apply_filters( 'rocket_specify_image_dimensions_for_distant', false ); + } + + /** + * Sets the width and height dimensions string + * + * @param string $image Image HTML element. + * @param array $sizes Array of data created by getimagesize(). + * + * @return string|false + */ + private function set_dimensions( string $image, array $sizes ) { + preg_match( '/[^\'\"\s]+)[\'\"]?.*>/i', $image, $initial_height ); + preg_match( '/[^\'\"\s]+)[\'\"]?.*>/i', $image, $initial_width ); + + if ( + empty( $initial_height['height'] ) + && + empty( $initial_width['width'] ) + ) { + return $sizes[3]; + } + + if ( ! empty( $initial_height['height'] ) ) { + if ( ! is_numeric( $initial_height['height'] ) ) { + Logger::debug( + 'Specify Image Dimensions failed because specified height is not numeric.', + [ 'image' => $image ] + ); + + return false; + } + + $ratio = $initial_height['height'] / $sizes[1]; + + return 'width="' . (int) round( $sizes[0] * $ratio ) . '" height="' . $initial_height['height'] . '"'; + } + + if ( ! empty( $initial_width['width'] ) ) { + if ( ! is_numeric( $initial_width['width'] ) ) { + Logger::debug( + 'Specify Image Dimensions failed because specified width is not numeric.', + [ 'image' => $image ] + ); + + return false; + } + + $ratio = $initial_width['width'] / $sizes[0]; + + return 'width="' . $initial_width['width'] . '" height="' . (int) round( $sizes[1] * $ratio ) . '"'; + } + } + + /** + * Assign width and height attributes to the img tag. + * + * @param string $image IMG tag. + * @param string $width_height Width/Height attributes in ready state like [height="100" width="100"]. + * + * @return string IMG tag after adding attributes otherwise return the input img when error. + */ + private function assign_width_height( string $image, string $width_height ): string { + // Remove old width and height attributes if found. + $changed_image = preg_replace( '/\s(height|width)=(?:[\'"]?(?:[^\'\"\s]+)*[\'"]?)?/i', '', $image ); + $changed_image = preg_replace( '/<\s*img/i', 'filesystem->exists( $image ); + } + + $file_headers = get_headers( $image ); + + if ( ! $file_headers ) { + return false; + } + + return false !== strstr( $file_headers[0], '200' ); + } + + /** + * Check if we can specify image dimensions for all images. + * + * @return bool Can we or not. + */ + private function can_specify_dimensions_images(): bool { + /** + * Filter images dimensions attributes process. + * + * @since 2.2 + * + * @param bool Do the job or not. + */ + return apply_filters( 'rocket_specify_image_dimensions', false ) + || + $this->options->get( 'image_dimensions', false ); + } + + /** + * Check if we can specify image dimensions for one image. + * + * @param string $image Full img tag. + * + * @return false|string false if we can't specify for this image otherwise get img src attribute. + */ + private function can_specify_dimensions_one_image( string $image ) { + // Don't touch lazy-load file (no conflict with Photon (Jetpack)). + if ( + false !== strpos( $image, 'data-lazy-original' ) + || + false !== strpos( $image, 'data-no-image-dimensions' ) + || + ! preg_match( '/\s+src\s*=\s*[\'"](?[^\'"]+)/i', $image, $src_match ) + ) { + return false; + } + + return $src_match['url']; + } + + /** + * Get Image sizes. + * + * @param string $image_url Image url to get sizes for. + * + * @return array|false Get image sizes otherwise false. + */ + private function get_image_sizes( string $image_url ) { + if ( $this->is_external_file( $image_url ) ) { + $image_url = $this->normalize_url( $image_url ); + + if ( ! $this->can_specify_dimensions_external_images() ) { + Logger::debug( + 'Specify Image Dimensions failed because you/server disabled specifying dimensions for external images.', + [ 'image_url' => $image_url ] + ); + return false; + } + + if ( ! $this->image_exists( $image_url, true ) ) { + Logger::debug( + 'Specify Image Dimensions failed because external image not found.', + [ 'image_url' => $image_url ] + ); + return false; + } + + $sizes = $this->getimagesize( $image_url ); + + if ( ! $sizes ) { + Logger::debug( + 'Specify Image Dimensions failed because image is not valid.', + [ 'image_url' => $image_url ] + ); + return false; + } + + return $sizes; + } + + $local_path = $this->get_local_path( $image_url ); + + if ( ! $this->image_exists( $local_path, false ) ) { + Logger::debug( + 'Specify Image Dimensions failed because internal image is not found.', + [ 'image_url' => $image_url ] + ); + + return false; + } + + $sizes = $this->getimagesize( $local_path ); + + if ( ! $sizes ) { + Logger::debug( + 'Specify Image Dimensions failed because image is not valid.', + [ 'image_url' => $image_url ] + ); + + return false; + } + + return $sizes; + } + + /** + * Gets image sizes for the given file + * + * @param string $filename File we want to retrieve information about. + * + * @return array|false + */ + private function getimagesize( string $filename ) { + $file = new SplFileInfo( strtok( $filename, '?' ) ); + + if ( 'svg' === $file->getExtension() ) { + return $this->svg_getimagesize( $filename ); + } + + return getimagesize( $filename ); + } + + /** + * Gets image sizes for the given SVG file + * + * Uses the width/height attributes if present, or fallback to viewBox attribute + * + * @param string $filename File we want to retrieve information about. + * + * @return array|false + */ + private function svg_getimagesize( string $filename ) { + $svgfile = simplexml_load_file( rawurlencode( $filename ), 'SimpleXMLElement', rocket_get_constant( 'LIBXML_NOERROR', 32 ) | rocket_get_constant( 'LIBXML_NOWARNING', 64 ) ); + + if ( ! $svgfile ) { + return false; + } + + $width = $this->format_svg_value( (string) $svgfile->attributes()->width ); + $height = $this->format_svg_value( (string) $svgfile->attributes()->height ); + $size = []; + + if ( + ! empty( $width ) + && + ! empty( $height ) + ) { + $size[0] = $width; + $size[1] = $height; + $size[2] = 0; + $size[3] = 'width="' . absint( $width ) . '" height="' . absint( $height ) . '"'; + + return $size; + } + + $view_box = preg_split( '/[\s,]+/', (string) $svgfile->attributes()->viewBox ); + + if ( ! empty( $view_box ) ) { + if ( + ! empty( $view_box[2] ) + && + ! empty( $view_box[3] ) + ) { + $size[0] = $view_box[2]; + $size[1] = $view_box[3]; + $size[2] = 0; + $size[3] = 'width="' . absint( $size[0] ) . '" height="' . absint( $size[1] ) . '"'; + + return $size; + } + + return false; + } + + return false; + } + + /** + * Formats the SVG width/height value in case of unusual units + * + * @since 3.10.8 + * + * @param string $value The value of the SVG width/height attribute. + * + * @return string + */ + private function format_svg_value( string $value ): string { + // No unit, we can use the value directly. + if ( is_numeric( $value ) ) { + return $value; + } + + if ( empty( $value ) ) { + return $value; + } + + $px_pattern = '/([0-9]+)\s*px/i'; + + // If pixel unit, remove the unit and return the numeric value. + if ( preg_match( $px_pattern, $value ) ) { + return preg_replace( $px_pattern, '$1', $value ); + } + + // Return an empty string for other units. + return ''; + } + + /** + * Normalize relative url to full url. + * + * @param string $url Url to be normalized. + * + * @return string Normalized url. + */ + private function normalize_url( string $url ): string { + $url_host = wp_parse_url( $url, PHP_URL_HOST ); + + if ( empty( $url_host ) ) { + $relative_url = ltrim( wp_make_link_relative( $url ), '/' ); + $site_url_components = wp_parse_url( site_url( '/' ) ); + return $site_url_components['scheme'] . '://' . $site_url_components['host'] . '/' . $relative_url; + } + + return $url; + } +} diff --git a/inc/Engine/Media/ImageDimensions/Subscriber.php b/inc/Engine/Media/ImageDimensions/Subscriber.php new file mode 100644 index 0000000..40de9b3 --- /dev/null +++ b/inc/Engine/Media/ImageDimensions/Subscriber.php @@ -0,0 +1,55 @@ +dimensions = $dimensions; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ 'specify_image_dimensions', 17 ], + ]; + } + + /** + * Update images that have no width/height with real dimentions. + * + * @param string $buffer Page HTML content. + * + * @return string Page HTML content after update. + */ + public function specify_image_dimensions( $buffer ) { + if ( rocket_bypass() ) { + return $buffer; + } + + return $this->dimensions->specify_image_dimensions( $buffer ); + } +} diff --git a/inc/Engine/Media/Lazyload/AdminSubscriber.php b/inc/Engine/Media/Lazyload/AdminSubscriber.php new file mode 100644 index 0000000..dbbe11d --- /dev/null +++ b/inc/Engine/Media/Lazyload/AdminSubscriber.php @@ -0,0 +1,67 @@ + [ 'add_option', 15 ], + 'rocket_input_sanitize' => 'sanitize_exclude_lazyload', + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 7 ], + ]; + } + + /** + * Adds the exclude lazyload option to WP Rocket options array + * + * @since 3.8 + * + * @param array $options WP Rocket options array. + * @return array + */ + public function add_option( array $options ): array { + $options['exclude_lazyload'] = []; + + return $options; + } + + /** + * Sanitizes the exclude lazyload input when saving the option + * + * @since 3.8 + * + * @param array $input Input array. + * @return array + */ + public function sanitize_exclude_lazyload( array $input ): array { + if ( empty( $input['exclude_lazyload'] ) ) { + $input['exclude_lazyload'] = []; + } + + $input['exclude_lazyload'] = rocket_sanitize_textarea_field( 'exclude_lazyload', $input['exclude_lazyload'] ); + + return $input; + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['lazyload'] = __( 'LazyLoad for images', 'rocket' ); + $fields['lazyload_iframes'] = __( 'LazyLoad for iframes/videos', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Admin/ServiceProvider.php b/inc/Engine/Media/Lazyload/CSS/Admin/ServiceProvider.php new file mode 100644 index 0000000..4d0c1c3 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Admin/ServiceProvider.php @@ -0,0 +1,36 @@ +getContainer()->share( 'lazyload_css_admin_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_cache' ) ); + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php b/inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php new file mode 100644 index 0000000..59f0acf --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php @@ -0,0 +1,81 @@ +cache = $cache; + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 8 ], + 'admin_notices' => 'maybe_add_error_notice', + 'rocket_safe_mode_reset_options' => 'add_option_safemode', + ]; + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['lazyload_css_bg_img'] = __( 'LazyLoad CSS backgrounds', 'rocket' ); + return $fields; + } + + /** + * Maybe display the error notice. + * + * @return void + */ + public function maybe_add_error_notice() { + if ( ! current_user_can( 'rocket_manage_options' ) || $this->cache->is_accessible() ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => rocket_notice_writing_permissions( $this->cache->get_root_path() ), + ] + ); + } + + /** + * Add option to safe mode. + * + * @param string[] $options Safe mode options. + * @return string[] + */ + public function add_option_safemode( array $options ) { + $options['lazyload_css_bg_img'] = 0; + return $options; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Context/LazyloadCSSContext.php b/inc/Engine/Media/Lazyload/CSS/Context/LazyloadCSSContext.php new file mode 100644 index 0000000..54ddce8 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Context/LazyloadCSSContext.php @@ -0,0 +1,55 @@ +cache = $cache; + } + + /** + * Determine if the action is allowed. + * + * @param array $data Data to pass to the context. + * @return bool + */ + public function is_allowed( array $data = [] ): bool { + $is_allowed = $this->run_common_checks( + [ + 'do_not_optimize' => false, + 'bypass' => false, + 'option' => 'lazyload_css_bg_img', + 'password_protected' => false, + 'post_excluded' => 'lazyload_css_bg_img', + 'logged_in' => false, + ] + ); + + if ( ! $is_allowed || ! $this->should_lazyload() ) { + return false; + } + + return $this->cache->is_accessible(); + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Data/LazyloadCSSContentFactory.php b/inc/Engine/Media/Lazyload/CSS/Data/LazyloadCSSContentFactory.php new file mode 100644 index 0000000..677cbd9 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Data/LazyloadCSSContentFactory.php @@ -0,0 +1,34 @@ +set_urls( $formatted_urls ); + $lazyloaded_content->set_content( $content ); + return $lazyloaded_content; + } + + /** + * Make ProtectedContent instance. + * + * @param array $protected_files Protected files. + * @param string $content Content. + * @return ProtectedContent + */ + public function make_protected_content( array $protected_files, string $content ): ProtectedContent { + $protected_content = new ProtectedContent(); + $protected_content->set_content( $content ); + $protected_content->set_protected_files_mapping( $protected_files ); + return $protected_content; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Data/LazyloadedContent.php b/inc/Engine/Media/Lazyload/CSS/Data/LazyloadedContent.php new file mode 100644 index 0000000..0dae0b7 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Data/LazyloadedContent.php @@ -0,0 +1,58 @@ +urls; + } + + /** + * Set URls extracted from the content. + * + * @param array $urls URls extracted from the content. + * @return void + */ + public function set_urls( array $urls ): void { + $this->urls = $urls; + } + + /** + * Get lazyloaded content. + * + * @return string + */ + public function get_content(): string { + return $this->content; + } + + /** + * Set lazyloaded content. + * + * @param string $content Lazyloaded content. + * @return void + */ + public function set_content( string $content ): void { + $this->content = $content; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Data/ProtectedContent.php b/inc/Engine/Media/Lazyload/CSS/Data/ProtectedContent.php new file mode 100644 index 0000000..43342fd --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Data/ProtectedContent.php @@ -0,0 +1,58 @@ +content = $content; + } + + /** + * Get protected content. + * + * @return string + */ + public function get_content(): string { + return $this->content; + } + + /** + * Set mapping between protected files and their placeholder. + * + * @param array $protected_files_mapping Mapping between protected files and their placeholder. + * @return void + */ + public function set_protected_files_mapping( array $protected_files_mapping ): void { + $this->protected_files_mapping = $protected_files_mapping; + } + + /** + * Get mapping between protected files and their placeholder. + * + * @return array + */ + public function get_protected_files_mapping(): array { + return $this->protected_files_mapping; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Front/ContentFetcher.php b/inc/Engine/Media/Lazyload/CSS/Front/ContentFetcher.php new file mode 100644 index 0000000..f427f4d --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Front/ContentFetcher.php @@ -0,0 +1,64 @@ +filesystem = $filesystem ?: rocket_direct_filesystem(); + } + + /** + * Fetch content from the resource. + * + * @param string $path Path from the resource. + * @param string $destination Destination path. + * @return false|string + */ + public function fetch( string $path, string $destination ) { + $content = $this->fetch_content( $path ); + + if ( ! $content ) { + return false; + } + + $content = $this->move( $this->get_converter( $path, $destination ), $content, $path ); + + $this->set_cached_import( $path ); + + $content = $this->combine_imports( $content, $destination ); + + return $content; + } + + /** + * Fetch the content from the file. + * + * @param string $path Path to fetch. + * + * @return false|string + */ + protected function fetch_content( string $path ) { + if ( ! wp_http_validate_url( $path ) ) { + return $this->filesystem->get_contents( $path ); + } + return wp_remote_retrieve_body( wp_remote_get( $path ) ); + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Front/Extractor.php b/inc/Engine/Media/Lazyload/CSS/Front/Extractor.php new file mode 100644 index 0000000..2a43ca0 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Front/Extractor.php @@ -0,0 +1,230 @@ +comments_mapping = []; + + $comment_regex = '#/\*[^*]*\*+([^/][^*]*\*+)*/#'; + + $content = preg_replace_callback( + $comment_regex, + function ( $matches ) { + $id = '/*' . uniqid( 'bg_css_comment' ) . '*/'; + $this->comments_mapping[ $id ] = $matches[0]; + return $id; + }, + $content + ); + + $background_regex = '(?[ \-,:\w.()\n\r^>[*"\'=\]#]+)\s?{[^{}]*background\s*:(?[^;}]*)[^}]*}'; + + $background_image_regex = '(?[ \-,:\w.()\n\r>^[*"\'=\]#]+)\s?{[^{}]*background-image\s*:(?[^;}]*)[^}]*}'; + + /** + * Lazyload background property regex. + * + * @param string $regex Lazyload background property regex. + */ + $background_regex = $this->apply_string_filter( 'lazyload_css_extract_bg_property_regex', $background_regex ); + + /** + * Lazyload background property regex. + * + * @param string $regex Lazyload background property regex. + */ + $background_image_regex = $this->apply_string_filter( 'lazyload_css_extract_bg_img_property_regex', $background_image_regex ); + + $background_matches = $this->find( $background_regex, $content, 'mi' ); + $background_image_matches = $this->find( $background_image_regex, $content, 'mi' ); + + $matches = array_merge( $background_matches, $background_image_matches ); + + if ( empty( $matches ) ) { + return []; + } + + $results = []; + + foreach ( $matches as $match ) { + if ( ! key_exists( 'property', $match ) || ! key_exists( 'selector', $match ) ) { + continue; + } + + $property = $match['property']; + $selector = $match['selector']; + + $property = trim( $property ); + $selector = trim( $selector ); + + $urls = $this->extract_urls( $property ); + $block = trim( $match[0] ); + foreach ( $this->comments_mapping as $id => $comment ) { + $block = str_replace( $id, $comment, $block ); + } + + foreach ( $urls as $url ) { + $results[ $selector ][] = [ + 'selector' => $selector, + 'url' => $url['url'], + 'original' => $url['original'], + 'block' => $block, + ]; + } + } + + return $results; + } + + /** + * Extract URLS from a CSS property. + * + * @param string $content Content from the CSS property. + * @return array + */ + protected function extract_urls( string $content ): array { + + /** + * Lazyload URL regex. + * + * @param string $regex Lazyload URL regex. + */ + $regex = $this->apply_string_filter( 'lazyload_css_extract_url_regex', '(?url\([\'"]?(?[^\)]*)[\'"]?\))' ); + + $matches = $this->find( $regex, $content, 'mi' ); + + $output = []; + + /** + * Lazyload ignored URLs. + * + * @param string[] $urls Ignored URLs. + */ + $ignored_urls = (array) apply_filters( 'rocket_lazyload_css_ignored_urls', [] ); + + foreach ( $matches as $match ) { + + $url = $match['url'] ?: ''; + $url = str_replace( '"', '', $url ); + $url = str_replace( "'", '', $url ); + $url = trim( $url ); + $url = $this->make_url_complete( $url ); + if ( ! key_exists( 'tag', $match ) || ! key_exists( 'url', $match ) || ! $url || $this->is_url_ignored( $url, $ignored_urls ) ) { + continue; + } + + if ( ! $this->is_url_external( $url ) && ! $this->is_relative( $url ) ) { + $url = $this->apply_string_filter( 'css_url', $url ); + } + + $url = "url('$url')"; + $original_url = trim( $match['tag'], ' ,' ); + $output[] = [ + 'url' => $url, + 'original' => $original_url, + ]; + } + + return $output; + } + + /** + * Apply a string filter. + * + * @param string $name Name from the filter. + * @param string $value Value to pass to the filter that will be returned. + * @param array ...$args Additional values. + * @return string + */ + protected function apply_string_filter( string $name, string $value, ...$args ) { + $output = apply_filters( 'rocket_' . $name, $value, ...$args ); + + if ( ! is_string( $output ) ) { + return $value; + } + + return $output; + } + + /** + * Check if the URLs is ignored. + * + * @param string $url URL to check. + * @param array $ignored_urls List of ignored URLs. + * + * @return bool + */ + protected function is_url_ignored( string $url, array $ignored_urls ): bool { + foreach ( $ignored_urls as $ignored_url ) { + if ( strpos( $url, $ignored_url ) !== false ) { + return true; + } + } + return false; + } + + /** + * Complete the URL if necessary. + * + * @param string $url URL to complete. + * + * @return string + */ + protected function make_url_complete( string $url ): string { + $host = wp_parse_url( $url, PHP_URL_HOST ); + + if ( $host || $this->is_relative( $url ) ) { + return $url; + } + + return rocket_get_home_url() . '/' . trim( $url, '/ ' ); + } + + /** + * Check if the URL is external. + * + * @param string $url URL to check. + * + * @return bool + */ + protected function is_url_external( string $url ): bool { + $host = wp_parse_url( $url, PHP_URL_HOST ); + if ( ! $host ) { + return false; + } + + $home_host = wp_parse_url( rocket_get_home_url(), PHP_URL_HOST ); + + return $host !== $home_host; + } + + /** + * Check if the URL is relative. + * + * @param string $url URL to check. + * @return bool + */ + protected function is_relative( string $url ): bool { + return preg_match( '/^\./', $url ); + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Front/FileResolver.php b/inc/Engine/Media/Lazyload/CSS/Front/FileResolver.php new file mode 100644 index 0000000..3a02112 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Front/FileResolver.php @@ -0,0 +1,23 @@ +remove_pseudo_classes( $selector ); + $url = $datum['url']; + + $placeholder = "--wpr-bg-$hash"; + $variable_placeholder = ':root{' . $placeholder . ': ' . $url . ';}'; + $formatted_urls[] = [ + 'selector' => $selector, + 'style' => $variable_placeholder, + 'hash' => $hash, + ]; + } + + return $formatted_urls; + } + + /** + * Get pseudo elements to remove. + * + * @return string[] + */ + private function get_pseudo_elements_to_remove() { + $original_pseudo_elements = [ + ':before', + ':after', + ':first-line', + ':first-letter', + ':active', + ':hover', + ':focus', + ':visited', + ':focus-within', + ':focus-visible', + ]; + + /** + * Pseudo elements to remove from lazyload CSS selector. + * + * @param string[] Pseudo elements to remove. + */ + $pseudo_elements_to_remove = apply_filters( 'rocket_lazyload_css_ignored_pseudo_elements', $original_pseudo_elements ); + + if ( ! is_array( $original_pseudo_elements ) ) { + $pseudo_elements_to_remove = $original_pseudo_elements; + } + + usort( + $pseudo_elements_to_remove, + static function ( $first, $second ) { + if ( strlen( $first ) === strlen( $second ) ) { + return 0; + } + return ( strlen( $first ) > strlen( $second ) ) ? -1 : 1; + } + ); + + return $pseudo_elements_to_remove; + } + + /** + * Remove pseudo classes from the selector while mapping on each selector. + * + * @param string $selector Selector to clean. + * @return string + */ + public function remove_pseudo_classes_for_selector( string $selector ): string { + $selector = preg_replace( '/::[\w-]+/', '', $selector ); + + $pseudo_elements_to_remove = $this->get_pseudo_elements_to_remove(); + foreach ( $pseudo_elements_to_remove as $element ) { + $selector = str_replace( $element, '', $selector ); + } + if ( in_array( substr( $selector, -1 ), [ '&', '~', '+', '>' ], true ) ) { + $selector .= '*'; + } + + if ( ! $selector ) { + return 'body'; + } + + return $selector; + } + + + /** + * Remove pseudo classes from the selector. + * + * @param string $selector Selector to clean. + * @return string + */ + protected function remove_pseudo_classes( string $selector ): string { + $selectors = explode( ',', $selector ); + + $selectors = array_map( [ $this, 'remove_pseudo_classes_for_selector' ], $selectors ); + + $selectors = array_unique( $selectors ); + + $selector = implode( ',', $selectors ); + + if ( ! $selector ) { + return 'body'; + } + + return (string) $selector; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Front/RuleFormatter.php b/inc/Engine/Media/Lazyload/CSS/Front/RuleFormatter.php new file mode 100644 index 0000000..59feb02 --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Front/RuleFormatter.php @@ -0,0 +1,71 @@ + [ + $datum, + ], + 'block' => $datum['block'], + ]; + } + + foreach ( $blocks as $block ) { + $replaced_block = null; + foreach ( $block['items'] as $datum ) { + if ( ! key_exists( 'selector', $datum ) || ! key_exists( 'original', $datum ) || ! key_exists( 'block', $datum ) || ! key_exists( 'hash', $datum ) ) { + return $css; + } + + $original_block = $datum['block']; + $replaced_block = $replaced_block ?: $datum['block']; + $url = $datum['original']; + + $hash = $datum['hash']; + + $placeholder = "--wpr-bg-$hash"; + $variable_placeholder = "var($placeholder)"; + + $replaced_block = str_replace( $url, $variable_placeholder, $replaced_block ); + + } + + $css = str_replace( $original_block, $replaced_block, $css ); + } + + return $css; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Front/TagGenerator.php b/inc/Engine/Media/Lazyload/CSS/Front/TagGenerator.php new file mode 100644 index 0000000..895d4af --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Front/TagGenerator.php @@ -0,0 +1,50 @@ +"; + + $nostyle_content = ''; + foreach ( $mapping as $item ) { + $nostyle_content .= $item['style']; + } + $nostyle_tag = ""; + + $mapping_json = wp_json_encode( $mapping ); + $loaded_json = wp_json_encode( $loaded ); + + $script_content = "const rocket_pairs = $mapping_json; const rocket_excluded_pairs = $loaded_json;"; + + $script_tag = ""; + + return "$loaded_tag\n$nostyle_tag\n$script_tag"; + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/ServiceProvider.php b/inc/Engine/Media/Lazyload/CSS/ServiceProvider.php new file mode 100644 index 0000000..1cf3f2d --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/ServiceProvider.php @@ -0,0 +1,73 @@ +getLeagueContainer()->add( 'lazyload_css_cache', FilesystemCache::class ) + ->addArgument( apply_filters( 'rocket_lazyload_css_cache_root', 'background-css/' . get_current_blog_id() ) ); + + $cache = $this->getContainer()->get( 'lazyload_css_cache' ); + + $this->getLeagueContainer()->add( 'lazyload_css_context', LazyloadCSSContext::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $cache ); + + $this->getLeagueContainer()->add( 'lazyload_css_fetcher', ContentFetcher::class ); + + $this->getLeagueContainer()->add( 'lazyload_css_extractor', Extractor::class ); + $this->getLeagueContainer()->add( 'lazyload_css_file_resolver', FileResolver::class ); + $this->getLeagueContainer()->add( 'lazyload_css_json_formatter', MappingFormatter::class ); + $this->getLeagueContainer()->add( 'lazyload_css_rule_formatter', RuleFormatter::class ); + $this->getLeagueContainer()->add( 'lazyload_css_tag_generator', TagGenerator::class ); + + $this->getLeagueContainer()->add( 'lazyload_css_factory', LazyloadCSSContentFactory::class ); + + $this->getLeagueContainer()->share( 'lazyload_css_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_extractor' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_rule_formatter' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_file_resolver' ) ) + ->addArgument( $cache ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_json_formatter' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_tag_generator' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_fetcher' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_context' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_css_factory' ) ); + } +} diff --git a/inc/Engine/Media/Lazyload/CSS/Subscriber.php b/inc/Engine/Media/Lazyload/CSS/Subscriber.php new file mode 100644 index 0000000..c84adff --- /dev/null +++ b/inc/Engine/Media/Lazyload/CSS/Subscriber.php @@ -0,0 +1,721 @@ +extractor = $extractor; + $this->cache = $cache; + $this->rule_formatter = $rule_formatter; + $this->file_resolver = $file_resolver; + $this->mapping_formatter = $mapping_formatter; + $this->tag_generator = $tag_generator; + $this->context = $context; + $this->options = $options; + $this->fetcher = $fetcher; + $this->lazyloaded_content_factory = $lazyloaded_content_factory; + $this->filesystem = $filesystem ?: rocket_direct_filesystem(); + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_generate_lazyloaded_css' => [ + [ 'create_lazy_css_files', 18 ], + [ 'create_lazy_inline_css', 21 ], + [ 'add_lazy_tag', 24 ], + ], + 'rocket_buffer' => [ 'maybe_replace_css_images', 1002 ], + 'after_rocket_clean_domain' => 'clear_generated_css', + 'wp_enqueue_scripts' => 'insert_lazyload_script', + 'rocket_css_image_lazyload_images_load' => [ 'exclude_rocket_lazyload_excluded_src', 10, 2 ], + 'rocket_lazyload_css_ignored_urls' => 'remove_svg_from_lazyload_css', + ]; + } + + /** + * Replace CSS images by the lazyloaded version. + * + * @param string $html page HTML. + * @return string + */ + public function maybe_replace_css_images( string $html ): string { + + if ( ! $this->context->is_allowed() ) { + return $html; + } + + $this->logger::debug( + 'Starting lazyload', + $this->generate_log_context( + [ + 'data' => $html, + ] + ) + ); + + /** + * Generate lazyload CSS for the page. + * + * @param array $data Data passed to generate the lazyload CSS. + */ + $output = apply_filters( + 'rocket_generate_lazyloaded_css', + [ + 'html' => $html, + ] + ); + + if ( ! is_array( $output ) || ! key_exists( 'html', $output ) ) { + $this->logger::debug( + 'Lazyload bailed out', + $this->generate_log_context( + [ + 'data' => $html, + ] + ) + ); + return $html; + } + + $this->logger::debug( + 'Ending lazyload', + $this->generate_log_context( + [ + 'data' => $html, + ] + ) + ); + + return $output['html']; + } + + /** + * Clear the lazyload CSS files. + * + * @return void + */ + public function clear_generated_css() { + $this->logger::debug( + 'Clear lazy CSS', + $this->generate_log_context() + ); + $this->cache->clear(); + } + + /** + * Insert the lazyload script. + * + * @return void + */ + public function insert_lazyload_script() { + if ( ! $this->context->is_allowed() ) { + return; + } + + /** + * Filters the threshold at which lazyload is triggered + * + * @since 1.2 + * + * @param int $threshold Threshold value. + */ + $threshold = (int) apply_filters( 'rocket_lazyload_threshold', 300 ); + + $script_path = rocket_get_constant( 'WP_ROCKET_ASSETS_JS_PATH' ) . 'lazyload-css.min.js'; + + if ( ! $this->filesystem->exists( $script_path ) ) { + return; + } + + $content = $this->filesystem->get_contents( $script_path ); + + if ( ! $content ) { + return; + } + + wp_register_script( 'rocket_lazyload_css', '', [], false, true ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.NoExplicitVersion + wp_enqueue_script( 'rocket_lazyload_css' ); + wp_add_inline_script( 'rocket_lazyload_css', $content, 'after' ); + wp_localize_script( + 'rocket_lazyload_css', + 'rocket_lazyload_css_data', + [ + 'threshold' => $threshold, + ] + ); + } + + /** + * Create the lazyload file for CSS files. + * + * @param array $data Data sent. + * @return array + */ + public function create_lazy_css_files( array $data ): array { + if ( ! key_exists( 'html', $data ) || ! key_exists( 'css_files', $data ) ) { + $this->logger::debug( + 'Create lazy css files bailed out', + $this->generate_log_context( + [ + 'data' => $data, + ] + ) + ); + return $data; + } + + $html = $data['html']; + $html = $this->replace_html_comments( $html ); + $mapping = []; + + $css_files = array_unique( $data['css_files'] ); + + $protected_content = $this->protect_css_urls( $html, $css_files ); + + $html = $protected_content->get_content(); + $css_files_mapping = $protected_content->get_protected_files_mapping(); + + foreach ( $css_files as $url ) { + + if ( $this->is_excluded( $url ) ) { + $this->logger::debug( + "Excluded lazy css files $url", + $this->generate_log_context() + ); + continue; + } + + $url_key = $this->format_url( $url ); + if ( ! $this->cache->has( $url_key ) ) { + $this->logger::debug( + "Generate lazy css files $url", + $this->generate_log_context() + ); + + $file_mapping = $this->generate_css_file( $url ); + if ( empty( $file_mapping ) ) { + $this->logger::debug( + "Create lazy css files $url bailed out", + $this->generate_log_context() + ); + continue; + } + + $mapping = array_merge( $mapping, $file_mapping ); + + } else { + $this->logger::debug( + "Load lazy css files $url", + $this->generate_log_context() + ); + $mapping = array_merge( $mapping, $this->load_existing_mapping( $url ) ); + } + + $cached_url = $this->generate_asset_url( $url ); + + $html = str_replace( $css_files_mapping[ $url ], $cached_url, $html ); + } + + foreach ( $css_files_mapping as $url => $placeholder ) { + $html = str_replace( $placeholder, $url, $html ); + } + + $html = $this->restore_html_comments( $html ); + + $data['html'] = $html; + + if ( ! key_exists( 'lazyloaded_images', $data ) ) { + $data['lazyloaded_images'] = []; + } + + $data['lazyloaded_images'] = array_merge( $data['lazyloaded_images'], $mapping ); + $data['lazyloaded_images'] = array_unique( $data['lazyloaded_images'], SORT_REGULAR ); + + return $data; + } + + /** + * Add the lazy tag to the current HTML. + * + * @param array $data Data sent. + * @return array + */ + public function add_lazy_tag( array $data ): array { + + if ( ! key_exists( 'html', $data ) || ! key_exists( 'lazyloaded_images', $data ) ) { + $this->logger::debug( + 'Add lazy tag bailed out', + $this->generate_log_context( + [ + 'data' => $data, + ] + ) + ); + return $data; + } + + $lazyload_images = $data['lazyloaded_images']; + + /** + * Lazyload background CSS excluded urls. + * + * @param array $excluded Excluded URLs. + * @param array $urls List of Urls processed. + */ + $loaded = apply_filters( 'rocket_css_image_lazyload_images_load', [], $lazyload_images ); + + $tags = $this->tag_generator->generate( $lazyload_images, $loaded ); + $this->logger::debug( + 'Add lazy tag generated', + $this->generate_log_context( + [ + 'data' => $tags, + ] + ) + ); + $data['html'] = str_replace( '', "$tags", $data['html'] ); + + return $data; + } + + /** + * Generate lazy CSS for a file. + * + * @param string $url Url from the CSS. + * @return array + */ + protected function generate_css_file( string $url ) { + $path = $this->file_resolver->resolve( $url ); + + if ( ! $path ) { + $path = $url; + } + + $content = $this->fetcher->fetch( $path, $this->cache->generate_path( $url ) ); + + if ( ! $content ) { + return []; + } + + $output = $this->generate_content( $content ); + + if ( count( $output->get_urls() ) === 0 ) { + return []; + } + + if ( ! $this->cache->set( $this->format_url( $url ), $output->get_content() ) ) { + return []; + } + + $this->cache->set( $this->get_mapping_file_url( $url ), json_encode( $output->get_urls() ) ); // phpcs:ignore WordPress.WP.AlternativeFunctions.json_encode_json_encode + + return $output->get_urls(); + } + + /** + * Generate lazy content for a certain content. + * + * @param string $content Content to generate lazy for. + * @return LazyloadedContent + */ + protected function generate_content( string $content ): LazyloadedContent { + $urls = $this->extractor->extract( $content ); + $formatted_urls = []; + foreach ( $urls as $url_tags ) { + $url_tags = $this->add_hashes( $url_tags ); + $content = $this->rule_formatter->format( $content, $url_tags ); + $formatted_urls = array_merge( $formatted_urls, $this->mapping_formatter->format( $url_tags ) ); + } + + return $this->lazyloaded_content_factory->make_lazyloaded_content( $formatted_urls, $content ); + } + + /** + * Load existing mapping for a URL. + * + * @param string $url Url we load mapping for. + * @return array + */ + protected function load_existing_mapping( string $url ) { + $content = $this->cache->get( $this->get_mapping_file_url( $url ) ); + $urls = json_decode( $content, true ); + if ( ! $urls ) { + return []; + } + return $urls; + } + + /** + * Create the lazyload file for inline CSS. + * + * @param array $data Data sent. + * @return array + */ + public function create_lazy_inline_css( array $data ): array { + + if ( ! key_exists( 'html', $data ) || ! key_exists( 'css_inline', $data ) ) { + $this->logger::debug( + 'Create lazy css inline bailed out', + $this->generate_log_context( + [ + 'data' => $data, + ] + ) + ); + return $data; + } + + $html = $data['html']; + + if ( ! key_exists( 'lazyloaded_images', $data ) ) { + $data['lazyloaded_images'] = []; + } + + foreach ( $data['css_inline'] as $content ) { + + $output = $this->generate_content( $content ); + + $html = str_replace( $content, $output->get_content(), $html ); + + $data['lazyloaded_images'] = array_merge( $data['lazyloaded_images'], $output->get_urls() ); + } + + $data['html'] = $html; + + return $data; + } + + /** + * Format a URL. + * + * @param string $url URL to format. + * @return string + */ + protected function format_url( string $url ): string { + return strtok( $url, '?' ); + } + + /** + * Check of the string is excluded. + * + * @param string $string String to check. + * @return bool + */ + protected function is_excluded( string $string ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.stringFound + + $values = [ + $string, + ]; + + $parsed_url_host = wp_parse_url( $string, PHP_URL_HOST ); + + if ( ! $parsed_url_host ) { + $values [] = rocket_get_home_url() . $string; + } + + /** + * Filters the src used to prevent lazy load from being applied. + * + * @param array $excluded_src An array of excluded src. + */ + $excluded_values = apply_filters( 'rocket_lazyload_excluded_src', [] ); + + if ( ! is_array( $excluded_values ) ) { + $excluded_values = (array) $excluded_values; + } + + if ( empty( $excluded_values ) ) { + return false; + } + + foreach ( $values as $value ) { + foreach ( $excluded_values as $excluded_value ) { + if ( strpos( $value, $excluded_value ) !== false ) { + return true; + } + } + } + + return false; + } + + /** + * Is the feature activated. + * + * @return bool + */ + protected function is_activated(): bool { + return (bool) $this->options->get( 'lazyload_css_bg_img', false ); + } + + /** + * Add lazyload_excluded_src to excluded filters. + * + * @param array $excluded Excluded URLs. + * @param array $urls List of Urls processed. + * @return mixed + */ + public function exclude_rocket_lazyload_excluded_src( $excluded, $urls ) { + + /** + * Filters the src used to prevent lazy load from being applied. + * + * @param array $excluded_src An array of excluded src. + */ + $excluded_values = apply_filters( 'rocket_lazyload_excluded_src', [] ); + + if ( ! is_array( $excluded_values ) ) { + $excluded_values = (array) $excluded_values; + } + + if ( empty( $excluded_values ) ) { + return $excluded; + } + + foreach ( $urls as $url ) { + foreach ( $excluded_values as $excluded_value ) { + if ( strpos( $url['selector'], $excluded_value ) !== false || strpos( $url['style'], $excluded_value ) !== false ) { + $excluded[] = $url; + break; + } + } + } + + return $excluded; + } + + /** + * Add hashes. + * + * @param array $tags Tags. + * @return array + */ + protected function add_hashes( array $tags ): array { + return array_map( + function ( $url_tag ) { + /** + * Lazyload CSS hash. + * + * @param string $hash Lazyload CSS hash. + */ + $url_tag['hash'] = apply_filters( 'rocket_lazyload_css_hash', wp_generate_uuid4(), $url_tag ); + return $url_tag; + }, + $tags + ); + } + + /** + * Return mapping file URL. + * + * @param string $url Resource URL. + * @return string + */ + protected function get_mapping_file_url( string $url ): string { + return $this->format_url( $url ) . '.json'; + } + + /** + * Add timestamp to URL. + * + * @param string $url Asset Url. + * + * @return string + */ + protected function generate_asset_url( string $url ): string { + $parsed_query = wp_parse_url( $url, PHP_URL_QUERY ); + $queries = []; + + if ( $parsed_query ) { + parse_str( $parsed_query, $queries ); + } + + $queries['wpr_t'] = current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested + + $cached_url = $this->cache->generate_url( $this->format_url( $url ) ); + + $this->logger::debug( + "Generated url lazy css files $url", + $this->generate_log_context( + [ + 'data' => $cached_url, + ] + ) + ); + + return add_query_arg( $queries, $cached_url ); + } + + /** + * Generate the context for logs. + * + * @param array $data Data to pass to logs. + * @return array + */ + protected function generate_log_context( array $data = [] ): array { + return array_merge( + $data, + [ + 'type' => 'lazyload_css_bg_images', + ] + ); + } + + /** + * Protect URL inside the content. + * + * @param string $content Content to protect. + * @param array $css_files CSS files from the content. + * @return ProtectedContent + */ + protected function protect_css_urls( string $content, array $css_files ): ProtectedContent { + usort( + $css_files, + function ( $url1, $url2 ) { + return strlen( $url1 ) < strlen( $url2 ) ? 1 : -1; + } + ); + + $css_files_mapping = []; + + foreach ( $css_files as $url ) { + $placeholder = uniqid( 'url_bg_css_' ); + + $content = str_replace( $url, $placeholder, $content ); + + $css_files_mapping[ $url ] = $placeholder; + } + + return $this->lazyloaded_content_factory->make_protected_content( $css_files_mapping, $content ); + } + + /** + * Exclude SVG from lazy loaded images. + * + * @param array $urls URLs to exclude. + * @return array + */ + public function remove_svg_from_lazyload_css( array $urls ): array { + $urls[] = 'data:image/svg+xml'; + + return $urls; + } +} diff --git a/inc/Engine/Media/Lazyload/CanLazyloadTrait.php b/inc/Engine/Media/Lazyload/CanLazyloadTrait.php new file mode 100644 index 0000000..6a30f1e --- /dev/null +++ b/inc/Engine/Media/Lazyload/CanLazyloadTrait.php @@ -0,0 +1,61 @@ +options = $options; + $this->assets = $assets; + $this->image = $image; + $this->iframe = $iframe; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.3 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'wp_footer' => [ + [ 'insert_lazyload_script', PHP_INT_MAX ], + [ 'insert_youtube_thumbnail_script', PHP_INT_MAX ], + ], + 'wp_head' => [ 'insert_nojs_style', PHP_INT_MAX ], + 'wp_enqueue_scripts' => [ 'insert_youtube_thumbnail_style', PHP_INT_MAX ], + 'rocket_buffer' => [ 'lazyload', 18 ], + 'rocket_lazyload_html' => 'lazyload_responsive', + 'init' => 'lazyload_smilies', + 'wp' => 'deactivate_lazyload_on_specific_posts', + 'wp_lazy_loading_enabled' => [ 'maybe_disable_core_lazyload', 10, 2 ], + 'rocket_lazyload_excluded_attributes' => 'add_exclusions', + 'rocket_lazyload_excluded_src' => 'add_exclusions', + 'rocket_lazyload_iframe_excluded_patterns' => 'add_exclusions', + ]; + } + + /** + * Inserts the lazyload script in the footer + * + * @since 3.3 + * + * @return void + */ + public function insert_lazyload_script() { + if ( ! $this->can_lazyload_images() && ! $this->can_lazyload_iframes() ) { + return; + } + + if ( ! $this->should_lazyload() ) { + return; + } + + $script_args = [ + 'base_url' => rocket_get_constant( 'WP_ROCKET_ASSETS_JS_URL' ) . 'lazyload/', + 'version' => self::SCRIPT_VERSION, + ]; + + $this->add_inline_script(); + $this->assets->insertLazyloadScript( $script_args ); + } + + /** + * Adds the inline lazyload script + * + * @since 3.6 + * + * @return void + */ + private function add_inline_script() { + $inline_script = $this->assets->getInlineLazyloadScript( $this->set_inline_script_args() ); + + if ( ! rocket_get_constant( 'SCRIPT_DEBUG' ) ) { + $inline_script = $this->minify_script( $inline_script ); + } + + echo ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } + + /** + * Sets the arguments array for the inline lazyload script + * + * @since 3.6 + * + * @return array + */ + private function set_inline_script_args() { + /** + * Filters the threshold at which lazyload is triggered + * + * @since 1.2 + * + * @param int $threshold Threshold value. + */ + $threshold = (int) apply_filters( 'rocket_lazyload_threshold', 300 ); + + $inline_args = [ + 'threshold' => $threshold, + ]; + + /** + * Filters the use of native lazyload + * + * @since 3.4 + * + * @param bool $use_native True to use native lazyload, false otherwise. + */ + if ( (bool) apply_filters( 'rocket_use_native_lazyload', false ) ) { + $inline_args['options']['use_native'] = true; + $inline_args['elements']['loading'] = '[loading=lazy]'; + } + + if ( $this->options->get( 'lazyload', 0 ) ) { + if ( ! $this->is_native_images() ) { + $inline_args['elements']['image'] = 'img[data-lazy-src]'; + } + + $inline_args['elements']['background_image'] = '.rocket-lazyload'; + } + + if ( (bool) $this->options->get( 'lazyload_iframes', 0 ) ) { + $inline_args['elements']['iframe'] = 'iframe[data-lazy-src]'; + } + + /** + * Filters the arguments array for the lazyload script options + * + * @since 3.3 + * + * @param array $inline_args Arguments used for the lazyload script options. + */ + return (array) apply_filters( 'rocket_lazyload_script_args', $inline_args ); + } + + /** + * Minifies the inline script + * + * @since 3.6 + * + * @param string $script Inline script to minify. + * @return string + */ + private function minify_script( $script ) { + $minify = new JS( $script ); + + return $minify->minify(); + } + + /** + * Inserts the Youtube thumbnail script in the footer + * + * @since 3.3 + * + * @return void + */ + public function insert_youtube_thumbnail_script() { + if ( ! $this->options->get( 'lazyload_youtube' ) || ! $this->can_lazyload_iframes() ) { + return; + } + + if ( ! $this->should_lazyload() ) { + return; + } + + /** + * Filters the resolution of the YouTube thumbnail + * + * @since 1.4.8 + * @deprecated 3.3 + * + * @param string $thumbnail_resolution The resolution of the thumbnail. Accepted values: default, mqdefault, hqdefault, sddefault, maxresdefault + */ + $thumbnail_resolution = apply_filters_deprecated( 'rocket_youtube_thumbnail_resolution', [ 'hqdefault' ], '3.3', 'rocket_lazyload_youtube_thumbnail_resolution' ); + + /** + * Filters the resolution of the YouTube thumbnail + * + * @since 1.4.8 + * + * @param string $thumbnail_resolution The resolution of the thumbnail. Accepted values: default, mqdefault, hqdefault, sddefault, maxresdefault + */ + $thumbnail_resolution = apply_filters( 'rocket_lazyload_youtube_thumbnail_resolution', $thumbnail_resolution ); + + /** + * Extension from the thumbnail from Youtube video. + * + * @param string $extension extension from the thumbnail from Youtube video. + * @returns string + */ + $extension = apply_filters( 'rocket_lazyload_youtube_thumbnail_extension', 'jpg' ); + + if ( ! is_string( $extension ) || ! in_array( $extension, [ 'jpg', 'webp' ], true ) ) { + $extension = 'jpg'; + } + + $this->assets->insertYoutubeThumbnailScript( + [ + 'resolution' => $thumbnail_resolution, + 'lazy_image' => (bool) $this->options->get( 'lazyload' ), + 'native' => $this->is_native_images(), + 'extension' => $extension, + ] + ); + } + + /** + * Inserts the no JS CSS compatibility in the header + * + * @since 3.3 + * + * @return void + */ + public function insert_nojs_style() { + if ( ! $this->should_lazyload() ) { + return; + } + + if ( ! $this->can_lazyload_images() && ! $this->can_lazyload_iframes() ) { + return; + } + + if ( ! $this->options->get( 'lazyload' ) && ! $this->options->get( 'lazyload_iframes' ) ) { + return; + } + + $this->assets->insertNoJSCSS(); + } + + /** + * Inserts the Youtube thumbnail CSS in the header + * + * @since 3.3 + * + * @return void + */ + public function insert_youtube_thumbnail_style() { + if ( ! $this->options->get( 'lazyload_youtube' ) || ! $this->can_lazyload_iframes() ) { + return; + } + + if ( ! $this->should_lazyload() ) { + return; + } + + $this->assets->insertYoutubeThumbnailCSS( + [ + 'base_url' => WP_ROCKET_ASSETS_URL, + 'responsive_embeds' => current_theme_supports( 'responsive-embeds' ), + ] + ); + } + + /** + * Applies lazyload on the provided content + * + * @since 3.3 + * + * @param string $html HTML content. + * @return string + */ + public function lazyload( $html ) { + if ( ! $this->should_lazyload() ) { + return $html; + } + + $buffer = $this->hide_scripts( $html ); + $buffer = $this->hide_noscripts( $buffer ); + + if ( $this->can_lazyload_iframes() ) { + $args = [ + 'youtube' => $this->options->get( 'lazyload_youtube' ), + ]; + + $html = $this->iframe->lazyloadIframes( $html, $buffer, $args ); + } + + if ( $this->can_lazyload_images() ) { + if ( ! $this->is_native_images() ) { + $html = $this->image->lazyloadPictures( $html, $buffer ); + + $buffer = $this->hide_scripts( $html ); + $buffer = $this->hide_noscripts( $buffer ); + } + + $html = $this->image->lazyloadImages( $html, $buffer, $this->is_native_images() ); + + /** + * Filters the application of lazyload on background images + * + * @since 3.3 + * + * @param bool $lazyload True to apply, false otherwise. + */ + if ( apply_filters( 'rocket_lazyload_background_images', true ) ) { + $html = $this->image->lazyloadBackgroundImages( $html, $buffer ); + } + } + + return $html; + } + + /** + * Applies lazyload on responsive images attributes srcset and sizes + * + * @since 3.3 + * + * @param string $html Image HTML. + * @return string + */ + public function lazyload_responsive( $html ) { + if ( $this->is_native_images() ) { + return $html; + } + + return $this->image->lazyloadResponsiveAttributes( $html ); + } + + /** + * Applies lazyload on WordPress smilies + * + * @since 3.3 + * + * @return void + */ + public function lazyload_smilies() { + if ( ! $this->should_lazyload() ) { + return; + } + + if ( ! $this->options->get( 'lazyload' ) ) { + return; + } + + $filters = [ + 'the_content' => 10, + 'the_excerpt' => 10, + 'comment_text' => 20, + ]; + + foreach ( $filters as $filter => $prio ) { + if ( ! has_filter( $filter ) ) { + continue; + } + + remove_filter( $filter, 'convert_smilies', $prio ); + add_filter( $filter, [ $this->image, 'convertSmilies' ], $prio ); + } + } + + /** + * Prevents lazyload if the option is unchecked on the WP Rocket options metabox for a post + * + * @since 3.3 + * + * @return void + */ + public function deactivate_lazyload_on_specific_posts() { + if ( is_rocket_post_excluded_option( 'lazyload' ) ) { + add_filter( 'do_rocket_lazyload', '__return_false' ); + } + + if ( is_rocket_post_excluded_option( 'lazyload_iframes' ) ) { + add_filter( 'do_rocket_lazyload_iframes', '__return_false' ); + } + } + + /** + * Disable WP core lazyload if our images lazyload is active + * + * @since 3.5 + * + * @param bool $value Current value for the enabling variable. + * @param string $tag_name The tag name. + * + * @return bool + */ + public function maybe_disable_core_lazyload( $value, $tag_name ) { + if ( false === $value ) { + return $value; + } + + if ( 'img' === $tag_name ) { + return ! (bool) $this->can_lazyload_images(); + } + + if ( 'iframe' === $tag_name ) { + return ! (bool) $this->can_lazyload_iframes(); + } + + return $value; + } + + /** + * Adds the exclusions from the options to the exclusions arrays + * + * @since 3.8 + * + * @param array $exclusions Array of excluded patterns. + * @return array + */ + public function add_exclusions( array $exclusions ): array { + $exclude_lazyload = $this->options->get( 'exclude_lazyload', [] ); + + if ( empty( $exclude_lazyload ) ) { + return $exclusions; + } + + return array_unique( array_merge( $exclusions, $exclude_lazyload ) ); + } + + /** + * Checks if we can lazyload images. + * + * @since 3.3 + * + * @return boolean + */ + private function can_lazyload_images() { + if ( ! $this->options->get( 'lazyload', 0 ) ) { + return false; + } + + /** + * Filters the lazyload application on images + * + * @since 2.0 + * + * @param bool $do_rocket_lazyload True to apply lazyload, false otherwise. + */ + return apply_filters( 'do_rocket_lazyload', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + /** + * Checks if we can lazyload iframes + * + * @since 3.3 + * + * @return boolean + */ + private function can_lazyload_iframes() { + if ( ! $this->options->get( 'lazyload_iframes', 0 ) ) { + return false; + } + + /** + * Filters the lazyload application on iframes + * + * @since 2.0 + * + * @param bool $do_rocket_lazyload_iframes True to apply lazyload, false otherwise. + */ + return apply_filters( 'do_rocket_lazyload_iframes', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + /** + * Checks if native lazyload is enabled for images + * + * @since 3.10.2 + * + * @return bool + */ + private function is_native_images(): bool { + /** + * Filters the use of native lazyload for images + * + * @since 3.10.2 + * + * @param bool $use_native True to use native lazyload for images, false otherwise. + */ + return (bool) apply_filters( 'rocket_use_native_lazyload_images', false ); + } +} diff --git a/inc/Engine/Media/ServiceProvider.php b/inc/Engine/Media/ServiceProvider.php new file mode 100644 index 0000000..8e114a2 --- /dev/null +++ b/inc/Engine/Media/ServiceProvider.php @@ -0,0 +1,74 @@ +getContainer()->get( 'options' ); + + $this->getContainer()->add( 'lazyload_assets', Assets::class ); + $this->getContainer()->add( 'lazyload_image', Image::class ); + $this->getContainer()->add( 'lazyload_iframe', Iframe::class ); + $this->getContainer()->share( 'lazyload_subscriber', Subscriber::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'lazyload_assets' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_image' ) ) + ->addArgument( $this->getContainer()->get( 'lazyload_iframe' ) ) + ->addTag( 'lazyload_subscriber' ); + $this->getContainer()->share( 'lazyload_admin_subscriber', LazyloadAdminSubscriber::class ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'emojis_subscriber', EmojisSubscriber::class ) + ->addArgument( $options ) + ->addTag( 'front_subscriber' ); + $this->getContainer()->add( 'image_dimensions', ImageDimensions::class ) + ->addArgument( $options ); + $this->getContainer()->share( 'image_dimensions_subscriber', ImageDimensionsSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'image_dimensions' ) ) + ->addTag( 'front_subscriber' ); + $this->getContainer()->share( 'image_dimensions_admin_subscriber', ImageDimensionsAdminSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'image_dimensions' ) ) + ->addTag( 'admin_subscriber' ); + } +} diff --git a/inc/Engine/Optimization/AbstractOptimization.php b/inc/Engine/Optimization/AbstractOptimization.php new file mode 100644 index 0000000..0975108 --- /dev/null +++ b/inc/Engine/Optimization/AbstractOptimization.php @@ -0,0 +1,251 @@ +minify_base_path = rocket_get_constant( 'WP_ROCKET_MINIFY_CACHE_PATH' ) . $site_id; + $this->minify_base_url = rocket_get_constant( 'WP_ROCKET_MINIFY_CACHE_URL' ) . $site_id; + } + + /** + * Finds nodes matching the pattern in the HTML. + * + * @since 3.1 + * @author Remy Perona + * + * @param string $pattern Pattern to match. + * @param string $html HTML content. + * @return bool|array + */ + protected function find( string $pattern, string $html ) { + preg_match_all( '/' . $pattern . '/Umsi', $html, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return false; + } + + return $matches; + } + + /** + * Determines if the file is external. + * + * @since 2.11 + * @author Remy Perona + * + * @param string $url URL of the file. + * @return bool True if external, false otherwise + */ + protected function is_external_file( $url ) { + $file = get_rocket_parse_url( $url ); + + if ( empty( $file['path'] ) ) { + return true; + } + + $wp_content = wp_parse_url( content_url() ); + + if ( empty( $wp_content['path'] ) ) { + return true; + } + + /** + * Filters the allowed hosts for optimization + * + * @since 3.4 + * @author Remy Perona + * + * @param array $hosts Allowed hosts. + * @param array $zones Zones to check available hosts. + */ + $hosts = (array) apply_filters( 'rocket_cdn_hosts', [], $this->get_zones() ); + + if ( ! empty( $wp_content['host'] ) ) { + $hosts[] = $wp_content['host']; + } + + $langs = get_rocket_i18n_uri(); + + // Get host for all langs. + foreach ( $langs as $lang ) { + $url_host = wp_parse_url( $lang, PHP_URL_HOST ); + + if ( ! isset( $url_host ) ) { + continue; + } + + $hosts[] = $url_host; + } + + $hosts = array_unique( $hosts ); + + if ( empty( $hosts ) ) { + return true; + } + // URL has domain and domain is part of the internal domains. + if ( ! empty( $file['host'] ) ) { + foreach ( $hosts as $host ) { + $check_url = strtok( $url, '?' ); + if ( false !== strpos( $check_url, $host ) ) { + return false; + } + } + + return true; + } + + if ( empty( $file['host'] ) ) { + return false; + } + + // URL has no domain and doesn't contain the WP_CONTENT path or wp-includes. + return ! preg_match( '#(' . $wp_content['path'] . '|wp-includes)#', $file['path'] ); + } + + /** + * Writes the content to a file + * + * @since 3.1 + * @author Remy Perona + * + * @param string $content Content to write. + * @param string $file Path to the file to write in. + * @return bool + */ + protected function write_file( $content, $file ) { + if ( rocket_direct_filesystem()->is_readable( $file ) ) { + return true; + } + + if ( ! rocket_mkdir_p( dirname( $file ) ) ) { + return false; + } + + if ( function_exists( 'gzencode' ) ) { + // This filter is documented in inc/classes/Buffer/class-cache.php. + $gzip_content = gzencode( $content, apply_filters( 'rocket_gzencode_level_compression', 6 ) ); + + if ( $gzip_content ) { + rocket_put_content( $file . '.gz', $gzip_content ); + } + } + + return rocket_put_content( $file, $content ); + } + + /** + * Gets the file path from an URL + * + * @since 3.1 + * @author Remy Perona + * + * @param string $url File URL. + * @return bool|string + */ + protected function get_file_path( $url ) { + return rocket_url_to_path( strtok( $url, '?' ), $this->get_zones() ); + } + + /** + * Gets content of a file + * + * @since 3.1 + * @author Remy Perona + * + * @param string $file File path. + * @return string + */ + protected function get_file_content( $file ) { + return rocket_direct_filesystem()->get_contents( $file ); + } + + /** + * Hides unwanted blocks from the HTML to be parsed for optimization + * + * @since 3.1.4 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + protected function hide_comments( $html ) { + $html = preg_replace( '#.*?#is', '', $html ); + $html = preg_replace( '//Uis', '', $html ); + + return $html; + } + + /** + * Get full minified url with ?ver query string. + * + * @param string $minified_path Path of minified file. + * @param string $minified_url Url of minified file. + * + * @return string + */ + protected function get_full_minified_url( $minified_path, $minified_url ) { + $file_mtime = rocket_direct_filesystem()->mtime( $minified_path ); + + $version = $file_mtime ? $file_mtime : md5( $minified_url . $this->minify_key ); + + return add_query_arg( 'ver', $version, $minified_url ); + } + + /** + * Gets the CDN zones. + * + * @since 3.1 + * + * @return array + */ + abstract public function get_zones(); +} diff --git a/inc/Engine/Optimization/AdminServiceProvider.php b/inc/Engine/Optimization/AdminServiceProvider.php new file mode 100644 index 0000000..2d70bbf --- /dev/null +++ b/inc/Engine/Optimization/AdminServiceProvider.php @@ -0,0 +1,48 @@ +getContainer()->share( 'minify_css_admin_subscriber', 'WP_Rocket\Engine\Optimization\Minify\CSS\AdminSubscriber' ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->add( 'google_fonts_settings', 'WP_Rocket\Engine\Optimization\GoogleFonts\Admin\Settings' ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( $this->getContainer()->get( 'template_path' ) ); + $this->getContainer()->share( 'google_fonts_admin_subscriber', 'WP_Rocket\Engine\Optimization\GoogleFonts\Admin\Subscriber' ) + ->addArgument( $this->getContainer()->get( 'google_fonts_settings' ) ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'minify_admin_subscriber', 'WP_Rocket\Engine\Optimization\Minify\AdminSubscriber' ) + ->addTag( 'admin_subscriber' ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + } +} diff --git a/inc/Engine/Optimization/AssetsLocalCache.php b/inc/Engine/Optimization/AssetsLocalCache.php new file mode 100644 index 0000000..7cc1701 --- /dev/null +++ b/inc/Engine/Optimization/AssetsLocalCache.php @@ -0,0 +1,187 @@ +cache_path = "{$cache_path}3rd-party/"; + $this->filesystem = $filesystem; + } + + /** + * Get remote file contents. + * + * @param string $url Url of the file to get contents for. + * + * @return string Raw file contents. + */ + private function get_raw_content( $url ) { + $cache_key = md5( $url ); + + if ( ! isset( $this->url_cache[ $cache_key ] ) ) { + $this->url_cache[ $cache_key ] = wp_remote_retrieve_body( wp_remote_get( $url ) ); + } + + return $this->url_cache[ $cache_key ]; + } + + /** + * Gets content for the provided URL. + * Use the local cache file if it exists, else get it from the 3rd party URL and save it locally for future use. + * + * @since 3.1 + * + * @param string $url URL to get the content from. + * + * @return string + */ + public function get_content( $url ) { + $filepath = $this->get_filepath( $url ); + + if ( empty( $filepath ) ) { + return ''; + } + + if ( $this->filesystem->is_readable( $filepath ) ) { + return $this->filesystem->get_contents( $filepath ); + } + + $content = $this->get_raw_content( $url ); + + if ( empty( $content ) ) { + return ''; + } + + $this->write_file( $content, $filepath ); + + return $content; + } + + /** + * Gets the filepath of the local copy for the given URL + * + * @since 3.7 + * + * @param string $url URL to get filepath for. + * @return string + */ + public function get_filepath( $url ) { + $parts = wp_parse_url( $url ); + + if ( empty( $parts['path'] ) ) { + return ''; + } + + $filename = $parts['host'] . str_replace( '/', '-', $parts['path'] ); + + return $this->cache_path . $filename; + } + + /** + * Writes the content to a file + * + * @since 3.1 + * + * @param string $content Content to write. + * @param string $file Path to the file to write in. + * @return bool + */ + protected function write_file( $content, $file ) { + if ( $this->filesystem->is_readable( $file ) ) { + return true; + } + + if ( ! rocket_mkdir_p( dirname( $file ) ) ) { + return false; + } + + return rocket_put_content( $file, $content ); + } + + /** + * Check if this link HTML has integrity attribute or not? + * + * @since 3.7.5 + * + * @param string $asset Link HTML to be tested. + * + * @return array|false Matched array with integrityhashmethod, integrityhash keys. + */ + private function has_integrity( $asset ) { + if ( ! preg_match( '#\s*integrity\s*=[\'"](?.*)-(?.*)[\'"]#Ui', $asset, $integrity_matches ) ) { + return false; + } + + if ( ! isset( $integrity_matches['integrityhashmethod'], $integrity_matches['integrityhash'] ) ) { + return false; + } + + return $integrity_matches; + } + + /** + * Validate the integrity attribute if the content matches with the hashed integrity value. + * + * @param array $asset_matched the matched array which has 0, url keys. + * + * @return bool|string + */ + public function validate_integrity( $asset_matched ) { + $integrity_matches = $this->has_integrity( $asset_matched[0] ); + + if ( false === $integrity_matches ) { + return $asset_matched[0]; + } + + // validate the hash algorithm. + if ( ! in_array( $integrity_matches['integrityhashmethod'], hash_algos(), true ) ) { + return false; + } + + $content = $this->get_raw_content( $asset_matched['url'] ); + $content_hash = base64_encode( hash( $integrity_matches['integrityhashmethod'], $content, true ) );// phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode + + if ( $integrity_matches['integrityhash'] !== $content_hash ) { + return false; + } + + return str_replace( $integrity_matches[0], '', $asset_matched[0] ); + } +} diff --git a/inc/Engine/Optimization/Buffer/Optimization.php b/inc/Engine/Optimization/Buffer/Optimization.php new file mode 100644 index 0000000..4eb9bf9 --- /dev/null +++ b/inc/Engine/Optimization/Buffer/Optimization.php @@ -0,0 +1,124 @@ +log( 'OPTIMIZATION PROCESS STARTED.', [], 'info' ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** CACHE =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Do preliminary tests and maybe launch the buffer process. + * + * @since 3.3 + */ + public function maybe_init_process() { + if ( ! $this->tests->can_init_process() ) { + $this->log_last_test_error(); + return; + } + + ob_start( [ $this, 'maybe_process_buffer' ] ); + } + + /** + * Maybe optimize the page content. + * + * @since 3.3 + * + * @param string $buffer The buffer content. + * @return string The buffered content. + */ + public function maybe_process_buffer( $buffer ) { + /** + * Triggered before WP Rocket starts the optimization process. + * + * @since 3.4.2 + * @author Soponar Cristina + * + * @param string $buffer HTML content. + */ + do_action( 'rocket_before_maybe_process_buffer', $buffer ); + + if ( ! $this->is_feed_uri() && ! $this->is_html( $buffer ) ) { + return $buffer; + } + + if ( ! $this->tests->can_process_buffer( $buffer ) ) { + $this->log_last_test_error(); + return $buffer; + } + + /** + * This hook is used for: + * - Async CSS files + * - Defer JavaScript files + * - Minify/Combine HTML/CSS/JavaScript + * - CDN + * - LazyLoad + * + * @param string $buffer The page content. + */ + $buffer = (string) apply_filters( 'rocket_buffer', $buffer ); + + $this->log( 'Page optimized.', [], 'info' ); + + /** + * Fires after processing the buffer + * + * @since 3.12 + */ + do_action( 'rocket_after_process_buffer' ); + + return $buffer; + } + + /** + * Tell if the current url is a feed. + * + * @return bool + */ + public function is_feed_uri() { + global $wp_rewrite, $wp; + $feed_uri = '/(?:.+/)?' . $wp_rewrite->feed_base . '(?:/(?:.+/?)?)?$'; + return (bool) preg_match( '#^(' . $feed_uri . ')$#i', '/' . $wp->request ); + } +} diff --git a/inc/Engine/Optimization/Buffer/Subscriber.php b/inc/Engine/Optimization/Buffer/Subscriber.php new file mode 100644 index 0000000..ae32bb9 --- /dev/null +++ b/inc/Engine/Optimization/Buffer/Subscriber.php @@ -0,0 +1,47 @@ +optimizer = $optimizer; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'template_redirect' => [ 'start_content_process', 2 ], + ]; + } + + /** + * Start buffering the page content and apply optimizations if we can. + * + * @since 3.3 + */ + public function start_content_process() { + return $this->optimizer->maybe_init_process(); + } +} diff --git a/inc/Engine/Optimization/CSSTrait.php b/inc/Engine/Optimization/CSSTrait.php new file mode 100644 index 0000000..962fb3d --- /dev/null +++ b/inc/Engine/Optimization/CSSTrait.php @@ -0,0 +1,593 @@ +move( $this->get_converter( $source, $target ), $content, $source ); + + $this->set_cached_import( $source ); + + $content = $this->combine_imports( $content, $target ); + + /** + * Filters the content of a CSS file + * + * @since 3.4 + * + * @param string $content CSS content. + * @param string $source Source filepath. + * @param string $target Target filepath. + */ + return apply_filters( 'rocket_css_content', $content, $source, $target ); + } + + /** + * Get an instance of the Converter class + * + * @param string $source Source filepath. + * @param string $target Destination filepath. + * @return Converter + */ + protected function get_converter( $source, $target ) { + return new Converter( $source, $target ); + } + + /** + * Moving a css file should update all relative urls. + * Relative references (e.g. ../images/image.gif) in a certain css file, + * will have to be updated when a file is being saved at another location + * (e.g. ../../images/image.gif, if the new CSS file is 1 folder deeper). + * + * Method copied from WP_Rocket\Dependencies\Minify\CSS; + * + * @param ConverterInterface $converter Relative path converter. + * @param string $content The CSS content to update relative urls for. + * @param string $source The source path or URL for the CSS file. + * + * @return string + */ + protected function move( ConverterInterface $converter, $content, $source ) { + /* + * Relative path references will usually be enclosed by url(). @import + * is an exception, where url() is not necessary around the path (but is + * allowed). + * This *could* be 1 regular expression, where both regular expressions + * in this array are on different sides of a |. But we're using named + * patterns in both regexes, the same name on both regexes. This is only + * possible with a (?J) modifier, but that only works after a fairly + * recent PCRE version. That's why I'm doing 2 separate regular + * expressions & combining the matches after executing of both. + */ + $relative_regexes = [ + // url(xxx). + '/ + # open url() + url\( + + \s* + + # open path enclosure + (?P["\'])? + + # fetch path + (?P.+?) + + # close path enclosure + (?(quotes)(?P=quotes)) + + \s* + + # close url() + \) + + /ix', + + // @import "xxx" + '/ + # import statement + @import + + # whitespace + \s+ + + # we don\'t have to check for @import url(), because the + # condition above will already catch these + + # open path enclosure + (?P["\']) + + # fetch path + (?P.+?) + + # close path enclosure + (?P=quotes) + + /ix', + ]; + + // find all relative urls in css. + $matches = []; + foreach ( $relative_regexes as $relative_regex ) { + if ( preg_match_all( $relative_regex, $content, $regex_matches, PREG_SET_ORDER ) ) { + $matches = array_merge( $matches, $regex_matches ); + } + } + + $search = []; + $replace = []; + + // loop all urls. + foreach ( $matches as $match ) { + // determine if it's a url() or an @import match. + $type = ( strpos( $match[0], '@import' ) === 0 ? 'import' : 'url' ); + + $url = $match['path']; + + if ( preg_match( '/^#/', $url ) ) { + continue; + } + + if ( ! preg_match( '/^(data:|https?:|\\/)/', $url ) ) { + // attempting to interpret GET-params makes no sense, so let's discard them for awhile. + $params = strrchr( $url, '?' ); + $url = $params ? substr( $url, 0, -strlen( $params ) ) : $url; + + // fix relative url. + $url = filter_var( $source, FILTER_VALIDATE_URL ) ? dirname( $source ) . '/' . ltrim( $url, '/' ) : $converter->convert( $url ); + + // now that the path has been converted, re-apply GET-params. + $url .= $params; + } + + /* + * Urls with control characters above 0x7e should be quoted. + * According to Mozilla's parser, whitespace is only allowed at the + * end of unquoted urls. + * Urls with `)` (as could happen with data: uris) should also be + * quoted to avoid being confused for the url() closing parentheses. + * And urls with a # have also been reported to cause issues. + * Urls with quotes inside should also remain escaped. + * + * @see https://developer.mozilla.org/nl/docs/Web/CSS/url#The_url()_functional_notation + * @see https://hg.mozilla.org/mozilla-central/rev/14abca4e7378 + * @see https://github.com/matthiasmullie/minify/issues/193 + */ + $url = trim( $url ); + if ( preg_match( '/[\s\)\'"#\x{7f}-\x{9f}]/u', $url ) ) { + $url = $match['quotes'] . $url . $match['quotes']; + } + + // build replacement. + $search[] = $match[0]; + if ( 'url' === $type ) { + $replace[] = 'url(' . $url . ')'; + } elseif ( 'import' === $type ) { + $replace[] = '@import "' . $url . '"'; + } + } + + // replace urls. + return str_replace( $search, $replace, $content ); + } + + /** + * Replace local imports with their contents recursively. + * + * @since 3.8.6 + * + * @param string $content CSS Content. + * @param string $target Target CSS file path. + * + * @return string + */ + protected function combine_imports( $content, $target ) { + $import_regexes = [ + // @import url(xxx) + '/ + # import statement + @import + + # whitespace + \s+ + + # open url() + url\( + + # (optional) open path enclosure + (?P["\']?) + + # fetch path + (?P.+?) + + # (optional) close path enclosure + (?P=quotes) + + # close url() + \) + + # (optional) trailing whitespace + \s* + + # (optional) media statement(s) + (?P[^;]*) + + # (optional) trailing whitespace + \s* + + # (optional) closing semi-colon + ;? + + /ix', + + // @import 'xxx' + '/ + + # import statement + @import + + # whitespace + \s+ + + # open path enclosure + (?P["\']) + + # fetch path + (?P.+?) + + # close path enclosure + (?P=quotes) + + # (optional) trailing whitespace + \s* + + # (optional) media statement(s) + (?P[^;]*) + + # (optional) trailing whitespace + \s* + + # (optional) closing semi-colon + ;? + + /ix', + ]; + + // find all relative imports in css. + $matches = []; + foreach ( $import_regexes as $import_regexe ) { + if ( preg_match_all( $import_regexe, $content, $regex_matches, PREG_SET_ORDER ) ) { + $matches = array_merge( $matches, $regex_matches ); + } + } + + if ( empty( $matches ) ) { + return $content; + } + + $search = []; + $replace = []; + + // loop the matches. + foreach ( $matches as $match ) { + /** + * Filter Skip import replacement for one file. + * + * @since 3.8.6 + * + * @param bool Skipped or not (Default not skipped). + * @param string $file_path Matched import path. + * @param string $import_match Full import match. + */ + if ( apply_filters( 'rocket_skip_import_replacement', false, $match['path'], $match ) ) { + continue; + } + + list( $import_path, $import_content ) = $this->get_internal_file_contents( $match['path'], dirname( $target ) ); + + if ( empty( $import_content ) ) { + continue; + } + + if ( $this->check_cached_import( $import_path ) ) { + $search[] = $match[0]; + $replace[] = ''; + + continue; + } + + $this->set_cached_import( $import_path ); + + // check if this is only valid for certain media. + if ( ! empty( $match['media'] ) ) { + $import_content = '@media ' . $match['media'] . '{' . $import_content . '}'; + } + + // Use recursion to rewrite paths and combine imports again for imported content. + $import_content = $this->rewrite_paths( $import_path, $target, $import_content ); + + // add to replacement array. + $search[] = $match[0]; + $replace[] = $import_content; + } + + // replace the import statements. + return str_replace( $search, $replace, $content ); + } + + /** + * Applies font-display:swap to all font-family rules without a previously set font-display property. + * + * @since 3.7 + * + * @param string $css_file_content CSS file content to modify. + * + * @return string Modified CSS content. + */ + private function apply_font_display_swap( $css_file_content ) { + $css_file_content = (string) $css_file_content; + + return preg_replace_callback( + '/(?:@font-face)\s*{(?[^}]+)}/i', + function ( $matches ) { + if ( preg_match( '/font-display:\s*(?\w*);?/i', $matches['value'], $attribute ) ) { + if ( 'swap' === strtolower( $attribute['swap_value'] ) ) { + return $matches[0]; + } + + $swap = str_replace( $attribute['swap_value'], 'swap', $attribute[0] ); + + return preg_replace( '/font-display:\s*(?\w*);?/i', $swap, $matches[0] ); + } + + return str_replace( $matches['value'], "font-display:swap;{$matches['value']}", $matches[0] ); + }, + $css_file_content + ); + } + + /** + * Get internal file full path and contents. + * + * @since 3.8.6 + * + * @param string $file Internal file path (maybe external url or relative path). + * @param string $base_path Base path as reference for relative paths. + * + * @return array Array of two values ( full path, contents ) + */ + private function get_internal_file_contents( $file, $base_path ) { + if ( $this->is_external_path( $file ) && wp_http_validate_url( $file ) ) { + return [ $file, false ]; + } + + // Remove query strings. + $file = str_replace( '?' . wp_parse_url( $file, PHP_URL_QUERY ), '', $file ); + + // Check if this file is readable or it's relative path so we add base_path at it's start. + if ( ! rocket_direct_filesystem()->is_readable( $this->get_local_path( $file ) ) ) { + $ds = rocket_get_constant( 'DIRECTORY_SEPARATOR' ); + $file = $base_path . $ds . str_replace( '/', $ds, $file ); + }else { + $file = $this->get_local_path( $file ); + } + + $file_type = wp_check_filetype( $file, [ 'css' => 'text/css' ] ); + + if ( 'css' !== $file_type['ext'] ) { + return [ $file, null ]; + } + + $import_content = rocket_direct_filesystem()->get_contents( $file ); + + return [ $file, $import_content ]; + } + + /** + * Determines if the file is external. + * + * @since 3.8.6 + * + * @param string $url URL of the file. + * @return bool True if external, false otherwise. + */ + protected function is_external_path( $url ) { + $file = get_rocket_parse_url( $url ); + + if ( empty( $file['path'] ) ) { + return true; + } + + $parsed_site_url = wp_parse_url( site_url() ); + + if ( empty( $parsed_site_url['host'] ) ) { + return true; + } + + // This filter is documented in inc/Engine/Admin/Settings/Settings.php. + $hosts = (array) apply_filters( 'rocket_cdn_hosts', [], [ 'all' ] ); + $hosts[] = $parsed_site_url['host']; + $langs = get_rocket_i18n_uri(); + + // Get host for all langs. + foreach ( $langs as $lang ) { + $url_host = wp_parse_url( $lang, PHP_URL_HOST ); + + if ( ! isset( $url_host ) ) { + continue; + } + + $hosts[] = $url_host; + } + + $hosts = array_unique( $hosts ); + + if ( empty( $hosts ) ) { + return true; + } + + // URL has domain and domain is part of the internal domains. + if ( ! empty( $file['host'] ) ) { + foreach ( $hosts as $host ) { + if ( false !== strpos( $url, $host ) ) { + return false; + } + } + + return true; + } + + return false; + } + + /** + * Get local absolute path for image. + * + * @since 3.8.6 + * + * @param string $url Image url. + * + * @return string Image absolute local path. + */ + private function get_local_path( $url ) { + $url = $this->normalize_url( $url ); + + $path = rocket_url_to_path( $url ); + if ( $path ) { + return $path; + } + + $relative_url = ltrim( wp_make_link_relative( $url ), '/' ); + $ds = rocket_get_constant( 'DIRECTORY_SEPARATOR' ); + $base_path = isset( $_SERVER['DOCUMENT_ROOT'] ) ? ( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ) . $ds ) : ''; + + return $base_path . str_replace( '/', $ds, $relative_url ); + } + + /** + * Normalize relative url to full url. + * + * @since 3.8.6 + * + * @param string $url Url to be normalized. + * + * @return string Normalized url. + */ + private function normalize_url( $url ) { + $url_host = wp_parse_url( $url, PHP_URL_HOST ); + + if ( ! empty( $url_host ) ) { + return $url; + } + + $relative_url = ltrim( wp_make_link_relative( $url ), '/' ); + $site_url_components = wp_parse_url( site_url( '/' ) ); + + return $site_url_components['scheme'] . '://' . $site_url_components['host'] . '/' . $relative_url; + } + + /** + * Set cached import locally not to imported again. + * + * @param string $path Path to be cached. + */ + private function set_cached_import( string $path ) { + $real_path = rocket_realpath( $path ); + $this->imports[ md5( $real_path ) ] = $real_path; + } + + /** + * Check if path imported before. + * + * @param string $path Path to be checked. + * + * @return bool + */ + private function check_cached_import( string $path ): bool { + return isset( $this->imports[ md5( rocket_realpath( $path ) ) ] ); + } + + /** + * Move charset to top of CSS file OR remove all charsets for internal CSS. + * + * @param string $content CSS content. + * @param bool $keep_first_charset Keep first charset if true, otherwise remove all charsets. + * + * @return string + */ + public function handle_charsets( string $content, bool $keep_first_charset = true ): string { + $new_content = preg_replace_callback( '/@charset\s+["|\'](.*?)["|\'];?/i', [ $this, 'match_charsets' ], $content ); + + if ( ! $keep_first_charset ) { + return $new_content; + } + + if ( is_null( $this->found_charset ) ) { + return $content; + } + + return "@charset \"{$this->found_charset}\";" . $new_content; + } + + /** + * Match each charset on the CSS file. + * + * @param array $match Match array. + * + * @return string + */ + private function match_charsets( array $match ): string { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.matchFound + if ( is_null( $this->found_charset ) ) { + $this->found_charset = $match[1]; + } + + return ''; + } +} diff --git a/inc/Engine/Optimization/CacheDynamicResource.php b/inc/Engine/Optimization/CacheDynamicResource.php new file mode 100644 index 0000000..f9ad20c --- /dev/null +++ b/inc/Engine/Optimization/CacheDynamicResource.php @@ -0,0 +1,309 @@ +options = $options; + $this->busting_path = "{$busting_path}{$site_id}/"; + $this->busting_url = "{$busting_url}{$site_id}/"; + + /** + * Filters files to exclude from static dynamic resources + * + * @since 2.9.3 + * @author Remy Perona + * + * @param array $excluded_files An array of filepath to exclude. + */ + $this->excluded_files = (array) apply_filters( 'rocket_exclude_static_dynamic_resources', [] ); + $this->excluded_files[] = '/wp-admin/admin-ajax.php'; + + foreach ( $this->excluded_files as $i => $excluded_file ) { + // Escape character for future use in regex pattern. + $this->excluded_files[ $i ] = str_replace( '#', '\#', $excluded_file ); + } + + $this->excluded_files = implode( '|', $this->excluded_files ); + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.1 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'style_loader_src' => [ 'cache_dynamic_resource', 16 ], + 'script_loader_src' => [ 'cache_dynamic_resource', 16 ], + ]; + } + + /** + * Filters the source dynamic php file to replace it with a static file + * + * @since 3.1 + * + * @param string $src source URL. + * + * @return string + */ + public function cache_dynamic_resource( $src ) { + if ( ! $this->is_allowed() ) { + return $src; + } + + switch ( current_filter() ) { + case 'script_loader_src': + $this->set_extension( 'js' ); + break; + case 'style_loader_src': + $this->set_extension( 'css' ); + break; + } + + if ( $this->is_excluded_file( $src ) ) { + return $src; + } + + return $this->replace_url( $src ); + } + + /** + * Replaces the dynamic URL by the static file URL + * + * @since 3.1 + * + * @param string $src Source URL. + * + * @return string + */ + public function replace_url( $src ) { + $path = ltrim( rocket_extract_url_component( $src, PHP_URL_PATH ), '/' ); + + /** + * Filters the dynamic resource cache filename + * + * @since 2.9 + * + * @param string $filename filename for the cache file + */ + $filename = apply_filters( 'rocket_dynamic_resource_cache_filename', preg_replace( '/\.php$/', '.' . $this->extension, $path ) ); + $filename = ltrim( rocket_realpath( rtrim( str_replace( [ ' ', '%20' ], '-', $filename ) ) ), '/' ); + $filepath = $this->busting_path . $filename; + + if ( ! rocket_direct_filesystem()->is_readable( $filepath ) ) { + $content = $this->get_url_content( $src ); + + if ( ! $content ) { + return $src; + } + + if ( 'css' === $this->extension ) { + $content = $this->rewrite_paths( $this->get_file_path( $src ), $filepath, $content ); + $content = $this->apply_font_display_swap( $content ); + } + + if ( ! $this->write_file( $content, $filepath ) ) { + return $src; + } + } + + return $this->get_cache_url( $filename ); + } + + /** + * Determines if we can optimize + * + * @since 3.1 + * + * @return bool + */ + public function is_allowed() { + global $pagenow; + + if ( rocket_bypass() ) { + return false; + } + + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( is_user_logged_in() && ! $this->options->get( 'cache_logged_user' ) ) { + return false; + } + + if ( 'wp-login.php' === $pagenow ) { + return false; + } + + return true; + } + + /** + * Determines if the file is excluded from optimization + * + * @since 3.1 + * + * @param string $src source URL. + * + * @return bool + */ + public function is_excluded_file( $src ) { + $file = get_rocket_parse_url( $src ); + + if ( isset( $file['path'] ) && ! preg_match( '#\.php$#', $file['path'] ) ) { + return true; + } + + if ( $this->is_external_file( $src ) ) { + return true; + } + + if ( preg_match( '#^' . $this->excluded_files . '$#', $file['path'] ) ) { + return true; + } + + if ( ! isset( $file['query'] ) ) { + return false; + } + + $file['query'] = remove_query_arg( 'ver', $file['query'] ); + + return (bool) $file['query']; + } + + /** + * Sets the current file extension and minify key + * + * @since 3.1 + * + * @param string $extension Current file extension. + */ + public function set_extension( $extension ) { + $this->extension = $extension; + $this->minify_key = $this->options->get( 'minify_' . $this->extension . '_key' ); + } + + /** + * Gets the CDN zones. + * + * @since 3.1 + * + * @return array + */ + public function get_zones() { + return [ 'all', 'css_and_js', $this->extension ]; + } + + /** + * Gets the cache URL for the static file + * + * @since 3.1 + * + * @param string $filename Filename for the static file. + * + * @return string + */ + protected function get_cache_url( $filename ) { + $cache_url = $this->busting_url . $filename; + + switch ( $this->extension ) { + case 'css': + // This filter is documented in inc/classes/optimization/css/class-abstract-css-optimization.php. + $cache_url = apply_filters( 'rocket_css_url', $cache_url ); + break; + case 'js': + // This filter is documented in inc/classes/optimization/css/class-abstract-js-optimization.php. + $cache_url = apply_filters( 'rocket_js_url', $cache_url ); + break; + } + + return $cache_url; + } + + /** + * Gets content from an URL + * + * @since 3.1 + * + * @param string $url URL to get the content from. + * + * @return string|bool + */ + protected function get_url_content( $url ) { + $content = wp_remote_retrieve_body( wp_remote_get( $url ) ); + + if ( ! $content ) { + return false; + } + + return $content; + } +} diff --git a/inc/Engine/Optimization/ContentTrait.php b/inc/Engine/Optimization/ContentTrait.php new file mode 100644 index 0000000..94bc1c0 --- /dev/null +++ b/inc/Engine/Optimization/ContentTrait.php @@ -0,0 +1,124 @@ + true, + 'publicly_queryable' => true, + ] + ); + + $post_types[] = 'page'; + + /** + * Filters the post types excluded from critical CSS generation. + * + * @since 2.11 + * + * @param array $excluded_post_types An array of post types names. + * + * @return array + */ + $excluded_post_types = (array) apply_filters( + 'rocket_cpcss_excluded_post_types', + [ + 'elementor_library', + 'oceanwp_library', + 'tbuilder_layout', + 'tbuilder_layout_part', + 'slider', + 'karma-slider', + 'tt-gallery', + 'xlwcty_thankyou', + 'fusion_template', + 'blocks', + 'jet-woo-builder', + 'fl-builder-template', + 'cms_block', + 'web-story', + ] + ); + + $post_types = array_diff( $post_types, $excluded_post_types ); + $post_types = esc_sql( $post_types ); + $post_types = "'" . implode( "','", $post_types ) . "'"; + + return $wpdb->get_results( + "SELECT MAX(ID) as ID, post_type + FROM ( + SELECT ID, post_type + FROM $wpdb->posts + WHERE post_type IN ( $post_types ) + AND post_status = 'publish' + ORDER BY post_date DESC + ) AS posts + GROUP BY post_type" + ); + } + + /** + * Gets all public taxonomies. + * + * @since 3.9 moved into trait + * @since 2.11 + */ + private function get_public_taxonomies() { + global $wpdb; + + $taxonomies = get_taxonomies( + [ + 'public' => true, + 'publicly_queryable' => true, + ] + ); + + /** + * Filters the taxonomies excluded from critical CSS generation. + * + * @since 2.11 + * + * @param array $excluded_taxonomies An array of taxonomies names. + * + * @return array + */ + $excluded_taxonomies = (array) apply_filters( + 'rocket_cpcss_excluded_taxonomies', + [ + 'post_format', + 'product_shipping_class', + 'karma-slider-category', + 'truethemes-gallery-category', + 'coupon_campaign', + 'element_category', + 'mediamatic_wpfolder', + 'attachment_category', + ] + ); + + $taxonomies = array_diff( $taxonomies, $excluded_taxonomies ); + $taxonomies = esc_sql( $taxonomies ); + $taxonomies = "'" . implode( "','", $taxonomies ) . "'"; + + return $wpdb->get_results( + "SELECT MAX( term_id ) AS ID, taxonomy + FROM ( + SELECT term_id, taxonomy + FROM $wpdb->term_taxonomy + WHERE taxonomy IN ( $taxonomies ) + AND count > 0 + ) AS taxonomies + GROUP BY taxonomy" + ); + } +} diff --git a/inc/Engine/Optimization/DeferJS/AdminSubscriber.php b/inc/Engine/Optimization/DeferJS/AdminSubscriber.php new file mode 100644 index 0000000..c93ec49 --- /dev/null +++ b/inc/Engine/Optimization/DeferJS/AdminSubscriber.php @@ -0,0 +1,80 @@ +defer_js = $defer_js; + } + + /** + * Returns array of events this listen to. + * + * @return array + */ + public static function get_subscribed_events(): array { + return [ + 'rocket_first_install_options' => 'add_defer_js_option', + 'wp_rocket_upgrade' => [ 'exclude_jquery_defer', 14, 2 ], + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 5 ], + ]; + } + + /** + * Adds defer js option to WP Rocket options array + * + * @since 3.8 + * + * @param array $options WP Rocket options array. + * @return array + */ + public function add_defer_js_option( array $options ): array { + return $this->defer_js->add_option( $options ); + } + + /** + * Adds jQuery to defer JS exclusion field if safe mode was enabled before 3.8 + * + * @since 3.8 + * + * @param string $new_version New plugin version. + * @param string $old_version Previous plugin version. + * + * @return void + */ + public function exclude_jquery_defer( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.8', '>' ) ) { + return; + } + + $this->defer_js->exclude_jquery_upgrade(); + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['defer_all_js'] = __( 'Load JavaScript deferred', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/Optimization/DeferJS/DeferJS.php b/inc/Engine/Optimization/DeferJS/DeferJS.php new file mode 100644 index 0000000..76da337 --- /dev/null +++ b/inc/Engine/Optimization/DeferJS/DeferJS.php @@ -0,0 +1,315 @@ +options = $options; + $this->data_manager = $data_manager; + } + + /** + * Add the exclude defer JS option in WP Rocket options array + * + * @since 3.8 + * + * @param array $options WP Rocket options array. + * @return array + */ + public function add_option( array $options ): array { + $options['exclude_defer_js'] = []; + + return $options; + } + + /** + * Defer all JS files. + * + * @since 3.8 + * + * @param string $html HTML content. + * @return string + */ + public function defer_js( string $html ): string { + if ( ! $this->can_defer_js() ) { + return $html; + } + + $buffer_nocomments = preg_replace( '//Uis', '', $html ); + + preg_match_all( '#]+[\s\'"])?src\s*=\s*[\'"]\s*?(?[^\'"]+)\s*?[\'"](?:[^>]+)?\/?>#i', $buffer_nocomments, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return $html; + } + + $exclude_defer_js = implode( '|', $this->get_excluded() ); + + if ( ! @preg_replace( '#(' . $exclude_defer_js . ')#i', '', 'dummy-string' ) ) { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + return $html; + } + + foreach ( $matches as $tag ) { + if ( preg_match( '#(' . $exclude_defer_js . ')#i', $tag['url'] ) ) { + continue; + } + + if ( preg_match( '/\s+(?:async|defer)/i', $tag[0] ) ) { + continue; + } + + $deferred_tag = str_replace( '>', ' defer>', $tag[0] ); + $html = str_replace( $tag[0], $deferred_tag, $html ); + } + + return $html; + } + + /** + * Defers inline JS containing jQuery calls + * + * @since 3.8 + * + * @param string $html HTML content. + * @return string + */ + public function defer_inline_js( string $html ): string { + if ( ! $this->can_defer_js() ) { + return $html; + } + + $exclude_defer_js = implode( '|', $this->get_excluded() ); + + if ( preg_match( '/(jquery(?:.*)?\.js)/i', $exclude_defer_js ) ) { + return $html; + } + + $buffer_nocomments = preg_replace( '//Uis', '', $html ); + + preg_match_all( '#]*)>(?[\s\S]*?)#msi', $buffer_nocomments, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return $html; + } + + /** + * Filters the patterns used to find jQuery in inline JS + * + * @since 3.8 + * + * @param string $jquery_patterns A RegEx pattern to find jQuery inline JS. + */ + $jquery_patterns = apply_filters( 'rocket_defer_jquery_patterns', 'jQuery|\$\.\(|\$\(' ); + + $inline_exclusions = $this->get_inline_exclusions_list_pattern(); + + foreach ( $matches as $inline_js ) { + if ( empty( $inline_js['content'] ) ) { + continue; + } + + if ( preg_match( '/(application\/ld\+json)/i', $inline_js[0] ) ) { + continue; + } + + if ( empty( $inline_exclusions ) || preg_match( "/({$inline_exclusions})/msi", $inline_js['content'] ) ) { + continue; + } + + if ( ! empty( $jquery_patterns ) && ! preg_match( "/({$jquery_patterns})/msi", $inline_js['content'] ) ) { + continue; + } + + $tag = str_replace( $inline_js['content'], $this->inline_js_wrapper( $inline_js['content'] ), $inline_js[0] ); + $html = str_replace( $inline_js[0], $tag, $html ); + } + + return $html; + } + + /** + * Adds the JS wrapper for inline jQuery code + * + * @since 3.8 + * + * @param string $content Inline JS content. + * @return string + */ + private function inline_js_wrapper( string $content ): string { + return "window.addEventListener('DOMContentLoaded', function() {" . $content . '});'; + } + + /** + * Checks if we can defer JS + * + * @since 3.8 + * + * @return boolean + */ + private function can_defer_js(): bool { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( ! $this->options->get( 'defer_all_js', 0 ) ) { + return false; + } + + return ! is_rocket_post_excluded_option( 'defer_all_js' ); + } + + /** + * Get list of JS files to be excluded from defer JS. + * + * @since 3.8 + * + * @return array + */ + public function get_excluded(): array { + if ( ! $this->can_defer_js() ) { + return []; + } + + $exclude_defer_js = array_unique( array_merge( $this->get_external_exclusions(), $this->options->get( 'exclude_defer_js', [] ) ) ); + + /** + * Filter list of Deferred JavaScript files + * + * @since 2.10 + * + * @param array $exclude_defer_js An array of URLs for the JS files to be excluded. + */ + $exclude_defer_js = apply_filters( 'rocket_exclude_defer_js', $exclude_defer_js ); + + foreach ( $exclude_defer_js as $i => $exclude ) { + $exclude_defer_js[ $i ] = str_replace( '#', '\#', $exclude ); + } + + return $exclude_defer_js; + } + + /** + * Excludes jQuery from combine JS when defer and combine are enabled + * + * @since 3.8 + * + * @param array $excluded_files Array of excluded files from combine JS. + * @return array + */ + public function exclude_jquery_combine( array $excluded_files ): array { + if ( ! $this->can_defer_js() ) { + return $excluded_files; + } + + if ( ! (bool) $this->options->get( 'minify_concatenate_js', 0 ) ) { + return $excluded_files; + } + + $excluded_files[] = '/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js'; + + return $excluded_files; + } + + /** + * Adds jQuery to defer JS exclusion field if safe mode was enabled before 3.8 + * + * @since 3.8 + * + * @return void + */ + public function exclude_jquery_upgrade() { + $options = get_option( 'wp_rocket_settings' ); + + if ( ! isset( $options['defer_all_js_safe'] ) ) { + return; + } + + if ( ! (bool) $options['defer_all_js_safe'] ) { + return; + } + + $options['exclude_defer_js'][] = '/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js'; + + update_option( 'wp_rocket_settings', $options ); + } + + /** + * Get exclusion list pattern. + * + * @return string + */ + private function get_inline_exclusions_list_pattern() { + $inline_exclusions_list = $this->get_inline_exclusions(); + + /** + * Filters the patterns used to find inline JS that should not be deferred + * + * @since 3.8 + * + * @param array $inline_exclusions_list Array of inline JS that should not be deferred. + */ + $additional_inline_exclusions_list = apply_filters( 'rocket_defer_inline_exclusions', null ); + + $inline_exclusions = ''; + + // Check if filter return is string so convert it to array for backward compatibility. + if ( is_string( $additional_inline_exclusions_list ) ) { + $additional_inline_exclusions_list = explode( '|', $additional_inline_exclusions_list ); + } + + // Cast filter return to array. + $inline_exclusions_list = array_merge( $inline_exclusions_list, (array) $additional_inline_exclusions_list ); + + foreach ( $inline_exclusions_list as $inline_exclusions_item ) { + $inline_exclusions .= preg_quote( (string) $inline_exclusions_item, '#' ) . '|'; + } + + return rtrim( $inline_exclusions, '|' ); + } + + /** + * Get inline exclusions list + * + * @return array + */ + private function get_inline_exclusions(): array { + $lists = $this->data_manager->get_lists(); + + return isset( $lists->defer_js_inline_exclusions ) ? $lists->defer_js_inline_exclusions : []; + } + + /** + * Get external exclusions list + * + * @return array + */ + private function get_external_exclusions(): array { + $lists = $this->data_manager->get_lists(); + + return isset( $lists->defer_js_external_exclusions ) ? $lists->defer_js_external_exclusions : []; + } +} diff --git a/inc/Engine/Optimization/DeferJS/ServiceProvider.php b/inc/Engine/Optimization/DeferJS/ServiceProvider.php new file mode 100644 index 0000000..e8eb53d --- /dev/null +++ b/inc/Engine/Optimization/DeferJS/ServiceProvider.php @@ -0,0 +1,44 @@ +getContainer()->add( 'defer_js', DeferJS::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'dynamic_lists_defaultlists_data_manager' ) ); + $this->getContainer()->share( 'defer_js_admin_subscriber', AdminSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'defer_js' ) ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->share( 'defer_js_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'defer_js' ) ) + ->addTag( 'front_subscriber' ); + } +} diff --git a/inc/Engine/Optimization/DeferJS/Subscriber.php b/inc/Engine/Optimization/DeferJS/Subscriber.php new file mode 100644 index 0000000..ab84f79 --- /dev/null +++ b/inc/Engine/Optimization/DeferJS/Subscriber.php @@ -0,0 +1,76 @@ +defer_js = $defer_js; + } + + /** + * Returns array of events this listen to. + * + * @return array + */ + public static function get_subscribed_events(): array { + return [ + 'rocket_buffer' => [ + [ 'defer_js', 24 ], + [ 'defer_inline_js', 25 ], + ], + 'rocket_exclude_js' => 'exclude_jquery_combine', + 'rocket_minify_excluded_external_js' => 'exclude_jquery_combine', + ]; + } + + /** + * Adds the defer attribute to JS files + * + * @since 3.8 + * + * @param string $html HTML content. + * @return string + */ + public function defer_js( string $html ): string { + return $this->defer_js->defer_js( $html ); + } + + /** + * Defers inline JS containing jQuery calls + * + * @since 3.8 + * + * @param string $html HTML content. + * @return string + */ + public function defer_inline_js( string $html ): string { + return $this->defer_js->defer_inline_js( $html ); + } + + /** + * Excludes jQuery from combine JS when defer and combine are enabled + * + * @since 3.8 + * + * @param array $excluded_files Array of excluded files from combine JS. + * @return array + */ + public function exclude_jquery_combine( array $excluded_files ): array { + return $this->defer_js->exclude_jquery_combine( $excluded_files ); + } +} diff --git a/inc/Engine/Optimization/DelayJS/Admin/Settings.php b/inc/Engine/Optimization/DelayJS/Admin/Settings.php new file mode 100644 index 0000000..eff8953 --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/Admin/Settings.php @@ -0,0 +1,201 @@ +options_api = $options_api; + } + + /** + * Add the delay JS options to the WP Rocket options array + * + * @since 3.9 Removed delay_js_scripts key, added delay_js_exclusions. + * @since 3.7 + * + * @param array $options WP Rocket options array. + * + * @return array + */ + public function add_options( $options ): array { + $options = (array) $options; + + $options['delay_js'] = 0; + $options['delay_js_exclusions'] = []; + + return $options; + } + + /** + * Sets the delay_js_exclusions default value for users with delay JS enabled on upgrade + * + * @since 3.9 Sets the delay_js_exclusions default value if delay_js is 1 + * @since 3.7 + * + * @param string $old_version Previous plugin version. + * + * @return void + */ + public function set_option_on_update( $old_version ) { + if ( version_compare( $old_version, '3.9', '>=' ) ) { + return; + } + + $options = $this->options_api->get( 'settings', [] ); + + $options['delay_js_exclusions'] = []; + + if ( + isset( $options['delay_js'] ) + && + 1 === (int) $options['delay_js'] + ) { + $options['minify_concatenate_js'] = 0; + } + + $this->options_api->set( 'settings', $options ); + } + + /** + * Sanitizes delay JS options when saving the settings + * + * @since 3.9 + * + * @param array $input Array of values submitted from the form. + * @param AdminSettings $settings Settings class instance. + * + * @return array + */ + public function sanitize_options( $input, $settings ): array { + $input['delay_js'] = $settings->sanitize_checkbox( $input, 'delay_js' ); + $input['delay_js_exclusions'] = + ! empty( $input['delay_js_exclusions'] ) + ? + rocket_sanitize_textarea_field( 'delay_js_exclusions', $input['delay_js_exclusions'] ) + : + []; + + return $input; + } + + /** + * Disable combine JS option when delay JS is enabled + * + * @since 3.9 + * + * @param array $value The new, unserialized option value. + * @param array $old_value The old option value. + * + * @return array + */ + public function maybe_disable_combine_js( $value, $old_value ): array { + if ( ! isset( $value['delay_js'], $value['minify_concatenate_js'] ) ) { + return $value; + } + + if ( + 0 === $value['minify_concatenate_js'] + || + 0 === $value['delay_js'] + ) { + return $value; + } + + if ( + isset( $old_value['delay_js'], $old_value['minify_concatenate_js'] ) + && + $value['delay_js'] === $old_value['delay_js'] + && + 1 === $value['delay_js'] + && + 0 === $old_value['minify_concatenate_js'] + ) { + return $value; + } + + $value['minify_concatenate_js'] = 0; + + return $value; + } + + /** + * Get default exclusion list. + * + * @since 3.9.1 + * + * @return string[] + */ + public static function get_delay_js_default_exclusions(): array { + + $exclusions = [ + '\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |\'|"|>)', + 'js-(before|after)', + ]; + + $wp_content = wp_parse_url( content_url( '/' ), PHP_URL_PATH ); + $wp_includes = wp_parse_url( includes_url( '/' ), PHP_URL_PATH ); + $pattern = '(?:placeholder)(.*)'; + $paths = []; + + if ( ! $wp_content && ! $wp_includes ) { + return $exclusions; + } + + if ( $wp_content ) { + $paths[] = $wp_content; + } + + if ( $wp_includes ) { + $paths[] = $wp_includes; + } + + $exclusions[] = str_replace( 'placeholder', implode( '|', $paths ), $pattern ); + + return $exclusions; + } + + /** + * Check if current exclusion list has the default list. + * + * @since 3.9.1 + * + * @return bool + */ + public static function exclusion_list_has_default(): bool { + $current_list = get_rocket_option( 'delay_js_exclusions', [] ); + if ( empty( $current_list ) ) { + return false; + } + + $default_list = self::get_delay_js_default_exclusions(); + if ( count( $current_list ) < count( $default_list ) ) { + return false; + } + + $current_list = array_flip( $current_list ); + + foreach ( $default_list as $item ) { + if ( ! isset( $current_list[ $item ] ) ) { + return false; + } + } + return true; + } +} diff --git a/inc/Engine/Optimization/DelayJS/Admin/SiteList.php b/inc/Engine/Optimization/DelayJS/Admin/SiteList.php new file mode 100644 index 0000000..b785414 --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/Admin/SiteList.php @@ -0,0 +1,535 @@ +dynamic_lists = $dynamic_lists; + $this->options = $options; + $this->options_api = $options_api; + } + + /** + * Check if plugin is in the list and return it if found. + * + * @param string $item_id Plugin ID like wp-rocket/wp-rocket.php. + * + * @return array + */ + private function get_plugin_in_list( string $item_id ) { + $list = $this->dynamic_lists->get_delayjs_list(); + return ! empty( $list->plugins->$item_id ) ? (array) $list->plugins->$item_id : []; + } + + /** + * Check if theme is in the list and return it if found. + * + * @param string $item_id Theme ID (directory name) like twentytwenty. + * + * @return array + */ + private function get_theme_in_list( string $item_id ) { + $list = $this->dynamic_lists->get_delayjs_list(); + return ! empty( $list->themes->$item_id ) ? (array) $list->themes->$item_id : []; + } + + /** + * Check if script is in the list and return it if found. + * + * @param string $item_id Script ID. + * + * @return array + */ + private function get_script_in_list( string $item_id ) { + $scripts = $this->get_scripts_from_list(); + return ! empty( $scripts[ $item_id ] ) ? (array) $scripts[ $item_id ] : []; + } + + /** + * Get all scripts from the list. + * + * @return array + */ + private function get_scripts_from_list() { + $list = $this->dynamic_lists->get_delayjs_list(); + return ! empty( $list->scripts ) ? (array) $list->scripts : []; + } + + /** + * Get all plugins from the list. + * + * @return array + */ + private function get_plugins_from_list() { + $list = $this->dynamic_lists->get_delayjs_list(); + return ! empty( $list->plugins ) ? (array) $list->plugins : []; + } + + /** + * Get all themes from the list. + * + * @return array + */ + private function get_themes_from_list() { + $list = $this->dynamic_lists->get_delayjs_list(); + return ! empty( $list->themes ) ? (array) $list->themes : []; + } + + /** + * Get list of exclusions from the API list. + * + * @param string $item_id Item ID to get exclusions for (plugin slug, theme slug, script ID). + * + * @return array + */ + public function get_delayjs_exclusions_by_id( string $item_id ) { + $item = $this->get_script_in_list( $item_id ); + if ( $item ) { + return $item['exclusions']; + } + + $item = $this->get_plugin_in_list( $item_id ); + if ( $item ) { + return $item['exclusions']; + } + + $item = $this->get_theme_in_list( $item_id ); + if ( $item ) { + return $item['exclusions']; + } + + return []; + } + + /** + * Get all exclusions (merged together) for a list of item IDs. + * + * @param array $items List of items. + * + * @return array + */ + public function get_delayjs_items_exclusions( array $items ) { + if ( empty( $items ) ) { + return []; + } + + $exclusions = []; + + foreach ( $items as $item ) { + $exclusions = array_merge( $exclusions, $this->get_delayjs_exclusions_by_id( $item ) ); + } + + return $exclusions; + } + + /** + * Get active theme ID. + * + * @return string + */ + public function get_active_theme() { + return $this->get_theme_name( wp_get_theme() ); + } + + /** + * Get active plugins (list of IDs). + * + * @return array + */ + public function get_active_plugins() { + $plugins = (array) get_option( 'active_plugins', [] ); + + if ( ! is_multisite() ) { + return $plugins; + } + + return array_merge( + $plugins, + array_keys( (array) get_site_option( 'active_sitewide_plugins', [] ) ) + ); + } + + /** + * Prepare the list of scripts, plugins and theme for the view. + * + * @return array|array[] + */ + public function prepare_delayjs_ui_list() { + $full_list = [ + 'scripts' => [ + 'title' => __( 'Analytics & Ads', 'rocket' ), + 'items' => [], + 'dashicon-class' => 'analytics', + ], + 'plugins' => [ + 'title' => __( 'Plugins', 'rocket' ), + 'items' => [], + 'dashicon-class' => 'admin-plugins', + ], + 'themes' => [ + 'title' => __( 'Themes', 'rocket' ), + 'items' => [], + 'dashicon-class' => 'admin-appearance', + ], + ]; + + // Scripts. + $scripts = $this->get_scripts_from_list(); + foreach ( $scripts as $script_key => $script ) { + $full_list['scripts']['items'][] = [ + 'id' => $script_key, + 'title' => $script->title, + 'icon' => $this->get_icon( $script ), + ]; + } + + $active_plugins = $this->get_active_plugins(); + foreach ( $this->get_plugins_from_list() as $plugin_key => $plugin ) { + if ( ! in_array( $plugin->condition, $active_plugins, true ) ) { + continue; + } + + $full_list['plugins']['items'][] = [ + 'id' => $plugin_key, + 'title' => $plugin->title, + 'icon' => $this->get_icon( $plugin ), + ]; + } + + $active_theme = $this->get_active_theme(); + foreach ( $this->get_themes_from_list() as $theme_key => $theme ) { + if ( $theme->condition !== $active_theme ) { + continue; + } + + $full_list['themes']['items'][] = [ + 'id' => $theme_key, + 'title' => $theme->title, + 'icon' => $this->get_icon( $theme ), + ]; + } + + return $full_list; + } + /** + * Fetch the icon. + * + * @param array $item item from the list. + * @return string + */ + private function get_icon( $item ) { + if ( empty( $item ) || empty( $item->icon_url ) ) { + return ''; + } + + return $item->icon_url; + } + + /** + * Sanitizes delay JS options when saving the settings + * + * @since 3.13 + * + * @param array $input Array of values submitted from the form. + * + * @return array + */ + public function sanitize_options( $input ): array { + if ( empty( $input['delay_js_exclusions_selected'] ) ) { + $input['delay_js_exclusions_selected'] = []; + $input['delay_js_exclusions_selected_exclusions'] = []; + + return $input; + } + + $input['delay_js_exclusions_selected_exclusions'] = $this->get_delayjs_items_exclusions( $input['delay_js_exclusions_selected'] ); + + return $input; + } + + /** + * Refresh exclusions option based on selected items option. + * + * @return void + */ + public function refresh_exclusions_option() { + $slug = rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ); + $options = get_option( $slug, [] ); + if ( empty( $options ) ) { + return; + } + $options['delay_js_exclusions_selected_exclusions'] = $this->get_delayjs_items_exclusions( $options['delay_js_exclusions_selected'] ?? [] ); + update_option( $slug, $options ); + } + + /** + * Get plugin item ids from the list using plugin base. + * + * @param string $plugin_base Plugin basename. + * + * @return string[] + */ + private function get_plugin_item_ids( string $plugin_base ) { + $item_ids = []; + foreach ( $this->get_plugins_from_list() as $plugin_key => $plugin ) { + if ( $plugin_base !== $plugin->condition ) { + continue; + } + $item_ids[ $plugin_key ] = $plugin->is_default; + } + return $item_ids; + } + + /** + * Add plugin exclusions only if plugin is default is checked in backend. + * + * @param string $plugin_base Plugin basename. + * + * @return void + */ + public function add_default_plugin_exclusions( string $plugin_base ) { + $plugin_item_ids = $this->get_plugin_item_ids( $plugin_base ); + if ( empty( $plugin_item_ids ) ) { + return; + } + + $selected_items = $this->options->get( 'delay_js_exclusions_selected', [] ); + if ( empty( $selected_items ) ) { + return; + } + + $current_selected_items = $selected_items; + + foreach ( $plugin_item_ids as $plugin_item_id => $plugin_is_default ) { + if ( ! $plugin_is_default ) { + continue; + } + $selected_items[] = $plugin_item_id; + } + + if ( $current_selected_items === $selected_items ) { + return; + } + + $this->options->set( 'delay_js_exclusions_selected', $selected_items ); + $this->options->set( + 'delay_js_exclusions_selected_exclusions', + $this->get_delayjs_items_exclusions( $selected_items ) + ); + + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Remove plugin selections from settings. + * + * @param string $plugin_base Plugin basename. + * + * @return void + */ + public function remove_plugin_selection( $plugin_base ) { + $plugin_item_ids = $this->get_plugin_item_ids( $plugin_base ); + if ( empty( $plugin_item_ids ) ) { + return; + } + + $selected_items = $this->options->get( 'delay_js_exclusions_selected', [] ); + if ( empty( $selected_items ) ) { + return; + } + + $current_selected_items = $selected_items; + + foreach ( $plugin_item_ids as $plugin_item_id => $plugin_is_default ) { + $selected_item_key = array_search( $plugin_item_id, $selected_items, true ); + if ( false === $selected_item_key ) { + continue; + } + unset( $selected_items[ $selected_item_key ] ); + } + + if ( $current_selected_items === $selected_items ) { + return; + } + + $this->options->set( 'delay_js_exclusions_selected', $selected_items ); + $this->options->set( + 'delay_js_exclusions_selected_exclusions', + $this->get_delayjs_items_exclusions( $selected_items ) + ); + + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Get theme name from theme object. + * + * @param WP_Theme $theme Theme to get its name. + * + * @return string + */ + private function get_theme_name( WP_Theme $theme ) { + $parent = $theme->get_template(); + if ( ! empty( $parent ) ) { + return $parent; + } + + return $theme->get( 'Name' ); + } + + /** + * Get Theme item ids from the list using theme name. + * + * @param string $theme_name Theme name. + * + * @return string[] + */ + private function get_theme_item_ids( $theme_name ) { + $item_ids = []; + foreach ( $this->get_themes_from_list() as $theme_key => $theme ) { + if ( $theme_name !== $theme->condition ) { + continue; + } + + $item_ids[] = $theme_key; + } + return $item_ids; + } + + /** + * Replace the old theme with the new theme exclusions. + * + * @param WP_Theme $new_theme WP_Theme instance of the new theme. + * @param WP_Theme $old_theme WP_Theme instance of the old theme. + * + * @return void + */ + public function replace_theme_selection( $new_theme, $old_theme ) { + $new_theme_ids = $this->get_theme_item_ids( $this->get_theme_name( $new_theme ) ); + $old_theme_ids = $this->get_theme_item_ids( $this->get_theme_name( $old_theme ) ); + + if ( empty( $new_theme_ids ) && empty( $old_theme_ids ) ) { + return; + } + + $selected_items = $this->options->get( 'delay_js_exclusions_selected', [] ); + if ( empty( $selected_items ) ) { + return; + } + + $current_selected_items = $selected_items; + + if ( ! empty( $old_theme_ids ) ) { + foreach ( $old_theme_ids as $old_theme_id ) { + $selected_item_key = array_search( $old_theme_id, $selected_items, true ); + if ( false === $selected_item_key ) { + continue; + } + unset( $selected_items[ $selected_item_key ] ); + } + } + + if ( ! empty( $new_theme_ids ) ) { + $themes = $this->get_themes_from_list(); + foreach ( $new_theme_ids as $new_theme_id ) { + if ( ! $themes[ $new_theme_id ]->is_default ) { + continue; + } + $selected_items[] = $new_theme_id; + } + } + + if ( $current_selected_items === $selected_items ) { + return; + } + + $this->options->set( 'delay_js_exclusions_selected', $selected_items ); + $this->options->set( + 'delay_js_exclusions_selected_exclusions', + $this->get_delayjs_items_exclusions( $selected_items ) + ); + + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Get default items from the list with their exclusions. + * + * @return array + */ + public function get_default_exclusions() { + $items = []; + + $scripts = $this->get_scripts_from_list(); + foreach ( $scripts as $script_key => $script ) { + if ( ! $script->is_default ) { + continue; + } + + $items[ $script_key ] = $script->exclusions; + } + + $active_plugins = $this->get_active_plugins(); + foreach ( $this->get_plugins_from_list() as $plugin_key => $plugin ) { + if ( ! in_array( $plugin->condition, $active_plugins, true ) || ! $plugin->is_default ) { + continue; + } + + $items[ $plugin_key ] = $plugin->exclusions; + } + + $active_theme = $this->get_active_theme(); + foreach ( $this->get_themes_from_list() as $theme_key => $theme ) { + if ( $theme->condition !== $active_theme || ! $theme->is_default ) { + continue; + } + + $items[ $theme_key ] = $theme->exclusions; + } + + /** + * Filters the delay JS default exclusions list. + * Key is the plugin/theme/script unique ID and value is array of exclusions + * + * @since 3.13 + * + * @param array $items Array of default excluded items. + */ + return apply_filters( 'rocket_delay_js_default_exclusions', $items ); + } +} diff --git a/inc/Engine/Optimization/DelayJS/Admin/Subscriber.php b/inc/Engine/Optimization/DelayJS/Admin/Subscriber.php new file mode 100644 index 0000000..684fb45 --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/Admin/Subscriber.php @@ -0,0 +1,214 @@ +settings = $settings; + $this->site_list = $site_list; + } + + /** + * Return an array of events that this subscriber listens to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_first_install_options' => [ + [ 'add_options' ], + [ 'add_default_exclusions_options' ], + ], + 'wp_rocket_upgrade' => [ 'set_option_on_update', 13, 2 ], + 'rocket_input_sanitize' => [ + [ 'sanitize_options', 13, 2 ], + [ 'sanitize_selected_exclusions', 14 ], + ], + 'pre_update_option_wp_rocket_settings' => [ 'maybe_disable_combine_js', 11, 2 ], + 'rocket_after_save_dynamic_lists' => 'refresh_exclusions_option', + 'activate_plugin' => 'add_plugin_exclusions', + 'deactivate_plugin' => 'remove_plugin_exclusions', + 'switch_theme' => [ 'handle_switch_theme_exclusions', 10, 3 ], + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 6 ], + ]; + } + + /** + * Add the delay JS options to the WP Rocket options array + * + * @param array $options WP Rocket options array. + * + * @return array + * @since 3.7 + */ + public function add_options( $options ): array { + return $this->settings->add_options( $options ); + } + + /** + * Add the delay JS exclusions options to the WP Rocket options array + * based on the default items in the list. + * + * @param array $options WP Rocket options array. + * + * @return array + * @since 3.13 + */ + public function add_default_exclusions_options( $options ): array { + $default_exclusions = $this->site_list->get_default_exclusions(); + + if ( empty( $default_exclusions ) ) { + $options['delay_js_exclusions_selected'] = []; + $options['delay_js_exclusions_selected_exclusions'] = []; + + return $options; + } + + $options['delay_js_exclusions_selected'] = array_keys( $default_exclusions ); + $options['delay_js_exclusions_selected_exclusions'] = array_merge( ...array_values( $default_exclusions ) ); + + return $options; + } + + /** + * Sets the delay_js_exclusions default value for users with delay JS enabled on upgrade + * + * @param string $new_version New plugin version. + * @param string $old_version Previous plugin version. + * + * @return void + * @since 3.7 + * + * @since 3.9 Sets the delay_js_exclusions default value if delay_js is 1 + */ + public function set_option_on_update( $new_version, $old_version ) { + $this->settings->set_option_on_update( $old_version ); + } + + /** + * Sanitizes Delay JS options values when the settings form is submitted + * + * @param array $input Array of values submitted from the form. + * @param AdminSettings $settings Settings class instance. + * + * @return array + * @since 3.9 + */ + public function sanitize_options( $input, AdminSettings $settings ): array { + return $this->settings->sanitize_options( $input, $settings ); + } + + /** + * Sanitizes delay JS selected exclusions options when saving the settings. + * + * @since 3.13 + * + * @param array $input Array of values submitted from the form. + * + * @return array + */ + public function sanitize_selected_exclusions( $input ) { + return $this->site_list->sanitize_options( $input ); + } + + /** + * Disable combine JS option when delay JS is enabled + * + * @param array $value The new, unserialized option value. + * @param array $old_value The old option value. + * + * @return array + * @since 3.9 + */ + public function maybe_disable_combine_js( $value, $old_value ): array { + return $this->settings->maybe_disable_combine_js( $value, $old_value ); + } + + /** + * Refresh exclusions option when the dynamic list is updated weekly or manually. + * + * @return void + */ + public function refresh_exclusions_option() { + $this->site_list->refresh_exclusions_option(); + } + + /** + * Remove plugin from exclusions list once deactivated. + * + * @param string $plugin Plugin basename. + * + * @return void + */ + public function remove_plugin_exclusions( string $plugin ) { + if ( plugin_basename( WP_ROCKET_FILE ) === $plugin ) { + return; + } + $this->site_list->remove_plugin_selection( $plugin ); + } + + /** + * Handle switch theme exclusions, remove the old theme exclusions and add the new one. + * + * @param string $new_name Name of the new theme. + * @param WP_Theme $new_theme WP_Theme instance of the new theme. + * @param WP_Theme $old_theme WP_Theme instance of the old theme. + * + * @return void + */ + public function handle_switch_theme_exclusions( string $new_name, WP_Theme $new_theme, WP_Theme $old_theme ) { + $this->site_list->replace_theme_selection( $new_theme, $old_theme ); + } + + /** + * Add plugin exclusions with plugin activation for default checked plugins. + * + * @param string $plugin Plugin basename. + * + * @return void + */ + public function add_plugin_exclusions( string $plugin ) { + if ( plugin_basename( WP_ROCKET_FILE ) === $plugin ) { + return; + } + $this->site_list->add_default_plugin_exclusions( $plugin ); + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['delay_js'] = __( 'Delay JavaScript execution', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/Optimization/DelayJS/HTML.php b/inc/Engine/Optimization/DelayJS/HTML.php new file mode 100644 index 0000000..7acd06b --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/HTML.php @@ -0,0 +1,304 @@ +options = $options; + $this->data_manager = $data_manager; + $this->logger = $logger; + } + + /** + * Adjust HTML to have delay js structure. + * + * @since 3.9 Updated to use exclusions list instead of inclusions list. + * @since 3.7 + * + * @param string $html Buffer html for the page. + * + * @return string + */ + public function delay_js( $html ): string { + if ( ! $this->is_allowed() ) { + return $html; + } + + $this->set_exclusions(); + + $this->excluded = array_merge( $this->excluded, $this->options->get( 'delay_js_exclusions', [] ) ); + $this->excluded = array_merge( $this->excluded, $this->options->get( 'delay_js_exclusions_selected_exclusions', [] ) ); + + /** + * Filters the delay JS exclusions array + * + * @since 3.9 + * + * @param array $excluded Array of excluded patterns. + */ + $this->excluded = (array) apply_filters( 'rocket_delay_js_exclusions', $this->excluded ); + $this->excluded = array_map( + function ( $value ) { + if ( ! is_string( $value ) ) { + $value = (string) $value; + } + + return str_replace( + [ '+', '?ver', '#' ], + [ '\+', '\?ver', '\#' ], + $value + ); + }, + $this->excluded + ); + + return $this->parse( $html ); + } + + /** + * Checks if is allowed to Delay JS. + * + * @since 3.7 + * + * @return bool + */ + public function is_allowed(): bool { + + if ( rocket_bypass() ) { + return false; + } + + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( is_rocket_post_excluded_option( 'delay_js' ) ) { + return false; + } + + return (bool) $this->options->get( 'delay_js', 0 ); + } + + /** + * Gets Javascript to redirect IE visitors to the uncached page + * + * @since 3.9 + * + * @return string + */ + public function get_ie_fallback(): string { + return 'if(navigator.userAgent.match(/MSIE|Internet Explorer/i)||navigator.userAgent.match(/Trident\/7\..*?rv:11/i)){var href=document.location.href;if(!href.match(/[?&]nowprocket/)){if(href.indexOf("?")==-1){if(href.indexOf("#")==-1){document.location.href=href+"?nowprocket=1"}else{document.location.href=href.replace("#","?nowprocket=1#")}}else{if(href.indexOf("#")==-1){document.location.href=href+"&nowprocket=1"}else{document.location.href=href.replace("#","&nowprocket=1#")}}}}'; + } + + /** + * Parse the html and add/remove attributes from specific scripts. + * + * @since 3.7 + * + * @param string $html Buffer html for the page. + * + * @return string + */ + private function parse( $html ): string { + + if ( empty( $html ) ) { + return $html; + } + + $result = $this->replace_xmp_tags( $html ); + $result = $this->replace_svg_tags( $result ); + + $replaced_html = preg_replace_callback( + '/<\s*script(?\s*[^>]*?)?>(?.*?)?<\s*\/\s*script\s*>/ims', + [ + $this, + 'replace_scripts', + ], + $result + ); + if ( empty( $replaced_html ) ) { + return $html; + } + + $replaced_html = $this->restore_xmp_tags( $replaced_html ); + return $this->restore_svg_tags( $replaced_html ); + } + + /** + * Callback method for preg_replace_callback that is used to adjust attributes for scripts. + * + * @since 3.9 Use exclusions list & fake type attribute. + * @since 3.7 + * + * @param array $matches Matches array for scripts regex. + * + * @return string + */ + public function replace_scripts( $matches ): string { + foreach ( $this->excluded as $pattern ) { + if ( preg_match( "#{$pattern}#i", $matches[0] ) ) { + $this->logger->debug( "DelayJS: Script {$matches[0]} excluded by $pattern" ); + return $matches[0]; + } + } + + if ( empty( $matches['attr'] ) ) { + return ''; + } + + $type_regex = '/type\s*=\s*(["\'])(?.*)\1/i'; + preg_match( $type_regex . 'U', $matches['attr'], $type_matches ); + if ( + ! empty( $type_matches ) + && + ! empty( trim( $type_matches['type'] ) ) + && + ! in_array( trim( $type_matches['type'] ), $this->allowed_types, true ) + ) { + return $matches[0]; + } + + $matches['attr'] = preg_replace( $type_regex, 'data-rocket-type=$1$2$1', $matches['attr'] ); + // To remove type attribute without any value. + $matches['attr'] = preg_replace( '/(\s+type\s+)|(^type\s+)|(\s+type$)/i', '', $matches['attr'] ); + + // Checks if script has src attribute so then treat as external script and replace src with data-rocket-src. + $src_regex = '/src\s*=\s*(["\'])(.*)\1/i'; + $matches['attr'] = preg_replace( $src_regex, 'data-rocket-src=$1$2$1', $matches['attr'] ); + + return ''; + } + + + /** + * Move meta charset to head if not found to the top of page content. + * + * @since 3.9.4 + * + * @param string $html Html content. + * + * @return string + */ + public function move_meta_charset_to_head( $html ): string { + $meta_pattern = "#]*|)(charset[^=]*=[ ]*[\'\" ]*[^\'\"> ][^\'\">]+[^\'\"> ][\'\" ]*|charset[^=]*=*[^\'\"> ][^\'\">]+[^\'\"> ])([^>]*|)>(?=.*)#Usmi"; + + if ( ! preg_match( $meta_pattern, $html, $matches ) ) { + return $html; + } + + $replaced_html = preg_replace( "$meta_pattern", '', $html ); + + if ( empty( $replaced_html ) ) { + return $html; + } + + if ( preg_match( '/]*?>)/i', "\${1}{$matches[0]}", $replaced_html, 1 ); + + if ( empty( $replaced_html ) ) { + return $html; + } + + return $replaced_html; + } + + if ( preg_match( '/]*?>)/i', "\${1}{$matches[0]}", $replaced_html, 1 ); + + if ( empty( $replaced_html ) ) { + return $html; + } + + return $replaced_html; + } + + $replaced_html = preg_replace( '/(<\w+)/', "{$matches[0]}\${1}", $replaced_html, 1 ); + + if ( empty( $replaced_html ) ) { + return $html; + } + + return $replaced_html; + } + + /** + * Get exclusions + * + * @return void + */ + private function set_exclusions() { + $lists = $this->data_manager->get_lists(); + + $this->excluded = isset( $lists->delay_js_exclusions ) ? $lists->delay_js_exclusions : []; + } +} diff --git a/inc/Engine/Optimization/DelayJS/ServiceProvider.php b/inc/Engine/Optimization/DelayJS/ServiceProvider.php new file mode 100644 index 0000000..e47db58 --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/ServiceProvider.php @@ -0,0 +1,60 @@ +getContainer()->add( 'delay_js_sitelist', SiteList::class ) + ->addArgument( $this->getContainer()->get( 'dynamic_lists' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ); + $this->getContainer()->add( 'delay_js_settings', Settings::class ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ); + $this->getContainer()->share( 'delay_js_admin_subscriber', AdminSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'delay_js_settings' ) ) + ->addArgument( $this->getContainer()->get( 'delay_js_sitelist' ) ) + ->addTag( 'admin_subscriber' ); + $this->getContainer()->add( 'delay_js_html', HTML::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addArgument( $this->getContainer()->get( 'dynamic_lists_defaultlists_data_manager' ) ) + ->addArgument( new Logger() ); + $this->getContainer()->share( 'delay_js_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'delay_js_html' ) ) + ->addArgument( rocket_direct_filesystem() ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'front_subscriber' ); + } +} diff --git a/inc/Engine/Optimization/DelayJS/Subscriber.php b/inc/Engine/Optimization/DelayJS/Subscriber.php new file mode 100644 index 0000000..d48f80b --- /dev/null +++ b/inc/Engine/Optimization/DelayJS/Subscriber.php @@ -0,0 +1,143 @@ +html = $html; + $this->filesystem = $filesystem; + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.7 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ + [ 'delay_js', 26 ], + [ 'add_delay_js_script', 26 ], + ], + 'pre_get_rocket_option_minify_concatenate_js' => 'maybe_disable_option', + ]; + } + + /** + * Modifies scripts HTML to apply delay JS attribute + * + * @since 3.7 + * + * @param string $buffer_html Html for the page. + * + * @return string + */ + public function delay_js( $buffer_html ) { + return $this->html->delay_js( $buffer_html ); + } + + /** + * Displays the inline script to the head when the option is enabled. + * + * @since 3.9.4 Move meta charset to head. + * @since 3.9 Hooked on rocket_buffer, display the script right after + * @since 3.7 + * + * @param string $html HTML content. + * + * @return string + */ + public function add_delay_js_script( $html ): string { + if ( ! $this->html->is_allowed() ) { + return $html; + } + + $pattern = '/]*>/i'; + + $lazyload_script = $this->filesystem->get_contents( rocket_get_constant( 'WP_ROCKET_PATH' ) . 'assets/js/lazyload-scripts.min.js' ); + + $replaced_html = $html; + + if ( false !== $lazyload_script ) { + $replaced_html = preg_replace( $pattern, "$0", $replaced_html, 1 ); + + if ( empty( $replaced_html ) ) { + return $html; + } + } + + $replaced_html = preg_replace( $pattern, '$0', $replaced_html, 1 ); + + if ( empty( $replaced_html ) ) { + return $html; + } + + return $this->html->move_meta_charset_to_head( $replaced_html ); + } + + /** + * Disables defer JS if delay JS is enabled + * + * @since 3.9 + * + * @param null $value Original value. Should be always null. + * + * @return null|false + */ + public function maybe_disable_option( $value ) { + if ( $this->html->is_allowed() ) { + return false; + } + + return $value; + } +} diff --git a/inc/Engine/Optimization/DynamicLists/AbstractAPIClient.php b/inc/Engine/Optimization/DynamicLists/AbstractAPIClient.php new file mode 100644 index 0000000..20bf63f --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/AbstractAPIClient.php @@ -0,0 +1,140 @@ +options = $options; + } + + /** + * Specify API endpoint path. + * + * @return string + */ + abstract protected function get_api_path(); + + /** + * Get exclusions list. + * + * @param string $hash Hash of lists content to compare. + * + * @return array + */ + public function get_exclusions_list( $hash ) { + $args = [ + 'body' => [ + 'hash' => $hash, + ], + 'timeout' => 5, + ]; + + if ( ! $this->handle_request( $args ) ) { + return [ + 'code' => $this->response_code, + 'message' => $this->error_message, + ]; + } + + return [ + 'code' => $this->response_code, + 'body' => $this->response_body, + ]; + } + + /** + * Handle the request. + * + * @param array $args Passed arguments. + * + * @return bool + */ + private function handle_request( array $args ) { + $api_url = rocket_get_constant( 'WP_ROCKET_EXCLUSIONS_API_URL', false ) + ? rocket_get_constant( 'WP_ROCKET_EXCLUSIONS_API_URL', false ) + : self::API_URL; + + if ( empty( $args['body'] ) ) { + $args['body'] = []; + } + + $args['body']['credentials'] = [ + 'wpr_email' => $this->options->get( 'consumer_email', '' ), + 'wpr_key' => $this->options->get( 'consumer_key', '' ), + ]; + + $response = wp_remote_get( + $api_url . $this->get_api_path(), + $args + ); + + return $this->check_response( $response ); + } + + /** + * Handle SaaS request error. + * + * @param array|WP_Error $response WP Remote request. + * + * @return bool + */ + private function check_response( $response ): bool { + $this->response_code = is_array( $response ) + ? wp_remote_retrieve_response_code( $response ) + : $response->get_error_code(); + + if ( 200 !== $this->response_code && 206 !== $this->response_code ) { + $this->error_message = is_array( $response ) + ? wp_remote_retrieve_response_message( $response ) + : $response->get_error_message(); + + return false; + } + + $this->response_body = wp_remote_retrieve_body( $response ); + + return true; + } +} diff --git a/inc/Engine/Optimization/DynamicLists/AbstractDataManager.php b/inc/Engine/Optimization/DynamicLists/AbstractDataManager.php new file mode 100644 index 0000000..b40dc74 --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/AbstractDataManager.php @@ -0,0 +1,160 @@ +filesystem = is_null( $filesystem ) ? rocket_direct_filesystem() : $filesystem; + } + + /** + * Get cache transient name. + * + * @return string + */ + abstract protected function get_cache_transient_name(); + + /** + * Get lists json filename. + * + * @return string + */ + abstract protected function get_json_filename(); + + /** + * Gets the lists content + * + * @return object + */ + public function get_lists() { + $transient = get_transient( $this->get_cache_transient_name() ); + + if ( false !== $transient ) { + return $transient; + } + + $json = $this->get_lists_from_file(); + + $lists = json_decode( $json ); + + if ( empty( $lists ) ) { + return new StdClass(); + } + + $this->set_lists_cache( $lists ); + + return $lists; + } + + /** + * Returns the hash of the current JSON + * + * @return string + */ + public function get_lists_hash() { + return md5( $this->get_lists_from_file() ); + } + + /** + * Save dynamic lists on file & transient + * + * @param string $content Lists content. + * + * @return boolean + */ + public function save_dynamic_lists( string $content ) { + $result = $this->put_lists_to_file( $content ); + + $lists = json_decode( $content ); + + $this->set_lists_cache( $lists ); + + return $result; + } + + /** + * Gets the path to the dynamic lists JSON file + * + * @return string + */ + private function get_json_filepath(): string { + return rocket_get_constant( 'WP_ROCKET_CONFIG_PATH', '' ) . $this->get_json_filename() . '.json'; + } + + /** + * Gets lists JSON content from file + * + * @return string + */ + private function get_lists_from_file(): string { + $content = ''; + $lists_filepath = $this->get_json_filepath(); + + if ( $this->filesystem->exists( $lists_filepath ) ) { + $content = $this->filesystem->get_contents( $lists_filepath ); + } + + if ( ! empty( $content ) ) { + return $content; + } + + $fallback_filepath = rocket_get_constant( 'WP_ROCKET_PATH', '' ) . $this->get_json_filename() . '.json'; + + if ( $this->filesystem->exists( $fallback_filepath ) ) { + $content = $this->filesystem->get_contents( $fallback_filepath ); + } + + if ( ! empty( $content ) ) { + $this->put_lists_to_file( $content ); + + return $content; + } + + return $content; + } + + /** + * Write lists content to JSON file + * + * @param string $content JSON content. + * + * @return bool + */ + private function put_lists_to_file( string $content ): bool { + return $this->filesystem->put_contents( $this->get_json_filepath(), $content, rocket_get_filesystem_perms( 'file' ) ); + } + + /** + * Sets transient for lists content + * + * @param object $content Lists content. + * + * @return void + */ + private function set_lists_cache( $content ) { + set_transient( $this->get_cache_transient_name(), $content, $this->cache_duration ); + } +} diff --git a/inc/Engine/Optimization/DynamicLists/DefaultLists/APIClient.php b/inc/Engine/Optimization/DynamicLists/DefaultLists/APIClient.php new file mode 100644 index 0000000..e5cee06 --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/DefaultLists/APIClient.php @@ -0,0 +1,18 @@ +providers = $providers; + $this->user = $user; + $this->beacon = $beacon; + } + + /** + * Registers the dynamic lists update route + * + * @return void + */ + public function register_rest_route() { + register_rest_route( + self::ROUTE_NAMESPACE, + 'dynamic_lists/update', + [ + 'methods' => 'PUT', + 'callback' => [ $this, 'rest_update_response' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + } + /** + * Checks user's permissions. This is a callback registered to REST route's "permission_callback" parameter. + * + * @return bool true if the user has permission; else false. + */ + public function check_permissions() { + return current_user_can( 'rocket_manage_options' ); + } + + /** + * Returns the update response + * + * @return WP_REST_Response|WP_Error + */ + public function rest_update_response() { + return rest_ensure_response( $this->update_lists_from_remote() ); + } + + /** + * Updates the lists from remote + * + * @return array + */ + public function update_lists_from_remote() { + if ( $this->user->is_license_expired() ) { + return [ + 'success' => false, + 'data' => '', + 'message' => __( 'You need an active license to get the latest version of the lists from our server.', 'rocket' ), + ]; + } + + $response = []; + $success = false; + $should_purge = false; + + foreach ( $this->providers as $provider ) { + $result = $provider->api_client->get_exclusions_list( $provider->data_manager->get_lists_hash() ); + + if ( empty( $result['code'] ) || empty( $result['body'] ) ) { + $response[ $provider->title ] = [ + 'success' => false, + 'data' => '', + 'message' => __( 'Could not get updated lists from server.', 'rocket' ), + ]; + continue; + } + + if ( 206 === $result['code'] ) { + $response[ $provider->title ] = [ + 'success' => true, + 'data' => '', + 'message' => __( 'Lists are up to date.', 'rocket' ), + ]; + continue; + } + + if ( ! $provider->data_manager->save_dynamic_lists( $result['body'] ) ) { + $response[ $provider->title ] = [ + 'success' => false, + 'data' => '', + 'message' => __( 'Could not update lists.', 'rocket' ), + ]; + continue; + } + + $success = true; + $response[ $provider->title ] = [ + 'success' => true, + 'data' => '', + 'message' => __( 'Lists are successfully updated.', 'rocket' ), + ]; + + $should_purge |= $provider->clear_cache ?? true; + } + + if ( $success ) { + /** + * Fires after saving all dynamic lists files. + * + * @since 3.12.1 + * + * @param bool $should_purge Should purge status based on the updated providers. + */ + do_action( 'rocket_after_save_dynamic_lists', $should_purge ); + } + + return $response; + } + + /** + * Schedule cron to update dynamic lists weekly. + * + * @return void + */ + public function schedule_lists_update() { + if ( ! wp_next_scheduled( 'rocket_update_dynamic_lists' ) ) { + wp_schedule_event( time(), 'weekly', 'rocket_update_dynamic_lists' ); + } + } + + /** + * Clear dynamic lists update event. + */ + public function clear_schedule_lists_update() { + wp_clear_scheduled_hook( 'rocket_update_dynamic_lists' ); + } + + /** + * Displays the dynamic lists update section on tools tab + * + * @return void + */ + public function display_update_lists_section() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + $data = [ + 'beacon' => $this->beacon->get_suggest( 'dynamic_lists' ), + ]; + + echo $this->generate( 'settings/dynamic-lists-update', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Get the cached ignored parameters + * + * @return array + */ + public function get_cache_ignored_parameters(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->cache_ignored_parameters ) ? array_flip( $lists->cache_ignored_parameters ) : []; + } + + /** + * Get the JS minify excluded external paths + * + * @return array + */ + public function get_js_minify_excluded_external(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->js_minify_external ) ? $lists->js_minify_external : []; + } + + /** + * Get the patterns to move after the combine JS file + * + * @return array + */ + public function get_js_move_after_combine(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->js_move_after_combine ) ? $lists->js_move_after_combine : []; + } + + /** + * Get the inline JS excluded from combine JS + * + * @return array + */ + public function get_combine_js_excluded_inline(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->js_excluded_inline ) ? $lists->js_excluded_inline : []; + } + + /** + * Get the preload exclusions + * + * @return array + */ + public function get_preload_exclusions(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->preload_exclusions ) ? $lists->preload_exclusions : []; + } + + /** + * Get Delay JS dynamic list. + * + * @return array + */ + public function get_delayjs_list() { + return $this->providers['delayjslists']->data_manager->get_lists(); + } + + /** + * Get the JS minify excluded files + * + * @return array + */ + public function get_js_exclude_files(): array { + $lists = $this->providers['defaultlists']->data_manager->get_lists(); + + return isset( $lists->exclude_js_files ) ? $lists->exclude_js_files : []; + } + + /** + * Get the incompatible plugins list + * + * @return array + */ + public function get_incompatible_plugins() { + $lists = $this->providers['incompatible_plugins']->data_manager->get_plugins_list(); + + return isset( $lists ) ? $lists : []; + } +} diff --git a/inc/Engine/Optimization/DynamicLists/IncompatiblePluginsLists/APIClient.php b/inc/Engine/Optimization/DynamicLists/IncompatiblePluginsLists/APIClient.php new file mode 100644 index 0000000..16bc6fe --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/IncompatiblePluginsLists/APIClient.php @@ -0,0 +1,18 @@ +options = $options; + } + /** + * Get cache transient name. + * + * @return string + */ + protected function get_cache_transient_name() { + return 'wpr_dynamic_lists_incompatible_plugins'; + } + + /** + * Get lists json filename. + * + * @return string + */ + protected function get_json_filename() { + return 'dynamic-lists-incompatible-plugins'; + } + + /** + * Gets the plugins list content + * + * @return array + */ + public function get_plugins_list() { + $lists = []; + $list_from_json = $this->get_lists(); + foreach ( $list_from_json as $conditions => $list ) { + if ( $this->meet_conditions( $conditions ) ) { + $list = array_column( $list, 'file', 'slug' ); + $lists = array_merge( $lists, $list ); + } + } + return $lists; + } + + /** + * Check if the condition is meet based on plugin option and condition string. + * If $conditions contain "||" split and treat it like or + * + * @param string $conditions condition. + * + * @return bool + */ + private function meet_conditions( $conditions = '' ) { + if ( empty( $conditions ) ) { + return true; + } + + $conditions = explode( '||', $conditions ); + + foreach ( $conditions as $condition ) { + if ( $this->options->get( trim( $condition ), false ) ) { + return true; + } + } + return false; + } +} diff --git a/inc/Engine/Optimization/DynamicLists/ServiceProvider.php b/inc/Engine/Optimization/DynamicLists/ServiceProvider.php new file mode 100644 index 0000000..59e9059 --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/ServiceProvider.php @@ -0,0 +1,86 @@ +getContainer()->add( 'dynamic_lists_defaultlists_data_manager', DefaultListsDataManager::class ); + $this->getContainer()->add( 'dynamic_lists_defaultlists_api_client', DefaultListsAPIClient::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + $this->getContainer()->add( 'dynamic_lists_delayjslists_data_manager', DelayJSListsDataManager::class ); + $this->getContainer()->add( 'dynamic_lists_delayjslists_api_client', DelayJSListsAPIClient::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + $this->getContainer()->add( 'dynamic_lists_incompatible_plugins_lists_data_manager', IncompatiblePluginsListsDataManager::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + $this->getContainer()->add( 'dynamic_lists_incompatible_plugins_lists_api_client', IncompatiblePluginsListsAPIClient::class ) + ->addArgument( $this->getContainer()->get( 'options' ) ); + + $providers = [ + 'defaultlists' => + (object) [ + 'api_client' => $this->getContainer()->get( 'dynamic_lists_defaultlists_api_client' ), + 'data_manager' => $this->getContainer()->get( 'dynamic_lists_defaultlists_data_manager' ), + 'title' => __( 'Default Lists', 'rocket' ), + ], + 'delayjslists' => + (object) [ + 'api_client' => $this->getContainer()->get( 'dynamic_lists_delayjslists_api_client' ), + 'data_manager' => $this->getContainer()->get( 'dynamic_lists_delayjslists_data_manager' ), + 'title' => __( 'Delay JavaScript Execution Exclusion Lists', 'rocket' ), + ], + 'incompatible_plugins' => + (object) [ + 'api_client' => $this->getContainer()->get( 'dynamic_lists_incompatible_plugins_lists_api_client' ), + 'data_manager' => $this->getContainer()->get( 'dynamic_lists_incompatible_plugins_lists_data_manager' ), + 'title' => __( 'Incompatible plugins Lists', 'rocket' ), + 'clear_cache' => false, + ], + ]; + + $this->getContainer()->add( 'dynamic_lists', DynamicLists::class ) + ->addArgument( $providers ) + ->addArgument( $this->getContainer()->get( 'user' ) ) + ->addArgument( $this->getContainer()->get( 'template_path' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ); + + $this->getContainer()->share( 'dynamic_lists_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->get( 'dynamic_lists' ) ); + } +} diff --git a/inc/Engine/Optimization/DynamicLists/Subscriber.php b/inc/Engine/Optimization/DynamicLists/Subscriber.php new file mode 100644 index 0000000..f9cd0cd --- /dev/null +++ b/inc/Engine/Optimization/DynamicLists/Subscriber.php @@ -0,0 +1,204 @@ +dynamic_lists = $dynamic_lists; + } + + /** + * Events this subscriber listens to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rest_api_init' => 'register_rest_route', + 'rocket_localize_admin_script' => [ 'add_dynamic_lists_script', 11 ], + 'init' => 'schedule_lists_update', + 'rocket_update_dynamic_lists' => 'update_lists', + 'rocket_deactivation' => 'clear_schedule_lists_update', + 'rocket_settings_tools_content' => 'display_update_lists_section', + 'rocket_cache_ignored_parameters' => 'add_cache_ignored_parameters', + 'rocket_minify_excluded_external_js' => 'add_minify_excluded_external_js', + 'rocket_move_after_combine_js' => 'add_move_after_combine_js', + 'rocket_excluded_inline_js_content' => 'add_combine_js_excluded_inline', + 'rocket_preload_exclude_urls' => 'add_preload_exclusions', + 'rocket_exclude_js' => 'add_js_exclude_files', + 'rocket_plugins_to_deactivate' => 'add_incompatible_plugins_to_deactivate', + ]; + } + + /** + * Registers the REST dynamic lists update route + * + * @return void + */ + public function register_rest_route() { + $this->dynamic_lists->register_rest_route(); + } + + /** + * Add REST data to our localize script data. + * + * @param array $data Localize script data. + * @return array + */ + public function add_dynamic_lists_script( $data ) { + $data['rest_url'] = rest_url( 'wp-rocket/v1/dynamic_lists/update/' ); + $data['rest_nonce'] = wp_create_nonce( 'wp_rest' ); + + return $data; + } + + /** + * Scheduling the dynamic lists update cron event. + */ + public function schedule_lists_update() { + $this->dynamic_lists->schedule_lists_update(); + } + + /** + * Clear the dynamic lists update cron event. + * + * @return void + */ + public function clear_schedule_lists_update() { + $this->dynamic_lists->clear_schedule_lists_update(); + } + + /** + * Update dynamic lists from API. + * + * * @return void + */ + public function update_lists() { + $this->dynamic_lists->update_lists_from_remote(); + } + + /** + * Displays the dynamic lists update section on tools tab + * + * @return void + */ + public function display_update_lists_section() { + $this->dynamic_lists->display_update_lists_section(); + } + + /** + * Add the cached ignored parameters to the array + * + * @param string $params Array of ignored parameters. + * + * @return array + */ + public function add_cache_ignored_parameters( $params = [] ): array { + if ( ! is_array( $params ) ) { + $params = (array) $params; + } + + return array_merge( $params, $this->dynamic_lists->get_cache_ignored_parameters() ); + } + + /** + * Add the excluded external JS patterns to the array + * + * @param string $excluded Array of excluded patterns. + * + * @return array + */ + public function add_minify_excluded_external_js( $excluded = [] ): array { + if ( ! is_array( $excluded ) ) { + $excluded = (array) $excluded; + } + + return array_merge( $excluded, $this->dynamic_lists->get_js_minify_excluded_external() ); + } + + /** + * Add the JS patterns to move after the combine JS file to the array + * + * @param string $excluded Array of patterns to move. + * + * @return array + */ + public function add_move_after_combine_js( $excluded = [] ): array { + if ( ! is_array( $excluded ) ) { + $excluded = (array) $excluded; + } + + return array_merge( $excluded, $this->dynamic_lists->get_js_move_after_combine() ); + } + + /** + * Add the excluded inline JS patterns to the array + * + * @param string $excluded Array of excluded patterns. + * + * @return array + */ + public function add_combine_js_excluded_inline( $excluded = [] ): array { + if ( ! is_array( $excluded ) ) { + $excluded = (array) $excluded; + } + + return array_merge( $excluded, $this->dynamic_lists->get_combine_js_excluded_inline() ); + } + + /** + * Add the preload exclusions to the array + * + * @param array $excluded Array of ignored URL regex. + * + * @return array + */ + public function add_preload_exclusions( $excluded = [] ): array { + if ( ! is_array( $excluded ) ) { + $excluded = (array) $excluded; + } + + return array_merge( $excluded, $this->dynamic_lists->get_preload_exclusions() ); + } + + /** + * Add the js files exclusions to the array + * + * @param array $js_files Array of files. + * + * @return array + */ + public function add_js_exclude_files( $js_files = [] ): array { + if ( ! is_array( $js_files ) ) { + $js_files = (array) $js_files; + } + + return array_merge( $js_files, $this->dynamic_lists->get_js_exclude_files() ); + } + + /** + * Add incompatible plugins to the array + * + * @param array $plugins Array of $plugins. + * + * @return array + */ + public function add_incompatible_plugins_to_deactivate( $plugins = [] ): array { + return array_merge( (array) $plugins, $this->dynamic_lists->get_incompatible_plugins() ); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/AbstractGFOptimization.php b/inc/Engine/Optimization/GoogleFonts/AbstractGFOptimization.php new file mode 100644 index 0000000..bb945d1 --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/AbstractGFOptimization.php @@ -0,0 +1,123 @@ + 1, + 'block' => 1, + 'swap' => 1, + 'fallback' => 1, + 'optional' => 1, + ]; + + /** + * Flag for whether google fonts have been detected (Default: true) + * + * @since 3.8.8 + * + * @var bool + */ + protected $has_google_fonts = true; + + /** + * Optimize Google Fonts + * + * @param string $html HTML content. + * + * @return string + */ + abstract public function optimize( $html ): string; + + /** + * Check whether the optimizer has found google fonts on the page. + * + * @since 3.8.8 + * + * @return bool Will default to true when extending classes have not set via the optimize() method. + */ + public function has_google_fonts() { + return $this->has_google_fonts; + } + + /** + * Returns font with display value. + * + * @since 3.8 Moved here from GoogleFonts\Combine::class + * @since 3.5.1 + * + * @param array $font Array containing font tag and matches. + * + * @return string Google Font tag with display param. + */ + protected function get_font_with_display( array $font ) { + $font_url = html_entity_decode( $font['url'] ); + $query = wp_parse_url( $font_url, PHP_URL_QUERY ); + + if ( empty( $query ) ) { + return $font[0]; + } + + $parsed_font = wp_parse_args( $query ); + $font_url = ! empty( $parsed_font['display'] ) + ? str_replace( "&display={$parsed_font['display']}", '&display=swap', $font_url ) + : "{$font_url}&display=swap"; + + return str_replace( $font['url'], esc_url( $font_url ), $font[0] ); + } + + /** + * Get the font display value. + * + * @since 3.8 Moved here from GoogleFonts\Combine::class + * @since 3.5.1 + * + * @return string font display value. + */ + protected function get_font_display_value(): string { + /** + * Filters the combined Google Fonts display parameter value + * + * @since 3.8 Moved here from GoogleFonts\Combine::class + * @since 3.3.5 + * + * @param string $display Display value. Can be either auto, block, swap, fallback or optional. + */ + $display = apply_filters( 'rocket_combined_google_fonts_display', 'swap' ); + + if ( ! is_string( $display ) ) { + return 'swap'; + } + + return isset( $this->display_values[ $display ] ) ? $display : 'swap'; + } + + /** + * Returns the optimized markup for Google Fonts + * + * @since 3.9.1 + * + * @param string $url Google Fonts URL. + * + * @return string + */ + protected function get_optimized_markup( string $url ): string { + return sprintf( + '', // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet + $url + ); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/Admin/Settings.php b/inc/Engine/Optimization/GoogleFonts/Admin/Settings.php new file mode 100644 index 0000000..2d765a8 --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/Admin/Settings.php @@ -0,0 +1,85 @@ +options = $options; + $this->beacon = $beacon; + } + + /** + * Displays the Google Fonts Optimization section in the tools tab + * + * @since 3.7 + * + * @return void + */ + public function display_google_fonts_enabler() { + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( ! apply_filters( 'pre_get_rocket_option_minify_google_fonts', true ) ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + return; + } + + if ( $this->options->get( 'minify_google_fonts', 0 ) ) { + return; + } + + $data = [ + 'beacon' => $this->beacon->get_suggest( 'google_fonts' ), + ]; + + echo $this->generate( 'settings/enable-google-fonts', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + + /** + * Callback method for the AJAX request to enable Google Fonts Optimization + * + * @since 3.7 + * + * @return void + */ + public function enable_google_fonts() { + check_ajax_referer( 'rocket-ajax', 'nonce', true ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_send_json_error(); + return; + } + + $this->options->set( 'minify_google_fonts', 1 ); + update_option( rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ), $this->options->get_options() ); + + wp_send_json_success(); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/Admin/Subscriber.php b/inc/Engine/Optimization/GoogleFonts/Admin/Subscriber.php new file mode 100644 index 0000000..9445730 --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/Admin/Subscriber.php @@ -0,0 +1,59 @@ +settings = $settings; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.7 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_settings_tools_content' => 'display_google_fonts_enabler', + 'wp_ajax_rocket_enable_google_fonts' => 'enable_google_fonts', + ]; + } + + /** + * Displays the Google Fonts Optimization section in the tools tab + * + * @since 3.7 + * + * @return void + */ + public function display_google_fonts_enabler() { + $this->settings->display_google_fonts_enabler(); + } + + /** + * Callback method for the AJAX request to enable Google Fonts Optimization + * + * @since 3.7 + * + * @return void + */ + public function enable_google_fonts() { + $this->settings->enable_google_fonts(); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/Combine.php b/inc/Engine/Optimization/GoogleFonts/Combine.php new file mode 100644 index 0000000..1e96d63 --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/Combine.php @@ -0,0 +1,146 @@ +hide_comments( $html ); + $fonts = $this->find( '])+)?(?:\s+href\s*=\s*([\'"])(?(?:https?:)?\/\/fonts\.googleapis\.com\/css[^\d](?:(?!\1).)+)\1)(?:\s+[^>]*)?>', $html_nocomments ); + + if ( ! $fonts ) { + Logger::debug( 'No Google Fonts found.', [ 'GF combine process' ] ); + + $this->has_google_fonts = false; + + return $html; + } + + $this->has_google_fonts = true; + + $num_fonts = count( $fonts ); + + Logger::debug( + "Found {$num_fonts} Google Fonts.", + [ + 'GF combine process', + 'tags' => $fonts, + ] + ); + + $this->parse( $fonts ); + + if ( empty( $this->fonts ) ) { + Logger::debug( 'No Google Fonts left to combine.', [ 'GF combine process' ] ); + + return $html; + } + + $html = preg_replace( '@<\/title>@i', '$0' . $this->get_optimized_markup( $this->get_combined_url() ), $html, 1 ); + + foreach ( $fonts as $font ) { + $html = str_replace( $font[0], '', $html ); + } + + Logger::info( + 'Google Fonts successfully combined.', + [ + 'GF combine process', + 'url' => $this->fonts . $this->subsets, + ] + ); + + return $html; + } + + /** + * Parses found matches to extract fonts and subsets. + * + * @since 3.1 + * + * @param array $matches Found matches for the pattern. + * + * @return void + */ + private function parse( array $matches ) { + $fonts_array = []; + $subsets_array = []; + foreach ( $matches as $match ) { + $url = html_entity_decode( $match[2] ); + $query = wp_parse_url( $url, PHP_URL_QUERY ); + if ( empty( $query ) ) { + return; + } + + $font = wp_parse_args( $query ); + if ( isset( $font['family'] ) ) { + $font_family = $font['family']; + $font_family = rtrim( $font_family, '%7C' ); + $font_family = rtrim( $font_family, '|' ); + // Add font to the collection. + $fonts_array[] = rawurlencode( htmlentities( $font_family ) ); + } + + // Add subset to collection. + if ( isset( $font['subset'] ) ) { + $subsets_array[] = rawurlencode( htmlentities( $font['subset'] ) ); + } + } + + // Concatenate fonts tag. + $this->subsets = ! empty( $subsets_array ) ? '&subset=' . implode( ',', array_filter( array_unique( $subsets_array ) ) ) : ''; + $this->fonts = ! empty( $fonts_array ) ? implode( '%7C', array_filter( array_unique( $fonts_array ) ) ) : ''; + } + + /** + * Returns the combined Google fonts URL + * + * @since 3.9.1 + * + * @return string + */ + private function get_combined_url(): string { + $display = $this->get_font_display_value(); + + return esc_url( "https://fonts.googleapis.com/css?family={$this->fonts}{$this->subsets}&display={$display}" ); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/CombineV2.php b/inc/Engine/Optimization/GoogleFonts/CombineV2.php new file mode 100644 index 0000000..faec84e --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/CombineV2.php @@ -0,0 +1,155 @@ +hide_comments( $html ); + $font_tags = $this->find( '])+)?(?:\s+href\s*=\s*([\'"])(?(?:https?:)?\/\/fonts\.googleapis\.com\/css2(?:(?!\1).)+)\1)(?:\s+[^>]*)?>', $html_nocomments ); + + if ( ! $font_tags ) { + Logger::debug( 'No v2 Google Fonts found.', [ 'GF combine process' ] ); + + $this->has_google_fonts = false; + + return $html; + } + + $this->has_google_fonts = true; + + $num_tags = count( $font_tags ); + + Logger::debug( + "Found {$num_tags} v2 Google Fonts.", + [ + 'GF combine process', + 'tags' => $font_tags, + ] + ); + + $families = []; + foreach ( $font_tags as $tag ) { + $parsed_families = $this->parse( $tag ); + if ( ! empty( $parsed_families ) ) { + $processed_tags[] = $tag; + $families = array_merge( $families, $parsed_families ); + } + } + + if ( empty( $families ) ) { + Logger::debug( 'No v2 Google Fonts left to combine.', [ 'GF combine process' ] ); + return $html; + } + + $families = array_unique( $families ); + $combined_tag = $this->get_optimized_markup( $this->get_combined_url( $families ) ); + $html = preg_replace( '@<\/title>@i', '$0' . $combined_tag, $html, 1 ); + + foreach ( $processed_tags as $font ) { + $html = str_replace( $font[0], '', $html ); + } + + Logger::info( + 'V2 Google Fonts successfully combined.', + [ + 'GF combine process', + 'url' => $combined_tag, + ] + ); + + return $html; + } + + /** + * Parses found matches to extract fonts and subsets. + * + * @since 3.8 + * + * @param array $tag A Google Font v2 url. + * + * @return array + */ + private function parse( array $tag ): array { + if ( false !== strpos( $tag['url'], 'text=' ) ) { + Logger::debug( 'GOOGLEFONTS V2 COMBINE: ' . $tag['url'] . ' SKIPPED TO PRESERVE "text" ATTRIBUTE.' ); + return []; + } + + $url_pattern = '#(family=[A-Za-z0-9;:,=%&\+\@\.]+)$#'; + $display_pattern = '#&display=(?:swap|auto|block|fallback|optional)#'; + $decoded_url = html_entity_decode( $tag['url'] ); + $query = wp_parse_url( $decoded_url, PHP_URL_QUERY ); + + if ( empty( $query ) ) { + return []; + } + + if ( ! preg_match_all( $url_pattern, $query, $matches, PREG_PATTERN_ORDER ) ) { + return []; + } + + $families = []; + foreach ( $matches[1] as $family ) { + $families[] = preg_replace( $display_pattern, '', $family ); + } + + return $families; + } + + + /** + * Returns the combined Google fonts URL + * + * @since 3.9.1 + * + * @param array $families Array with all Google V2 families. + * + * @return string + */ + private function get_combined_url( array $families ): string { + $display = $this->get_font_display_value(); + + return esc_url( "https://fonts.googleapis.com/css2{$this->get_concatenated_families( $families )}&display={$display}" ); + } + + /** + * Get a string of the concatenated font family queries. + * + * @since 3.8 + * + * @param array $families Array with all Google V2 families. + * + * @return string + */ + private function get_concatenated_families( array $families ): string { + $families_string = '?'; + foreach ( $families as $family ) { + $families_string .= $family . '&'; + } + + return rtrim( $families_string, '&?' ); + } +} diff --git a/inc/Engine/Optimization/GoogleFonts/Subscriber.php b/inc/Engine/Optimization/GoogleFonts/Subscriber.php new file mode 100644 index 0000000..78b7986 --- /dev/null +++ b/inc/Engine/Optimization/GoogleFonts/Subscriber.php @@ -0,0 +1,129 @@ +combine = $combine; + $this->combine_v2 = $combine_v2; + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.1 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'wp_resource_hints' => [ 'preconnect', 10, 2 ], + 'rocket_buffer' => [ 'process', 1001 ], + ]; + } + + /** + * Adds google fonts URL to preconnect + * + * @since 3.5.3 + * + * @param array $urls URLs to print for resource hints. + * @param string $relation_type The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'. + * @return array + */ + public function preconnect( array $urls, $relation_type ) { + if ( ! $this->is_allowed() ) { + return $urls; + } + + if ( 'preconnect' !== $relation_type ) { + return $urls; + } + + $urls[] = [ + 'href' => 'https://fonts.gstatic.com', + 1 => 'crossorigin', + ]; + + return $urls; + } + + /** + * Processes the HTML to combine found Google fonts. + * Handles both Google Fonts API v2 and v1. + * + * @since 3.1 + * + * @param string $html HTML content. + * @return string + */ + public function process( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + // Combine Google Font API V2. + $html = $this->combine_v2->optimize( $html ); + // Combine Google Font API V1. + $html = $this->combine->optimize( $html ); + + if ( ! $this->combine->has_google_fonts() && ! $this->combine_v2->has_google_fonts() ) { + $html = preg_replace( '/]+[\s"\'])?href\s*=\s*[\'"]https:\/\/fonts\.gstatic\.com[\'"](?:[^>]+[\s"\'])?\s?\/?>/', '', $html ); + } + + return $html; + } + + /** + * Checks if files can combine found Google fonts. + * + * @since 3.1 + */ + protected function is_allowed() { + if ( rocket_bypass() ) { + return false; + } + + if ( ! $this->options->get( 'minify_google_fonts', 0 ) ) { + return false; + } + + return ! is_user_logged_in() || (bool) $this->options->get( 'cache_logged_user', 0 ); + } +} diff --git a/inc/Engine/Optimization/IEConditionalSubscriber.php b/inc/Engine/Optimization/IEConditionalSubscriber.php new file mode 100644 index 0000000..55f2bf7 --- /dev/null +++ b/inc/Engine/Optimization/IEConditionalSubscriber.php @@ -0,0 +1,140 @@ +.*?/is'; + + /** + * HTML IE conditional template tag. + * + * @since 3.6.2 + * + * @var string + */ + const WP_ROCKET_CONDITIONAL = ''; + + /** + * Return an array of events that this subscriber listens to. + * + * @since 3.1 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ + [ 'extract_ie_conditionals', 1 ], + [ 'inject_ie_conditionals', 34 ], + ], + ]; + } + + /** + * Extracts IE conditionals tags and replace them with placeholders. + * + * @since 3.1 + * + * @param string $html HTML content. + * + * @return string + */ + public function extract_ie_conditionals( $html ) { + preg_match_all( self::IE_PATTERN, $html, $conditionals_match ); + + if ( ! $conditionals_match ) { + return $html; + } + + foreach ( $conditionals_match[0] as $conditional ) { + $this->conditionals[] = $conditional; + } + + return preg_replace( self::IE_PATTERN, self::WP_ROCKET_CONDITIONAL, $html ); + } + + /** + * Replaces WP Rocket placeholders with IE conditional tags. + * + * @since 3.1 + * + * @param string $html HTML content. + * + * @return string + */ + public function inject_ie_conditionals( $html ) { + if ( ! $this->has_conditional_tag( $html ) ) { + return $html; + } + + foreach ( $this->conditionals as $conditional ) { + // Prevent scripts containing things like "\\s" to be striped of a backslash when put back in content. + if ( preg_match( '@^(?)?\s*]*?>))\s*(?.*?)\s*(?\s*(?:)$@is', $conditional, $matches ) ) { + $conditional = $matches['opening'] . preg_replace( '#(?replace_conditional_tag( $html, $conditional ); + } + + return $html; + } + + /** + * Checks if the template tag for the IE conditional exists in the given HTML string. + * + * @since 3.6.2 + * + * @param string $html HTML content. + * + * @return bool true if at least one exists; else false. + */ + private function has_conditional_tag( $html ) { + return ( false !== strpos( $html, self::WP_ROCKET_CONDITIONAL ) ); + } + + /** + * Replaces the template tag with the original IE conditional HTML. + * + * @since 3.6.2 + * + * @param string $html HTML content. + * @param string $original Original IE conditional HTML. + * + * @return string + */ + private function replace_conditional_tag( $html, $original ) { + $template_tag_position = strpos( $html, self::WP_ROCKET_CONDITIONAL ); + + return substr_replace( + $html, + $original, + $template_tag_position, + strlen( self::WP_ROCKET_CONDITIONAL ) + ); + } +} diff --git a/inc/Engine/Optimization/Minify/AbstractMinifySubscriber.php b/inc/Engine/Optimization/Minify/AbstractMinifySubscriber.php new file mode 100644 index 0000000..7aa0ef8 --- /dev/null +++ b/inc/Engine/Optimization/Minify/AbstractMinifySubscriber.php @@ -0,0 +1,133 @@ +options = $options; + $this->filesystem = $filesystem; + } + + /** + * Sets the type of processor to use + * + * @since 3.1 + * + * @param ProcessorInterface $processor Processor instance. + * @return void + */ + protected function set_processor_type( ProcessorInterface $processor ) { + $this->processor = $processor; + } + + /** + * Processes the HTML to perform an optimization and return the new content + * + * @since 3.1 + * + * @param string $html HTML content. + * @return string + */ + abstract public function process( $html ); + + /** + * Checks if files can be optimized + * + * @since 3.1 + */ + abstract protected function is_allowed(); + + /** + * Fix issue with SSL and minification + * + * @since 2.3 + * + * @param string $url An url to filter to set the scheme to https if needed. + * @return string + */ + public function fix_ssl_minify( $url ) { + if ( ! is_ssl() ) { + return $url; + } + + if ( 0 === strpos( $url, 'https://' ) ) { + return $url; + } + + // This filter is documented in inc/Engine/Admin/Settings/Settings.php. + if ( in_array( wp_parse_url( $url, PHP_URL_HOST ), apply_filters( 'rocket_cdn_hosts', [], ( $this->get_zones() ) ), true ) ) { + return $url; + } + + return str_replace( 'http://', 'https://', $url ); + } + + /** + * Compatibility with multilingual plugins & multidomain configuration + * + * @since 2.6.13 Regression Fix: Apply CDN on minified CSS and JS files by checking the CNAME host + * @since 2.6.8 + * + * @param string $url Minified file URL. + * @return string Updated minified file URL + */ + public function i18n_multidomain_url( $url ) { + if ( ! rocket_has_i18n() ) { + return $url; + } + + $url_host = wp_parse_url( $url, PHP_URL_HOST ); + + if ( isset( $_SERVER['HTTP_HOST'] ) && $url_host === $_SERVER['HTTP_HOST'] ) { + return $url; + } + + if ( ! in_array( $_SERVER['HTTP_HOST'], get_rocket_i18n_host(), true ) ) { + return $url; + } + + // This filter is documented in inc/Engine/Admin/Settings/Settings.php. + $cdn_hosts = apply_filters( 'rocket_cdn_hosts', [], ( $this->get_zones() ) ); + + if ( in_array( $url_host, $cdn_hosts, true ) ) { + return $url; + } + + return str_replace( $url_host, sanitize_text_field( $_SERVER['HTTP_HOST'] ), $url ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash + } +} diff --git a/inc/Engine/Optimization/Minify/AdminSubscriber.php b/inc/Engine/Optimization/Minify/AdminSubscriber.php new file mode 100644 index 0000000..1c466e9 --- /dev/null +++ b/inc/Engine/Optimization/Minify/AdminSubscriber.php @@ -0,0 +1,68 @@ +options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'switch_theme' => 'clean_minify_all', + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 4 ], + ]; + } + + /** + * Delete all minified cache files + * + * @return void + */ + public function clean_minify_all() { + // Bail out if minify_js or minify_css is not enabled. + if ( + ! (bool) $this->options->get( 'minify_js', 0 ) + && + ! (bool) $this->options->get( 'minify_css', 0 ) + ) { + return; + } + + // Delete all minify cache files. + rocket_clean_minify(); + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['minify_js'] = __( 'Minify/combine JavaScript', 'rocket' ); + return $fields; + } +} diff --git a/inc/Engine/Optimization/Minify/CSS/AbstractCSSOptimization.php b/inc/Engine/Optimization/Minify/CSS/AbstractCSSOptimization.php new file mode 100644 index 0000000..7cc8598 --- /dev/null +++ b/inc/Engine/Optimization/Minify/CSS/AbstractCSSOptimization.php @@ -0,0 +1,154 @@ +options = $options; + $this->local_cache = $local_cache; + $this->minify_key = $this->options->get( 'minify_css_key', create_rocket_uniqid() ); + $this->excluded_files = $this->get_excluded_files(); + $this->init_base_path_and_url(); + } + + /** + * Get all files to exclude from minification/concatenation. + * + * @since 2.11 + * + * @return string + */ + protected function get_excluded_files() { + $excluded_files = $this->options->get( 'exclude_css', [] ); + + /** + * Filters CSS files to exclude from minification/concatenation. + * + * @since 2.6 + * + * @param array $excluded_files List of excluded CSS files. + */ + $excluded_files = (array) apply_filters( 'rocket_exclude_css', $excluded_files ); + + if ( empty( $excluded_files ) ) { + return ''; + } + + foreach ( $excluded_files as $i => $excluded_file ) { + $excluded_files[ $i ] = str_replace( '#', '\#', $excluded_file ); + } + + return implode( '|', $excluded_files ); + } + + /** + * Returns the CDN zones. + * + * @since 3.1 + * + * @return array + */ + public function get_zones() { + return [ 'all', 'css_and_js', self::FILE_TYPE ]; + } + + /** + * Gets the minify URL + * + * @since 3.1 + * + * @param string $filename Minified filename. + * @param string $original_url Original URL for this file. Optional. + * + * @return string + */ + protected function get_minify_url( $filename, $original_url = '' ) { + $minify_url = $this->minify_base_url . $filename; + + /** + * Filters CSS file URL with CDN hostname + * + * @since 2.1 + * + * @param string $minify_url Minified file URL. + * @param string $original_url Original URL for this file. + */ + return apply_filters( 'rocket_css_url', $minify_url, $original_url ); + } + + /** + * Determines if it is a file excluded from minification + * + * @since 2.11 + * + * @param array $tag Tag corresponding to a CSS file. + * + * @return bool True if it is a file excluded, false otherwise + */ + protected function is_minify_excluded_file( array $tag ) { + if ( ! isset( $tag[0], $tag['url'] ) ) { + return true; + } + + // File should not be minified. + if ( false !== strpos( $tag[0], 'data-minify=' ) || false !== strpos( $tag[0], 'data-no-minify=' ) ) { + return true; + } + + if ( false !== strpos( $tag[0], 'media=' ) && ! preg_match( '/media=["\'](?:\s*|[^"\']*?\b(all|screen)\b[^"\']*?)["\']/i', $tag[0] ) ) { + return true; + } + + $file = wp_parse_url( $tag['url'] ); + $file_path = isset( $file['path'] ) ? $file['path'] : ''; + $host = isset( $file['host'] ) ? $file['host'] : ''; + + // File extension is not css. + if ( pathinfo( $file_path, PATHINFO_EXTENSION ) !== self::FILE_TYPE ) { + return true; + } + + if ( ! empty( $this->excluded_files ) ) { + // File is excluded from minification/concatenation. + if ( preg_match( '#^(' . $this->excluded_files . ')$#', $file_path ) ) { + return true; + } + + if ( preg_match( '#^(' . $this->excluded_files . ')$#', $host ) ) { + return true; + } + + if ( preg_match( '#^(' . $this->excluded_files . ')$#', $host . $file_path ) ) { + return true; + } + } + + return false; + } +} diff --git a/inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php b/inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php new file mode 100644 index 0000000..8cfdb64 --- /dev/null +++ b/inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php @@ -0,0 +1,154 @@ + [ 'clean_minify', 10, 2 ], + "pre_update_option_{$slug}" => [ 'regenerate_minify_css_key', 10, 2 ], + 'wp_rocket_upgrade' => [ 'on_update', 16, 2 ], + 'rocket_meta_boxes_fields' => [ 'add_meta_box', 1 ], + ]; + } + + /** + * Clean minify CSS files when options change. + * + * @since 3.5.4 + * + * @param array $old An array of previous settings. + * @param array $new An array of submitted settings. + * + * @return void + */ + public function clean_minify( $old, $new ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.newFound + if ( ! is_array( $old ) || ! is_array( $new ) ) { + return; + } + + if ( ! $this->maybe_minify_regenerate( $new, $old ) ) { + return; + } + // Purge all minify cache files. + rocket_clean_minify( 'css' ); + } + + /** + * Regenerate the minify key if CSS files have been modified. + * + * @since 3.5.4 + * + * @param array $new An array of submitted settings. + * @param array $old An array of previous settings. + * + * @return array Updates 'minify_css_key' setting when regenerated; else, original submitted settings. + */ + public function regenerate_minify_css_key( $new, $old ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.newFound + if ( ! is_array( $old ) || ! is_array( $new ) ) { + return $new; + } + + if ( ! $this->maybe_minify_regenerate( $new, $old ) ) { + return $new; + } + + $new['minify_css_key'] = create_rocket_uniqid(); + + return $new; + } + + /** + * Checks minify CSS condition when options change. + * + * @since 3.5.4 + * + * @param array $new An array of submitted settings. + * @param array $old An array of previous settings. + * + * @return bool true when should regenerate; else false. + */ + protected function maybe_minify_regenerate( array $new, array $old ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.newFound + $settings_to_check = [ + 'minify_css', + 'exclude_css', + 'cdn', + ]; + + foreach ( $settings_to_check as $setting ) { + if ( $this->did_setting_change( $setting, $new, $old ) ) { + return true; + } + } + + return ( + array_key_exists( 'cdn', $new ) + && + 1 === (int) $new['cdn'] + && + $this->did_setting_change( 'cdn_cnames', $new, $old ) + ); + } + + /** + * Checks if the given setting's value changed. + * + * @since 3.5.4 + * + * @param string $setting The settings's value to check in the old and new values. + * @param array $new An array of submitted settings. + * @param array $old An array of previous settings. + * + * @return bool + */ + protected function did_setting_change( $setting, array $new, array $old ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.newFound + return ( + array_key_exists( $setting, $old ) + && + array_key_exists( $setting, $new ) + && + // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual + $old[ $setting ] != $new[ $setting ] + ); + } + + /** + * Clean cache on update. + * + * @param string $new_version new version from the plugin. + * @param string $old_version old version from the plugin. + * + * @return void + */ + public function on_update( $new_version, $old_version ) { + if ( version_compare( $old_version, '3.15', '>=' ) ) { + return; + } + rocket_clean_domain(); + } + + /** + * Add the field to the WP Rocket metabox on the post edit page. + * + * @param string[] $fields Metaboxes fields. + * + * @return string[] + */ + public function add_meta_box( array $fields ) { + $fields['minify_css'] = __( 'Minify CSS', 'rocket' ); + + return $fields; + } +} diff --git a/inc/Engine/Optimization/Minify/CSS/Minify.php b/inc/Engine/Optimization/Minify/CSS/Minify.php new file mode 100644 index 0000000..6943191 --- /dev/null +++ b/inc/Engine/Optimization/Minify/CSS/Minify.php @@ -0,0 +1,341 @@ +get_styles( $html ); + + if ( empty( $styles ) ) { + return $html; + } + + foreach ( $styles as $style ) { + if ( $this->is_minify_excluded_file( $style ) ) { + Logger::debug( + 'Style is excluded.', + [ + 'css minification process', + 'tag' => $style[0], + ] + ); + + continue; + } + + $integrity_validated = $this->local_cache->validate_integrity( $style ); + + if ( false === $integrity_validated ) { + Logger::debug( + 'Style integrity attribute not valid.', + [ + 'css minification process', + 'tag' => $style[0], + ] + ); + + continue; + } + + $style['final'] = $integrity_validated; + + $minify_url = $this->replace_url( strtok( $style['url'], '?' ) ); + + if ( ! $minify_url ) { + Logger::error( + 'Style minification failed.', + [ + 'css minification process', + 'tag' => $style[0], + ] + ); + continue; + } + + $html = $this->replace_style( $style, $minify_url, $html ); + } + + return $html; + } + + /** + * Get all style tags from HTML. + * + * @param string $html HTML content. + * + * @return array Array with style tags, empty array if no style tags found. + */ + protected function get_styles( $html ) { + $html_nocomments = $this->hide_comments( $html ); + $styles = $this->find( ']+[\s"\'])?href\s*=\s*[\'"]\s*?(?[^\'"]+\.css(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>', $html_nocomments ); + + if ( ! $styles ) { + Logger::debug( 'No `` tags found.', [ 'css minification process' ] ); + + return []; + } + + Logger::debug( + 'Found ' . count( $styles ) . ' `` tags.', + [ + 'css minification process', + 'tags' => $styles, + ] + ); + + return $styles; + } + + /** + * Creates the minify URL if the minification is successful + * + * @since 2.11 + * + * @param string $url Original file URL. + * + * @return string|bool The minify URL if successful, false otherwise + */ + private function replace_url( $url ) { + if ( empty( $url ) ) { + return false; + } + + // This filter is documented in /inc/classes/optimization/class-abstract-optimization.php. + $url = apply_filters( 'rocket_asset_url', $url, $this->get_zones() ); + + $parsed_url = wp_parse_url( $url ); + + if ( empty( $parsed_url['path'] ) ) { + return false; + } + + if ( ! empty( $parsed_url['host'] ) ) { + $url = rocket_add_url_protocol( $url ); + } + + $filename = ltrim( rocket_realpath( $parsed_url['path'] ), '/' ); + $minified_file = rawurldecode( $this->minify_base_path . $filename ); + + if ( rocket_direct_filesystem()->exists( $minified_file ) ) { + Logger::debug( + 'Minified CSS file already exists.', + [ + 'css minification process', + 'path' => $minified_file, + ] + ); + + return $this->get_full_minified_url( $minified_file, $this->get_minify_url( $filename, $url ) ); + } + + $external_url = $this->is_external_file( $url ); + $file_path = $external_url ? $this->local_cache->get_filepath( $url ) : $this->get_file_path( $url ); + + if ( empty( $file_path ) ) { + Logger::error( + 'Couldn’t get the file path from the URL.', + [ + 'css minification process', + 'url' => $url, + ] + ); + + return false; + } + + $file_content = $external_url ? $this->local_cache->get_content( $url ) : $this->get_file_content( $file_path ); + + if ( ! $file_content ) { + Logger::error( + 'No file content.', + [ + 'css minification process', + 'path' => $file_path, + ] + ); + + return false; + } + + $minified_content = $external_url ? $this->minify( $url, $minified_file, $file_content ) : $this->minify( $file_path, $minified_file, $file_content ); + + if ( empty( $minified_content ) ) { + return false; + } + + $minified_content = $this->font_display_swap( $url, $minified_file, $minified_content ); + + if ( empty( $minified_content ) ) { + return false; + } + + $save_minify_file = $this->save_minify_file( $minified_file, $minified_content ); + + if ( ! $save_minify_file ) { + return false; + } + + return $this->get_full_minified_url( $minified_file, $this->get_minify_url( $filename, $url ) ); + } + + /** + * Replace old style tag with the minified tag. + * + * @param array $style Style matched data. + * @param string $minify_url Minified URL. + * @param string $html HTML content. + * + * @return string + */ + protected function replace_style( $style, $minify_url, $html ) { + $replace_style = str_replace( $style['url'], $minify_url, $style['final'] ); + $replace_style = str_replace( ' $minify_url, + ] + ); + + return $html; + } + + /** + * Save minified CSS file. + * + * @since 3.7 + * + * @param string $minified_file Minified file path. + * @param string $minified_content Minified HTML content. + * + * @return bool + */ + protected function save_minify_file( $minified_file, $minified_content ) { + $save_minify_file = $this->write_file( $minified_content, $minified_file ); + + if ( ! $save_minify_file ) { + Logger::error( + 'Minified CSS file could not be created.', + [ + 'css minification process', + 'path' => $minified_file, + ] + ); + + return false; + } + Logger::debug( + 'Minified CSS file successfully created.', + [ + 'css minification process', + 'path' => $minified_file, + ] + ); + + return true; + } + + /** + * Applies font display swap if the file contains @font-face. + * + * @since 3.7 + * + * @param string $url File Url. + * @param string $minified_file Minified file path. + * @param string $content CSS file content. + * + * @return string + */ + protected function font_display_swap( $url, $minified_file, $content ) { + if ( + preg_match( '/(?:-|\.)min.css/iU', $url ) + && + false === stripos( $content, '@font-face' ) + ) { + Logger::error( + 'Do not apply font display swap on min.css files without font-face.', + [ + 'css minification process', + 'path' => $minified_file, + ] + ); + + if ( ! $this->is_external_file( $url ) ) { + return ''; + } + + return $content; + } + + return $this->apply_font_display_swap( $content ); + } + + /** + * Minifies the content + * + * @since 2.11 + * + * @param string $file_path Source filepath. + * @param string $minified_file Target filepath. + * @param string $file_content Content to minify. + * + * @return string + */ + protected function minify( $file_path, $minified_file, $file_content ) { + $file_content = $this->rewrite_paths( $file_path, $minified_file, $file_content ); + $minifier = $this->get_minifier( $file_content ); + $minified_content = $minifier->minify(); + + if ( empty( $minified_content ) ) { + Logger::error( + 'No minified content.', + [ + 'css minification process', + 'path' => $minified_file, + ] + ); + + return ''; // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + + return $minified_content; // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + + /** + * Returns a new minifier instance + * + * @since 3.1 + * + * @param string $file_content Content to minify. + * + * @return Minifier\CSS + */ + protected function get_minifier( $file_content ) { + return new Minifier\CSS( $file_content ); + } +} diff --git a/inc/Engine/Optimization/Minify/CSS/Subscriber.php b/inc/Engine/Optimization/Minify/CSS/Subscriber.php new file mode 100644 index 0000000..d541844 --- /dev/null +++ b/inc/Engine/Optimization/Minify/CSS/Subscriber.php @@ -0,0 +1,83 @@ + [ + [ 'fix_ssl_minify' ], + [ 'i18n_multidomain_url' ], + ], + 'rocket_buffer' => [ 'process', 16 ], + ]; + + return $events; + } + + /** + * Processes the HTML to Minify/Combine CSS. + * + * @since 3.1 + * + * @param string $html HTML content. + * @return string + */ + public function process( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + $assets_local_cache = new AssetsLocalCache( rocket_get_constant( 'WP_ROCKET_MINIFY_CACHE_PATH' ), $this->filesystem ); + + if ( $this->options->get( 'minify_css' ) ) { + $this->set_processor_type( new Minify( $this->options, $assets_local_cache ) ); + } + + return $this->processor->optimize( $html ); + } + + /** + * Checks if is allowed to Minify/Combine CSS. + * + * @since 3.1 + * + * @return bool + */ + protected function is_allowed() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( ! (bool) $this->options->get( 'minify_css', 0 ) ) { + return false; + } + + return ! is_rocket_post_excluded_option( 'minify_css' ); + } + + /** + * Returns an array of CDN zones for CSS files. + * + * @since 3.1 + * + * @return array + */ + public function get_zones() { + return [ 'all', 'css_and_js', 'css' ]; + } +} diff --git a/inc/Engine/Optimization/Minify/JS/AbstractJSOptimization.php b/inc/Engine/Optimization/Minify/JS/AbstractJSOptimization.php new file mode 100644 index 0000000..e2ea2f2 --- /dev/null +++ b/inc/Engine/Optimization/Minify/JS/AbstractJSOptimization.php @@ -0,0 +1,167 @@ +options = $options; + $this->local_cache = $local_cache; + $this->minify_key = $this->options->get( 'minify_js_key', create_rocket_uniqid() ); + $this->excluded_files = $this->get_excluded_files(); + $this->init_base_path_and_url(); + } + + /** + * Get all files to exclude from minification/concatenation. + * + * @since 2.11 + * + * @return string A list of files to exclude, ready to be used in a regex pattern. + */ + protected function get_excluded_files() { + $excluded_files = $this->options->get( 'exclude_js', [] ); + + /** + * Filter JS files to exclude from minification/concatenation. + * + * @since 2.6 + * + * @param array $js_files List of excluded JS files. + */ + $excluded_files = (array) apply_filters( 'rocket_exclude_js', $excluded_files ); + + if ( empty( $excluded_files ) ) { + return ''; + } + + foreach ( $excluded_files as $i => $excluded_file ) { + // Escape characters for future use in regex pattern. + $excluded_files[ $i ] = str_replace( '#', '\#', $excluded_file ); + } + + return implode( '|', $excluded_files ); + } + + /** + * Returns the CDN zones. + * + * @since 3.1 + * + * @return array + */ + public function get_zones() { + return [ 'all', 'css_and_js', self::FILE_TYPE ]; + } + + /** + * Determines if it is a file excluded from minification. + * + * @since 2.11 + * + * @param array $tag Tag corresponding to a JS file. + * + * @return bool True if it is a file excluded, false otherwise + */ + protected function is_minify_excluded_file( array $tag ) { + if ( ! isset( $tag[0], $tag['url'] ) ) { + return true; + } + + // File should not be minified. + if ( + false !== strpos( $tag[0], 'data-minify=' ) + || + false !== strpos( $tag[0], 'data-no-minify=' ) + ) { + return true; + } + + $file_path = wp_parse_url( $tag['url'], PHP_URL_PATH ); + + // File extension is not js. + if ( pathinfo( $file_path, PATHINFO_EXTENSION ) !== self::FILE_TYPE ) { + return true; + } + + if ( ! empty( $this->excluded_files ) ) { + // File is excluded from minification/concatenation. + if ( preg_match( '#(' . $this->excluded_files . ')#', $file_path ) ) { + return true; + } + } + + return false; + } + + /** + * Gets the minify URL. + * + * @since 3.1 + * + * @param string $filename Minified filename. + * @param string $original_url Original URL for this file. Optional. + * + * @return string + */ + protected function get_minify_url( $filename, $original_url = '' ) { + $minify_url = $this->minify_base_url . $filename; + + /** + * Filters JS file URL with CDN hostname + * + * @since 2.1 + * + * @param string $minify_url Minified file URL. + * @param string $original_url Original URL for this file. + */ + return apply_filters( 'rocket_js_url', $minify_url, $original_url ); + } + + /** + * Patterns in URL excluded from being combined + * + * @since 3.1 + * + * @return array + */ + protected function get_excluded_external_file_path() { + $excluded_external = $this->options->get( 'exclude_js', [] ); + + /** + * Filters JS externals files to exclude from the combine process + * + * @since 2.2 + * + * @param array $pattern Patterns to match. + */ + return apply_filters( 'rocket_minify_excluded_external_js', $excluded_external ); + } +} diff --git a/inc/Engine/Optimization/Minify/JS/Combine.php b/inc/Engine/Optimization/Minify/JS/Combine.php new file mode 100644 index 0000000..c9a00df --- /dev/null +++ b/inc/Engine/Optimization/Minify/JS/Combine.php @@ -0,0 +1,510 @@ +minifier = $minifier; + $this->excluded_defer_js = implode( '|', $defer_js->get_excluded() ); + } + + /** + * Minifies and combines JavaScripts into one + * + * @since 3.1 + * + * @param string $html HTML content. + * @return string + */ + public function optimize( $html ) { + Logger::info( 'JS COMBINE PROCESS STARTED.', [ 'js combine process' ] ); + + $html_nocomments = $this->hide_comments( $html ); + $scripts = $this->find( '', $html_nocomments ); + + if ( ! $scripts ) { + Logger::debug( 'No `' . $move_after . '', $html ); + + foreach ( $combine_scripts as $script ) { + $html = str_replace( $script[0], '', $html ); + } + + Logger::info( + 'Combined JS file successfully added.', + [ + 'js combine process', + 'url' => $minify_url, + ] + ); + + return $html; + } + + /** + * Parses found nodes to keep only the ones to combine + * + * @since 3.1 + * + * @param Array $scripts scripts corresponding to JS file or content. + * @return array + */ + protected function parse( $scripts ) { + $excluded_externals = implode( '|', $this->get_excluded_external_file_path() ); + $scripts = array_map( + function ( $script ) use ( $excluded_externals ) { + preg_match( '/]+[\s\'"])?src\s*=\s*[\'"]\s*?(?[^\'"]+\.js(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>/Umsi', $script[0], $matches ); + + if ( isset( $matches['url'] ) ) { + if ( $this->is_external_file( $matches['url'] ) ) { + if ( preg_match( '#(' . $excluded_externals . ')#', $matches['url'] ) ) { + Logger::debug( + 'Script is external.', + [ + 'js combine process', + 'tag' => $matches[0], + ] + ); + return; + } + + if ( $this->is_defer_excluded( $matches['url'] ) ) { + return; + } + + $this->scripts[] = [ + 'type' => 'url', + 'content' => $matches['url'], + ]; + + return $script; + } + + if ( $this->is_minify_excluded_file( $matches ) ) { + Logger::debug( + 'Script is excluded.', + [ + 'js combine process', + 'tag' => $matches[0], + ] + ); + return; + } + + if ( $this->is_defer_excluded( $matches['url'] ) ) { + return; + } + + $file_path = $this->get_file_path( strtok( $matches['url'], '?' ) ); + + if ( ! $file_path ) { + return; + } + + $this->scripts[] = [ + 'type' => 'file', + 'content' => $file_path, + ]; + } else { + preg_match( '/[^>]*)>(?:\/\*\s*[\s\S]*?)\s*(?:\/\*\s*\]\]>\s*\*\/)?<\/script>/msi', $script[0], $matches_inline ); + + $matches_inline = array_merge( + [ + 'attrs' => '', + 'content' => '', + ], + $matches_inline + ); + + if ( preg_last_error() === PREG_BACKTRACK_LIMIT_ERROR ) { + Logger::debug( + 'PCRE regex execution Catastrophic Backtracking', + [ + 'inline JS backtracking error', + 'content' => $matches_inline['content'], + ] + ); + return; + } + + if ( strpos( $matches_inline['attrs'], 'type' ) !== false && ! preg_match( '/type\s*=\s*["\']?(?:text|application)\/(?:(?:x\-)?javascript|ecmascript)["\']?/i', $matches_inline['attrs'] ) ) { + Logger::debug( + 'Inline script is not JS.', + [ + 'js combine process', + 'attributes' => $matches_inline['attrs'], + ] + ); + return; + } + + if ( false !== strpos( $matches_inline['attrs'], 'src=' ) ) { + Logger::debug( + 'Inline script has a `src` attribute.', + [ + 'js combine process', + 'attributes' => $matches_inline['attrs'], + ] + ); + return; + } + + if ( in_array( $matches_inline['content'], $this->get_localized_scripts(), true ) ) { + Logger::debug( + 'Inline script is a localize script', + [ + 'js combine process', + 'excluded_content' => $matches_inline['content'], + ] + ); + return; + } + + if ( $this->is_delayed_script( $matches_inline['attrs'] ) ) { + return; + } + + foreach ( $this->get_excluded_inline_content() as $excluded_content ) { + if ( false !== strpos( $matches_inline['content'], $excluded_content ) ) { + Logger::debug( + 'Inline script has excluded content.', + [ + 'js combine process', + 'excluded_content' => $excluded_content, + ] + ); + return; + } + } + + foreach ( $this->get_move_after_inline_scripts() as $move_after_script ) { + if ( false !== strpos( $matches_inline['content'], $move_after_script ) ) { + $this->move_after[] = $script[0]; + return; + } + } + + $this->scripts[] = [ + 'type' => 'inline', + 'content' => $matches_inline['content'], + ]; + } + + return $script; + }, + $scripts + ); + + return array_filter( $scripts ); + } + + /** + * Gets content for each script either from inline or from src + * + * @since 3.1 + * + * @return string + */ + protected function get_content() { + $content = ''; + + foreach ( $this->scripts as $script ) { + if ( 'file' === $script['type'] ) { + $file_content = $this->get_file_content( $script['content'] ); + $content .= $file_content; + + $this->add_to_minify( $file_content ); + } elseif ( 'url' === $script['type'] ) { + $file_content = $this->local_cache->get_content( rocket_add_url_protocol( $script['content'] ) ); + $content .= $file_content; + + $this->add_to_minify( $file_content ); + } elseif ( 'inline' === $script['type'] ) { + $inline_js = rtrim( $script['content'], ";\n\t\r" ) . ';'; + $content .= $inline_js; + + $this->add_to_minify( $inline_js ); + } + } + + return $content; + } + + /** + * Creates the minify URL if the minification is successful + * + * @since 2.11 + * + * @param string $content Content to minify & combine. + + * @return string|bool The minify URL if successful, false otherwise + */ + protected function combine( $content ) { + if ( empty( $content ) ) { + return false; // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + + $filename = md5( $content . $this->minify_key ) . '.js'; + $minified_file = $this->minify_base_path . $filename; + if ( ! rocket_direct_filesystem()->is_readable( $minified_file ) ) { + $minified_content = $this->minify(); + + if ( ! $minified_content ) { + return false; // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + + $minify_filepath = $this->write_file( $minified_content, $minified_file ); + + if ( ! $minify_filepath ) { + return false; // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + } + + return $this->get_minify_url( $filename ); // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound + } + + /** + * Minifies the content + * + * @since 2.11 + * + * @return string|bool Minified content, false if empty + */ + protected function minify() { + $minified_content = $this->minifier->minify(); + + if ( empty( $minified_content ) ) { + return false; + } + + return $minified_content; + } + + /** + * Adds content to the minifier + * + * @since 3.1 + * + * @param string $content Content to minify/combine. + * @return void + */ + protected function add_to_minify( $content ) { + $this->minifier->add( $content ); + } + + /** + * Patterns in content excluded from being combined + * + * @since 3.1 + * + * @return array + */ + protected function get_excluded_inline_content() { + $excluded_inline = $this->options->get( 'exclude_inline_js', [] ); + + /** + * Filters inline JS excluded from being combined + * + * @since 3.1 + * + * @param array $pattern Patterns to match. + */ + return apply_filters( 'rocket_excluded_inline_js_content', $excluded_inline ); + } + + /** + * Patterns of inline JS to move after the combined JS file + * + * @since 3.1.4 + * + * @return array + */ + protected function get_move_after_inline_scripts() { + /** + * Filters inline JS to move after the combined JS file + * + * @since 3.1.4 + * + * @param array $move_after_scripts Patterns to match. + */ + return apply_filters( 'rocket_move_after_combine_js', [] ); + } + + /** + * Gets all localized scripts data to exclude them from combine. + * + * @since 3.1.3 + * + * @return array + */ + protected function get_localized_scripts() { + static $localized_scripts; + + if ( isset( $localized_scripts ) ) { + return $localized_scripts; + } + + $localized_scripts = []; + + foreach ( array_unique( wp_scripts()->queue ) as $item ) { + $data = wp_scripts()->print_extra_script( $item, false ); + + if ( empty( $data ) ) { + continue; + } + + $localized_scripts[] = $data; + } + + return $localized_scripts; + } + + /** + * Is this script a delayed script or not. + * + * @since 3.7 + * + * @param string $script_attributes Attributes beside the opening of script tag. + * + * @return bool True if it's a delayed script and false if not. + */ + private function is_delayed_script( $script_attributes ) { + return false !== strpos( $script_attributes, 'data-rocketlazyloadscript=' ); + } + + /** + * Checks if the current URL is excluded from defer JS + * + * @since 3.8 + * + * @param string $url URL to check. + * @return boolean + */ + private function is_defer_excluded( string $url ): bool { + if ( + ! empty( $this->excluded_defer_js ) + && + preg_match( '#(' . $this->excluded_defer_js . ')#i', $url ) + ) { + Logger::debug( + 'Script is excluded from defer JS.', + [ + 'js combine process', + 'url' => $url, + ] + ); + return true; + } + + return false; + } +} diff --git a/inc/Engine/Optimization/Minify/JS/Minify.php b/inc/Engine/Optimization/Minify/JS/Minify.php new file mode 100644 index 0000000..91961cf --- /dev/null +++ b/inc/Engine/Optimization/Minify/JS/Minify.php @@ -0,0 +1,352 @@ +get_scripts( $html ); + + if ( empty( $scripts ) ) { + return $html; + } + + foreach ( $scripts as $script ) { + global $wp_scripts; + + $is_external_url = $this->is_external_file( $script['url'] ); + + if ( + ! $is_external_url + && + preg_match( '/[-.]min\.js/iU', $script['url'] ) + ) { + Logger::debug( + 'Script is already minified.', + [ + 'js minification process', + 'tag' => $script[0], + ] + ); + continue; + } + + if ( + $is_external_url + && + $this->is_excluded_external( $script['url'] ) + ) { + continue; + } + + if ( $this->is_minify_excluded_file( $script ) ) { + Logger::debug( + 'Script is excluded.', + [ + 'js minification process', + 'tag' => $script[0], + ] + ); + continue; + } + + // Don't minify jQuery included in WP core since it's already minified but without .min in the filename. + if ( ! empty( $wp_scripts->registered['jquery-core']->src ) && false !== strpos( $script['url'], $wp_scripts->registered['jquery-core']->src ) ) { + Logger::debug( + 'jQuery script is already minified.', + [ + 'js minification process', + 'tag' => $script[0], + ] + ); + continue; + } + + $integrity_validated = $this->local_cache->validate_integrity( $script ); + + if ( false === $integrity_validated ) { + Logger::debug( + 'Script integrity attribute not valid.', + [ + 'js minification process', + 'tag' => $script[0], + ] + ); + + continue; + } + + $script['final'] = $integrity_validated; + + $minify_url = $this->replace_url( strtok( $script['url'], '?' ) ); + + if ( ! $minify_url ) { + Logger::error( + 'Script minification failed.', + [ + 'js minification process', + 'tag' => $script[0], + ] + ); + continue; + } + + $html = $this->replace_script( $script, $minify_url, $html ); + } + + return $html; + } + + /** + * Get all script tags from HTML. + * + * @param string $html HTML content. + * @return array Array with script tags, empty array if no script tags found. + */ + private function get_scripts( $html ) { + $html_nocomments = $this->hide_comments( $html ); + $scripts = $this->find( ']+[\s\'"])?src\s*=\s*[\'"]\s*?(?[^\'"]+\.js(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>', $html_nocomments ); + + if ( ! $scripts ) { + Logger::debug( 'No `$0", $html, 1 ); + } + + return $html; + } + + /** + * Excludes Elementor CSS from minify/combine + * + * @since 3.10.9 + * + * @param array $excluded Array of excluded patterns. + * + * @return array + */ + public function exclude_post_css( $excluded ): array { + if ( ! $this->elementor_use_external_file() ) { + return $excluded; + } + + $upload = wp_get_upload_dir(); + $basepath = wp_parse_url( $upload['baseurl'], PHP_URL_PATH ); + + if ( empty( $basepath ) ) { + return $excluded; + } + + $excluded[] = $basepath . '/elementor/css/(.*).css'; + + return $excluded; + } + + /** + * Excludes JS files from minify/combine JS + * + * @since 3.10.9 + * + * @param array $excluded_files Array of excluded patterns. + * + * @return array + */ + public function exclude_js( $excluded_files ): array { + if ( ! $this->options->get( 'minify_concatenate_js', false ) ) { + return $excluded_files; + } + + $excluded_files[] = '/wp-includes/js/dist/hooks(.min)?.js'; + + return $excluded_files; + } + + /** + * Remove rocket metabox option from post. + * + * @param array $cpts Custom post type. + * @return array + */ + public function remove_rocket_option( array $cpts ): array { + if ( isset( $cpts['elementor_library'] ) ) { + unset( $cpts['elementor_library'] ); + } + + return $cpts; + } + + /** + * Remove cache or purge option from elementor template post. + * + * @param boolean $should_skip Should skip rocket option to admin bar. + * @param mixed $post Post object. + * @return boolean + */ + public function skip_admin_bar_option( bool $should_skip, $post ): bool { + if ( null === $post ) { + return $should_skip; + } + + if ( 'elementor_library' === $post->post_type ) { + return true; + } + + return $should_skip; + } +} diff --git a/inc/ThirdParty/Plugins/RevolutionSlider.php b/inc/ThirdParty/Plugins/RevolutionSlider.php new file mode 100644 index 0000000..9a2117f --- /dev/null +++ b/inc/ThirdParty/Plugins/RevolutionSlider.php @@ -0,0 +1,48 @@ + 'exclude_defer_js', + ]; + } + + /** + * Excludes jquery and jquery migrate JS files from defer JS + * + * @since 3.9.2 + * + * @param array $exclude_defer_js Array of JS file paths to be excluded. + * @return array + */ + public function exclude_defer_js( $exclude_defer_js ) { + $exclude_defer_js[] = '/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js'; + $exclude_defer_js[] = '/jquery-migrate(.min)?.js'; + + return $exclude_defer_js; + } +} diff --git a/inc/ThirdParty/Plugins/SEO/AllInOneSEOPack.php b/inc/ThirdParty/Plugins/SEO/AllInOneSEOPack.php new file mode 100644 index 0000000..df76ee5 --- /dev/null +++ b/inc/ThirdParty/Plugins/SEO/AllInOneSEOPack.php @@ -0,0 +1,74 @@ +option = $option; + } + + /** + * Subscribed events. + */ + public static function get_subscribed_events() { + $aioseo_v3 = defined( 'AIOSEOP_VERSION' ); + $aioseo_v4 = defined( 'AIOSEO_VERSION' ) && function_exists( 'aioseo' ); + + if ( ! $aioseo_v3 && ! $aioseo_v4 ) { + return []; + } + + return [ + 'rocket_sitemap_preload_list' => [ 'add_all_in_one_seo_sitemap', 15 ], + ]; + } + + /** + * Add All in One SEO Sitemap to the preload list + * + * @param Array $sitemaps Array of sitemaps to preload. + * @return Array Updated array of sitemaps to preload + */ + public function add_all_in_one_seo_sitemap( $sitemaps ) { + + $aioseo_v3 = defined( 'AIOSEOP_VERSION' ); + $aioseo_v4 = defined( 'AIOSEO_VERSION' ) && function_exists( 'aioseo' ); + + $sitemap_enabled = false; + if ( $aioseo_v3 && ! $aioseo_v4 ) { + $aioseop_options = get_option( 'aioseop_options' ); + $sitemap_enabled = ( isset( $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_sitemap'] ) && 'on' === $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_sitemap'] ) || ( ! isset( $aioseop_options['modules']['aiosp_feature_manager_options'] ) && isset( $aioseop_options['modules']['aiosp_sitemap_options'] ) ); + } + + if ( + ( ! $aioseo_v4 && ! $sitemap_enabled ) || + ( $aioseo_v4 && ! aioseo()->options->sitemap->general->enable ) + ) { + return $sitemaps; + } + + if ( $aioseo_v3 ) { + $sitemaps[] = trailingslashit( home_url() ) . apply_filters( 'aiosp_sitemap_filename', 'sitemap' ) . '.xml'; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } elseif ( $aioseo_v4 ) { + $sitemaps[] = trailingslashit( home_url() ) . apply_filters( 'aioseo_sitemap_filename', 'sitemap' ) . '.xml'; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + return $sitemaps; + } +} diff --git a/inc/ThirdParty/Plugins/SEO/RankMathSEO.php b/inc/ThirdParty/Plugins/SEO/RankMathSEO.php new file mode 100644 index 0000000..a336030 --- /dev/null +++ b/inc/ThirdParty/Plugins/SEO/RankMathSEO.php @@ -0,0 +1,54 @@ +option = $option; + } + + /** + * Subscribed events. + */ + public static function get_subscribed_events() { + if ( ! defined( 'RANK_MATH_FILE' ) || ! Helper::is_module_active( 'sitemap' ) ) { + return []; + } + + return [ + 'rocket_sitemap_preload_list' => [ 'rocket_sitemap', 15 ], + ]; + } + + /** + * Add SEO sitemap URL to the sitemaps to preload + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ + public function rocket_sitemap( $sitemaps ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + $sitemaps[] = Router::get_base_url( 'sitemap_index.xml' ); + + return $sitemaps; + } +} diff --git a/inc/ThirdParty/Plugins/SEO/SEOPress.php b/inc/ThirdParty/Plugins/SEO/SEOPress.php new file mode 100644 index 0000000..23e896b --- /dev/null +++ b/inc/ThirdParty/Plugins/SEO/SEOPress.php @@ -0,0 +1,54 @@ +option = $option; + } + + /** + * Subscribed events. + */ + public static function get_subscribed_events() { + if ( ! function_exists( 'seopress_get_toggle_option' ) || 1 !== (int) seopress_get_toggle_option( 'xml-sitemap' ) ) { + return []; + } + + if ( ! method_exists( seopress_get_service( 'SitemapOption' ), 'isEnabled' ) || 1 !== (int) seopress_get_service( 'SitemapOption' )->isEnabled() ) { + return []; + } + + return [ + 'rocket_sitemap_preload_list' => [ 'add_seopress_sitemap', 15 ], + ]; + } + + /** + * Add SEOPress sitemap URL to the sitemaps to preload + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ + public function add_seopress_sitemap( $sitemaps ) { + $sitemaps[] = get_home_url() . '/sitemaps.xml'; + + return $sitemaps; + } +} diff --git a/inc/ThirdParty/Plugins/SEO/TheSEOFramework.php b/inc/ThirdParty/Plugins/SEO/TheSEOFramework.php new file mode 100644 index 0000000..9eeba9f --- /dev/null +++ b/inc/ThirdParty/Plugins/SEO/TheSEOFramework.php @@ -0,0 +1,86 @@ +option = $option; + } + + /** + * Subscribed events. + */ + public static function get_subscribed_events() { + if ( ! function_exists( 'the_seo_framework' ) ) { + return []; + } + $tsf = the_seo_framework(); + + // Either TSF < 3.1, or the plugin's silenced (soft-disabled) via a drop-in. + if ( empty( $tsf->loaded ) ) { + return []; + } + + /** + * 1. Performs option & other checks. + * 2. Checks for conflicting sitemap plugins that might prevent loading. + * + * These methods cache their output at runtime. + * + * @link https://github.com/wp-media/wp-rocket/issues/899 + */ + if ( ! $tsf->can_run_sitemap() ) { + return []; + } + + return [ + 'rocket_sitemap_preload_list' => [ 'add_tsf_sitemap_to_preload', 15 ], + ]; + } + + /** + * Adds TSF sitemap URLs to preload. + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ + public function add_tsf_sitemap_to_preload( $sitemaps ) { + + // The autoloader in TSF doesn't check for file_exists(). So, use version compare instead to prevent fatal errors. + if ( version_compare( rocket_get_constant( 'THE_SEO_FRAMEWORK_VERSION', false ), '4.0', '>=' ) ) { + // TSF 4.0+. Expect the class to exist indefinitely. + $sitemap_bridge = Sitemap::get_instance(); + + foreach ( $sitemap_bridge->get_sitemap_endpoint_list() as $id => $data ) { + // When the sitemap is good enough for a robots display, we determine it as valid for precaching. + // Non-robots display types are among the stylesheet endpoint, or the Yoast SEO-compatible endpoint. + // In other words, this enables support for ALL current and future public sitemap endpoints. + if ( ! empty( $data['robots'] ) ) { + $sitemaps[] = $sitemap_bridge->get_expected_sitemap_endpoint_url( $id ); + } + } + } else { + // Deprecated. TSF <4.0. + $sitemaps[] = the_seo_framework()->get_sitemap_xml_url(); + } + + return $sitemaps; + } +} diff --git a/inc/ThirdParty/Plugins/SEO/Yoast.php b/inc/ThirdParty/Plugins/SEO/Yoast.php new file mode 100644 index 0000000..71dc659 --- /dev/null +++ b/inc/ThirdParty/Plugins/SEO/Yoast.php @@ -0,0 +1,95 @@ +options = $options; + } + + /** + * Array of events this subscriber listens to + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_sitemap_preload_list' => [ 'add_sitemap', 15 ], + ]; + } + + /** + * Add Yoast SEO sitemap URL to the sitemaps to preload + * + * @since 2.8 + * + * @param array $sitemaps An array of sitemaps to preload. + * + * @return array + */ + public function add_sitemap( $sitemaps ): array { + if ( ! is_array( $sitemaps ) ) { + $sitemaps = (array) $sitemaps; + } + + if ( ! $this->is_sitemap_enabled() ) { + return $sitemaps; + } + + if ( ! class_exists( 'WPSEO_Sitemaps_Router' ) ) { + return $sitemaps; + } + + $sitemaps[] = \WPSEO_Sitemaps_Router::get_base_url( 'sitemap_index.xml' ); + + return $sitemaps; + } + + /** + * Checks if sitemap is enabled in Yoast SEO + * + * @since 3.11.1 + * + * @return bool + */ + private function is_sitemap_enabled(): bool { + static $enabled = null; + + if ( ! is_null( $enabled ) ) { + return $enabled; + } + + if ( ! rocket_has_constant( 'WPSEO_VERSION' ) ) { + $enabled = false; + + return $enabled; + } + + $yoast_seo_xml = get_option( 'wpseo_xml', [] ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + if ( version_compare( rocket_get_constant( 'WPSEO_VERSION', '' ), '7.0' ) >= 0 ) { + $yoast_seo = get_option( 'wpseo', [] ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $yoast_seo_xml['enablexmlsitemap'] = isset( $yoast_seo['enable_xml_sitemap'] ) && $yoast_seo['enable_xml_sitemap']; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + $enabled = (bool) $yoast_seo_xml['enablexmlsitemap']; + + return $enabled; + } +} diff --git a/inc/ThirdParty/Plugins/Security/WordFenceCompatibility.php b/inc/ThirdParty/Plugins/Security/WordFenceCompatibility.php new file mode 100644 index 0000000..ce5f376 --- /dev/null +++ b/inc/ThirdParty/Plugins/Security/WordFenceCompatibility.php @@ -0,0 +1,134 @@ + [ 'whitelist_wordfence_firewall_ips', 11 ], + 'rocket_deactivation' => 'pop_ip_from_whitelist', + ]; + } + + /** + * Removes old ip from whitelist. + * + * @param string $old_rucss_ip Old RUCSS IP. + * @return void + */ + public function pop_old_ip( string $old_rucss_ip ) { + + $whitelist = $this->can_pop_ip( $old_rucss_ip ); + + if ( ! $whitelist ) { + return; + } + + // Update whitelist. + wfConfig::set( 'whitelisted', implode( ',', $whitelist ) ); + } + + /** + * Remove ip from whitelist. + * + * @return void + */ + public function pop_ip_from_whitelist() { + + $whitelist = $this->can_pop_ip( self::WHITELISTED_IPS[0] ); + + if ( ! $whitelist ) { + return; + } + + // Update whitelist. + wfConfig::set( 'whitelisted', implode( ',', $whitelist ) ); + } + + /** + * Check if ip can be removed. + * + * @param string $ip IP. + * @return array + */ + private function can_pop_ip( string $ip ) { + // Get all whitelists. + $whitelists = wfConfig::get( 'whitelisted', '' ); + + // Convert to array. + $whitelist_array = explode( ',', $whitelists ); + + // Get ip index. + $ip = array_search( $ip, $whitelist_array, true ); + + if ( false === $ip ) { + return false; + } + + // Remove ip from whitelist. + unset( $whitelist_array[ $ip ] ); + + return $whitelist_array; + } + + /** + * Whitelist wp-rocket ips in wordfence firewall + * + * @since 3.10 + * + * @return void + */ + public function whitelist_wordfence_firewall_ips() { + // Pop old rucss ip. + $this->pop_old_ip( $this->old_rucss_ip ); + + /** + * Rocket wordfence whitelisted ips filter which adds IPs to wordfence whitelist. + * + * @since 3.10 + * + * @param array list of IPs should be whitelisted + */ + $ips = apply_filters( 'rocket_wordfence_whitelisted_ips', self::WHITELISTED_IPS ); + + if ( empty( $ips ) ) { + return; + } + + foreach ( $ips as $ip ) { + wordfence::whitelistIP( $ip ); + } + } +} diff --git a/inc/ThirdParty/Plugins/SimpleCustomCss.php b/inc/ThirdParty/Plugins/SimpleCustomCss.php new file mode 100644 index 0000000..0278902 --- /dev/null +++ b/inc/ThirdParty/Plugins/SimpleCustomCss.php @@ -0,0 +1,117 @@ +cache_busting_path = $cache_busting_path . $blog_id . '/'; + $this->filepath = $this->cache_busting_path . self::FILENAME; + $this->file_url = $cache_busting_url . $blog_id . '/' . self::FILENAME; + } + /** + * Subscribed events for AMP. + * + * @since 3.5.3 + * @author Soponar Cristina + * @inheritDoc + */ + public static function get_subscribed_events() { + if ( ! defined( 'SCCSS_FILE' ) ) { + return []; + } + + return [ + 'wp_enqueue_scripts' => [ 'cache_sccss', 98 ], + 'update_option_sccss_settings' => 'update_cache_file', + ]; + } + + /** + * Caches SCCSS code & remove the default enqueued URL + * + * @since 2.9 + * @author Remy Perona + */ + public function cache_sccss() { + if ( ! rocket_direct_filesystem()->exists( $this->filepath ) ) { + $this->create_cache_file(); + } + + // This filter is documented in inc/Engine/Optimization/CSS/AbstractCSSOptimization.php. + wp_enqueue_style( 'scss', apply_filters( 'rocket_css_url', $this->file_url ), '', rocket_direct_filesystem()->mtime( $this->filepath ) ); + remove_action( 'wp_enqueue_scripts', 'sccss_register_style', 99 ); + } + + /** + * Deletes & recreates cache for SCCSS code + * + * @since 3.6 + * @author Remy Perona + */ + public function update_cache_file() { + rocket_clean_domain(); + $this->create_cache_file(); + } + + /** + * Creates cache file for SCCSS code if it does not exist. + * + * @since 2.9 + * @author Remy Perona + * + * @return bool Returns bool if the files exists or could not be created. + */ + private function create_cache_file() { + $options = get_option( 'sccss_settings' ); + $raw_content = isset( $options['sccss-content'] ) ? $options['sccss-content'] : ''; + $content = wp_kses( $raw_content, [ '\'', '\"' ] ); + $content = str_replace( '>', '>', $content ); + $content = $this->apply_font_display_swap( $content ); + + if ( ! rocket_direct_filesystem()->is_dir( $this->cache_busting_path ) ) { + rocket_mkdir_p( $this->cache_busting_path ); + } + + return rocket_put_content( $this->filepath, $content ); + } +} diff --git a/inc/ThirdParty/Plugins/Smush.php b/inc/ThirdParty/Plugins/Smush.php new file mode 100644 index 0000000..193166f --- /dev/null +++ b/inc/ThirdParty/Plugins/Smush.php @@ -0,0 +1,192 @@ + [ 'maybe_deactivate_rocket_lazyload', 10 ], + ]; + } + + return [ + 'update_option_wp-smush-settings' => [ 'maybe_deactivate_rocket_lazyload', 11 ], + 'update_site_option_wp-smush-settings' => [ 'maybe_deactivate_rocket_lazyload', 11 ], + 'update_option_wp-smush-lazy_load' => [ 'maybe_deactivate_rocket_lazyload', 11 ], + 'update_site_option_wp-smush-lazy_load' => [ 'maybe_deactivate_rocket_lazyload', 11 ], + 'rocket_maybe_disable_lazyload_helper' => 'is_smush_lazyload_active', + 'rocket_maybe_disable_iframes_lazyload_helper' => 'is_smush_iframes_lazyload_active', + ]; + } + + /** + * Constructor. + * + * @since 3.5.5 + * + * @param Options $options_api WP Options API instance. + * @param Options_Data $options WP Rocket Options instance. + */ + public function __construct( Options $options_api, Options_Data $options ) { + $this->options_api = $options_api; + $this->options = $options; + } + + /** + * Disable WP Rocket lazyload when activating WP Smush and values are already in the database. + * + * @since 3.4.2 + * @author Soponar Cristina + */ + public function maybe_deactivate_rocket_lazyload() { + $enabled = $this->is_smush_lazyload_enabled(); + $updated = false; + + if ( $enabled['images'] && $this->options->get( 'lazyload' ) ) { + $this->options->set( 'lazyload', 0 ); + $updated = true; + } + + if ( $enabled['iframes'] && $this->options->get( 'lazyload_iframes' ) ) { + $this->options->set( 'lazyload_iframes', 0 ); + $updated = true; + } + + if ( ! $updated ) { + return; + } + + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Add "Smush" to the provided array if WP Smush lazyload is enabled for images. + * + * @since 3.4.2 + * @author Soponar Cristina + * + * @param array $disable_images_lazyload Array with plugins which disable lazyload functionality. + * @return array A list of plugin names. + */ + public function is_smush_lazyload_active( array $disable_images_lazyload ) { + $enabled = $this->is_smush_lazyload_enabled(); + + if ( $enabled['images'] ) { + $disable_images_lazyload[] = __( 'Smush', 'rocket' ); + } + + return $disable_images_lazyload; + } + + /** + * Add "Smush" to the provided array if WP Smush lazyload is enabled for iframes. + * + * @since 3.5.5 + * + * @param array $disable_iframes_lazyload Array with plugins which disable lazyload functionality. + * @return array A list of plugin names. + */ + public function is_smush_iframes_lazyload_active( $disable_iframes_lazyload ) { + $enabled = $this->is_smush_lazyload_enabled(); + + if ( $enabled['iframes'] ) { + $disable_iframes_lazyload[] = __( 'Smush', 'rocket' ); + } + + return $disable_iframes_lazyload; + } + + /** + * Tell if Smush’s lazyload is enabled for each type of content. + * + * @since 3.5.5 + * + * @return array { + * @var bool $images True when lazyload is enabled for images. False otherwise. + * @var bool $iframes True when lazyload is enabled for iframes. False otherwise. + * } + */ + private function is_smush_lazyload_enabled() { + $enabled = [ + 'images' => false, + 'iframes' => false, + ]; + + if ( ! class_exists( '\Smush\Core\Settings' ) ) { + return $enabled; + } + + if ( ! method_exists( '\Smush\Core\Settings', 'get_instance' ) ) { + return $enabled; + } + + $smush_settings = Settings::get_instance(); + + if ( ! method_exists( $smush_settings, 'get' ) || ! method_exists( $smush_settings, 'get_setting' ) ) { + return $enabled; + } + + if ( ! $smush_settings->get( 'lazy_load' ) ) { + return $enabled; + } + + $formats = $smush_settings->get_setting( 'wp-smush-lazy_load' ); + $formats = ! empty( $formats['format'] ) && is_array( $formats['format'] ) ? array_filter( $formats['format'] ) : []; + + $image_formats = array_intersect_key( + $formats, + // Allowlist image formats. + [ + 'jpeg' => false, + 'png' => false, + 'gif' => false, + 'svg' => false, + ] + ); + + if ( ! empty( $image_formats ) ) { + // One or several image formats are enabled in Smush. + $enabled['images'] = true; + } + + if ( ! empty( $formats['iframe'] ) ) { + // Iframe is enabled in Smush. + $enabled['iframes'] = true; + } + + return $enabled; + } +} diff --git a/inc/ThirdParty/Plugins/TheEventsCalendar.php b/inc/ThirdParty/Plugins/TheEventsCalendar.php new file mode 100644 index 0000000..3c24260 --- /dev/null +++ b/inc/ThirdParty/Plugins/TheEventsCalendar.php @@ -0,0 +1,44 @@ + 'exclude_from_preload_calendars', + ]; + } + + /** + * Exclude calendars from the preload. + * + * @param array $excluded excluded urls. + * @return array + */ + public function exclude_from_preload_calendars( $excluded ) { + + if ( ! function_exists( 'tribe_get_option' ) ) { + return $excluded; + } + + $uri = tribe_get_option( 'eventsSlug', 'event' ); + + $excluded[] = "/$uri/20(.*)"; + + return $excluded; + } +} diff --git a/inc/ThirdParty/Plugins/ThirstyAffiliates.php b/inc/ThirdParty/Plugins/ThirstyAffiliates.php new file mode 100644 index 0000000..032b1e9 --- /dev/null +++ b/inc/ThirdParty/Plugins/ThirstyAffiliates.php @@ -0,0 +1,50 @@ + [ 'exclude_link_prefix', PHP_INT_MAX, 2 ], + ]; + } + + /** + * Excludes the link prefix from preload links + * + * @since 3.10.8 + * + * @param string[] $excluded Array of excluded patterns. + * @param string[] $default Array of default excluded patterns. + * + * @return array + */ + public function exclude_link_prefix( $excluded, $default ): array { + if ( ! is_array( $excluded ) ) { + $excluded = (array) $excluded; + } + + if ( ! is_plugin_active( 'thirstyaffiliates/thirstyaffiliates.php' ) ) { + return $excluded; + } + + $excluded = array_diff( $excluded, $default ); + $link_prefix = get_option( 'ta_link_prefix', 'recommends' ); + + if ( 'custom' === $link_prefix ) { + $link_prefix = get_option( 'ta_link_prefix_custom', 'recommends' ); + } + + $excluded[] = '/' . $link_prefix . '/'; + + return $excluded; + } +} diff --git a/inc/ThirdParty/Plugins/UnlimitedElements.php b/inc/ThirdParty/Plugins/UnlimitedElements.php new file mode 100644 index 0000000..bbf5455 --- /dev/null +++ b/inc/ThirdParty/Plugins/UnlimitedElements.php @@ -0,0 +1,37 @@ + 'exclude_inline_from_rucss' ]; + } + + /** + * Exclude inline style from RUCSS. + * + * @param array $excluded excluded css. + * @return array + */ + public function exclude_inline_from_rucss( $excluded ) { + $excluded[] = '#uc_'; + + return $excluded; + } +} diff --git a/inc/ThirdParty/Plugins/WPGeotargeting.php b/inc/ThirdParty/Plugins/WPGeotargeting.php new file mode 100644 index 0000000..282f168 --- /dev/null +++ b/inc/ThirdParty/Plugins/WPGeotargeting.php @@ -0,0 +1,118 @@ + [ 'activate_geotargetingwp', 11 ], + 'geotWP/deactivated' => [ 'deactivate_geotargetingwp', 11 ], + ]; + + if ( ! class_exists( '\GeotWP\GeotargetingWP' ) ) { + return $events; + } + + $events['rocket_htaccess_mod_rewrite'] = [ 'return_false', 72 ]; + $events['rocket_cache_dynamic_cookies'] = 'add_geot_cookies'; + $events['rocket_cache_mandatory_cookies'] = 'add_geot_cookies'; + $events['geot/pass_basic_rules'] = [ 'maybe_disable_rules', 10, 3 ]; + + if ( ! get_option( 'geotWP-deactivated' ) ) { + return $events; + } + + // Update the WP Rocket rules on the .htaccess file. + $events['admin_init'] = [ + [ 'flush_rocket_htaccess' ], + [ 'rocket_generate_config_file' ], + ]; + + delete_option( 'geotWP-deactivated' ); + + return $events; + } + + /** + * Disable rules on nowprocket parameter. + * + * @param bool $bool Is Disabled. + * @param array $opts Options. + * @param string $current_url Current URL. + * @return bool + */ + public function maybe_disable_rules( $bool, $opts, $current_url ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.boolFound + $query = wp_parse_url( $current_url, PHP_URL_QUERY ); + return ! str_contains( $query ? $query : '', 'nowprocket' ); + } + + /** + * Add cookies when we activate any goetargetingWP plugin. + * + * @author Damian Logghe + */ + public function activate_geotargetingwp() { + add_filter( 'rocket_htaccess_mod_rewrite', [ $this, 'return_false' ], 72 ); + add_filter( 'rocket_cache_dynamic_cookies', [ $this, 'add_geot_cookies' ] ); + add_filter( 'rocket_cache_mandatory_cookies', [ $this, 'add_geot_cookies' ] ); + + // Update the WP Rocket rules on the .htaccess file. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } + + /** + * Remove cookies when we deactivate the plugin. + * + * @author Damian Logghe + */ + public function deactivate_geotargetingwp() { + // add into db a record saying we deactivated one of the family plugins. + update_option( 'geotWP-deactivated', true ); + remove_filter( 'rocket_htaccess_mod_rewrite', [ $this, 'return_false' ], 72 ); + remove_filter( 'rocket_cache_dynamic_cookies', [ $this, 'add_geot_cookies' ] ); + remove_filter( 'rocket_cache_mandatory_cookies', [ $this, 'add_geot_cookies' ] ); + + // Update the WP Rocket rules on the .htaccess file. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } + + /** + * Let users modify cache level by default set to country. + * + * @author Damian Logghe + * + * @param array $cookies An array of cookies. + * @return array Updated array of cookies + */ + public function add_geot_cookies( $cookies ) { + /** + * Geotargeting cookies. + * + * @param array $types Types from cookies (country, state, city). + * @return array + */ + $enabled_cookies = apply_filters( 'rocket_geotargetingwp_enabled_cookies', [ 'country' ] ); + foreach ( $enabled_cookies as $enabled_cookie ) { + if ( ! in_array( 'geot_rocket_' . $enabled_cookie, $cookies, true ) ) { + $cookies[] = 'geot_rocket_' . $enabled_cookie; + } + } + return $cookies; + } +} diff --git a/inc/ThirdParty/ReturnTypesTrait.php b/inc/ThirdParty/ReturnTypesTrait.php new file mode 100644 index 0000000..83c36e4 --- /dev/null +++ b/inc/ThirdParty/ReturnTypesTrait.php @@ -0,0 +1,50 @@ +getContainer()->get( 'options' ); + + $this->getContainer() + ->share( 'mobile_subscriber', Mobile_Subscriber::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'elementor_subscriber', Elementor::class ) + ->addArgument( $options ) + ->addArgument( rocket_direct_filesystem() ) + ->addArgument( $this->getContainer()->get( 'delay_js_html' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'woocommerce_subscriber', WooCommerceSubscriber::class ) + ->addArgument( $this->getContainer()->get( 'delay_js_html' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'syntaxhighlighter_subscriber', SyntaxHighlighter_Subscriber::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'ngg_subscriber', NGG_Subscriber::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'smush_subscriber', Smush::class ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'options' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'imagify_webp_subscriber', Imagify_Subscriber::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'shortpixel_webp_subscriber', ShortPixel_Subscriber::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'ewww_webp_subscriber', EWWW_Subscriber::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'optimus_webp_subscriber', Optimus_Subscriber::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'bigcommerce_subscriber', BigCommerce::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'beaverbuilder_subscriber', BeaverBuilder::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'amp_subscriber', AMP::class ) + ->addArgument( $options )->addArgument( $this->getContainer()->get( 'cdn_subscriber' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'simple_custom_css', SimpleCustomCss::class ) + ->addArgument( WP_ROCKET_CACHE_BUSTING_PATH )->addArgument( WP_ROCKET_CACHE_BUSTING_URL ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'pdfembedder', PDFEmbedder::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'mod_pagespeed', ModPagespeed::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'adthrive', Adthrive::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'autoptimize', Autoptimize::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'wp-meteor', WPMeteor::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'revolution_slider_subscriber', RevolutionSlider::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'wordfence_subscriber', WordFenceCompatibility::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'ezoic', Ezoic::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'thirstyaffiliates', ThirstyAffiliates::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'pwa', PWA::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'yoast_seo', Yoast::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'convertplug', ConvertPlug::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'unlimited_elements', UnlimitedElements::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'inline_related_posts', InlineRelatedPosts::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'wpml', WPML::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer()->add( 'cloudflare_plugin_facade', CloudflareFacade::class ); + $this->getContainer() + ->share( 'cloudflare_plugin_subscriber', Cloudflare::class ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $this->getContainer()->get( 'beacon' ) ) + ->addArgument( $this->getContainer()->get( 'cloudflare_plugin_facade' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'jetpack', Jetpack::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'convertplug', ConvertPlug::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'rank_math_seo', RankMathSEO::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'all_in_one_seo_pack', AllInOneSEOPack::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'seopress', SEOPress::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'the_seo_framework', TheSEOFramework::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'rocket_lazy_load', RocketLazyLoad::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'the_events_calendar', TheEventsCalendar::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'perfmatters', Perfmatters::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'rapidload', RapidLoad::class ); + $this->getContainer()->share( 'translatepress', TranslatePress::class ); + $this->getContainer()->share( 'wpgeotargeting', WPGeotargeting::class ); + } +} diff --git a/inc/ThirdParty/SubscriberFactoryInterface.php b/inc/ThirdParty/SubscriberFactoryInterface.php new file mode 100644 index 0000000..b477ae8 --- /dev/null +++ b/inc/ThirdParty/SubscriberFactoryInterface.php @@ -0,0 +1,22 @@ + 'clean_domain', + 'rocket_exclude_defer_js' => 'exclude_defer_js', + 'rocket_maybe_disable_lazyload_helper' => 'maybe_disable_lazyload', + 'fusion_cache_reset_after' => 'clean_domain', + 'update_option_fusion_options' => [ 'maybe_deactivate_lazyload', 10, 2 ], + 'rocket_wc_product_gallery_delay_js_exclusions' => 'exclude_delay_js', + 'init' => 'disable_compilers', + 'rocket_lazyload_bg_images_regex' => 'fix_regex_lazyload_bg_images', + ]; + } + + /** + * Constructor + * + * @param Options_Data $options WP Rocket options instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * When Avada theme purge its own cache. + * Clear WP Rocket cache when Avada dynamic CSS is updated. + * + * @return void + */ + public function clean_domain() { + rocket_clean_domain(); + } + + /** + * Deactivate WP Rocket lazyload if Avada lazyload is enabled. + * + * @since 3.3.4 + * + * @param string $old_value Previous Avada option value. + * @param string $value New Avada option value. + * @return void + */ + public function maybe_deactivate_lazyload( $old_value, $value ) { + if ( + empty( $old_value['lazy_load'] ) + || + ( ! empty( $value['lazy_load'] ) && 'avada' === $value['lazy_load'] ) + ) { + update_rocket_option( 'lazyload', 0 ); + } + } + + /** + * Excludes Avada Google Maps JS files from defer JS + * + * @param array $exclude_defer_js Array of JS filepaths to be excluded. + * @return array + */ + public function exclude_defer_js( $exclude_defer_js ) { + $exclude_defer_js[] = '/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js'; + $exclude_defer_js[] = 'maps.googleapis.com'; + + return $exclude_defer_js; + } + + /** + * Disable WP Rocket lazyload field if Avada lazyload is enabled + * + * @since 3.3.4 + * @param array $disable_images_lazyload Array with plugins which disable lazyload functionality. + * @return array + */ + public function maybe_disable_lazyload( $disable_images_lazyload ) { + $avada_options = get_option( 'fusion_options' ); + + if ( empty( $avada_options['lazy_load'] ) ) { + return $disable_images_lazyload; + } + + if ( ! empty( $avada_options['lazy_load'] && 'avada' !== $avada_options['lazy_load'] ) ) { + return $disable_images_lazyload; + } + + $disable_images_lazyload[] = __( 'Avada', 'rocket' ); + return $disable_images_lazyload; + } + + /** + * Excludes some Avada JS from delay JS execution when WC product gallery has images + * + * @since 3.10.2 + * + * @param array $exclusions Array of exclusion patterns. + * + * @return array + */ + public function exclude_delay_js( $exclusions ): array { + $base_path = wp_parse_url( get_stylesheet_directory_uri(), PHP_URL_PATH ); + + if ( empty( $base_path ) ) { + return $exclusions; + } + + $exclusions[] = $base_path . '/includes/lib/assets/min/js/library/jquery.flexslider.js'; + $exclusions[] = $base_path . '/assets/min/js/general/avada-woo-product-images.js'; + + return $exclusions; + } + + /** + * Disable CSS and JS combine file from Avada. + */ + public function disable_compilers() { + if ( $this->options->get( 'remove_unused_css', false ) && ! defined( 'FUSION_DISABLE_COMPILERS' ) ) { + define( 'FUSION_DISABLE_COMPILERS', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound + } + } + + /** + * Add a fix to the lazyload regex on background images. + * + * @param string $regex regex used to deleted background images. + * + * @return string + */ + public function fix_regex_lazyload_bg_images( $regex ) { + return '(--awb-)?' . $regex; + } +} diff --git a/inc/ThirdParty/Themes/Bridge.php b/inc/ThirdParty/Themes/Bridge.php new file mode 100644 index 0000000..46103ca --- /dev/null +++ b/inc/ThirdParty/Themes/Bridge.php @@ -0,0 +1,84 @@ + 'return_false', + 'update_option_qode_options_proya' => [ 'maybe_clear_cache', 10, 2 ], + ]; + } + + /** + * Constructor + * + * @param Options_Data $options WP Rocket options instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Maybe clear WP Rocket cache when Bridge custom CSS/JS is updated + * + * @since 3.3.7 + * + * @param array $old_value Previous option values. + * @param array $new_value New option values. + * @return void + */ + public function maybe_clear_cache( $old_value, $new_value ) { + $clear = false; + + if ( $this->options->get( 'minify_css', 0 ) ) { + if ( isset( $old_value['custom_css'], $new_value['custom_css'] ) && $old_value['custom_css'] !== $new_value['custom_css'] ) { + $clear = true; + } + + if ( isset( $old_value['custom_svg_css'], $new_value['custom_svg_css'] ) && $old_value['custom_svg_css'] !== $new_value['custom_svg_css'] ) { + $clear = true; + } + } + + if ( $this->options->get( 'minify_js', 0 ) ) { + if ( isset( $old_value['custom_js'], $new_value['custom_js'] ) && $old_value['custom_js'] !== $new_value['custom_js'] ) { + $clear = true; + } + } + + if ( $clear ) { + rocket_clean_domain(); + rocket_clean_minify(); + } + } +} diff --git a/inc/ThirdParty/Themes/Divi.php b/inc/ThirdParty/Themes/Divi.php new file mode 100644 index 0000000..a2493da --- /dev/null +++ b/inc/ThirdParty/Themes/Divi.php @@ -0,0 +1,363 @@ +options_api = $options_api; + $this->options = $options; + $this->delayjs_html = $delayjs_html; + $this->used_css = $used_css; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + $events = [ + 'switch_theme' => [ 'maybe_disable_youtube_preview', PHP_INT_MAX, 2 ], + 'rocket_specify_dimension_images' => 'disable_image_dimensions_height_percentage', + ]; + + if ( ! self::is_current_theme() ) { + return $events; + } + $events['rocket_exclude_js'] = 'exclude_js'; + $events['rocket_maybe_disable_youtube_lazyload_helper'] = 'add_divi_to_description'; + + $events['wp_enqueue_scripts'] = 'disable_divi_jquery_body'; + + $events['wp'] = 'disable_dynamic_css_on_rucss'; + $events['after_setup_theme'] = 'remove_assets_generated'; + $events['et_save_post'] = 'handle_save_template'; + $events['admin_notices'] = 'handle_divi_admin_notice'; + + $slug = rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ); + $events[ 'update_option_' . $slug ] = [ 'remove_transient_when_enabling_rucss_option', 10, 2 ]; + + $events['rocket_after_clean_used_css'] = 'clear_divi_notice'; + $events['wp_ajax_et_theme_builder_api_save'] = [ 'show_rucss_notice_with_save_changes', 9 ]; + + return $events; + } + + /** + * Excludes Divi's Salvatorre script from JS minification + * + * Prevent an error after minification/concatenation + * + * @since 3.6.3 + * + * @param array $excluded_js An array of JS paths to be excluded. + * + * @return array the updated array of paths + */ + public function exclude_js( $excluded_js ) { + if ( ! rocket_get_constant( 'ET_BUILDER_URI' ) ) { + return $excluded_js; + } + + $excluded_js[] = str_replace( home_url(), '', rocket_get_constant( 'ET_BUILDER_URI' ) . '/scripts/salvattore.min.js' ); + + return $excluded_js; + } + + /** + * Disables the Replace Youtube iframe by preview thumbnail option if new theme (or parent) is Divi + * + * @since 3.6.3 + * + * @param string $name Name of the new theme. + * @param WP_Theme $theme instance of the new theme. + * + * @return void + */ + public function maybe_disable_youtube_preview( $name, $theme ) { + if ( ! self::is_current_theme( $theme ) ) { + return; + } + + $this->options->set( 'lazyload_youtube', 0 ); + $this->options_api->set( 'settings', $this->options->get_options() ); + } + + /** + * Adds Divi to the array of items disabling Youtube lazyload + * + * @since 3.6.3 + * + * @param array $disable_youtube_lazyload Array of items names. + * + * @return array + */ + public function add_divi_to_description( $disable_youtube_lazyload ) { + if ( ! self::is_current_theme() ) { + return $disable_youtube_lazyload; + } + + $disable_youtube_lazyload[] = 'Divi'; + + return $disable_youtube_lazyload; + } + + /** + * Disables setting explicit dimensions on images where Divi calculates height as percentage. + * + * @since 3.8.2 + * + * @param array $images The array of images selected for adding image dimensions. + * + * @return array The array without images using data-height-percentage. + */ + public function disable_image_dimensions_height_percentage( array $images ) { + foreach ( $images as $key => $image ) { + if ( false !== strpos( strtolower( $image ), 'data-height-percentage' ) ) { + unset( $images[ $key ] ); + } + } + + return $images; + } + + /** + * Disable divi jquery body. + * + * @since 3.9.3 + */ + public function disable_divi_jquery_body() { + if ( + $this->delayjs_html->is_allowed() + && defined( 'ET_CORE_VERSION' ) + && version_compare( ET_CORE_VERSION, '4.10', '>=' ) + ) { + + add_filter( 'et_builder_enable_jquery_body', '__return_false' ); + } + } + + /** + * Disable Divi dynamic CSS when RUCSS is activated + * + * @return void + */ + public function disable_dynamic_css_on_rucss() { + if ( ! $this->options->get( 'remove_unused_css', false ) ) { + return; + } + add_filter( 'et_use_dynamic_css', '__return_false' ); + } + + /** + * Remove dynamic late assets action. + * + * @return void + */ + public function remove_assets_generated() { + remove_all_actions( 'et_dynamic_late_assets_generated' ); + } + + /** + * Get layout IDs for a template. + * + * @param int $template_post_id Template post ID. + * + * @return array + */ + private function get_layout_ids( $template_post_id ) { + $allowed_post_types = [ + 'et_header_layout', + 'et_footer_layout', + 'et_body_layout', + ]; + $current_post_type = get_post_type( $template_post_id ); + + if ( ! in_array( $current_post_type, $allowed_post_types, true ) ) { + return []; + } + + global $wpdb; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery + return (array) $wpdb->get_col( + $wpdb->prepare( + 'SELECT post_id from ' . $wpdb->postmeta . ' WHERE meta_key = %s AND meta_value = %d', + '_' . $current_post_type . '_id', + $template_post_id + ) + ); + } + + /** + * Is allowed for RUCSS notice functionality when saving templates. + * + * @return bool + */ + private function is_allowed_for_rucss() { + return $this->options->get( 'remove_unused_css', 0 ) + && + current_user_can( 'rocket_manage_options' ); + } + + /** + * Save template handler. + * + * @param int $template_post_id Template post ID. + * + * @return void + */ + public function handle_save_template( $template_post_id ) { + /** + * Filters Bypassing saving template functionality. + * + * @param bool $bypass Bypass save template functionality. + * @param int $template_post_id Currently saved template post id. + */ + if ( apply_filters( 'rocket_divi_bypass_save_template', false, $template_post_id ) ) { + return; + } + + // If the transient is there, we don't need to do the check again as the admin notice will be there already. + if ( false !== get_transient( 'rocket_divi_notice' ) ) { + return; + } + + $layout_post_ids = $this->get_layout_ids( $template_post_id ); + + if ( empty( $layout_post_ids ) ) { + return; + } + + foreach ( $layout_post_ids as $layout_post_id ) { + if ( 'publish' !== get_post_status( $layout_post_id ) ) { + continue; + } + + set_transient( 'rocket_divi_notice', true ); + return; + } + } + + /** + * Admin notices handler. + * + * @return void + */ + public function handle_divi_admin_notice() { + if ( ! $this->is_allowed_for_rucss() ) { + return; + } + + $notice = get_transient( 'rocket_divi_notice' ); + + if ( ! $notice ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'warning', + 'dismissible' => '', + 'dismiss_button' => 'rocket_divi_notice', + 'action' => 'clear_used_css', + 'message' => + sprintf( '%1$sWP Rocket:%2$s ', '', '' ) . // Splitting it because I think the plugin name is not a translatable string. + esc_html__( 'Your Divi template was updated. Clear the Used CSS if the layout, design or CSS styles were changed.', 'rocket' ), + ] + ); + } + + /** + * Clear divi notice. + * + * @return void + */ + public function clear_divi_notice() { + delete_transient( 'rocket_divi_notice' ); + } + + /** + * Remove notice transient when enabling RUCSS. + * + * @param array $old_value An array of submitted values for the settings. + * @param array $new_value An array of previous values for the settings. + * + * @return void + */ + public function remove_transient_when_enabling_rucss_option( $old_value, $new_value ) { + if ( ! isset( $new_value['remove_unused_css'], $old_value['remove_unused_css'] ) ) { + return; + } + + if ( $new_value['remove_unused_css'] === $old_value['remove_unused_css'] ) { + return; + } + + if ( ! $new_value['remove_unused_css'] ) { + return; + } + + if ( $this->used_css->has_one_completed_row_at_least() ) { + return; + } + + $this->clear_divi_notice(); + } + + /** + * Set the transient when save changes button is clicked. + * + * @return void + */ + public function show_rucss_notice_with_save_changes() { + set_transient( 'rocket_divi_notice', true ); + } +} diff --git a/inc/ThirdParty/Themes/Flatsome.php b/inc/ThirdParty/Themes/Flatsome.php new file mode 100644 index 0000000..ae5ce63 --- /dev/null +++ b/inc/ThirdParty/Themes/Flatsome.php @@ -0,0 +1,66 @@ + 'preserve_patterns' ]; + } + + /** + * Preserves the CSS patterns when adding the used CSS to the page + * + * @since 3.11 + * + * @param array $patterns Array of patterns to preserve. + * + * @return array + */ + public function preserve_patterns( $patterns ): array { + + $preserve = [ + '#section_', + '#text-box-', + '#banner-', + '#slider-', + '#gap-', + '#image_', + '#row-', + '#text-', + '#banner-grid-', + '#cats-', + '#col-', + '#gallery-', + '#instagram-', + '#map-', + '#page-header-', + '#pages-', + '#panel-', + '#portfolio-', + '#product-flip-', + '#product-grid-', + '#stack-', + '#timer-', + '#title-', + ]; + + return array_merge( $patterns, $preserve ); + } +} diff --git a/inc/ThirdParty/Themes/Jevelin.php b/inc/ThirdParty/Themes/Jevelin.php new file mode 100644 index 0000000..49b6725 --- /dev/null +++ b/inc/ThirdParty/Themes/Jevelin.php @@ -0,0 +1,79 @@ + 'preserve_patterns', + ]; + } + + /** + * Preserves the CSS patterns when adding the used CSS to the page + * + * @since 3.11.3 + * + * @param array $patterns Array of patterns to preserve. + * + * @return array + */ + public function preserve_patterns( $patterns ): array { + + return array_merge( + $patterns, + [ + '#heading-', + '#button-', + '#image-points-', + '#image-comparison-', + '#partners-', + '#icon-', + '#text-block-', + '#instagram-feed-', + '#woocommerce-products-', + '#tabs-', + '#icon-group-', + '#alert-', + '#divider-', + '#image-gallery-', + '#portfolio-fancy-', + '#counter-', + '#text-group-', + '#piechart-', + '#single-image-', + '#progress-', + '#countdown-', + '#testimonials-', + '#portfolio-', + '#event-', + '.vc_column_', + '.vc_row_', + '.sh-empty-space-', + '.sh-element-titlebar-title-', + '.sh-footer-builder-widgets-', + '.sh-image-gallery-simple-', + '.header-navigation-', + '.sh-google-maps-', + '.sh-element-titlebar-breadcrumbs-', + '.sh-header-builder-', + '.sh-text-group-', + '.sh-footer-builder-title-', + ] + ); + } +} diff --git a/inc/ThirdParty/Themes/MinimalistBlogger.php b/inc/ThirdParty/Themes/MinimalistBlogger.php new file mode 100644 index 0000000..0dcdc2e --- /dev/null +++ b/inc/ThirdParty/Themes/MinimalistBlogger.php @@ -0,0 +1,41 @@ + 'exclude_jquery_from_delay_js', + ]; + } + + /** + * Excludes some MinimalistBlogger JS from delay JS execution + * + * @since 3.11.3 + * + * @param array $exclusions Array of exclusion patterns. + * + * @return array + */ + public function exclude_jquery_from_delay_js( array $exclusions = [] ) { + $exclusions[] = '\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |\'|"|>)'; + return $exclusions; + } +} diff --git a/inc/ThirdParty/Themes/Polygon.php b/inc/ThirdParty/Themes/Polygon.php new file mode 100644 index 0000000..f6104fe --- /dev/null +++ b/inc/ThirdParty/Themes/Polygon.php @@ -0,0 +1,48 @@ + 'add_rucss_content_excluded', + ]; + } + + /** + * Add excluded elements to rocket_rucss_inline_content_exclusions filter. + * + * @param array $excluded excluded elements. + * @return array + */ + public function add_rucss_content_excluded( $excluded ) { + $excluded [] = '.expanding_bar_'; + return $excluded; + } + + /** + * Checks if the current theme (or parent) is Polygone + * + * @param WP_Theme $theme Instance of the theme. + */ + private static function is_polygon( $theme = null ) { + $theme = $theme instanceof WP_Theme ? $theme : wp_get_theme(); + return ( 'polygon' === strtolower( $theme->get( 'Name' ) ) || 'polygon' === $theme->get_template() ); + } +} diff --git a/inc/ThirdParty/Themes/ServiceProvider.php b/inc/ThirdParty/Themes/ServiceProvider.php new file mode 100644 index 0000000..8822eb5 --- /dev/null +++ b/inc/ThirdParty/Themes/ServiceProvider.php @@ -0,0 +1,79 @@ +getContainer()->get( 'options' ); + + $this->getContainer() + ->share( 'avada_subscriber', Avada::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'bridge_subscriber', Bridge::class ) + ->addArgument( $options ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'divi', Divi::class ) + ->addArgument( $this->getContainer()->get( 'options_api' ) ) + ->addArgument( $options ) + ->addArgument( $this->getContainer()->get( 'delay_js_html' ) ) + ->addArgument( $this->getContainer()->get( 'rucss_used_css_controller' ) ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'flatsome', Flatsome::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'jevelin', Jevelin::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'minimalist_blogger', MinimalistBlogger::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'polygon', Polygon::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'uncode', Uncode::class ) + ->addTag( 'common_subscriber' ); + $this->getContainer() + ->share( 'xstore', Xstore::class ) + ->addTag( 'common_subscriber' ); + + $this->getContainer()->share( 'themify', Themify::class ) + ->addArgument( $options ); + + $this->getContainer()->share( 'shoptimizer', Shoptimizer::class ); + } +} diff --git a/inc/ThirdParty/Themes/Shoptimizer.php b/inc/ThirdParty/Themes/Shoptimizer.php new file mode 100644 index 0000000..d2917dc --- /dev/null +++ b/inc/ThirdParty/Themes/Shoptimizer.php @@ -0,0 +1,56 @@ + 'method_name') + * * array('hook_name' => array('method_name', $priority)) + * * array('hook_name' => array('method_name', $priority, $accepted_args)) + * * array('hook_name' => array(array('method_name_1', $priority_1, $accepted_args_1)), array('method_name_2', $priority_2, $accepted_args_2))) + * + * @return array + */ + public static function get_subscribed_events() { + if ( ! self::is_current_theme() ) { + return []; + } + + return [ + 'rocket_exclude_defer_js' => 'exclude_jquery_deferjs_with_cart_drawer', + ]; + } + + /** + * Exclude Jquery from defer JS. + * + * @param array $exclusions Excluded values from defer JS. + * + * @return array + */ + public function exclude_jquery_deferjs_with_cart_drawer( $exclusions ) { + if ( ! function_exists( 'shoptimizer_get_option' ) || ! shoptimizer_get_option( 'shoptimizer_layout_woocommerce_enable_sidebar_cart' ) ) { + return $exclusions; + } + + $exclusions[] = '\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?'; + return $exclusions; + } +} diff --git a/inc/ThirdParty/Themes/Themify.php b/inc/ThirdParty/Themes/Themify.php new file mode 100644 index 0000000..b8a188f --- /dev/null +++ b/inc/ThirdParty/Themes/Themify.php @@ -0,0 +1,162 @@ +options = $options; + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @return array + */ + public static function get_subscribed_events() { + if ( ! self::is_current_theme() ) { + return []; + } + + return [ + 'after_switch_theme' => 'disabling_concat_on_theme', + 'update_option_' . rocket_get_constant( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ) => [ 'disabling_concat_on_rucss', 10, 2 ], + 'themify_save_data' => 'disable_concat_on_saving_data', + 'themify_dev_mode' => 'maybe_enable_dev_mode', + ]; + } + + /** + * Change the value on change theme. + * + * @return void + */ + public function disabling_concat_on_theme() { + $data = themify_get_data(); + + $remove_unused_css = $this->options->get( 'remove_unused_css', false ); + + if ( ! $remove_unused_css ) { + $data = $this->maybe_disable( $data ); + } + + if ( $remove_unused_css ) { + $data = $this->maybe_enable( $data ); + } + + themify_set_data( $data ); + } + + /** + * Disable concat on saving theme options. + * + * @param array $value theme options. + * @return array + */ + public function disable_concat_on_saving_data( $value ) { + if ( ! $this->options->get( 'remove_unused_css', false ) ) { + return $value; + } + + return $this->maybe_enable( $value ); + } + + /** + * Disable concat on RUCSS enabled. + * + * @param array $old Old configurations. + * @param array $new New configurations. + * + * @return void + */ + public function disabling_concat_on_rucss( $old, $new ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.newFound + + if ( ! key_exists( 'remove_unused_css', $old ) || ! key_exists( 'remove_unused_css', $new ) || $old['remove_unused_css'] === $new['remove_unused_css'] ) { + return; + } + + $data = themify_get_data(); + + if ( ! $new['remove_unused_css'] ) { + $data = $this->maybe_disable( $data ); + } + + if ( $new['remove_unused_css'] ) { + $data = $this->maybe_enable( $data ); + } + + themify_set_data( $data ); + } + + /** + * Maybe disable concate CSS. + * + * @param array $data Themify data. + * + * @return array + */ + protected function maybe_disable( array $data ): array { + if ( key_exists( 'setting-dev-mode-concate', $data ) && ! $data['setting-dev-mode-concate'] && key_exists( 'setting-dev-mode', $data ) && ! $data['setting-dev-mode'] ) { + return $data; + } + + $data['setting-dev-mode-concate'] = false; + $data['setting-dev-mode'] = false; + + return $data; + } + + /** + * Maybe enable dev mode and concat. + * + * @param array $data Themify data. + * + * @return array + */ + protected function maybe_enable( array $data ): array { + + if ( key_exists( 'setting-dev-mode-concate', $data ) && $data['setting-dev-mode-concate'] && key_exists( 'setting-dev-mode', $data ) && $data['setting-dev-mode'] ) { + return $data; + } + + $data['setting-dev-mode'] = true; + $data['setting-dev-mode-concate'] = true; + + return $data; + } + + /** + * Enable the dev mode when RUCSS is activated. + * + * @param bool $is_enabled Is dev mode enabled. + * @return bool + */ + public function maybe_enable_dev_mode( $is_enabled ) { + + if ( $this->options->get( 'remove_unused_css', false ) ) { + return true; + } + + return $is_enabled; + } +} diff --git a/inc/ThirdParty/Themes/ThirdpartyTheme.php b/inc/ThirdParty/Themes/ThirdpartyTheme.php new file mode 100644 index 0000000..088bd56 --- /dev/null +++ b/inc/ThirdParty/Themes/ThirdpartyTheme.php @@ -0,0 +1,32 @@ +get_template() ?? ''; + + if ( empty( $template ) ) { + return false; + } + + return str_contains( strtolower( $template ), strtolower( static::$theme_name ) ); + } +} diff --git a/inc/ThirdParty/Themes/Uncode.php b/inc/ThirdParty/Themes/Uncode.php new file mode 100644 index 0000000..b89c704 --- /dev/null +++ b/inc/ThirdParty/Themes/Uncode.php @@ -0,0 +1,105 @@ + 'exclude_js', + 'rocket_excluded_inline_js_content' => 'exclude_inline_js', + 'rocket_exclude_defer_js' => 'exclude_defer_js', + 'rocket_delay_js_exclusions' => 'exclude_delay_js', + ]; + } + + /** + * Excludes Uncode init and ai-uncode JS files from minification/combine + * + * @since 3.1 + * + * @param array $excluded_js Array of JS filepaths to be excluded. + * @return array + */ + public function exclude_js( $excluded_js ): array { + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + + return $excluded_js; + } + + /** + * Excludes some Uncode inline scripts from combine JS + * + * @since 3.1 + * + * @param array $inline_js Array of patterns to match for exclusion. + * @return array + */ + public function exclude_inline_js( $inline_js ): array { + $inline_js[] = 'SiteParameters'; + $inline_js[] = 'script-'; + $inline_js[] = 'initBox'; + $inline_js[] = 'initHeader'; + $inline_js[] = 'fixMenuHeight'; + + return $inline_js; + } + + /** + * Excludes Uncode JS files from defer JS + * + * @since 3.2.5 + * + * @param array $exclude_defer_js Array of JS filepaths to be excluded. + * @return array + */ + public function exclude_defer_js( $exclude_defer_js ): array { + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + return $exclude_defer_js; + } + + /** + * Excludes Uncode JS files from delay JS + * + * @since 3.10.5 + * + * @param array $exclude_delay_js Array of JS to be excluded. + * @return array + */ + public function exclude_delay_js( $exclude_delay_js ): array { + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + $exclude_delay_js[] = 'UNCODE\.(.*)\)\;'; + + return $exclude_delay_js; + } +} diff --git a/inc/ThirdParty/Themes/Xstore.php b/inc/ThirdParty/Themes/Xstore.php new file mode 100644 index 0000000..a2bfb70 --- /dev/null +++ b/inc/ThirdParty/Themes/Xstore.php @@ -0,0 +1,42 @@ + 'exclude_inline_content' ]; + } + + /** + * Excludes the contents with patterns from being processed by RUCSS + * + * @param array $patterns Array of patterns to preserve. + * + * @return array + */ + public function exclude_inline_content( $patterns ): array { + + $patterns[] = '.slider-'; + $patterns[] = '.slider-item-'; + + return $patterns; + } +} diff --git a/inc/admin/admin.php b/inc/admin/admin.php new file mode 100644 index 0000000..6b8ceb6 --- /dev/null +++ b/inc/admin/admin.php @@ -0,0 +1,467 @@ +%s', 'https://wp-rocket.me/support/?utm_source=wp_plugin&utm_medium=wp_rocket', __( 'Support', 'rocket' ) ) ); + + array_unshift( $actions, sprintf( '%s', get_rocket_documentation_url(), __( 'Docs', 'rocket' ) ) ); + + array_unshift( $actions, sprintf( '%s', get_rocket_faq_url(), __( 'FAQ', 'rocket' ) ) ); + + array_unshift( $actions, sprintf( '%s', admin_url( 'options-general.php?page=' . WP_ROCKET_PLUGIN_SLUG ), __( 'Settings', 'rocket' ) ) ); + + return $actions; +} +add_filter( 'plugin_action_links_' . plugin_basename( WP_ROCKET_FILE ), 'rocket_settings_action_links' ); + +/** + * Add a link "Renew your licence" when you can't do it automatically (expired licence but new version available) + * + * @since 2.2 + * + * @param array $plugin_meta An array of the plugin's metadata, including the version, author, author URI, and plugin URI. + * @param string $plugin_file Path to the plugin file, relative to the plugins directory. + * @return array Updated meta content if license is expired + */ +function rocket_plugin_row_meta( $plugin_meta, $plugin_file ) { + if ( 'wp-rocket/wp-rocket.php' === $plugin_file ) { + + $update_plugins = get_site_transient( 'update_plugins' ); + + if ( false !== $update_plugins && isset( $update_plugins->response[ $plugin_file ] ) && empty( $update_plugins->response[ $plugin_file ]->package ) ) { + + $link = ' Renew your licence of WP Rocket to receive access to automatic upgrades and support. Purchase now.'; + + $plugin_meta = array_merge( (array) $link, $plugin_meta ); + } + } + + return $plugin_meta; +} +add_action( 'plugin_row_meta', 'rocket_plugin_row_meta', 10, 2 ); + +/** + * Add a link "Purge this cache" in the post edit area + * + * @since 1.0 + * + * @param array $actions An array of row action links. + * @param object $post The post object. + * @return array Updated array of row action links + */ +function rocket_post_row_actions( $actions, $post ) { + + if ( ! rocket_can_display_options() ) { + return $actions; + } + + if ( ! current_user_can( 'rocket_purge_posts' ) ) { + return $actions; + } + + $cpts = get_post_types( + [ + 'public' => true, + ], + 'objects' + ); + + /** + * Filters the post type on row actions. + * + * @since 3.11.4 + * + * @param array $cpts Post Types. + */ + $cpts = apply_filters( 'rocket_skip_post_row_actions', $cpts ); + + if ( ! isset( $cpts[ $post->post_type ] ) ) { + return $actions; + } + + $url = wp_nonce_url( admin_url( 'admin-post.php?action=purge_cache&type=post-' . $post->ID ), 'purge_cache_post-' . $post->ID ); + $actions['rocket_purge'] = sprintf( '%s', $url, __( 'Clear this cache', 'rocket' ) ); + + return $actions; +} +add_filter( 'page_row_actions', 'rocket_post_row_actions', 10, 2 ); +add_filter( 'post_row_actions', 'rocket_post_row_actions', 10, 2 ); + +/** + * Add a link "Purge this cache" in the user edit area + * + * @since 2.6.12 + * @param array $actions An array of row action links. + * @param object $user The user object. + * @return array Updated array of row action links + */ +function rocket_user_row_actions( $actions, $user ) { + if ( ! current_user_can( 'rocket_purge_users' ) || ! get_rocket_option( 'cache_logged_user', false ) ) { + return $actions; + } + + $url = wp_nonce_url( admin_url( 'admin-post.php?action=purge_cache&type=user-' . $user->ID ), 'purge_cache_user-' . $user->ID ); + $actions['rocket_purge'] = sprintf( '%s', $url, __( 'Clear this cache', 'rocket' ) ); + + return $actions; +} +add_filter( 'user_row_actions', 'rocket_user_row_actions', 10, 2 ); + +/** + * Manage the dismissed boxes. + * + * @since 3.6 Reverse dependency with rocket_dismiss_box(). + * @since 2.4 Add a delete_transient on function name (box name). + * @since 1.3.0 $args can replace $_GET when called internaly. + * @since 1.1.10 + * + * @param array $args An array of query args. Should not be used: see rocket_dismiss_box(). + */ +function rocket_dismiss_boxes( $args = [] ) { + global $pagenow; + + $args = empty( $args ) ? $_GET : $args; // phpcs:ignore WordPress.Security.NonceVerification.Recommended + + if ( ! isset( $args['box'], $args['action'], $args['_wpnonce'] ) ) { + return; + } + + if ( ! wp_verify_nonce( $args['_wpnonce'], "{$args['action']}_{$args['box']}" ) ) { + if ( rocket_get_constant( 'DOING_AJAX' ) ) { + wp_send_json( [ 'error' => 1 ] ); + } else { + wp_nonce_ays( '' ); + } + return; + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_nonce_ays( '' ); + } + + rocket_dismiss_box( $args['box'] ); + + if ( 'admin-post.php' === $pagenow ) { + if ( rocket_get_constant( 'DOING_AJAX' ) ) { + wp_send_json( [ 'error' => 0 ] ); + } else { + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } + } +} +add_action( 'wp_ajax_rocket_ignore', 'rocket_dismiss_boxes' ); +add_action( 'admin_post_rocket_ignore', 'rocket_dismiss_boxes' ); + +/** + * Renew the plugin modification warning on plugin de/activation + * + * @since 1.3.0 + * + * @param string $plugin plugin name. + */ +function rocket_dismiss_plugin_box( $plugin ) { + if ( plugin_basename( WP_ROCKET_FILE ) !== $plugin ) { + rocket_renew_box( 'rocket_warning_plugin_modification' ); + } +} +add_action( 'activated_plugin', 'rocket_dismiss_plugin_box' ); +add_action( 'deactivated_plugin', 'rocket_dismiss_plugin_box' ); + +/** + * Display a prevention message when enabling or disabling a plugin can be in conflict with WP Rocket + * + * @since 1.3.0 + */ +function rocket_deactivate_plugin() { + if ( ! isset( $_GET['plugin'], $_GET['_wpnonce'] ) ) { + return; + } + if ( ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'deactivate_plugin' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_nonce_ays( '' ); + } + + deactivate_plugins( sanitize_text_field( wp_unslash( $_GET['plugin'] ) ) ); + + wp_safe_redirect( wp_get_referer() ); + die(); +} +add_action( 'admin_post_deactivate_plugin', 'rocket_deactivate_plugin' ); + +/** + * This function will force the direct download of the plugin's options, compressed. + * + * @since 2.2 + */ +function rocket_do_options_export() { + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'rocket_export' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_nonce_ays( '' ); + } + + list( $filename, $options ) = rocket_export_options(); + nocache_headers(); + @header( 'Content-Type: application/json' ); + @header( 'Content-Disposition: attachment; filename="' . $filename . '"' ); + @header( 'Content-Transfer-Encoding: binary' ); + @header( 'Content-Length: ' . strlen( $options ) ); + @header( 'Connection: close' ); + echo $options; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + exit(); +} +add_action( 'admin_post_rocket_export', 'rocket_do_options_export' ); + +if ( ! defined( 'DOING_AJAX' ) && ! defined( 'DOING_AUTOSAVE' ) ) { + add_action( 'admin_init', 'rocket_init_cache_dir' ); + add_action( 'admin_init', 'rocket_maybe_generate_advanced_cache_file' ); + add_action( 'admin_init', 'rocket_maybe_generate_config_files' ); +} + +/** + * Regenerate the advanced-cache.php file if an issue is detected. + * + * @since 2.6 + */ +function rocket_maybe_generate_advanced_cache_file() { + if ( ! defined( 'WP_ROCKET_ADVANCED_CACHE' ) || ( defined( 'WP_ROCKET_ADVANCED_CACHE_PROBLEM' ) && WP_ROCKET_ADVANCED_CACHE_PROBLEM ) ) { + rocket_generate_advanced_cache_file(); + } +} + +/** + * Regenerate config file if an issue is detected. + * + * @since 2.6.5 + */ +function rocket_maybe_generate_config_files() { + $home = get_rocket_parse_url( rocket_get_home_url() ); + + $path = ( ! empty( $home['path'] ) ) ? str_replace( '/', '.', untrailingslashit( $home['path'] ) ) : ''; + + if ( ! file_exists( WP_ROCKET_CONFIG_PATH . strtolower( $home['host'] ) . $path . '.php' ) ) { + rocket_generate_config_file(); + } +} + +/** + * Gets all data to send to the analytics system + * + * @since 3.0 Send CDN zones, sitemaps paths, and count the number of CDN URLs used + * @since 2.11 + * @author Remy Perona + * + * @return mixed An array of data, or false if WP Rocket options is not an array + */ +function rocket_analytics_data() { + global $wp_version, $is_nginx, $is_apache, $is_iis7, $is_IIS; + + if ( ! is_array( get_option( WP_ROCKET_SLUG ) ) ) { + return false; + } + + $untracked_wp_rocket_options = [ + 'license' => 1, + 'consumer_email' => 1, + 'consumer_key' => 1, + 'secret_key' => 1, + 'secret_cache_key' => 1, + 'minify_css_key' => 1, + 'minify_js_key' => 1, + 'cloudflare_email' => 1, + 'cloudflare_api_key' => 1, + 'cloudflare_zone_id' => 1, + 'cloudflare_old_settings' => 1, + 'submit_optimize' => 1, + 'analytics_enabled' => 1, + ]; + + $theme = wp_get_theme(); + $data = array_diff_key( get_option( WP_ROCKET_SLUG ), $untracked_wp_rocket_options ); + $locale = explode( '_', get_locale() ); + $data['web_server'] = 'Unknown'; + + if ( $is_nginx ) { + $data['web_server'] = 'NGINX'; + } elseif ( $is_apache ) { + $data['web_server'] = 'Apache'; + } elseif ( $is_iis7 ) { + $data['web_server'] = 'IIS 7'; + } elseif ( $is_IIS ) { + $data['web_server'] = 'IIS'; + } + + $data['php_version'] = preg_replace( '@^(\d\.\d+).*@', '\1', phpversion() ); + $data['wordpress_version'] = preg_replace( '@^(\d\.\d+).*@', '\1', $wp_version ); + $data['current_theme'] = $theme->get( 'Name' ); + $data['active_plugins'] = rocket_get_active_plugins(); + $data['locale'] = $locale[0]; + $data['multisite'] = is_multisite(); + + if ( ! empty( $data['cdn_cnames'] ) && is_array( $data['cdn_cnames'] ) ) { + $data['cdn_cnames'] = count( $data['cdn_cnames'] ); + } else { + $data['cdn_cnames'] = 0; + } + + $customer_data = get_transient( 'wp_rocket_customer_data' ); + $data['license_type'] = ''; + if ( false !== $customer_data ) { + $data['license_type'] = rocket_get_license_type( $customer_data ); + } + + return $data; +} + +/** + * Determines if we should send the analytics data + * + * @since 2.11 + * @author Remy Perona + * + * @return bool True if we should send them, false otherwise + */ +function rocket_send_analytics_data() { + return false; +} + +/** + * Handles the analytics opt-in notice selection and prevent further display + * + * @since 2.11 + * @author Remy Perona + */ +function rocket_analytics_optin() { + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'analytics_optin' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + wp_safe_redirect( wp_get_referer() ); + die(); + } + + if ( isset( $_GET['value'] ) && 'yes' === $_GET['value'] ) { + update_rocket_option( 'analytics_enabled', 1 ); + set_transient( 'rocket_analytics_optin', 1 ); + } + + update_option( 'rocket_analytics_notice_displayed', 1 ); + + wp_safe_redirect( wp_get_referer() ); + die(); +} +add_action( 'admin_post_rocket_analytics_optin', 'rocket_analytics_optin' ); + +/** + * Handle WP Rocket settings import. + * + * @since 3.10 disable async_css if both async_css and remove_unused_css are enabled + * @since 3.0 Hooked on admin_post now + * @since 2.10.7 + * @author Remy Perona + * + * @return void + */ +function rocket_handle_settings_import() { + check_ajax_referer( 'rocket_import_settings', 'rocket_import_settings_nonce' ); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + rocket_settings_import_redirect( __( 'Settings import failed: you do not have the permissions to do this.', 'rocket' ), 'error' ); + } + + if ( ! isset( $_FILES['import'] ) || ( isset( $_FILES['import']['size'] ) && 0 === $_FILES['import']['size'] ) ) { + rocket_settings_import_redirect( __( 'Settings import failed: no file uploaded.', 'rocket' ), 'error' ); + } + + if ( isset( $_FILES['import']['name'] ) && ! preg_match( '/wp-rocket-settings(?:-.*)?-20\d{2}-\d{2}-\d{2}-[a-f0-9]{13}\.(?:txt|json)/', sanitize_file_name( $_FILES['import']['name'] ) ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash + rocket_settings_import_redirect( __( 'Settings import failed: incorrect filename.', 'rocket' ), 'error' ); + } + + add_filter( 'mime_types', 'rocket_allow_json_mime_type' ); + add_filter( 'wp_check_filetype_and_ext', 'rocket_check_json_filetype', 10, 4 ); + + $mimes = get_allowed_mime_types(); + $mimes = rocket_allow_json_mime_type( $mimes ); + $file_data = wp_check_filetype_and_ext( $_FILES['import']['tmp_name'], sanitize_file_name( $_FILES['import']['name'] ), $mimes ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotValidated + + if ( 'text/plain' !== $file_data['type'] && 'application/json' !== $file_data['type'] ) { + rocket_settings_import_redirect( __( 'Settings import failed: incorrect filetype.', 'rocket' ), 'error' ); + } + + $_post_action = isset( $_POST['action'] ) ? wp_unslash( sanitize_key( $_POST['action'] ) ) : ''; + $_POST['action'] = 'wp_handle_sideload'; + $overrides = []; + $overrides['mimes'] = $mimes; + $file = wp_handle_sideload( $_FILES['import'], $overrides ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash + + if ( isset( $file['error'] ) ) { + rocket_settings_import_redirect( __( 'Settings import failed: ', 'rocket' ) . $file['error'], 'error' ); + } + + $_POST['action'] = $_post_action; + $settings = rocket_direct_filesystem()->get_contents( $file['file'] ); + remove_filter( 'mime_types', 'rocket_allow_json_mime_type' ); + remove_filter( 'wp_check_filetype_and_ext', 'rocket_check_json_filetype', 10 ); + + if ( 'text/plain' === $file_data['type'] ) { + $gz = 'gz' . strrev( 'etalfni' ); + $settings = $gz( $settings ); + $settings = maybe_unserialize( $settings ); + } elseif ( 'application/json' === $file_data['type'] ) { + $settings = json_decode( $settings, true ); + + if ( null === $settings ) { + rocket_settings_import_redirect( __( 'Settings import failed: unexpected file content.', 'rocket' ), 'error' ); + } + } + + rocket_put_content( $file['file'], '' ); + rocket_direct_filesystem()->delete( $file['file'] ); + + if ( is_array( $settings ) ) { + $options_api = new WP_Rocket\Admin\Options( 'wp_rocket_' ); + $current_options = $options_api->get( 'settings', [] ); + + $settings['consumer_key'] = $current_options['consumer_key']; + $settings['consumer_email'] = $current_options['consumer_email']; + $settings['secret_key'] = $current_options['secret_key']; + $settings['secret_cache_key'] = $current_options['secret_cache_key']; + $settings['minify_css_key'] = $current_options['minify_css_key']; + $settings['minify_js_key'] = $current_options['minify_js_key']; + $settings['version'] = $current_options['version']; + if ( + isset( $settings['async_css'] ) && $settings['async_css'] && + isset( $settings['remove_unused_css'] ) && $settings['remove_unused_css'] + ) { + $settings['async_css'] = 0; + } + if ( ! empty( $settings['cache_webp'] ) && apply_filters( 'rocket_disable_webp_cache', false ) ) { + $settings['cache_webp'] = 0; + } + + $options_api->set( 'settings', $settings ); + + rocket_settings_import_redirect( __( 'Settings imported and saved.', 'rocket' ), 'updated' ); + } +} +add_action( 'admin_post_rocket_import_settings', 'rocket_handle_settings_import' ); diff --git a/inc/admin/options.php b/inc/admin/options.php new file mode 100644 index 0000000..dd80200 --- /dev/null +++ b/inc/admin/options.php @@ -0,0 +1,224 @@ + __( 'Excluded CSS Files', 'rocket' ), + 'exclude_inline_js' => __( 'Excluded Inline JavaScript', 'rocket' ), + 'exclude_js' => __( 'Excluded JavaScript Files', 'rocket' ), + 'exclude_defer_js' => __( 'Defer JavaScript Files', 'rocket' ), + 'delay_js_exclusions' => __( 'Excluded Delay JavaScript Files', 'rocket' ), + 'cache_reject_uri' => __( 'Never Cache URL(s)', 'rocket' ), + 'cache_reject_ua' => __( 'Never Cache User Agent(s)', 'rocket' ), + 'cache_purge_pages' => __( 'Always Purge URL(s)', 'rocket' ), + 'cdn_reject_files' => __( 'Exclude files from CDN', 'rocket' ), + ]; + + foreach ( $pattern_labels as $pattern_field => $label ) { + if ( empty( $newvalue[ $pattern_field ] ) ) { + // The field is empty. + continue; + } + + // Sanitize. + $newvalue[ $pattern_field ] = rocket_sanitize_textarea_field( $pattern_field, $newvalue[ $pattern_field ] ); + + // Validate. + $newvalue[ $pattern_field ] = array_filter( + $newvalue[ $pattern_field ], + function ( $excluded ) use ( $pattern_field, $label, $is_form_submit, &$errors ) { + if ( false === @preg_match( '#' . str_replace( '#', '\#', $excluded ) . '#', 'dummy-sample' ) && $is_form_submit ) { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + /* translators: 1 and 2 can be anything. */ + $errors[ $pattern_field ][] = sprintf( __( '%1$s: %2$s', 'rocket' ), $label, esc_html( $excluded ) ); + return false; + } + + return true; + } + ); + } + + if ( $errors ) { + $error_message = _n( 'The following pattern is invalid and has been removed:', 'The following patterns are invalid and have been removed:', array_sum( array_map( 'count', $errors ) ), 'rocket' ); + + $error_message .= '

    '; // close out default opening tags from WP's settings_errors(). + + foreach ( $errors as $error ) { + $error_message .= '
    • ' . implode( '
    • ', $error ) . '
    '; + } + + $error_message .= '

    '; // Re-open tags that WP's settings_errors() will close at end of notice box. + + $container = apply_filters( 'rocket_container', [] ); + $invalid_exclusions_beacon = $container->get( 'beacon' )->get_suggest( 'invalid_exclusions' ); + $error_message .= sprintf( + '%3$s', + $invalid_exclusions_beacon['url'], + $invalid_exclusions_beacon['id'], + __( 'More info', 'rocket' ) + ); + + $errors = []; + + $rocket_settings_errors[] = [ + 'setting' => 'general', + 'code' => 'invalid_patterns', + 'message' => __( 'WP Rocket: ', 'rocket' ) . $error_message, + 'type' => 'error', + ]; + } + + // Clear WP Rocket database optimize cron if the setting has been modified. + if ( ( isset( $newvalue['schedule_automatic_cleanup'], $oldvalue['schedule_automatic_cleanup'] ) && $newvalue['schedule_automatic_cleanup'] !== $oldvalue['schedule_automatic_cleanup'] ) || ( ( isset( $newvalue['automatic_cleanup_frequency'], $oldvalue['automatic_cleanup_frequency'] ) && $newvalue['automatic_cleanup_frequency'] !== $oldvalue['automatic_cleanup_frequency'] ) ) ) { + if ( wp_next_scheduled( 'rocket_database_optimization_time_event' ) ) { + wp_clear_scheduled_hook( 'rocket_database_optimization_time_event' ); + } + } + + // Regenerate the minify key if JS files have been modified. + // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual + if ( ( isset( $newvalue['minify_js'], $oldvalue['minify_js'] ) && $newvalue['minify_js'] != $oldvalue['minify_js'] ) + || ( isset( $newvalue['exclude_js'], $oldvalue['exclude_js'] ) && $newvalue['exclude_js'] !== $oldvalue['exclude_js'] ) + || ( isset( $oldvalue['cdn'] ) && ! isset( $newvalue['cdn'] ) || ! isset( $oldvalue['cdn'] ) && isset( $newvalue['cdn'] ) ) + ) { + $newvalue['minify_js_key'] = create_rocket_uniqid(); + } + + // Checked the SSL option if the whole website is on SSL. + if ( rocket_is_ssl_website() ) { + $newvalue['cache_ssl'] = 1; + } + + if ( 'local' === wp_get_environment_type() ) { + $newvalue['optimize_css_delivery'] = 0; + $newvalue['remove_unused_css'] = 0; + $newvalue['async_css'] = 0; + } + + if ( ! rocket_get_constant( 'WP_ROCKET_ADVANCED_CACHE' ) ) { + rocket_generate_advanced_cache_file(); + } + + $keys = get_transient( WP_ROCKET_SLUG ); + + if ( $keys ) { + delete_transient( WP_ROCKET_SLUG ); + $newvalue = array_merge( $newvalue, $keys ); + } + + if ( ! $rocket_settings_errors ) { + return $newvalue; + } + + $transient_errors = get_transient( 'settings_errors' ); + if ( ! $transient_errors || ! is_array( $transient_errors ) ) { + $transient_errors = []; + } + + $settings_errors = array_merge( $transient_errors, $rocket_settings_errors ); + + foreach ( $settings_errors as $error ) { + add_settings_error( $error['setting'], $error['code'], $error['message'], $error['type'] ); + } + + return $newvalue; +} + +add_filter( 'pre_update_option_' . rocket_get_constant( 'WP_ROCKET_SLUG' ), 'rocket_pre_main_option', 10, 2 ); + +/** + * Auto-activate the SSL cache if the website URL is updated with https protocol + * + * @since 2.7 + * + * @param array $old_value An array of previous options values. + * @param array $value An array of submitted options values. + */ +function rocket_update_ssl_option_after_save_home_url( $old_value, $value ) { + if ( $old_value === $value || get_rocket_option( 'cache_ssl' ) ) { + return; + } + + $scheme = rocket_extract_url_component( $value, PHP_URL_SCHEME ); + + update_rocket_option( 'cache_ssl', 'https' === $scheme ? 1 : 0 ); +} +add_action( 'update_option_home', 'rocket_update_ssl_option_after_save_home_url', 10, 2 ); diff --git a/inc/admin/ui/enqueue.php b/inc/admin/ui/enqueue.php new file mode 100644 index 0000000..38ca0ba --- /dev/null +++ b/inc/admin/ui/enqueue.php @@ -0,0 +1,97 @@ + wp_create_nonce( 'rocket-ajax' ), + 'origin_url' => untrailingslashit( rocket_get_constant( 'WP_ROCKET_WEB_MAIN' ) ), + ] + ) + ); + + if ( is_rtl() ) { + wp_enqueue_style( 'wpr-admin-rtl', WP_ROCKET_ASSETS_CSS_URL . 'wpr-admin-rtl' . $suffix . '.css', null, WP_ROCKET_VERSION ); + } +} +add_action( 'admin_print_styles-settings_page_' . WP_ROCKET_PLUGIN_SLUG, 'rocket_add_admin_css_js' ); + +/** + * Add the CSS and JS files needed by WP Rocket everywhere on admin pages + * + * @since 2.1 + */ +function rocket_add_admin_css_js_everywhere() { + wp_enqueue_script( 'wpr-admin-common', WP_ROCKET_ASSETS_JS_URL . 'wpr-admin-common.js', [ 'jquery' ], WP_ROCKET_VERSION, true ); + wp_enqueue_style( 'wpr-admin-common', WP_ROCKET_ASSETS_CSS_URL . 'wpr-admin-common.css', [], WP_ROCKET_VERSION ); +} +add_action( 'admin_enqueue_scripts', 'rocket_add_admin_css_js_everywhere', 11 ); + +/** + * Adds mixpanel JS code in header when analytics data should be sent + * + * @since 2.11 + * @author Remy Perona + */ +function rocket_add_mixpanel_code() { + if ( rocket_send_analytics_data() ) { + ?> + + true, + ], + 'objects' + ); + + /** + * Filters the post type on submitbox. + * + * @since 3.12.1 + * + * @param array $cpts Post Types. + */ + $cpts = apply_filters( 'rocket_submitbox_options_post_types', $cpts ); + + if ( isset( $cpts[ $post->post_type ] ) ) { + $url = wp_nonce_url( admin_url( 'admin-post.php?action=purge_cache&type=post-' . $post->ID ), 'purge_cache_post-' . $post->ID ); + printf( '

    ', esc_url( $url ), esc_html__( 'Clear cache', 'rocket' ) ); + } + } +} +add_action( 'post_submitbox_start', 'rocket_post_submitbox_start' ); diff --git a/inc/admin/ui/notices.php b/inc/admin/ui/notices.php new file mode 100644 index 0000000..136054f --- /dev/null +++ b/inc/admin/ui/notices.php @@ -0,0 +1,796 @@ +id ) { + return; + } + + $msgs = get_transient( $current_user->ID . '_donotdeactivaterocket' ); + if ( current_user_can( 'rocket_manage_options' ) && $msgs ) { + + delete_transient( $current_user->ID . '_donotdeactivaterocket' ); + $errors = []; + + foreach ( $msgs as $msg ) { + switch ( $msg ) { + case 'wpconfig': + $errors['wpconfig'] = '

    ' . sprintf( + // translators: %1$s WP Rocket plugin name; %2$s = file name. + __( + '%1$s has not been deactivated due to missing writing permissions.
    +Make %2$s writeable and retry deactivation, or force deactivation now:', + 'rocket' + ), + WP_ROCKET_PLUGIN_NAME, + 'wp-config.php' + ) . '

    '; + break; + + case 'htaccess': + $errors['htaccess'] = '

    ' . sprintf( + // translators: %1$s WP Rocket plugin name; %2$s = file name. + __( + '%1$s has not been deactivated due to missing writing permissions.
    +Make %2$s writeable and retry deactivation, or force deactivation now:', + 'rocket' + ), + WP_ROCKET_PLUGIN_NAME, + '.htaccess' + ) . '

    '; + break; + } + + /** + * Filter the output messages for each bad deactivation attempt. + * + * @since 2.0.0 + * + * @param array $errors Contains the error messages to be filtered + * @param string $msg Contains the error type (wpconfig or htaccess) + */ + $errors = apply_filters( 'rocket_bad_deactivations', $errors, $msg ); + + } + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => implode( '', $errors ), + 'action' => 'force_deactivation', + ] + ); + } +} +add_action( 'admin_notices', 'rocket_bad_deactivations' ); + +/** + * This warning is displayed to inform the user that a plugin de/activation can be followed by a cache clear + * + * @since 1.3.0 + */ +function rocket_warning_plugin_modification() { + if ( current_user_can( 'rocket_manage_options' ) && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'warning', + 'dismissible' => '', + // translators: %s is WP Rocket plugin name. + 'message' => sprintf( __( '%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site.', 'rocket' ), WP_ROCKET_PLUGIN_NAME ), + 'action' => 'clear_cache', + 'dismiss_button' => __FUNCTION__, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_warning_plugin_modification' ); + +/** + * This warning is displayed when some plugins may conflict with WP Rocket + * + * @since 1.3.0 + */ +function rocket_plugins_to_deactivate() { + $plugins = []; + $plugins_explanations = []; + + /** + * Filter the recommended plugins to deactivate to prevent conflicts + * + * @since 2.6.4 + * + * @param array $plugins List of recommended plugins to deactivate. + */ + $plugins = apply_filters( 'rocket_plugins_to_deactivate', $plugins ); + + /** + * Filter the recommended plugins to deactivate explanations + * + * @since 3.10.5 + * + * @param array $plugins List of recommended plugins to deactivate explanations. + */ + $plugins_explanations = apply_filters( 'rocket_plugins_to_deactivate_explanations', $plugins_explanations ); + + $plugins = array_filter( $plugins, 'is_plugin_active' ); + + if ( current_user_can( 'rocket_manage_options' ) + && count( $plugins ) + && rocket_valid_key() + ) { + + // translators: %s is WP Rocket plugin name. + $warning = '

    ' . sprintf( __( '%s: The following plugins are not compatible with this plugin and may cause unexpected results:', 'rocket' ), WP_ROCKET_PLUGIN_NAME ) . '

    '; + + $warning .= '
      '; + + foreach ( $plugins as $k => $plugin ) { + $plugin_data = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin ); + $warning .= '
    • ' . $plugin_data['Name'] . '' . ( isset( $plugins_explanations[ $k ] ) ? ' - ' . $plugins_explanations[ $k ] : '' ) . ' ' . __( 'Deactivate', 'rocket' ) . '
    • '; + } + + $warning .= '
    '; + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $warning, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_plugins_to_deactivate' ); + +/** + * Displays a warning if Rocket Footer JS plugin is active + * + * @since 3.2.3 + * @author Remy Perona + * + * @return void + */ +function rocket_warning_footer_js_plugin() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + if ( ! is_plugin_active( 'rocket-footer-js/rocket-footer-js.php' ) ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'warning', + 'message' => __( 'WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems.', 'rocket' ), + 'dismiss_button' => true, + ] + ); +} +add_action( 'admin_notices', 'rocket_warning_footer_js_plugin' ); + +/** + * Display a warning if Endurance Cache is not disabled + * + * @since 3.3.7 + * @author Remy Perona + * + * @return void + */ +function rocket_warning_endurance_cache() { + $screen = get_current_screen(); + + // This filter is documented in inc/admin-bar.php. + if ( ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + if ( ! class_exists( 'Endurance_Page_Cache' ) ) { + return; + } + + if ( 0 === (int) get_option( 'endurance_cache_level' ) ) { + return; + } + + rocket_notice_html( + [ + 'status' => 'error', + 'message' => sprintf( + // translators: %1$s = opening link tag, %2$s = closing link tag. + __( 'Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues.', 'rocket' ), + '', + '' + ), + ] + ); +} +add_action( 'admin_notices', 'rocket_warning_endurance_cache' ); + +/** + * This warning is displayed when there is no permalink structure in the configuration. + * + * @since 1.0 + */ +function rocket_warning_using_permalinks() { + if ( current_user_can( 'rocket_manage_options' ) + && ! $GLOBALS['wp_rewrite']->using_permalinks() + && rocket_valid_key() + ) { + $message = sprintf( + /* translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = closing link */ + __( '%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s', 'rocket' ), + '' . WP_ROCKET_PLUGIN_NAME . '', + '', + '' + ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_warning_using_permalinks' ); + +/** + * This warning is displayed when the .htaccess file doesn't exist or isn't writeable + * + * @since 1.0 + */ +function rocket_warning_htaccess_permissions() { + global $is_apache; + $htaccess_file = get_home_path() . '.htaccess'; + + if ( ! current_user_can( 'rocket_manage_options' ) + || ( rocket_direct_filesystem()->is_writable( $htaccess_file ) ) + || ! $is_apache + // This filter is documented in inc/functions/htaccess.php. + || apply_filters( 'rocket_disable_htaccess', false ) + || ! rocket_valid_key() ) { + return; + } + + if ( rocket_check_htaccess_rules() ) { + return; + } + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = sprintf( + // translators: %s = plugin name. + __( '%s could not modify the .htaccess file due to missing writing permissions.', 'rocket' ), + '' . WP_ROCKET_PLUGIN_NAME . '' + ); + + $message .= '
    ' . sprintf( + /* translators: This is a doc title! %1$s = opening link; %2$s = closing link */ + __( 'Troubleshoot: %1$sHow to make system files writeable%2$s', 'rocket' ), + /* translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL if applicable */ + '', + '' + ); + + add_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 42 ); + + $message .= '

    ' . __( 'Don’t worry, WP Rocket’s page caching and settings will still function correctly.', 'rocket' ) . '
    ' . __( 'For optimal performance, adding the following lines into your .htaccess is recommended (not required):', 'rocket' ) . '

    '; + + remove_filter( 'rocket_htaccess_mod_rewrite', '__return_false', 42 ); + + rocket_notice_html( + [ + 'status' => 'warning', + 'dismissible' => '', + 'message' => $message, + 'dismiss_button' => __FUNCTION__, + ] + ); +} +add_action( 'admin_notices', 'rocket_warning_htaccess_permissions' ); + +/** + * This warning is displayed when the config dir isn't writeable + * + * @since 2.0.2 + */ +function rocket_warning_config_dir_permissions() { + if ( current_user_can( 'rocket_manage_options' ) + && ( ! rocket_direct_filesystem()->is_writable( WP_ROCKET_CONFIG_PATH ) ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( trim( str_replace( ABSPATH, '', WP_ROCKET_CONFIG_PATH ), '/' ) ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + + } +} +add_action( 'admin_notices', 'rocket_warning_config_dir_permissions' ); + +/** + * This warning is displayed when the cache dir isn't writeable + * + * @since 1.0 + */ +function rocket_warning_cache_dir_permissions() { + if ( current_user_can( 'rocket_manage_options' ) + && ( ! rocket_direct_filesystem()->is_writable( WP_ROCKET_CACHE_PATH ) ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( trim( str_replace( ABSPATH, '', WP_ROCKET_CACHE_PATH ), '/' ) ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_warning_cache_dir_permissions' ); + +/** + * This warning is displayed when the minify cache dir isn't writeable + * + * @since 2.1 + */ +function rocket_warning_minify_cache_dir_permissions() { + if ( current_user_can( 'rocket_manage_options' ) + && ( ! rocket_direct_filesystem()->is_writable( WP_ROCKET_MINIFY_CACHE_PATH ) ) + && ( get_rocket_option( 'minify_css', false ) || get_rocket_option( 'minify_js', false ) ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( trim( str_replace( ABSPATH, '', WP_ROCKET_MINIFY_CACHE_PATH ), '/' ) ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_warning_minify_cache_dir_permissions' ); + +/** + * This warning is displayed when the busting cache dir isn't writeable + * + * @since 2.9 + */ +function rocket_warning_busting_cache_dir_permissions() { + if ( current_user_can( 'rocket_manage_options' ) + && ( ! rocket_direct_filesystem()->is_writable( WP_ROCKET_CACHE_BUSTING_PATH ) ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( trim( str_replace( ABSPATH, '', WP_ROCKET_CACHE_BUSTING_PATH ), '/' ) ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } +} +add_action( 'admin_notices', 'rocket_warning_busting_cache_dir_permissions' ); + +/** + * Confirming notice when the site has been added + * + * @since 2.2 + */ +function rocket_thank_you_license() { + if ( '1' === get_rocket_option( 'license' ) ) { + $options = get_option( WP_ROCKET_SLUG ); + $options['license'] = time(); + $options['ignore'] = true; + update_option( WP_ROCKET_SLUG, $options ); + + $message = sprintf( + /* translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = closing link */ + __( '%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s.', 'rocket' ), + '' . WP_ROCKET_PLUGIN_NAME . '', + '', + '', + '' + ); + + rocket_notice_html( [ 'message' => $message ] ); + } +} +add_action( 'admin_notices', 'rocket_thank_you_license' ); + +/** + * Displays a notice for analytics opt-in + * + * @since 2.11 + * @author Remy Perona + */ +function rocket_analytics_optin_notice() { + + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + if ( 1 === (int) get_option( 'rocket_analytics_notice_displayed' ) ) { + return; + } + + if ( get_rocket_option( 'analytics_enabled' ) ) { + return; + } + + $analytics_notice = sprintf( + // Opening

    provided by rocket_notice_html(). + '%1$s
    %2$s

    ', + __( 'Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?', 'rocket' ), + __( 'This would help us to improve WP Rocket for you in the future.', 'rocket' ) + ); + + $analytics_notice .= sprintf( + '

    ', + /* translators: button text, click will expand data collection preview */ + __( 'What info will we collect?', 'rocket' ) + ); + + $analytics_notice .= sprintf( + '

    %1$s

    %2$s
    ', + __( 'Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys.', 'rocket' ), + rocket_data_collection_preview_table() + ); + + $analytics_notice .= sprintf( + '

    %2$s %4$s', + // Closing

    provided by rocket_notice_html(). + wp_nonce_url( admin_url( 'admin-post.php?action=rocket_analytics_optin&value=yes' ), 'analytics_optin' ), + /* translators: button text for data collection opt-in */ + __( 'Yes, allow', 'rocket' ), + wp_nonce_url( admin_url( 'admin-post.php?action=rocket_analytics_optin&value=no' ), 'analytics_optin' ), + /* translators: button text for data collection opt-in */ + __( 'No, thanks', 'rocket' ) + ); + + // Status should be as neutral as possible; nothing has happened yet. + rocket_notice_html( + [ + 'status' => 'info', + 'message' => $analytics_notice, + ] + ); +} +add_action( 'admin_notices', 'rocket_analytics_optin_notice' ); + +/** + * Displays a notice after analytics opt-in + * + * @since 2.11 + * @author Remy Perona + */ +function rocket_analytics_optin_thankyou_notice() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $analytics_optin = get_transient( 'rocket_analytics_optin' ); + + if ( ! $analytics_optin ) { + return; + } + + $thankyou_message = sprintf( + // Opening

    provided by rocket_notice_html(). + '%s

    ', + __( 'Thank you!', 'rocket' ) + ); + + $thankyou_message .= sprintf( + '

    %1$s

    %2$s
    ', + __( 'WP Rocket now collects these metrics from your website:', 'rocket' ), + rocket_data_collection_preview_table() + ); + + // Closing

    provided by rocket_notice_html(). + $thankyou_message .= '

    '; + + rocket_notice_html( + [ + 'message' => $thankyou_message, + ] + ); + + delete_transient( 'rocket_analytics_optin' ); +} +add_action( 'admin_notices', 'rocket_analytics_optin_thankyou_notice' ); + +/** + * Displays a notice after clearing the cache + * + * @since 2.11 + * @author Remy Perona + */ +function rocket_clear_cache_notice() { + $cleared_cache = get_transient( 'rocket_clear_cache' ); + + if ( ! $cleared_cache ) { + return; + } + + delete_transient( 'rocket_clear_cache' ); + + $notice = ''; + + switch ( $cleared_cache ) { + case 'all': + if ( current_user_can( 'rocket_purge_cache' ) ) { + // translators: %s = plugin name. + $notice = sprintf( __( '%s: Cache cleared.', 'rocket' ), '' . WP_ROCKET_PLUGIN_NAME . '' ); + $notice .= ' (' . date_i18n( get_option( 'date_format' ) ) . ' @ ' . date_i18n( get_option( 'time_format' ) ) . ') '; + } + break; + case 'post': + if ( current_user_can( 'rocket_purge_posts' ) ) { + // translators: %s = plugin name. + $notice = sprintf( __( '%s: Post cache cleared.', 'rocket' ), '' . WP_ROCKET_PLUGIN_NAME . '' ); + $notice .= ' (' . date_i18n( get_option( 'date_format' ) ) . ' @ ' . date_i18n( get_option( 'time_format' ) ) . ') '; + } + break; + case 'term': + if ( current_user_can( 'rocket_purge_terms' ) ) { + // translators: %s = plugin name. + $notice = sprintf( __( '%s: Term cache cleared.', 'rocket' ), '' . WP_ROCKET_PLUGIN_NAME . '' ); + $notice .= ' (' . date_i18n( get_option( 'date_format' ) ) . ' @ ' . date_i18n( get_option( 'time_format' ) ) . ') '; + } + break; + case 'user': + if ( current_user_can( 'rocket_purge_users' ) ) { + // translators: %s = plugin name). + $notice = sprintf( __( '%s: User cache cleared.', 'rocket' ), '' . WP_ROCKET_PLUGIN_NAME . '' ); + $notice .= ' (' . date_i18n( get_option( 'date_format' ) ) . ' @ ' . date_i18n( get_option( 'time_format' ) ) . ') '; + } + break; + default: + break; + } + + if ( empty( $notice ) ) { + return; + } + + rocket_notice_html( + [ + 'message' => $notice, + ] + ); +} +add_action( 'admin_notices', 'rocket_clear_cache_notice' ); + +/** + * Outputs notice HTML + * + * @since 2.11 + * @author Remy Perona + * + * @param array $args An array of arguments used to determine the notice output. + * @return void + */ +function rocket_notice_html( $args ) { + $defaults = [ + 'status' => 'success', + 'dismissible' => 'is-dismissible', + 'message' => '', + 'action' => '', + 'dismiss_button' => false, + 'dismiss_button_message' => __( 'Dismiss this notice', 'rocket' ), + 'readonly_content' => '', + 'id' => '', + ]; + + $args = wp_parse_args( $args, $defaults ); + + switch ( $args['action'] ) { + case 'clear_cache': + $args['action'] = '' . __( 'Clear cache', 'rocket' ) . ''; + break; + case 'clear_used_css': + $params = [ + 'action' => 'rocket_clear_usedcss', + ]; + + if ( ! empty( $_SERVER['REQUEST_URI'] ) ) { + $referer_url = filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ), FILTER_SANITIZE_URL ); + $params['_wp_http_referer'] = rawurlencode( $referer_url ); + } + $args['action'] = '' . __( 'Clear Used CSS', 'rocket' ) . ''; + break; + case 'stop_preload': + $args['action'] = '' . __( 'Stop Preload', 'rocket' ) . ''; + break; + case 'switch_to_rucss': + $params = [ + 'action' => 'switch_to_rucss', + ]; + $args['action'] = '' . __( 'Turn on Remove Unused CSS', 'rocket' ) . ''; + break; + case 'enable_separate_mobile_cache': + $params = [ + 'action' => 'rocket_enable_separate_mobile_cache', + ]; + $args['action'] = '' . __( 'Enable “Separate Cache Files for Mobile Devices” now', 'rocket' ) . ''; + break; + case 'force_deactivation': + /** + * Allow a "force deactivation" link to be printed, use at your own risks + * + * @since 2.0.0 + * + * @param bool $permit_force_deactivation true will print the link. + */ + $permit_force_deactivation = apply_filters( 'rocket_permit_force_deactivation', true ); + + // We add a link to permit "force deactivation", use at your own risks. + if ( $permit_force_deactivation ) { + global $status, $page, $s; + $plugin_file = 'wp-rocket/wp-rocket.php'; + $rocket_nonce = wp_create_nonce( 'force_deactivation' ); + + $args['action'] = '' . __( 'Force deactivation ', 'rocket' ) . ''; + } + break; + } + /** + * Notice arguments. + * + * @param array $args arguments from the notice. + * @return array + */ + $filtered_args = apply_filters( 'rocket_notice_args', $args ); + + if ( is_array( $filtered_args ) ) { + $args = wp_parse_args( $filtered_args, $defaults ); + } + + $notice_id = ''; + + if ( ! empty( $args['id'] ) ) { + $notice_id = ' id="' . esc_attr( $args['id'] ) . '"'; + } + + ?> +

    > + ' : '' ) . $args['message'] . ( $tag ? '

    ' : '' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + ?> + +

    +
    +

    + +

    + + + + +

    + +
    + ' . WP_ROCKET_PLUGIN_NAME . '
    ' + ); + + $message .= '
    ' . sprintf( + /* translators: %s = file/folder name */ + __( 'Affected file/folder: %s', 'rocket' ), + '' . $file . '' + ); + + $message .= '
    ' . sprintf( + /* translators: This is a doc title! %1$s = opening link; %2$s = closing link */ + __( 'Troubleshoot: %1$sHow to make system files writeable%2$s', 'rocket' ), + /* translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL if applicable */ + '', + '' + ); + + return $message; +} + diff --git a/inc/admin/upgrader.php b/inc/admin/upgrader.php new file mode 100644 index 0000000..e94461c --- /dev/null +++ b/inc/admin/upgrader.php @@ -0,0 +1,315 @@ + $secret_cache_key, + 'cache_mobile' => 1, + 'do_caching_mobile_files' => 0, + 'cache_webp' => 0, + 'cache_logged_user' => 0, + 'cache_ssl' => 1, + 'emoji' => 1, + 'cache_reject_uri' => [], + 'cache_reject_cookies' => [], + 'cache_reject_ua' => [], + 'cache_query_strings' => [], + 'cache_purge_pages' => [], + 'purge_cron_interval' => 10, + 'purge_cron_unit' => 'HOUR_IN_SECONDS', + 'exclude_css' => [], + 'exclude_js' => [], + 'exclude_inline_js' => [], + 'defer_all_js' => 0, + 'async_css' => 0, + 'critical_css' => '', + 'lazyload' => 0, + 'lazyload_iframes' => 0, + 'lazyload_youtube' => 0, + 'minify_css' => 0, + 'minify_css_key' => $minify_css_key, + 'minify_js' => 0, + 'minify_js_key' => $minify_js_key, + 'minify_concatenate_js' => 0, + 'minify_google_fonts' => 1, + 'manual_preload' => 1, + 'dns_prefetch' => 0, + 'preload_fonts' => [], + 'database_revisions' => 0, + 'database_auto_drafts' => 0, + 'database_trashed_posts' => 0, + 'database_spam_comments' => 0, + 'database_trashed_comments' => 0, + 'database_all_transients' => 0, + 'database_optimize_tables' => 0, + 'schedule_automatic_cleanup' => 0, + 'automatic_cleanup_frequency' => 'daily', + 'cdn' => 0, + 'cdn_cnames' => [], + 'cdn_zone' => [], + 'cdn_reject_files' => [], + 'do_cloudflare' => 0, + 'cloudflare_email' => '', + 'cloudflare_api_key' => '', + 'cloudflare_zone_id' => '', + 'cloudflare_devmode' => 0, + 'cloudflare_protocol_rewrite' => 0, + 'cloudflare_auto_settings' => 0, + 'cloudflare_old_settings' => '', + 'control_heartbeat' => 1, + 'heartbeat_site_behavior' => 'reduce_periodicity', + 'heartbeat_admin_behavior' => 'reduce_periodicity', + 'heartbeat_editor_behavior' => 'reduce_periodicity', + 'varnish_auto_purge' => 0, + 'analytics_enabled' => 0, + 'sucury_waf_cache_sync' => 0, + 'sucury_waf_api_key' => '', + ] + ) + ); + rocket_dismiss_box( 'rocket_warning_plugin_modification' ); +} +add_action( 'wp_rocket_first_install', 'rocket_first_install' ); + +/** + * What to do when Rocket is updated, depending on versions + * + * @since 1.0 + * + * @param string $wp_rocket_version Latest WP Rocket version. + * @param string $actual_version Installed WP Rocket version. + */ +function rocket_new_upgrade( $wp_rocket_version, $actual_version ) { + if ( version_compare( $actual_version, '2.4.1', '<' ) ) { + delete_transient( 'rocket_ask_for_update' ); + } + + if ( version_compare( $actual_version, '2.8', '<' ) ) { + $options = get_option( WP_ROCKET_SLUG ); + $options['manual_preload'] = 1; + $options['automatic_preload'] = 1; + $options['sitemap_preload_url_crawl'] = '500000'; + + update_option( WP_ROCKET_SLUG, $options ); + } + + // Deactivate CloudFlare completely if PHP Version is lower than 5.4. + if ( version_compare( $actual_version, '2.8.16', '<' ) ) { + $options = get_option( WP_ROCKET_SLUG ); + $options['do_cloudflare'] = 0; + $options['cloudflare_email'] = ''; + $options['cloudflare_api_key'] = ''; + $options['cloudflare_devmode'] = 0; + $options['cloudflare_protocol_rewrite'] = 0; + $options['cloudflare_auto_settings'] = 0; + $options['cloudflare_old_settings'] = ''; + + update_option( WP_ROCKET_SLUG, $options ); + } + + // Disable minification options if they're active in Autoptimize. + if ( version_compare( $actual_version, '2.9.5', '<' ) ) { + if ( is_plugin_active( 'autoptimize/autoptimize.php' ) ) { + if ( 'on' === get_option( 'autoptimize_css' ) ) { + update_rocket_option( 'minify_css', 0 ); + } + + if ( 'on' === get_option( 'autoptimize_js' ) ) { + update_rocket_option( 'minify_js', 0 ); + } + } + } + + // Delete old transients. + if ( version_compare( $actual_version, '2.9.7', '<' ) ) { + delete_transient( 'rocket_check_licence_30' ); + delete_transient( 'rocket_check_licence_1' ); + } + + if ( version_compare( $actual_version, '2.11', '<' ) ) { + rocket_clean_minify(); + } + + if ( version_compare( $actual_version, '3.2', '<' ) ) { + // Default Heartbeat settings. + $options = get_option( WP_ROCKET_SLUG, [] ); + $options['heartbeat_site_behavior'] = 'reduce_periodicity'; + $options['heartbeat_admin_behavior'] = 'reduce_periodicity'; + $options['heartbeat_editor_behavior'] = 'reduce_periodicity'; + + if ( ! empty( $options['automatic_preload'] ) || ! empty( $options['sitemap_preload'] ) ) { + $options['manual_preload'] = 1; + } + + update_option( WP_ROCKET_SLUG, $options ); + rocket_generate_config_file(); + + // Create a .htaccess file in the log folder. + $handler = Logger::get_stream_handler(); + + if ( method_exists( $handler, 'create_htaccess_file' ) ) { + try { + $success = $handler->create_htaccess_file(); + } catch ( \Exception $e ) { + $success = false; + } + + if ( ! $success ) { + Logger::delete_log_file(); + } + } + } + + if ( version_compare( $actual_version, '3.2.0.1', '<' ) ) { + wp_safe_remote_get( esc_url( home_url() ) ); + } + + if ( version_compare( $actual_version, '3.12.6', '<' ) ) { + do_action( 'rocket_preload_unlock_all_urls' ); + } + + if ( version_compare( $actual_version, '3.3.6', '<' ) ) { + delete_site_transient( 'update_wprocket' ); + delete_site_transient( 'update_wprocket_response' ); + + if ( get_rocket_option( 'do_cloudflare' ) && get_rocket_option( 'cloudflare_auto_settings' ) ) { + if ( function_exists( 'set_rocket_cloudflare_browser_cache_ttl' ) ) { + set_rocket_cloudflare_browser_cache_ttl( '31536000' ); + } + } + } + + if ( rocket_is_ssl_website() ) { + if ( 1 !== (int) get_rocket_option( 'cache_ssl' ) ) { + update_rocket_option( 'cache_ssl', 1 ); + rocket_generate_config_file(); + } + } + + if ( version_compare( $actual_version, '3.4', '<' ) ) { + wp_clear_scheduled_hook( 'rocket_purge_time_event' ); + } + + if ( version_compare( $actual_version, '3.6', '<' ) ) { + rocket_clean_cache_busting(); + rocket_clean_domain(); + } + + if ( version_compare( $actual_version, '3.7', '<' ) ) { + rocket_clean_minify( 'css' ); + rocket_generate_advanced_cache_file(); + } + + if ( version_compare( $actual_version, '3.8.1', '<' ) ) { + $options = get_option( rocket_get_constant( 'WP_ROCKET_SLUG' ) ); + unset( $options['dequeue_jquery_migrate'] ); + update_option( rocket_get_constant( 'WP_ROCKET_SLUG' ), $options ); + } + + if ( version_compare( $actual_version, '3.9', '<' ) ) { + $busting_path = rocket_get_constant( 'WP_ROCKET_CACHE_BUSTING_PATH' ); + + rocket_rrmdir( $busting_path . 'facebook-tracking' ); + rocket_rrmdir( $busting_path . 'google-tracking' ); + wp_clear_scheduled_hook( 'rocket_facebook_tracking_cache_update' ); + wp_clear_scheduled_hook( 'rocket_google_tracking_cache_update' ); + } + + if ( version_compare( $actual_version, '3.10', '<' ) ) { + $options = get_option( rocket_get_constant( 'WP_ROCKET_SLUG' ) ); + if ( + isset( $options['async_css'] ) && $options['async_css'] && + isset( $options['remove_unused_css'] ) && $options['remove_unused_css'] + ) { + $options['async_css'] = 0; + $cache_path = rocket_get_constant( 'WP_ROCKET_CACHE_ROOT_PATH' ); + rocket_rrmdir( $cache_path . 'used-css' ); + update_option( rocket_get_constant( 'WP_ROCKET_SLUG' ), $options ); + } + } + + if ( version_compare( $actual_version, '3.11.1', '<' ) ) { + rocket_generate_config_file(); + } + + if ( version_compare( $actual_version, '3.12.4', '<' ) ) { + delete_transient( 'wp_rocket_pricing' ); + } +} +add_action( 'wp_rocket_upgrade', 'rocket_new_upgrade', 10, 2 ); diff --git a/inc/classes/Buffer/class-abstract-buffer.php b/inc/classes/Buffer/class-abstract-buffer.php new file mode 100644 index 0000000..0068ca9 --- /dev/null +++ b/inc/classes/Buffer/class-abstract-buffer.php @@ -0,0 +1,160 @@ +tests = $tests; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PROCESS ================================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Launch the process if the tests succeed. + * This should be the first thing to use after initializing the class. + * + * @since 3.3 + * @access public + * @see $this->tests->can_init_process() + * @author Grégory Viguier + */ + abstract public function maybe_init_process(); + + /** + * Process the page buffer if the 2nd set of tests succeed. + * It should be used like this: + * ob_start( [ $this, 'maybe_process_buffer' ] ); + * + * @since 3.3 + * @access public + * @see $this->tests->can_process_buffer() + * @author Grégory Viguier + * + * @param string $buffer The buffer content. + * @return string The buffered content + */ + abstract public function maybe_process_buffer( $buffer ); + + /** ----------------------------------------------------------------------------------------- */ + /** LOG ===================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Log the last test "error". + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + */ + protected function log_last_test_error() { + $error = $this->tests->get_last_error(); + + $this->log( $error['message'], $error['data'] ); + } + + /** + * Log events. + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + * + * @param string $message A message to log. + * @param array $data Related data. + * @param string $type Event type to log. Possible values are 'info', 'error', and 'debug' (default). + */ + protected function log( $message, $data = [], $type = 'debug' ) { + $data = array_merge( + [ + $this->get_process_id(), + 'request_uri' => $this->tests->get_raw_request_uri(), + ], + $data + ); + + if ( isset( $data['cookies'] ) ) { + $data['cookies'] = Logger::remove_auth_cookies( $data['cookies'] ); + } + + switch ( $type ) { + case 'info': + Logger::info( $message, $data ); + break; + case 'error': + Logger::error( $message, $data ); + break; + default: + Logger::debug( $message, $data ); + } + } + + /** + * Get the process identifier. + * + * @since 3.3 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_process_id() { + return $this->process_id . ' - Thread #' . Logger::get_thread_id(); + } + + /** ----------------------------------------------------------------------------------------- */ + /** VARIOUS TOOLS =========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if the page content is HTML. + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + * + * @param string $buffer The buffer content. + * @return bool + */ + protected function is_html( $buffer ) { + return preg_match( '/<\/html>/i', $buffer ); + } +} diff --git a/inc/classes/Buffer/class-cache.php b/inc/classes/Buffer/class-cache.php new file mode 100644 index 0000000..d4b63b7 --- /dev/null +++ b/inc/classes/Buffer/class-cache.php @@ -0,0 +1,802 @@ +config = $config; + $this->cache_dir_path = rtrim( $args['cache_dir_path'], '/' ) . '/'; + + parent::__construct( $tests ); + + $this->log( 'CACHING PROCESS STARTED.', [], 'info' ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** CACHE =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Serve the cache file if it exists. If not, init the buffer. + * + * @since 3.3 + */ + public function maybe_init_process() { + if ( ! $this->tests->can_init_process() ) { + $this->define_donotoptimize_true(); + $this->log_last_test_error(); + return; + } + + if ( $this->maybe_allow_wp_redirect() ) { + return; + } + + /** + * Serve the cache file if it exists. + */ + $cache_filepath = $this->get_cache_path(); + + $this->log( + 'Looking for cache file.', + [ + 'path' => $cache_filepath, + ] + ); + + $cache_filepath_gzip = $cache_filepath . '_gzip'; + $accept_encoding = $this->config->get_server_input( 'HTTP_ACCEPT_ENCODING' ); + $accept_gzip = $accept_encoding && false !== strpos( $accept_encoding, 'gzip' ); + + // Check if cache file exist. + if ( $accept_gzip && is_readable( $cache_filepath_gzip ) ) { + $this->serve_gzip_cache_file( $cache_filepath_gzip ); + } + + if ( is_readable( $cache_filepath ) ) { + $this->serve_cache_file( $cache_filepath ); + } + + // Maybe we're looking for a webp file. + $cache_filename = basename( $cache_filepath ); + + if ( strpos( $cache_filename, '-webp' ) !== false ) { + // We're looking for a webp file that doesn't exist: try to locate any `.no-webp` file. + $cache_dir_path = rtrim( dirname( $cache_filepath ), '/\\' ) . DIRECTORY_SEPARATOR; + + if ( file_exists( $cache_dir_path . '.no-webp' ) ) { + // We have a `.no-webp` file: try to deliver a non-webp cache file. + $cache_filepath = $cache_dir_path . str_replace( '-webp', '', $cache_filename ); + $cache_filepath_gzip = $cache_filepath . '_gzip'; + + $this->log( + 'Looking for non-webp cache file.', + [ + 'path' => $cache_filepath, + ] + ); + + // Try to deliver the non-webp version instead. + if ( $accept_gzip && is_readable( $cache_filepath_gzip ) ) { + $this->serve_gzip_cache_file( $cache_filepath_gzip ); + } + + if ( is_readable( $cache_filepath ) ) { + $this->serve_cache_file( $cache_filepath ); + } + } + } + + /** + * No cache file yet: launch caching process. + */ + $this->log( + 'Start buffer.', + [ + 'path' => $cache_filepath, + ] + ); + + ob_start( [ $this, 'maybe_process_buffer' ] ); + } + + /** + * Serve a cache file. + * + * @since 3.3 + * + * @param string $cache_filepath Path to the cache file. + */ + private function serve_cache_file( $cache_filepath ) { + header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s', filemtime( $cache_filepath ) ) . ' GMT' ); + + $if_modified_since = $this->get_if_modified_since(); + + // Checking if the client is validating his cache and if it is current. + if ( $if_modified_since && ( strtotime( $if_modified_since ) === @filemtime( $cache_filepath ) ) ) { + // Client's cache is current, so we just respond '304 Not Modified'. + header( $this->config->get_server_input( 'SERVER_PROTOCOL', '' ) . ' 304 Not Modified', true, 304 ); + header( 'Expires: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); + header( 'Cache-Control: no-cache, must-revalidate' ); + + $this->log( + 'Serving `304` cache file.', + [ + 'path' => $cache_filepath, + 'modified' => $if_modified_since, + ], + 'info' + ); + exit; + } + + // Serve the cache if file isn't store in the client browser cache. + readfile( $cache_filepath ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_readfile + + $this->log( + 'Serving cache file.', + [ + 'path' => $cache_filepath, + 'modified' => $if_modified_since, + ], + 'info' + ); + exit; + } + + /** + * Serve a gzipped cache file. + * + * @since 3.3 + * + * @param string $cache_filepath Path to the gzip cache file. + */ + private function serve_gzip_cache_file( $cache_filepath ) { + header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s', filemtime( $cache_filepath ) ) . ' GMT' ); + + $if_modified_since = $this->get_if_modified_since(); + + // Checking if the client is validating his cache and if it is current. + if ( $if_modified_since && ( strtotime( $if_modified_since ) === @filemtime( $cache_filepath ) ) ) { + // Client's cache is current, so we just respond '304 Not Modified'. + header( $this->config->get_server_input( 'SERVER_PROTOCOL', '' ) . ' 304 Not Modified', true, 304 ); + header( 'Expires: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); + header( 'Cache-Control: no-cache, must-revalidate' ); + + $this->log( + 'Serving `304` gzip cache file.', + [ + 'path' => $cache_filepath, + 'modified' => $if_modified_since, + ], + 'info' + ); + exit; + } + + // Serve the cache if file isn't store in the client browser cache. + readgzfile( $cache_filepath ); + + $this->log( + 'Serving gzip cache file.', + [ + 'path' => $cache_filepath, + 'modified' => $if_modified_since, + ], + 'info' + ); + exit; + } + + /** + * Maybe cache the page content. + * + * @since 3.3 + * + * @param string $buffer The buffer content. + * @return string The buffered content. + */ + public function maybe_process_buffer( $buffer ) { + if ( ! $this->tests->can_process_buffer( $buffer ) ) { + $this->log_last_test_error(); + return $buffer; + } + + $footprint = ''; + $is_html = $this->is_html( $buffer ); + + if ( ! static::can_generate_caching_files() ) { + // Not allowed to generate cache files. + if ( $is_html ) { + $footprint = $this->get_rocket_footprint(); + } + + $this->log( + 'Page not cached by filter.', + [ + 'filter' => 'do_rocket_generate_caching_files', + ] + ); + return $buffer . $footprint; + } + + $webp_enabled = preg_match( '@@', $buffer, $webp_tag ); + $has_webp = ! empty( $webp_tag ) ? 'has' === $webp_tag[1] : false; + $cache_filepath = $this->get_cache_path( [ 'webp' => $has_webp ] ); + $cache_dir_path = dirname( $cache_filepath ); + + // Create cache folders. + rocket_mkdir_p( $cache_dir_path ); + + if ( $is_html ) { + $footprint = $this->get_rocket_footprint( time() ); + } + + // Webp request. + if ( $webp_enabled ) { + $buffer = str_replace( $webp_tag[0], '', $buffer ); + + if ( ! $has_webp ) { + // The buffer doesn’t contain webp files. + $cache_dir_path = rtrim( dirname( $cache_filepath ), '/\\' ); + + $this->maybe_create_nowebp_file( $cache_dir_path ); + } + } + + $this->write_cache_file( $cache_filepath, $buffer . $footprint ); + $this->maybe_create_nginx_mobile_file( $cache_dir_path ); + + // Send headers with the last modified time of the cache file. + if ( file_exists( $cache_filepath ) ) { + header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s', filemtime( $cache_filepath ) ) . ' GMT' ); + } + + if ( $is_html ) { + $footprint = $this->get_rocket_footprint(); + } + + $this->log( + 'Page cached.', + [ + 'path' => $cache_filepath, + ], + 'info' + ); + + return $buffer . $footprint; + } + + /** + * Writes the cache file(s) + * + * @since 3.5 + * + * @param string $cache_filepath Absolute path to the cache file. + * @param string $content Content to write in the cache file. + * @return void + */ + private function write_cache_file( $cache_filepath, $content ) { + $gzip_filepath = $cache_filepath . '_gzip'; + $temp_filepath = $cache_filepath . '_temp'; + $temp_gzip_filepath = $gzip_filepath . '_temp'; + + if ( rocket_direct_filesystem()->exists( $temp_filepath ) ) { + return; + } + + // Save the cache file. + if ( ! rocket_put_content( $temp_filepath, $content ) ) { + return; + } + + rocket_direct_filesystem()->move( $temp_filepath, $cache_filepath, true ); + + if ( function_exists( 'gzencode' ) ) { + /** + * Filters the Gzip compression level to use for the cache file + * + * @param int $compression_level Compression level between 0 and 9. + */ + $compression_level = apply_filters( 'rocket_gzencode_level_compression', 6 ); + + if ( ! rocket_put_content( $temp_gzip_filepath, gzencode( $content, $compression_level ) ) ) { + return; + } + + rocket_direct_filesystem()->move( $temp_gzip_filepath, $gzip_filepath, true ); + } + } + + /** + * Get the path to the cache file. + * + * @since 3.3 + * + * @param array $args { + * A list of arguments. + * + * @type bool $webp Set to false to prevent adding the part related to webp. + * } + * @return string + */ + public function get_cache_path( $args = [] ) { + $args = array_merge( + [ + 'webp' => true, + ], + $args + ); + $cookies = $this->tests->get_cookies(); + $request_uri_path = $this->get_request_cache_path( $cookies ); + $filename = 'index'; + + $filename = $this->maybe_mobile_filename( $filename ); + + // Rename the caching filename for SSL URLs. + if ( is_ssl() && $this->config->get_config( 'cache_ssl' ) ) { + $filename .= '-https'; + } + + if ( $args['webp'] ) { + $filename = $this->maybe_webp_filename( $filename ); + } + + $filename = $this->maybe_dynamic_cookies_filename( $filename, $cookies ); + + // Ensure proper formatting of the path. + $request_uri_path = preg_replace_callback( '/%[0-9A-F]{2}/', [ $this, 'reset_lowercase' ], $request_uri_path ); + // Directories in Windows can't contain question marks. + $request_uri_path = str_replace( '?', '#', $request_uri_path ); + // Limit filename max length to 255 characters. + $request_uri_path .= '/' . substr( $filename, 0, 250 ) . '.html'; + + return $request_uri_path; + } + + /** ----------------------------------------------------------------------------------------- */ + /** VARIOUS TOOLS =========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + /** + * Declares and sets value of constant preventing Optimizations. + * + * @since 3.3 + */ + private function define_donotoptimize_true() { + if ( ! defined( 'DONOTROCKETOPTIMIZE' ) ) { + define( 'DONOTROCKETOPTIMIZE', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + } + + /** + * Gets If-modified-since header value + * + * @since 3.3 + * @return string + */ + private function get_if_modified_since() { + if ( function_exists( 'apache_request_headers' ) ) { + $headers = apache_request_headers(); + + return isset( $headers['If-Modified-Since'] ) ? $headers['If-Modified-Since'] : ''; + } + + return $this->config->get_server_input( 'HTTP_IF_MODIFIED_SINCE', '' ); + } + + /** + * Get WP Rocket footprint + * + * @since 3.0.5 White label footprint if WP_ROCKET_WHITE_LABEL_FOOTPRINT is defined. + * @since 2.0 + * + * @param int $time UNIX timestamp when the cache file was saved. + * @return string The footprint that will be printed + */ + private function get_rocket_footprint( $time = '' ) { + $footprint = defined( 'WP_ROCKET_WHITE_LABEL_FOOTPRINT' ) ? + "\n" . ''; + return $footprint; + } + + /** + * Create a hidden empty file for mobile detection on NGINX with the Rocket NGINX configuration. + * + * @param string $cache_dir_path Path to the current cache directory. + * @return void + */ + private function maybe_create_nginx_mobile_file( $cache_dir_path ) { + global $is_nginx; + + if ( ! $this->config->get_config( 'do_caching_mobile_files' ) ) { + return; + } + + if ( ! $is_nginx ) { + return; + } + + $nginx_mobile_detect = $cache_dir_path . '/.mobile-active'; + + if ( rocket_direct_filesystem()->exists( $nginx_mobile_detect ) ) { + return; + } + + rocket_direct_filesystem()->touch( $nginx_mobile_detect ); + } + + /** + * Create a hidden empty file when webp is enabled but the buffer doesn’t contain webp files. + * + * @since 3.4 + * + * @param string $cache_dir_path Path to the current cache directory (without trailing slah). + */ + private function maybe_create_nowebp_file( $cache_dir_path ) { + $nowebp_filepath = $cache_dir_path . DIRECTORY_SEPARATOR . '.no-webp'; + + if ( rocket_direct_filesystem()->exists( $nowebp_filepath ) ) { + return; + } + + rocket_direct_filesystem()->touch( $nowebp_filepath ); + } + + /** + * Tell if generating cache files is allowed. + * + * @since 3.3 + * + * @return bool + */ + public static function can_generate_caching_files() { + /** + * Allow to the generate the caching file. + * + * @since 2.5 + * + * @param bool True will force the cache file generation. + */ + return (bool) apply_filters( 'do_rocket_generate_caching_files', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + /** + * Gets the base cache path for the current request + * + * @since 3.3 + * + * @param array $cookies Cookies for the current request. + * @return string + */ + private function get_request_cache_path( $cookies ) { + $host = $this->config->get_host(); + + if ( $this->config->get_config( 'url_no_dots' ) ) { + $host = str_replace( '.', '_', $host ); + } + + $request_uri = $this->tests->get_clean_request_uri(); + $cookie_hash = $this->config->get_config( 'cookie_hash' ); + $logged_in_cookie = $this->config->get_config( 'logged_in_cookie' ); + $logged_in_cookie_no_hash = str_replace( $cookie_hash, '', $logged_in_cookie ); + + // Get cache folder of host name. + if ( $logged_in_cookie && isset( $cookies[ $logged_in_cookie ] ) && ! $this->tests->has_rejected_cookie( $logged_in_cookie_no_hash ) ) { + if ( $this->config->get_config( 'common_cache_logged_users' ) ) { + return $this->cache_dir_path . $host . '-loggedin-' . $this->config->get_config( 'secret_cache_key' ) . rtrim( $request_uri, '/' ); + } + + $user_key = explode( '|', $cookies[ $logged_in_cookie ] ); + $user_key = reset( $user_key ); + $user_key = $this->sanitize_user( $user_key ) . '-' . $this->config->get_config( 'secret_cache_key' ); + + // Get cache folder of host name. + return $this->cache_dir_path . $host . '-' . $user_key . rtrim( $request_uri, '/' ); + } + + return $this->cache_dir_path . $host . rtrim( $request_uri, '/' ); + } + + /** + * Modifies the filename if the request is from a mobile device. + * + * @since 3.3 + * + * @param string $filename Cache filename. + * @return string + */ + private function maybe_mobile_filename( $filename ) { + $cache_mobile_files_tablet = $this->config->get_config( 'cache_mobile_files_tablet' ); + + if ( ! ( $this->config->get_config( 'cache_mobile' ) && $this->config->get_config( 'do_caching_mobile_files' ) ) ) { + return $filename; + } + + if ( ! $cache_mobile_files_tablet ) { + return $filename; + } + + if ( ! class_exists( 'WP_Rocket_Mobile_Detect' ) ) { + return $filename; + } + + $detect = new \WP_Rocket_Mobile_Detect(); + + if ( $detect->isMobile() && ! $detect->isTablet() && 'desktop' === $cache_mobile_files_tablet || ( $detect->isMobile() || $detect->isTablet() ) && 'mobile' === $cache_mobile_files_tablet ) { + return $filename .= '-mobile'; + } + + return $filename; + } + + /** + * Modifies the filename if the request is WebP compatible + * + * @since 3.4 + * + * @param string $filename Cache filename. + * @return string + */ + private function maybe_webp_filename( $filename ) { + if ( ! $this->config->get_config( 'cache_webp' ) ) { + return $filename; + } + + /** + * Force WP Rocket to disable its webp cache. + * + * @since 3.4 + * + * @param bool $disable_webp_cache Set to true to disable the webp cache. + */ + $disable_webp_cache = apply_filters( 'rocket_disable_webp_cache', false ); + + if ( $disable_webp_cache ) { + return $filename; + } + + if ( ! $this->is_browser_webp_compatible() ) { + return $filename; + } + + return $filename . '-webp'; + } + + /** + * Checks if the browser is WebP compatible + * + * @since 3.12.6 + * + * @return bool + */ + private function is_browser_webp_compatible(): bool { + // Only to supporting browsers. + $http_accept = $this->config->get_server_input( 'HTTP_ACCEPT', '' ); + + if ( + empty( $http_accept ) + && + function_exists( 'apache_request_headers' ) + ) { + $headers = apache_request_headers(); + $http_accept = isset( $headers['Accept'] ) ? $headers['Accept'] : ''; + } + + if ( + ! empty( $http_accept ) + && + false !== strpos( $http_accept, 'webp' ) + ) { + return true; + } + + return $this->is_user_agent_compatible(); + } + + /** + * Check the User Agent if the Accept headers is missing the WebP info + * + * @since 3.12.6 + * + * @return bool + */ + private function is_user_agent_compatible(): bool { + $user_agent = $this->config->get_server_input( 'HTTP_USER_AGENT' ); + + if ( empty( $user_agent ) ) { + return false; + } + + if ( preg_match( '#Firefox/(?[0-9]{2,})#i', $user_agent, $matches ) ) { + if ( 66 >= (int) $matches['version'] ) { + return false; + } + } + + if ( preg_match( '#(?:iPad|iPhone)(.*)Version/(?[0-9]{2,})#i', $user_agent, $matches ) ) { + if ( 14 > (int) $matches['version'] ) { + return false; + } + + return true; + } + + if ( preg_match( '#Version/(?[0-9]{2,})(?:.*)Safari#i', $user_agent, $matches ) ) { + if ( 16 > (int) $matches['version'] ) { + return false; + } + } + + return true; + } + + /** + * Modifies the filename if dynamic cookies are set + * + * @param string $filename Cache filename. + * @param array $cookies Cookies for the request. + * @return string + */ + private function maybe_dynamic_cookies_filename( $filename, $cookies ) { + $cache_dynamic_cookies = $this->config->get_config( 'cache_dynamic_cookies' ); + + if ( ! $cache_dynamic_cookies ) { + return $filename; + } + + foreach ( $cache_dynamic_cookies as $key => $cookie_name ) { + if ( is_array( $cookie_name ) ) { + if ( isset( $_COOKIE[ $key ] ) ) { + foreach ( $cookie_name as $cookie_key ) { + if ( '' !== $cookies[ $key ][ $cookie_key ] ) { + $cache_key = $cookies[ $key ][ $cookie_key ]; + $cache_key = preg_replace( '/[^a-z0-9_\-]/i', '-', $cache_key ); + $filename .= '-' . $cache_key; + } + } + } + continue; + } + + if ( isset( $cookies[ $cookie_name ] ) && '' !== $cookies[ $cookie_name ] ) { + $cache_key = $cookies[ $cookie_name ]; + $cache_key = preg_replace( '/[^a-z0-9_\-]/i', '-', $cache_key ); + $filename .= '-' . $cache_key; + } + } + + return $filename; + } + + /** + * Force lowercase on encoded url strings from different alphabets to prevent issues on some hostings. + * + * @since 3.3 + * + * @param array $matches Cache path. + * @return string Cache path in lowercase. + */ + protected function reset_lowercase( $matches ) { + return strtolower( $matches[0] ); + } + + /** + * Sanitizes a string username. + * + * @param string $user String username. + * + * @return string + */ + private function sanitize_user( string $user = '' ): string { + return strtolower( rawurlencode( $user ) ); + } + + /** + * Check if permalink structure and url match. + * + * @return bool + */ + private function maybe_allow_wp_redirect(): bool { + + $exclusions = implode( '|', $this->wp_redirect_exclusions ); + + // Return early for excluded urls. + if ( preg_match( '#' . $exclusions . '#', $this->tests->get_request_uri_base() ) + ) { + return false; + } + + $permalink_structure = $this->config->get_config( 'permalink_structure' ); + + // Last character of permalink. + $permalink_last_char = '/' !== substr( $permalink_structure, -1 ) ? '' : '/'; + + // Request uri without protocol & domain name. + $request_uri = $this->tests->get_request_uri_base(); + + // Last character of request uri. + $request_uri_last_char = '/' !== substr( $request_uri, -1 ) ? '' : '/'; + + // In cases where we have the home with a trailng slash (visible or invisible) + // and permalink is without trailing slash. + if ( '' === $permalink_last_char ) { + // Check for root installation. + $request_uri_last_char = '/' === $request_uri ? '' : $request_uri_last_char; + + /** + * Check for subdir installation. + * Use config file name to get home request_uri. + */ + $home = str_replace( $this->config->get_host(), '', basename( $this->config->get_config_file_path()['path'] ) ); + $home = str_replace( '.', '/', str_replace( '.php', '', $home ) ); + + if ( '/' !== $request_uri && rtrim( $request_uri, '/' ) === $home ) { + $request_uri_last_char = ''; + } + } + + return $permalink_last_char !== $request_uri_last_char; + } +} diff --git a/inc/classes/Buffer/class-config.php b/inc/classes/Buffer/class-config.php new file mode 100644 index 0000000..5d26997 --- /dev/null +++ b/inc/classes/Buffer/class-config.php @@ -0,0 +1,309 @@ +get_configs(); + return isset( $config[ $config_name ] ) ? $config[ $config_name ] : null; + } + + /** + * Get the whole current configuration. + * + * @since 3.3 + * @access public + * @author Grégory Viguier + * + * @return array|bool An array containing the configuration. False on failure. + */ + public function get_configs() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $config_file_path = $this->get_config_file_path(); + + if ( ! $config_file_path['success'] ) { + return self::memoize( __FUNCTION__, [], false ); + } + + include $config_file_path['path']; + + $config = [ + 'cookie_hash' => '', + 'logged_in_cookie' => '', + 'common_cache_logged_users' => 0, + 'cache_mobile_files_tablet' => 'desktop', + 'cache_ssl' => 0, + 'cache_webp' => 0, + 'cache_mobile' => 0, + 'do_caching_mobile_files' => 0, + 'secret_cache_key' => '', + 'cache_reject_uri' => '', + 'cache_query_strings' => [], + 'cache_ignored_parameters' => [], + 'cache_reject_cookies' => '', + 'cache_reject_ua' => '', + 'cache_mandatory_cookies' => '', + 'cache_dynamic_cookies' => [], + 'url_no_dots' => 0, + 'permalink_structure' => '', + ]; + + foreach ( $config as $entry_name => $entry_value ) { + $var_name = 'rocket_' . $entry_name; + + if ( isset( $$var_name ) ) { + $config[ $entry_name ] = $$var_name; + } + } + + return self::memoize( __FUNCTION__, [], $config ); + } + + /** + * Get the host, to use for config and cache file path. + * + * @since 3.3 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_host() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $host = $this->get_server_input( 'HTTP_HOST', (string) time() ); + $host = preg_replace( '/:\d+$/', '', $host ); + $host = trim( strtolower( $host ), '.' ); + + return self::memoize( __FUNCTION__, [], rawurlencode( $host ) ); + } + + /** + * Get the path to an existing config file. + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + * + * @return string|bool The path to the file. False if no file is found. + */ + public function get_config_file_path() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $config_dir_real_path = realpath( self::$config_dir_path ) . DIRECTORY_SEPARATOR; + + $host = $this->get_host(); + + $path = str_replace( '\\', '/', strtok( $this->get_server_input( 'REQUEST_URI', '' ), '?' ) ); + $path = preg_replace( '|(?<=.)/+|', '/', $path ); + $path = explode( '%2F', preg_replace( '/^(?:%2F)*(.*?)(?:%2F)*$/', '$1', rawurlencode( $path ) ) ); + // Remove empty array values. + $path = array_filter( $path ); + + /** + * If path is not empty. + * i.e url with something like this `multisite/green/sample-page` after the host. + */ + if ( ! empty( $path ) ) { + $config_file_paths = []; + + // Loop through paths and store valid config file paths matching the url current path in an array. + foreach ( $path as $p ) { + static $dir; + + if ( realpath( self::$config_dir_path . $host . '.' . $p . '.php' ) && 0 === stripos( realpath( self::$config_dir_path . $host . '.' . $p . '.php' ), $config_dir_real_path ) ) { + $config_file_paths[] = self::$config_dir_path . $host . '.' . $p . '.php'; + } + + if ( realpath( self::$config_dir_path . $host . '.' . $dir . $p . '.php' ) && 0 === stripos( realpath( self::$config_dir_path . $host . '.' . $dir . $p . '.php' ), $config_dir_real_path ) ) { + $config_file_paths[] = self::$config_dir_path . $host . '.' . $dir . $p . '.php'; + } + + $dir .= $p . '.'; + } + + // Reverse array order so that subsite config file paths can come first. + $config_file_paths = array_reverse( $config_file_paths ); + + /** + * Check if there was a matching config file for the url current path + * and return the first + */ + if ( ! empty( $config_file_paths ) ) { + return self::memoize( + __FUNCTION__, + [], + [ + 'success' => true, + 'path' => $config_file_paths[0], + ] + ); + } + } + + if ( realpath( self::$config_dir_path . $host . '.php' ) && 0 === stripos( realpath( self::$config_dir_path . $host . '.php' ), $config_dir_real_path ) ) { + $config_file_path = self::$config_dir_path . $host . '.php'; + return self::memoize( + __FUNCTION__, + [], + [ + 'success' => true, + 'path' => $config_file_path, + ] + ); + } + + return self::memoize( + __FUNCTION__, + [], + [ + 'success' => false, + 'path' => self::$config_dir_path . $host . implode( '/', $path ) . '.php', + ] + ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** SPECIFIC CONFIG GETTERS ================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get rejected cookies as a regex pattern. + * `#` is used as pattern delimiter. + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + * + * @return string + */ + public function get_rejected_cookies() { + $rejected_cookies = $this->get_config( 'cache_reject_cookies' ); + + if ( '' === $rejected_cookies ) { + return $rejected_cookies; + } + + return '#' . $rejected_cookies . '#'; + } + + /** + * Get mandatory cookies as a regex pattern. + * `#` is used as pattern delimiter. + * + * @since 3.3 + * @access protected + * @author Grégory Viguier + * + * @return string + */ + public function get_mandatory_cookies() { + $mandatory_cookies = $this->get_config( 'cache_mandatory_cookies' ); + + if ( '' === $mandatory_cookies ) { + return $mandatory_cookies; + } + + return '#' . $mandatory_cookies . '#'; + } +} diff --git a/inc/classes/Buffer/class-tests.php b/inc/classes/Buffer/class-tests.php new file mode 100644 index 0000000..c7ef1c6 --- /dev/null +++ b/inc/classes/Buffer/class-tests.php @@ -0,0 +1,1253 @@ + 1, + 'ssl' => 1, + 'uri' => 1, + 'rejected_cookie' => 1, + 'mandatory_cookie' => 1, + 'user_agent' => 1, + 'mobile' => 1, + 'donotcachepage' => 1, + 'wp_404' => 1, + 'search' => 1, + 'is_html' => 1, + ]; + + /** + * Information about the last "error". + * Here an "error" is a test failure. + * + * @var array { + * @type string $message A message. + * @type array $data Related data. + * } + * @since 3.3 + * @author Grégory Viguier + */ + private $last_error = []; + + /** + * Constructor. + * + * @since 3.3 + * @author Grégory Viguier + * + * @param Config $config Config instance. + * @param array $args { + * An array of arguments. + * + * @type array $cookies Values of $_COOKIE to use for the tests. Default is $_COOKIE. + * @type array $post Values of $_POST to use for the tests. Default is $_POST + * @type array $get Values of $_GET to use for the tests. Default is $_GET. + * @type array $tests List of complementary tests to perform. Optional. + * } + */ + public function __construct( Config $config, array $args = [] ) { + $this->config = $config; + + if ( ! empty( $args['tests'] ) ) { + $this->set_tests( (array) $args['tests'] ); + } + + // Provide fallback values. + if ( ! isset( $args['cookies'] ) && ! empty( $_COOKIE ) && is_array( $_COOKIE ) ) { + $args['cookies'] = $_COOKIE; + } + + if ( ! isset( $args['post'] ) && ! empty( $_POST ) && is_array( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + $args['post'] = $_POST; // phpcs:ignore WordPress.Security.NonceVerification.Missing + } + if ( ! isset( $args['get'] ) && ! empty( $_GET ) && is_array( $_GET ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended + $args['get'] = $_GET; // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended + } + + self::$cookies = ! empty( $args['cookies'] ) && is_array( $args['cookies'] ) ? $args['cookies'] : []; + self::$post = ! empty( $args['post'] ) && is_array( $args['post'] ) ? $args['post'] : []; + self::$get = ! empty( $args['get'] ) && is_array( $args['get'] ) ? $args['get'] : []; + + if ( self::$post ) { + self::$post = array_intersect_key( + // Limit self::$post to the values we need, to save a bit of memory. + self::$post, + [ + 'wp_customize' => '', + ] + ); + } + } + + /** ----------------------------------------------------------------------------------------- */ + /** TESTS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if the process should be initiated. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_init_process() { + $this->last_error = []; + + // Don't process robots.txt && .htaccess files (it has happened sometimes with weird server configuration). + if ( $this->is_rejected_file() ) { + $this->set_error( 'Robots.txt or .htaccess file is excluded.' ); + return false; + } + + // Don't process disallowed file extensions (like php, xml, xsl). + if ( $this->is_rejected_extension() ) { + $this->set_error( 'PHP, XML, or XSL file is excluded.' ); + return false; + } + + // Don't cache if in admin or ajax. + if ( $this->is_admin() ) { + $this->set_error( 'Admin or AJAX URL is excluded.' ); + return false; + } + + // Don't process the customizer preview. + if ( $this->is_customizer_preview() ) { + $this->set_error( 'Customizer preview is excluded.' ); + return false; + } + + // Don't process without GET method. + if ( ! $this->is_allowed_request_method() ) { + $this->set_error( + 'Request method is not allowed. Page cannot be cached.', + [ + 'request_method' => $this->get_request_method(), + ] + ); + return false; + } + + if ( ! $this->has_test() ) { + $this->last_error = []; + return true; + } + + $config = $this->config->get_config_file_path(); + // Exit if no config file exists. + if ( ! $config['success'] ) { + $this->set_error( + 'No config file found.', + [ + 'config_path' => $config['path'], + ] + ); + return false; + } + + // Don’t process with query strings parameters, but the processed content is served if the visitor comes from an RSS feed, a Facebook action or Google Adsense tracking. + if ( $this->has_test( 'query_string' ) && ! $this->can_process_query_string() ) { + $this->set_error( 'Query string URL is excluded.' . PHP_EOL . print_r( $_GET, true ) );// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r, WordPress.Security.NonceVerification.Recommended + return false; + } + + // Don't process SSL. + if ( $this->has_test( 'ssl' ) && ! $this->can_process_ssl() ) { + $this->set_error( 'SSL cache not applied to page.' ); + return false; + } + + // Don't process these pages. + if ( $this->has_test( 'uri' ) && ! $this->can_process_uri() ) { + $this->set_error( 'Page is excluded.' ); + return false; + } + + // Don't process page with these cookies. + if ( $this->has_test( 'rejected_cookie' ) && $this->has_rejected_cookie() ) { + $this->set_error( + 'Excluded cookie found.', + [ + 'excluded_cookies' => $this->has_rejected_cookie(), + ] + ); + return false; + } + + // Don't process page when these cookies don't exist. + if ( $this->has_test( 'mandatory_cookie' ) && ! $this->is_speed_tool() && is_array( $this->has_mandatory_cookie() ) ) { + $this->set_error( + 'Missing mandatory cookie: page not processed.', + [ + 'missing_cookies' => $this->has_mandatory_cookie(), + ] + ); + return false; + } + + // Don't process page with these user agents. + if ( $this->has_test( 'user_agent' ) && ! $this->can_process_user_agent() ) { + $this->set_error( + 'User Agent is excluded.', + [ + 'user_agent' => $this->config->get_server_input( 'HTTP_USER_AGENT' ), + ] + ); + return false; + } + + // Don't process if mobile detection is activated. + if ( $this->has_test( 'mobile' ) && ! $this->can_process_mobile() ) { + $this->set_error( + 'Mobile User Agent is excluded.', + [ + 'user_agent' => $this->config->get_server_input( 'HTTP_USER_AGENT' ), + ] + ); + return false; + } + + $this->last_error = []; + + return true; + } + + /** + * Tell if a test should be performed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @param string $test_name Identifier of the test. + * Possible values are: 'query_string', 'ssl', 'uri', 'rejected_cookie', 'mandatory_cookie', 'user_agent', 'mobile'. + * @return bool + */ + public function has_test( $test_name = '' ) { + if ( empty( $test_name ) ) { + return ! empty( $this->tests ); + } + + return isset( $this->tests[ $test_name ] ); + } + + /** + * Set the list of tests to perform. + * + * @since 3.3 + * @author Grégory Viguier + * + * @param array $tests An array of test names. + */ + public function set_tests( array $tests ) { + $tests = array_flip( $tests ); + + array_merge( $this->tests, $tests ); + } + + /** + * Tell if the buffer should be processed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @param string $buffer The buffer content. + * @return bool + */ + public function can_process_buffer( $buffer ) { + $this->last_error = []; + + if ( ! function_exists( 'rocket_mkdir_p' ) ) { + // Uh? + $this->set_error( 'WP Rocket not found - page cannot be cached.' ); + return false; + } + + if ( strlen( $buffer ) <= 255 ) { + // Buffer length must be > 255 (IE does not read pages under 255 c). + $this->set_error( 'Buffer content under 255 caracters.' ); + return false; + } + + if ( $this->get_http_response_code() !== 200 ) { + // Only cache 200. + $this->set_error( 'Page is not a 200 HTTP response and cannot be cached.' ); + return false; + } + + if ( $this->has_test( 'donotcachepage' ) && $this->has_donotcachepage() ) { + // Don't process templates that use the DONOTCACHEPAGE constant. + $this->set_error( 'DONOTCACHEPAGE is defined. Page cannot be cached.' ); + return false; + } + + if ( $this->has_test( 'wp_404' ) && $this->is_404() ) { + // Don't process WP 404 page. + $this->set_error( 'WP 404 page is excluded.' ); + return false; + } + + if ( $this->has_test( 'search' ) && $this->is_search() ) { + // Don't process search results. + $this->set_error( 'Search page is excluded.' ); + return false; + } + + if ( $this->has_test( 'is_html' ) ) { + if ( $this->is_feed_uri() || defined( 'REST_REQUEST' ) ) { + unset( $this->tests['is_html'] ); + } + } + + if ( + $this->has_test( 'is_html' ) + && + ! $this->is_html( $buffer ) + ) { + // Don't process if there isn't a closing . + $this->set_error( 'No closing was found.' ); + return false; + } + + $this->last_error = []; + + return true; + } + + /** + * Return http response to prevent a bug while testing. + * + * @return bool|int + */ + public function get_http_response_code() { + return http_response_code(); + } + + /** ----------------------------------------------------------------------------------------- */ + /** SEPARATED TESTS ========================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if the current URI corresponds to a file that must not be processed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_rejected_file() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $request_uri = $this->get_request_uri_base(); + + if ( ! $request_uri ) { + return self::memoize( __FUNCTION__, [], false ); + } + + $files = [ + 'robots.txt', + '.htaccess', + ]; + + foreach ( $files as $file ) { + if ( false !== strpos( $request_uri, '/' . $file ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + } + + return self::memoize( __FUNCTION__, [], false ); + } + + /** + * Tell if the current URI corresponds to a file extension that must not be processed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_rejected_extension() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $request_uri = $this->get_request_uri_base(); + + if ( ! $request_uri ) { + return self::memoize( __FUNCTION__, [], false ); + } + + if ( strtolower( $request_uri ) === '/index.php' ) { + // `index.php` is allowed. + return self::memoize( __FUNCTION__, [], false ); + } + + $extension = pathinfo( $request_uri, PATHINFO_EXTENSION ); + $extensions = [ + 'php' => 1, + 'xml' => 1, + 'xsl' => 1, + ]; + + $is_rejected = $extension && isset( $extensions[ $extension ] ); + + return self::memoize( __FUNCTION__, [], $is_rejected ); + } + + /** + * Tell if the current url is a feed. + * + * @return bool + */ + public function is_feed_uri() { + global $wp_rewrite; + $feed_uri = '/(?:.+/)?' . $wp_rewrite->feed_base . '(?:/(?:.+/?)?)?$'; + return (bool) preg_match( '#^(' . $feed_uri . ')$#i', $this->get_clean_request_uri() ); + } + + /** + * Tell if we're in the admin area (or ajax) or not. + * Test against ajax added in 2e3c0fa74246aa13b36835f132dfd55b90d4bf9e for whatever reason. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_admin() { + return is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ); + } + + /** + * Tell if we're displaying a customizer preview. + * Test added in 769c7377e764a6a8decb4015a167b34043b4b462 for whatever reason. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_customizer_preview() { + return isset( self::$post['wp_customize'] ); + } + + /** + * Tell if the request method is allowed to be cached. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_allowed_request_method() { + $allowed = [ + 'GET' => 1, + 'HEAD' => 1, + ]; + + if ( isset( $allowed[ $this->get_request_method() ] ) ) { + return true; + } + + return false; + } + + /** ----------------------------------------------------------------------------------------- */ + /** SEPARATED TESTS THAT USE THE CONFIG FILE ================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Don't process with query string parameters, some parameters are allowed though. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_process_query_string() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $params = $this->get_query_params(); + + if ( ! $params ) { + return self::memoize( __FUNCTION__, [], true ); + } + + // The page can be processed if at least one of these parameters is present. + $allowed_params = [ + 'lang' => 1, + 's' => 1, + 'permalink_name' => 1, + 'lp-variation-id' => 1, + ]; + + if ( array_intersect_key( $params, $allowed_params ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + // The page can be processed if at least one of these parameters is present. + $allowed_params = $this->config->get_config( 'cache_query_strings' ); + + if ( ! $allowed_params ) { + // We have query strings but none is in the list set by the user. + return self::memoize( __FUNCTION__, [], false ); + } + + $can = (bool) array_intersect_key( $params, array_flip( $allowed_params ) ); + + return self::memoize( __FUNCTION__, [], $can ); + } + + /** + * Process SSL only if set in the plugin settings. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_process_ssl() { + return ! $this->is_ssl() || $this->config->get_config( 'cache_ssl' ); + } + + /** + * Some URIs set in the plugin settings must not be processed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_process_uri() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + // URIs not to cache. + $uri_pattern = $this->config->get_config( 'cache_reject_uri' ); + + if ( ! $uri_pattern ) { + return self::memoize( __FUNCTION__, [], true ); + } + + $can = ! preg_match( '#^(' . $uri_pattern . ')$#i', $this->get_request_uri_base() ); + + return self::memoize( __FUNCTION__, [], $can ); + } + + /** + * Don't process if some cookies are present. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool|array + */ + public function has_rejected_cookie() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + if ( ! self::$cookies ) { + return self::memoize( __FUNCTION__, [], false ); + } + + $rejected_cookies = $this->config->get_rejected_cookies(); + + if ( ! $rejected_cookies ) { + return self::memoize( __FUNCTION__, [], false ); + } + + $excluded_cookies = []; + + foreach ( array_keys( self::$cookies ) as $cookie_name ) { + if ( preg_match( $rejected_cookies, $cookie_name ) ) { + $excluded_cookies[] = $cookie_name; + } + } + + if ( ! empty( $excluded_cookies ) ) { + return self::memoize( __FUNCTION__, [], $excluded_cookies ); + } + + return self::memoize( __FUNCTION__, [], false ); + } + + /** + * Don't process if some cookies are NOT present. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool|array + */ + public function has_mandatory_cookie() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $mandatory_cookies = $this->config->get_mandatory_cookies(); + + if ( ! $mandatory_cookies ) { + return self::memoize( __FUNCTION__, [], true ); + } + + $missing_cookies = array_flip( explode( '|', $this->config->get_config( 'cache_mandatory_cookies' ) ) ); + + if ( ! self::$cookies ) { + return self::memoize( __FUNCTION__, [], $missing_cookies ); + } + + foreach ( array_keys( self::$cookies ) as $cookie_name ) { + if ( preg_match( $mandatory_cookies, $cookie_name ) ) { + unset( $missing_cookies[ $cookie_name ] ); + } + } + + if ( empty( $missing_cookies ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + return self::memoize( __FUNCTION__, [], array_flip( $missing_cookies ) ); + } + + /** + * Don't process if the user agent is in the forbidden list. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_process_user_agent() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + if ( ! $this->config->get_server_input( 'HTTP_USER_AGENT' ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + $rejected_uas = $this->config->get_config( 'cache_reject_ua' ); + + if ( ! $rejected_uas ) { + return self::memoize( __FUNCTION__, [], true ); + } + + $can = ! preg_match( '#' . $rejected_uas . '#', $this->config->get_server_input( 'HTTP_USER_AGENT' ) ); + + return self::memoize( __FUNCTION__, [], $can ); + } + + /** + * Don't process if the user agent is in the forbidden list. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function can_process_mobile() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + if ( ! $this->config->get_server_input( 'HTTP_USER_AGENT' ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + if ( $this->config->get_config( 'cache_mobile' ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + $uas = '2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800'; + + if ( preg_match( '#^.*(' . $uas . ').*#i', $this->config->get_server_input( 'HTTP_USER_AGENT' ) ) ) { + return self::memoize( __FUNCTION__, [], false ); + } + + $uas = 'w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-'; + + if ( preg_match( '#^(' . $uas . ').*#i', $this->config->get_server_input( 'HTTP_USER_AGENT' ) ) ) { + return self::memoize( __FUNCTION__, [], false ); + } + + return self::memoize( __FUNCTION__, [], true ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** SEPARATED TESTS AFTER PAGE RESPONSE ===================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if the constant DONOTCACHEPAGE is set and not overridden. + * When defined, the page must not be cached. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function has_donotcachepage() { + if ( ! defined( 'DONOTCACHEPAGE' ) || ! DONOTCACHEPAGE ) { + return false; + } + + /** + * At this point the constant DONOTCACHEPAGE is set to true. + * This filter allows to force the page caching. + * It prevents conflict with some plugins like Thrive Leads. + * + * @since 2.5 + * + * @param bool $override_donotcachepage True will force the page to be cached. + */ + return ! apply_filters( 'rocket_override_donotcachepage', false ); + } + + /** + * Tell if we're in the WP’s 404 page. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_404() { + return ! function_exists( 'is_404' ) || is_404(); + } + + /** + * Tell if we're in the WP’s search page. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_search() { + if ( function_exists( 'is_search' ) && ! is_search() ) { + return false; + } + + /** + * At this point we’re in the WP’s search page. + * This filter allows to cache search results. + * + * @since 2.3.8 + * + * @param bool $cache_search True will force caching search results. + */ + return ! apply_filters( 'rocket_cache_search', false ); + } + + /** + * Tell if the page content has a closing . + * + * @since 3.9 + * + * @param string $buffer The buffer content. + * @return bool + */ + public function is_html( $buffer ) { + return (bool) preg_match( '/<\s*\/\s*html\s*>/i', $buffer ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** $_SERVER ================================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the IP address from which the user is viewing the current page. + * + * @since 3.3 + * @author Grégory Viguier + */ + public function get_ip() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $keys = [ + 'HTTP_CF_CONNECTING_IP', // CF = CloudFlare. + 'HTTP_CLIENT_IP', + 'HTTP_X_FORWARDED_FOR', + 'HTTP_X_FORWARDED', + 'HTTP_X_CLUSTER_CLIENT_IP', + 'HTTP_X_REAL_IP', + 'HTTP_FORWARDED_FOR', + 'HTTP_FORWARDED', + 'REMOTE_ADDR', + ]; + + foreach ( $keys as $key ) { + if ( ! $this->config->get_server_input( $key ) ) { + continue; + } + + $ip = explode( ',', $this->config->get_server_input( $key ) ); + $ip = end( $ip ); + + if ( false !== filter_var( $ip, FILTER_VALIDATE_IP ) ) { + return self::memoize( __FUNCTION__, [], $ip ); + } + } + + return self::memoize( __FUNCTION__, [], '0.0.0.0' ); + } + + /** + * Tell if the request comes from a speed test tool. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool + */ + public function is_speed_tool() { + if ( self::is_memoized( __FUNCTION__ ) ) { + return self::get_memoized( __FUNCTION__ ); + } + + $ips = [ + '208.70.247.157' => '', // GT Metrix - Vancouver 1. + '172.255.48.130' => '', // GT Metrix - Vancouver 2. + '172.255.48.131' => '', // GT Metrix - Vancouver 3. + '172.255.48.132' => '', // GT Metrix - Vancouver 4. + '172.255.48.133' => '', // GT Metrix - Vancouver 5. + '172.255.48.134' => '', // GT Metrix - Vancouver 6. + '172.255.48.135' => '', // GT Metrix - Vancouver 7. + '172.255.48.136' => '', // GT Metrix - Vancouver 8. + '172.255.48.137' => '', // GT Metrix - Vancouver 9. + '172.255.48.138' => '', // GT Metrix - Vancouver 10. + '172.255.48.139' => '', // GT Metrix - Vancouver 11. + '172.255.48.140' => '', // GT Metrix - Vancouver 12. + '172.255.48.141' => '', // GT Metrix - Vancouver 13. + '172.255.48.142' => '', // GT Metrix - Vancouver 14. + '172.255.48.143' => '', // GT Metrix - Vancouver 15. + '172.255.48.144' => '', // GT Metrix - Vancouver 16. + '172.255.48.145' => '', // GT Metrix - Vancouver 17. + '172.255.48.146' => '', // GT Metrix - Vancouver 18. + '172.255.48.147' => '', // GT Metrix - Vancouver 19. + '52.229.122.240' => '', // GT Metrix - Quebec City. + '104.214.72.101' => '', // GT Metrix - San Antonio, TX 1. + '13.66.7.11' => '', // GT Metrix - San Antonio, TX 2. + '13.85.24.83' => '', // GT Metrix - San Antonio, TX 3. + '13.85.24.90' => '', // GT Metrix - San Antonio, TX 4. + '13.85.82.26' => '', // GT Metrix - San Antonio, TX 5. + '40.74.242.253' => '', // GT Metrix - San Antonio, TX 6. + '40.74.243.13' => '', // GT Metrix - San Antonio, TX 7. + '40.74.243.176' => '', // GT Metrix - San Antonio, TX 8. + '104.214.48.247' => '', // GT Metrix - San Antonio, TX 9. + '157.55.189.189' => '', // GT Metrix - San Antonio, TX 10. + '104.214.110.135' => '', // GT Metrix - San Antonio, TX 11. + '70.37.83.240' => '', // GT Metrix - San Antonio, TX 12. + '65.52.36.250' => '', // GT Metrix - San Antonio, TX 13. + '13.78.216.56' => '', // GT Metrix - Cheyenne, WY. + '52.162.212.163' => '', // GT Metrix - Chicago, IL. + '23.96.34.105' => '', // GT Metrix - Danville, VA. + '65.52.113.236' => '', // GT Metrix - San Francisco, CA. + '172.255.61.34' => '', // GT Metrix - London 1. + '172.255.61.35' => '', // GT Metrix - London 2. + '172.255.61.36' => '', // GT Metrix - London 3. + '172.255.61.37' => '', // GT Metrix - London 4. + '172.255.61.38' => '', // GT Metrix - London 5. + '172.255.61.39' => '', // GT Metrix - London 6. + '172.255.61.40' => '', // GT Metrix - London 7. + '52.237.235.185' => '', // GT Metrix - Sydney 1. + '52.237.250.73' => '', // GT Metrix - Sydney 2. + '52.237.236.145' => '', // GT Metrix - Sydney 3. + '104.41.2.19' => '', // GT Metrix - São Paulo 1. + '191.235.98.164' => '', // GT Metrix - São Paulo 2. + '191.235.99.221' => '', // GT Metrix - São Paulo 3. + '191.232.194.51' => '', // GT Metrix - São Paulo 4. + '104.211.143.8' => '', // GT Metrix - Mumbai 1. + '104.211.165.53' => '', // GT Metrix - Mumbai 2. + '52.172.14.87' => '', // GT Metrix - Chennai. + '40.83.89.214' => '', // GT Metrix - Hong Kong 1. + '52.175.57.81' => '', // GT Metrix - Hong Kong 2. + '20.188.63.151' => '', // GT Metrix - Paris. + '20.52.36.49' => '', // GT Metrix - Frankfurt. + '52.246.165.153' => '', // GT Metrix - Tokyo. + '51.144.102.233' => '', // GT Metrix - Amsterdam. + '13.76.97.224' => '', // GT Metrix - Singapore. + '102.133.169.66' => '', // GT Metrix - Johannesburg. + '52.231.199.170' => '', // GT Metrix - Busan. + '13.53.162.7' => '', // GT Metrix - Stockholm. + '40.123.218.94' => '', // GT Metrix - Dubai. + ]; + + if ( isset( $ips[ $this->get_ip() ] ) ) { + return self::memoize( __FUNCTION__, [], true ); + } + + if ( ! $this->config->get_server_input( 'HTTP_USER_AGENT' ) ) { + return self::memoize( __FUNCTION__, [], false ); + } + + $user_agent = preg_match( '#PingdomPageSpeed|DareBoost|Google|PTST|Chrome-Lighthouse|WP Rocket#i', $this->config->get_server_input( 'HTTP_USER_AGENT' ) ); + + return self::memoize( __FUNCTION__, [], (bool) $user_agent ); + } + + /** + * Determines if SSL is used. + * This is basically a copy of the WP function, where $_SERVER is not used directly. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return bool True if SSL, otherwise false. + */ + public function is_ssl() { + if ( null !== $this->config->get_server_input( 'HTTPS' ) ) { + if ( 'on' === strtolower( $this->config->get_server_input( 'HTTPS' ) ) ) { + return true; + } + + if ( '1' === (string) $this->config->get_server_input( 'HTTPS' ) ) { + return true; + } + } elseif ( '443' === (string) $this->config->get_server_input( 'SERVER_PORT' ) ) { + return true; + } + return false; + } + + /** ----------------------------------------------------------------------------------------- */ + /** REQUEST URI AND METHOD ================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the request URI. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return string + */ + public function get_raw_request_uri() { + if ( '' === $this->config->get_server_input( 'REQUEST_URI', '' ) ) { + return ''; + } + + return '/' . ltrim( $this->config->get_server_input( 'REQUEST_URI' ), '/' ); + } + + /** + * Get the request URI without the query strings. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return string + */ + public function get_request_uri_base() { + $request_uri = $this->get_raw_request_uri(); + + if ( ! $request_uri ) { + return ''; + } + + $request_uri = explode( '?', $request_uri ); + + return reset( $request_uri ); + } + + /** + * Get the request URI. The query string is sorted and some parameters are removed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return string + */ + public function get_clean_request_uri() { + $request_uri = $this->get_request_uri_base(); + $request_uri = $this->remove_dot_segments( $request_uri ); + + if ( ! $request_uri ) { + return ''; + } + + $query_string = $this->get_query_string(); + + if ( ! $query_string ) { + return $request_uri; + } + + return $request_uri . '?' . $query_string; + } + + /** + * Get the request method. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return string + */ + public function get_request_method() { + if ( '' === $this->config->get_server_input( 'REQUEST_METHOD', '' ) ) { + return ''; + } + + return strtoupper( $this->config->get_server_input( 'REQUEST_METHOD' ) ); + } + + /** + * Remove dot segments from a path + * + * @param string $input Path to process. + * + * @return string + */ + private function remove_dot_segments( string $input ) { + $output = ''; + + while ( strpos( $input, './' ) !== false || strpos( $input, '/.' ) !== false || '.' === $input || '..' === $input ) { + /** + * A: If the input buffer begins with a prefix of "../" or "./", + * then remove that prefix from the input buffer; otherwise, + */ + if ( strpos( $input, '../' ) === 0 ) { + $input = substr( $input, 3 ); + } + elseif ( strpos( $input, './' ) === 0 ) { + $input = substr( $input, 2 ); + } + /** + * B: if the input buffer begins with a prefix of "/./" or "/.", + * where "." is a complete path segment, then replace that prefix + * with "/" in the input buffer; otherwise, + */ + elseif ( strpos( $input, '/./' ) === 0 ) { + $input = substr( $input, 2 ); + } + elseif ( '/.' === $input ) { + $input = '/'; + } + /** + * C: if the input buffer begins with a prefix of "/../" or "/..", + * where ".." is a complete path segment, then replace that prefix + * with "/" in the input buffer and remove the last segment and its + * preceding "/" (if any) from the output buffer; otherwise, + */ + elseif ( strpos( $input, '/../' ) === 0 ) { + $input = substr( $input, 3 ); + $output = substr_replace( $output, '', strrpos( $output, '/' ) ); + } + elseif ( '/..' === $input ) { + $input = '/'; + $output = substr_replace( $output, '', strrpos( $output, '/' ) ); + } + /** + * D: if the input buffer consists only of "." or "..", then remove + * that from the input buffer; otherwise, + */ + elseif ( '.' === $input || '..' === $input ) { + $input = ''; + } + /** + * E: move the first path segment in the input buffer to the end of + * the output buffer, including the initial "/" character (if any) + * and any subsequent characters up to, but not including, the next + * "/" character or the end of the input buffer + */ + elseif ( strpos( $input, '/', 1 ) !== false ) { + $pos = strpos( $input, '/', 1 ); + $output .= substr( $input, 0, $pos ); + $input = substr_replace( $input, '', 0, $pos ); + } + else { + $output .= $input; + $input = ''; + } + } + return $output . $input; + } + + /** ----------------------------------------------------------------------------------------- */ + /** QUERY STRING ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the query string as an array. Parameters are sorted and some are removed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return array + */ + public function get_query_params() { + if ( ! self::$get ) { + return []; + } + + // Remove some parameters. + $params = array_diff_key( + self::$get, + $this->config->get_config( 'cache_ignored_parameters' ) + ); + + if ( $params ) { + ksort( $params ); + } + + return $params; + } + + /** + * Get the query string with sorted parameters, and some other removed. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return string + */ + public function get_query_string() { + return http_build_query( $this->get_query_params() ); + } + + /** + * Get the original query string + * + * @since 3.11.4 + * + * @return string + */ + public function get_original_query_string() { + return http_build_query( $this->get_get() ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** PROPERTY GETTERS ======================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the `cookies` property. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return array + */ + public function get_cookies() { + return self::$cookies; + } + + /** + * Get the `post` property. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return array + */ + public function get_post() { + return self::$post; + } + + /** + * Get the `get` property. + * + * @since 3.3 + * @author Grégory Viguier + * + * @return array + */ + public function get_get() { + return self::$get; + } + + /** ----------------------------------------------------------------------------------------- */ + /** ERRORS ================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Set an "error". + * + * @since 3.3 + * @author Grégory Viguier + * + * @param string $message A message. + * @param array $data Related data. + */ + protected function set_error( $message, $data = [] ) { + $this->last_error = [ + 'message' => $message, + 'data' => (array) $data, + ]; + } + + /** + * Get the last "error". + * + * @since 3.3 + * @author Grégory Viguier + * + * @return array + */ + public function get_last_error() { + return array_merge( + [ + 'message' => '', + 'data' => [], + ], + (array) $this->last_error + ); + } +} diff --git a/inc/classes/ServiceProvider/class-common-subscribers.php b/inc/classes/ServiceProvider/class-common-subscribers.php new file mode 100644 index 0000000..b4bc4be --- /dev/null +++ b/inc/classes/ServiceProvider/class-common-subscribers.php @@ -0,0 +1,35 @@ +getContainer()->share( 'detect_missing_tags_subscriber', 'WP_Rocket\Subscriber\Tools\Detect_Missing_Tags_Subscriber' ) + ->addTag( 'common_subscriber' ); + } +} diff --git a/inc/classes/ServiceProvider/class-options.php b/inc/classes/ServiceProvider/class-options.php new file mode 100644 index 0000000..a4cf055 --- /dev/null +++ b/inc/classes/ServiceProvider/class-options.php @@ -0,0 +1,39 @@ +getContainer()->add( 'options', 'WP_Rocket\Admin\Options_Data' ) + ->addArgument( $this->getContainer()->get( 'options_api' )->get( 'settings', [] ) ); + } +} diff --git a/inc/classes/admin/class-abstract-options.php b/inc/classes/admin/class-abstract-options.php new file mode 100644 index 0000000..f737032 --- /dev/null +++ b/inc/classes/admin/class-abstract-options.php @@ -0,0 +1,63 @@ +get( $name ); + } +} diff --git a/inc/classes/admin/class-logs.php b/inc/classes/admin/class-logs.php new file mode 100644 index 0000000..ad352b1 --- /dev/null +++ b/inc/classes/admin/class-logs.php @@ -0,0 +1,183 @@ + [ 'enable_debug', 10, 2 ], + 'admin_post_rocket_download_debug_file' => 'download_debug_file', + 'admin_post_rocket_delete_debug_file' => 'delete_debug_file', + ]; + } + + /** ----------------------------------------------------------------------------------------- */ + /** DEBUG ACTIVATION ======================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Enable or disable the debug mode when settings are saved. + * + * @since 3.1.4 + * @access public + * @author Grégory Viguier + * + * @param array $newvalue An array of submitted options values. + * @param array $oldvalue An array of previous options values. + * @return array Updated submitted options values. + */ + public function enable_debug( $newvalue, $oldvalue ) { + if ( empty( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing + return $newvalue; + } + + if ( ! empty( $newvalue['debug_enabled'] ) ) { + Logger::enable_debug(); + } else { + Logger::disable_debug(); + } + + unset( $newvalue['debug_enabled'] ); + + return $newvalue; + } + + /** ----------------------------------------------------------------------------------------- */ + /** ADMIN POST CALLBACKS ==================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Download the log file. + * + * @since 3.1.4 + * @access public + * @author Grégory Viguier + */ + public function download_debug_file() { + if ( ! $this->verify_nonce( 'download_debug_file' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! $this->current_user_can() ) { + $this->redirect(); + } + + $contents = Logger::get_log_file_contents(); + + if ( is_wp_error( $contents ) ) { + add_settings_error( 'general', $contents->get_error_code(), $contents->get_error_message(), 'error' ); + set_transient( 'settings_errors', get_settings_errors(), 30 ); + + $this->redirect( add_query_arg( 'settings-updated', 1, wp_get_referer() ) ); + } + + $file_name = Logger::get_log_file_path(); + $file_name = basename( $file_name, '.log' ) . Logger::get_log_file_extension(); + + nocache_headers(); + @header( 'Content-Type: text/x-log' ); + @header( 'Content-Disposition: attachment; filename="' . $file_name . '"' ); + @header( 'Content-Transfer-Encoding: binary' ); + @header( 'Content-Length: ' . strlen( $contents ) ); + @header( 'Connection: close' ); + echo $contents; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + exit(); + } + + /** + * Delete the log file. + * + * @since 3.1.4 + * @access public + * @author Grégory Viguier + */ + public function delete_debug_file() { + if ( ! $this->verify_nonce( 'delete_debug_file' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! $this->current_user_can() ) { + $this->redirect(); + } + + if ( ! Logger::delete_log_file() ) { + add_settings_error( 'general', 'debug_file_not_deleted', __( 'The debug file could not be deleted.', 'rocket' ), 'error' ); + set_transient( 'settings_errors', get_settings_errors(), 30 ); + + $this->redirect( add_query_arg( 'settings-updated', 1, wp_get_referer() ) ); + } + + // Done. + $this->redirect(); + } + + + /** ----------------------------------------------------------------------------------------- */ + /** TOOLS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Verify the nonce sent in $_GET['_wpnonce']. + * + * @since 3.1.4 + * @access protected + * @author Grégory Viguier + * + * @param string $nonce_name The nonce name. + * @return bool + */ + protected function verify_nonce( $nonce_name ) { + return isset( $_GET['_wpnonce'] ) && wp_verify_nonce( $_GET['_wpnonce'], $nonce_name ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash + } + + /** + * Tell if the current user can operate. + * + * @since 3.1.4 + * @access protected + * @author Grégory Viguier + * + * @return bool + */ + protected function current_user_can() { + return current_user_can( 'rocket_manage_options' ); + } + + /** + * Redirect the user. + * + * @since 3.1.4 + * @access protected + * @author Grégory Viguier + * + * @param string $redirect URL to redirect the user to. + */ + protected function redirect( $redirect = null ) { + if ( empty( $redirect ) ) { + $redirect = wp_get_referer(); + } + + wp_safe_redirect( esc_url_raw( $redirect ) ); + die(); + } +} diff --git a/inc/classes/admin/class-options-data.php b/inc/classes/admin/class-options-data.php new file mode 100644 index 0000000..eb1e6e6 --- /dev/null +++ b/inc/classes/admin/class-options-data.php @@ -0,0 +1,124 @@ +options = $options; + } + + /** + * Checks if the provided key exists in the option data array. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $key key name. + * @return boolean true if it exists, false otherwise + */ + public function has( $key ) { + return isset( $this->options[ $key ] ); + } + + /** + * Gets the value associated with a specific key. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $key key name. + * @param mixed $default default value to return if key doesn't exist. + * @return mixed + */ + public function get( $key, $default = '' ) { + /** + * Pre-filter any WP Rocket option before read + * + * @since 2.5 + * + * @param mixed $default The default value. + */ + $value = apply_filters( 'pre_get_rocket_option_' . $key, null, $default ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + + if ( null !== $value ) { + return $value; + } + + if ( 'consumer_key' === $key && rocket_has_constant( 'WP_ROCKET_KEY' ) ) { + return WP_ROCKET_KEY; + } elseif ( 'consumer_email' === $key && rocket_has_constant( 'WP_ROCKET_EMAIL' ) ) { + return WP_ROCKET_EMAIL; + } + + if ( ! $this->has( $key ) ) { + return $default; + } + + /** + * Filter any WP Rocket option after read + * + * @since 2.5 + * + * @param mixed $default The default value. + */ + return apply_filters( 'get_rocket_option_' . $key, $this->options[ $key ], $default ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + } + + /** + * Sets the value associated with a specific key. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $key key name. + * @param mixed $value to set. + * @return void + */ + public function set( $key, $value ) { + $this->options[ $key ] = $value; + } + + /** + * Sets multiple values. + * + * @since 3.0 + * @author Remy Perona + * + * @param array $options An array of key/value pairs to set. + * @return void + */ + public function set_values( $options ) { + foreach ( $options as $key => $value ) { + $this->set( $key, $value ); + } + } + + /** + * Gets the option array. + * + * @since 3.0 + * @author Remy Perona + * + * @return array + */ + public function get_options() { + return $this->options; + } +} diff --git a/inc/classes/admin/class-options.php b/inc/classes/admin/class-options.php new file mode 100644 index 0000000..5da0bf7 --- /dev/null +++ b/inc/classes/admin/class-options.php @@ -0,0 +1,95 @@ +prefix = $prefix; + } + + /** + * Gets the option name used to store the option in the WordPress database. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $name Unprefixed name of the option. + * + * @return string Option name used to store it + */ + public function get_option_name( $name ) { + return $this->prefix . $name; + } + + /** + * Gets the option for the given name. Returns the default value if the value does not exist. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $name Name of the option to get. + * @param mixed $default Default value to return if the value does not exist. + * + * @return mixed + */ + public function get( $name, $default = null ) { + $option = get_option( $this->get_option_name( $name ), $default ); + + if ( is_array( $default ) && ! is_array( $option ) ) { + $option = (array) $option; + } + + return $option; + } + + /** + * Sets the value of an option. Update the value if the option for the given name already exists. + * + * @since 3.0 + * @author Remy Perona + * @param string $name Name of the option to set. + * @param mixed $value Value to set for the option. + * + * @return void + */ + public function set( $name, $value ) { + update_option( $this->get_option_name( $name ), $value ); + } + + /** + * Deletes the option with the given name. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $name Name of the option to delete. + * + * @return void + */ + public function delete( $name ) { + delete_option( $this->get_option_name( $name ) ); + } +} diff --git a/inc/classes/class-abstract-render.php b/inc/classes/class-abstract-render.php new file mode 100644 index 0000000..578aed9 --- /dev/null +++ b/inc/classes/class-abstract-render.php @@ -0,0 +1,156 @@ +template_path = $template_path; + } + + /** + * Renders the given template if it's readable. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $template Template slug. + * @param array $data Data to pass to the template. + */ + public function generate( $template, $data = [] ) { + $template_path = $this->get_template_path( $template ); + + if ( ! rocket_direct_filesystem()->is_readable( $template_path ) ) { + return; + } + + ob_start(); + + include $template_path; + + return trim( ob_get_clean() ); + } + + /** + * Returns the path a specific template. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $path Relative path to the template. + * @return string + */ + private function get_template_path( $path ) { + return $this->template_path . '/' . $path . '.php'; + } + + /** + * Displays the button template. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $type Type of button (can be button or link). + * @param string $action Action to be performed. + * @param array $args Optional array of arguments to populate the button attributes. + * @return void + */ + public function render_action_button( $type, $action, $args = [] ) { + $default = [ + 'label' => '', + 'action' => '', + 'url' => '', + 'parameter' => '', + 'attributes' => '', + ]; + + $args = wp_parse_args( $args, $default ); + + if ( ! empty( $args['attributes'] ) ) { + $attributes = ''; + foreach ( $args['attributes'] as $key => $value ) { + $attributes .= ' ' . sanitize_key( $key ) . '="' . esc_attr( $value ) . '"'; + } + + $args['attributes'] = $attributes; + } + + if ( 'link' !== $type ) { + $args['action'] = $action; + echo $this->generate( 'buttons/button', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + return; + } + + switch ( $action ) { + case 'ask_support': + case 'view_account': + $args['url'] = rocket_get_external_url( + 'ask_support' === $action ? 'support' : 'account', + [ + 'utm_source' => 'wp_plugin', + 'utm_medium' => 'wp_rocket', + ] + ); + break; + case 'purge_cache': + case 'preload': + case 'rocket_purge_cloudflare': + case 'rocket_purge_sucuri': + case 'rocket_rollback': + case 'rocket_export': + case 'rocket_generate_critical_css': + case 'rocket_purge_rocketcdn': + case 'rocket_clear_usedcss': + $referer = ''; + + if ( ! empty( $_SERVER['REQUEST_URI'] ) ) { + $referer = filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ), FILTER_SANITIZE_URL ); + $referer = '&_wp_http_referer=' . rawurlencode( remove_query_arg( 'fl_builder', $referer ) ); + } + + $url = admin_url( 'admin-post.php?action=' . $action ); + + $url .= $referer; + + if ( ! empty( $args['parameters'] ) ) { + $url = add_query_arg( $args['parameters'], $url ); + } + + if ( 'purge_cache' === $action ) { + $action .= '_all'; + } + + $args['url'] = wp_nonce_url( $url, $action ); + break; + case 'documentation': + $args['url'] = get_rocket_documentation_url(); + break; + } + + echo $this->generate( 'buttons/link', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } +} diff --git a/inc/classes/class-wp-rocket-requirements-check.php b/inc/classes/class-wp-rocket-requirements-check.php new file mode 100644 index 0000000..fa59a64 --- /dev/null +++ b/inc/classes/class-wp-rocket-requirements-check.php @@ -0,0 +1,251 @@ +$setting = $args[ $setting ]; + } + } + + $this->plugin_last_version = version_compare( PHP_VERSION, '5.3' ) >= 0 ? $this->plugin_last_version : '2.10.12'; + $this->options = get_option( 'wp_rocket_settings' ); + } + + /** + * Checks if all requirements are ok, if not, display a notice and the rollback + * + * @since 3.0 + * @author Remy Perona + * + * @return bool + */ + public function check() { + if ( ! $this->php_passes() || ! $this->wp_passes() ) { + + add_action( 'admin_notices', [ $this, 'notice' ] ); + add_action( 'admin_post_rocket_rollback', [ $this, 'rollback' ] ); + add_filter( 'http_request_args', [ $this, 'add_own_ua' ], 10, 2 ); + + return false; + } + + return true; + } + + /** + * Checks if the current PHP version is equal or superior to the required PHP version + * + * @since 3.0 + * @author Remy Perona + * + * @return bool + */ + private function php_passes() { + return version_compare( PHP_VERSION, $this->php_version ) >= 0; + } + + /** + * Checks if the current WordPress version is equal or superior to the required PHP version + * + * @since 3.0 + * @author Remy Perona + * + * @return bool + */ + private function wp_passes() { + global $wp_version; + + return version_compare( $wp_version, $this->wp_version ) >= 0; + } + + /** + * Warns if PHP or WP version are less than the defined values and offer rollback. + * + * @since 3.0 Updated minimum PHP version to 5.4 and minimum WordPress version to 4.2 + * @since 3.0 Moved to class + * @since 2.11 + * @author Remy Perona + */ + public function notice() { + if ( ! current_user_can( 'manage_options' ) ) { + return; + } + + // Translators: %1$s = Plugin name, %2$s = Plugin version. + $message = '

    ' . sprintf( __( 'To function properly, %1$s %2$s requires at least:', 'rocket' ), $this->plugin_name, $this->plugin_version ) . '

      '; + + if ( ! $this->php_passes() ) { + // Translators: %1$s = PHP version required. + $message .= '
    • ' . sprintf( __( 'PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher.', 'rocket' ), $this->php_version ) . '
    • '; + } + + if ( ! $this->wp_passes() ) { + // Translators: %1$s = WordPress version required. + $message .= '
    • ' . sprintf( __( 'WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher.', 'rocket' ), $this->wp_version ) . '
    • '; + } + + $message .= '

    ' . __( 'If you are not able to upgrade, you can rollback to the previous version by using the button below.', 'rocket' ) . '

    ' . + // Translators: %s = Previous plugin version. + sprintf( __( 'Re-install version %s', 'rocket' ), $this->plugin_last_version ) + . '

    '; + + echo '
    ' . wp_kses_post( $message ) . '
    '; + } + + /** + * Do the rollback + * + * @since 3.0 + * @author Remy Perona + */ + public function rollback() { + check_ajax_referer( 'rocket_rollback' ); + + if ( ! current_user_can( 'manage_options' ) ) { + wp_die(); + } + + $consumer_key = isset( $this->options['consumer_key'] ) ? $this->options['consumer_key'] : false; + + if ( ! $consumer_key && defined( 'WP_ROCKET_KEY' ) ) { + $consumer_key = WP_ROCKET_KEY; + } + + $plugin_transient = get_site_transient( 'update_plugins' ); + $plugin_folder = plugin_basename( dirname( $this->plugin_file ) ); + $plugin_file = basename( $this->plugin_file ); + $url = sprintf( 'https://wp-rocket.me/%s/wp-rocket_%s.zip', $consumer_key, $this->plugin_last_version ); + $temp_array = [ + 'slug' => $plugin_folder, + 'new_version' => $this->plugin_last_version, + 'url' => 'https://wp-rocket.me', + 'package' => $url, + ]; + + $temp_object = (object) $temp_array; + $plugin_transient->response[ $plugin_folder . '/' . $plugin_file ] = $temp_object; + set_site_transient( 'update_plugins', $plugin_transient ); + + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + // translators: %s is the plugin name. + $title = sprintf( __( '%s Update Rollback', 'rocket' ), $this->plugin_name ); + $plugin = 'wp-rocket/wp-rocket.php'; + $nonce = 'upgrade-plugin_' . $plugin; + $url = 'update.php?action=upgrade-plugin&plugin=' . rawurlencode( $plugin ); + $upgrader_skin = new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) ); + $upgrader = new Plugin_Upgrader( $upgrader_skin ); + remove_filter( 'site_transient_update_plugins', 'rocket_check_update', 1 ); + $upgrader->upgrade( $plugin ); + wp_die( + '', + // translators: %s is the plugin name. + sprintf( esc_html__( '%s Update Rollback', 'rocket' ), esc_html( $this->plugin_name ) ), + [ + 'response' => 200, + ] + ); + } + + /** + * Filters the User Agent when doing a request to WP Rocket server + * + * @since 3.0 + * @author Remy Perona + * + * @param array $request Array of arguments associated with the request. + * @param string $url URL requested. + */ + public function add_own_ua( $request, $url ) { + if ( strpos( $url, 'wp-rocket.me' ) === false ) { + return $request; + } + + $consumer_key = isset( $this->options['consumer_key'] ) ? $this->options['consumer_key'] : false; + + if ( ! $consumer_key && defined( 'WP_ROCKET_KEY' ) ) { + $consumer_key = WP_ROCKET_KEY; + } + + $consumer_email = isset( $this->options['consumer_email'] ) ? $this->options['consumer_email'] : false; + + if ( ! $consumer_email && defined( 'WP_ROCKET_EMAIL' ) ) { + $consumer_email = WP_ROCKET_EMAIL; + } + + $request['user-agent'] = sprintf( '%s;WP-Rocket|%s%s|%s|%s|%s|;', $request['user-agent'], $this->plugin_version, '', $consumer_key, $consumer_email, esc_url( home_url() ) ); + + return $request; + } +} diff --git a/inc/classes/dependencies/.gitkeep b/inc/classes/dependencies/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php b/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php new file mode 100644 index 0000000..cfb51b9 --- /dev/null +++ b/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php @@ -0,0 +1,1692 @@ + (since 2012) + * @author Nick Ilyin + * @author: Victor Stanciu (original author) + * + * @version 2.8.41 + * + * Auto-generated isXXXX() magic methods. + * php -a examples/dump_magic_methods.php + * + * @method bool isiPhone() + * @method bool isBlackBerry() + * @method bool isPixel() + * @method bool isHTC() + * @method bool isNexus() + * @method bool isDell() + * @method bool isMotorola() + * @method bool isSamsung() + * @method bool isLG() + * @method bool isSony() + * @method bool isAsus() + * @method bool isXiaomi() + * @method bool isNokiaLumia() + * @method bool isMicromax() + * @method bool isPalm() + * @method bool isVertu() + * @method bool isPantech() + * @method bool isFly() + * @method bool isWiko() + * @method bool isiMobile() + * @method bool isSimValley() + * @method bool isWolfgang() + * @method bool isAlcatel() + * @method bool isNintendo() + * @method bool isAmoi() + * @method bool isINQ() + * @method bool isOnePlus() + * @method bool isGenericPhone() + * @method bool isiPad() + * @method bool isNexusTablet() + * @method bool isGoogleTablet() + * @method bool isSamsungTablet() + * @method bool isKindle() + * @method bool isSurfaceTablet() + * @method bool isHPTablet() + * @method bool isAsusTablet() + * @method bool isBlackBerryTablet() + * @method bool isHTCtablet() + * @method bool isMotorolaTablet() + * @method bool isNookTablet() + * @method bool isAcerTablet() + * @method bool isToshibaTablet() + * @method bool isLGTablet() + * @method bool isFujitsuTablet() + * @method bool isPrestigioTablet() + * @method bool isLenovoTablet() + * @method bool isDellTablet() + * @method bool isYarvikTablet() + * @method bool isMedionTablet() + * @method bool isArnovaTablet() + * @method bool isIntensoTablet() + * @method bool isIRUTablet() + * @method bool isMegafonTablet() + * @method bool isEbodaTablet() + * @method bool isAllViewTablet() + * @method bool isArchosTablet() + * @method bool isAinolTablet() + * @method bool isNokiaLumiaTablet() + * @method bool isSonyTablet() + * @method bool isPhilipsTablet() + * @method bool isCubeTablet() + * @method bool isCobyTablet() + * @method bool isMIDTablet() + * @method bool isMSITablet() + * @method bool isSMiTTablet() + * @method bool isRockChipTablet() + * @method bool isFlyTablet() + * @method bool isbqTablet() + * @method bool isHuaweiTablet() + * @method bool isNecTablet() + * @method bool isPantechTablet() + * @method bool isBronchoTablet() + * @method bool isVersusTablet() + * @method bool isZyncTablet() + * @method bool isPositivoTablet() + * @method bool isNabiTablet() + * @method bool isKoboTablet() + * @method bool isDanewTablet() + * @method bool isTexetTablet() + * @method bool isPlaystationTablet() + * @method bool isTrekstorTablet() + * @method bool isPyleAudioTablet() + * @method bool isAdvanTablet() + * @method bool isDanyTechTablet() + * @method bool isGalapadTablet() + * @method bool isMicromaxTablet() + * @method bool isKarbonnTablet() + * @method bool isAllFineTablet() + * @method bool isPROSCANTablet() + * @method bool isYONESTablet() + * @method bool isChangJiaTablet() + * @method bool isGUTablet() + * @method bool isPointOfViewTablet() + * @method bool isOvermaxTablet() + * @method bool isHCLTablet() + * @method bool isDPSTablet() + * @method bool isVistureTablet() + * @method bool isCrestaTablet() + * @method bool isMediatekTablet() + * @method bool isConcordeTablet() + * @method bool isGoCleverTablet() + * @method bool isModecomTablet() + * @method bool isVoninoTablet() + * @method bool isECSTablet() + * @method bool isStorexTablet() + * @method bool isVodafoneTablet() + * @method bool isEssentielBTablet() + * @method bool isRossMoorTablet() + * @method bool isiMobileTablet() + * @method bool isTolinoTablet() + * @method bool isAudioSonicTablet() + * @method bool isAMPETablet() + * @method bool isSkkTablet() + * @method bool isTecnoTablet() + * @method bool isJXDTablet() + * @method bool isiJoyTablet() + * @method bool isFX2Tablet() + * @method bool isXoroTablet() + * @method bool isViewsonicTablet() + * @method bool isVerizonTablet() + * @method bool isOdysTablet() + * @method bool isCaptivaTablet() + * @method bool isIconbitTablet() + * @method bool isTeclastTablet() + * @method bool isOndaTablet() + * @method bool isJaytechTablet() + * @method bool isBlaupunktTablet() + * @method bool isDigmaTablet() + * @method bool isEvolioTablet() + * @method bool isLavaTablet() + * @method bool isAocTablet() + * @method bool isMpmanTablet() + * @method bool isCelkonTablet() + * @method bool isWolderTablet() + * @method bool isMediacomTablet() + * @method bool isMiTablet() + * @method bool isNibiruTablet() + * @method bool isNexoTablet() + * @method bool isLeaderTablet() + * @method bool isUbislateTablet() + * @method bool isPocketBookTablet() + * @method bool isKocasoTablet() + * @method bool isHisenseTablet() + * @method bool isHudl() + * @method bool isTelstraTablet() + * @method bool isGenericTablet() + * @method bool isAndroidOS() + * @method bool isBlackBerryOS() + * @method bool isPalmOS() + * @method bool isSymbianOS() + * @method bool isWindowsMobileOS() + * @method bool isWindowsPhoneOS() + * @method bool isiOS() + * @method bool isiPadOS() + * @method bool isSailfishOS() + * @method bool isMeeGoOS() + * @method bool isMaemoOS() + * @method bool isJavaOS() + * @method bool iswebOS() + * @method bool isbadaOS() + * @method bool isBREWOS() + * @method bool isChrome() + * @method bool isDolfin() + * @method bool isOpera() + * @method bool isSkyfire() + * @method bool isEdge() + * @method bool isIE() + * @method bool isFirefox() + * @method bool isBolt() + * @method bool isTeaShark() + * @method bool isBlazer() + * @method bool isSafari() + * @method bool isWeChat() + * @method bool isUCBrowser() + * @method bool isbaiduboxapp() + * @method bool isbaidubrowser() + * @method bool isDiigoBrowser() + * @method bool isMercury() + * @method bool isObigoBrowser() + * @method bool isNetFront() + * @method bool isGenericBrowser() + * @method bool isPaleMoon() + * @method bool isBot() + * @method bool isMobileBot() + * @method bool isDesktopMode() + * @method bool isTV() + * @method bool isWebKit() + * @method bool isConsole() + * @method bool isWatch() + + */ +class WP_Rocket_Mobile_Detect +{ + /** + * Mobile detection type. + * + * @deprecated since version 2.6.9 + */ + const DETECTION_TYPE_MOBILE = 'mobile'; + + /** + * Extended detection type. + * + * @deprecated since version 2.6.9 + */ + const DETECTION_TYPE_EXTENDED = 'extended'; + + /** + * A frequently used regular expression to extract version #s. + * + * @deprecated since version 2.6.9 + */ + const VER = '([\w._\+]+)'; + + /** + * Top-level device. + */ + const MOBILE_GRADE_A = 'A'; + + /** + * Mid-level device. + */ + const MOBILE_GRADE_B = 'B'; + + /** + * Low-level device. + */ + const MOBILE_GRADE_C = 'C'; + + /** + * Stores the version number of the current release. + */ + const VERSION = '2.8.41'; + + /** + * A type WP_Rocket_for the version() method indicating a string return value. + */ + const VERSION_TYPE_STRING = 'text'; + + /** + * A type WP_Rocket_for the version() method indicating a float return value. + */ + const VERSION_TYPE_FLOAT = 'float'; + + /** + * A cache WP_Rocket_for resolved matches + * @var array + */ + protected $cache = array(); + + /** + * The User-Agent HTTP header is stored in here. + * @var string + */ + protected $userAgent = null; + + /** + * HTTP headers in the PHP-flavor. So HTTP_USER_AGENT and SERVER_SOFTWARE. + * @var array + */ + protected $httpHeaders = array(); + + /** + * CloudFront headers. E.g. CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer & CloudFront-Is-Tablet-Viewer. + * @var array + */ + protected $cloudfrontHeaders = array(); + + /** + * The matching Regex. + * This is good WP_Rocket_for debug. + * @var string + */ + protected $matchingRegex = null; + + /** + * The matches extracted from the regex expression. + * This is good WP_Rocket_for debug. + * + * @var string + */ + protected $matchesArray = null; + + /** + * The detection type, using self::DETECTION_TYPE_MOBILE or self::DETECTION_TYPE_EXTENDED. + * + * @deprecated since version 2.6.9 + * + * @var string + */ + protected $detectionType = self::DETECTION_TYPE_MOBILE; + + /** + * HTTP headers that trigger the 'isMobile' detection + * to be true. + * + * @var array + */ + protected static $mobileHeaders = array( + + 'HTTP_ACCEPT' => array('matches' => array( + // Opera Mini; @reference: http://dev.opera.com/articles/view/opera-binary-markup-language/ + 'application/x-obml2d', + // BlackBerry devices. + 'application/vnd.rim.html', + 'text/vnd.wap.wml', + 'application/vnd.wap.xhtml+xml' + )), + 'HTTP_X_WAP_PROFILE' => null, + 'HTTP_X_WAP_CLIENTID' => null, + 'HTTP_WAP_CONNECTION' => null, + 'HTTP_PROFILE' => null, + // Reported by Opera on Nokia devices (eg. C3). + 'HTTP_X_OPERAMINI_PHONE_UA' => null, + 'HTTP_X_NOKIA_GATEWAY_ID' => null, + 'HTTP_X_ORANGE_ID' => null, + 'HTTP_X_VODAFONE_3GPDPCONTEXT' => null, + 'HTTP_X_HUAWEI_USERID' => null, + // Reported by Windows Smartphones. + 'HTTP_UA_OS' => null, + // Reported by Verizon, Vodafone proxy system. + 'HTTP_X_MOBILE_GATEWAY' => null, + // Seen this on HTC Sensation. SensationXE_Beats_Z715e. + 'HTTP_X_ATT_DEVICEID' => null, + // Seen this on a HTC. + 'HTTP_UA_CPU' => array('matches' => array('ARM')), + ); + + /** + * List of mobile devices (phones). + * + * @var array + */ + protected static $phoneDevices = array( + 'iPhone' => '\biPhone\b|\biPod\b', // |\biTunes + 'BlackBerry' => 'BlackBerry|\bBB10\b|rim[0-9]+|\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\b-[0-9]+', + 'Pixel' => '; \bPixel\b', + 'HTC' => 'HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel', + 'Nexus' => 'Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6', + // @todo: Is 'Dell Streak' a tablet or a phone? ;) + 'Dell' => 'Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b', + 'Motorola' => 'Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\bMoto E\b|XT1068|XT1092|XT1052', + 'Samsung' => '\bSamsung\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F|SM-G988N|SM-G781B|SM-A805N|SM-G965F', + 'LG' => '\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710', + 'Sony' => 'SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332', + 'Asus' => 'Asus.*Galaxy|PadFone.*Mobile|ASUS_Z01QD|ASUS_X00TD', + 'Xiaomi' => '^(?!.*\bx11\b).*xiaomi.*$|POCOPHONE F1|\bMI\b 8|\bMi\b 10|Redmi Note 9S|Redmi 5A|Redmi Note 5A Prime|Redmi Note 7 Pro|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G|M2012K11C|M2007J1SC', + 'NokiaLumia' => 'Lumia [0-9]{3,4}', + // http://www.micromaxinfo.com/mobiles/smartphones + // Added because the codes might conflict with Acer Tablets. + 'Micromax' => 'Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b', + // @todo Complete the regex. + 'Palm' => 'PalmSource|Palm', // avantgo|blazer|elaine|hiptop|plucker|xiino ; + 'Vertu' => 'Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature', // Just WP_Rocket_for fun ;) + // http://www.pantech.co.kr/en/prod/prodList.do?gbrand=VEGA (PANTECH) + // Most of the VEGA devices are legacy. PANTECH seem to be newer devices based on Android. + 'Pantech' => 'PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790', + // http://www.fly-phone.com/devices/smartphones/ ; Included only smartphones. + 'Fly' => 'IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250', + // http://fr.wikomobile.com + 'Wiko' => 'KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM', + 'iMobile' => 'i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)', + // Added simvalley mobile WP_Rocket_just WP_Rocket_for fun. They have some interesting devices. + // http://www.simvalley.fr/telephonie---gps-_22_telephonie-mobile_telephones_.html + 'SimValley' => '\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b', + // Wolfgang - a brand that is sold by Aldi supermarkets. + // http://www.wolfgangmobile.com/ + 'Wolfgang' => 'AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q', + 'Alcatel' => 'Alcatel', + 'Nintendo' => 'Nintendo (3DS|Switch)', + // http://en.wikipedia.org/wiki/Amoi + 'Amoi' => 'Amoi', + // http://en.wikipedia.org/wiki/INQ + 'INQ' => 'INQ', + 'OnePlus' => 'ONEPLUS', + // @Tapatalk is a mobile app; http://support.tapatalk.com/threads/smf-2-0-2-os-and-browser-detection-plugin-and-tapatalk.15565/#post-79039 + 'GenericPhone' => 'Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser', + ); + + /** + * List of tablet devices. + * + * @var array + */ + protected static $tabletDevices = array( + // @todo: check WP_Rocket_for mobile friendly emails topic. + 'iPad' => 'iPad|iPad.*Mobile', + // Removed |^.*Android.*Nexus(?!(?:Mobile).)*$ + // @see #442 + // @todo Merge NexusTablet into GoogleTablet. + 'NexusTablet' => 'Android.*Nexus[\s]+(7|9|10)', + // https://en.wikipedia.org/wiki/Pixel_C + 'GoogleTablet' => 'Android.*Pixel C', + 'SamsungTablet' => 'SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860|SM-T536|SM-T837A|SM-X200|SM-T220|SM-T870|SM-X906C', // SCH-P709|SCH-P729|SM-T2558|GT-I9205 - Samsung Mega - treat them like a regular phone. + // http://docs.aws.amazon.com/silk/latest/developerguide/user-agent.html + 'Kindle' => 'Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)', + // Only the Surface tablets with Windows RT are considered mobile. + // http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx + 'SurfaceTablet' => 'Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)', + // http://shopping1.hp.com/is-bin/INTERSHOP.enfinity/WFS/WW-USSMBPublicStore-Site/en_US/-/USD/ViewStandardCatalog-Browse?CatalogCategoryID=JfIQ7EN5lqMAAAEyDcJUDwMT + 'HPTablet' => 'HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10', + // Watch out WP_Rocket_for PadFone, see #132. + // http://www.asus.com/de/Tablets_Mobile/Memo_Pad_Products/ + 'AsusTablet' => '^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|\bK00C\b|\bK00E\b|\bK00L\b|TX201LA|ME176C|ME102A|\bM80TA\b|ME372CL|ME560CG|ME372CG|ME302KL| K01A | K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\bME70C\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\bP027\b|\bP024\b|\bP00C\b', + 'BlackBerryTablet' => 'PlayBook|RIM Tablet', + 'HTCtablet' => 'HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410', + 'MotorolaTablet' => 'xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617', + 'NookTablet' => 'Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2', + // http://www.acer.ro/ac/ro/RO/content/drivers + // http://www.packardbell.co.uk/pb/en/GB/content/download (Packard Bell is part of Acer) + // http://us.acer.com/ac/en/US/content/group/tablets + // http://www.acer.de/ac/de/DE/content/models/tablets/ + // Can conflict with Micromax and Motorola phones codes. + 'AcerTablet' => 'Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\b|W3-810|\bA3-A10\b|\bA3-A11\b|\bA3-A20\b|\bA3-A30|A3-A40', + // http://eu.computers.toshiba-europe.com/innovation/family/Tablets/1098744/banner_id/tablet_footerlink/ + // http://us.toshiba.com/tablets/tablet-finder + // http://www.toshiba.co.jp/regza/tablet/ + 'ToshibaTablet' => 'Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO', + // http://www.nttdocomo.co.jp/english/service/developer/smart_phone/technical_info/spec/index.html + // http://www.lg.com/us/tablets + 'LGTablet' => '\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b', + 'FujitsuTablet' => 'Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b', + // Prestigio Tablets http://www.prestigio.com/support + 'PrestigioTablet' => 'PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002', + // http://support.lenovo.com/en_GB/downloads/default.page?# + 'LenovoTablet' => 'Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L|TB-J606F|TB-X606F|TB-X306X|YT-J706X', + // http://www.dell.com/support/home/us/en/04/Products/tab_mob/tablets + 'DellTablet' => 'Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7', + 'XiaomiTablet' => '21051182G', + // http://www.yarvik.com/en/matrix/tablets/ + 'YarvikTablet' => 'Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b', + 'MedionTablet' => 'Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB', + 'ArnovaTablet' => '97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2', + // http://www.intenso.de/kategorie_en.php?kategorie=33 + // @todo: http://www.nbhkdz.com/read/b8e64202f92a2df129126bff.html - investigate + 'IntensoTablet' => 'INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004', + // IRU.ru Tablets http://www.iru.ru/catalog/soho/planetable/ + 'IRUTablet' => 'M702pro', + 'MegafonTablet' => 'MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b', + // http://www.e-boda.ro/tablete-pc.html + 'EbodaTablet' => 'E-Boda (Supreme|Impresspeed|Izzycomm|Essential)', + // http://www.allview.ro/produse/droseries/lista-tablete-pc/ + 'AllViewTablet' => 'Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)', + // http://wiki.archosfans.com/index.php?title=Main_Page + // @note Rewrite the regex format after we add more UAs. + 'ArchosTablet' => '\b(101G9|80G9|A101IT)\b|Qilive 97R|Archos5|\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\b', + // http://www.ainol.com/plugin.php?identifier=ainol&module=product + 'AinolTablet' => 'NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark', + 'NokiaLumiaTablet' => 'Lumia 2520', + // @todo: inspect http://esupport.sony.com/US/p/select-system.pl?DIRECTOR=DRIVER + // Readers http://www.atsuhiro-me.net/ebook/sony-reader/sony-reader-web-browser + // http://www.sony.jp/support/tablet/ + 'SonyTablet' => 'Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712', + // http://www.support.philips.com/support/catalog/worldproducts.jsp?userLanguage=en&userCountry=cn&categoryid=3G_LTE_TABLET_SU_CN_CARE&title=3G%20tablets%20/%20LTE%20range&_dyncharset=UTF-8 + 'PhilipsTablet' => '\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b', + // db + http://www.cube-tablet.com/buy-products.html + 'CubeTablet' => 'Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT', + // http://www.cobyusa.com/?p=pcat&pcat_id=3001 + 'CobyTablet' => 'MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010', + // http://www.match.net.cn/products.asp + 'MIDTablet' => 'M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10', + // http://www.msi.com/support + // @todo Research the Windows Tablets. + 'MSITablet' => 'MSI \b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\b', + // @todo http://www.kyoceramobile.com/support/drivers/ + // 'KyoceraTablet' => null, + // @todo http://intexuae.com/index.php/category/mobile-devices/tablets-products/ + // 'IntextTablet' => null, + // http://pdadb.net/index.php?m=pdalist&list=SMiT (NoName Chinese Tablets) + // http://www.imp3.net/14/show.php?itemid=20454 + 'SMiTTablet' => 'Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)', + // http://www.rock-chips.com/index.php?do=prod&pid=2 + 'RockChipTablet' => 'Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A', + // http://www.fly-phone.com/devices/tablets/ ; http://www.fly-phone.com/service/ + 'FlyTablet' => 'IQ310|Fly Vision', + // http://www.bqreaders.com/gb/tablets-prices-sale.html + 'bqTablet' => 'Android.*(bq)?.*\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\b|Maxwell.*Lite|Maxwell.*Plus', + // http://www.huaweidevice.com/worldwide/productFamily.do?method=index&directoryId=5011&treeId=3290 + // http://www.huaweidevice.com/worldwide/downloadCenter.do?method=index&directoryId=3372&treeId=0&tb=1&type=software (including legacy tablets) + 'HuaweiTablet' => 'MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19|KOB2-L09|BG2-U01|BG2-W09|BG2-U03', + // Nec or Medias Tab + 'NecTablet' => '\bN-06D|\bN-08D', + // Pantech Tablets: http://www.pantechusa.com/phones/ + 'PantechTablet' => 'Pantech.*P4100', + // Broncho Tablets: http://www.broncho.cn/ (hard to find) + 'BronchoTablet' => 'Broncho.*(N701|N708|N802|a710)', + // http://versusuk.com/support.html + 'VersusTablet' => 'TOUCHPAD.*[78910]|\bTOUCHTAB\b', + // http://www.zync.in/index.php/our-products/tablet-phablets + 'ZyncTablet' => 'z1000|Z99 2G|z930|z990|z909|Z919|z900', // Removed "z999" because of https://github.com/serbanghita/Mobile-Detect/issues/717 + // http://www.positivoinformatica.com.br/www/pessoal/tablet-ypy/ + 'PositivoTablet' => 'TB07STA|TB10STA|TB07FTA|TB10FTA', + // https://www.nabitablet.com/ + 'NabiTablet' => 'Android.*\bNabi', + 'KoboTablet' => 'Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build', + // French Danew Tablets http://www.danew.com/produits-tablette.php + 'DanewTablet' => 'DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b', + // Texet Tablets and Readers http://www.texet.ru/tablet/ + 'TexetTablet' => 'NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE', + // Avoid detecting 'PLAYSTATION 3' as mobile. + 'PlaystationTablet' => 'Playstation.*(Portable|Vita)', + // http://www.trekstor.de/surftabs.html + 'TrekstorTablet' => 'ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab', + // http://www.pyleaudio.com/Products.aspx?%2fproducts%2fPersonal-Electronics%2fTablets + 'PyleAudioTablet' => '\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b', + // http://www.advandigital.com/index.php?link=content-product&jns=JP001 + // because of the short codenames we have to include whitespaces to reduce the possible conflicts. + 'AdvanTablet' => 'Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b ', + // http://www.danytech.com/category/tablet-pc + 'DanyTechTablet' => 'Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1', + // http://www.galapad.net/product.html ; https://github.com/serbanghita/Mobile-Detect/issues/761 + 'GalapadTablet' => 'Android [0-9.]+; [a-z-]+; \bG1\b', + // http://www.micromaxinfo.com/tablet/funbook + 'MicromaxTablet' => 'Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b', + // http://www.karbonnmobiles.com/products_tablet.php + 'KarbonnTablet' => 'Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b', + // http://www.myallfine.com/Products.asp + 'AllFineTablet' => 'Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide', + // http://www.proscanvideo.com/products-search.asp?itemClass=TABLET&itemnmbr= + 'PROSCANTablet' => '\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b', + // http://www.yonesnav.com/products/products.php + 'YONESTablet' => 'BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026', + // http://www.cjshowroom.com/eproducts.aspx?classcode=004001001 + // China manufacturer makes tablets WP_Rocket_for different small brands (eg. http://www.zeepad.net/index.html) + 'ChangJiaTablet' => 'TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503', + // http://www.gloryunion.cn/products.asp + // http://www.allwinnertech.com/en/apply/mobile.html + // http://www.ptcl.com.pk/pd_content.php?pd_id=284 (EVOTAB) + // @todo: Softwiner tablets? + // aka. Cute or Cool tablets. Not sure yet, must research to avoid collisions. + 'GUTablet' => 'TX-A1301|TX-M9002|Q702|kf026', // A12R|D75A|D77|D79|R83|A95|A106C|R15|A75|A76|D71|D72|R71|R73|R77|D82|R85|D92|A97|D92|R91|A10F|A77F|W71F|A78F|W78F|W81F|A97F|W91F|W97F|R16G|C72|C73E|K72|K73|R96G + // http://www.pointofview-online.com/showroom.php?shop_mode=product_listing&category_id=118 + 'PointOfViewTablet' => 'TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10', + // http://www.overmax.pl/pl/katalog-produktow,p8/tablety,c14/ + // @todo: add more tests. + 'OvermaxTablet' => 'OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027', + // http://hclmetablet.com/India/index.php + 'HCLTablet' => 'HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync', + // http://www.edigital.hu/Tablet_es_e-book_olvaso/Tablet-c18385.html + 'DPSTablet' => 'DPS Dream 9|DPS Dual 7', + // http://www.visture.com/index.asp + 'VistureTablet' => 'V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10', + // http://www.mijncresta.nl/tablet + 'CrestaTablet' => 'CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989', + // MediaTek - http://www.mediatek.com/_en/01_products/02_proSys.php?cata_sn=1&cata1_sn=1&cata2_sn=309 + 'MediatekTablet' => '\bMT8125|MT8389|MT8135|MT8377\b', + // Concorde tab + 'ConcordeTablet' => 'Concorde([ ]+)?Tab|ConCorde ReadMan', + // GoClever Tablets - http://www.goclever.com/uk/products,c1/tablet,c5/ + 'GoCleverTablet' => 'GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042', + // Modecom Tablets - http://www.modecom.eu/tablets/portal/ + 'ModecomTablet' => 'FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003', + // Vonino Tablets + 'VoninoTablet' => '\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b', + // ECS Tablets - http://www.ecs.com.tw/ECSWebSite/Product/Product_Tablet_List.aspx?CategoryID=14&MenuID=107&childid=M_107&LanID=0 + 'ECSTablet' => 'V07OT2|TM105A|S10OT1|TR10CS1', + // Storex Tablets - http://storex.fr/espace_client/support.html + // @note: no need to add all the tablet codes since they are guided by the first regex. + 'StorexTablet' => 'eZee[_\']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab', + // Generic Vodafone tablets. + 'VodafoneTablet' => 'SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400', + // French tablets - Essentiel B http://www.boulanger.fr/tablette_tactile_e-book/tablette_tactile_essentiel_b/cl_68908.htm?multiChoiceToDelete=brand&mc_brand=essentielb + // Aka: http://www.essentielb.fr/ + 'EssentielBTablet' => 'Smart[ \']?TAB[ ]+?[0-9]+|Family[ \']?TAB2', + // Ross & Moor - http://ross-moor.ru/ + 'RossMoorTablet' => 'RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711', + // i-mobile http://product.i-mobilephone.com/Mobile_Device + 'iMobileTablet' => 'i-mobile i-note', + // http://www.tolino.de/de/vergleichen/ + 'TolinoTablet' => 'tolino tab [0-9.]+|tolino shine', + // AudioSonic - a Kmart brand + // http://www.kmart.com.au/webapp/wcs/stores/servlet/Search?langId=-1&storeId=10701&catalogId=10001&categoryId=193001&pageSize=72¤tPage=1&searchCategory=193001%2b4294965664&sortBy=p_MaxPrice%7c1 + 'AudioSonicTablet' => '\bC-22Q|T7-QC|T-17B|T-17P\b', + // AMPE Tablets - http://www.ampe.com.my/product-category/tablets/ + // @todo: add them gradually to avoid conflicts. + 'AMPETablet' => 'Android.* A78 ', + // Skk Mobile - http://skkmobile.com.ph/product_tablets.php + 'SkkTablet' => 'Android.* (SKYPAD|PHOENIX|CYCLOPS)', + // Tecno Mobile (only tablet) - http://www.tecno-mobile.com/index.php/product?filterby=smart&list_order=all&page=1 + 'TecnoTablet' => 'TECNO P9|TECNO DP8D', + // JXD (consoles & tablets) - http://jxd.hk/products.asp?selectclassid=009008&clsid=3 + 'JXDTablet' => 'Android.* \b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b', + // i-Joy tablets - http://www.i-joy.es/en/cat/products/tablets/ + 'iJoyTablet' => 'Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)', + // http://www.intracon.eu/tablet + 'FX2Tablet' => 'FX2 PAD7|FX2 PAD10', + // http://www.xoro.de/produkte/ + // @note: Might be the same brand with 'Simply tablets' + 'XoroTablet' => 'KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151', + // http://www1.viewsonic.com/products/computing/tablets/ + 'ViewsonicTablet' => 'ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a', + // https://www.verizonwireless.com/tablets/verizon/ + 'VerizonTablet' => 'QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1', + // http://www.odys.de/web/internet-tablet_en.html + 'OdysTablet' => 'LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10', + // http://www.captiva-power.de/products.html#tablets-en + 'CaptivaTablet' => 'CAPTIVA PAD', + // IconBIT - http://www.iconbit.com/products/tablets/ + 'IconbitTablet' => 'NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S', + // http://www.teclast.com/topic.php?channelID=70&topicID=140&pid=63 + 'TeclastTablet' => 'T98 4G|\bP80\b|\bX90HD\b|X98 Air|X98 Air 3G|\bX89\b|P80 3G|\bX80h\b|P98 Air|\bX89HD\b|P98 3G|\bP90HD\b|P89 3G|X98 3G|\bP70h\b|P79HD 3G|G18d 3G|\bP79HD\b|\bP89s\b|\bA88\b|\bP10HD\b|\bP19HD\b|G18 3G|\bP78HD\b|\bA78\b|\bP75\b|G17s 3G|G17h 3G|\bP85t\b|\bP90\b|\bP11\b|\bP98t\b|\bP98HD\b|\bG18d\b|\bP85s\b|\bP11HD\b|\bP88s\b|\bA80HD\b|\bA80se\b|\bA10h\b|\bP89\b|\bP78s\b|\bG18\b|\bP85\b|\bA70h\b|\bA70\b|\bG17\b|\bP18\b|\bA80s\b|\bA11s\b|\bP88HD\b|\bA80h\b|\bP76s\b|\bP76h\b|\bP98\b|\bA10HD\b|\bP78\b|\bP88\b|\bA11\b|\bA10t\b|\bP76a\b|\bP76t\b|\bP76e\b|\bP85HD\b|\bP85a\b|\bP86\b|\bP75HD\b|\bP76v\b|\bA12\b|\bP75a\b|\bA15\b|\bP76Ti\b|\bP81HD\b|\bA10\b|\bT760VE\b|\bT720HD\b|\bP76\b|\bP73\b|\bP71\b|\bP72\b|\bT720SE\b|\bC520Ti\b|\bT760\b|\bT720VE\b|T720-3GE|T720-WiFi', + // Onda - http://www.onda-tablet.com/buy-android-onda.html?dir=desc&limit=all&order=price + 'OndaTablet' => '\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\b[\s]+|V10 \b4G\b', + 'JaytechTablet' => 'TPC-PA762', + 'BlaupunktTablet' => 'Endeavour 800NG|Endeavour 1010', + // http://www.digma.ru/support/download/ + // @todo: Ebooks also (if requested) + 'DigmaTablet' => '\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b', + // http://www.evolioshop.com/ro/tablete-pc.html + // http://www.evolio.ro/support/downloads_static.html?cat=2 + // @todo: Research some more + 'EvolioTablet' => 'ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b', + // @todo http://www.lavamobiles.com/tablets-data-cards + 'LavaTablet' => 'QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b', + // http://www.breezetablet.com/ + 'AocTablet' => 'MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712', + // http://www.mpmaneurope.com/en/products/internet-tablets-14/android-tablets-14/ + 'MpmanTablet' => 'MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\bMPG7\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010', + // https://www.celkonmobiles.com/?_a=categoryphones&sid=2 + 'CelkonTablet' => 'CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b', + // http://www.wolderelectronics.com/productos/manuales-y-guias-rapidas/categoria-2-miTab + 'WolderTablet' => 'miTab \b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\b', + 'MediacomTablet' => 'M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA', + // http://www.mi.com/en + 'MiTablet' => '\bMI PAD\b|\bHM NOTE 1W\b', + // http://www.nbru.cn/index.html + 'NibiruTablet' => 'Nibiru M1|Nibiru Jupiter One', + // http://navroad.com/products/produkty/tablety/ + // http://navroad.com/products/produkty/tablety/ + 'NexoTablet' => 'NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI', + // http://leader-online.com/new_site/product-category/tablets/ + // http://www.leader-online.net.au/List/Tablet + 'LeaderTablet' => 'TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100', + // http://www.datawind.com/ubislate/ + 'UbislateTablet' => 'UbiSlate[\s]?7C', + // http://www.pocketbook-int.com/ru/support + 'PocketBookTablet' => 'Pocketbook', + // http://www.kocaso.com/product_tablet.html + 'KocasoTablet' => '\b(TB-1207)\b', + // http://global.hisense.com/product/asia/tablet/Sero7/201412/t20141215_91832.htm + 'HisenseTablet' => '\b(F5281|E2371)\b', + // http://www.tesco.com/direct/hudl/ + 'Hudl' => 'Hudl HT7S3|Hudl 2', + // http://www.telstra.com.au/home-phone/thub-2/ + 'TelstraTablet' => 'T-Hub2', + 'GenericTablet' => 'Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\bM6pro\b|CT1020W|arc 10HD|\bTP750\b|\bQTAQZ3\b|WVT101|TM1088|KT107' + ); + + /** + * List of mobile Operating Systems. + * + * @var array + */ + protected static $operatingSystems = array( + 'AndroidOS' => 'Android', + 'BlackBerryOS' => 'blackberry|\bBB10\b|rim tablet os', + 'PalmOS' => 'PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino', + 'SymbianOS' => 'Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b', + // @reference: http://en.wikipedia.org/wiki/Windows_Mobile + 'WindowsMobileOS' => 'Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;', + // @reference: http://en.wikipedia.org/wiki/Windows_Phone + // http://wifeng.cn/?r=blog&a=view&id=106 + // http://nicksnettravels.builttoroam.com/post/2011/01/10/Bogus-Windows-Phone-7-User-Agent-String.aspx + // http://msdn.microsoft.com/library/ms537503.aspx + // https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx + 'WindowsPhoneOS' => 'Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;', + 'iOS' => '\biPhone.*Mobile|\biPod|\biPad|AppleCoreMedia', + // https://en.wikipedia.org/wiki/IPadOS + 'iPadOS' => 'CPU OS 13', + // @reference https://en.m.wikipedia.org/wiki/Sailfish_OS + // https://sailfishos.org/ + 'SailfishOS' => 'Sailfish', + // http://en.wikipedia.org/wiki/MeeGo + // @todo: research MeeGo in UAs + 'MeeGoOS' => 'MeeGo', + // http://en.wikipedia.org/wiki/Maemo + // @todo: research Maemo in UAs + 'MaemoOS' => 'Maemo', + 'JavaOS' => 'J2ME/|\bMIDP\b|\bCLDC\b', // '|Java/' produces bug #135 + 'webOS' => 'webOS|hpwOS', + 'badaOS' => '\bBada\b', + 'BREWOS' => 'BREW', + ); + + /** + * List of mobile User Agents. + * + * IMPORTANT: This is a list of only mobile browsers. + * Mobile Detect 2.x supports only mobile browsers, + * it was never designed to detect all browsers. + * The change will come in 2017 in the 3.x release WP_Rocket_for PHP7. + * + * @var array + */ + protected static $browsers = array( + //'Vivaldi' => 'Vivaldi', + // @reference: https://developers.google.com/chrome/mobile/docs/user-agent + 'Chrome' => '\bCrMo\b|CriOS.*Mobile|Android.*Chrome/[.0-9]* Mobile', + 'Dolfin' => '\bDolfin\b', + 'Opera' => 'Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+', + 'Skyfire' => 'Skyfire', + // Added "Edge on iOS" https://github.com/serbanghita/Mobile-Detect/issues/764 + 'Edge' => 'EdgiOS.*Mobile|Mobile Safari/[.0-9]* Edge', + 'IE' => 'IEMobile|MSIEMobile', // |Trident/[.0-9]+ + 'Firefox' => 'fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS.*Mobile', + 'Bolt' => 'bolt', + 'TeaShark' => 'teashark', + 'Blazer' => 'Blazer', + // @reference: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3 + // Excluded "Edge on iOS" https://github.com/serbanghita/Mobile-Detect/issues/764 + 'Safari' => 'Version((?!\bEdgiOS\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari', + // http://en.wikipedia.org/wiki/Midori_(web_browser) + //'Midori' => 'midori', + //'Tizen' => 'Tizen', + 'WeChat' => '\bMicroMessenger\b', + 'UCBrowser' => 'UC.*Browser|UCWEB', + 'baiduboxapp' => 'baiduboxapp', + 'baidubrowser' => 'baidubrowser', + // https://github.com/serbanghita/Mobile-Detect/issues/7 + 'DiigoBrowser' => 'DiigoBrowser', + // http://www.puffinbrowser.com/index.php + // https://github.com/serbanghita/Mobile-Detect/issues/752 + // 'Puffin' => 'Puffin', + // http://mercury-browser.com/index.html + 'Mercury' => '\bMercury\b', + // http://en.wikipedia.org/wiki/Obigo_Browser + 'ObigoBrowser' => 'Obigo', + // http://en.wikipedia.org/wiki/NetFront + 'NetFront' => 'NF-Browser', + // @reference: http://en.wikipedia.org/wiki/Minimo + // http://en.wikipedia.org/wiki/Vision_Mobile_Browser + 'GenericBrowser' => 'NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger', + // @reference: https://en.wikipedia.org/wiki/Pale_Moon_(web_browser) + 'PaleMoon' => 'Android.*PaleMoon|Mobile.*PaleMoon', + ); + + /** + * Utilities. + * + * @var array + */ + protected static $utilities = array( + // Experimental. When a mobile device wants to switch to 'Desktop Mode'. + // http://scottcate.com/technology/windows-phone-8-ie10-desktop-or-mobile/ + // https://github.com/serbanghita/Mobile-Detect/issues/57#issuecomment-15024011 + // https://developers.facebook.com/docs/sharing/webmasters/crawler/ + 'Bot' => 'Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot', + 'MobileBot' => 'Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2', + 'DesktopMode' => 'WPDesktop', + 'TV' => 'SonyDTV|HbbTV', // experimental + 'WebKit' => '(webkit)[ /]([\w.]+)', + // @todo: Include JXD consoles. + 'Console' => '\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\b', + 'Watch' => 'SM-V700', + ); + + /** + * All possible HTTP headers that represent the + * User-Agent string. + * + * @var array + */ + protected static $uaHttpHeaders = array( + // The default User-Agent string. + 'HTTP_USER_AGENT', + // Header can occur on devices using Opera Mini. + 'HTTP_X_OPERAMINI_PHONE_UA', + // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/ + 'HTTP_X_DEVICE_USER_AGENT', + 'HTTP_X_ORIGINAL_USER_AGENT', + 'HTTP_X_SKYFIRE_PHONE', + 'HTTP_X_BOLT_PHONE_UA', + 'HTTP_DEVICE_STOCK_UA', + 'HTTP_X_UCBROWSER_DEVICE_UA' + ); + + /** + * The individual segments that could exist in a User-Agent string. VER refers to the regular + * expression defined in the constant self::VER. + * + * @var array + */ + protected static $properties = array( + + // Build + 'Mobile' => 'Mobile/[VER]', + 'Build' => 'Build/[VER]', + 'Version' => 'Version/[VER]', + 'VendorID' => 'VendorID/[VER]', + + // Devices + 'iPad' => 'iPad.*CPU[a-z ]+[VER]', + 'iPhone' => 'iPhone.*CPU[a-z ]+[VER]', + 'iPod' => 'iPod.*CPU[a-z ]+[VER]', + //'BlackBerry' => array('BlackBerry[VER]', 'BlackBerry [VER];'), + 'Kindle' => 'Kindle/[VER]', + + // Browser + 'Chrome' => array('Chrome/[VER]', 'CriOS/[VER]', 'CrMo/[VER]'), + 'Coast' => array('Coast/[VER]'), + 'Dolfin' => 'Dolfin/[VER]', + // @reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox + 'Firefox' => array('Firefox/[VER]', 'FxiOS/[VER]'), + 'Fennec' => 'Fennec/[VER]', + // http://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx + // https://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85).aspx + 'Edge' => 'Edge/[VER]', + 'IE' => array('IEMobile/[VER];', 'IEMobile [VER]', 'MSIE [VER];', 'Trident/[0-9.]+;.*rv:[VER]'), + // http://en.wikipedia.org/wiki/NetFront + 'NetFront' => 'NetFront/[VER]', + 'NokiaBrowser' => 'NokiaBrowser/[VER]', + 'Opera' => array( ' OPR/[VER]', 'Opera Mini/[VER]', 'Version/[VER]' ), + 'Opera Mini' => 'Opera Mini/[VER]', + 'Opera Mobi' => 'Version/[VER]', + 'UCBrowser' => array( 'UCWEB[VER]', 'UC.*Browser/[VER]' ), + 'MQQBrowser' => 'MQQBrowser/[VER]', + 'MicroMessenger' => 'MicroMessenger/[VER]', + 'baiduboxapp' => 'baiduboxapp/[VER]', + 'baidubrowser' => 'baidubrowser/[VER]', + 'SamsungBrowser' => 'SamsungBrowser/[VER]', + 'Iron' => 'Iron/[VER]', + // @note: Safari 7534.48.3 is actually Version 5.1. + // @note: On BlackBerry the Version is overwriten by the OS. + 'Safari' => array( 'Version/[VER]', 'Safari/[VER]' ), + 'Skyfire' => 'Skyfire/[VER]', + 'Tizen' => 'Tizen/[VER]', + 'Webkit' => 'webkit[ /][VER]', + 'PaleMoon' => 'PaleMoon/[VER]', + 'SailfishBrowser' => 'SailfishBrowser/[VER]', + + // Engine + 'Gecko' => 'Gecko/[VER]', + 'Trident' => 'Trident/[VER]', + 'Presto' => 'Presto/[VER]', + 'Goanna' => 'Goanna/[VER]', + + // OS + 'iOS' => ' \bi?OS\b [VER][ ;]{1}', + 'Android' => 'Android [VER]', + 'Sailfish' => 'Sailfish [VER]', + 'BlackBerry' => array('BlackBerry[\w]+/[VER]', 'BlackBerry.*Version/[VER]', 'Version/[VER]'), + 'BREW' => 'BREW [VER]', + 'Java' => 'Java/[VER]', + // @reference: http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/08/29/introducing-the-ie9-on-windows-phone-mango-user-agent-string.aspx + // @reference: http://en.wikipedia.org/wiki/Windows_NT#Releases + 'Windows Phone OS' => array( 'Windows Phone OS [VER]', 'Windows Phone [VER]'), + 'Windows Phone' => 'Windows Phone [VER]', + 'Windows CE' => 'Windows CE/[VER]', + // http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/6be392da-4d2f-41b4-8354-8dcee20c85cd + 'Windows NT' => 'Windows NT [VER]', + 'Symbian' => array('SymbianOS/[VER]', 'Symbian/[VER]'), + 'webOS' => array('webOS/[VER]', 'hpwOS/[VER];'), + ); + + /** + * Construct an instance of this class. + * + * @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored. + * If left empty, will use the global _SERVER['HTTP_*'] vars instead. + * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT + * from the $headers array instead. + */ + public function __construct( + array $headers = null, + $userAgent = null + ) { + $this->setHttpHeaders($headers); + $this->setUserAgent($userAgent); + } + + /** + * Get the current script version. + * This is useful WP_Rocket_for the demo.php file, + * so people can check on what version they are testing + * WP_Rocket_for mobile devices. + * + * @return string The version number in semantic version format. + */ + public static function getScriptVersion() + { + return self::VERSION; + } + + /** + * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers. + * + * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract + * the headers. The default null is left WP_Rocket_for backwards compatibility. + */ + public function setHttpHeaders($httpHeaders = null) + { + // use global _SERVER if $httpHeaders aren't defined + if (!is_array($httpHeaders) || !count($httpHeaders)) { + $httpHeaders = $_SERVER; + } + + // clear existing headers + $this->httpHeaders = array(); + + // Only save HTTP headers. In PHP land, that means only _SERVER vars that + // start with HTTP_. + foreach ($httpHeaders as $key => $value) { + if (substr($key, 0, 5) === 'HTTP_') { + $this->httpHeaders[$key] = $value; + } + } + + // In case we're dealing with CloudFront, we need to know. + $this->setCfHeaders($httpHeaders); + } + + /** + * Retrieves the HTTP headers. + * + * @return array + */ + public function getHttpHeaders() + { + return $this->httpHeaders; + } + + /** + * Retrieves a particular header. If it doesn't exist, no exception/error is caused. + * Simply null is returned. + * + * @param string $header The name of the header to retrieve. Can be HTTP compliant such as + * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the + * all-caps, HTTP_ prefixed, underscore separated awesomeness. + * + * @return string|null The value of the header. + */ + public function getHttpHeader($header) + { + // are we using PHP-flavored headers? + if (strpos($header, '_') === false) { + $header = str_replace('-', '_', $header); + $header = strtoupper($header); + } + + // test the alternate, too + $altHeader = 'HTTP_' . $header; + + //Test both the regular and the HTTP_ prefix + if (isset($this->httpHeaders[$header])) { + return $this->httpHeaders[$header]; + } elseif (isset($this->httpHeaders[$altHeader])) { + return $this->httpHeaders[$altHeader]; + } + + return null; + } + + public function getMobileHeaders() + { + return self::$mobileHeaders; + } + + /** + * Get all possible HTTP headers that + * can contain the User-Agent string. + * + * @return array List of HTTP headers. + */ + public function getUaHttpHeaders() + { + return self::$uaHttpHeaders; + } + + + /** + * Set CloudFront headers + * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device + * + * @param array $cfHeaders List of HTTP headers + * + * @return boolean If there were CloudFront headers to be set + */ + public function setCfHeaders($cfHeaders = null) { + // use global _SERVER if $cfHeaders aren't defined + if (!is_array($cfHeaders) || !count($cfHeaders)) { + $cfHeaders = $_SERVER; + } + + // clear existing headers + $this->cloudfrontHeaders = array(); + + // Only save CLOUDFRONT headers. In PHP land, that means only _SERVER vars that + // start with cloudfront-. + $response = false; + foreach ($cfHeaders as $key => $value) { + if (substr(strtolower($key), 0, 16) === 'http_cloudfront_') { + $this->cloudfrontHeaders[strtoupper($key)] = $value; + $response = true; + } + } + + return $response; + } + + /** + * Retrieves the cloudfront headers. + * + * @return array + */ + public function getCfHeaders() + { + return $this->cloudfrontHeaders; + } + + /** + * @param string $userAgent + * @return string + */ + private function prepareUserAgent($userAgent) { + $userAgent = trim($userAgent); + $userAgent = substr($userAgent, 0, 500); + return $userAgent; + } + + /** + * Set the User-Agent to be used. + * + * @param string $userAgent The user agent string to set. + * + * @return string|null + */ + public function setUserAgent($userAgent = null) + { + // Invalidate cache due to #375 + $this->cache = array(); + + if (false === empty($userAgent)) { + return $this->userAgent = $this->prepareUserAgent($userAgent); + } else { + $this->userAgent = null; + foreach ($this->getUaHttpHeaders() as $altHeader) { + if (false === empty($this->httpHeaders[$altHeader])) { // @todo: should use getHttpHeader(), but it would be slow. (Serban) + $this->userAgent .= $this->httpHeaders[$altHeader] . " "; + } + } + + if (!empty($this->userAgent)) { + return $this->userAgent = $this->prepareUserAgent($this->userAgent); + } + } + + if (count($this->getCfHeaders()) > 0) { + return $this->userAgent = 'Amazon CloudFront'; + } + return $this->userAgent = null; + } + + /** + * Retrieve the User-Agent. + * + * @return string|null The user agent if it's set. + */ + public function getUserAgent() + { + return $this->userAgent; + } + + /** + * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or + * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set. + * + * @deprecated since version 2.6.9 + * + * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default + * parameter is null which will default to self::DETECTION_TYPE_MOBILE. + */ + public function setDetectionType($type = null) + { + if ($type === null) { + $type = self::DETECTION_TYPE_MOBILE; + } + + if ($type !== self::DETECTION_TYPE_MOBILE && $type !== self::DETECTION_TYPE_EXTENDED) { + return; + } + + $this->detectionType = $type; + } + + public function getMatchingRegex() + { + return $this->matchingRegex; + } + + public function getMatchesArray() + { + return $this->matchesArray; + } + + /** + * Retrieve the list of known phone devices. + * + * @return array List of phone devices. + */ + public static function getPhoneDevices() + { + return self::$phoneDevices; + } + + /** + * Retrieve the list of known tablet devices. + * + * @return array List of tablet devices. + */ + public static function getTabletDevices() + { + return self::$tabletDevices; + } + + /** + * Alias WP_Rocket_for getBrowsers() method. + * + * @return array List of user agents. + */ + public static function getUserAgents() + { + return self::getBrowsers(); + } + + /** + * Retrieve the list of known browsers. Specifically, the user agents. + * + * @return array List of browsers / user agents. + */ + public static function getBrowsers() + { + return self::$browsers; + } + + /** + * Retrieve the list of known utilities. + * + * @return array List of utilities. + */ + public static function getUtilities() + { + return self::$utilities; + } + + /** + * Method gets the mobile detection rules. This method is used WP_Rocket_for the magic methods $detect->is*(). + * + * @deprecated since version 2.6.9 + * + * @return array All the rules (but not extended). + */ + public static function getMobileDetectionRules() + { + static $rules; + + if (!$rules) { + $rules = array_merge( + self::$phoneDevices, + self::$tabletDevices, + self::$operatingSystems, + self::$browsers + ); + } + + return $rules; + + } + + /** + * Method gets the mobile detection rules + utilities. + * The reason this is separate is because utilities rules + * don't necessary imply mobile. This method is used inside + * the new $detect->is('stuff') method. + * + * @deprecated since version 2.6.9 + * + * @return array All the rules + extended. + */ + public function getMobileDetectionRulesExtended() + { + static $rules; + + if (!$rules) { + // Merge all rules together. + $rules = array_merge( + self::$phoneDevices, + self::$tabletDevices, + self::$operatingSystems, + self::$browsers, + self::$utilities + ); + } + + return $rules; + } + + /** + * Retrieve the current set of rules. + * + * @deprecated since version 2.6.9 + * + * @return array + */ + public function getRules() + { + if ($this->detectionType == self::DETECTION_TYPE_EXTENDED) { + return self::getMobileDetectionRulesExtended(); + } else { + return self::getMobileDetectionRules(); + } + } + + /** + * Retrieve the list of mobile operating systems. + * + * @return array The list of mobile operating systems. + */ + public static function getOperatingSystems() + { + return self::$operatingSystems; + } + + /** + * Check the HTTP headers WP_Rocket_for signs of mobile. + * This is the fastest mobile check possible; it's used + * inside isMobile() method. + * + * @return bool + */ + public function checkHttpHeadersForMobile() + { + + foreach ($this->getMobileHeaders() as $mobileHeader => $matchType) { + if (isset($this->httpHeaders[$mobileHeader])) { + if (isset($matchType['matches']) && is_array($matchType['matches'])) { + foreach ($matchType['matches'] as $_match) { + if (strpos($this->httpHeaders[$mobileHeader], $_match) !== false) { + return true; + } + } + + return false; + } else { + return true; + } + } + } + + return false; + + } + + /** + * Magic overloading method. + * + * @method boolean is[...]() + * @param string $name + * @param array $arguments + * @return mixed + * @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is' + */ + public function __call($name, $arguments) + { + // make sure the name starts with 'is', otherwise + if (substr($name, 0, 2) !== 'is') { + throw new BadMethodCallException("No such method exists: $name"); + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + $key = substr($name, 2); + + return $this->matchUAAgainstKey($key); + } + + /** + * Find a detection rule that matches the current User-agent. + * + * @param null $userAgent deprecated + * @return boolean + */ + protected function matchDetectionRulesAgainstUA($userAgent = null) + { + // Begin general search. + foreach ($this->getRules() as $_regex) { + if (empty($_regex)) { + continue; + } + + if ($this->match($_regex, $userAgent)) { + return true; + } + } + + return false; + } + + /** + * Search WP_Rocket_for a certain key in the rules array. + * If the key is found then try to match the corresponding + * regex against the User-Agent. + * + * @param string $key + * + * @return boolean + */ + protected function matchUAAgainstKey($key) + { + // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc. + $key = strtolower($key); + if (false === isset($this->cache[$key])) { + + // change the keys to lower case + $_rules = array_change_key_case($this->getRules()); + + if (false === empty($_rules[$key])) { + $this->cache[$key] = $this->match($_rules[$key]); + } + + if (false === isset($this->cache[$key])) { + $this->cache[$key] = false; + } + } + + return $this->cache[$key]; + } + + /** + * Check if the device is mobile. + * Returns true if any type of mobile device detected, including special ones + * @param null $userAgent deprecated + * @param null $httpHeaders deprecated + * @return bool + */ + public function isMobile($userAgent = null, $httpHeaders = null) + { + + if ($httpHeaders) { + $this->setHttpHeaders($httpHeaders); + } + + if ($userAgent) { + $this->setUserAgent($userAgent); + } + + // Check specifically WP_Rocket_for cloudfront headers if the useragent === 'Amazon CloudFront' + if ($this->getUserAgent() === 'Amazon CloudFront') { + $cfHeaders = $this->getCfHeaders(); + if(array_key_exists('HTTP_CLOUDFRONT_IS_MOBILE_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_MOBILE_VIEWER'] === 'true') { + return true; + } + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + if ($this->checkHttpHeadersForMobile()) { + return true; + } else { + return $this->matchDetectionRulesAgainstUA(); + } + + } + + /** + * Check if the device is a tablet. + * Return true if any type of tablet device is detected. + * + * @param string $userAgent deprecated + * @param array $httpHeaders deprecated + * @return bool + */ + public function isTablet($userAgent = null, $httpHeaders = null) + { + // Check specifically WP_Rocket_for cloudfront headers if the useragent === 'Amazon CloudFront' + if ($this->getUserAgent() === 'Amazon CloudFront') { + $cfHeaders = $this->getCfHeaders(); + if(array_key_exists('HTTP_CLOUDFRONT_IS_TABLET_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_TABLET_VIEWER'] === 'true') { + return true; + } + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + foreach (self::$tabletDevices as $_regex) { + if ($this->match($_regex, $userAgent)) { + return true; + } + } + + return false; + } + + /** + * This method checks WP_Rocket_for a certain property in the + * userAgent. + * @todo: The httpHeaders part is not yet used. + * + * @param string $key + * @param string $userAgent deprecated + * @param string $httpHeaders deprecated + * @return bool|int|null + */ + public function is($key, $userAgent = null, $httpHeaders = null) + { + // Set the UA and HTTP headers only if needed (eg. batch mode). + if ($httpHeaders) { + $this->setHttpHeaders($httpHeaders); + } + + if ($userAgent) { + $this->setUserAgent($userAgent); + } + + $this->setDetectionType(self::DETECTION_TYPE_EXTENDED); + + return $this->matchUAAgainstKey($key); + } + + /** + * Some detection rules are relative (not standard), + * because of the diversity of devices, vendors and + * their conventions in representing the User-Agent or + * the HTTP headers. + * + * This method will be used to check custom regexes against + * the User-Agent string. + * + * @param $regex + * @param string $userAgent + * @return bool + * + * @todo: search in the HTTP headers too. + */ + public function match($regex, $userAgent = null) + { + if (!\is_string($userAgent) && !\is_string($this->userAgent)) { + return false; + } + + $match = (bool) preg_match(sprintf('#%s#is', $regex), (false === empty($userAgent) ? $userAgent : $this->userAgent), $matches); + // If positive match is found, store the results WP_Rocket_for debug. + if ($match) { + $this->matchingRegex = $regex; + $this->matchesArray = $matches; + } + + return $match; + } + + /** + * Get the properties array. + * + * @return array + */ + public static function getProperties() + { + return self::$properties; + } + + /** + * Prepare the version number. + * + * @todo Remove the error supression from str_replace() call. + * + * @param string $ver The string version, like "2.6.21.2152"; + * + * @return float + */ + public function prepareVersionNo($ver) + { + $ver = str_replace(array('_', ' ', '/'), '.', $ver); + $arrVer = explode('.', $ver, 2); + + if (isset($arrVer[1])) { + $arrVer[1] = @str_replace('.', '', $arrVer[1]); // @todo: treat strings versions. + } + + return (float) implode('.', $arrVer); + } + + /** + * Check the version of the given property in the User-Agent. + * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31) + * + * @param string $propertyName The name of the property. See self::getProperties() array + * keys WP_Rocket_for all possible properties. + * @param string $type Either self::VERSION_TYPE_STRING to get a string value or + * self::VERSION_TYPE_FLOAT indicating a float value. This parameter + * is optional and defaults to self::VERSION_TYPE_STRING. Passing an + * invalid parameter will default to the this type as well. + * + * @return string|float|false The version of the property we are trying to extract. + */ + public function version($propertyName, $type = self::VERSION_TYPE_STRING) + { + if (empty($propertyName)) { + return false; + } + + if (!\is_string($this->userAgent)) { + return false; + } + + // set the $type to the default if we don't recognize the type + if ($type !== self::VERSION_TYPE_STRING && $type !== self::VERSION_TYPE_FLOAT) { + $type = self::VERSION_TYPE_STRING; + } + + $properties = self::getProperties(); + + // Check if the property exists in the properties array. + if (true === isset($properties[$propertyName])) { + + // Prepare the pattern to be matched. + // Make sure we always deal with an array (string is converted). + $properties[$propertyName] = (array) $properties[$propertyName]; + + foreach ($properties[$propertyName] as $propertyMatchString) { + + $propertyPattern = str_replace('[VER]', self::VER, $propertyMatchString); + + // Identify and extract the version. + preg_match(sprintf('#%s#is', $propertyPattern), $this->userAgent, $match); + + if (false === empty($match[1])) { + $version = ($type == self::VERSION_TYPE_FLOAT ? $this->prepareVersionNo($match[1]) : $match[1]); + + return $version; + } + + } + + } + + return false; + } + + /** + * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants. + * @deprecated This is no longer being maintained, it was an experiment at the time. + * @return string One of the self::MOBILE_GRADE_* constants. + */ + public function mobileGrade() + { + $isMobile = $this->isMobile(); + + if ( + // Apple iOS 4-7.0 – Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3 / 5.1 / 6.1), iPad 3 (5.1 / 6.0), iPad Mini (6.1), iPad Retina (7.0), iPhone 3GS (4.3), iPhone 4 (4.3 / 5.1), iPhone 4S (5.1 / 6.0), iPhone 5 (6.0), and iPhone 5S (7.0) + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) >= 4.3 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) >= 4.3 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) >= 4.3 || + + // Android 2.1-2.3 - Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5) + // Android 3.1 (Honeycomb) - Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM + // Android 4.0 (ICS) - Tested on a Galaxy Nexus. Note: transition performance can be poor on upgraded devices + // Android 4.1 (Jelly Bean) - Tested on a Galaxy Nexus and Galaxy 7 + ( $this->version('Android', self::VERSION_TYPE_FLOAT)>2.1 && $this->is('Webkit') ) || + + // Windows Phone 7.5-8 - Tested on the HTC Surround (7.5), HTC Trophy (7.5), LG-E900 (7.5), Nokia 800 (7.8), HTC Mazaa (7.8), Nokia Lumia 520 (8), Nokia Lumia 920 (8), HTC 8x (8) + $this->version('Windows Phone OS', self::VERSION_TYPE_FLOAT) >= 7.5 || + + // Tested on the Torch 9800 (6) and Style 9670 (6), BlackBerry® Torch 9810 (7), BlackBerry Z10 (10) + $this->is('BlackBerry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 6.0 || + // Blackberry Playbook (1.0-2.0) - Tested on PlayBook + $this->match('Playbook.*Tablet') || + + // Palm WebOS (1.4-3.0) - Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0), HP TouchPad (3.0) + ( $this->version('webOS', self::VERSION_TYPE_FLOAT) >= 1.4 && $this->match('Palm|Pre|Pixi') ) || + // Palm WebOS 3.0 - Tested on HP TouchPad + $this->match('hp.*TouchPad') || + + // Firefox Mobile 18 - Tested on Android 2.3 and 4.1 devices + ( $this->is('Firefox') && $this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 18 ) || + + // Chrome WP_Rocket_for Android - Tested on Android 4.0, 4.1 device + ( $this->is('Chrome') && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 4.0 ) || + + // Skyfire 4.1 - Tested on Android 2.3 device + ( $this->is('Skyfire') && $this->version('Skyfire', self::VERSION_TYPE_FLOAT) >= 4.1 && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) || + + // Opera Mobile 11.5-12: Tested on Android 2.3 + ( $this->is('Opera') && $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11.5 && $this->is('AndroidOS') ) || + + // Meego 1.2 - Tested on Nokia 950 and N9 + $this->is('MeeGoOS') || + + // Sailfish OS + $this->is('SailfishOS') || + + // Tizen (pre-release) - Tested on early hardware + $this->is('Tizen') || + + // Samsung Bada 2.0 - Tested on a Samsung Wave 3, Dolphin browser + // @todo: more tests here! + $this->is('Dolfin') && $this->version('Bada', self::VERSION_TYPE_FLOAT) >= 2.0 || + + // UC Browser - Tested on Android 2.3 device + ( ($this->is('UC Browser') || $this->is('Dolfin')) && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) || + + // Kindle 3 and Fire - Tested on the built-in WebKit browser WP_Rocket_for each + ( $this->match('Kindle Fire') || + $this->is('Kindle') && $this->version('Kindle', self::VERSION_TYPE_FLOAT) >= 3.0 ) || + + // Nook Color 1.4.1 - Tested on original Nook Color, not Nook Tablet + $this->is('AndroidOS') && $this->is('NookTablet') || + + // Chrome Desktop 16-24 - Tested on OS X 10.7 and Windows 7 + $this->version('Chrome', self::VERSION_TYPE_FLOAT) >= 16 && !$isMobile || + + // Safari Desktop 5-6 - Tested on OS X 10.7 and Windows 7 + $this->version('Safari', self::VERSION_TYPE_FLOAT) >= 5.0 && !$isMobile || + + // Firefox Desktop 10-18 - Tested on OS X 10.7 and Windows 7 + $this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 10.0 && !$isMobile || + + // Internet Explorer 7-9 - Tested on Windows XP, Vista and 7 + $this->version('IE', self::VERSION_TYPE_FLOAT) >= 7.0 && !$isMobile || + + // Opera Desktop 10-12 - Tested on OS X 10.7 and Windows 7 + $this->version('Opera', self::VERSION_TYPE_FLOAT) >= 10 && !$isMobile + ){ + return self::MOBILE_GRADE_A; + } + + if ( + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT)<4.3 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT)<4.3 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT)<4.3 || + + // Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770 + $this->is('Blackberry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 5 && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)<6 || + + //Opera Mini (5.0-6.5) - Tested on iOS 3.2/4.3 and Android 2.3 + ($this->version('Opera Mini', self::VERSION_TYPE_FLOAT) >= 5.0 && $this->version('Opera Mini', self::VERSION_TYPE_FLOAT) <= 7.0 && + ($this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 || $this->is('iOS')) ) || + + // Nokia Symbian^3 - Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1) + $this->match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') || + + // @todo: report this (tested on Nokia N71) + $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11 && $this->is('SymbianOS') + ){ + return self::MOBILE_GRADE_B; + } + + if ( + // Blackberry 4.x - Tested on the Curve 8330 + $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) <= 5.0 || + // Windows Mobile - Tested on the HTC Leo (WinMo 5.2) + $this->match('MSIEMobile|Windows CE.*Mobile') || $this->version('Windows Mobile', self::VERSION_TYPE_FLOAT) <= 5.2 || + + // Tested on original iPhone (3.1), iPhone 3 (3.2) + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) <= 3.2 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) <= 3.2 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) <= 3.2 || + + // Internet Explorer 7 and older - Tested on Windows XP + $this->version('IE', self::VERSION_TYPE_FLOAT) <= 7.0 && !$isMobile + ){ + return self::MOBILE_GRADE_C; + } + + // All older smartphone platforms and featurephones - Any device that doesn't support media queries + // will receive the basic, C grade experience. + return self::MOBILE_GRADE_C; + } +} diff --git a/inc/classes/dependencies/wp-media/background-processing/composer.json b/inc/classes/dependencies/wp-media/background-processing/composer.json new file mode 100644 index 0000000..67ce817 --- /dev/null +++ b/inc/classes/dependencies/wp-media/background-processing/composer.json @@ -0,0 +1,46 @@ +{ + "name": "wp-media/background-processing", + "description": "Async & Background Tasks Processing", + "homepage": "https://github.com/wp-media/background-processing", + "license": "GPL-2.0+", + "authors": [ + { + "name": "WP Media", + "email": "contact@wp-media.me", + "homepage": "https://wp-media.me" + } + ], + "type": "library", + "config": { + "sort-packages": true + }, + "support": { + "issues": "https://github.com/wp-media/background-processing/issues", + "source": "https://github.com/wp-media/background-processing" + }, + "require-dev": { + "php": "^5.6 || ^7", + "brain/monkey": "^2.0", + "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", + "phpcompatibility/phpcompatibility-wp": "^2.0", + "phpunit/phpunit": "^5.7 || ^7", + "wp-coding-standards/wpcs": "^2", + "wp-media/phpunit": "^1.0" + }, + "autoload": { + "classmap": [ "" ] + }, + "autoload-dev": {}, + "scripts": { + "test-unit": "\"vendor/bin/wpmedia-phpunit\" unit path=Tests/Unit", + "test-integration": "\"vendor/bin/wpmedia-phpunit\" integration path=Tests/Integration/", + "run-tests": [ + "@test-unit", + "@test-integration" + ], + "install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run", + "phpcs": "phpcs --basepath=.", + "phpcs-changed": "./bin/phpcs-changed.sh", + "phpcs:fix": "phpcbf" + } +} diff --git a/inc/classes/dependencies/wp-media/background-processing/wp-async-request.php b/inc/classes/dependencies/wp-media/background-processing/wp-async-request.php new file mode 100644 index 0000000..d51bc6c --- /dev/null +++ b/inc/classes/dependencies/wp-media/background-processing/wp-async-request.php @@ -0,0 +1,181 @@ +identifier = $this->prefix . '_' . $this->action; + + add_action( 'wp_ajax_' . $this->identifier, array( $this, 'maybe_handle' ) ); + add_action( 'wp_ajax_nopriv_' . $this->identifier, array( $this, 'maybe_handle' ) ); + } + + /** + * Set data used during the request + * + * @param array $data Data. + * + * @return $this + */ + public function data( $data ) { + $this->data = $data; + + return $this; + } + + /** + * Dispatch the async request + * + * @return array|WP_Error + */ + public function dispatch() { + $url = add_query_arg( $this->get_query_args(), $this->get_query_url() ); + $args = $this->get_post_args(); + + return wp_remote_post( esc_url_raw( $url ), $args ); + } + + /** + * Get query args + * + * @return array + */ + protected function get_query_args() { + if ( property_exists( $this, 'query_args' ) ) { + return $this->query_args; + } + + $args = array( + 'action' => $this->identifier, + 'nonce' => wp_create_nonce( $this->identifier ), + ); + + /** + * Filters the post arguments used during an async request. + * + * @param array $url + */ + return apply_filters( $this->identifier . '_query_args', $args ); + } + + /** + * Get query URL + * + * @return string + */ + protected function get_query_url() { + if ( property_exists( $this, 'query_url' ) ) { + return $this->query_url; + } + + $url = admin_url( 'admin-ajax.php' ); + + /** + * Filters the post arguments used during an async request. + * + * @param string $url + */ + return apply_filters( $this->identifier . '_query_url', $url ); + } + + /** + * Get post args + * + * @return array + */ + protected function get_post_args() { + if ( property_exists( $this, 'post_args' ) ) { + return $this->post_args; + } + + $args = array( + 'timeout' => 0.01, + 'blocking' => false, + 'body' => $this->data, + 'cookies' => $_COOKIE, + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), + ); + + /** + * Filters the post arguments used during an async request. + * + * @param array $args + */ + return apply_filters( $this->identifier . '_post_args', $args ); + } + + /** + * Maybe handle + * + * Check WP_Rocket_for correct nonce and pass to handler. + */ + public function maybe_handle() { + // Don't lock up other requests while processing + session_write_close(); + + check_ajax_referer( $this->identifier, 'nonce' ); + + $this->handle(); + + wp_die(); + } + + /** + * Handle + * + * Override this method to perform any actions required + * during the async request. + */ + abstract protected function handle(); + +} diff --git a/inc/classes/dependencies/wp-media/background-processing/wp-background-process.php b/inc/classes/dependencies/wp-media/background-processing/wp-background-process.php new file mode 100644 index 0000000..8c6a313 --- /dev/null +++ b/inc/classes/dependencies/wp-media/background-processing/wp-background-process.php @@ -0,0 +1,528 @@ +cron_hook_identifier = $this->identifier . '_cron'; + $this->cron_interval_identifier = $this->identifier . '_cron_interval'; + + add_action( $this->cron_hook_identifier, array( $this, 'handle_cron_healthcheck' ) ); + add_filter( 'cron_schedules', array( $this, 'schedule_cron_healthcheck' ) ); + } + + /** + * Dispatch + * + * @access public + * @return void + */ + public function dispatch() { + // Schedule the cron healthcheck. + $this->schedule_event(); + + // Perform remote post. + return parent::dispatch(); + } + + /** + * Push to queue + * + * @param mixed $data Data. + * + * @return $this + */ + public function push_to_queue( $data ) { + $this->data[] = $data; + + return $this; + } + + /** + * Save queue + * + * @return $this + */ + public function save() { + $key = $this->generate_key(); + + if ( ! empty( $this->data ) ) { + update_site_option( $key, $this->data ); + } + + return $this; + } + + /** + * Update queue + * + * @param string $key Key. + * @param array $data Data. + * + * @return $this + */ + public function update( $key, $data ) { + if ( ! empty( $data ) ) { + update_site_option( $key, $data ); + } + + return $this; + } + + /** + * Delete queue + * + * @param string $key Key. + * + * @return $this + */ + public function delete( $key ) { + delete_site_option( $key ); + + return $this; + } + + /** + * Generate key + * + * Generates a unique key based on microtime. Queue items are + * given a unique key so that they can be merged upon save. + * + * @param int $length Length. + * + * @return string + */ + protected function generate_key( $length = 64 ) { + $unique = md5( microtime() . rand() ); + $prepend = $this->identifier . '_batch_'; + + return substr( $prepend . $unique, 0, $length ); + } + + /** + * Maybe process queue + * + * Checks whether data exists within the queue and that + * the process is not already running. + */ + public function maybe_handle() { + // Don't lock up other requests while processing + session_write_close(); + + if ( $this->is_process_running() ) { + // Background process already running. + wp_die(); + } + + if ( $this->is_queue_empty() ) { + // No data to process. + wp_die(); + } + + check_ajax_referer( $this->identifier, 'nonce' ); + + $this->handle(); + + wp_die(); + } + + /** + * Is queue empty + * + * @return bool + */ + protected function is_queue_empty() { + global $wpdb; + + $table = $wpdb->options; + $column = 'option_name'; + + if ( is_multisite() ) { + $table = $wpdb->sitemeta; + $column = 'meta_key'; + } + + $key = $wpdb->esc_like( $this->identifier . '_batch_' ) . '%'; + + $count = $wpdb->get_var( $wpdb->prepare( " + SELECT COUNT(*) + FROM {$table} + WHERE {$column} LIKE %s + ", $key ) ); + + return ( $count > 0 ) ? false : true; + } + + /** + * Is process running + * + * Check whether the current process is already running + * in a background process. + */ + protected function is_process_running() { + if ( get_site_transient( $this->identifier . '_process_lock' ) ) { + // Process already running. + return true; + } + + return false; + } + + /** + * Is process cancelled + * + * Check whether the current process is cancelled + * in a background process. + */ + protected function is_process_cancelled() { + if ( ! \rocket_direct_filesystem()->exists( WP_ROCKET_CACHE_ROOT_PATH . '.' . $this->identifier . '_process_cancelled' ) ) { + return false; + } + + return true; + } + + /** + * Lock process + * + * Lock the process so that multiple instances can't run simultaneously. + * Override if applicable, but the duration should be greater than that + * defined in the time_exceeded() method. + */ + protected function lock_process() { + $this->start_time = time(); // Set start time of current process. + + $lock_duration = ( property_exists( $this, 'queue_lock_time' ) ) ? $this->queue_lock_time : 60; // 1 minute + $lock_duration = apply_filters( $this->identifier . '_queue_lock_time', $lock_duration ); + + set_site_transient( $this->identifier . '_process_lock', microtime(), $lock_duration ); + } + + /** + * Unlock process + * + * Unlock the process so that other instances can spawn. + * + * @return $this + */ + protected function unlock_process() { + delete_site_transient( $this->identifier . '_process_lock' ); + + return $this; + } + + /** + * Get batch + * + * @return stdClass Return the first batch from the queue + */ + protected function get_batch() { + global $wpdb; + + $table = $wpdb->options; + $column = 'option_name'; + $key_column = 'option_id'; + $value_column = 'option_value'; + + if ( is_multisite() ) { + $table = $wpdb->sitemeta; + $column = 'meta_key'; + $key_column = 'meta_id'; + $value_column = 'meta_value'; + } + + $key = $wpdb->esc_like( $this->identifier . '_batch_' ) . '%'; + + $query = $wpdb->get_row( $wpdb->prepare( " + SELECT * + FROM {$table} + WHERE {$column} LIKE %s + ORDER BY {$key_column} ASC + LIMIT 1 + ", $key ) ); + + $batch = new stdClass(); + $batch->key = $query->$column; + $batch->data = maybe_unserialize( $query->$value_column ); + + return $batch; + } + + /** + * Handle + * + * Pass each queue item to the task handler, while remaining + * within server memory and time limit constraints. + */ + protected function handle() { + $this->lock_process(); + + do { + $batch = $this->get_batch(); + + foreach ( $batch->data as $key => $value ) { + $task = $this->task( $value ); + + if ( false !== $task ) { + $batch->data[ $key ] = $task; + } else { + unset( $batch->data[ $key ] ); + } + + if ( $this->time_exceeded() || $this->memory_exceeded() || $this->is_process_cancelled() ) { + // Batch limits reached. + break; + } + } + + // Update or delete current batch. + if ( ! empty( $batch->data ) && ! $this->is_process_cancelled() ) { + $this->update( $batch->key, $batch->data ); + } else { + $this->complete_batch(); + $this->delete( $batch->key ); + } + } while ( ! $this->time_exceeded() && ! $this->memory_exceeded() && ! $this->is_queue_empty() && ! $this->is_process_cancelled() ); + + $this->unlock_process(); + + // Start next batch or complete process. + if ( ! $this->is_queue_empty() ) { + $this->dispatch(); + } else { + $this->complete(); + } + + wp_die(); + } + + /** + * Memory exceeded + * + * Ensures the batch process never exceeds 90% + * of the maximum WordPress memory. + * + * @return bool + */ + protected function memory_exceeded() { + $memory_limit = $this->get_memory_limit() * 0.9; // 90% of max memory + $current_memory = memory_get_usage( true ); + $return = false; + + if ( $current_memory >= $memory_limit ) { + $return = true; + } + + return apply_filters( $this->identifier . '_memory_exceeded', $return ); + } + + /** + * Get memory limit + * + * @return int + */ + protected function get_memory_limit() { + if ( function_exists( 'ini_get' ) ) { + $memory_limit = ini_get( 'memory_limit' ); + } else { + // Sensible default. + $memory_limit = '128M'; + } + + if ( ! $memory_limit || -1 === intval( $memory_limit ) ) { + // Unlimited, set to 32GB. + $memory_limit = '32000M'; + } + + return wp_convert_hr_to_bytes( $memory_limit ); + } + + /** + * Time exceeded. + * + * Ensures the batch never exceeds a sensible time limit. + * A timeout limit of 30s is common on shared hosting. + * + * @return bool + */ + protected function time_exceeded() { + $finish = $this->start_time + apply_filters( $this->identifier . '_default_time_limit', 20 ); // 20 seconds + $return = false; + + if ( time() >= $finish ) { + $return = true; + } + + return apply_filters( $this->identifier . '_time_exceeded', $return ); + } + + /** + * Current batch is completed. + */ + protected function complete_batch(){ + // Override this code on the instantiated process class WP_Rocket_just if needed. + } + + /** + * Complete. + * + * Override if applicable, but ensure that the below actions are + * performed, or, call parent::complete(). + */ + protected function complete() { + // Unschedule the cron healthcheck. + $this->clear_scheduled_event(); + + \rocket_direct_filesystem()->delete( WP_ROCKET_CACHE_ROOT_PATH . '.' . $this->identifier . '_process_cancelled' ); + } + + /** + * Schedule cron healthcheck + * + * @param mixed $schedules Schedules. + * + * @return mixed + */ + public function schedule_cron_healthcheck( $schedules ) { + $interval = apply_filters( $this->identifier . '_cron_interval', 5 ); + + if ( property_exists( $this, 'cron_interval' ) ) { + $interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval ); + } + + // Adds every 5 minutes to the existing schedules. + $schedules[ $this->identifier . '_cron_interval' ] = array( + 'interval' => MINUTE_IN_SECONDS * $interval, + 'display' => sprintf( __( 'Every %d Minutes' ), $interval ), + ); + + return $schedules; + } + + /** + * Handle cron healthcheck + * + * Restart the background process if not already running + * and data exists in the queue. + */ + public function handle_cron_healthcheck() { + if ( $this->is_process_running() ) { + // Background process already running. + exit; + } + + if ( $this->is_queue_empty() ) { + // No data to process. + $this->clear_scheduled_event(); + exit; + } + + $this->handle(); + + exit; + } + + /** + * Schedule event + */ + protected function schedule_event() { + if ( ! wp_next_scheduled( $this->cron_hook_identifier ) ) { + wp_schedule_event( time(), $this->cron_interval_identifier, $this->cron_hook_identifier ); + } + } + + /** + * Clear scheduled event + */ + protected function clear_scheduled_event() { + $timestamp = wp_next_scheduled( $this->cron_hook_identifier ); + + if ( $timestamp ) { + wp_unschedule_event( $timestamp, $this->cron_hook_identifier ); + } + } + + /** + * Cancel Process + * + * Stop processing queue items, clear cronjob and delete batch. + * + */ + public function cancel_process() { + if ( ! $this->is_queue_empty() ) { + $batch = $this->get_batch(); + $this->delete( $batch->key ); + $this->unlock_process(); + wp_clear_scheduled_hook( $this->cron_hook_identifier ); + + \rocket_direct_filesystem()->touch( WP_ROCKET_CACHE_ROOT_PATH . '.' . $this->identifier . '_process_cancelled' ); + } + + } + + /** + * Task + * + * Override this method to perform any actions required on each + * queue item. Return the modified item WP_Rocket_for further processing + * in the next pass through. Or, return false to remove the + * item from the queue. + * + * @param mixed $item Queue item to iterate over. + * + * @return mixed + */ + abstract protected function task( $item ); + +} diff --git a/inc/classes/event-management/class-event-manager.php b/inc/classes/event-management/class-event-manager.php new file mode 100644 index 0000000..9204a66 --- /dev/null +++ b/inc/classes/event-management/class-event-manager.php @@ -0,0 +1,135 @@ + + */ +class Event_Manager { + /** + * Adds a callback to a specific hook of the WordPress plugin API. + * + * @uses add_filter() + * + * @param string $hook_name Name of the hook. + * @param callable $callback Callback function. + * @param int $priority Priority. + * @param int $accepted_args Number of arguments. + */ + public function add_callback( $hook_name, $callback, $priority = 10, $accepted_args = 1 ) { + add_filter( $hook_name, $callback, $priority, $accepted_args ); + } + + /** + * Add an event subscriber. + * + * The event manager registers all the hooks that the given subscriber + * wants to register with the WordPress Plugin API. + * + * @param Subscriber_Interface $subscriber Subscriber_Interface implementation. + */ + public function add_subscriber( Subscriber_Interface $subscriber ) { + if ( $subscriber instanceof Event_Manager_Aware_Subscriber_Interface ) { + $subscriber->set_event_manager( $this ); + } + + $events = $subscriber->get_subscribed_events(); + + if ( empty( $events ) ) { + return; + } + + foreach ( $subscriber->get_subscribed_events() as $hook_name => $parameters ) { + $this->add_subscriber_callback( $subscriber, $hook_name, $parameters ); + } + } + + /** + * Checks the WordPress plugin API to see if the given hook has + * the given callback. The priority of the callback will be returned + * or false. If no callback is given will return true or false if + * there's any callbacks registered to the hook. + * + * @uses has_filter() + * + * @param string $hook_name Hook name. + * @param mixed $callback Callback. + * + * @return bool|int + */ + public function has_callback( $hook_name, $callback = false ) { + return has_filter( $hook_name, $callback ); + } + + /** + * Removes the given callback from the given hook. The WordPress plugin API only + * removes the hook if the callback and priority match a registered hook. + * + * @uses remove_filter() + * + * @param string $hook_name Hook name. + * @param callable $callback Callback. + * @param int $priority Priority. + * + * @return bool + */ + public function remove_callback( $hook_name, $callback, $priority = 10 ) { + return remove_filter( $hook_name, $callback, $priority ); + } + + /** + * Remove an event subscriber. + * + * The event manager removes all the hooks that the given subscriber + * wants to register with the WordPress Plugin API. + * + * @param Subscriber_Interface $subscriber Subscriber_Interface implementation. + */ + public function remove_subscriber( Subscriber_Interface $subscriber ) { + foreach ( $subscriber->get_subscribed_events() as $hook_name => $parameters ) { + $this->remove_subscriber_callback( $subscriber, $hook_name, $parameters ); + } + } + + /** + * Adds the given subscriber's callback to a specific hook + * of the WordPress plugin API. + * + * @param Subscriber_Interface $subscriber Subscriber_Interface implementation. + * @param string $hook_name Hook name. + * @param mixed $parameters Parameters, can be a string, an array or a multidimensional array. + */ + private function add_subscriber_callback( Subscriber_Interface $subscriber, $hook_name, $parameters ) { + if ( is_string( $parameters ) ) { + $this->add_callback( $hook_name, [ $subscriber, $parameters ] ); + } elseif ( is_array( $parameters ) && count( $parameters ) !== count( $parameters, COUNT_RECURSIVE ) ) { + foreach ( $parameters as $parameter ) { + $this->add_subscriber_callback( $subscriber, $hook_name, $parameter ); + } + } elseif ( is_array( $parameters ) && isset( $parameters[0] ) ) { + $this->add_callback( $hook_name, [ $subscriber, $parameters[0] ], isset( $parameters[1] ) ? $parameters[1] : 10, isset( $parameters[2] ) ? $parameters[2] : 1 ); + } + } + + /** + * Removes the given subscriber's callback to a specific hook + * of the WordPress plugin API. + * + * @param Subscriber_Interface $subscriber Subscriber_Interface implementation. + * @param string $hook_name Hook name. + * @param mixed $parameters Parameters, can be a string, an array or a multidimensional array. + */ + private function remove_subscriber_callback( Subscriber_Interface $subscriber, $hook_name, $parameters ) { + if ( is_string( $parameters ) ) { + $this->remove_callback( $hook_name, [ $subscriber, $parameters ] ); + } elseif ( is_array( $parameters ) && count( $parameters ) !== count( $parameters, COUNT_RECURSIVE ) ) { + foreach ( $parameters as $parameter ) { + $this->remove_subscriber_callback( $subscriber, $hook_name, $parameter ); + } + } elseif ( is_array( $parameters ) && isset( $parameters[0] ) ) { + $this->remove_callback( $hook_name, [ $subscriber, $parameters[0] ], isset( $parameters[1] ) ? $parameters[1] : 10 ); + } + } +} diff --git a/inc/classes/event-management/event-manager-aware-subscriber-interface.php b/inc/classes/event-management/event-manager-aware-subscriber-interface.php new file mode 100644 index 0000000..cfa12ce --- /dev/null +++ b/inc/classes/event-management/event-manager-aware-subscriber-interface.php @@ -0,0 +1,14 @@ + + */ +interface Subscriber_Interface { + /** + * Returns an array of events that this subscriber wants to listen to. + * + * The array key is the event name. The value can be: + * + * * The method name + * * An array with the method name and priority + * * An array with the method name, priority and number of accepted arguments + * + * For instance: + * + * * array('hook_name' => 'method_name') + * * array('hook_name' => array('method_name', $priority)) + * * array('hook_name' => array('method_name', $priority, $accepted_args)) + * * array('hook_name' => array(array('method_name_1', $priority_1, $accepted_args_1)), array('method_name_2', $priority_2, $accepted_args_2))) + * + * @return array + */ + public static function get_subscribed_events(); +} diff --git a/inc/classes/interfaces/class-render-interface.php b/inc/classes/interfaces/class-render-interface.php new file mode 100644 index 0000000..1e4cb46 --- /dev/null +++ b/inc/classes/interfaces/class-render-interface.php @@ -0,0 +1,21 @@ +, wp_footer() and tags are missing. + * + * @since 3.4.2 + * @author Soponar Cristina + */ +class Detect_Missing_Tags_Subscriber implements Subscriber_Interface { + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.4.2 + * @author Soponar Cristina + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_notices' => 'rocket_notice_missing_tags', + 'rocket_before_maybe_process_buffer' => 'maybe_missing_tags', + 'wp_rocket_upgrade' => 'delete_transient_after_upgrade', + ]; + } + + /** + * Check if there is a missing or tag + * + * @since 3.4.2 + * @author Soponar Cristina + * + * @param string $html HTML content. + */ + public function maybe_missing_tags( $html ) { + // If there is a redirect the content is empty and can display a false positive notice. + if ( strlen( $html ) <= 255 ) { + return; + } + // If the http response is not 200 do not report missing tags. + if ( http_response_code() !== 200 ) { + return; + } + // If content type is not HTML do not report missing tags. + if ( empty( $_SERVER['content_type'] ) || false === strpos( wp_unslash( $_SERVER['content_type'] ), 'text/html' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized + return; + } + // If the content does not contain HTML Doctype, do not report missing tags. + if ( false === stripos( $html, ', or wp_footer() )', + [ + 'maybe_missing_tags', + 'URI' => $this->get_raw_request_uri(), + ] + ); + + // Remove all comments before testing tags. If or tags are commented this will identify it as a missing tag. + $html = preg_replace( '//', '', $html ); + $missing_tags = []; + if ( false === strpos( $html, '' ) ) { + $missing_tags[] = ''; + Logger::debug( + 'Not found closing tag.', + [ + 'maybe_missing_tags', + 'URI' => $this->get_raw_request_uri(), + ] + ); + } + + if ( false === strpos( $html, '' ) ) { + $missing_tags[] = ''; + Logger::debug( + 'Not found closing tag.', + [ + 'maybe_missing_tags', + 'URI' => $this->get_raw_request_uri(), + ] + ); + } + + if ( did_action( 'wp_footer' ) === 0 ) { + $missing_tags[] = 'wp_footer()'; + Logger::debug( + 'wp_footer() function did not run.', + [ + 'maybe_missing_tags', + 'URI' => $this->get_raw_request_uri(), + ] + ); + } + + if ( ! $missing_tags ) { + return; + } + + $transient = get_transient( 'rocket_notice_missing_tags' ); + $transient = is_array( $transient ) ? $transient : []; + $missing_tags = array_unique( array_merge( $transient, $missing_tags ) ); + + if ( count( $transient ) === count( $missing_tags ) ) { + return; + } + + // Prevent saving the transient if the notice is dismissed. + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + if ( in_array( 'rocket_notice_missing_tags', (array) $boxes, true ) ) { + return; + } + + set_transient( 'rocket_notice_missing_tags', $missing_tags ); + } + + /** + * This notice is displayed if there is a missing required tag or function: , or wp_footer() + * + * @since 3.4.2 + * @author Soponar Cristina + */ + public function rocket_notice_missing_tags() { + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) || 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $notice = get_transient( 'rocket_notice_missing_tags' ); + if ( empty( $notice ) || ! is_array( $notice ) ) { + return; + } + + foreach ( $notice as $i => $tag ) { + $notice[ $i ] = '' . esc_html( $tag ) . ''; + } + + $msg = '' . __( 'WP Rocket: ', 'rocket' ) . ''; + $msg .= sprintf( + /* translators: %1$s = missing tags; */ + esc_html( _n( 'Failed to detect the following requirement in your theme: closing %1$s.', 'Failed to detect the following requirements in your theme: closing %1$s.', count( $notice ), 'rocket' ) ), + // translators: Documentation exists in EN, FR. + wp_sprintf_l( '%l', $notice ) + ); + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + \rocket_notice_html( + [ + 'status' => 'info', + 'dismissible' => '', + 'message' => $msg, + 'dismiss_button' => __FUNCTION__, + ] + ); + } + + /** + * Get the request URI. + * + * @since 3.4.2 + * @author Soponar Cristina + * + * @return string + */ + public function get_raw_request_uri() { + if ( ! isset( $_SERVER['REQUEST_URI'] ) ) { + return ''; + } + + if ( '' === $_SERVER['REQUEST_URI'] ) { + return ''; + } + + return '/' . esc_html( ltrim( wp_unslash( $_SERVER['REQUEST_URI'] ), '/' ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized + } + + /** + * Deletes the transient storing the missing tags when updating the plugin + * + * @since 3.4.2.2 + * @author Soponar Cristina + */ + public function delete_transient_after_upgrade() { + delete_transient( 'rocket_notice_missing_tags' ); + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/class-ewww-subscriber.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-ewww-subscriber.php new file mode 100644 index 0000000..47d3bb4 --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-ewww-subscriber.php @@ -0,0 +1,390 @@ +options = $options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'rocket_webp_plugins' => 'register', + 'wp_rocket_loaded' => 'load_hooks', + ]; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOKS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Launch filters. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function load_hooks() { + if ( ! $this->options->get( 'cache_webp' ) ) { + return; + } + + /** + * Every time EWWW is (de)activated, we must "sync" our webp cache option. + */ + if ( did_action( 'activate_' . $this->get_basename() ) ) { + $this->plugin_activation(); + } + if ( did_action( 'deactivate_' . $this->get_basename() ) ) { + $this->plugin_deactivation(); + } + add_action( 'activate_' . $this->get_basename(), [ $this, 'plugin_activation' ], 20 ); + add_action( 'deactivate_' . $this->get_basename(), [ $this, 'plugin_deactivation' ], 20 ); + + if ( ! function_exists( 'ewww_image_optimizer_get_option' ) ) { + return; + } + + /** + * Since Rocket already updates the config file after updating its options, there is no need to do it again if the CDN or zone options change. + * Sadly, we can’t monitor EWWW options accurately to update our config file. + */ + + add_filter( 'rocket_cdn_cnames', [ $this, 'maybe_remove_images_cnames' ], 1000, 2 ); + add_filter( 'rocket_allow_cdn_images', [ $this, 'maybe_remove_images_from_cdn_dropdown' ] ); + + $option_names = [ + 'ewww_image_optimizer_exactdn', + 'ewww_image_optimizer_webp_for_cdn', + ]; + + foreach ( $option_names as $option_name ) { + if ( $this->is_active_for_network() ) { + add_filter( 'add_site_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + add_filter( 'update_site_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + add_filter( 'delete_site_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + } else { + add_filter( 'add_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + add_filter( 'update_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + add_filter( 'delete_option_' . $option_name, [ $this, 'trigger_webp_change' ] ); + } + } + } + + /** + * Remove CDN hosts for images if EWWW uses ExactDN. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param array $hosts List of CDN URLs. + * @param array $zones List of zones. Default is [ 'all' ]. + * @return array + */ + public function maybe_remove_images_cnames( $hosts, $zones ) { + if ( ! $hosts ) { + return $hosts; + } + if ( ! ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) { + return $hosts; + } + // EWWW uses ExactDN: WPR CDN should be disabled for images. + if ( ! in_array( 'images', $zones, true ) ) { + // Not asking for images. + return $hosts; + } + if ( ! array_diff( $zones, [ 'all', 'images' ] ) ) { + // This is clearly for images: return an empty list of hosts. + return []; + } + + // We also want other things, like js and css: let's only remove the hosts for 'images'. + $cdn_urls = $this->options->get( 'cdn_cnames', [] ); + + if ( ! $cdn_urls ) { + return $hosts; + } + + // Separate image hosts from the other ones. + $image_hosts = []; + $other_hosts = []; + $cdn_zones = $this->options->get( 'cdn_zone', [] ); + + foreach ( $cdn_urls as $k => $urls ) { + if ( ! in_array( $cdn_zones[ $k ], $zones, true ) ) { + continue; + } + + $urls = explode( ',', $urls ); + $urls = array_map( 'trim', $urls ); + + if ( 'images' === $cdn_zones[ $k ] ) { + foreach ( $urls as $url ) { + $image_hosts[] = $url; + } + } else { + foreach ( $urls as $url ) { + $other_hosts[] = $url; + } + } + } + + // Make sure the image hosts are not also used for other things (duplicate). + $image_hosts = array_diff( $image_hosts, $other_hosts ); + + // Then remove the remaining from the final list. + return array_diff( $hosts, $image_hosts ); + } + + /** + * Maybe remove the images option from the CDN dropdown. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param bool $allow true to add the option, false otherwise. + * @return bool + */ + public function maybe_remove_images_from_cdn_dropdown( $allow ) { + if ( ! $allow ) { + return $allow; + } + if ( ! ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) { + return $allow; + } + + // EWWW uses ExactDN: WPR CDN should be disabled for images. + return false; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC TOOLS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the plugin name. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_name() { + return 'EWWW'; + } + + /** + * Get the plugin identifier. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_id() { + return 'ewww'; + } + + /** + * Tell if the plugin converts images to webp. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_converting_to_webp() { + if ( ! function_exists( 'ewww_image_optimizer_get_option' ) ) { + // No EWWW, no webp. + return false; + } + + return (bool) ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp' ); + } + + /** + * Tell if the plugin serves webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp() { + if ( ! function_exists( 'ewww_image_optimizer_get_option' ) ) { + // No EWWW, no webp. + return false; + } + + if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) { + // EWWW uses ExactDN (WPR CDN should be disabled for images). + return true; + } + + if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_for_cdn' ) ) { + // EWWW uses JS to rewrite file extensions. + return true; + } + + // Decide if rewrite rules are used. + if ( ! function_exists( 'ewww_image_optimizer_webp_rewrite_verify' ) ) { + // Uh? + return false; + } + + if ( ! function_exists( 'get_home_path' ) ) { + require_once ABSPATH . 'wp-admin/includes/file.php'; + } + + if ( ! function_exists( 'extract_from_markers' ) ) { + require_once ABSPATH . 'wp-admin/includes/misc.php'; + } + + /** + * This function returns null if rules are present and valid. Otherwise it returns rules to be inserted. + * Note: this also returns null if WP Fastest Cache rules for webp are found in the file. + * + * @see ewww_image_optimizer_wpfc_webp_enabled() + */ + $use_rewrite_rules = ! ewww_image_optimizer_webp_rewrite_verify(); + + /** + * Filter wether EWW is using rewrite rules for webp. + * + * @since 3.4 + * @author Grégory Viguier + * + * @param bool $use_rewrite_rules True when EWWW uses rewrite rules. False otherwise. + */ + return (bool) apply_filters( 'rocket_webp_ewww_use_rewrite_rules', $use_rewrite_rules ); + } + + /** + * Tell if the plugin uses a CDN-compatible technique to serve webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp_compatible_with_cdn() { + if ( ! function_exists( 'ewww_image_optimizer_get_option' ) ) { + // No EWWW, no webp. + return false; + } + + if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) { + // EWWW uses ExactDN. + return true; + } + + if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_for_cdn' ) ) { + // EWWW uses JS to rewrite file extensions. + return true; + } + + // At this point, the plugin is using rewrite rules or nothing. + return false; + } + + /** + * Get the plugin basename. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function get_basename() { + if ( empty( $this->plugin_basename ) ) { + $this->plugin_basename = rocket_has_constant( 'EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE' ) + ? plugin_basename( rocket_get_constant( 'EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE' ) ) + : 'ewww-image-optimizer/ewww-image-optimizer.php'; + } + + return $this->plugin_basename; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PRIVATE TOOLS =========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if EWWW is active for network. + * + * @since 3.4 + * @access private + * @author Grégory Viguier + * + * @return bool + */ + private function is_active_for_network() { + static $is; + + if ( isset( $is ) ) { + return $is; + } + + if ( ! is_multisite() ) { + $is = false; + return $is; + } + + if ( ! function_exists( 'is_plugin_active_for_network' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + $is = is_plugin_active_for_network( $this->get_basename() ) && ! get_site_option( 'ewww_image_optimizer_allow_multisite_override' ); + + return $is; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/class-imagify-subscriber.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-imagify-subscriber.php new file mode 100644 index 0000000..d8b60d4 --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-imagify-subscriber.php @@ -0,0 +1,435 @@ +is_serving_webp(). + * + * @var bool + * @access private + * @author Grégory Viguier + */ + private $tmp_is_serving_webp; + + /** + * Constructor. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param Options_Data $options Options instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_webp_plugins' => 'register', + 'wp_rocket_loaded' => 'load_hooks', + ]; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOKS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Launch filters. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function load_hooks() { + if ( ! $this->options->get( 'cache_webp' ) ) { + return; + } + + /** + * Every time Imagify is (de)activated, we must "sync" our webp cache option. + */ + add_action( 'imagify_activation', [ $this, 'plugin_activation' ], 20 ); + add_action( 'imagify_deactivation', [ $this, 'plugin_deactivation' ], 20 ); + + if ( ! rocket_has_constant( 'IMAGIFY_VERSION' ) ) { + return; + } + + /** + * Since Rocket already updates the config file after updating its options, there is no need to do it again if the CDN or zone options change. + */ + + /** + * Every time Imagify’s option changes, we must "sync" our webp cache option. + */ + $option_name = $this->get_option_name_to_serve_webp(); + + if ( $this->is_active_for_network() ) { + add_filter( 'add_site_option_' . $option_name, [ $this, 'sync_on_network_option_add' ], 10, 3 ); + add_filter( 'update_site_option_' . $option_name, [ $this, 'sync_on_network_option_update' ], 10, 4 ); + add_filter( 'pre_delete_site_option_' . $option_name, [ $this, 'store_option_value_before_network_delete' ], 10, 2 ); + add_filter( 'delete_site_option_' . $option_name, [ $this, 'sync_on_network_option_delete' ], 10, 2 ); + return; + } + + add_filter( 'add_option_' . $option_name, [ $this, 'sync_on_option_add' ], 10, 2 ); + add_filter( 'update_option_' . $option_name, [ $this, 'sync_on_option_update' ], 10, 2 ); + add_filter( 'delete_option', [ $this, 'store_option_value_before_delete' ] ); + add_filter( 'delete_option_' . $option_name, [ $this, 'sync_on_option_delete' ] ); + } + + /** + * Maybe deactivate webp cache after Imagify network option has been successfully added. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the network option. + * @param mixed $value Value of the network option. + * @param int $network_id ID of the network. + */ + public function sync_on_network_option_add( $option, $value, $network_id ) { + if ( get_current_network_id() === $network_id && ! empty( $value['display_webp'] ) ) { + $this->trigger_webp_change(); + } + } + + /** + * Maybe activate or deactivate webp cache after Imagify network option has been modified. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the network option. + * @param mixed $value Current value of the network option. + * @param mixed $old_value Old value of the network option. + * @param int $network_id ID of the network. + */ + public function sync_on_network_option_update( $option, $value, $old_value, $network_id ) { + if ( get_current_network_id() === $network_id ) { + $this->sync_on_option_update( $old_value, $value ); + } + } + + /** + * Store the Imagify network option value before it is deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Option name. + * @param int $network_id ID of the network. + */ + public function store_option_value_before_network_delete( $option, $network_id ) { + if ( get_current_network_id() === $network_id ) { + $this->tmp_is_serving_webp = $this->is_serving_webp(); + } + } + + /** + * Maybe activate webp cache after Imagify network option has been deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the network option. + * @param int $network_id ID of the network. + */ + public function sync_on_network_option_delete( $option, $network_id ) { + if ( get_current_network_id() === $network_id && false !== $this->tmp_is_serving_webp ) { + $this->trigger_webp_change(); + } + } + + /** + * Maybe deactivate webp cache after Imagify option has been successfully added. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param mixed $value Value of the option. + */ + public function sync_on_option_add( $option, $value ) { + if ( ! empty( $value['display_webp'] ) ) { + $this->trigger_webp_change(); + } + } + + /** + * Maybe activate or deactivate webp cache after Imagify option has been modified. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param mixed $old_value The old option value. + * @param mixed $value The new option value. + */ + public function sync_on_option_update( $old_value, $value ) { + $old_display = ! empty( $old_value['display_webp'] ); + $display = ! empty( $value['display_webp'] ); + + if ( $old_display !== $display || $old_value['display_webp_method'] !== $value['display_webp_method'] ) { + $this->trigger_webp_change(); + } + } + + /** + * Store the Imagify option value before it is deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to delete. + */ + public function store_option_value_before_delete( $option ) { + if ( $this->get_option_name_to_serve_webp() === $option ) { + $this->tmp_is_serving_webp = $this->is_serving_webp(); + } + } + + /** + * Maybe activate webp cache after Imagify option has been deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the deleted option. + */ + public function sync_on_option_delete( $option ) { + if ( false !== $this->tmp_is_serving_webp ) { + $this->trigger_webp_change(); + } + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC TOOLS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the plugin name. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_name() { + return 'Imagify'; + } + + /** + * Get the plugin identifier. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_id() { + return 'imagify'; + } + + /** + * Tell if the plugin converts images to webp. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_converting_to_webp() { + if ( ! function_exists( 'get_imagify_option' ) ) { + // No Imagify, no webp. + return false; + } + + return (bool) get_imagify_option( 'convert_to_webp' ); + } + + /** + * Tell if the plugin serves webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp() { + if ( ! function_exists( 'get_imagify_option' ) ) { + // No Imagify, no webp. + return false; + } + + return (bool) get_imagify_option( 'display_webp' ); + } + + /** + * Tell if the plugin uses a CDN-compatible technique to serve webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp_compatible_with_cdn() { + if ( ! $this->is_serving_webp() ) { + return false; + } + + return 'rewrite' !== get_imagify_option( 'display_webp_method' ); + } + + /** + * Get the plugin basename. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function get_basename() { + if ( empty( $this->plugin_basename ) ) { + $this->plugin_basename = rocket_has_constant( 'IMAGIFY_FILE' ) + ? plugin_basename( rocket_get_constant( 'IMAGIFY_FILE' ) ) + : 'imagify/imagify.php'; + } + + return $this->plugin_basename; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PRIVATE TOOLS =========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the name of the Imagify’s "serve webp" option. + * + * @since 3.4 + * @access private + * @author Grégory Viguier + * + * @return string + */ + private function get_option_name_to_serve_webp() { + if ( ! empty( $this->plugin_option_name_to_serve_webp ) ) { + return $this->plugin_option_name_to_serve_webp; + } + + $default = 'imagify_settings'; + + if ( ! class_exists( '\Imagify_Options' ) || ! method_exists( '\Imagify_Options', 'get_instance' ) ) { + $this->plugin_option_name_to_serve_webp = $default; + return $this->plugin_option_name_to_serve_webp; + } + + $instance = \Imagify_Options::get_instance(); + + if ( ! method_exists( $instance, 'get_option_name' ) ) { + $this->plugin_option_name_to_serve_webp = $default; + return $this->plugin_option_name_to_serve_webp; + } + + $this->plugin_option_name_to_serve_webp = $instance->get_option_name(); + + return $this->plugin_option_name_to_serve_webp; + } + + /** + * Tell if Imagify is active for network. + * + * @since 3.4 + * @access private + * @author Grégory Viguier + * + * @return bool + */ + private function is_active_for_network() { + static $is; + + if ( isset( $is ) ) { + return $is; + } + + if ( function_exists( 'imagify_is_active_for_network' ) ) { + $is = imagify_is_active_for_network(); + return $is; + } + + if ( ! is_multisite() ) { + $is = false; + return $is; + } + + if ( ! function_exists( 'is_plugin_active_for_network' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + $is = is_plugin_active_for_network( $this->get_basename() ); + + return $is; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/class-optimus-subscriber.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-optimus-subscriber.php new file mode 100644 index 0000000..fa51837 --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-optimus-subscriber.php @@ -0,0 +1,152 @@ + 'register', + ]; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOKS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Register the plugin. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param array $webp_plugins An array of Webp_Interface objects. + * @return array + */ + public function register( $webp_plugins ) { + $webp_plugins[] = $this; + return $webp_plugins; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC TOOLS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the plugin name. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_name() { + return 'Optimus'; + } + + /** + * Get the plugin identifier. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_id() { + return 'optimus'; + } + + /** + * Tell if the plugin converts images to webp. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_converting_to_webp() { + if ( class_exists( '\Optimus' ) && method_exists( '\Optimus', 'get_options' ) ) { + $options = \Optimus::get_options(); + } else { + $options = get_option( 'optimus' ); + } + + return ! empty( $options['webp_convert'] ); + } + + /** + * Tell if the plugin serves webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp() { + return false; + } + + /** + * Tell if the plugin uses a CDN-compatible technique to serve webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp_compatible_with_cdn() { + return false; + } + + /** + * Get the plugin basename. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function get_basename() { + if ( empty( $this->plugin_basename ) ) { + $this->plugin_basename = defined( 'OPTIMUS_FILE' ) ? plugin_basename( OPTIMUS_FILE ) : 'optimus/optimus.php'; + } + + return $this->plugin_basename; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/class-shortpixel-subscriber.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-shortpixel-subscriber.php new file mode 100644 index 0000000..045f9bb --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/class-shortpixel-subscriber.php @@ -0,0 +1,294 @@ +is_serving_webp(). + * + * @var bool + * @access private + * @author Grégory Viguier + */ + private $tmp_is_serving_webp; + + /** + * Constructor. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param Options_Data $options Options instance. + */ + public function __construct( Options_Data $options ) { + $this->options = $options; + } + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_webp_plugins' => 'register', + 'wp_rocket_loaded' => 'load_hooks', + ]; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOKS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Launch filters. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function load_hooks() { + if ( ! $this->options->get( 'cache_webp' ) ) { + return; + } + + /** + * Every time ShortPixel is (de)activated, we must "sync" our webp cache option. + */ + if ( did_action( 'activate_' . $this->get_basename() ) ) { + $this->plugin_activation(); + } + if ( did_action( 'deactivate_' . $this->get_basename() ) ) { + $this->plugin_deactivation(); + } + add_action( 'activate_' . $this->get_basename(), [ $this, 'plugin_activation' ], 20 ); + add_action( 'deactivate_' . $this->get_basename(), [ $this, 'plugin_deactivation' ], 20 ); + + if ( ! defined( 'SHORTPIXEL_IMAGE_OPTIMISER_VERSION' ) ) { + return; + } + + /** + * Since Rocket already updates the config file after updating its options, there is no need to do it again if the CDN or zone options change. + */ + + /** + * Every time ShortPixel’s option changes, we must "sync" our webp cache option. + */ + $option_name = $this->plugin_option_name_to_serve_webp; + + add_filter( 'add_option_' . $option_name, [ $this, 'sync_on_option_add' ], 10, 2 ); + add_filter( 'update_option_' . $option_name, [ $this, 'sync_on_option_update' ], 10, 2 ); + add_filter( 'delete_option', [ $this, 'store_option_value_before_delete' ] ); + add_filter( 'delete_option_' . $option_name, [ $this, 'sync_on_option_delete' ] ); + } + + /** + * Maybe deactivate webp cache after ShortPixel option has been successfully added. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param mixed $value Value of the option. + */ + public function sync_on_option_add( $option, $value ) { + if ( $value ) { + $this->trigger_webp_change(); + } + } + + /** + * Maybe activate or deactivate webp cache after ShortPixel option has been modified. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param mixed $old_value The old option value. + * @param mixed $value The new option value. + */ + public function sync_on_option_update( $old_value, $value ) { + /** + * 0 = Don’t serve webp. + * 1 = + buffer + * 2 = + hooks + * 3 = .htaccess + */ + $old_value = $old_value > 0; + $value = $value > 0; + + if ( $old_value !== $value ) { + $this->trigger_webp_change(); + } + } + + /** + * Store the ShortPixel option value before it is deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to delete. + */ + public function store_option_value_before_delete( $option ) { + if ( $this->plugin_option_name_to_serve_webp === $option ) { + $this->tmp_is_serving_webp = $this->is_serving_webp(); + } + } + + /** + * Maybe activate webp cache after ShortPixel option has been deleted. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function sync_on_option_delete() { + if ( false !== $this->tmp_is_serving_webp ) { + $this->trigger_webp_change(); + } + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC TOOLS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the plugin name. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_name() { + return 'ShortPixel'; + } + + /** + * Get the plugin identifier. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_id() { + return 'shortpixel'; + } + + /** + * Tell if the plugin converts images to webp. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_converting_to_webp() { + return (bool) get_option( 'wp-short-create-webp' ); + } + + /** + * Tell if the plugin serves webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp() { + return (bool) get_option( $this->plugin_option_name_to_serve_webp ); + } + + /** + * Tell if the plugin uses a CDN-compatible technique to serve webp images on frontend. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_serving_webp_compatible_with_cdn() { + $display = (int) get_option( $this->plugin_option_name_to_serve_webp ); + + if ( ! $display ) { + // The option is not enabled, no webp. + return false; + } + + if ( 3 === $display ) { + // The option is set to "rewrite rules". + return false; + } + + return true; + } + + /** + * Get the plugin basename. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function get_basename() { + if ( empty( $this->plugin_basename ) ) { + $this->plugin_basename = defined( 'SHORTPIXEL_PLUGIN_FILE' ) ? plugin_basename( SHORTPIXEL_PLUGIN_FILE ) : 'shortpixel-image-optimiser/wp-shortpixel.php'; + } + + return $this->plugin_basename; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/trait-webp-common.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/trait-webp-common.php new file mode 100644 index 0000000..1623cef --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/trait-webp-common.php @@ -0,0 +1,69 @@ +is_serving_webp() ) { + $this->trigger_webp_change(); + } + } + + /** + * On plugin deactivation, activate Rocket webp cache if the plugin is serving webp. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function plugin_deactivation() { + if ( $this->is_serving_webp() ) { + $this->trigger_webp_change(); + } + } + + /** + * Trigger an action when the webp feature is enabled/disabled in a third party plugin. + * + * @since 3.4 + * @access public + * @author Grégory Viguier + */ + public function trigger_webp_change() { + /** + * Trigger an action when the webp feature is enabled/disabled in a third party plugin. + * + * @since 3.4 + * @author Grégory Viguier + */ + do_action( 'rocket_third_party_webp_change' ); + } +} diff --git a/inc/classes/subscriber/third-party/plugins/Images/Webp/webp-interface.php b/inc/classes/subscriber/third-party/plugins/Images/Webp/webp-interface.php new file mode 100644 index 0000000..8f2144a --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/Images/Webp/webp-interface.php @@ -0,0 +1,64 @@ + 1, + 'do_caching_mobile_files' => 1, + ]; + + /** + * Cache the value of self::is_mobile_plugin_active(). + * + * @since 3.2 + * @access protected + * @author Grégory Viguier + * + * @var array An array of arrays of booleans. + * First level of keys corresponds to the network ID. Second level of keys corresponds to the blog ID. + */ + protected static $is_mobile_active = []; + + /** + * Returns an array of events that this subscriber wants to listen to. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return array + */ + public static function get_subscribed_events() { + // In case a mobile plugin has already been activated. + $do = []; + $undo = []; + $plugin_events = []; + + if ( ! function_exists( '\is_plugin_active' ) ) { + include_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + foreach ( static::get_mobile_plugins() as $plugin => $plugin_data ) { + if ( \did_action( 'activate_' . $plugin ) && + ! isset( $plugin_data['is_active_callback'] ) ) { + $do[] = $plugin; + } + + if ( \did_action( 'activate_' . $plugin ) && + isset( $plugin_data['is_active_callback'] ) && + call_user_func( $plugin_data['is_active_callback'] ) ) { + $do[] = $plugin; + } + + if ( \did_action( 'deactivate_' . $plugin ) ) { + $undo[] = $plugin; + } + + if ( \is_plugin_active( $plugin ) ) { + if ( isset( $plugin_data['activation_hook'] ) ) { + $plugin_events[ $plugin_data['activation_hook'] ] = 'maybe_update_mobile_cache_activation_plugin_hook'; + } + if ( isset( $plugin_data['deactivation_hook'] ) ) { + $plugin_events[ $plugin_data['deactivation_hook'] ] = 'maybe_update_mobile_cache_activation_plugin_hook'; + } + } + } + + if ( array_diff( $do, $undo ) || array_diff( $undo, $do ) ) { + static::update_mobile_cache_activation(); + } + + // Register events. + $events = [ + // Plugin activation/deactivation. + 'add_option_active_plugins' => [ 'add_option_callback', 10, 2 ], + 'update_option_active_plugins' => [ 'update_option_callback', 10, 2 ], + 'delete_option_active_plugins' => 'delete_option_callback', + 'add_site_option_active_sitewide_plugins' => [ 'add_site_option_callback', 10, 3 ], + 'update_site_option_active_sitewide_plugins' => [ 'update_site_option_callback', 10, 4 ], + 'delete_site_option_active_sitewide_plugins' => [ 'delete_site_option_callback', 10, 2 ], + // WPR settings (`get_option()`). + 'option_' . WP_ROCKET_SLUG => 'mobile_options_filter', + ]; + + foreach ( static::$options as $option => $value ) { + // WPR settings (`get_rocket_option()`). + $events[ 'pre_get_rocket_option_' . $option ] = 'is_mobile_plugin_active_callback'; + } + + $events = array_merge( $events, $plugin_events ); + + return $events; + } + + /** ----------------------------------------------------------------------------------------- */ + /** HOOK CALLBACKS ========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Callback triggered after the option `active_plugins` is created. + * This should normally never be triggered. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param mixed $value Value of the option. + */ + public function add_option_callback( $option, $value ) { + $this->maybe_update_mobile_cache_activation( $value, [] ); + } + + /** + * Callback triggered after the option `active_plugins` is updated. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param mixed $old_value The old option value. + * @param mixed $value Value of the option. + */ + public function update_option_callback( $old_value, $value ) { + $this->maybe_update_mobile_cache_activation( $value, $old_value ); + } + + /** + * Callback triggered after the option `active_plugins` is deleted. + * Very low probability to be triggered. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + */ + public function delete_option_callback() { + static::update_mobile_cache_activation(); + } + + /** + * Callback triggered after the option `active_sitewide_plugins` is created. + * This should normally never be triggered. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param mixed $value Value of the option. + * @param int $network_id ID of the network. + */ + public function add_site_option_callback( $option, $value, $network_id ) { + if ( get_current_network_id() === $network_id ) { + $this->maybe_update_mobile_cache_activation( $value, [] ); + } + } + + /** + * Callback triggered after the option `active_sitewide_plugins` is updated. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param mixed $value Value of the option. + * @param mixed $old_value The old option value. + * @param int $network_id ID of the network. + */ + public function update_site_option_callback( $option, $value, $old_value, $network_id ) { + if ( get_current_network_id() === $network_id ) { + $this->maybe_update_mobile_cache_activation( $value, $old_value ); + } + } + + /** + * Callback triggered after the option `active_sitewide_plugins` is deleted. + * Very low probability to be triggered. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $option Name of the option to add. + * @param int $network_id ID of the network. + */ + public function delete_site_option_callback( $option, $network_id ) { + if ( get_current_network_id() === $network_id ) { + static::update_mobile_cache_activation(); + } + } + + /** + * Enable mobile caching when a mobile plugin is activated, or revert it back to its previous state when a mobile plugin is deactivated. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param mixed $value The new option value. + * @param mixed $old_value The old option value. + */ + public function maybe_update_mobile_cache_activation( $value, $old_value ) { + $plugins = static::get_mobile_plugins(); + $plugins = array_keys( $plugins ); + $value = array_intersect( $plugins, (array) $value ); + $old_value = array_intersect( $plugins, (array) $old_value ); + + if ( $value !== $old_value ) { + static::update_mobile_cache_activation(); + } + } + + /** + * Enables mobile caching when a mobile plugin option is activated, or reverts it back to its previous state when a mobile plugin option is deactivated. + * + * @since 3.4.2 + * @access public + * @author Soponar Cristina + * + * @return void + */ + public function maybe_update_mobile_cache_activation_plugin_hook() { + $is_mobile_plugin_active = static::is_mobile_plugin_active(); + static::reset_class_cache(); + $is_new_mobile_plugin_active = static::is_mobile_plugin_active(); + if ( $is_mobile_plugin_active !== $is_new_mobile_plugin_active ) { + static::update_mobile_cache_activation(); + } + } + + /** + * Forces the values for the mobile options if a mobile plugin is active. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param array $values Option values. + * @return array + */ + public function mobile_options_filter( $values ) { + if ( static::is_mobile_plugin_active() ) { + return array_merge( (array) $values, static::$options ); + } + + return $values; + } + + /** + * Forces the value for a mobile option if a mobile plugin is active. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param int|null $value Option value. + * @return int|null + */ + public function is_mobile_plugin_active_callback( $value ) { + if ( static::is_mobile_plugin_active() ) { + return 1; + } + + return $value; + } + + /** ----------------------------------------------------------------------------------------- */ + /** MAIN HELPERS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Update the config file and the advanced cache file. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + */ + public static function update_mobile_cache_activation() { + // Reset class cache. + static::reset_class_cache(); + + // Update the config file. + rocket_generate_config_file(); + // Update the advanced cache file. + rocket_generate_advanced_cache_file(); + // Flush htaccess file. + flush_rocket_htaccess(); + } + + /** + * Reset `is_mobile_plugin_active()` cache. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + */ + public static function reset_class_cache() { + // Reset class cache. + unset( static::$is_mobile_active[ get_current_network_id() ][ get_current_blog_id() ] ); + } + + /** + * Get the concerned plugins. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return array + */ + public static function get_mobile_plugins() { + return [ + 'jetpack/jetpack.php' => [ + 'is_active_callback' => function () { + if ( ! class_exists( 'Jetpack' ) ) { + return false; + } + return \Jetpack::is_active() && \Jetpack::is_module_active( 'minileven' ); + }, + 'activation_hook' => 'jetpack_activate_module_minileven', + 'deactivation_hook' => 'jetpack_deactivate_module_minileven', + ], + 'wptouch/wptouch.php' => [], + 'wiziapp-create-your-own-native-iphone-app/wiziapp.php' => [], + 'wordpress-mobile-pack/wordpress-mobile-pack.php' => [], + 'wp-mobilizer/wp-mobilizer.php' => [], + 'wp-mobile-edition/wp-mobile-edition.php' => [], + 'device-theme-switcher/dts_controller.php' => [], + 'wp-mobile-detect/wp-mobile-detect.php' => [], + 'easy-social-share-buttons3/easy-social-share-buttons3.php' => [], + 'jet-menu/jet-menu.php' => [], + 'wpdiscuz/class.WpdiscuzCore.php' => [], + ]; + } + + /** + * Tell if a mobile plugin is active. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool True if a mobile plugin in the list is active, false otherwise. + */ + public static function is_mobile_plugin_active() { + $network_id = get_current_network_id(); + $blog_id = get_current_blog_id(); + + if ( isset( static::$is_mobile_active[ $network_id ][ $blog_id ] ) ) { + return static::$is_mobile_active[ $network_id ][ $blog_id ]; + } + + if ( ! function_exists( '\is_plugin_active' ) ) { + include_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + if ( ! isset( static::$is_mobile_active[ $network_id ] ) ) { + static::$is_mobile_active[ $network_id ] = []; + } + + foreach ( static::get_mobile_plugins() as $mobile_plugin => $mobile_plugin_data ) { + if ( \is_plugin_active( $mobile_plugin ) && + isset( $mobile_plugin_data['is_active_callback'] ) && + call_user_func( $mobile_plugin_data['is_active_callback'] ) ) { + static::$is_mobile_active[ $network_id ][ $blog_id ] = true; + return true; + } + if ( \is_plugin_active( $mobile_plugin ) && + ! isset( $mobile_plugin_data['is_active_callback'] ) ) { + static::$is_mobile_active[ $network_id ][ $blog_id ] = true; + return true; + } + } + + static::$is_mobile_active[ $network_id ][ $blog_id ] = false; + return false; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/class-ngg-subscriber.php b/inc/classes/subscriber/third-party/plugins/class-ngg-subscriber.php new file mode 100644 index 0000000..21d402a --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/class-ngg-subscriber.php @@ -0,0 +1,50 @@ + 'deactivate_resource_manager', + ]; + } + + /** + * Deactivate NGG Resource Manager to prevent conflict with WP Rocket output buffering + * + * @since 3.3.1 + * @author Remy Perona + * + * @param bool $valid_request Indicates if the current request is valid for the NGG resource manager. + * + * @return bool + */ + public function deactivate_resource_manager( $valid_request ) { + if ( is_admin() ) { + return $valid_request; + } + + return false; + } +} diff --git a/inc/classes/subscriber/third-party/plugins/class-syntaxhighlighter-subscriber.php b/inc/classes/subscriber/third-party/plugins/class-syntaxhighlighter-subscriber.php new file mode 100644 index 0000000..72597a4 --- /dev/null +++ b/inc/classes/subscriber/third-party/plugins/class-syntaxhighlighter-subscriber.php @@ -0,0 +1,69 @@ + 'exclude_defer_js_syntaxhighlighter_scripts', + 'rocket_exclude_js' => 'exclude_minify_js_syntaxhighlighter_scripts', + ]; + } + + /** + * Adds SyntaxHighlighter scripts to defer JS exclusion + * + * @since 3.3.1 + * @author Remy Perona + * + * @param array $excluded_scripts Array of scripts to exclude. + * @return array + */ + public function exclude_defer_js_syntaxhighlighter_scripts( $excluded_scripts ) { + return array_merge( + $excluded_scripts, + [ + 'syntaxhighlighter/syntaxhighlighter3/scripts/(.*).js', + 'syntaxhighlighter/syntaxhighlighter2/scripts/(.*).js', + ] + ); + } + + /** + * Adds SyntaxHighlighter scripts to minify/combine JS exclusion + * + * @since 3.3.1 + * @author Remy Perona + * + * @param array $excluded_scripts Array of scripts to exclude. + * @return array + */ + public function exclude_minify_js_syntaxhighlighter_scripts( $excluded_scripts ) { + return array_merge( + $excluded_scripts, + [ + rocket_clean_exclude_file( plugins_url( 'syntaxhighlighter/syntaxhighlighter3/scripts/(.*).js' ) ), + rocket_clean_exclude_file( plugins_url( 'syntaxhighlighter/syntaxhighlighter2/scripts/(.*).js' ) ), + ] + ); + } +} diff --git a/inc/classes/traits/trait-config-updater.php b/inc/classes/traits/trait-config-updater.php new file mode 100644 index 0000000..f14c27b --- /dev/null +++ b/inc/classes/traits/trait-config-updater.php @@ -0,0 +1,65 @@ +flush_htaccess(); + $this->generate_config_file(); + } + } + + /** + * Sets the htaccess update request + * + * @since 3.1 + * @author Remy Perona + * + * @return void + */ + protected function flush_htaccess() { + wp_cache_set( 'rocket_flush_htaccess', 1 ); + } + + /** + * Sets WP Rocket config file update request + * + * @since 3.1 + * @author Remy Perona + * + * @return void + */ + protected function generate_config_file() { + wp_cache_set( 'rocket_generate_config_file', 1 ); + } + + /** + * Performs the files update if requested + * + * @since 3.1 + * @author Remy Perona + * + * @return void + */ + public function maybe_update_config() { + if ( wp_cache_get( 'rocket_flush_htaccess' ) ) { + flush_rocket_htaccess(); + wp_cache_delete( 'rocket_flush_htaccess' ); + } + + if ( wp_cache_get( 'rocket_generate_config_file' ) ) { + \rocket_generate_config_file(); + wp_cache_delete( 'rocket_generate_config_file' ); + } + } +} diff --git a/inc/classes/traits/trait-memoize.php b/inc/classes/traits/trait-memoize.php new file mode 100644 index 0000000..2ef65e9 --- /dev/null +++ b/inc/classes/traits/trait-memoize.php @@ -0,0 +1,83 @@ +add_menu( + [ + 'id' => 'wp-rocket', + 'title' => WP_ROCKET_PLUGIN_NAME, + 'href' => current_user_can( 'rocket_manage_options' ) ? admin_url( 'options-general.php?page=' . WP_ROCKET_PLUGIN_SLUG ) : false, + ] + ); + } + + if ( current_user_can( 'rocket_manage_options' ) ) { + /** + * Settings. + */ + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'rocket-settings', + 'title' => __( 'Settings', 'rocket' ), + 'href' => admin_url( 'options-general.php?page=' . WP_ROCKET_PLUGIN_SLUG ), + ] + ); + } + + if ( current_user_can( 'rocket_purge_cache' ) ) { + /** + * Purge Cache. + */ + $action = 'purge_cache'; + + if ( rocket_valid_key() ) { + $i18n_plugin = rocket_has_i18n(); + + if ( $i18n_plugin ) { + // Parent. + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-all', + 'title' => (bool) get_rocket_option( 'manual_preload', false ) ? __( 'Clear and preload cache', 'rocket' ) : __( 'Clear cache', 'rocket' ), + ] + ); + + $langlinks_default = []; + + // Add submenu for each active langs. + switch ( $i18n_plugin ) { + case 'wpml': + $langlinks = get_rocket_wpml_langs_for_admin_bar(); + break; + case 'qtranslate': + $langlinks = get_rocket_qtranslate_langs_for_admin_bar(); + break; + case 'qtranslate-x': + $langlinks = get_rocket_qtranslate_langs_for_admin_bar( 'x' ); + break; + case 'polylang': + $langlinks = get_rocket_polylang_langs_for_admin_bar(); + break; + default: + /** + * Filters the value of the lang links menu + * + * @param array $langlinks Array of languages. + */ + $langlinks = apply_filters( 'rocket_i18n_admin_bar_menu', [] ); + + if ( ! is_array( $langlinks ) ) { + $langlinks = $langlinks_default; + } + } + + if ( $langlinks ) { + foreach ( $langlinks as $lang ) { + $wp_admin_bar->add_menu( + [ + 'parent' => 'purge-all', + 'id' => 'purge-all-' . $lang['code'], + 'title' => $lang['flag'] . ' ' . $lang['anchor'], + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=' . $lang['code'] . $referer ), $action . '_all' ), + ] + ); + } + + if ( 'wpml' !== $i18n_plugin ) { + // Add subemnu "All langs" (the one for WPML is already printed). + $wp_admin_bar->add_menu( + [ + 'parent' => 'purge-all', + 'id' => 'purge-all-all', + 'title' => '
    ' . __( 'All languages', 'rocket' ) . '
    ', + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=all' . $referer ), $action . '_all' ), + ] + ); + } + } + } else { + // Purge All. + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-all', + 'title' => (bool) get_rocket_option( 'manual_preload', false ) ? __( 'Clear and preload cache', 'rocket' ) : __( 'Clear cache', 'rocket' ), + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all' . $referer ), $action . '_all' ), + ] + ); + } + + /** + * Filters the rocket clear post admin bar menu. + * + * @since 3.11.4 + * + * @param bool $should_skip Should skip adding clear post to rocket option in admin bar. + * @param type $post Post object. + */ + if ( ! apply_filters( 'rocket_skip_admin_bar_cache_purge_option', false, $post ) && rocket_can_display_options() ) { + if ( is_admin() ) { + /** + * Purge a post. + */ + if ( $post && 'post.php' === $pagenow && isset( $_GET['action'], $_GET['post'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-post', + 'title' => __( 'Clear this post', 'rocket' ), + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=post-' . $post->ID . $referer ), $action . '_post-' . $post->ID ), + ] + ); + + } + } else { + /** + * Purge this URL (frontend). + */ + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-url', + 'title' => __( 'Purge this URL', 'rocket' ), + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=url' . $referer ), $action . '_url' ), + ] + ); + } + } + } + } + + if ( current_user_can( 'rocket_purge_sucuri_cache' ) ) { + /** + * Purge Sucuri cache if Sucuri is active. + */ + if ( get_rocket_option( 'sucury_waf_cache_sync', 0 ) ) { + $action = 'rocket_purge_sucuri'; + + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-sucuri', + 'title' => __( 'Purge Sucuri cache', 'rocket' ), + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . $referer ), $action ), + ] + ); + } + } + + /** + * Fires when adding WP Rocket admin bar items + * + * @since 3.6 + * + * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference. + */ + do_action( 'rocket_admin_bar_items', $wp_admin_bar ); + + if ( current_user_can( 'rocket_manage_options' ) ) { + $rocketcdn_status = get_transient( 'rocketcdn_status' ); + + if ( isset( $rocketcdn_status['subscription_active'] ) && 'running' === $rocketcdn_status['subscription_active'] ) { + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'purge-cdn-cache', + 'title' => __( 'Purge RocketCDN cache', 'rocket' ), + 'href' => wp_nonce_url( admin_url( 'admin-post.php?action=rocket_purge_rocketcdn' . $referer ), 'rocket_purge_rocketcdn' ), + ] + ); + } + + /** + * Go to WP Rocket Documentation. + */ + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'docs', + 'title' => __( 'Documentation', 'rocket' ), + 'href' => get_rocket_documentation_url(), + ] + ); + + /** + * Go to WP Rocket FAQ. + */ + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'faq', + 'title' => __( 'FAQ', 'rocket' ), + 'href' => get_rocket_faq_url(), + ] + ); + + /** + * Go to WP Rocket Support. + */ + $wp_admin_bar->add_menu( + [ + 'parent' => 'wp-rocket', + 'id' => 'support', + 'title' => __( 'Support', 'rocket' ), + 'href' => rocket_get_external_url( + 'support', + [ + 'utm_source' => 'wp_plugin', + 'utm_medium' => 'wp_rocket', + ] + ), + ] + ); + } +} +add_action( 'admin_bar_menu', 'rocket_admin_bar', PHP_INT_MAX - 10 ); diff --git a/inc/common/purge.php b/inc/common/purge.php new file mode 100644 index 0000000..7ee0d2c --- /dev/null +++ b/inc/common/purge.php @@ -0,0 +1,629 @@ +post_type && (int) get_option( 'page_for_posts' ) > 0 ) { + $purge_urls[] = get_permalink( get_option( 'page_for_posts' ) ); + } + + // Add Post Type archive. + $post_type = $post->post_type; + if ( 'post' !== $post_type ) { + $post_type_archive = get_post_type_archive_link( $post_type ); + if ( $post_type_archive ) { + // Rename the caching filename for SSL URLs. + $filename = 'index'; + if ( is_ssl() ) { + $filename .= '-https'; + } + + $post_type_archive = trailingslashit( $post_type_archive ); + $purge_urls[] = $post_type_archive . $filename . '.html'; + $purge_urls[] = $post_type_archive . $filename . '.html_gzip'; + $purge_urls[] = $post_type_archive . $GLOBALS['wp_rewrite']->pagination_base; + } + } + + // Add next post. + $next_post = get_adjacent_post( false, '', false ); + if ( $next_post ) { + $purge_urls[] = get_permalink( $next_post ); + } + + // Add next post in same category. + $next_in_same_cat_post = get_adjacent_post( true, '', false ); + if ( $next_in_same_cat_post && $next_in_same_cat_post !== $next_post ) { + $purge_urls[] = get_permalink( $next_in_same_cat_post ); + } + + // Add previous post. + $previous_post = get_adjacent_post( false, '', true ); + if ( $previous_post ) { + $purge_urls[] = get_permalink( $previous_post ); + } + + // Add previous post in same category. + $previous_in_same_cat_post = get_adjacent_post( true, '', true ); + if ( $previous_in_same_cat_post && $previous_in_same_cat_post !== $previous_post ) { + $purge_urls[] = get_permalink( $previous_in_same_cat_post ); + } + + // Add urls page to purge every time a post is save. + $cache_purge_pages = get_rocket_option( 'cache_purge_pages' ); + if ( $cache_purge_pages ) { + global $blog_id; + + $home_url = get_option( 'home' ); + + if ( ! empty( $blog_id ) && is_multisite() ) { + switch_to_blog( $blog_id ); + $home_url = get_option( 'home' ); + restore_current_blog(); + } + + $home_parts = get_rocket_parse_url( $home_url ); + $home_url = "{$home_parts['scheme']}://{$home_parts['host']}"; + $cache_path = rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ) . $home_parts['host']; + + foreach ( $cache_purge_pages as $page ) { + // Check if it contains regex pattern. + if ( strstr( $page, '*' ) ) { + $matches_files = _rocket_get_recursive_dir_files_by_regex( '#' . $page . '#i' ); + foreach ( $matches_files as $file ) { + // Convert path to URL. + $purge_urls[] = str_replace( $cache_path, untrailingslashit( $home_url ), $file->getPath() ); + } + continue; + } + + $purge_urls[] = trailingslashit( $home_url ) . ltrim( $page, '/' ); + } + } + + // Add the author page. + $author_url = trailingslashit( get_author_posts_url( $post->post_author ) ); + if ( trailingslashit( site_url() ) !== $author_url && trailingslashit( home_url() ) !== $author_url ) { + $purge_urls[] = $author_url; + } + + // Add all parents. + $parents = get_post_ancestors( $post_id ); + if ( (bool) $parents ) { + foreach ( $parents as $parent_id ) { + $purge_urls[] = get_permalink( $parent_id ); + } + } + + // Remove entries with empty values in array. + $purge_urls = array_filter( $purge_urls, 'is_string' ); + + return array_flip( array_flip( $purge_urls ) ); + } +} + +/** + * Update cache when a post is updated or commented + * + * @since 3.0.5 Don't purge for attachment post type + * @since 2.8 Only add post type archive if post type is not post + * @since 2.6 Purge the page defined in "Posts page" option + * @since 2.5.5 Don't cache for auto-draft post status + * @since 1.3.2 Add wp_update_comment_count to purge cache when a comment is added/updated/deleted + * @since 1.3.0 Compatibility with WPML + * @since 1.3.0 Add 2 hooks : before_rocket_clean_post, after_rocket_clean_post + * @since 1.3.0 Purge all parents of the post and the author page + * @since 1.2.2 Add wp_trash_post and delete_post to purge cache when a post is trashed or deleted + * @since 1.1.3 Use clean_post_cache instead of transition_post_status, transition_comment_status and preprocess_comment + * @since 1.0 + * + * @param int $post_id The post ID. + * @param WP_Post $post WP_Post object. + */ +function rocket_clean_post( $post_id, $post = null ) { + static $done = []; + + if ( isset( $done[ $post_id ] ) ) { + return false; + } + + $done[ $post_id ] = 1; + + if ( defined( 'DOING_AUTOSAVE' ) ) { + return false; + } + + $purge_urls = []; + + // Get all post infos if the $post object was not supplied. + if ( is_null( $post ) ) { + $post = get_post( $post_id ); + } + + // Return if $post is not an object. + if ( ! is_object( $post ) ) { + return false; + } + + // No purge for specific conditions. + if ( 'auto-draft' === $post->post_status || 'draft' === $post->post_status || empty( $post->post_type ) || 'nav_menu_item' === $post->post_type || 'attachment' === $post->post_type ) { + return false; + } + + // Don't purge if post's post type is not public or not publicly queryable. + $post_type = get_post_type_object( $post->post_type ); + if ( ! is_object( $post_type ) || true !== $post_type->public ) { + return false; + } + + // Get the post language. + $i18n_plugin = rocket_has_i18n(); + $lang = ''; + + if ( 'wpml' === $i18n_plugin && ! rocket_is_plugin_active( 'woocommerce-multilingual/wpml-woocommerce.php' ) ) { + // WPML. + $lang = $GLOBALS['sitepress']->get_language_for_element( $post_id, 'post_' . get_post_type( $post_id ) ); + } elseif ( 'polylang' === $i18n_plugin && function_exists( 'pll_get_post_language' ) ) { + // Polylang. + $lang = pll_get_post_language( $post_id ); + } + + $purge_urls = rocket_get_purge_urls( $post_id, $post ); + + /** + * Fires before cache files related with the post are deleted + * + * @since 1.3.0 + * + * @param WP_Post $post The post object + * @param array $purge_urls URLs cache files to remove + * @param string $lang The post language + */ + do_action( 'before_rocket_clean_post', $post, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + /** + * Filter URLs cache files to remove + * + * @since 1.0 + * + * @param array $purge_urls List of URLs cache files to remove + */ + $purge_urls = apply_filters( 'rocket_post_purge_urls', $purge_urls, $post ); + + // Purge all files. + rocket_clean_files( $purge_urls ); + + // Never forget to purge homepage and their pagination. + rocket_clean_home( $lang ); + + // Purge home feeds (blog & comments). + if ( has_filter( 'rocket_cache_reject_uri', 'wp_rocket_cache_feed' ) !== false ) { + rocket_clean_home_feeds(); + } + + /** + * URLs cache files to remove after cache files related with the post are deleted + * + * @param array $purge_urls URLs cache files to remove + * @param WP_Post $post The post object + * @returns array $purge_urls URLs cache files to remove + */ + $purge_urls = (array) apply_filters( 'after_rocket_clean_post_urls', $purge_urls, $post ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + /** + * Fires after cache files related with the post are deleted + * + * @since 1.3.0 + * + * @param WP_Post $post The post object + * @param array $purge_urls URLs cache files to remove + * @param string $lang The post language + */ + do_action( 'after_rocket_clean_post', $post, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + return true; +} +add_action( 'wp_trash_post', 'rocket_clean_post' ); +add_action( 'delete_post', 'rocket_clean_post' ); +add_action( 'clean_post_cache', 'rocket_clean_post' ); +add_action( 'wp_update_comment_count', 'rocket_clean_post' ); + +/** + * Purge WP Rocket cache when post status is changed from publish to draft. + * + * @since 3.4.3 + * + * @param int $post_id The post ID. + * @param array $post_data Array of unslashed post data. + */ +function rocket_clean_post_cache_on_status_change( $post_id, $post_data ) { + if ( 'publish' !== get_post_field( 'post_status', $post_id ) || 'draft' !== $post_data['post_status'] ) { + return; + } + + $purge_urls = []; + $post = get_post( $post_id ); + + // Return if $post is not an object. + if ( ! is_object( $post ) ) { + return; + } + // Get the post language. + $i18n_plugin = rocket_has_i18n(); + $lang = false; + + if ( 'wpml' === $i18n_plugin && ! rocket_is_plugin_active( 'woocommerce-multilingual/wpml-woocommerce.php' ) ) { + // WPML. + $lang = $GLOBALS['sitepress']->get_language_for_element( $post_id, 'post_' . get_post_type( $post_id ) ); + } elseif ( 'polylang' === $i18n_plugin && function_exists( 'pll_get_post_language' ) ) { + // Polylang. + $lang = pll_get_post_language( $post_id ); + } + + $purge_urls = rocket_get_purge_urls( $post_id, $post ); + + /** + * Filter URLs cache files to remove + * + * @since 1.0 + * + * @param array $purge_urls List of URLs cache files to remove + */ + $purge_urls = apply_filters( 'rocket_post_purge_urls', $purge_urls, $post ); + + /** + * Fires before cache files related with the post are deleted + * + * @since 1.3.0 + * + * @param WP_Post $post The post object + * @param array $purge_urls URLs cache files to remove + * @param string $lang The post language + */ + do_action( 'before_rocket_clean_post', $post, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + + // Purge all files. + rocket_clean_files( $purge_urls ); + + // Never forget to purge homepage and their pagination. + rocket_clean_home( $lang ); + + // Purge home feeds (blog & comments). + rocket_clean_home_feeds(); + + /** + * URLs cache files to remove after cache files related with the post are deleted + * + * @param array $purge_urls URLs cache files to remove + * @param WP_Post $post The post object + * @returns array $purge_urls URLs cache files to remove + */ + $purge_urls = (array) apply_filters( 'after_rocket_clean_post_urls', $purge_urls, $post ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + /** + * Fires after cache files related with the post are deleted + * + * @since 1.3.0 + * + * @param WP_Post $post The post object + * @param array $purge_urls URLs cache files to remove + * @param string $lang The post language + */ + do_action( 'after_rocket_clean_post', $post, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound +} +add_action( 'pre_post_update', 'rocket_clean_post_cache_on_status_change', 10, 2 ); + +/** + * Add pattern to clean files of connected users + * + * @since 2.0 + * + * @param array $urls An array of URLs to clean. + * @return array An array of pattern to use for clearing the cache + */ +function rocket_clean_files_users( $urls ) { + $pattern_urls = []; + foreach ( $urls as $url ) { + $parse_url = get_rocket_parse_url( $url ); + $pattern_urls[] = $parse_url['scheme'] . '://' . $parse_url['host'] . '*' . $parse_url['path']; + } + return $pattern_urls; +} +add_filter( 'rocket_clean_files', 'rocket_clean_files_users' ); + +/** + * Return all translated version of a post when qTranslate is used. + * Use the "rocket_post_purge_urls" filter to insert URLs of traduction post. + * + * @since 1.3.5 + * + * @param array $urls An array of URLs to clean. + * @return array Updated array of URLs to clean + */ +function rocket_post_purge_urls_for_qtranslate( $urls ) { + global $q_config; + + if ( ! $urls ) { + return []; + } + + $i18n_plugin = rocket_has_i18n(); + + if ( 'qtranslate' !== $i18n_plugin && 'qtranslate-x' !== $i18n_plugin ) { + return $urls; + } + + // Get all languages. + $enabled_languages = $q_config['enabled_languages']; + + // Remove default language. + $enabled_languages = array_diff( $enabled_languages, [ $q_config['default_language'] ] ); + + // Add translate URLs. + foreach ( $urls as $url ) { + foreach ( $enabled_languages as $lang ) { + if ( 'qtranslate' === $i18n_plugin ) { + $urls[] = qtrans_convertURL( $url, $lang, true ); + } elseif ( 'qtranslate-x' === $i18n_plugin ) { + $urls[] = qtranxf_convertURL( $url, $lang, true ); + } + } + } + + return $urls; +} +add_filter( 'rocket_post_purge_urls', 'rocket_post_purge_urls_for_qtranslate' ); + +/** + * Purge Cache file System in Admin Bar + * + * @since 1.3.0 Compatibility with WPML + * @since 1.0 + */ +function do_admin_post_rocket_purge_cache() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + if ( isset( $_GET['type'], $_GET['_wpnonce'] ) ) { + $type_raw = sanitize_key( $_GET['type'] ); + $type_array = explode( '-', $type_raw ); + + $type = $type_array[0]; + $id = isset( $type_array[1] ) && is_numeric( $type_array[1] ) ? absint( $type_array[1] ) : 0; + $taxonomy = isset( $_GET['taxonomy'] ) ? sanitize_title( wp_unslash( $_GET['taxonomy'] ) ) : ''; + $url = ''; + + if ( ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'purge_cache_' . $type_raw ) ) { + wp_nonce_ays( '' ); + return; + } + + if ( ! current_user_can( 'rocket_purge_cache' ) ) { + return; + } + + switch ( $type ) { + + // Clear all cache domain. + case 'all': + set_transient( 'rocket_clear_cache', 'all', HOUR_IN_SECONDS ); + // Remove all cache files. + $lang = isset( $_GET['lang'] ) && 'all' !== $_GET['lang'] ? sanitize_key( $_GET['lang'] ) : ''; + // Remove all cache files. + rocket_clean_domain( $lang ); + + if ( '' === $lang ) { + // Remove all minify cache files. + rocket_clean_minify(); + rocket_clean_cache_busting(); + + // Generate a new random key for minify cache file. + $options = get_option( WP_ROCKET_SLUG ); + $options['minify_css_key'] = create_rocket_uniqid(); + $options['minify_js_key'] = create_rocket_uniqid(); + remove_all_filters( 'update_option_' . WP_ROCKET_SLUG ); + update_option( WP_ROCKET_SLUG, $options ); + } + + if ( get_rocket_option( 'manual_preload' ) && ( ! defined( 'WP_ROCKET_DEBUG' ) || ! WP_ROCKET_DEBUG ) ) { + $home_url = get_rocket_i18n_home_url( $lang ); + + /** + * Filters the arguments for the preload request being triggered after clearing the cache. + * + * @since 3.4 + * + * @param array $args Request arguments. + */ + $args = (array) apply_filters( + 'rocket_preload_after_purge_cache_request_args', + [ + 'blocking' => false, + 'timeout' => 0.01, + 'user-agent' => 'WP Rocket/Homepage_Preload_After_Purge_Cache', + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + ] + ); + + wp_safe_remote_get( $home_url, $args ); + + /** + * Fires after automatically preloading the homepage, which occurs after purging the cache. + * + * @since 3.5 + * + * @param string $home_url URL to the homepage being preloaded. + * @param string $lang The lang of the homepage. + * @param array $args Arguments used for the preload request. + */ + do_action( 'rocket_after_preload_after_purge_cache', $home_url, $lang, $args ); + } + + rocket_dismiss_box( 'rocket_warning_plugin_modification' ); + rocket_renew_box( 'preload_notice' ); + break; + + // Clear terms, homepage and other files associated at current post in back-end. + case 'post': + rocket_clean_post( $id ); + set_transient( 'rocket_clear_cache', 'post', HOUR_IN_SECONDS ); + break; + + // Clear a specific term. + case 'term': + rocket_clean_term( $id, $taxonomy ); + set_transient( 'rocket_clear_cache', 'term', HOUR_IN_SECONDS ); + break; + + // Clear a specific user. + case 'user': + rocket_clean_user( $id ); + set_transient( 'rocket_clear_cache', 'user', HOUR_IN_SECONDS ); + break; + + // Clear cache file of the current page in front-end. + case 'url': + $url = wp_get_referer(); + + if ( 0 !== strpos( $url, 'http' ) ) { + $parse_url = get_rocket_parse_url( untrailingslashit( home_url() ) ); + $url = $parse_url['scheme'] . '://' . $parse_url['host'] . $url; + } + + if ( home_url( '/' ) === $url ) { + rocket_clean_home(); + } else { + rocket_clean_files( $url ); + } + break; + + default: + wp_nonce_ays( '' ); + return; + } + + /** + * Fires after the cache is cleared. + * + * @since 3.6 + * + * @param string $type Type of cache clearance: 'all', 'post', 'term', 'user', 'url'. + * @param int $id The post ID, term ID, or user ID being cleared. 0 when $type is not 'post', 'term', or 'user'. + * @param string $taxonomy The taxonomy the term being cleared belong to. '' when $type is not 'term'. + * @param string $url The URL being cleared. '' when $type is not 'url'. + */ + do_action( 'rocket_purge_cache', $type, $id, $taxonomy, $url ); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ? wp_die() : exit; + } +} +add_action( 'admin_post_purge_cache', 'do_admin_post_rocket_purge_cache' ); + +/** + * Clean the cache when the current theme is updated. + * + * @param WP_Upgrader $wp_upgrader WP_Upgrader instance. + * @param array $hook_extra Array of bulk item update data. + */ +function rocket_clean_cache_theme_update( $wp_upgrader, $hook_extra ) { + if ( ! isset( $hook_extra['action'] ) || 'update' !== $hook_extra['action'] ) { + return; + } + + if ( ! isset( $hook_extra['type'] ) || 'theme' !== $hook_extra['type'] ) { + return; + } + + if ( ! isset( $hook_extra['themes'] ) || ! is_array( $hook_extra['themes'] ) ) { + return; + } + + $current_theme = wp_get_theme(); + $themes = [ + $current_theme->get_template(), // Parent theme. + $current_theme->get_stylesheet(), // Child theme. + ]; + + // Bail out if the current theme or its parent is not updating. + if ( empty( array_intersect( $hook_extra['themes'], $themes ) ) ) { + return; + } + + rocket_clean_domain(); +} +add_action( 'upgrader_process_complete', 'rocket_clean_cache_theme_update', 10, 2 ); // When a theme is updated. + +/** + * Purge WP Rocket cache on Slug / Permalink change. + * + * @since 3.4.2 + * + * @param int $post_id The post ID. + * @param array $post_data Array of unslashed post data. + */ +function rocket_clean_post_cache_on_slug_change( $post_id, $post_data ) { + // Bail out if the post status is draft, pending or auto-draft. + if ( in_array( get_post_field( 'post_status', $post_id ), [ 'draft', 'pending', 'auto-draft', 'trash' ], true ) ) { + return; + } + $post_name = get_post_field( 'post_name', $post_id ); + // Bail out if the slug hasn't changed. + if ( $post_name === $post_data['post_name'] ) { + return; + } + // Bail out if the old slug has changed, but is empty. + if ( empty( $post_name ) ) { + return; + } + rocket_clean_files( get_the_permalink( $post_id ) ); +} +add_action( 'pre_post_update', 'rocket_clean_post_cache_on_slug_change', PHP_INT_MAX, 2 ); diff --git a/inc/compat.php b/inc/compat.php new file mode 100644 index 0000000..c91ce10 --- /dev/null +++ b/inc/compat.php @@ -0,0 +1,34 @@ + $notice['result'], + 'message' => $notice['message'], + ] + ); +} + +/** + * Purge OPCache content in Admin Bar + * + * @since 3.10.8 deprecated + * @since 2.7 + */ +function do_admin_post_rocket_purge_opcache() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__ . '()', '3.10.8' ); + + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'rocket_purge_opcache' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_purge_opcache' ) ) { + return; + } + + $reset_opcache = rocket_reset_opcache(); + + if ( ! $reset_opcache ) { + $op_purge_result = [ + 'result' => 'error', + 'message' => __( 'OPcache purge failed.', 'rocket' ), + ]; + } else { + $op_purge_result = [ + 'result' => 'success', + 'message' => __( 'OPcache successfully purged', 'rocket' ), + ]; + } + + set_transient( get_current_user_id() . '_opcache_purge_result', $op_purge_result ); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + die(); +} diff --git a/inc/deprecated/3.11.php b/inc/deprecated/3.11.php new file mode 100644 index 0000000..6327d49 --- /dev/null +++ b/inc/deprecated/3.11.php @@ -0,0 +1,286 @@ + 'checkbox', + 'container_class' => [ + 'wpr-field--children', + ], + 'label' => __( 'Yoast SEO XML sitemap', 'rocket' ), + // translators: %s = Name of the plugin. + 'description' => sprintf( __( 'We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket' ), 'Yoast SEO' ), + 'parent' => 'sitemap_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ]; + + return $options; +} + +/** + * Clear Kinsta cache when clearing WP Rocket cache + * + * @since 3.0 + * @author Remy Perona + * + * @return void + */ +function rocket_clean_kinsta_cache() { + global $kinsta_cache; + _deprecated_function( __FUNCTION__ . '()', '3.11.1' ); + + if ( ! empty( $kinsta_cache->kinsta_cache_purge ) ) { + $kinsta_cache->kinsta_cache_purge->purge_complete_caches(); + } +} + +/** + * Partially clear Kinsta cache when partially clearing WP Rocket cache + * + * @since 3.0 + * @author Remy Perona + * + * @param object $post Post object. + * @return void + */ +function rocket_clean_kinsta_post_cache( $post ) { + _deprecated_function( __FUNCTION__ . '()', '3.11.1' ); + global $kinsta_cache; + $kinsta_cache->kinsta_cache_purge->initiate_purge( $post->ID, 'post' ); +} + + +/** + * Clears Kinsta cache for the homepage URL when using "Purge this URL" from the admin bar on the front end + * + * @since 3.0.4 + * @author Remy Perona + * + * @param string $root WP Rocket root cache path. + * @param string $lang Current language. + * @return void + */ +function rocket_clean_kinsta_cache_home( $root = '', $lang = '' ) { + _deprecated_function( __FUNCTION__ . '()', '3.11.1' ); + $url = get_rocket_i18n_home_url( $lang ); + $url = trailingslashit( $url ) . 'kinsta-clear-cache/'; + + wp_remote_get( + $url, + [ + 'blocking' => false, + 'timeout' => 0.01, + ] + ); +} + +/** + * Clears Kinsta cache for a specific URL when using "Purge this URL" from the admin bar on the front end + * + * @since 3.0.4 + * @author Remy Perona + * + * @param string $url URL to purge. + * @return void + */ +function rocket_clean_kinsta_cache_url( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.11.1' ); + $url = trailingslashit( $url ) . 'kinsta-clear-cache/'; + + wp_remote_get( + $url, + [ + 'blocking' => false, + 'timeout' => 0.01, + ] + ); +} + +/** + * Remove WP Rocket functions on WP core action hooks to prevent triggering a double cache clear. + * + * @since 3.0 + * @author Remy Perona + * + * @return void + */ +function rocket_remove_partial_purge_hooks() { + _deprecated_function( __FUNCTION__ . '()', '3.11.1' ); + // WP core action hooks rocket_clean_post() gets hooked into. + $clean_post_hooks = [ + // Disables the refreshing of partial cache when content is edited. + 'wp_trash_post', + 'delete_post', + 'clean_post_cache', + 'wp_update_comment_count', + ]; + + // Remove rocket_clean_post() from core action hooks. + array_map( + function( $hook ) { + remove_action( $hook, 'rocket_clean_post' ); + }, + $clean_post_hooks + ); + + remove_filter( 'rocket_clean_files', 'rocket_clean_files_users' ); +} + +/** + * Do the rollback + * + * @since 3.11.5 deprecated + * @since 2.4 + */ +function rocket_rollback() { + _deprecated_function( __FUNCTION__ . '()', '3.11.5' ); + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['_wpnonce'] ), 'rocket_rollback' ) ) { + wp_nonce_ays( '' ); + } + + /** + * Fires before doing the rollback + */ + do_action( 'rocket_before_rollback' ); + + $plugin_transient = get_site_transient( 'update_plugins' ); + $plugin_folder = plugin_basename( dirname( WP_ROCKET_FILE ) ); + $plugin = $plugin_folder . '/' . basename( WP_ROCKET_FILE ); + + $plugin_transient->response[ $plugin ] = (object) [ + 'slug' => $plugin_folder, + 'new_version' => WP_ROCKET_LASTVERSION, + 'url' => 'https://wp-rocket.me', + 'package' => sprintf( 'https://wp-rocket.me/%s/wp-rocket_%s.zip', get_rocket_option( 'consumer_key' ), WP_ROCKET_LASTVERSION ), + ]; + + set_site_transient( 'update_plugins', $plugin_transient ); + + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + + // translators: %s is the plugin name. + $title = sprintf( __( '%s Update Rollback', 'rocket' ), WP_ROCKET_PLUGIN_NAME ); + $nonce = 'upgrade-plugin_' . $plugin; + $url = 'update.php?action=upgrade-plugin&plugin=' . rawurlencode( $plugin ); + $upgrader_skin = new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) ); + $upgrader = new Plugin_Upgrader( $upgrader_skin ); + + remove_filter( 'site_transient_update_plugins', 'rocket_check_update', 1 ); + add_filter( 'update_plugin_complete_actions', 'rocket_rollback_add_return_link' ); + rocket_put_content( WP_CONTENT_DIR . '/advanced-cache.php', '' ); + + $upgrader->upgrade( $plugin ); + + wp_die( + '', + // translators: %s is the plugin name. + esc_html( sprintf( __( '%s Update Rollback', 'rocket' ), WP_ROCKET_PLUGIN_NAME ) ), + [ + 'response' => 200, + ] + ); +} + +/** + * After a rollback has been done, replace the "return to" link by a link pointing to WP Rocket's tools page. + * A link to the plugins page is kept in case the plugin is not reactivated correctly. + * + * @since 3.11.5 deprecated + * @since 3.2.4 + * @author Grégory Viguier + * @author Arun Basil Lal + * + * @param array $update_actions Array of plugin action links. + * @return array The array of links where the "return to" link has been replaced. + */ +function rocket_rollback_add_return_link( $update_actions ) { + _deprecated_function( __FUNCTION__ . '()', '3.11.5' ); + + if ( ! isset( $update_actions['plugins_page'] ) ) { + return $update_actions; + } + + $update_actions['plugins_page'] = sprintf( + /* translators: 1 and 3 are link openings, 2 is a link closing. */ + __( '%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s', 'rocket' ), + '', + '', + '' + ); + + return $update_actions; +} diff --git a/inc/deprecated/3.12.php b/inc/deprecated/3.12.php new file mode 100644 index 0000000..a90f188 --- /dev/null +++ b/inc/deprecated/3.12.php @@ -0,0 +1,727 @@ + 'checkbox', + 'container_class' => [ + 'wpr-field--children', + ], + 'label' => __( 'All in One SEO XML sitemap', 'rocket' ), + // translators: %s = Name of the plugin. + 'description' => sprintf( __( 'We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket' ), 'All in One SEO' ), + 'parent' => 'sitemap_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ]; + + return $options; +} + +/** + * Add sitemap option to WP Rocket settings + * + * @since 3.12 deprecated + * @since 3.2.3 + * + * @param array $options WP Rocket settings array. + * @return array Updated WP Rocket settings array + */ +function rank_math_rocket_sitemap_preload_option( $options ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + $options['rank_math_xml_sitemap'] = [ + 'type' => 'checkbox', + 'container_class' => [ + 'wpr-field--children', + ], + 'label' => __( 'Rank Math XML sitemap', 'rocket' ), + // translators: %s = Name of the plugin. + 'description' => sprintf( __( 'We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket' ), 'Rank Math SEO' ), + 'parent' => 'sitemap_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ]; + + return $options; +} + +/** + * Add sitemap option to WP Rocket default options + * + * @since 3.12 deprecated + * @since 3.2.3 + * + * @param array $options WP Rocket options array. + * @return array Updated WP Rocket options array + */ +function rank_math_rocket_add_sitemap_option( $options ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + $options['rank_math_xml_sitemap'] = 0; + + return $options; +} + +/** + * Sanitize SEO sitemap option value + * + * @since 3.12 deprecated + * @since 3.2.3 + * + * @param array $inputs WP Rocket inputs array. + * @return array Sanitized WP Rocket inputs array + */ +function rank_math_rocket_sitemap_option_sanitize( $inputs ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + $inputs['rank_math_xml_sitemap'] = ! empty( $inputs['rank_math_xml_sitemap'] ) ? 1 : 0; + + return $inputs; +} + +/** + * Add SEOPress sitemap option to WP Rocket default options + * + * @since 3.12 deprecated + * @since 3.3.6 + * @author Benjamin Denis + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $options WP Rocket options array. + * @return array Updated WP Rocket options array + */ +function rocket_add_seopress_sitemap_option( $options ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $options['seopress_xml_sitemap'] = 0; + + return $options; +} + +/** + * Sanitize SEOPress sitemap option value + * + * @since 3.12 deprecated + * @since 3.3.6 + * @author Benjamin Denis + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $inputs WP Rocket inputs array. + * @return array Sanitized WP Rocket inputs array + */ +function rocket_seopress_sitemap_option_sanitize( $inputs ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $inputs['seopress_xml_sitemap'] = ! empty( $inputs['seopress_xml_sitemap'] ) ? 1 : 0; + + return $inputs; +} + +/** + * Add SEOPress option to WP Rocket settings + * + * @since 3.12 deprecated + * @since 3.3.6 + * @author Benjamin Denis + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $options WP Rocket settings array. + * @return array Updated WP Rocket settings array + */ +function rocket_sitemap_preload_seopress_option( $options ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $options['seopress_xml_sitemap'] = [ + 'type' => 'checkbox', + 'container_class' => [ + 'wpr-field--children', + ], + 'label' => __( 'SEOPress XML sitemap', 'rocket' ), + // translators: %s = Name of the plugin. + 'description' => sprintf( __( 'We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket' ), 'SEOPress' ), + 'parent' => 'sitemap_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ]; + + return $options; +} + +/** + * Adds a sitemap option in WP Rocket for The SEO Framework. + * + * @since 3.12 deprecated + * @since 3.2.1 + * @author Sybre Waaijer + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $options WP Rocket options array. + * @return array Updated WP Rocket options array + */ +function rocket_add_tsf_seo_sitemap_option( $options ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $options['tsf_xml_sitemap'] = 0; + + return $options; +} + +/** + * Sanitizes the added sitemap option for The SEO Framework. + * + * @since 3.12 deprecated + * @since 3.2.1 + * @author Sybre Waaijer + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $inputs WP Rocket inputs array. + * @return array Sanitized WP Rocket inputs array + */ +function rocket_tsf_seo_sitemap_option_sanitize( $inputs ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $inputs['tsf_xml_sitemap'] = ! empty( $inputs['tsf_xml_sitemap'] ) ? 1 : 0; + + return $inputs; +} + +/** + * Add The SEO Framework SEO option to WP Rocket settings + * + * @since 3.12 deprecated + * @since 3.2.1 + * @author Sybre Waaijer + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $options WP Rocket settings array. + * @return array Updated WP Rocket settings array + */ +function rocket_sitemap_add_tsf_sitemap_to_preload_option( $options ) { + _deprecated_function( __FUNCTION__, '3.12' ); + $options['tsf_xml_sitemap'] = [ + 'type' => 'checkbox', + 'container_class' => [ + 'wpr-field--children', + ], + 'label' => __( 'The SEO Framework XML sitemap', 'rocket' ), + // translators: %s = Name of the plugin. + 'description' => sprintf( __( 'We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket' ), 'The SEO Framework' ), + 'parent' => 'sitemap_preload', + 'section' => 'preload_section', + 'page' => 'preload', + 'default' => 0, + 'sanitize_callback' => 'sanitize_checkbox', + ]; + + return $options; +} + +/** + * Add Jetpack option to WP Rocket options + * + * @param Array $options WP Rocket options array. + * @return Array Updated WP Rocket options array + * @since 2.8 + * @author Remy Perona + * + */ +function rocket_add_jetpack_sitemap_option($options) +{ + _deprecated_function( __FUNCTION__, '3.12' ); + $options['jetpack_xml_sitemap'] = 0; + + return $options; +} + +/** + * Sanitize jetpack option value + * + * @param Array $inputs Array of inputs values. + * @return Array Array of inputs values + * @since 2.8 + * @author Remy Perona + * + */ +function rocket_jetpack_sitemap_option_sanitize($inputs) +{ + _deprecated_function( __FUNCTION__, '3.12' ); + $inputs['jetpack_xml_sitemap'] = !empty($inputs['jetpack_xml_sitemap']) ? 1 : 0; + + return $inputs; +} + +/** + * Add Jetpack sitemap to preload list + * + * @param Array $sitemaps Array of sitemaps to preload. + * @return Array Updated Array of sitemaps to preload + * @since 2.8 + * @author Remy Perona + * + */ +function rocket_add_jetpack_sitemap($sitemaps) +{ + _deprecated_function( __FUNCTION__, '3.12' ); + if (get_rocket_option('jetpack_xml_sitemap', false)) { + $sitemaps['jetpack'] = jetpack_sitemap_uri(); + } + + return $sitemaps; +} + +/** + * Add Jetpack sub-option to WP Rocket settings page + * + * @param Array $options WP Rocket options array. + * @return Array Updated WP Rocket options array + * @since 2.8 + * @author Remy Perona + * + */ +function rocket_sitemap_preload_jetpack_option($options) +{ + _deprecated_function( __FUNCTION__, '3.12' ); + $options[] = [ + 'parent' => 'sitemap_preload', + 'type' => 'checkbox', + 'label' => __('Jetpack XML Sitemaps', 'rocket'), + 'label_for' => 'jetpack_xml_sitemap', + 'label_screen' => sprintf(__('Preload the sitemap from the Jetpack plugin', 'rocket'), 'Jetpack'), + 'default' => 0, + ]; + $options[] = [ + 'parent' => 'sitemap_preload', + 'type' => 'helper_description', + 'name' => 'jetpack_xml_sitemap_desc', + // translators: %s = plugin name, e.g. Yoast SEO. + 'description' => sprintf(__('We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it.', 'rocket'), 'Jetpack'), + ]; + + return $options; +} + + +/** + * Add the EU Cookie Law to the list of mandatory cookies before generating caching files. + * + * @param array $cookies List of mandatory cookies. + * @author Jeremy Herve + * + * @since 2.10.1 + */ +function rocket_add_jetpack_cookie_law_mandatory_cookie($cookies) +{ + _deprecated_function( __FUNCTION__, '3.12' ); + $cookies['jetpack-eu-cookie-law'] = 'eucookielaw'; + + return $cookies; +} + +/** + * Add Jetpack cookie when: + * - Jetpack is active. + * - Jetpack's Extra Sidebar Widgets module is active. + * - The widget is active. + * - the rocket_jetpack_eu_cookie_widget option is empty or not set. + * + * @since 2.10.1 + * @author Jeremy Herve + */ +function rocket_activate_jetpack_cookie_law() +{ + _deprecated_function( __FUNCTION__, '3.12' ); + $rocket_jp_eu_cookie_widget = get_option('rocket_jetpack_eu_cookie_widget'); + + if ( + is_active_widget(false, false, 'eu_cookie_law_widget') + && empty($rocket_jp_eu_cookie_widget) + ) { + add_filter('rocket_htaccess_mod_rewrite', '__return_false', 76); + add_filter('rocket_cache_mandatory_cookies', 'rocket_add_jetpack_cookie_law_mandatory_cookie'); + + // Update the WP Rocket rules on the .htaccess file. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Set the option, so this is not triggered again. + update_option('rocket_jetpack_eu_cookie_widget', 1, true); + } +} + +/** + * Remove cookies if Jetpack gets deactivated. + * + * @since 2.10.1 + * @author Jeremy Herve + */ +function rocket_remove_jetpack_cookie_law_mandatory_cookie() +{ + _deprecated_function( __FUNCTION__, '3.12' ); + remove_filter('rocket_htaccess_mod_rewrite', '__return_false', 76); + remove_filter('rocket_cache_mandatory_cookies', '_rocket_add_eu_cookie_law_mandatory_cookie'); + + // Update the WP Rocket rules on the .htaccess file. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + + // Delete our option. + delete_option('rocket_jetpack_eu_cookie_widget'); +} + +/** + * Add SEO sitemap URL to the sitemaps to preload + * + * @since 3.2.3 + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ +function rank_math_rocket_sitemap( $sitemaps ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + if ( get_rocket_option( 'rank_math_xml_sitemap', false ) ) { + $sitemaps[] = \RankMath\Sitemap\Router::get_base_url( 'sitemap_index.xml' ); + } + + return $sitemaps; +} + +/** + * Add All in One SEO Sitemap to the preload list + * + * @since 2.8 + * @author Remy Perona + * + * @param Array $sitemaps Array of sitemaps to preload. + * @return Array Updated array of sitemaps to preload + */ +function rocket_add_all_in_one_seo_sitemap( $sitemaps ) { + _deprecated_function( __FUNCTION__, '3.12' ); + if ( ! get_rocket_option( 'all_in_one_seo_xml_sitemap', false ) ) { + return $sitemaps; + } + + $aioseo_v3 = defined( 'AIOSEOP_VERSION' ); + $aioseo_v4 = defined( 'AIOSEO_VERSION' ) && function_exists( 'aioseo' ); + + if ( ! $aioseo_v3 && ! $aioseo_v4 ) { + return $sitemaps; + } + + $sitemap_enabled = false; + if ( $aioseo_v3 ) { + $aioseop_options = get_option( 'aioseop_options' ); + $sitemap_enabled = ( isset( $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_sitemap'] ) && 'on' === $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_sitemap'] ) || ( ! isset( $aioseop_options['modules']['aiosp_feature_manager_options'] ) && isset( $aioseop_options['modules']['aiosp_sitemap_options'] ) ); + } + + if ( + ( $aioseo_v3 && ! $sitemap_enabled ) || + ( $aioseo_v4 && ! aioseo()->options->sitemap->general->enable ) + ) { + return $sitemaps; + } + + if ( $aioseo_v3 ) { + $sitemaps[] = trailingslashit( home_url() ) . apply_filters( 'aiosp_sitemap_filename', 'sitemap' ) . '.xml'; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } elseif ( $aioseo_v4 ) { + $sitemaps[] = trailingslashit( home_url() ) . apply_filters( 'aioseo_sitemap_filename', 'sitemap' ) . '.xml'; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + return $sitemaps; +} + +/** + * Add SEOPress sitemap URL to the sitemaps to preload + * + * @since 3.3.6 + * @author Benjamin Denis + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ +function rocket_add_seopress_sitemap( $sitemaps ) { + _deprecated_function( __FUNCTION__, '3.12' ); + if ( get_rocket_option( 'seopress_xml_sitemap', false ) ) { + $sitemaps[] = get_home_url() . '/sitemaps.xml'; + } + + return $sitemaps; +} + +/** + * Runs detection and adds extra compatibility for The SEO Framework plugin. + * + * @since 3.2.1 + * @since TODO Removed "conflicting sitemap detection" (detect_sitemap_plugin) call. + * TSF always tries to output it now while trying to give WP Rewrite priority for display. + * @author Sybre Waaijer + */ +function rocket_add_tsf_compat() { + _deprecated_function( __FUNCTION__, '3.12' ); + + $tsf = the_seo_framework(); + + // Either TSF < 3.1, or the plugin's silenced (soft-disabled) via a drop-in. + if ( empty( $tsf->loaded ) ) { + return; + } + + /** + * 1. Performs option & other checks. + * 2. Checks for conflicting sitemap plugins that might prevent loading. + * + * These methods cache their output at runtime. + * + * @link https://github.com/wp-media/wp-rocket/issues/899 + */ + if ( $tsf->can_run_sitemap() ) { + rocket_add_tsf_sitemap_compat(); + } +} + +/** + * Adds compatibility for the sitemap functionality in The SEO Framework plugin. + * + * @since 3.2.1 + * @author Sybre Waaijer + */ +function rocket_add_tsf_sitemap_compat() { + _deprecated_function( __FUNCTION__, '3.12' ); + + add_filter( 'rocket_sitemap_preload_list', 'rocket_add_tsf_sitemap_to_preload' ); +} + +/** + * Adds TSF sitemap URLs to preload. + * + * @since 3.2.1 + * @since TODO Added compatibility support for The SEO Framework v4.0+ + * @author Sybre Waaijer + * @source ./yoast-seo.php (Remy Perona) + * + * @param array $sitemaps Sitemaps to preload. + * @return array Updated Sitemaps to preload + */ +function rocket_add_tsf_sitemap_to_preload( $sitemaps ) { + _deprecated_function( __FUNCTION__, '3.12' ); + + if ( get_rocket_option( 'tsf_xml_sitemap', false ) ) { + // The autoloader in TSF doesn't check for file_exists(). So, use version compare instead to prevent fatal errors. + if ( version_compare( THE_SEO_FRAMEWORK_VERSION, '4.0', '>=' ) ) { + // TSF 4.0+. Expect the class to exist indefinitely. + + $sitemap_bridge = The_SEO_Framework\Bridges\Sitemap::get_instance(); + + foreach ( $sitemap_bridge->get_sitemap_endpoint_list() as $id => $data ) { + // When the sitemap is good enough for a robots display, we determine it as valid for precaching. + // Non-robots display types are among the stylesheet endpoint, or the Yoast SEO-compatible endpoint. + // In other words, this enables support for ALL current and future public sitemap endpoints. + if ( ! empty( $data['robots'] ) ) { + $sitemaps[] = $sitemap_bridge->get_expected_sitemap_endpoint_url( $id ); + } + } + } else { + // Deprecated. TSF <4.0. + $sitemaps[] = the_seo_framework()->get_sitemap_xml_url(); + } + } + + return $sitemaps; +} + +/** + * Launches the Homepage preload (helper function for backward compatibility) + * + * @since 2.6.4 Don't preload localhost & .dev domains + * @since 1.0 + * + * @param string $spider (default: 'cache-preload') The spider name: cache-preload or cache-json. + * @param string $lang (default: '') The language code to preload. + * + * @return bool Status of preload. + */ +function run_rocket_bot( $spider = 'cache-preload', $lang = '' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + if ( ! get_rocket_option( 'manual_preload' ) ) { + return false; + } + + $urls = []; + + if ( ! $lang ) { + $urls = get_rocket_i18n_uri(); + } else { + $urls[] = get_rocket_i18n_home_url( $lang ); + } + + $container = apply_filters( 'rocket_container', null ); + + if ( ! $container ) { + return false; + } + + $controller = $container->get( 'preload_clean_controller' ); + + $controller->partial_clean( $urls ); + + return true; +} + +/** + * Launches the sitemap preload (helper function for backward compatibility) + * + * @since 2.8 + * @author Remy Perona + * + * @return void + */ +function run_rocket_sitemap_preload() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__, '3.12' ); + if ( ! get_rocket_option( 'manual_preload' ) ) { + return; + } + + $container = apply_filters( 'rocket_container', null ); + + if ( ! $container ) { + return; + } + + $controller = $container->get( 'load_initial_sitemap_controller' ); + + $controller->load_initial_sitemap(); +} + +/** + * Excludes Uncode init and ai-uncode JS files from minification/combine + * + * @since 3.12.3 deprecated + * @since 3.1 + * @author Remy Perona + * + * @param array $excluded_js Array of JS filepaths to be excluded. + * @return array + */ +function rocket_exclude_js_uncode( $excluded_js ) { + _deprecated_function( __FUNCTION__, '3.12.3' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $excluded_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + + return $excluded_js; +} + +/** + * Excludes some Uncode inline scripts from combine JS + * + * @since 3.12.3 deprecated + * @since 3.1 + * @author Remy Perona + * + * @param array $inline_js Array of patterns to match for exclusion. + * @return array + */ +function rocket_exclude_inline_js_uncode( $inline_js ) { + _deprecated_function( __FUNCTION__, '3.12.3' ); + $inline_js[] = 'SiteParameters'; + $inline_js[] = 'script-'; + $inline_js[] = 'initBox'; + $inline_js[] = 'initHeader'; + $inline_js[] = 'fixMenuHeight'; + + return $inline_js; +} + +/** + * Excludes Uncode JS files from defer JS + * + * @since 3.12.3 deprecated + * @since 3.2.5 + * @author Remy Perona + * + * @param array $exclude_defer_js Array of JS filepaths to be excluded. + * @return array + */ +function rocket_exclude_defer_js_uncode( $exclude_defer_js ) { + _deprecated_function( __FUNCTION__, '3.12.3' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + $exclude_defer_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + return $exclude_defer_js; +} + +/** + * Excludes Uncode JS files from delay JS + * + * @since 3.12.3 deprecated + * @since 3.10.5 + * + * @param array $exclude_delay_js Array of JS to be excluded. + * @return array + */ +function rocket_exclude_delay_js_uncode( $exclude_delay_js ) { + _deprecated_function( __FUNCTION__, '3.12.3' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/ai-uncode.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.min.js' ); + $exclude_delay_js[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/ai-uncode.js' ); + $exclude_delay_js[] = 'UNCODE\.'; + return $exclude_delay_js; +} diff --git a/inc/deprecated/3.13.php b/inc/deprecated/3.13.php new file mode 100644 index 0000000..43f52e1 --- /dev/null +++ b/inc/deprecated/3.13.php @@ -0,0 +1,91 @@ +]*)(href|src|action)=[\"'])https?:\\/\\//i"; + $subst = '$1//'; + $return = preg_replace( $re, $subst, $buffer ); + + if ( $return ) { + $buffer = $return; + } + + return $buffer; +} + +/** + * Remove HTTP protocol on srcset attribute generated by WordPress + * + * @since 2.7 + * @deprecated 3.14 + * + * @param array $sources an Array of images sources for srcset. + * @return array Updated array of images sources + */ +function rocket_protocol_rewrite_srcset( $sources ) { + _deprecated_function( __FUNCTION__, '3.14' ); + + if ( (bool) $sources ) { + foreach ( $sources as $i => $source ) { + $sources[ $i ]['url'] = str_replace( [ 'http:', 'https:' ], '', $source['url'] ); + } + } + + return $sources; +} + +/** + * Check if request is from Cloudflare + * + * @since 3.4.1 + * @author Soponar Cristina + * + * @return bool + */ +function rocket_is_cloudflare() { + _deprecated_function( __FUNCTION__, '3.14' ); + + if ( ! isset( $_SERVER['HTTP_CF_CONNECTING_IP'] ) ) { + return false; + } + // Check if original ip has already been restored, e.g. by nginx - assume it was from cloudflare then. + if ( isset( $_SERVER['REMOTE_ADDR'] ) && $_SERVER['REMOTE_ADDR'] === $_SERVER['HTTP_CF_CONNECTING_IP'] ) { + return true; + } + + return rocket_is_cf_ip(); +} + +/** + * Check if a request comes from a CloudFlare IP. + * + * @since 3.4.1 + * @author Soponar Cristina + * + * @return bool + */ +function rocket_is_cf_ip() { + _deprecated_function( __FUNCTION__, '3.14' ); + + // Store original remote address in $original_ip. + $original_ip = filter_input( INPUT_SERVER, 'REMOTE_ADDR', FILTER_VALIDATE_IP ); + if ( ! isset( $original_ip ) ) { + return false; + } + + $cf_ips_values = get_transient( 'rocket_cloudflare_ips' ); + + // Cloudflare IPS should always be populated because the code runs before loading Cloudflare addon. + if ( false === $cf_ips_values ) { + $cf_ips_values = (object) [ + 'success' => true, + 'result' => (object) [], + ]; + + $cf_ips_values->result->ipv4_cidrs = [ + '103.21.244.0/22', + '103.22.200.0/22', + '103.31.4.0/22', + '104.16.0.0/12', + '108.162.192.0/18', + '131.0.72.0/22', + '141.101.64.0/18', + '162.158.0.0/15', + '172.64.0.0/13', + '173.245.48.0/20', + '188.114.96.0/20', + '190.93.240.0/20', + '197.234.240.0/22', + '198.41.128.0/17', + ]; + + $cf_ips_values->result->ipv6_cidrs = [ + '2400:cb00::/32', + '2405:8100::/32', + '2405:b500::/32', + '2606:4700::/32', + '2803:f800::/32', + '2c0f:f248::/32', + '2a06:98c0::/29', + ]; + } + + if ( strpos( $original_ip, ':' ) === false ) { + $cf_ip_ranges = $cf_ips_values->result->ipv4_cidrs; + foreach ( $cf_ip_ranges as $range ) { + if ( rocket_ipv4_in_range( $original_ip, $range ) ) { + return true; + } + } + } else { + $cf_ip_ranges = $cf_ips_values->result->ipv6_cidrs; + $ipv6 = get_rocket_ipv6_full( $original_ip ); + foreach ( $cf_ip_ranges as $range ) { + if ( rocket_ipv6_in_range( $ipv6, $range ) ) { + return true; + } + } + } + + return false; +} + +/** + * Fixes Cloudflare Flexible SSL redirect loop + * + * @since 3.4.1 + * @author Soponar Cristina + */ +function rocket_fix_cf_flexible_ssl() { + _deprecated_function( __FUNCTION__, '3.14' ); + + $is_cf = rocket_is_cloudflare(); + if ( $is_cf ) { + // Fixes Flexible SSL. + if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) { + $_SERVER['HTTPS'] = 'on'; + } + } +} + +/* + * ip_in_range.php - Function to determine if an IP is located in a + * specific range as specified via several alternative + * formats. + * + * Network ranges can be specified as: + * 1. Wildcard format: 1.2.3.* + * 2. CIDR format: 1.2.3/24 OR 1.2.3.4/255.255.255.0 + * 3. Start-End IP format: 1.2.3.0-1.2.3.255 + * + * Return value BOOLEAN : ip_in_range($ip, $range); + * + * Copyright 2008: Paul Gregg + * 10 January 2008 + * Version: 1.2 + * + * Source website: http://www.pgregg.com/projects/php/ip_in_range/ + * Version 1.2 + * + * This software is Donationware - if you feel you have benefited from + * the use of this tool then please consider a donation. The value of + * which is entirely left up to your discretion. + * http://www.pgregg.com/donate/ + * + * Please do not remove this header, or source attibution from this file. + */ + +/* +* Modified by James Greene to include IPV6 support +* (original version only supported IPV4). +* 21 May 2012 +*/ + +// In order to simplify working with IP addresses (in binary) and their +// netmasks, it is easier to ensure that the binary strings are padded +// with zeros out to 32 characters - IP addresses are 32 bit numbers +function rocket_decbin32($dec) { + _deprecated_function( __FUNCTION__, '3.14' ); + + return str_pad(decbin($dec), 32, '0', STR_PAD_LEFT); +} + +// This function takes 2 arguments, an IP address and a "range" in several +// different formats. +// Network ranges can be specified as: +// 1. Wildcard format: 1.2.3.* +// 2. CIDR format: 1.2.3/24 OR 1.2.3.4/255.255.255.0 +// 3. Start-End IP format: 1.2.3.0-1.2.3.255 +// The function will return true if the supplied IP is within the range. +// Note little validation is done on the range inputs - it expects you to +// use one of the above 3 formats. +function rocket_ipv4_in_range($ip, $range) { + _deprecated_function( __FUNCTION__, '3.14' ); + + if (strpos($range, '/') !== false) { + // $range is in IP/NETMASK format + list($range, $netmask) = explode('/', $range, 2); + if (strpos($netmask, '.') !== false) { + // $netmask is a 255.255.0.0 format + $netmask = str_replace('*', '0', $netmask); + $netmask_dec = ip2long($netmask); + return ( (ip2long($ip) & $netmask_dec) == (ip2long($range) & $netmask_dec) ); + } else { + // $netmask is a CIDR size block + // fix the range argument + $x = explode('.', $range); + while(count($x)<4) $x[] = '0'; + list($a,$b,$c,$d) = $x; + $range = sprintf("%u.%u.%u.%u", empty($a)?'0':$a, empty($b)?'0':$b,empty($c)?'0':$c,empty($d)?'0':$d); + $range_dec = ip2long($range); + $ip_dec = ip2long($ip); + + # Strategy 1 - Create the netmask with 'netmask' 1s and then fill it to 32 with 0s + #$netmask_dec = bindec(str_pad('', $netmask, '1') . str_pad('', 32-$netmask, '0')); + + # Strategy 2 - Use math to create it + $wildcard_dec = pow(2, (32-$netmask)) - 1; + $netmask_dec = ~ $wildcard_dec; + + return (($ip_dec & $netmask_dec) == ($range_dec & $netmask_dec)); + } + } else { + // range might be 255.255.*.* or 1.2.3.0-1.2.3.255 + if (strpos($range, '*') !==false) { // a.b.*.* format + // Just convert to A-B format by setting * to 0 for A and 255 for B + $lower = str_replace('*', '0', $range); + $upper = str_replace('*', '255', $range); + $range = "$lower-$upper"; + } + + if (strpos($range, '-')!==false) { // A-B format + list($lower, $upper) = explode('-', $range, 2); + $lower_dec = (float)sprintf("%u",ip2long($lower)); + $upper_dec = (float)sprintf("%u",ip2long($upper)); + $ip_dec = (float)sprintf("%u",ip2long($ip)); + return ( ($ip_dec>=$lower_dec) && ($ip_dec<=$upper_dec) ); + } + return false; + } +} + +function rocket_ip2long6($ip) { + _deprecated_function( __FUNCTION__, '3.14' ); + + if (substr_count($ip, '::')) { + $ip = str_replace('::', str_repeat(':0000', 8 - substr_count($ip, ':')) . ':', $ip); + } + + $ip = explode(':', $ip); + $r_ip = ''; + foreach ($ip as $v) { + $r_ip .= str_pad( base_convert( preg_replace("/[^0-9a-fA-F]/", "", $v ), 16, 2 ), 16, 0, STR_PAD_LEFT ); + } + + return base_convert($r_ip, 2, 10); +} + +// Get the ipv6 full format and return it as a decimal value. +function get_rocket_ipv6_full($ip) { + _deprecated_function( __FUNCTION__, '3.14' ); + + $pieces = explode ("/", $ip, 2); + $left_piece = $pieces[0]; + $right_piece = null; + if (count($pieces) > 1) $right_piece = $pieces[1]; + + // Extract out the main IP pieces + $ip_pieces = explode("::", $left_piece, 2); + $main_ip_piece = $ip_pieces[0]; + $last_ip_piece = ""; + if (count($ip_pieces) > 1) $last_ip_piece = $ip_pieces[1]; + + // Pad out the shorthand entries. + $main_ip_pieces = explode(":", $main_ip_piece); + foreach($main_ip_pieces as $key=>$val) { + $main_ip_pieces[$key] = str_pad($main_ip_pieces[$key], 4, "0", STR_PAD_LEFT); + } + + // Check to see if the last IP block (part after ::) is set + $last_piece = ""; + $size = count($main_ip_pieces); + if (trim($last_ip_piece) != "") { + $last_piece = str_pad($last_ip_piece, 4, "0", STR_PAD_LEFT); + + // Build the full form of the IPV6 address considering the last IP block set + for ($i = $size; $i < 7; $i++) { + $main_ip_pieces[$i] = "0000"; + } + $main_ip_pieces[7] = $last_piece; + } + else { + // Build the full form of the IPV6 address + for ($i = $size; $i < 8; $i++) { + $main_ip_pieces[$i] = "0000"; + } + } + + // Rebuild the final long form IPV6 address + $final_ip = implode(":", $main_ip_pieces); + + return rocket_ip2long6($final_ip); +} + +// Determine whether the IPV6 address is within range. +// $ip is the IPV6 address in decimal format to check if its within the IP range created by the cloudflare IPV6 address, $range_ip. +// $ip and $range_ip are converted to full IPV6 format. +// Returns true if the IPV6 address, $ip, is within the range from $range_ip. False otherwise. +function rocket_ipv6_in_range($ip, $range_ip) { + _deprecated_function( __FUNCTION__, '3.14' ); + + $pieces = explode ("/", $range_ip, 2); + $left_piece = $pieces[0]; + $right_piece = $pieces[1]; + + // Extract out the main IP pieces + $ip_pieces = explode("::", $left_piece, 2); + $main_ip_piece = $ip_pieces[0]; + $last_ip_piece = $ip_pieces[1]; + + // Pad out the shorthand entries. + $main_ip_pieces = explode(":", $main_ip_piece); + foreach($main_ip_pieces as $key=>$val) { + $main_ip_pieces[$key] = str_pad($main_ip_pieces[$key], 4, "0", STR_PAD_LEFT); + } + + // Create the first and last pieces that will denote the IPV6 range. + $first = $main_ip_pieces; + $last = $main_ip_pieces; + + // Check to see if the last IP block (part after ::) is set + $last_piece = ""; + $size = count($main_ip_pieces); + if (trim($last_ip_piece) != "") { + $last_piece = str_pad($last_ip_piece, 4, "0", STR_PAD_LEFT); + + // Build the full form of the IPV6 address considering the last IP block set + for ($i = $size; $i < 7; $i++) { + $first[$i] = "0000"; + $last[$i] = "ffff"; + } + $main_ip_pieces[7] = $last_piece; + } + else { + // Build the full form of the IPV6 address + for ($i = $size; $i < 8; $i++) { + $first[$i] = "0000"; + $last[$i] = "ffff"; + } + } + + // Rebuild the final long form IPV6 address + $first = rocket_ip2long6(implode(":", $first)); + $last = rocket_ip2long6(implode(":", $last)); + $in_range = ($ip >= $first && $ip <= $last); + + return $in_range; +} + +/** + * Filter plugin fetching API results to inject Imagify + * + * @since 2.10.7 + * @since 3.14.2 deprecated + * @author Remy Perona + * + * @param object|WP_Error $result Response object or WP_Error. + * @param string $action The type of information being requested from the Plugin Install API. + * @param object $args Plugin API arguments. + * + * @return array Updated array of results + */ +function rocket_add_imagify_api_result( $result, $action, $args ) { + if ( empty( $args->browse ) ) { + return $result; + } + + if ( 'featured' !== $args->browse && 'recommended' !== $args->browse && 'popular' !== $args->browse ) { + return $result; + } + + if ( ! isset( $result->info['page'] ) || 1 < $result->info['page'] ) { + return $result; + } + + if ( is_plugin_active( 'imagify/imagify.php' ) || is_plugin_active_for_network( 'imagify/imagify.php' ) ) { + return $result; + } + + // grab all slugs from the api results. + $result_slugs = wp_list_pluck( $result->plugins, 'slug' ); + + if ( in_array( 'imagify', $result_slugs, true ) ) { + return $result; + } + + $query_args = [ + 'slug' => 'imagify', + 'fields' => [ + 'icons' => true, + 'active_installs' => true, + 'short_description' => true, + 'group' => true, + ], + ]; + $imagify_data = plugins_api( 'plugin_information', $query_args ); + + if ( is_wp_error( $imagify_data ) ) { + return $result; + } + + if ( 'featured' === $args->browse ) { + array_push( $result->plugins, $imagify_data ); + } else { + array_unshift( $result->plugins, $imagify_data ); + } + + return $result; +} diff --git a/inc/deprecated/3.15.php b/inc/deprecated/3.15.php new file mode 100644 index 0000000..48c9346 --- /dev/null +++ b/inc/deprecated/3.15.php @@ -0,0 +1,179 @@ + true, + ], + 'objects' + ); + unset( $cpts['attachment'] ); + + $cpts = apply_filters( 'rocket_metabox_options_post_types', $cpts ); + + foreach ( $cpts as $cpt => $cpt_object ) { + $label = $cpt_object->labels->singular_name; + add_meta_box( 'rocket_post_exclude', sprintf( __( 'WP Rocket Options', 'rocket' ), $label ), 'rocket_display_cache_options_meta_boxes', $cpt, 'side', 'core' ); + } + } +} + +/** + * Displays some checkbox to de/activate some cache options + * + * @since 3.15 deprecated + * @since 2.5 + */ +function rocket_display_cache_options_meta_boxes() { + if ( current_user_can( 'rocket_manage_options' ) ) { + global $post, $pagenow; + wp_nonce_field( 'rocket_box_option', '_rocketnonce', false, true ); + ?> + +
    + ID ) ); + + if ( isset( $rejected_uris[ $path ] ) ) { + $reject_current_uri = true; + } + } + ?> + > +
    + +
    +

    + $label ) { + $disabled = disabled( ! get_rocket_option( $field ), true, false ); + // translators: %s is the name of the option. + $title = $disabled ? ' title="' . esc_attr( sprintf( __( 'Activate first the %s option.', 'rocket' ), $label ) ) . '"' : ''; + $class = $disabled ? ' class="rkt-disabled"' : ''; + $checked = ! $disabled ? checked( ! get_post_meta( $post->ID, '_rocket_exclude_' . $field, true ), true, false ) : ''; + ?> + + + > +
    + + + +

    + ', '' ); + ?> +

    +
    + + base ) ) { + return; + } + + $boxes = get_user_meta( $GLOBALS['current_user']->ID, 'rocket_boxes', true ); + + if ( defined( 'IMAGIFY_VERSION' ) || in_array( __FUNCTION__, (array) $boxes, true ) || 1 === get_option( 'wp_rocket_dismiss_imagify_notice' ) || ! current_user_can( 'manage_options' ) ) { + return; + } + + $imagify_plugin = 'imagify/imagify.php'; + $is_imagify_installed = rocket_is_plugin_installed( $imagify_plugin ); + + $action_url = $is_imagify_installed ? + rocket_get_plugin_activation_link( $imagify_plugin ) + : + wp_nonce_url( add_query_arg( + array( + 'action' => 'install-plugin', + 'plugin' => 'imagify', + ), + admin_url( 'update.php' ) + ), 'install-plugin_imagify' ); + + $details_url = add_query_arg( + array( + 'tab' => 'plugin-information', + 'plugin' => 'imagify', + 'TB_iframe' => true, + 'width' => 722, + 'height' => 949, + ), + admin_url( 'plugin-install.php' ) + ); + + $classes = $is_imagify_installed ? '' : ' install-now'; + $cta_txt = $is_imagify_installed ? esc_html__( 'Activate Imagify', 'rocket' ) : esc_html__( 'Install Imagify for Free', 'rocket' ); + + $dismiss_url = wp_nonce_url( + admin_url( 'admin-post.php?action=rocket_ignore&box=' . __FUNCTION__ ), + 'rocket_ignore_' . __FUNCTION__ + ); + ?> + +
    + + + +

    + +

    +

    + + +
    + +

    +
    + + cancel_process(); + } + + delete_transient( 'rocket_sitemap_preload_running' ); + delete_transient( 'rocket_sitemap_preload_complete' ); + run_rocket_sitemap_preload(); + } + } +endif; + +if ( ! function_exists( 'do_rocket_bot_cache_json' ) ) : + /** + * Run WP Rocket Bot when a post is added, updated or deleted + * + * @since 1.3.2 + * @deprecated 3.2 + */ + function do_rocket_bot_cache_json() { + _deprecated_function( __FUNCTION__, '3.2' ); + return false; + } +endif; + +if ( ! function_exists( 'rocket_process_sitemap' ) ) { + /** + * Processes the sitemaps recursively + * + * @since 2.8 + * @author Remy Perona + * + * @param string $sitemap_url URL of the sitemap. + * @param array $urls An array of URLs. + * @return array Empty array or array containing URLs + */ + function rocket_process_sitemap( $sitemap_url, $urls = array() ) { + _deprecated_function( __FUNCTION__, '3.2' ); + $tmp_urls = array(); + + /** + * Filters the arguments for the sitemap preload request + * + * @since 2.10.8 + * @author Remy Perona + * + * @param array $args Arguments for the request. + */ + $args = apply_filters( 'rocket_preload_sitemap_request_args', array( + 'user-agent' => 'WP Rocket/Sitemaps', + 'sslverify' => apply_filters( 'https_local_ssl_verify', true ), + ) ); + + $sitemap = wp_remote_get( esc_url( $sitemap_url ), $args ); + + if ( is_wp_error( $sitemap ) ) { + return array(); + } + + $xml_data = wp_remote_retrieve_body( $sitemap ); + + if ( empty( $xml_data ) ) { + return array(); + } + + libxml_use_internal_errors( true ); + + $xml = simplexml_load_string( $xml_data ); + + if ( false === $xml ) { + libxml_clear_errors(); + return array(); + } + + $url_count = count( $xml->url ); + + if ( $url_count > 0 ) { + for ( $i = 0; $i < $url_count; $i++ ) { + $page_url = (string) $xml->url[ $i ]->loc; + $tmp_urls[] = $page_url; + } + } else { + // Sub sitemap? + $sitemap_children = count( $xml->sitemap ); + if ( $sitemap_children > 0 ) { + for ( $i = 0; $i < $sitemap_children; $i++ ) { + $sub_sitemap_url = (string) $xml->sitemap[ $i ]->loc; + $urls = rocket_process_sitemap( $sub_sitemap_url, $urls ); + } + } + } + + $urls = array_merge( $urls, $tmp_urls ); + return $urls; + } +} + +if ( ! function_exists( 'rocket_sitemap_preload_complete' ) ) { + /** + * This notice is displayed after the sitemap preload is complete + * + * @since 2.11 + * @deprecated 3.2 + * @author Remy Perona + */ + function rocket_sitemap_preload_complete() { + _deprecated_function( __FUNCTION__, '3.2' ); + $screen = get_current_screen(); + + /** This filter is documented in inc/admin-bar.php */ + if ( ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $result = get_transient( 'rocket_sitemap_preload_complete' ); + if ( false === $result ) { + return; + } + + delete_transient( 'rocket_sitemap_preload_complete' ); + + rocket_notice_html( array( + // translators: %d is the number of pages preloaded. + 'message' => sprintf( __( 'Sitemap preload: %d pages have been cached.', 'rocket' ), $result ), + ) ); + } +} + +if ( ! function_exists( 'rocket_sitemap_preload_running' ) ) { + /** + * This notice is displayed when the sitemap preload is running + * + * @since 2.11 + * @deprecated 3.2 + * @author Remy Perona + */ + function rocket_sitemap_preload_running() { + _deprecated_function( __FUNCTION__, '3.2' ); + $screen = get_current_screen(); + + // This filter is documented in inc/admin-bar.php. + if ( ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $running = get_transient( 'rocket_sitemap_preload_running' ); + if ( false === $running ) { + return; + } + + rocket_notice_html( array( + // translators: %d = Number of pages preloaded. + 'message' => sprintf( __( 'Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)', 'rocket' ), $running ), + ) ); + } +} + +if ( ! function_exists( 'run_rocket_bot_after_clean_post' ) ) { + /** + * Actions to be done after the purge cache files of a post + * By Default, this hook call the WP Rocket Bot (cache json) + * + * @deprecated 3.2 + * @since 1.3.0 + * + * @param object $post The post object. + * @param array $purge_urls An array of URLs to clean. + * @param string $lang The language to clean. + */ + function run_rocket_bot_after_clean_post( $post, $purge_urls, $lang ) { + _deprecated_function( __FUNCTION__, '3.2' ); + // Run robot only if post is published. + if ( 'publish' !== $post->post_status ) { + return false; + } + + // Add Homepage URL to $purge_urls for bot crawl. + array_push( $purge_urls, get_rocket_i18n_home_url( $lang ) ); + + // Add default WordPress feeds (posts & comments). + array_push( $purge_urls, get_feed_link() ); + array_push( $purge_urls, get_feed_link( 'comments_' ) ); + + // Get the author page. + $purge_author = array( get_author_posts_url( $post->post_author ) ); + + // Get all dates archive page. + $purge_dates = get_rocket_post_dates_urls( $post->ID ); + + // Remove dates archives page and author page to preload cache. + $purge_urls = array_diff( $purge_urls, $purge_dates, $purge_author ); + + // Create json file and run WP Rocket Bot. + $json_encode_urls = '["' . implode( '","', array_filter( $purge_urls ) ) . '"]'; + if ( rocket_put_content( WP_ROCKET_PATH . 'cache.json', $json_encode_urls ) ) { + global $do_rocket_bot_cache_json; + $do_rocket_bot_cache_json = true; + } + } +} + +if ( ! function_exists( 'run_rocket_bot_after_clean_term' ) ) { + /** + * Actions to be done after the purge cache files of a term + * By Default, this hook call the WP Rocket Bot (cache json) + * + * @deprecated 3.2 + * @since 2.6.8 + * + * @param object $post The post object. + * @param array $purge_urls An array of URLs to clean. + * @param string $lang The language to clean. + */ + function run_rocket_bot_after_clean_term( $post, $purge_urls, $lang ) { + _deprecated_function( __FUNCTION__, '3.2' ); + // Add Homepage URL to $purge_urls for bot crawl. + array_push( $purge_urls, get_rocket_i18n_home_url( $lang ) ); + + // Create json file and run WP Rocket Bot. + $json_encode_urls = '["' . implode( '","', array_filter( $purge_urls ) ) . '"]'; + if ( rocket_put_content( WP_ROCKET_PATH . 'cache.json', $json_encode_urls ) ) { + global $do_rocket_bot_cache_json; + $do_rocket_bot_cache_json = true; + } + } +} + +if ( ! function_exists( 'rocket_clean_directory_for_default_language_on_wpml' ) ) { + /** + * Conflict with WPML: Clear the homepage when the "Use directory for default language" option is activated. + * + * @since 2.6.8 + * @deprecated 3.2.4 + */ + function rocket_clean_directory_for_default_language_on_wpml() { + _deprecated_function( __FUNCTION__, '3.2.4' ); + $option = get_option( 'icl_sitepress_settings' ); + + if ( 1 === $option['language_negotiation_type'] && $option['urls']['directory_for_default_language'] ) { + rocket_clean_files( home_url() ); + } + } +} + +if ( ! function_exists( 'rocket_fetch_and_cache_busting' ) ) { + /** + * Fetch and save the cache busting file content + * + * @since 2.10 + * @deprecated 3.2.5 + * @author Remy Perona + * + * @param string $src Original URL of the asset. + * @param array $cache_busting_paths Paths used to generated the cache busting file. + * @param string $abspath_src Absolute path to the asset. + * @param string $current_filter Current filter value. + * @return bool true if successful, false otherwise + */ + function rocket_fetch_and_cache_busting( $src, $cache_busting_paths, $abspath_src, $current_filter ) { + _deprecated_function( __FUNCTION__, '3.2.5' ); + if ( wp_is_stream( $src ) ) { + $response = wp_remote_get( $src ); + $content = wp_remote_retrieve_body( $response ); + } else { + $content = rocket_direct_filesystem()->get_contents( $src ); + } + + if ( ! $content ) { + return false; + } + + if ( 'style_loader_src' === $current_filter ) { + /** + * Filters the Document Root path to use during CSS minification to rewrite paths + * + * @since 2.7 + * + * @param string The Document Root path. + */ + $document_root = apply_filters( 'rocket_min_documentRoot', wp_normalize_path( dirname( $_SERVER['SCRIPT_FILENAME'] ) ) ); + + // Rewrite import/url in CSS content to add the absolute path to the file. + $content = Minify_CSS_UriRewriter::rewrite( $content, dirname( $abspath_src ), $document_root ); + } + + if ( ! rocket_direct_filesystem()->is_dir( $cache_busting_paths['bustingpath'] ) ) { + rocket_mkdir_p( $cache_busting_paths['bustingpath'] ); + } + + rocket_mkdir_p( dirname( $cache_busting_paths['filepath'] ) ); + + return rocket_put_content( $cache_busting_paths['filepath'], $content ); + } +} diff --git a/inc/deprecated/3.3.php b/inc/deprecated/3.3.php new file mode 100644 index 0000000..08adbf6 --- /dev/null +++ b/inc/deprecated/3.3.php @@ -0,0 +1,874 @@ +get_rocket_footprint()' ); + $footprint = defined( 'WP_ROCKET_WHITE_LABEL_FOOTPRINT' ) ? + "\n" . ''; + return $footprint; + } +endif; + +if ( ! function_exists( 'rocket_lazyload_script' ) ) : +/** + * Add lazyload options to the footer + * + * @deprecated 3.3 + * @since 2.11 load options in the footer and add filter for the treshold + * @since 1.3.5 It's possible to exclude LazyLoad process by used do_rocket_lazyload filter + * @since 1.1.0 This code is insert in head with inline script for more performance + * @since 1.0 + */ +function rocket_lazyload_script() { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Assets::insertLazyloadScript()' ); + if ( ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) ) { + return; + } + + if ( ( ! get_rocket_option( 'lazyload' ) && ! get_rocket_option( 'lazyload_iframes' ) ) || ( ! apply_filters( 'do_rocket_lazyload', true ) && ! apply_filters( 'do_rocket_lazyload_iframes', true ) ) ) { + return; + } + + $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; + $elements = []; + + if ( get_rocket_option( 'lazyload' ) ) { + $elements[] = 'img'; + } + + if ( get_rocket_option( 'lazyload_iframes' ) ) { + $elements[] = 'iframe'; + } + + /** + * Filters the threshold at which lazyload is triggered + * + * @since 2.11 + * @author Remy Perona + * + * @param int $threshold Threshold value. + */ + $threshold = apply_filters( 'rocket_lazyload_threshold', 300 ); + + echo ''; + + if ( get_rocket_option( 'lazyload_youtube' ) ) { + /** + * Filters the resolution of the YouTube thumbnail + * + * @since 2.11.5 + * @author Arun Basil Lal + * + * @param string $thumbnail_resolution The resolution of the thumbnail. Accepted values: default, mqdefault, sddefault, hqdefault, maxresdefault + */ + $thumbnail_resolution = apply_filters( 'rocket_youtube_thumbnail_resolution', 'hqdefault' ); + + echo <<function lazyLoadThumb(e){var t='',a='
    ';return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="https://www.youtube.com/embed/ID?autoplay=1";t+=0===this.dataset.query.length?'':'&'+this.dataset.query;e.setAttribute("src",t.replace("ID",this.dataset.id)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),this.parentNode.replaceChild(e,this)}document.addEventListener("DOMContentLoaded",function(){var e,t,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t +HTML; + } +} +endif; + +if ( ! function_exists( 'rocket_lazyload_enqueue' ) ) : +/** + * Enqueue the CSS code for Youtube lazyload styling + * + * @deprecated 3.3 + * @since 2.11 + * @author Remy Perona + */ +function rocket_lazyload_enqueue() { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Assets::insertYoutubeThumbnailCSS()' ); + if ( ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) ) { + return; + } + + if ( ( ! get_rocket_option( 'lazyload_iframes' ) ) || ( ! apply_filters( 'do_rocket_lazyload', true ) && ! apply_filters( 'do_rocket_lazyload_iframes', true ) ) ) { + return; + } + + if ( get_rocket_option( 'lazyload_youtube' ) ) { + $css = '.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%;background:#000;margin:5px}.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;cursor:pointer;-webkit-transition:.4s all;-moz-transition:.4s all;transition:.4s all}.rll-youtube-player img:hover{-webkit-filter:brightness(75%)}.rll-youtube-player .play{height:72px;width:72px;left:50%;top:50%;margin-left:-36px;margin-top:-36px;position:absolute;background:url(' . WP_ROCKET_FRONT_URL . 'img/youtube.png) no-repeat;cursor:pointer}'; + + wp_register_style( 'rocket-lazyload', false ); + wp_enqueue_style( 'rocket-lazyload' ); + wp_add_inline_style( 'rocket-lazyload', $css ); + } +} +endif; + +if ( ! function_exists( 'rocket_lazyload_images' ) ) : +/** + * Replace Gravatar, thumbnails, images in post content and in widget text by LazyLoad + * + * @deprecated 3.3 + * @since 2.6 Add the get_image_tag filter + * @since 2.2 Better regex pattern in a replace_callback + * @since 1.3.5 It's possible to exclude LazyLoad process by used do_rocket_lazyload filter + * @since 1.2.0 It's possible to not lazyload an image with data-no-lazy attribute + * @since 1.1.0 Don't lazyload if the thumbnail has already been run through previously + * @since 1.0.1 Add priority of hooks at maximum later with PHP_INT_MAX + * @since 1.0 + * + * @param string $html HTML content. + * @return string Modified HTML content + */ +function rocket_lazyload_images( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Images::lazyloadImages()' ); + // Don't LazyLoad if process is stopped for these reasons. + if ( ! get_rocket_option( 'lazyload' ) || ! apply_filters( 'do_rocket_lazyload', true ) || is_feed() || is_preview() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) || ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) || empty( $html ) || ( defined( 'DONOTLAZYLOAD' ) && DONOTLAZYLOAD ) || wp_script_is( 'twentytwenty-twentytwenty', 'enqueued' ) ) { + return $html; + } + + $html = preg_replace_callback( '#]*) src=("(?:[^"]+)"|\'(?:[^\']+)\'|(?:[^ >]+))([^>]*)>#', 'rocket_lazyload_replace_callback', $html ); + + return $html; +} +endif; + +if ( ! function_exists( 'rocket_lazyload_replace_callback' ) ) : +/** + * Used to check if we have to LazyLoad this or not + * + * @deprecated 3.3 + * @since 2.5.5 Don't apply LazyLoad on images from WP Retina x2 + * @since 2.5 Don't apply LazyLoad on all images from LayerSlider + * @since 2.4.2 Don't apply LazyLoad on all images from Media Grid + * @since 2.3.11 Don't apply LazyLoad on all images from Timthumb + * @since 2.3.10 Don't apply LazyLoad on all images from Revolution Slider & Justified Image Grid + * @since 2.3.8 Don't apply LazyLoad on captcha from Really Simple CAPTCHA + * @since 2.2 + * + * @param array $matches Images matching the regex. + * @return string Modified HTML content + */ +function rocket_lazyload_replace_callback( $matches ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Images::lazyloadImages()' ); + // Don't apply LazyLoad on images from WP Retina x2. + if ( function_exists( 'wr2x_picture_rewrite' ) ) { + if ( wr2x_get_retina( trailingslashit( ABSPATH ) . wr2x_get_pathinfo_from_image_src( trim( $matches[2], '"' ) ) ) ) { + return $matches[0]; + } + } + + /** + * Filters the attributes used to prevent lazylad from being applied + * + * @since 2.11 + * @author Remy Perona + * + * @param array $excluded_attributes An array of excluded attributes. + */ + $excluded_attributes = apply_filters( + 'rocket_lazyload_excluded_attributes', array( + 'data-src=', + 'data-no-lazy=', + 'data-lazy-original=', + 'data-lazy-src=', + 'data-lazysrc=', + 'data-lazyload=', + 'data-bgposition=', + 'data-envira-src=', + 'fullurl=', + 'lazy-slider-img=', + 'data-srcset=', + 'class="ls-l', + 'class="ls-bg', + ) + ); + + /** + * Filters the src used to prevent lazylad from being applied + * + * @since 2.11 + * @author Remy Perona + * + * @param array $excluded_src An array of excluded src. + */ + $excluded_src = apply_filters( + 'rocket_lazyload_excluded_src', array( + '/wpcf7_captcha/', + 'timthumb.php?src', + ) + ); + + if ( rocket_is_excluded_lazyload( $matches[1] . $matches[3], $excluded_attributes ) || rocket_is_excluded_lazyload( $matches[2], $excluded_src ) ) { + return $matches[0]; + } + + /** + * Filter the LazyLoad placeholder on src attribute + * + * @since 1.1 + * + * @param string $placeholder Placeholder that will be printed. + */ + $placeholder = apply_filters( 'rocket_lazyload_placeholder', 'data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=' ); + + $html = sprintf( '', $matches[1], $matches[2], $matches[3], $placeholder ); + + $html_noscript = sprintf( '', $matches[1], $matches[2], $matches[3] ); + + /** + * Filter the LazyLoad HTML output + * + * @since 1.0.2 + * + * @param array $html Output that will be printed + */ + $html = apply_filters( 'rocket_lazyload_html', $html, true ); + + return $html . $html_noscript; +} +endif; + +if ( ! function_exists( 'rocket_is_excluded_lazyload' ) ) : +/** + * Determine if the current image should be excluded from lazyload + * + * @deprecated 3.3 + * @since 1.1 + * @author Remy Perona + * + * @param string $string String to search. + * @param array $excluded_values Array of excluded values to search in the string. + * @return bool True if one of the excluded values was found, false otherwise + */ +function rocket_is_excluded_lazyload( $string, $excluded_values ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Images::isExcluded()' ); + foreach ( $excluded_values as $excluded_value ) { + if ( strpos( $string, $excluded_value ) !== false ) { + return true; + } + } + + return false; +} +endif; + +if ( ! function_exists( 'rocket_lazyload_smilies' ) ) : +/** + * Replace WordPress smilies by Lazy Load + * + * @since 3.3 + * @since 2.0 New system for replace smilies by Lazy Load + * @since 1.3.5 It's possible to exclude LazyLoad process by used do_rocket_lazyload filter + * @since 1.1.0 Don't lazy-load if the thumbnail has already been run through previously + * @since 1.0.1 Add priority of hooks at maximum later with PHP_INT_MAX + * @since 1.0 + */ +function rocket_lazyload_smilies() { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\WP_Rocket\Subscriber\Optimization\Lazyload_Subscriber::lazyload_smilies()' ); + if ( ! get_rocket_option( 'lazyload' ) || ! apply_filters( 'do_rocket_lazyload', true, 'smilies' ) || ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) || ( defined( 'DONOTLAZYLOAD' ) && DONOTLAZYLOAD ) ) { + return; + } + + remove_filter( 'the_content', 'convert_smilies' ); + remove_filter( 'the_excerpt', 'convert_smilies' ); + remove_filter( 'comment_text', 'convert_smilies', 20 ); + + add_filter( 'the_content', 'rocket_convert_smilies' ); + add_filter( 'the_excerpt', 'rocket_convert_smilies' ); + add_filter( 'comment_text', 'rocket_convert_smilies', 20 ); +} +endif; + +if ( ! function_exists( 'rocket_convert_smilies' ) ) : +/** + * Convert text equivalent of smilies to images. + * + * @source convert_smilies() in /wp-includes/formattings.php + * @since 2.0 + * @deprecated 3.3 + * @param string $text Text to process. + * @return string Modified text + */ +function rocket_convert_smilies( $text ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Image::convertSmilies()' ); + global $wp_smiliessearch; + + if ( ! get_option( 'use_smilies' ) || empty( $wp_smiliessearch ) ) { + return $text; + } + + $output = ''; + // HTML loop taken from texturize function, could possible be consolidated. + $textarr = preg_split( '/(<.*>)/U', $text, -1, PREG_SPLIT_DELIM_CAPTURE ); // capture the tags as well as in between. + $stop = count( $textarr );// loop stuff. + + // Ignore proessing of specific tags. + $tags_to_ignore = 'code|pre|style|script|textarea'; + $ignore_block_element = ''; + + for ( $i = 0; $i < $stop; $i++ ) { + $content = $textarr[ $i ]; + + // If we're in an ignore block, wait until we find its closing tag. + if ( '' === $ignore_block_element && preg_match( '/^<(' . $tags_to_ignore . ')>/', $content, $matches ) ) { + $ignore_block_element = $matches[1]; + } + + // If it's not a tag and not in ignore block. + if ( '' === $ignore_block_element && strlen( $content ) > 0 && '<' !== $content[0] ) { + $content = preg_replace_callback( $wp_smiliessearch, 'rocket_translate_smiley', $content ); + } + + // did we exit ignore block. + if ( '' !== $ignore_block_element && '' === $content ) { + $ignore_block_element = ''; + } + + $output .= $content; + } + + return $output; +} +endif; + +if ( ! function_exists( 'rocket_translate_smiley' ) ) : +/** + * Convert one smiley code to the icon graphic file equivalent. + * + * @source translate_smiley() in /wp-includes/formattings.php + * @since 2.0 + * @deprecated 3.3 + * + * @param array $matches An array of matching content. + * @return string HTML code for smiley + */ +function rocket_translate_smiley( $matches ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Image::translateSmiley()' ); + global $wpsmiliestrans; + + if ( count( $matches ) === 0 ) { + return ''; + } + + $smiley = trim( reset( $matches ) ); + $img = $wpsmiliestrans[ $smiley ]; + + $matches = array(); + $ext = preg_match( '/\.([^.]+)$/', $img, $matches ) ? strtolower( $matches[1] ) : false; + $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' ); + + // Don't convert smilies that aren't images - they're probably emoji. + if ( ! in_array( $ext, $image_exts, true ) ) { + return $img; + } + + /** + * Filter the Smiley image URL before it's used in the image element. + * + * @since 2.9.0 + * + * @param string $smiley_url URL for the smiley image. + * @param string $img Filename for the smiley image. + * @param string $site_url Site URL, as returned by site_url(). + */ + $src_url = apply_filters( 'smilies_src', includes_url( "images/smilies/$img" ), $img, site_url() ); + + // Don't LazyLoad if process is stopped for these reasons. + if ( is_feed() || is_preview() ) { + return sprintf( ' %s ', esc_url( $src_url ), esc_attr( $smiley ) ); + } + + /** This filter is documented in inc/front/lazyload.php */ + $placeholder = apply_filters( 'rocket_lazyload_placeholder', 'data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=' ); + + return sprintf( ' %s ', $placeholder, esc_url( $src_url ), esc_attr( $smiley ) ); +} +endif; + +if ( ! function_exists( 'rocket_lazyload_iframes' ) ) : +/** + * Replace iframes by LazyLoad + * + * @deprecated 3.3 + * @since 2.6 + * + * @param string $html HTML content. + * @return string Modified HTML content + */ +function rocket_lazyload_iframes( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Iframe::lazyloadIframes()' ); + // Don't LazyLoad if process is stopped for these reasons. + if ( ! get_rocket_option( 'lazyload_iframes' ) || ! apply_filters( 'do_rocket_lazyload_iframes', true ) || is_feed() || is_preview() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) || empty( $html ) || ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) || ( defined( 'DONOTLAZYLOAD' ) && DONOTLAZYLOAD ) ) { + return $html; + } + + preg_match_all( '@\s.+)>.*@iUs', $html, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return $html; + } + + foreach ( $matches as $iframe ) { + // Don't mess with the Gravity Forms ajax iframe. + if ( strpos( $iframe[0], 'gform_ajax_frame' ) ) { + continue; + } + + // Don't lazyload if iframe has data-no-lazy attribute. + if ( strpos( $iframe[0], 'data-no-lazy=' ) ) { + continue; + } + + // Don't lazyload if iframe is google recaptcha fallback. + if ( strpos( $iframe[0], 'recaptcha/api/fallback' ) ) { + continue; + } + + // Given the previous regex pattern, $iframe['atts'] starts with a whitespace character. + if ( ! preg_match( '@\ssrc\s*=\s*(\'|")(?.*)\1@iUs', $iframe['atts'], $atts ) ) { + continue; + } + + $iframe['src'] = trim( $atts['src'] ); + + if ( '' === $iframe['src'] ) { + continue; + } + + if ( get_rocket_option( 'lazyload_youtube' ) ) { + $youtube_id = rocket_lazyload_get_youtube_id_from_url( $iframe['src'] ); + + if ( $youtube_id ) { + $query = wp_parse_url( htmlspecialchars_decode( $iframe['src'] ), PHP_URL_QUERY ); + + /** + * Filter the LazyLoad HTML output on Youtube iframes + * + * @since 2.11 + * + * @param array $html Output that will be printed. + */ + $youtube_lazyload = apply_filters( 'rocket_lazyload_youtube_html', '
    ' ); + $youtube_lazyload .= ''; + + $html = str_replace( $iframe[0], $youtube_lazyload, $html ); + continue; + } + } + + /** + * Filter the LazyLoad placeholder on src attribute + * + * @since 2.11 + * + * @param string $placeholder placeholder that will be printed. + */ + $placeholder = apply_filters( 'rocket_lazyload_placeholder', 'about:blank' ); + + $placeholder_atts = str_replace( $iframe['src'], $placeholder, $iframe['atts'] ); + $iframe_lazyload = str_replace( $iframe['atts'], $placeholder_atts . ' data-rocket-lazyload="fitvidscompatible" data-lazy-src="' . esc_url( $iframe['src'] ) . '"', $iframe[0] ); + + /** + * Filter the LazyLoad HTML output on iframes + * + * @since 2.11 + * + * @param array $html Output that will be printed. + */ + $iframe_lazyload = apply_filters( 'rocket_lazyload_iframe_html', $iframe_lazyload ); + $iframe_lazyload .= ''; + + $html = str_replace( $iframe[0], $iframe_lazyload, $html ); + } + + return $html; +} +endif; + +if ( ! function_exists( 'rocket_deactivate_lazyload_on_specific_posts' ) ) : +/** + * Check if we need to exclude LazyLoad on specific posts + * + * @since 3.3 + * @since 2.5 + */ +function rocket_deactivate_lazyload_on_specific_posts() { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\WP_Rocket\Subscriber\Optimization\Lazyload_Subscriber::deactivate_lazyload_on_specific_posts()' ); + if ( is_rocket_post_excluded_option( 'lazyload' ) ) { + add_filter( 'do_rocket_lazyload', '__return_false' ); + } + + if ( is_rocket_post_excluded_option( 'lazyload_iframes' ) ) { + add_filter( 'do_rocket_lazyload_iframes', '__return_false' ); + } +} +endif; + +if ( ! function_exists( 'rocket_lazyload_on_srcset' ) ) : +/** + * Compatibility with images with srcset attribute + * + * @author Remy Perona + * + * @since 3.3 + * @since 2.8 Also add sizes to the data-lazy-* attributes to prevent error in W3C validator + * @since 2.7 + * + * @param string $html HTML content. + * @return string Modified HTML content + */ +function rocket_lazyload_on_srcset( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Image:lazyloadResponsiveAttributes()' ); + if ( preg_match( '/srcset=("(?:[^"]+)"|\'(?:[^\']+)\'|(?:[^ >]+))/i', $html ) ) { + $html = str_replace( 'srcset=', 'data-lazy-srcset=', $html ); + } + + if ( preg_match( '/sizes=("(?:[^"]+)"|\'(?:[^\']+)\'|(?:[^ >]+))/i', $html ) ) { + $html = str_replace( 'sizes=', 'data-lazy-sizes=', $html ); + } + + return $html; +} +endif; + +if ( ! function_exists( 'rocket_lazyload_get_youtube_id_from_url' ) ) : +/** + * Gets youtube video ID from URL + * + * @author Remy Perona + * @deprecated 3.3 + * @since 2.11 + * + * @param string $url URL to parse. + * @return string Youtube video id or false if none found. + */ +function rocket_lazyload_get_youtube_id_from_url( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.3', '\RocketLazyload\Iframe:getYoutubeIDFromURL()' ); + $pattern = '#^(?:https?:)?(?://)?(?:www\.)?(?:youtu\.be|youtube\.com|youtube-nocookie\.com)/(?:embed/|v/|watch/?\?v=)([\w-]{11})#iU'; + $result = preg_match( $pattern, $url, $matches ); + + if ( ! $result ) { + return false; + } + + if ( 'videoseries' === $matches[1] ) { + return false; + } + + return $matches[1]; +} +endif; + +if ( ! function_exists( 'rocket_user_agent' ) ) : + /** + * Add Rocket informations into USER_AGENT + * + * @since 1.1.0 + * @deprecated 3.3.6 + * + * @param string $user_agent User Agent value. + * @return string WP Rocket user agent + */ + function rocket_user_agent( $user_agent ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Updater_Api_Common_Subscriber->get_rocket_user_agent()' ); + + $consumer_key = ''; + if ( isset( $_POST[ WP_ROCKET_SLUG ]['consumer_key'] ) ) { + $consumer_key = $_POST[ WP_ROCKET_SLUG ]['consumer_key']; + } elseif ( '' !== (string) get_rocket_option( 'consumer_key' ) ) { + $consumer_key = (string) get_rocket_option( 'consumer_key' ); + } + + $consumer_email = ''; + if ( isset( $_POST[ WP_ROCKET_SLUG ]['consumer_email'] ) ) { + $consumer_email = $_POST[ WP_ROCKET_SLUG ]['consumer_email']; + } elseif ( '' !== (string) get_rocket_option( 'consumer_email' ) ) { + $consumer_email = (string) get_rocket_option( 'consumer_email' ); + } + + $bonus = ! get_rocket_option( 'do_beta' ) ? '' : '+'; + $php_version = preg_replace( '@^(\d\.\d+).*@', '\1', phpversion() ); + $new_ua = sprintf( '%s;WP-Rocket|%s%s|%s|%s|%s|%s;', $user_agent, WP_ROCKET_VERSION, $bonus, $consumer_key, $consumer_email, esc_url( home_url() ), $php_version ); + + return $new_ua; + } +endif; + +if ( ! function_exists( 'rocket_add_own_ua' ) ) : + /** + * Force our user agent header when we hit our urls + * + * @since 2.4 + * @deprecated 3.3.6 + * + * @param array $request An array of request arguments. + * @param string $url Requested URL. + * @return array An array of requested arguments + */ + function rocket_add_own_ua( $request, $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Updater_Api_Common_Subscriber->maybe_set_rocket_user_agent()' ); + + if ( ! is_string( $url ) ) { + return $request; + } + + if ( strpos( $url, 'wp-rocket.me' ) !== false ) { + $request['user-agent'] = rocket_user_agent( $request['user-agent'] ); + } + return $request; + } +endif; + +if ( ! function_exists( 'rocket_updates_exclude' ) ) : + /** + * Excludes WP Rocket from WP updates + * + * @since 1.0 + * @deprecated 3.3.6 + * + * @param array $request An array of HTTP request arguments. + * @param string $url The request URL. + * @return array Updated array of HTTP request arguments. + */ + function rocket_updates_exclude( $request, $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Updater_Subscriber->exclude_rocket_from_wp_updates()' ); + + if ( ! is_string( $url ) ) { + return $request; + } + + if ( 0 !== strpos( $url, 'http://api.wordpress.org/plugins/update-check' ) || ! isset( $request['body']['plugins'] ) ) { + return $request; // Not a plugin update request. Stop immediately. + } + + $plugins = maybe_unserialize( $request['body']['plugins'] ); + + if ( isset( $plugins->plugins[ plugin_basename( WP_ROCKET_FILE ) ], $plugins->active[ array_search( plugin_basename( WP_ROCKET_FILE ), $plugins->active, true ) ] ) ) { + unset( $plugins->plugins[ plugin_basename( WP_ROCKET_FILE ) ] ); + unset( $plugins->active[ array_search( plugin_basename( WP_ROCKET_FILE ), $plugins->active, true ) ] ); + } + + $request['body']['plugins'] = maybe_serialize( $plugins ); + return $request; + } +endif; + +if ( ! function_exists( 'rocket_force_info' ) ) : + /** + * Hack the returned object + * + * @since 1.0 + * @deprecated 3.3.6 + * + * @param false|object|array $bool The result object or array. Default false. + * @param string $action The type of information being requested from the Plugin Install API. + * @param object $args Plugin API arguments. + * @return false|object|array Empty object if slug is WP Rocket, default value otherwise + */ + function rocket_force_info( $bool, $action, $args ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Information_Subscriber->exclude_rocket_from_wp_info()' ); + + if ( 'plugin_information' === $action && 'wp-rocket' === $args->slug ) { + return new stdClass(); + } + return $bool; + } +endif; + +if ( ! function_exists( 'rocket_force_info_result' ) ) : + /** + * Hack the returned result with our content + * + * @since 1.0 + * @deprecated 3.3.6 + * + * @param object|WP_Error $res Response object or WP_Error. + * @param string $action The type of information being requested from the Plugin Install API. + * @param object $args Plugin API arguments. + * @return object|WP_Error Updated response object or WP_Error + */ + function rocket_force_info_result( $res, $action, $args ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Information_Subscriber->add_rocket_info()' ); + + if ( 'plugin_information' === $action && isset( $args->slug ) && 'wp-rocket' === $args->slug && isset( $res->external ) && $res->external ) { + + $request = wp_remote_post( + WP_ROCKET_WEB_INFO, array( + 'timeout' => 30, + 'action' => 'plugin_information', + 'request' => serialize( $args ), + ) + ); + + if ( is_wp_error( $request ) ) { + // translators: %s is an URL. + $res = new WP_Error( 'plugins_api_failed', sprintf( __( 'An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support.', 'rocket' ), rocket_get_external_url( 'support', array( + 'utm_source' => 'wp_plugin', + 'utm_medium' => 'wp_rocket', + ) ) ), $request->get_error_message() ); + } else { + $res = maybe_unserialize( wp_remote_retrieve_body( $request ) ); + + if ( ! is_object( $res ) && ! is_array( $res ) ) { + // translators: %s is an URL. + $res = new WP_Error( 'plugins_api_failed', sprintf( __( 'An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support.', 'rocket' ), rocket_get_external_url( 'support', array( + 'utm_source' => 'wp_plugin', + 'utm_medium' => 'wp_rocket', + ) ) ), wp_remote_retrieve_body( $request ) ); + } + } + } + + return $res; + } +endif; + +if ( ! function_exists( 'rocket_check_update' ) ) : + /** + * When WP sets the update_plugins site transient, we set our own transient, then see rocket_add_response_to_updates + * + * @since 2.6.5 + * @deprecated 3.3.6 + * + * @param Object $value Site transient object. + */ + function rocket_check_update( $value ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6', '\WP_Rocket\Subscriber\Plugin\Updater_Subscriber->maybe_add_rocket_update_data()' ); + + $timer_update_wprocket = (int) get_site_transient( 'update_wprocket' ); + $temp_object = get_site_transient( 'update_wprocket_response' ); + if ( ( ! isset( $_GET['rocket_force_update'] ) || defined( 'WP_INSTALLING' ) ) && + ( 12 * HOUR_IN_SECONDS ) > ( time() - $timer_update_wprocket ) // retry in 12 hours. + ) { + if ( is_object( $value ) && false !== $temp_object ) { + if ( version_compare( $temp_object->new_version, WP_ROCKET_VERSION ) > 0 ) { + $value->response[ $temp_object->plugin ] = $temp_object; + } else { + delete_site_transient( 'update_wprocket_response' ); + } + } + return $value; + } + + if ( isset( $_GET['rocket_force_update'] ) ) { + $_SERVER['REQUEST_URI'] = remove_query_arg( 'rocket_force_update' ); + } + + $plugin_folder = plugin_basename( dirname( WP_ROCKET_FILE ) ); + $plugin_file = basename( WP_ROCKET_FILE ); + $version = true; + if ( ! $value ) { + $value = new stdClass(); + $value->last_checked = time(); + } + + $response = wp_remote_get( + WP_ROCKET_WEB_CHECK, array( + 'timeout' => 30, + ) + ); + if ( ! is_a( $response, 'WP_Error' ) && 200 === $response['response']['code'] && strlen( $response['body'] ) > 32 ) { + + set_site_transient( 'update_wprocket', time() ); + + list( $version, $url ) = explode( '|', $response['body'] ); + if ( version_compare( $version, WP_ROCKET_VERSION ) <= 0 ) { + return $value; + } + + $temp_array = array( + 'slug' => $plugin_folder, + 'plugin' => $plugin_folder . '/' . $plugin_file, + 'new_version' => $version, + 'url' => 'https://wp-rocket.me', + 'package' => $url, + ); + + $temp_object = (object) $temp_array; + $value->response[ $plugin_folder . '/' . $plugin_file ] = $temp_object; + + set_site_transient( 'update_wprocket_response', $temp_object ); + } else { + set_site_transient( 'update_wprocket', ( time() + ( 11 * HOUR_IN_SECONDS ) ) ); // retry in 1 hour in case of error.. + } + return $value; + } +endif; + +if ( ! function_exists( 'rocket_reset_check_update_timer' ) ) : + /** + * When WP deletes the update_plugins site transient or updates the plugins, we delete our own transients to avoid another 12 hours waiting + * + * @since 2.6.8 + * @deprecated 3.3.6 + * + * @param string $transient Transient name. + * @param object $value Transient object. + */ + function rocket_reset_check_update_timer( $transient = 'update_plugins', $value = null ) { + _deprecated_function( __FUNCTION__ . '()', '3.3.6' ); + + // $value used by setted. + if ( 'update_plugins' === $transient ) { + if ( is_null( $value ) || is_object( $value ) && ! isset( $value->response ) ) { + delete_site_transient( 'update_wprocket' ); + } + } + } +endif; diff --git a/inc/deprecated/3.4.php b/inc/deprecated/3.4.php new file mode 100644 index 0000000..825b0d1 --- /dev/null +++ b/inc/deprecated/3.4.php @@ -0,0 +1,719 @@ + __( 'Choose a domain from the list', 'rocket' ), + ); + + if ( is_wp_error( $cf_api_instance ) ) { + return $domains; + } + + try { + $cf_zone_instance = new Cloudflare\Zone( $cf_api_instance ); + $cf_zones = $cf_zone_instance->zones( null, 'active', null, 50 ); + $cf_zones_list = $cf_zones->result; + + if ( ! (bool) $cf_zones_list ) { + $domains[] = __( 'No domain available in your Cloudflare account', 'rocket' ); + + return $domains; + } + + foreach ( $cf_zones_list as $cf_zone ) { + $domains[ $cf_zone->name ] = $cf_zone->name; + } + + return $domains; + } catch ( Exception $e ) { + return $domains; + } +} + + +/** + * Get CNAMES hosts + * + * @since 2.3 + * @deprecated 3.4 + * + * @param string $zones CNAMES zones. + * @return array $hosts CNAMES hosts + */ +function get_rocket_cnames_host( $zones = array( 'all' ) ) { + _deprecated_function( __FUNCTION__ . '()', '3.4', '\WP_Rocket\Subscriber\CDN\CDNSubscriber::get_cdn_hosts()' ); + $hosts = array(); + + $cnames = get_rocket_cdn_cnames( $zones ); + if ( $cnames ) { + foreach ( $cnames as $cname ) { + $cname = rocket_add_url_protocol( $cname ); + $hosts[] = rocket_extract_url_component( $cname, PHP_URL_HOST ); + } + } + + return $hosts; +} + +/** + * Apply CDN on CSS properties (background, background-image, @import, src:url (fonts)) + * + * @since 2.6 + * @since 3.4 + * + * @param string $buffer file content. + * @return string modified file content + */ +function rocket_cdn_css_properties( $buffer ) { + _deprecated_function( __FUNCTION__ . '()', '3.4', '\WP_Rocket\Subscriber\CDN\CDN::rewrite_css_properties()' ); + + $zone = array( + 'all', + 'images', + 'css_and_js', + 'css', + ); + $cnames = get_rocket_cdn_cnames( $zone ); + + /** + * Filters the application of the CDN on CSS properties + * + * @since 2.6 + * + * @param bool true to apply CDN to properties, false otherwise + */ + $do_rocket_cdn_css_properties = apply_filters( 'do_rocket_cdn_css_properties', true ); + + if ( ! get_rocket_option( 'cdn' ) || ! $cnames || ! $do_rocket_cdn_css_properties ) { + return $buffer; + } + + preg_match_all( '/url\((?![\'"]?data)([^\)]+)\)/i', $buffer, $matches ); + + if ( is_array( $matches ) ) { + $i = 0; + foreach ( $matches[1] as $url ) { + $url = trim( $url, " \t\n\r\0\x0B\"'" ); + /** + * Filters the URL of the CSS property + * + * @since 2.8 + * + * @param string $url URL of the CSS property + */ + $url = get_rocket_cdn_url( apply_filters( 'rocket_cdn_css_properties_url', $url ), $zone ); + $property = str_replace( $matches[1][ $i ], $url, $matches[0][ $i ] ); + $buffer = str_replace( $matches[0][ $i ], $property, $buffer ); + + $i++; + } + } + + return $buffer; +} + +/** + * Apply CDN on custom data attributes. + * + * @since 2.5.5 + * @deprecated 3.4 + * + * @param string $html Original Output. + * @return string $html Output that will be printed + */ +function rocket_add_cdn_on_custom_attr( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( preg_match( '/(data-lazy-src|data-lazyload|data-src|data-retina)=[\'"]?([^\'"\s>]+)[\'"]/i', $html, $matches ) ) { + $html = str_replace( $matches[2], get_rocket_cdn_url( $matches[2], array( 'all', 'images' ) ), $html ); + } + + return $html; +} + + +/** + * Replace URL by CDN of all thumbnails and smilies. + * + * @since 2.1 + * @deprecated 3.4 + * + * @param string $url URL of the file to replace the domain with the CDN. + * @return string modified URL + */ +function rocket_cdn_file( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $url; + } + + if ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) { + return $url; + } + + $ext = pathinfo( $url, PATHINFO_EXTENSION ); + + if ( is_admin() || 'php' === $ext ) { + return $url; + } + + $filter = current_filter(); + + $rejected_files = get_rocket_cdn_reject_files(); + if ( 'template_directory_uri' === $filter && ! empty( $rejected_files ) ) { + return $url; + } + + switch ( $filter ) { + case 'wp_get_attachment_url': + case 'wp_calculate_image_srcset': + $zone = array( 'all', 'images' ); + break; + case 'smilies_src': + $zone = array( 'all', 'images' ); + break; + case 'stylesheet_uri': + case 'wp_minify_css_url': + case 'wp_minify_js_url': + case 'bwp_get_minify_src': + $zone = array( 'all', 'css_and_js', $ext ); + break; + default: + $zone = array( 'all', $ext ); + break; + } + + $cnames = get_rocket_cdn_cnames( $zone ); + if ( $cnames ) { + $url = get_rocket_cdn_url( $url, $zone ); + } + + return $url; +} + +/** + * Replace URL by CDN of images displayed using wp_get_attachment_image_src + * + * @since 2.9.2 + * @deprecated 3.4 + * @author Remy Perona + * @source https://github.com/wp-media/wp-rocket/issues/271#issuecomment-269849927 + * + * @param array $image An array containing the src, width and height of the image. + * @return array Array with updated src URL + */ +function rocket_cdn_attachment_image_src( $image ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $image; + } + + if ( ! (bool) $image ) { + return $image; + } + + if ( is_admin() || is_preview() || is_feed() ) { + return $image; + } + + $zones = array( 'all', 'images' ); + + if ( ! (bool) get_rocket_cdn_cnames( $zones ) ) { + return $image; + } + + $image[0] = get_rocket_cdn_url( $image[0], $zones ); + + return $image; +} + +/** + * Replace srcset URLs by CDN URLs for WP responsive images + * + * @since WP 4.4 + * @since 2.6.14 + * @deprecated 3.4 + * @author Remy Perona + * + * @param array $sources multidimensional array containing srcset images urls. + * @return array $sources + */ +function rocket_add_cdn_on_srcset( $sources ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $sources; + } + + if ( (bool) $sources ) { + foreach ( $sources as $width => $data ) { + $sources[ $width ]['url'] = rocket_cdn_file( $data['url'] ); + } + } + return $sources; +} + +/** + * Replace URL by CDN of all images display in a post content or a widget text. + * + * @since 2.1 + * @deprecated 3.4 + * + * @param string $html HTML content to parse. + * @return string modified HTML content + */ +function rocket_cdn_images( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + // Don't use CDN if the image is in admin, a feed or in a post preview. + if ( is_admin() || is_feed() || is_preview() || empty( $html ) || defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $html; + } + + $zone = array( 'all', 'images' ); + $cnames = get_rocket_cdn_cnames( $zone ); + + if ( $cnames ) { + + $cnames = array_flip( $cnames ); + $wp_content_dirname = wp_parse_url( content_url(), PHP_URL_PATH ); + + $custom_media_uploads_dirname = ''; + $uploads_info = wp_upload_dir(); + + if ( ! empty( $uploads_info['baseurl'] ) ) { + $custom_media_uploads_dirname = '|' . trailingslashit( wp_parse_url( $uploads_info['baseurl'], PHP_URL_PATH ) ); + } + + // Get all images of the content. + preg_match_all( '#]+?)src=([\'"\\\]*)([^\'"\s\\\>]+)([\'"\\\]*)([^>]*)>#i', $html, $images_match ); + + foreach ( $images_match[3] as $k => $image_url ) { + + $parse_url = get_rocket_parse_url( $image_url ); + $path = trim( $parse_url['path'] ); + $host = $parse_url['host']; + + if ( empty( $path ) || ! preg_match( '#(' . $wp_content_dirname . $custom_media_uploads_dirname . '|wp-includes)#', $path ) ) { + continue; + } + + if ( isset( $cnames[ $host ] ) ) { + continue; + } + + // Image path is relative, apply the host to it. + if ( empty( $host ) ) { + $image_url = home_url( '/' ) . ltrim( $image_url, '/' ); + $host = rocket_extract_url_component( $image_url, PHP_URL_HOST ); + } + + // Check if the link isn't external. + if ( rocket_extract_url_component( home_url(), PHP_URL_HOST ) !== $host ) { + continue; + } + + // Check if the URL isn't a DATA-URI. + if ( false !== strpos( $image_url, 'data:image' ) ) { + continue; + } + + $html = str_replace( + $images_match[0][ $k ], + /** + * Filter the image HTML output with the CDN link + * + * @since 2.5.5 + * + * @param array $html Output that will be printed. + */ + apply_filters( + 'rocket_cdn_images_html', + sprintf( + '', + trim( $images_match[1][ $k ] ), + 'src=' . $images_match[2][ $k ] . get_rocket_cdn_url( $image_url, $zone ) . $images_match[4][ $k ], + trim( $images_match[5][ $k ] ) + ) + ), + $html + ); + } + } + + return $html; +} + +/** + * Replace URL by CDN of all inline styles containing url() + * + * @since 2.9 + * @deprecated 3.4 + * @author Remy Perona + * + * @param string $html HTML content of the page. + * @return string modified HTML content + */ +function rocket_cdn_inline_styles( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( is_preview() || empty( $html ) || defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $html; + } + + $zone = array( + 'all', + 'images', + ); + + $cnames = get_rocket_cdn_cnames( $zone ); + if ( $cnames ) { + preg_match_all( '/url\((?![\'\"]?data)[\"\']?([^\)\"\']+)[\"\']?\)/i', $html, $matches ); + + if ( (bool) $matches ) { + foreach ( $matches[1] as $k => $url ) { + $url = str_replace( array( ' ', '\t', '\n', '\r', '\0', '\x0B', '"', "'", '"', ''' ), '', $url ); + + if ( '#' === substr( $url, 0, 1 ) ) { + continue; + } + + $url = get_rocket_cdn_url( $url, $zone ); + $property = str_replace( $matches[1][ $k ], $url, $matches[0][ $k ] ); + $html = str_replace( $matches[0][ $k ], $property, $html ); + } + } + } + + return $html; +} + +/** + * Replace URL by CDN for custom files + * + * @since 2.9 + * @deprecated 3.4 + * @author Remy Perona + * + * @param string $html HTML content of the page. + * @return string modified HTML content + */ +function rocket_cdn_custom_files( $html ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( is_preview() || empty( $html ) || defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $html; + } + + $image_types = [ + 'jpg', + 'jpeg', + 'jpe', + 'png', + 'gif', + 'webp', + 'bmp', + 'tiff', + ]; + + $other_types = [ + 'mp3', + 'ogg', + 'mp4', + 'm4v', + 'avi', + 'mov', + 'flv', + 'swf', + 'webm', + 'pdf', + 'doc', + 'docx', + 'txt', + 'zip', + 'tar', + 'bz2', + 'tgz', + 'rar', + ]; + + $zones = array_filter( array_unique( get_rocket_option( 'cdn_zone', [] ) ) ); + + if ( empty( $zones ) ) { + return $html; + } + + if ( ! in_array( 'all', $zones, true ) && ! in_array( 'images', $zones, true ) ) { + return $html; + } + + $cdn_zones = []; + $file_types = []; + + if ( in_array( 'images', $zones, true ) ) { + $cdn_zones[] = 'images'; + $file_types = array_merge( $file_types, $image_types ); + } + + if ( in_array( 'all', $zones, true ) ) { + $cdn_zones[] = 'all'; + $file_types = array_merge( $file_types, $image_types, $other_types ); + } + + $cnames = get_rocket_cdn_cnames( $cdn_zones ); + + if ( empty( $cnames ) ) { + return $html; + } + + /** + * Filters the filetypes allowed for the CDN + * + * @since 2.9 + * @author Remy Perona + * + * @param array $filetypes Array of file types. + */ + $file_types = apply_filters( 'rocket_cdn_custom_filetypes', $file_types ); + $file_types = implode( '|', $file_types ); + + preg_match_all( '#]+?href=[\'"]?([^"\'>]+\.(?:' . $file_types . '))[\'"]?[^>]*>#i', $html, $matches ); + + if ( ! (bool) $matches ) { + return $html; + } + + foreach ( $matches[1] as $key => $url ) { + $url = trim( $url, " \t\n\r\0\x0B\"'" ); + $url = get_rocket_cdn_url( $url, $cdn_zones ); + $src = str_replace( $matches[1][ $key ], $url, $matches[0][ $key ] ); + $html = str_replace( $matches[0][ $key ], $src, $html ); + } + + return $html; +} + +/** + * Replace URL by CDN of all scripts and styles enqueues with WordPress functions + * + * @since 2.9 Only add protocol if $src is an absolute url + * @since 2.1 + * @deprecated 3.4 + * + * @param string $src URL of the file. + * @return string modified URL + */ +function rocket_cdn_enqueue( $src ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + // Don't use CDN if in admin, in login page, in register page or in a post preview. + if ( is_admin() || is_preview() || in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ), true ) || defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $src; + } + + if ( rocket_extract_url_component( $src, PHP_URL_HOST ) !== '' ) { + $src = rocket_add_url_protocol( $src ); + } + + $zone = array( 'all', 'css_and_js' ); + + // Add only CSS zone. + if ( 'style_loader_src' === current_filter() ) { + $zone[] = 'css'; + } + + // Add only JS zone. + if ( 'script_loader_src' === current_filter() ) { + $zone[] = 'js'; + } + + $cnames = get_rocket_cdn_cnames( $zone ); + if ( $cnames ) { + // Check if the path isn't empty. + if ( trim( rocket_extract_url_component( $src, PHP_URL_PATH ), '/' ) !== '' ) { + $src = get_rocket_cdn_url( $src, $zone ); + } + } + + return $src; +} + +/** + * Get all files we don't allow to get in CDN. + * + * @since 2.5 + * @deprecated 3.4 + * + * @return string A pipe-separated list of rejected files. + */ +function get_rocket_cdn_reject_files() { + _deprecated_function( __FUNCTION__ . '()', '3.4', '\WP_Rocket\Subscriber\CDN\CDN::get_excluded_files()' ); + + $files = get_rocket_option( 'cdn_reject_files', [] ); + + /** + * Filter the rejected files. + * + * @since 2.5 + * + * @param array $files List of rejected files. + */ + $files = (array) apply_filters( 'rocket_cdn_reject_files', $files ); + $files = array_filter( $files ); + $files = array_flip( array_flip( $files ) ); + + return implode( '|', $files ); +} + +/** + * Conflict with Envira Gallery: changes the URL argument if using WP Rocket CDN and Envira + * + * @since 2.6.5 + * @since 3.4 + * + * @param array $args An array of arguments. + * @return array Updated array of arguments + */ +function rocket_cdn_resize_image_args_on_envira_gallery( $args ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( ! isset( $args['url'] ) || (int) get_rocket_option( 'cdn' ) === 0 ) { + return $args; + } + + $cnames_host = array_flip( get_rocket_cnames_host() ); + $url_host = rocket_extract_url_component( $args['url'], PHP_URL_HOST ); + $home_host = rocket_extract_url_component( home_url(), PHP_URL_HOST ); + + if ( isset( $cnames_host[ $url_host ] ) ) { + $args['url'] = str_replace( $url_host, $home_host , $args['url'] ); + } + + return $args; +} + +/** + * Conflict with Envira Gallery: changes the resized URL if using WP Rocket CDN and Envira + * + * @since 2.6.5 + * @since 3.4 + * + * @param string $url Resized image URL. + * @return string Resized image URL using the CDN URL + */ +function rocket_cdn_resized_url_on_envira_gallery( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( (int) get_rocket_option( 'cdn' ) === 0 ) { + return $url; + } + + $url = get_rocket_cdn_url( $url, array( 'all', 'images' ) ); + return $url; +} + +/** + * Apply CDN settings to Beaver Builder parallax. + * + * @since 3.2.1 + * @deprecated 3.4 + * @author Grégory Viguier + * + * @param array $attrs HTML attributes. + * @return array + */ +function rocket_beaver_builder_add_cdn_to_parallax( $attrs ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + + if ( ! empty( $attrs['data-parallax-image'] ) ) { + $attrs['data-parallax-image'] = get_rocket_cdn_url( $attrs['data-parallax-image'], [ 'all', 'images' ] ); + } + + return $attrs; +} + +if ( class_exists( 'WR2X_Admin' ) ) : + /** + * Conflict with WP Retina x2: Apply CDN on srcset attribute. + * + * @since 2.9.1 Use global $wr2x_admin + * @since 2.5.5 + * @deprecated 3.4 + * + * @param string $url URL of the image. + * @return string Updated URL with CDN + */ + function rocket_cdn_on_images_from_wp_retina_x2( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + + global $wr2x_admin; + + if ( ! method_exists( $wr2x_admin, 'is_pro' ) || ! $wr2x_admin->is_pro() ) { + return $url; + } + + $cdn_domain = get_option( 'wr2x_cdn_domain' ); + + if ( ! empty( $cdn_domain ) ) { + return $url; + } + + return get_rocket_cdn_url( $url, array( 'all', 'images' ) ); + } +endif; + +/** + * Conflict with Avada theme and WP Rocket CDN + * + * @since 2.6.1 + * @deprecated 3.4 + * + * @param array $vars An array of variables. + * @param string $handle Name of the avada resource. + * @return array updated array of variables + */ +function rocket_fix_cdn_for_avada_theme( $vars, $handle ) { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + if ( 'avada-dynamic' === $handle && get_rocket_option( 'cdn' ) ) { + $src = get_rocket_cdn_url( get_template_directory_uri() . '/assets/less/theme/dynamic.less' ); + $vars['template-directory'] = sprintf( '~"%s"', dirname( dirname( dirname( dirname( $src ) ) ) ) ); + $vars['lessurl'] = sprintf( '~"%s"', dirname( $src ) ); + } + return $vars; +} + +/** + * Conflict with Aqua Resizer & IrishMiss Framework: Apply CDN without blank src!! + * + * @since 2.5.8 Add compatibility with IrishMiss Framework + * @since 2.5.5 + * @deprecated 3.4 + */ +function rocket_cdn_on_aqua_resizer() { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + + if ( function_exists( 'aq_resize' ) || function_exists( 'miss_display_image' ) ) { + remove_filter( 'wp_get_attachment_url' , 'rocket_cdn_file', PHP_INT_MAX ); + add_filter( 'rocket_lazyload_html', 'rocket_add_cdn_on_custom_attr' ); + } +} + +/** + * Conflict with Revolution Slider & Master Slider: Apply CDN on data-lazyload|data-src attribute. + * + * @since 2.5.5 + * @deprecated 3.4 + */ +function rocket_cdn_on_sliders_with_lazyload() { + _deprecated_function( __FUNCTION__ . '()', '3.4' ); + + if ( class_exists( 'RevSliderFront' ) || class_exists( 'Master_Slider' ) ) { + add_filter( 'rocket_cdn_images_html', 'rocket_add_cdn_on_custom_attr' ); + } +} + diff --git a/inc/deprecated/3.5.php b/inc/deprecated/3.5.php new file mode 100644 index 0000000..e855fe4 --- /dev/null +++ b/inc/deprecated/3.5.php @@ -0,0 +1,901 @@ +', + '' + ) + ); + } + + if ( ! isset( $cf_zone_id ) || empty( $cf_zone_id ) ) { + $msg = __( 'Missing Cloudflare Zone ID.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_no_zone_id', $msg ); + } + + if ( $basic_validation ) { + return true; + } + + try { + $cf_api_instance = new Cloudflare\Api( $cf_email, $cf_api_key ); + $cf_zone = $cf_api_instance->get( 'zones/' . $cf_zone_id ); + + if ( ! isset( $cf_zone->success ) || empty( $cf_zone->success ) ) { + foreach ( $cf_zone->errors as $error ) { + if ( 6003 === $error->code ) { + $msg = __( 'Incorrect Cloudflare email address or API key.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_invalid_auth', $msg ); + } + } + $msg = __( 'Incorrect Cloudflare Zone ID.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + return new WP_Error( 'cloudflare_invalid_auth', $msg ); + } + + if ( true === $cf_zone->success ) { + $zone_found = false; + $site_url = get_site_url(); + + if ( function_exists( 'domain_mapping_siteurl' ) ) { + $site_url = domain_mapping_siteurl( $site_url ); + } + + if ( ! empty( $cf_zone->result ) ) { + $parsed_url = wp_parse_url( $site_url ); + if ( false !== strpos( strtolower( $parsed_url['host'] ), $cf_zone->result->name ) ) { + $zone_found = true; + } + } + + if ( ! $zone_found ) { + $msg = __( 'It looks like your domain is not set up on Cloudflare.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_wrong_zone_id', $msg ); + } + + return true; + } + } catch ( Exception $e ) { + $msg = __( 'Incorrect Cloudflare email address or API key.', 'rocket' ); + + $msg .= ' ' . sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ); + + return new WP_Error( 'cloudflare_invalid_auth', $msg ); + } +} + +/** + * Get a Cloudflare\Api instance + * + * @since 2.8.21 + * @deprecated 3.5 + * @author Soponar Cristina + * + * @return Object Cloudflare\Api instance if crendentials are set, WP_Error otherwise + */ +function get_rocket_cloudflare_api_instance() { + _deprecated_function( __FUNCTION__ . '()', '3.5' ); + if ( ! function_exists( 'curl_init' ) || ! function_exists( 'curl_exec' ) ) { + return new WP_Error( 'curl_disabled', __( 'Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly.', 'rocket' ) ); + } + + $cf_email = get_rocket_option( 'cloudflare_email', null ); + $cf_api_key = ( defined( 'WP_ROCKET_CF_API_KEY' ) ) ? WP_ROCKET_CF_API_KEY : get_rocket_option( 'cloudflare_api_key', null ); + + if ( ! isset( $cf_email, $cf_api_key ) ) { + return new WP_Error( + 'cloudflare_credentials_empty', + sprintf( + /* translators: %1$s = opening link; %2$s = closing link */ + __( 'Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance.', 'rocket' ), + // translators: Documentation exists in EN, FR; use localized URL if applicable. + '', + '' + ) + ); + } + return new Cloudflare\Api( $cf_email, $cf_api_key ); +} + +/** + * Get a Cloudflare\Api instance & the zone_id corresponding to the domain + * + * @since 2.8.21 Get the zone ID from the options + * @since 2.8.18 Add try/catch to prevent fatal error Uncaugh Exception + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @return Object Cloudflare instance & zone_id if credentials are correct, WP_Error otherwise + */ +function get_rocket_cloudflare_instance() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::get_instance()' ); + $cf_email = get_rocket_option( 'cloudflare_email', null ); + $cf_api_key = ( defined( 'WP_ROCKET_CF_API_KEY' ) ) ? WP_ROCKET_CF_API_KEY : get_rocket_option( 'cloudflare_api_key', null ); + $cf_zone_id = get_rocket_option( 'cloudflare_zone_id', null ); + $is_api_keys_valid_cf = rocket_is_api_keys_valid_cloudflare( $cf_email, $cf_api_key, $cf_zone_id, true ); + + if ( is_wp_error( $is_api_keys_valid_cf ) ) { + return $is_api_keys_valid_cf; + } + + $cf_api_instance = get_rocket_cloudflare_api_instance(); + + $cf_instance = (object) [ + 'auth' => $cf_api_instance, + 'zone_id' => $cf_zone_id, + ]; + + return $cf_instance; +} + + +/** + * Test the connection with Cloudflare + * + * @since 2.9 + * @deprecated 3.5 + * @author Remy Perona + * + * @throws Exception If the connection to Cloudflare failed. + * @return Object True if connection is successful, WP_Error otherwise + */ +function rocket_cloudflare_valid_auth() { + _deprecated_function( __FUNCTION__ . '()', '3.5' ); + $cf_api_instance = get_rocket_cloudflare_api_instance(); + if ( is_wp_error( $cf_api_instance ) ) { + return $cf_api_instance; + } + + try { + $cf_zone_instance = new Cloudflare\Zone( $cf_api_instance ); + $cf_zones = $cf_zone_instance->zones(); + + if ( ! isset( $cf_zones->success ) || empty( $cf_zones->success ) ) { + throw new Exception( __( 'Connection to Cloudflare failed', 'rocket' ) ); + } + + if ( true === $cf_zones->success ) { + return true; + } + } catch ( Exception $e ) { + return new WP_Error( 'cloudflare_invalid_auth', $e->getMessage() ); + } +} + + + +/** + * Get all the current Cloudflare settings for a given domain. + * + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @return mixed bool|Array Array of Cloudflare settings, false if any error connection to Cloudflare + */ +function get_rocket_cloudflare_settings() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::get_settings()' ); +} + + +/** + * Set the Cloudflare Development mode. + * + * @since 2.9 Now returns a value + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @param string $mode Value for Cloudflare development mode. + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|String Mode value if the update is successful, WP_Error otherwise + */ +function set_rocket_cloudflare_devmode( $mode ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_devmode()' ); +} + + +/** + * Set the Cloudflare Caching level. + * + * @since 2.9 Now returns a value + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @param string $mode Value for Cloudflare caching level. + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|String Mode value if the update is successful, WP_Error otherwise + */ +function set_rocket_cloudflare_cache_level( $mode ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_cache_level()' ); +} + +/** + * Set the Cloudflare Minification. + * + * @since 2.9 Now returns a value + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @param string $mode Value for Cloudflare minification. + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|String Mode value if the update is successful, WP_Error otherwise + */ +function set_rocket_cloudflare_minify( $mode ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_minify()' ); +} + + +/** + * Set the Cloudflare Rocket Loader. + * + * @since 2.9 Now returns value + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @param string $mode Value for Cloudflare Rocket Loader. + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|String Mode value if the update is successful, WP_Error otherwise + */ +function set_rocket_cloudflare_rocket_loader( $mode ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_rocket_loader()' ); +} + + +/** + * Set the Browser Cache TTL in Cloudflare. + * + * @since 2.9 Now returns value + * @since 2.8.16 + * @deprecated 3.5 + * + * @param string $mode Value for Cloudflare browser cache TTL. + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|String Mode value if the update is successful, WP_Error otherwise + */ +function set_rocket_cloudflare_browser_cache_ttl( $mode ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_browser_cache_ttl()' ); +} + + +/** + * Purge Cloudflare cache. + * + * @since 2.9 Now returns value + * @since 2.8.16 Update to Cloudflare API v4 + * @since 2.5 + * @deprecated 3.5 + * + * @throws Exception If any error occurs when doing the API request. + * @return mixed Object|bool true if the purge is successful, WP_Error otherwise + */ +function rocket_purge_cloudflare() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::purge_cloudflare()' ); +} + +/** + * Get Cloudflare IPs. + * + * @since 2.8.21 Save IPs in a transient to prevent calling the API everytime + * @since 2.8.16 + * @deprecated 3.5 + * + * @author Remy Perona + * + * @throws Exception If any error occurs when doing the API request. + * @return Object Result of API request if successful, WP_Error otherwise + */ +function rocket_get_cloudflare_ips() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::get_cloudflare_ips()' ); + $cf_instance = get_rocket_cloudflare_api_instance(); + if ( is_wp_error( $cf_instance ) ) { + return $cf_instance; + } + + $cf_ips = get_transient( 'rocket_cloudflare_ips' ); + if ( false === $cf_ips ) { + try { + $cf_ips_instance = new Cloudflare\IPs( $cf_instance ); + $cf_ips = $cf_ips_instance->ips(); + + if ( ! isset( $cf_ips->success ) || ! $cf_ips->success ) { + throw new Exception( 'Error connecting to Cloudflare' ); + } + + set_transient( 'rocket_cloudflare_ips', $cf_ips, 2 * WEEK_IN_SECONDS ); + } catch ( Exception $e ) { + $cf_ips = (object) [ + 'success' => true, + 'result' => (object) [], + ]; + + $cf_ips->result->ipv4_cidrs = [ + '103.21.244.0/22', + '103.22.200.0/22', + '103.31.4.0/22', + '104.16.0.0/12', + '108.162.192.0/18', + '131.0.72.0/22', + '141.101.64.0/18', + '162.158.0.0/15', + '172.64.0.0/13', + '173.245.48.0/20', + '188.114.96.0/20', + '190.93.240.0/20', + '197.234.240.0/22', + '198.41.128.0/17', + ]; + + $cf_ips->result->ipv6_cidrs = [ + '2400:cb00::/32', + '2405:8100::/32', + '2405:b500::/32', + '2606:4700::/32', + '2803:f800::/32', + '2c0f:f248::/32', + '2a06:98c0::/29', + ]; + + set_transient( 'rocket_cloudflare_ips', $cf_ips, 2 * WEEK_IN_SECONDS ); + return $cf_ips; + } + } + + return $cf_ips; +} + +/** + * Set Real IP from CloudFlare + * + * @since 2.8.16 Uses CloudFlare API v4 to get CloudFlare IPs + * @since 2.5.4 + * + * @deprecated 3.5 + * + * @source cloudflare.php - https://wordpress.org/plugins/cloudflare/ + */ +function rocket_set_real_ip_cloudflare() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::set_real_ip()' ); + global $is_cf; + + $is_cf = ( isset( $_SERVER['HTTP_CF_CONNECTING_IP'] ) ) ? true : false; + + if ( ! $is_cf ) { + return; + } + + // only run this logic if the REMOTE_ADDR is populated, to avoid causing notices in CLI mode. + if ( isset( $_SERVER['REMOTE_ADDR'] ) ) { + $cf_ips_values = rocket_get_cloudflare_ips(); + + if ( is_wp_error( $cf_ips_values ) || ! isset( $cf_ips_values->success ) || ! $cf_ips_values->success ) { + return; + } + + if ( strpos( $_SERVER['REMOTE_ADDR'], ':' ) === false ) { + $cf_ip_ranges = $cf_ips_values->result->ipv4_cidrs; + + // IPV4: Update the REMOTE_ADDR value if the current REMOTE_ADDR value is in the specified range. + foreach ( $cf_ip_ranges as $range ) { + if ( rocket_ipv4_in_range( $_SERVER['REMOTE_ADDR'], $range ) ) { + if ( $_SERVER['HTTP_CF_CONNECTING_IP'] ) { + $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; + } + break; + } + } + } + else { + $cf_ip_ranges = $cf_ips_values->result->ipv6_cidrs; + + $ipv6 = get_rocket_ipv6_full( $_SERVER['REMOTE_ADDR'] ); + foreach ( $cf_ip_ranges as $range ) { + if ( rocket_ipv6_in_range( $ipv6, $range ) ) { + if ( $_SERVER['HTTP_CF_CONNECTING_IP'] ) { + $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; + } + break; + } + } + } + } + + // Let people know that the CF WP plugin is turned on. + if ( ! headers_sent() ) { + header( 'X-CF-Powered-By: WP Rocket ' . WP_ROCKET_VERSION ); + } +} + +/** + * This notice is displayed after purging the CloudFlare cache + * + * @since 2.9 + * @author Remy Perona + * + * @deprecated 3.5 + * + */ +function rocket_cloudflare_purge_result() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::maybe_print_notice()' ); + global $current_user; + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + if ( ! is_admin() ) { + return; + } + + $notice = get_transient( $current_user->ID . '_cloudflare_purge_result' ); + if ( ! $notice ) { + return; + } + + delete_transient( $current_user->ID . '_cloudflare_purge_result' ); + + rocket_notice_html( [ + 'status' => $notice['result'], + 'message' => $notice['message'], + ] ); +} + +/** + * Purge CloudFlare cache + * + * @since 2.5 + * + * @deprecated 3.5 + * + */ +function do_admin_post_rocket_purge_cloudflare() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::do_purge_cloudflare()' ); + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'rocket_purge_cloudflare' ) ) { + wp_nonce_ays( '' ); + } + + if ( ! current_user_can( 'rocket_purge_cloudflare_cache' ) ) { + return; + } + + // Purge CloudFlare. + $cf_purge = rocket_purge_cloudflare(); + + if ( is_wp_error( $cf_purge ) ) { + $cf_purge_result = [ + 'result' => 'error', + // translators: %s = CloudFare API return message. + 'message' => sprintf( __( 'WP Rocket: %s', 'rocket' ), $cf_purge->get_error_message() ), + ]; + } else { + $cf_purge_result = [ + 'result' => 'success', + 'message' => __( 'WP Rocket: Cloudflare cache successfully purged.', 'rocket' ), + ]; + } + + set_transient( get_current_user_id() . '_cloudflare_purge_result', $cf_purge_result ); + + wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); + die(); +} + +/** + * This notice is displayed after modifying the CloudFlare settings + * + * @since 2.9 + * @author Remy Perona + * + * @deprecated 3.5 + */ +function rocket_cloudflare_update_settings() { + _deprecated_function( __FUNCTION__ . '()', '3.5', '\WP_Rocket\Subscriber\Tools\Cloudflare_Subscriber::maybe_print_update_settings_notice()' ); + global $current_user; + $screen = get_current_screen(); + + if ( ! current_user_can( 'rocket_manage_options' ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $notices = get_transient( $current_user->ID . '_cloudflare_update_settings' ); + if ( $notices ) { + $errors = ''; + $success = ''; + delete_transient( $current_user->ID . '_cloudflare_update_settings' ); + foreach ( $notices as $notice ) { + if ( 'error' === $notice['result'] ) { + $errors .= $notice['message'] . '
    '; + } elseif ( 'success' === $notice['result'] ) { + $success .= $notice['message'] . '
    '; + } + } + + if ( ! empty( $success ) ) { + rocket_notice_html( [ + 'message' => $success, + ] ); + } + + if ( ! empty( $errors ) ) { + rocket_notice_html( [ + 'status' => 'error', + 'message' => $success, + ] ); + } + } +} + +/** + * Purge all the domain + * + * @since 2.6.8 + * @deprecated 3.5 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @param string $url The home url. + */ +function rocket_varnish_clean_domain( $root, $lang, $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Subscriber\Addons\Varnish\VarnishSubscriber::clean_domain()' ); + rocket_varnish_http_purge( trailingslashit( $url ) . '?vregex' ); +} + +/** + * Purge a specific page + * + * @since 2.6.8 + * @deprecated 3.5 + * + * @param string $url The url to purge. + */ +function rocket_varnish_clean_file( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Subscriber\Addons\Varnish\VarnishSubscriber::clean_file()' ); + rocket_varnish_http_purge( trailingslashit( $url ) . '?vregex' ); +} + +/** + * Purge the homepage and its pagination + * + * @since 2.6.8 + * @deprecated 3.5 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + */ +function rocket_varnish_clean_home( $root, $lang ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Subscriber\Addons\Varnish\VarnishSubscriber::clean_home()' ); + $home_url = trailingslashit( get_rocket_i18n_home_url( $lang ) ); + $home_pagination_url = $home_url . trailingslashit( $GLOBALS['wp_rewrite']->pagination_base ) . '?vregex'; + + rocket_varnish_http_purge( $home_url ); + rocket_varnish_http_purge( $home_pagination_url ); +} + +/** + * Sets the Varnish IP to localhost if Cloudflare is active + * + * @since 3.3.5 + * @deprecated 3.5 + * @author Remy Perona + * + * @return string + */ +function rocket_varnish_proxy_host() { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Subscriber\Addons\Cloudflare\CloudflareSubscriber::set_varnish_localhost()' ); + return 'localhost'; +} + +/** + * Sets the Host header to the website domain if Cloudflare is active + * + * @since 3.3.5 + * @deprecated 3.5 + * @author Remy Perona + * + * @return string + */ +function rocket_varnish_proxy_request_host() { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Subscriber\Addons\Cloudflare\CloudflareSubscriber::set_varnish_purge_request_host()' ); + return wp_parse_url( home_url(), PHP_URL_HOST ); +} + +/** + * Send data to Varnish + * + * @since 2.6.8 + * @deprecated 3.5 + * + * @param string $url The URL to purge. + * @return void + */ +function rocket_varnish_http_purge( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.5', 'WP_Rocket\Addons\Varnish\Varnish::purge()' ); + $parse_url = get_rocket_parse_url( $url ); + + $varnish_x_purgemethod = 'default'; + $regex = ''; + + if ( 'vregex' === $parse_url['query'] ) { + $varnish_x_purgemethod = 'regex'; + $regex = '.*'; + } + + /** + * Filter the Varnish IP to call + * + * @since 2.6.8 + * @param string The Varnish IP + */ + $varnish_ip = apply_filters( 'rocket_varnish_ip', '' ); + + if ( defined( 'WP_ROCKET_VARNISH_IP' ) && ! $varnish_ip ) { + $varnish_ip = WP_ROCKET_VARNISH_IP; + } + + /** + * Filter the HTTP protocol (scheme) + * + * @since 2.7.3 + * @param string The HTTP protocol + */ + $scheme = apply_filters( 'rocket_varnish_http_purge_scheme', 'http' ); + + $parse_url['host'] = ( $varnish_ip ) ? $varnish_ip : $parse_url['host']; + $purgeme = $scheme . '://' . $parse_url['host'] . $parse_url['path'] . $regex; + + wp_remote_request( + $purgeme, + array( + 'method' => 'PURGE', + 'blocking' => false, + 'redirection' => 0, + /** + * Filters the headers to send with the Varnish purge request + * + * @since 3.1 + * @author Remy Perona + * + * @param array $headers Headers to send. + */ + 'headers' => apply_filters( + 'rocket_varnish_purge_headers', + [ + /** + * Filters the host value passed in the request headers + * + * @since 2.8.15 + * @param string The host + */ + 'host' => apply_filters( 'rocket_varnish_purge_request_host', $parse_url['host'] ), + 'X-Purge-Method' => $varnish_x_purgemethod, + ] + ), + ) + ); +} + +/** + * Display a warning notice if WP Rocket scheduled events are not running properly + * + * @since 3.5.4 deprecated + * @since 3.3.7 + * @author Remy Perona + * + * @return void + */ +function rocket_warning_cron() { + _deprecated_function( __FUNCTION__ . '()', '3.5.4', 'WP_Rocket\Engine\Admin\HealthCheck::missed_cron()' ); + $screen = get_current_screen(); + + // This filter is documented in inc/admin-bar.php. + if ( ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) { + return; + } + + if ( 'settings_page_wprocket' !== $screen->id ) { + return; + } + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + if ( 0 === (int) get_rocket_option( 'purge_cron_interval' ) && 0 === get_rocket_option( 'async_css' ) && 0 === get_rocket_option( 'manual_preload' ) && 0 === get_rocket_option( 'schedule_automatic_cleanup' ) ) { + return; + } + + $events = [ + 'rocket_purge_time_event' => 'Scheduled Cache Purge', + 'rocket_database_optimization_time_event' => 'Scheduled Database Optimization', + 'rocket_database_optimization_cron_interval' => 'Database Optimization Process', + 'rocket_preload_cron_interval' => 'Preload', + 'rocket_critical_css_generation_cron_interval' => 'Critical Path CSS Generation Process', + ]; + + foreach ( $events as $event => $description ) { + $timestamp = wp_next_scheduled( $event ); + + if ( false === $timestamp ) { + unset( $events[ $event ] ); + continue; + } + + if ( $timestamp - time() > 0 ) { + unset( $events[ $event ] ); + continue; + } + } + + if ( empty( $events ) ) { + return; + } + + $message = '

    ' . _n( 'The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:', 'The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:', count( $events ), 'rocket' ) . '

    '; + + $message .= '
      '; + + foreach ( $events as $description ) { + $message .= '
    • ' . $description . '
    • '; + } + + $message .= '
    '; + $message .= '

    ' . __( 'Please contact your host to check if CRON is working.', 'rocket' ) . '

    '; + + rocket_notice_html( + [ + 'status' => 'warning', + 'dismissible' => '', + 'message' => $message, + 'dismiss_button' => __FUNCTION__, + ] + ); +} + +/** + * Add a link "Purge this cache" in the taxonomy edit area + * + * @since 3.5.5 deprecated + * @since 1.0 + * + * @param array $actions An array of row action links. + * @param object $term The term object. + * @return array Updated array of row action links + */ +function rocket_tag_row_actions( $actions, $term ) { + _deprecated_function( __FUNCTION__ . '()', '3.5.5', 'WP_Rocket\Engine\Cache\AdminSubscriber::add_purge_term_link()' ); + global $taxnow; + + if ( ! current_user_can( 'rocket_purge_terms' ) ) { + return $actions; + } + + $url = wp_nonce_url( admin_url( 'admin-post.php?action=purge_cache&type=term-' . $term->term_id . '&taxonomy=' . $taxnow ), 'purge_cache_term-' . $term->term_id ); + $actions['rocket_purge'] = sprintf( '%s', $url, __( 'Clear this cache', 'rocket' ) ); + + return $actions; +} diff --git a/inc/deprecated/3.6.php b/inc/deprecated/3.6.php new file mode 100644 index 0000000..918a96f --- /dev/null +++ b/inc/deprecated/3.6.php @@ -0,0 +1,1126 @@ += 0 ) {\n\n"; + + // Class autoloader. + $autoloader = rocket_direct_filesystem()->get_contents( rocket_get_constant( 'WP_ROCKET_INC_PATH' ) . 'process-autoloader.php' ); + + if ( $autoloader ) { + $autoloader = preg_replace( '@^<\?php\s*@', '', $autoloader ); + $autoloader = str_replace( [ "\n", "\n\t\n" ], [ "\n\t", "\n\n" ], trim( $autoloader ) ); + $autoloader = str_replace( 'WP_ROCKET_PATH', "'" . rocket_get_constant( 'WP_ROCKET_PATH' ) . "'", $autoloader ); + + $buffer .= "\t$autoloader\n\n"; + } + + // Initialize the Cache class and process. + $buffer .= "\t" . 'if ( ! class_exists( \'\WP_Rocket\Buffer\Cache\' ) ) { + if ( ! defined( \'DONOTROCKETOPTIMIZE\' ) ) { + define( \'DONOTROCKETOPTIMIZE\', true ); // WPCS: prefix ok. + } + return; + } + + $rocket_config_class = new \WP_Rocket\Buffer\Config( + [ + \'config_dir_path\' => \'' . rocket_get_constant( 'WP_ROCKET_CONFIG_PATH' ) . '\', + ] + ); + + ( new \WP_Rocket\Buffer\Cache( + new \WP_Rocket\Buffer\Tests( + $rocket_config_class + ), + $rocket_config_class, + [ + \'cache_dir_path\' => \'' . rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ) . '\', + ] + ) )->maybe_init_process();' . "\n"; + $buffer .= "} else {\n"; + // Add a constant to provent include issue. + $buffer .= "\tdefine( 'WP_ROCKET_ADVANCED_CACHE_PROBLEM', true );\n"; + $buffer .= "}\n"; + + /** + * Filter the content of advanced-cache.php file. + * + * @since 2.1 + * + * @param string $buffer The content that will be printed in advanced-cache.php. + */ + return (string) apply_filters( 'rocket_advanced_cache_file', $buffer ); +} + +/** + * This warning is displayed when the advanced-cache.php file isn't writeable + * + * @since 3.6 deprecated + * @since 2.0 + */ +function rocket_warning_advanced_cache_permissions() { + _deprecated_function( __FUNCTION__ . '()', '3.6', '\WP_Rocket\Engine\Cache\AdvancedCache::notice_permissions()' ); + + $advanced_cache_file = WP_CONTENT_DIR . '/advanced-cache.php'; + + if ( current_user_can( 'rocket_manage_options' ) + && ! rocket_direct_filesystem()->is_writable( $advanced_cache_file ) + && ( ! defined( 'WP_ROCKET_ADVANCED_CACHE' ) || ! WP_ROCKET_ADVANCED_CACHE ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( basename( WP_CONTENT_DIR ) . '/advanced-cache.php' ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + 'dismiss_button' => __FUNCTION__, + 'readonly_content' => get_rocket_advanced_cache_file(), + ] + ); + } +} + +/** + * This warning is displayed when the advanced-cache.php file isn't ours + * + * @since 3.6 Deprecated + * @since 2.2 + */ +function rocket_warning_advanced_cache_not_ours() { + _deprecated_function( __FUNCTION__ . '()', '3.6', '\WP_Rocket\Engine\Cache\AdvancedCache::notice_content_not_ours()' ); + + if ( ! ( 'plugins.php' === $GLOBALS['pagenow'] && isset( $_GET['activate'] ) ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended + && current_user_can( 'rocket_manage_options' ) + && ! defined( 'WP_ROCKET_ADVANCED_CACHE' ) + && ( defined( 'WP_CACHE' ) && WP_CACHE ) + && get_rocket_option( 'version' ) === WP_ROCKET_VERSION + && rocket_valid_key() ) { + + $message = rocket_notice_writing_permissions( basename( WP_CONTENT_DIR ) . '/advanced-cache.php' ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + ] + ); + } +} + +/** + * Exclude fusion styles from cache busting to prevent cache dir issues + * + * @deprecated 3.6 + * @author Remy Perona + * + * @param array $excluded_files An array of excluded files. + * @return array + */ +function rocket_exclude_avada_dynamic_css( $excluded_files ) { + _deprecated_function( __FUNCTION__ . '()', '3.6' ); + + $upload_dir = wp_upload_dir(); + + $excluded_files[] = rocket_clean_exclude_file( $upload_dir['baseurl'] . '/fusion-styles/(.*)' ); + + return $excluded_files; +} + +/** + * Excludes Uncode JS files from remove query strings + * + * @deprecated 3.6 + * @since 3.3.3 + * @author Remy Perona + * + * @param array $exclude_busting Array of CSS and JS filepaths to be excluded. + * @return array + */ +function rocket_exclude_busting_uncode( $exclude_busting ) { + _deprecated_function( __FUNCTION__ . '()', '3.6' ); + + // CSS files. + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/css/style.css' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/css/uncode-icons.css' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/css/style-custom.css' ); + + // JS files. + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/init.js' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/min/init.min.js' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/app.js' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/app.min.js' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/plugins.js' ); + $exclude_busting[] = rocket_clean_exclude_file( get_template_directory_uri() . '/library/js/plugins.min.js' ); + return $exclude_busting; +} + +/** + * Purge the cache when the beaver builder layout is updated to update the minified files content & URL + * + * @deprecated 3.6 + * @since 2.9 Also clear the cache busting folder + * @since 2.8.6 + */ +function rocket_beaver_builder_clean_domain() { + _deprecated_function( __FUNCTION__ . '()', '3.6', 'WP_Rocket\ThirdParty\Plugins\PageBuilder\BeaverBuilder::purge_cache' ); + rocket_clean_minify(); + rocket_clean_domain(); +} + +/** + * Returns paths used for cache busting + * + * @since 2.9 + * @deprecated 3.6 + * @author Remy Perona + * + * @param string $filename name of the cache busting file. + * @param string $extension file extension. + * @return array Array of paths used for cache busting + */ +function rocket_get_cache_busting_paths( $filename, $extension ) { + _deprecated_function( __FUNCTION__ . '()', '3.6' ); + $blog_id = get_current_blog_id(); + $cache_busting_path = WP_ROCKET_CACHE_BUSTING_PATH . $blog_id; + $filename = rocket_realpath( rtrim( str_replace( [ ' ', '%20' ], '-', $filename ) ) ); + $cache_busting_filepath = $cache_busting_path . $filename; + $cache_busting_url = WP_ROCKET_CACHE_BUSTING_URL . $blog_id . $filename; + + switch ( $extension ) { + case 'css': + /** This filter is documented in inc/functions/minify.php */ + $cache_busting_url = apply_filters( 'rocket_css_url', $cache_busting_url ); + break; + case 'js': + /** This filter is documented in inc/functions/minify.php */ + $cache_busting_url = apply_filters( 'rocket_js_url', $cache_busting_url ); + break; + } + + return [ + 'bustingpath' => $cache_busting_path, + 'filepath' => $cache_busting_filepath, + 'url' => $cache_busting_url, + ]; +} + +/** + * Caches SCCSS code & remove the default enqueued URL + * + * @since 2.9 + * @deprecated 3.6 + * + * @author Remy Perona + */ +function rocket_cache_sccss() { + _deprecated_function( __FUNCTION__ . '()', '3.6', '\WP_Rocket\ThirdParty\Plugins\SimpleCustomCss::cache_sccss()' ); + $sccss = rocket_get_cache_busting_paths( 'sccss.css', 'css' ); + + if ( ! file_exists( $sccss['filepath'] ) ) { + rocket_sccss_create_cache_file( $sccss['bustingpath'], $sccss['filepath'] ); + } + + if ( file_exists( $sccss['filepath'] ) ) { + wp_enqueue_style( 'scss', $sccss['url'], '', filemtime( $sccss['filepath'] ) ); + remove_action( 'wp_enqueue_scripts', 'sccss_register_style', 99 ); + } +} + +/** + * Deletes & recreates cache for SCCSS code + * + * @since 2.9 + * @deprecated 3.6 + * + * @author Remy Perona + */ +function rocket_delete_sccss_cache_file() { + _deprecated_function( __FUNCTION__ . '()', '3.6', '\WP_Rocket\ThirdParty\Plugins\SimpleCustomCss::update_cache_file()' ); + $sccss = rocket_get_cache_busting_paths( 'sccss.css', 'css' ); + + array_map( 'unlink', glob( $sccss['bustingpath'] . 'sccss*.css' ) ); + rocket_clean_domain(); + rocket_sccss_create_cache_file( $sccss['bustingpath'], $sccss['filepath'] ); +} + +/** + * Returns the filename for SCSSS cache file + * + * @since 2.9 + * @deprecated 3.6 + * + * @author Remy Perona + * + * @param string $filename filename. + * @return string filename + */ +function rocket_sccss_cache_busting_filename( $filename ) { + _deprecated_function( __FUNCTION__ . '()', '3.6' ); + if ( false !== strpos( $filename, 'sccss' ) ) { + return preg_replace( '/(?:.*)(sccss(?:.*))/i', '$1', $filename ); + } + + return $filename; +} + +/** + * Creates the cache file for SCCSS code + * + * @since 2.9 + * @deprecated 3.6 + * + * @author Remy Perona + * + * @param string $cache_busting_path Path to the cache busting directory. + * @param string $cache_sccss_filepath Path to the sccss cache file. + */ +function rocket_sccss_create_cache_file( $cache_busting_path, $cache_sccss_filepath ) { + _deprecated_function( __FUNCTION__ . '()', '3.6', '\WP_Rocket\ThirdParty\Plugins\SimpleCustomCss::create_cache_file()' ); + $options = get_option( 'sccss_settings' ); + $raw_content = isset( $options['sccss-content'] ) ? $options['sccss-content'] : ''; + $content = wp_kses( $raw_content, [ '\'', '\"' ] ); + $content = str_replace( '>', '>', $content ); + + if ( ! rocket_direct_filesystem()->is_dir( $cache_busting_path ) ) { + rocket_mkdir_p( $cache_busting_path ); + } + + rocket_put_content( $cache_sccss_filepath, $content ); +} + +/** + * This warning is displayed when the wp-config.php file isn't writable + * + * @since 3.6.1 deprecated + * @since 2.0 + */ +function rocket_warning_wp_config_permissions() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\Engine\Cache\WPCache::notice_wp_config_permissions()' ); + $config_file = rocket_find_wpconfig_path(); + + if ( ! ( 'plugins.php' === $GLOBALS['pagenow'] && isset( $_GET['activate'] ) ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended + + && current_user_can( 'rocket_manage_options' ) + && ( ! rocket_direct_filesystem()->is_writable( $config_file ) && ( ! defined( 'WP_CACHE' ) || ! WP_CACHE ) ) + && rocket_valid_key() ) { + + $boxes = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + + if ( in_array( __FUNCTION__, (array) $boxes, true ) ) { + return; + } + + $message = rocket_notice_writing_permissions( 'wp-config.php' ); + + rocket_notice_html( + [ + 'status' => 'error', + 'dismissible' => '', + 'message' => $message, + 'dismiss_button' => __FUNCTION__, + 'readonly_content' => '/** Enable Cache by ' . WP_ROCKET_PLUGIN_NAME . " */\r\ndefine( 'WP_CACHE', true );\r\n", + ] + ); + } +} + +/** + * Try to find the correct wp-config.php file, support one level up in file tree. + * + * @since 3.6 deprecated + * @since 2.1 + * + * @return string|bool The path of wp-config.php file or false if not found. + */ +function rocket_find_wpconfig_path() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\Engine\Cache\WPCache::find_wpconfig_path()' ); + /** + * Filter the wp-config's filename. + * + * @since 2.11 + * + * @param string $filename The WP Config filename, without the extension. + */ + $config_file_name = apply_filters( 'rocket_wp_config_name', 'wp-config' ); + $abspath = rocket_get_constant( 'ABSPATH' ); + $config_file = "{$abspath}{$config_file_name}.php"; + $filesystem = rocket_direct_filesystem(); + + if ( + $filesystem->exists( $config_file ) + && + $filesystem->is_writable( $config_file ) + ) { + return $config_file; + } + + $abspath_parent = dirname( $abspath ) . DIRECTORY_SEPARATOR; + $config_file_alt = "{$abspath_parent}{$config_file_name}.php"; + + if ( + $filesystem->exists( $config_file_alt ) + && + $filesystem->is_writable( $config_file_alt ) + && + ! $filesystem->exists( "{$abspath_parent}wp-settings.php" ) + ) { + return $config_file_alt; + } + + // No writable file found. + return false; +} + +/** + * Define WP_CACHE to true if it's not defined yet. + * + * @since 3.6.1 deprecated + * @since 2.6 + */ +function rocket_maybe_set_wp_cache_define() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\Engine\Cache\WPCache::maybe_set_wp_cache()' ); + + if ( defined( 'WP_CACHE' ) && ! WP_CACHE ) { + set_rocket_wp_cache_define( true ); + } +} + +/** + * Get all dates archives urls associated to a specific post. + * + * @since 3.6.1 deprecated + * @since 1.0 + * + * @param int $post_id The post ID. + * + * @return array $urls List of dates URLs on success; else, an empty []. + */ +function get_rocket_post_dates_urls( $post_id ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\Engine\Cache\Purge::purge_dates_archives()' ); + $time = get_the_time( 'Y-m-d', $post_id ); + if ( empty( $time ) ) { + return []; + } + + // Extract and prep the year, month, and day. + $date = explode( '-', $time ); + $year = trailingslashit( get_year_link( $date[0] ) ); + $month = trailingslashit( get_month_link( $date[0], $date[1] ) ); + + $urls = [ + "{$year}index.html", + "{$year}index.html_gzip", + $year . $GLOBALS['wp_rewrite']->pagination_base, + "{$month}index.html", + "{$month}index.html_gzip", + $month . $GLOBALS['wp_rewrite']->pagination_base, + get_day_link( $date[0], $date[1], $date[2] ), + ]; + + /** + * Filter the list of dates URLs. + * + * @since 1.1.0 + * + * @param array $urls List of dates URLs. + */ + return (array) apply_filters( 'rocket_post_dates_urls', $urls ); +} + +/** + * Added or set the value of the WP_CACHE constant + * + * @since 3.6.1 deprecated + * @since 2.0 + * + * @param bool $turn_it_on The value of WP_CACHE constant. + * @return void + */ +function set_rocket_wp_cache_define( $turn_it_on ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\Engine\Cache\WPCache::set_wp_cache_constant()' ); + // If WP_CACHE is already define, return to get a coffee. + if ( ! rocket_valid_key() || ( $turn_it_on && defined( 'WP_CACHE' ) && WP_CACHE ) ) { + return; + } + + if ( defined( 'IS_PRESSABLE' ) && IS_PRESSABLE ) { + return; + } + + // Get path of the config file. + $config_file_path = rocket_find_wpconfig_path(); + if ( ! $config_file_path ) { + return; + } + + $filesystem = rocket_direct_filesystem(); + + // Get content of the config file. + $config_file_contents = $filesystem->get_contents( $config_file_path ); + + // Get the value of WP_CACHE constant. + $turn_it_on = $turn_it_on ? 'true' : 'false'; + + /** + * Filter allow to change the value of WP_CACHE constant + * + * @since 2.1 + * + * @param string $turn_it_on The value of WP_CACHE constant. + */ + $turn_it_on = apply_filters( 'set_rocket_wp_cache_define', $turn_it_on ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + // Get WP_CACHE constant define. + $constant = "define('WP_CACHE', $turn_it_on); // Added by WP Rocket"; + + // Lets find out if the constant WP_CACHE is defined or not. + $wp_cache_found = preg_match( '/^define\(\s*\'WP_CACHE\',(.*)\)/m', $config_file_contents, $matches ); + + if ( ! $wp_cache_found ) { + $config_file_contents = preg_replace( '/(<\?php)/i', "public || 'product_shipping_class' === $taxonomy->name ) { + continue; + } + + // Get the terms related to post. + $terms = get_the_terms( $post_id, $taxonomy->name ); + + if ( empty( $terms ) ) { + continue; + } + foreach ( $terms as $term ) { + $term_url = get_term_link( $term->slug, $taxonomy->name ); + if ( ! is_wp_error( $term_url ) ) { + $urls[] = $term_url; + } + if ( ! is_taxonomy_hierarchical( $taxonomy->name ) ) { + continue; + } + $ancestors = (array) get_ancestors( $term->term_id, $taxonomy->name ); + foreach ( $ancestors as $ancestor ) { + $ancestor_object = get_term( $ancestor, $taxonomy->name ); + if ( ! $ancestor_object instanceof WP_Term ) { + continue; + } + $ancestor_term_url = get_term_link( $ancestor_object->slug, $taxonomy->name ); + if ( ! is_wp_error( $ancestor_term_url ) ) { + $urls[] = $ancestor_term_url; + } + } + } + } + + /** + * Filter the list of taxonomies URLs + * + * @since 1.1.0 + * + * @param array $urls List of taxonomies URLs + */ + return apply_filters( 'rocket_post_terms_urls', $urls ); +} + +/** + * Rules to serve gzip compressed CSS & JS files if they exists and client accepts gzip + * + * @since 3.6.0.3 deprecated + * @since 3.6.0.2 Update rules used to prevent content encoding issue + * @since 3.6 + * @author Remy Perona + * + * @return string + */ +function rocket_get_compressed_assets_rules() { + _deprecated_function( __FUNCTION__ . '()', '3.6.0.3' ); + + $rules = << + RewriteCond %{HTTP:Accept-Encoding} gzip + RewriteCond %{REQUEST_FILENAME}\.gz -f + RewriteRule \.(css|js)$ %{REQUEST_URI}.gz [L] + + # Prevent mod_deflate double gzip + RewriteRule \.gz$ - [E=no-gzip:1] + + + + # Serve correct content types + + # (1) + RemoveType gz + + # Serve correct content types + AddType text/css css.gz + AddType text/javascript js.gz + + # Serve correct content charset + AddCharset utf-8 .css.gz \ + .js.gz + + + # Force proxies to cache gzipped and non-gzipped files separately + Header append Vary Accept-Encoding + + + # Serve correct encoding type + AddEncoding gzip .gz + + +HTACCESS; + + return apply_filters( 'rocket_htaccess_compressed_assets', $rules ); +} + +/** + * Get list of CSS files to be excluded from async CSS. + * + * @since 3.6.2 deprecated + * @since 2.10 + * @author Remy Perona + * + * @return array An array of URLs for the CSS files to be excluded. + */ +function get_rocket_exclude_async_css() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__ . '()', '3.6.2', '\WP_Rocket\Engine\CriticalPath\CriticalCSS::get_exclude_async_css()' ); + /** + * Filter list of async CSS files + * + * @since 2.10 + * @author Remy Perona + * + * @param array $exclude_async_css An array of URLs for the CSS files to be excluded. + */ + $exclude_async_css = (array) apply_filters( 'rocket_exclude_async_css', [] ); + $exclude_async_css = array_filter( $exclude_async_css ); + $exclude_async_css = array_flip( array_flip( $exclude_async_css ) ); + + return $exclude_async_css; +} + +/** + * Changes the text on the Varnish one-click block. + * + * @deprecated 3.6.1 + * @since 3.0 + * + * @param array $settings Field settings data. + * + * @return array modified field settings data. + */ +function rocket_wpengine_varnish_field( $settings ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\ThirdParty\Hostings\WPEngine::varnish_addon_title' ); + $settings['varnish_auto_purge']['title'] = sprintf( + // Translators: %s = Hosting name. + __( 'Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility.', 'rocket' ), + 'WP Engine' + ); + + return $settings; +} + +/** + * Conflict with WP Engine caching system. + * + * @deprecated 3.6.1 + * @since 2.6.4 + * + */ +function rocket_stop_generate_caching_files_on_wpengine() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1' ); + add_filter( 'do_rocket_generate_caching_files', '__return_false' ); +} + +/** + * Run WP Rocket preload bot after purged the Varnish cache via WP Engine Hosting. + * + * @deprecated 3.6.1 + * @since 2.6.4 + */ +function rocket_run_rocket_bot_after_wpengine() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\ThirdParty\Hostings\WPEngine::run_rocket_bot_after_wpengine' ); + if ( wpe_param( 'purge-all' ) && defined( 'PWP_NAME' ) && check_admin_referer( PWP_NAME . '-config' ) ) { + // Preload cache. + run_rocket_bot(); + run_rocket_sitemap_preload(); + } +} + +/** + * Call the cache server to purge the cache with WP Engine hosting. + * + * @deprecated 3.6.1 + * @since 2.6.4 + */ +function rocket_clean_wpengine() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\ThirdParty\Hostings\WPEngine::clean_wpengine' ); + if ( method_exists( 'WpeCommon', 'purge_memcached' ) ) { + WpeCommon::purge_memcached(); + } + + if ( method_exists( 'WpeCommon', 'purge_varnish_cache' ) ) { + WpeCommon::purge_varnish_cache(); + } +} + +/** + * Gets WP Engine CDN Domain. + * + * @deprecated 3.6.1 + * @since 2.8.6 + * + * return string $cdn_domain the WP Engine CDN Domain. + */ +function rocket_get_wp_engine_cdn_domain() { + _deprecated_function( __FUNCTION__ . '()', '3.6.1' ); + global $wpe_netdna_domains, $wpe_netdna_domains_secure; + + $cdn_domain = ''; + $is_ssl = ''; + + if ( isset( $_SERVER['HTTPS'] ) ) { + $is_ssl = sanitize_text_field( wp_unslash( $_SERVER['HTTPS'] ) ); + } + + if ( preg_match( '/^[oO][fF]{2}$/', $is_ssl ) ) { + $is_ssl = false; // have seen this! + } + + $native_schema = $is_ssl ? 'https' : 'http'; + + $domains = $wpe_netdna_domains; + // Determine the CDN, if any. + if ( $is_ssl ) { + $domains = $wpe_netdna_domains_secure; + } + + $wpengine = WpeCommon::instance(); + $cdn_domain = $wpengine->get_cdn_domain( $domains, home_url(), $is_ssl ); + + if ( ! empty( $cdn_domain ) ) { + $cdn_domain = $native_schema . '://' . $cdn_domain; + } + + return $cdn_domain; +} + +/** + * Add WP Rocket footprint on Buffer. + * + * @deprecated 3.6.1 + * @since 3.3.2 + * + * @param string $buffer HTML content. + * + * @return string HTML with WP Rocket footprint. + */ +function rocket_wpengine_add_footprint( $buffer ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.1', '\WP_Rocket\ThirdParty\Hostings\WPEngine::add_footprint' ); + if ( ! preg_match( '/<\/html>/i', $buffer ) ) { + return $buffer; + } + + $footprint = defined( 'WP_ROCKET_WHITE_LABEL_FOOTPRINT' ) + ? "\n" . ''; + + return $buffer . $footprint; +} + +/** + * Tell WP what to do when plugin is deactivated. + * + * @since 3.6.3 deprecated + * @since 1.0 + */ +function rocket_deactivation() { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\Engine\Deactivation\Deactivation::deactivate_plugin' ); + global $is_apache; + + $filesystem = rocket_direct_filesystem(); + $wp_cache = new WPCache( $filesystem ); + + if ( ! isset( $_GET['rocket_nonce'] ) || ! wp_verify_nonce( sanitize_key( $_GET['rocket_nonce'] ), 'force_deactivation' ) ) { + $causes = []; + + // .htaccess problem. + if ( $is_apache && ! $filesystem->is_writable( get_home_path() . '.htaccess' ) ) { + $causes[] = 'htaccess'; + } + + // wp-config problem. + if ( + ! $wp_cache->find_wpconfig_path() + && + // This filter is documented in inc/Engine/Cache/WPCache.php. + (bool) apply_filters( 'rocket_set_wp_cache_constant', true ) + ) { + $causes[] = 'wpconfig'; + } + + if ( count( $causes ) ) { + set_transient( get_current_user_id() . '_donotdeactivaterocket', $causes ); + wp_safe_redirect( wp_get_referer() ); + die(); + } + } + + // Delete config files. + rocket_delete_config_file(); + + if ( ! count( glob( WP_ROCKET_CONFIG_PATH . '*.php' ) ) ) { + // Delete All WP Rocket rules of the .htaccess file. + flush_rocket_htaccess( true ); + + // Remove WP_CACHE constant in wp-config.php. + $wp_cache->set_wp_cache_constant( false ); + + // Delete content of advanced-cache.php. + rocket_put_content( WP_CONTENT_DIR . '/advanced-cache.php', '' ); + } + + // Update customer key & licence. + wp_remote_get( + WP_ROCKET_WEB_API . 'pause-licence.php', + [ + 'blocking' => false, + ] + ); + + // Delete transients. + delete_transient( 'rocket_check_licence_30' ); + delete_transient( 'rocket_check_licence_1' ); + delete_site_transient( 'update_wprocket_response' ); + + // Unschedule WP Cron events. + wp_clear_scheduled_hook( 'rocket_facebook_tracking_cache_update' ); + wp_clear_scheduled_hook( 'rocket_google_tracking_cache_update' ); + wp_clear_scheduled_hook( 'rocket_cache_dir_size_check' ); + + /** + * WP Rocket deactivation. + * + * @since 3.1.5 + * @author Grégory Viguier + */ + do_action( 'rocket_deactivation' ); + + ( new Capabilities_Subscriber() )->remove_rocket_capabilities(); +} + +/** + * Tell WP what to do when plugin is activated. + * + * @since 3.6.3 + * @since 1.1.0 + */ +function rocket_activation() { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\Engine\Activation\Activation::deactivate_plugin' ); + ( new Capabilities_Subscriber() )->add_rocket_capabilities(); + + $filesystem = rocket_direct_filesystem(); + $wp_cache = new WPCache( $filesystem ); + + // Last constants. + define( 'WP_ROCKET_PLUGIN_NAME', 'WP Rocket' ); + define( 'WP_ROCKET_PLUGIN_SLUG', sanitize_key( WP_ROCKET_PLUGIN_NAME ) ); + + if ( defined( 'SUNRISE' ) && SUNRISE === 'on' && function_exists( 'domain_mapping_siteurl' ) ) { + require WP_ROCKET_INC_PATH . 'domain-mapping.php'; + } + + require WP_ROCKET_FUNCTIONS_PATH . 'options.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'formatting.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'i18n.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'htaccess.php'; + + if ( rocket_valid_key() ) { + // Add All WP Rocket rules of the .htaccess file. + flush_rocket_htaccess(); + + // Add WP_CACHE constant in wp-config.php. + $wp_cache->set_wp_cache_constant( true ); + } + + // Create the cache folders (wp-rocket & min). + rocket_init_cache_dir(); + + // Create the config folder (wp-rocket-config). + rocket_init_config_dir(); + + // Create advanced-cache.php file. + rocket_generate_advanced_cache_file( new AdvancedCache( WP_ROCKET_PATH . 'views/cache/', $filesystem ) ); + + /** + * WP Rocket activation. + * + * @since 3.1.5 + * @author Grégory Viguier + */ + do_action( 'rocket_activation' ); + + // Update customer key & licence. + wp_remote_get( + WP_ROCKET_WEB_API . 'activate-licence.php', + [ + 'blocking' => false, + ] + ); + + wp_remote_get( + home_url(), + [ + 'timeout' => 0.01, + 'blocking' => false, + 'user-agent' => 'WP Rocket/Homepage Preload', + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + ] + ); +} + +/** + * Excludes Divi's Salvatorre script from JS minification + * + * Exclude it to prevent an error after minification/concatenation + * + * @since 3.6.3 deprecated + * @since 2.9 + * @author Remy Perona + * + * @param Array $excluded_js An array of JS paths to be excluded. + * @return Array the updated array of paths + */ +function rocket_exclude_js_divi( $excluded_js ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Themes\Divi::exclude_js' ); + if ( defined( 'ET_BUILDER_URI' ) ) { + $excluded_js[] = str_replace( home_url(), '', ET_BUILDER_URI ) . '/scripts/salvattore.min.js'; + } + + return $excluded_js; +} + +/** + * Changes the text on the Varnish one-click block. + * + * @since 3.1 + * + * @param array $settings Field settings data. + * + * @return array modified field settings data. + */ +function rocket_o2switch_varnish_field( $settings ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::varnish_addon_title' ); + // Translators: %s = Hosting name. + $settings['varnish_auto_purge']['title'] = sprintf( __( 'Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility.', 'rocket' ), 'o2switch' ); + + return $settings; +} + +/** + * Purge all the domain. + * + * @since 3.1 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @param string $url The home url. + */ +function rocket_o2switch_varnish_clean_domain( $root, $lang, $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::varnish_clean_domain' ); + rocket_o2switch_varnish_http_purge( trailingslashit( $url ) . '?vregex' ); +} + +/** + * Purge a specific page. + * + * @since 3.1 + * + * @param string $url The url to purge. + */ +function rocket_o2switch_varnish_clean_file( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::varnish_clean_file' ); + rocket_o2switch_varnish_http_purge( trailingslashit( $url ) . '?vregex' ); +} + +/** + * Purge the homepage and its pagination. + * + * @since 3.1 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + */ +function rocket_o2switch_varnish_clean_home( $root, $lang ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::varnish_clean_home' ); + $home_url = trailingslashit( get_rocket_i18n_home_url( $lang ) ); + $home_pagination_url = $home_url . trailingslashit( $GLOBALS['wp_rewrite']->pagination_base ) . '?vregex'; + + rocket_o2switch_varnish_http_purge( $home_url ); + rocket_o2switch_varnish_http_purge( $home_pagination_url ); +} + +/** + * Send data to Varnish. + * + * @since 3.1 + * + * @param string $url The URL to purge. + */ +function rocket_o2switch_varnish_http_purge( $url ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::varnish_http_purge' ); + $parse_url = get_rocket_parse_url( $url ); + + // This filter is documented in inc/functions/varnish.php. + $headers = apply_filters( + 'rocket_varnish_purge_headers', + [ + /** + * Filters the host value passed in the request headers + * + * @since 2.8.15 + * @param string The host + */ + 'host' => apply_filters( 'rocket_varnish_purge_request_host', $parse_url['host'] ), + 'X-VC-Purge-Key' => O2SWITCH_VARNISH_PURGE_KEY, + ] + ); + + if ( 'vregex' === $parse_url['query'] ) { + $headers['X-Purge-Regex'] = '.*'; + } + + /** + * Filter the Varnish IP to call + * + * @since 2.6.8 + * + * @param string The Varnish IP + */ + $varnish_ip = apply_filters( 'rocket_varnish_ip', [] ); + + if ( defined( 'WP_ROCKET_VARNISH_IP' ) && ! $varnish_ip ) { + $varnish_ip = WP_ROCKET_VARNISH_IP; + } + + /** + * Filter the HTTP protocol (scheme) + * + * @since 2.7.3 + * + * @param string The HTTP protocol + */ + $scheme = apply_filters( 'rocket_varnish_http_purge_scheme', $parse_url['scheme'] ); + + $parse_url['host'] = ( $varnish_ip ) ? $varnish_ip : $parse_url['host']; + $purgeme = $scheme . '://' . $parse_url['host'] . $parse_url['path']; + + wp_remote_request( + $purgeme, + [ + 'method' => 'PURGE', + 'blocking' => false, + 'redirection' => 0, + 'headers' => $headers, + ] + ); +} + +/** + * Remove expiration on HTML to prevent issue with Varnish cache. + * + * @since 3.1 + * + * @param string $rules htaccess rules. + * + * @return string Updated htaccess rules. + */ +function rocket_o2switch_remove_html_expire( $rules ) { + _deprecated_function( __FUNCTION__ . '()', '3.6.3', '\WP_Rocket\ThirdParty\Hostings\O2Switch::remove_html_expire' ); + $rules = preg_replace( '@\s*#\s*Your document html@', '', $rules ); + $rules = preg_replace( '@\s*ExpiresByType text/html\s*"access plus \d+ (seconds|minutes|hour|week|month|year)"@', '', $rules ); + + return $rules; +} diff --git a/inc/deprecated/3.7.php b/inc/deprecated/3.7.php new file mode 100644 index 0000000..2ce2152 --- /dev/null +++ b/inc/deprecated/3.7.php @@ -0,0 +1,340 @@ +public_query_vars = array_diff( + $wp->public_query_vars, + [ + 'embed', + ] + ); + + // Remove the oembed/1.0/embed REST route. + add_filter( 'rest_endpoints', 'rocket_disable_embeds_remove_embed_endpoint' ); + + // Disable handling of internal embeds in oembed/1.0/proxy REST route. + add_filter( 'oembed_response_data', 'rocket_disable_embeds_filter_oembed_response_data' ); + + // Turn off oEmbed auto discovery. + add_filter( 'embed_oembed_discover', '__return_false' ); + + // Don't filter oEmbed results. + remove_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10 ); + + // Remove oEmbed discovery links. + remove_action( 'wp_head', 'wp_oembed_add_discovery_links' ); + + // Remove oEmbed-specific JavaScript from the front-end and back-end. + remove_action( 'wp_head', 'wp_oembed_add_host_js' ); + add_filter( 'tiny_mce_plugins', 'rocket_disable_embeds_tiny_mce_plugin' ); + + // Remove all embeds rewrite rules. + add_filter( 'rewrite_rules_array', 'rocket_disable_embeds_rewrites' ); + + // Remove filter of the oEmbed result before any HTTP requests are made. + remove_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10 ); + + // Load block editor JavaScript. + add_action( 'enqueue_block_editor_assets', 'rocket_disable_embeds_enqueue_block_editor_assets' ); + + // Remove wp-embed dependency of wp-edit-post script handle. + add_action( 'wp_default_scripts', 'rocket_disable_embeds_remove_script_dependencies' ); +} + +/** + * Removes the 'wpembed' TinyMCE plugin. + * + * @since 3.7 Deprecated. + * @since 2.10 + * + * @param array $plugins List of TinyMCE plugins. + * + * @return array The modified list. + * + * @deprecated + */ +function rocket_disable_embeds_tiny_mce_plugin( $plugins ) { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + return array_diff( $plugins, [ 'wpembed' ] ); +} + +/** + * Remove all rewrite rules related to embeds. + * + * @since 3.7 Deprecated. + * @since 2.10 + * + * @param array $rules WordPress rewrite rules. + * + * @return array Rewrite rules without embeds rules. + * + * @deprecated + */ +function rocket_disable_embeds_rewrites( $rules ) { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + if ( empty( $rules ) ) { + return $rules; + } + + foreach ( $rules as $rule => $rewrite ) { + if ( false !== strpos( $rewrite, 'embed=true' ) ) { + unset( $rules[ $rule ] ); + } + } + + return $rules; +} + +/** + * Removes the oembed/1.0/embed REST route. + * + * @since 3.6 Deprecated. + * @since 3.3.3 + * + * @param array $endpoints Registered REST API endpoints. + * + * @return array Filtered REST API endpoints. + * + * @deprecated + */ +function rocket_disable_embeds_remove_embed_endpoint( $endpoints ) { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + unset( $endpoints['/oembed/1.0/embed'] ); + + return $endpoints; +} + +/** + * Disables sending internal oEmbed response data in proxy endpoint. + * + * @since 3.7 Deprecated. + * @since 3.3.3 + * + * @param array $data The response data. + * + * @return array|false Response data or false if in a REST API context. + * + * @deprecated + */ +function rocket_disable_embeds_filter_oembed_response_data( $data ) { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) { + return false; + } + + return $data; +} + +/** + * Enqueues JavaScript for the block editor. + * + * This is used to unregister the `core-embed/wordpress` block type. + * + * @since 3.7 Deprecated. + * @since 3.3.3 + * + * @deprecated + */ +function rocket_disable_embeds_enqueue_block_editor_assets() { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + wp_enqueue_script( + 'rocket-disable-embeds', + WP_ROCKET_ASSETS_JS_URL . 'editor/editor.js', + [ + 'wp-edit-post', + 'wp-editor', + 'wp-dom', + ], + WP_ROCKET_VERSION, + true + ); +} + +/** + * Removes wp-embed dependency of core packages. + * + * @since 3.7 deprecated + * @since 3.3.3 + * + * @param \WP_Scripts $scripts WP_Scripts instance, passed by reference. + * + * @deprecated + */ +function rocket_disable_embeds_remove_script_dependencies( $scripts ) { + _deprecated_function( __FUNCTION__ . '()', '3.7' ); + if ( ! empty( $scripts->registered['wp-edit-post'] ) ) { + $scripts->registered['wp-edit-post']->deps = array_diff( + $scripts->registered['wp-edit-post']->deps, + [ 'wp-embed' ] + ); + } +} diff --git a/inc/deprecated/3.8.php b/inc/deprecated/3.8.php new file mode 100644 index 0000000..1312e08 --- /dev/null +++ b/inc/deprecated/3.8.php @@ -0,0 +1,333 @@ +get( 'Name' ) ) { + return false; + } + + if ( empty( $avada_options['lazy_load'] ) ) { + return false; + } + + if ( ! empty( $avada_options['lazy_load'] && 'avada' !== $avada_options['lazy_load'] ) ) { + return false; + } + + return true; +} + +/** + * Clears WP Rocket's cache after Avada's Fusion Patcher flushes their caches + * + * @since 3.8.1 deprecated + * @since 3.3.5 + * + * @return void + */ +function rocket_avada_clear_cache_fusion_patcher() { + _deprecated_function( __FUNCTION__ . '()', '3.8.1', 'WP_Rocket\ThirdParty\Themes\Avada::clear_cache_fusion_patcher()' ); + + rocket_clean_domain(); +} + +/** + * Defer all JS files. + * + * @since 3.8 deprecated + * @since 2.10 + * @author Remy Perona + * + * @param string $buffer HTML content. + * @return string Updated HTML content + */ +function rocket_defer_js( $buffer ) { + _deprecated_function( __FUNCTION__ . '()', '3.8', 'WP_Rocket\Engine\Optimization\DeferJS\DeferJS::defer_js()' ); + + if ( ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) || ( defined( 'DONOTASYNCCSS' ) && DONOTASYNCCSS ) ) { + return; + } + + if ( ! get_rocket_option( 'defer_all_js' ) ) { + return $buffer; + } + + if ( is_rocket_post_excluded_option( 'defer_all_js' ) ) { + return $buffer; + } + + $buffer_nocomments = preg_replace( '//Uis', '', $buffer ); + // Get all JS files with this regex. + preg_match_all( '#]+[\s\'"])?src\s*=\s*[\'"]\s*?([^\'"]+\.js(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>#iU', $buffer_nocomments, $tags_match ); + + if ( ! isset( $tags_match[0] ) ) { + return $buffer; + } + + $exclude_defer_js = implode( '|', get_rocket_exclude_defer_js() ); + + foreach ( $tags_match[0] as $i => $tag ) { + // Check if this file should be deferred. + if ( preg_match( '#(' . $exclude_defer_js . ')#i', $tags_match[2][ $i ] ) ) { + continue; + } + + // Don't add defer if already async. + if ( false !== strpos( $tags_match[1][ $i ], 'async' ) || false !== strpos( $tags_match[3][ $i ], 'async' ) ) { + continue; + } + + // Don't add defer if already defer. + if ( false !== strpos( $tags_match[1][ $i ], 'defer' ) || false !== strpos( $tags_match[3][ $i ], 'defer' ) ) { + continue; + } + + $deferred_tag = str_replace( '>', ' defer>', $tag ); + $buffer = str_replace( $tag, $deferred_tag, $buffer ); + } + + return $buffer; +} + +/** + * Get list of JS files to be excluded from defer JS. + * + * @since 3.8 deprecated + * @since 2.10 + * @author Remy Perona + * + * @return array An array of URLs for the JS files to be excluded. + */ +function get_rocket_exclude_defer_js() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + _deprecated_function( __FUNCTION__ . '()', '3.8', 'WP_Rocket\Engine\Optimization\DeferJS\DeferJS::get_excluded()' ); + + $exclude_defer_js = [ + 'gist.github.com', + 'content.jwplatform.com', + 'js.hsforms.net', + 'www.uplaunch.com', + 'google.com/recaptcha', + 'widget.reviews.co.uk', + 'verify.authorize.net/anetseal', + 'lib/admin/assets/lib/webfont/webfont.min.js', + 'app.mailerlite.com', + 'widget.reviews.io', + 'simplybook.(.*)/v2/widget/widget.js', + '/wp-includes/js/dist/i18n.min.js', + '/wp-content/plugins/wpfront-notification-bar/js/wpfront-notification-bar(.*).js', + '/wp-content/plugins/oxygen/component-framework/vendor/aos/aos.js', + 'static.mailerlite.com/data/(.*).js', + 'cdn.voxpow.com/static/libs/v1/(.*).js', + 'cdn.voxpow.com/media/trackers/js/(.*).js', + ]; + + if ( get_rocket_option( 'defer_all_js', 0 ) && get_rocket_option( 'defer_all_js_safe', 0 ) ) { + $jquery = site_url( wp_scripts()->registered['jquery-core']->src ); + $jetpack_jquery = 'c0.wp.com/c/(?:.+)/wp-includes/js/jquery/jquery.js'; + $googleapis_jquery = 'ajax.googleapis.com/ajax/libs/jquery/(?:.+)/jquery(?:\.min)?.js'; + $cdnjs_jquery = 'cdnjs.cloudflare.com/ajax/libs/jquery/(?:.+)/jquery(?:\.min)?.js'; + $code_jquery = 'code.jquery.com/jquery-.*(?:\.min|slim)?.js'; + + $exclude_defer_js[] = rocket_clean_exclude_file( $jquery ); + $exclude_defer_js[] = $jetpack_jquery; + $exclude_defer_js[] = $googleapis_jquery; + $exclude_defer_js[] = $cdnjs_jquery; + $exclude_defer_js[] = $code_jquery; + } + + /** + * Filter list of Deferred JavaScript files + * + * @since 2.10 + * @author Remy Perona + * + * @param array $exclude_defer_js An array of URLs for the JS files to be excluded. + */ + $exclude_defer_js = apply_filters( 'rocket_exclude_defer_js', $exclude_defer_js ); + + foreach ( $exclude_defer_js as $i => $exclude ) { + $exclude_defer_js[ $i ] = str_replace( '#', '\#', $exclude ); + } + + return $exclude_defer_js; +} + +/** + * Add width and height attributes on all images + * + * @since 3.8 deprecated + * @since 2.2.2 This feature is enabled by a hook + * @since 1.3.0 This process is called via the new filter rocket_buffer + * @since 1.3.0 It's possible to not specify dimensions of an image with data-no-image-dimensions attribute + * @since 1.1.2 Fix Bug : No conflit with Photon Plugin (Jetpack) + * @since 1.1.0 + * + * @param string $buffer HTML content. + * @return string Modified HTML content + */ +function rocket_specify_image_dimensions( $buffer ) { + _deprecated_function( __FUNCTION__ . '()', '3.8', 'WP_Rocket\Engine\Media\ImagesSubscriber::specify_image_dimensions()' ); + /** + * Filter images dimensions attributes + * + * @since 2.2 + * + * @param bool Do the job or not. + */ + if ( ! apply_filters( 'rocket_specify_image_dimensions', false ) ) { + return $buffer; + } + + // Get all images without width or height attribute. + preg_match_all( '/](?!(height|width)=))*+>/i', $buffer, $images_match ); + + foreach ( $images_match[0] as $image ) { + + // Don't touch lazy-load file (no conflit with Photon (Jetpack)). + if ( strpos( $image, 'data-lazy-original' ) || strpos( $image, 'data-no-image-dimensions' ) ) { + continue; + } + + $tmp = $image; + + // Get link of the file. + preg_match( '/src=[\'"]([^\'"]+)/', $image, $src_match ); + + // Get infos of the URL. + $image_url = wp_parse_url( $src_match[1] ); + + // Check if the link isn't external. + if ( empty( $image_url['host'] ) || rocket_remove_url_protocol( home_url() ) === $image_url['host'] ) { + // Get image attributes. + $sizes = getimagesize( ABSPATH . $image_url['path'] ); + } else { + /** + * Filter distant images dimensions attributes + * + * @since 2.2 + * + * @param bool Do the job or not + */ + if ( ini_get( 'allow_url_fopen' ) && apply_filters( 'rocket_specify_image_dimensions_for_distant', false ) ) { + // Get image attributes. + $sizes = getimagesize( $image_url['scheme'] . '://' . $image_url['host'] . $image_url['path'] ); + } + } + + if ( ! empty( $sizes ) ) { + // Add width and width attribute. + $image = str_replace( 'pagination_base ); + + rocket_godaddy_request( 'PURGE', $home_url ); + rocket_godaddy_request( 'PURGE', $home_pagination_url ); +} + +/** + * Perform the call to the Varnish server to purge + * + * @since 3.9.1 deprecated + * @since 2.9.5 + * @source WPaaS\Cache + * + * @param string $method can be BAN or PURGE. + * @param string $url URL to purge. + * @return void + */ +function rocket_godaddy_request( $method, $url = null ) { + _deprecated_function( __FUNCTION__ . '()', '3.9.0.4', '\WP_Rocket\ThirdParty\Hostings\Godaddy::godaddy_request' ); + if ( ! method_exists( 'WPaas\Plugin', 'vip' ) ) { + return; + } + + if ( empty( $url ) ) { + $url = home_url(); + } + + $host = rocket_extract_url_component( $url, PHP_URL_HOST ); + $url = set_url_scheme( str_replace( $host, WPaas\Plugin::vip(), $url ), 'http' ); + + wp_cache_flush(); + + // This forces the APC cache to flush across the server. + update_option( 'gd_system_last_cache_flush', time() ); + + wp_remote_request( + esc_url_raw( $url ), + [ + 'method' => $method, + 'blocking' => false, + 'headers' => [ + 'Host' => $host, + ], + ] + ); +} diff --git a/inc/deprecated/DeprecatedClassTrait.php b/inc/deprecated/DeprecatedClassTrait.php new file mode 100644 index 0000000..8dac02b --- /dev/null +++ b/inc/deprecated/DeprecatedClassTrait.php @@ -0,0 +1,93 @@ +deprecated since version %2$s! Use %3$s instead.', 'rocket' ), + '' . static::class . '', + '' . $version . '', + '' . $replacement . '' + ); + } else { + /** + * Without replacement. + */ + $message = sprintf( + /* translators: 1: PHP class name, 2: version number. */ + __( 'The called class %1$s is deprecated since version %2$s!', 'rocket' ), + '' . static::class . '', + '' . $version . '' + ); + } + } elseif ( ! empty( $replacement ) ) { + /** + * With replacement. + */ + $message = sprintf( + 'The called class %1$s is deprecated since version %2$s! Use %3$s instead.', + '' . static::class . '', + '' . $version . '', + '' . $replacement . '' + ); + } else { + /** + * Without replacement. + */ + $message = sprintf( + 'The called class %1$s is deprecated since version %2$s!', + '' . static::class . '', + '' . $version . '' + ); + } + + call_user_func( 'trigger_error', $message ); + } +} diff --git a/inc/deprecated/Engine/Addon/Busting/BustingFactory.php b/inc/deprecated/Engine/Addon/Busting/BustingFactory.php new file mode 100644 index 0000000..54c3ede --- /dev/null +++ b/inc/deprecated/Engine/Addon/Busting/BustingFactory.php @@ -0,0 +1,63 @@ +busting_path = $busting_path; + $this->busting_url = $busting_url; + } + + /** + * Creator method + * + * @param string $type Type of busting class to create. + * @return Busting_Interface + */ + public function type( $type ) { + switch ( $type ) { + case 'fbpix': + return new Facebook_Pickles( $this->busting_path, $this->busting_url ); + case 'fbsdk': + return new Facebook_SDK( $this->busting_path, $this->busting_url ); + case 'ga': + return new GoogleAnalytics( $this->busting_path, $this->busting_url ); + case 'gtm': + return new GoogleTagManager( $this->busting_path, $this->busting_url, new GoogleAnalytics( $this->busting_path, $this->busting_url ) ); + } + } +} diff --git a/inc/deprecated/Engine/Addon/Busting/FileBustingTrait.php b/inc/deprecated/Engine/Addon/Busting/FileBustingTrait.php new file mode 100644 index 0000000..b58f767 --- /dev/null +++ b/inc/deprecated/Engine/Addon/Busting/FileBustingTrait.php @@ -0,0 +1,478 @@ +get_busting_version() ) { + // We have a local copy. + Logger::debug( + 'Found local file.', + [ + self::LOGGER_CONTEXT, + 'path' => $this->get_busting_path(), + ] + ); + return true; + } + + if ( $this->refresh_save( $url ) ) { + // We downloaded a fresh copy. + Logger::debug( + 'New copy downloaded.', + [ + self::LOGGER_CONTEXT, + 'path' => $this->get_busting_path(), + ] + ); + return true; + } + + return false; + } + + /** + * Deletes the busting file. + * + * @since 3.1 + * @since 3.2.4 Handle versioning. + * @access public + * @author Remy Perona + * @author Grégory Viguier + * + * @return bool True on success. False on failure. + */ + public function delete() { + $files = $this->get_all_files(); + + if ( false === $files ) { + // Error. + return false; + } + + $this->file_version = null; + + if ( ! $files ) { + // No local files yet. + return true; + } + + return $this->delete_files( array_keys( $files ) ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** LOCAL FILE ============================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the version of the current busting file. + * + * @since 3.2.4 + * @access protected + * @author Grégory Viguier + * + * @return string|bool Version of the file. False if the file does not exist. + */ + protected function get_busting_version() { + if ( ! empty( $this->file_version ) ) { + return $this->file_version; + } + + $files = $this->get_all_files(); + + if ( ! $files ) { + // Error or no local files yet. + return false; + } + + // Since we're not supposed to have several files, return the first one. + $this->file_version = reset( $files ); + + return $this->file_version; + } + + /** + * Get all cached files in the directory. + * In a perfect world, there should be only one. + * + * @since 3.2.4 + * @access private + * + * @return bool|array A list of file names (as array keys) and versions (as array values). False on failure. + */ + private function get_all_files() { + $dir_path = rtrim( $this->busting_path, '\\/' ); + + if ( ! $this->filesystem->exists( $dir_path ) ) { + return []; + } + + if ( ! $this->filesystem->is_readable( $dir_path ) ) { + Logger::error( + 'Directory is not readable.', + [ + self::LOGGER_CONTEXT, + 'path' => $dir_path, + ] + ); + return false; + } + + $pattern = '/' . sprintf( + $this->escape_file_name( $this->filename_pattern ), + '([a-f0-9]{32}|local)' + ) . '/'; + + $entries = _rocket_get_dir_files_by_regex( $dir_path, $pattern ); + + $list = []; + foreach ( $entries as $entry ) { + $filename = $entry->getFilename(); + + preg_match( $pattern, $filename, $file_details_match ); + if ( ! empty( $file_details_match[1] ) ) { + $list[ $filename ] = $file_details_match[1]; + } + } + + return $list; + } + + /** + * Get the final URL for the current cache busting file. + * + * @since 3.2.4 + * @access protected + * + * @return string|bool URL of the file. False if the file does not exist. + */ + public function get_busting_url() { + return $this->get_busting_file_url( $this->get_busting_version() ); + } + + /** + * Get the path to the current cache busting file. + * + * @since 3.2.4 + * @access protected + * @author Grégory Viguier + * + * @return string|bool URL of the file. False if the file does not exist. + */ + protected function get_busting_path() { + return $this->get_busting_file_path( $this->get_busting_version() ); + } + + /** + * Get the final URL for a cache busting file. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $version The file version. + * @return string|bool URL of the file with this version. False if no versions are provided. + */ + private function get_busting_file_url( $version ) { + if ( ! $version ) { + return false; + } + + $filename = $this->get_busting_file_name( $version ); + + // This filter is documented in inc/functions/minify.php. + return apply_filters( 'rocket_js_url', $this->busting_url . $filename ); + } + + /** + * Get the local file name. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $version The file version. + * @return string|bool The name of the file with this version. False if no versions are provided. + */ + private function get_busting_file_name( $version ) { + if ( ! $version ) { + return false; + } + + return sprintf( $this->filename_pattern, $version ); + } + + /** + * Get the local file path. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $version The file version. + * @return string|bool Path to the file with this version. False if no versions are provided. + */ + private function get_busting_file_path( $version ) { + if ( ! $version ) { + return false; + } + + return $this->busting_path . $this->get_busting_file_name( $version ); + } + + /** + * Escape a file name, to be used in a regex pattern (delimiter is `/`). + * `%s` conversion specifications are protected. + * + * @since 3.2.4 + * @access private + * + * @param string $filename_pattern The file name. + * @return string + */ + private function escape_file_name( $filename_pattern ) { + return preg_quote( $filename_pattern, '/' ); + } + + /** + * Delete busting files. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param array $files A list of file names. + * @return bool True if files have been deleted (or no files have been provided). False on failure. + */ + private function delete_files( $files ) { + if ( ! $files ) { + // ¯\_(ツ)_/¯ + return true; + } + + $has_deleted = false; + $error_paths = []; + + foreach ( $files as $file_name ) { + if ( ! $this->filesystem->delete( $this->busting_path . $file_name, false, 'f' ) ) { + $error_paths[] = $this->busting_path . $file_name; + } else { + $has_deleted = true; + } + } + + if ( $error_paths ) { + // Group all deletion errors into one log. + Logger::error( + 'Local file(s) could not be deleted.', + [ + self::LOGGER_CONTEXT, + 'paths' => $error_paths, + ] + ); + } + + return $has_deleted; + } + + /** ----------------------------------------------------------------------------------------- */ + /** UPDATE THE LOCAL FILE =================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Add new contents to a file. If the file doesn't exist, it is created. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file to update. + * @param string $file_contents New contents. + * @return string|bool The file contents on success. False on failure. + */ + private function update_file_contents( $file_path, $file_contents ) { + if ( ! $this->is_busting_dir_writable() ) { + return false; + } + + if ( ! rocket_put_content( $file_path, $file_contents ) ) { + Logger::error( + 'Contents could not be written into file.', + [ + self::LOGGER_CONTEXT, + 'path' => $file_path, + ] + ); + return false; + } + + return $file_contents; + } + + /** + * Tell if the directory containing the busting file is writable. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return bool + */ + private function is_busting_dir_writable() { + if ( ! $this->filesystem->exists( $this->busting_path ) ) { + rocket_mkdir_p( $this->busting_path ); + } + + if ( ! $this->filesystem->is_writable( $this->busting_path ) ) { + Logger::error( + 'Directory is not writable.', + [ + self::LOGGER_CONTEXT, + 'paths' => $this->busting_path, + ] + ); + return false; + } + + return true; + } + + /** ----------------------------------------------------------------------------------------- */ + /** GET LOCAL/REMOTE CONTENTS =============================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get a file contents. If the file doesn't exist, new contents are fetched remotely. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file. + * @param string $file_url URL to the remote file. + * @return string|bool The contents on success, false on failure. + */ + private function get_file_or_remote_contents( $file_path, $file_url ) { + $content = $this->get_file_contents( $file_path ); + + if ( $content ) { + // We have a local file. + return $content; + } + + return $this->get_remote_contents( $file_url ); + } + + /** + * Get a file contents. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file. + * @return string|bool The contents on success, false on failure. + */ + private function get_file_contents( $file_path ) { + if ( ! $this->filesystem->exists( $file_path ) ) { + Logger::error( + 'Local file does not exist.', + [ + self::LOGGER_CONTEXT, + 'path' => $file_path, + ] + ); + return false; + } + + if ( ! $this->filesystem->is_readable( $file_path ) ) { + Logger::error( + 'Local file is not readable.', + [ + self::LOGGER_CONTEXT, + 'path' => $file_path, + ] + ); + return false; + } + + $content = $this->filesystem->get_contents( $file_path ); + + if ( ! $content ) { + Logger::error( + 'Local file is empty.', + [ + self::LOGGER_CONTEXT, + 'path' => $file_path, + ] + ); + return false; + } + + return $content; + } + + /** + * Get the contents of a URL. + * + * @since 3.2.4 + * @access private + * @author Grégory Viguier + * + * @param string $url The URL to request. + * @return string|bool The contents on success. False on failure. + */ + private function get_remote_contents( $url ) { + try { + $response = wp_remote_get( $url ); + } catch ( Exception $e ) { + Logger::error( + 'Remote file could not be fetched.', + [ + self::LOGGER_CONTEXT, + 'url' => $url, + 'response' => $e->getMessage(), + ] + ); + return false; + } + + if ( is_wp_error( $response ) ) { + Logger::error( + 'Remote file could not be fetched.', + [ + self::LOGGER_CONTEXT, + 'url' => $url, + 'response' => $response->get_error_message(), + ] + ); + return false; + } + + $contents = wp_remote_retrieve_body( $response ); + + if ( ! $contents ) { + Logger::error( + 'Remote file could not be fetched.', + [ + self::LOGGER_CONTEXT, + 'url' => $url, + 'response' => $response, + ] + ); + return false; + } + + return $contents; + } +} diff --git a/inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php b/inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php new file mode 100644 index 0000000..6eba0ab --- /dev/null +++ b/inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php @@ -0,0 +1,197 @@ +busting_factory = $busting_factory; + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.2 + * + * @return array + */ + public static function get_subscribed_events() { + $events = [ + 'cron_schedules' => 'add_schedule', + 'init' => 'schedule_cache_update', + self::CRON_NAME => 'update_cache', + 'rocket_purge_cache' => 'delete_cache', + 'rocket_buffer' => 'cache_busting_facebook_tracking', + ]; + + return $events; + } + + /** + * Add weekly interval to cron schedules. + * + * @since 3.2 + * + * @param array $schedules An array of intervals used by cron jobs. + * @return array + */ + public function add_schedule( $schedules ) { + if ( ! $this->is_busting_active() ) { + return $schedules; + } + + $schedules['weekly'] = [ + 'interval' => 604800, + 'display' => __( 'weekly', 'rocket' ), + ]; + + return $schedules; + } + + /** + * (Un)Schedule the auto-update of the cache busting files. + * + * @since 3.2 + */ + public function schedule_cache_update() { + $scheduled = wp_next_scheduled( self::CRON_NAME ); + + if ( ! $this->is_busting_active() ) { + if ( $scheduled ) { + wp_clear_scheduled_hook( self::CRON_NAME ); + } + return; + } + + if ( ! $scheduled ) { + wp_schedule_event( time(), 'weekly', self::CRON_NAME ); + } + } + + /** + * Update the Facebook Pixel cache busting files. + * + * @since 3.2 + * + * @return bool + */ + public function update_cache() { + if ( ! $this->is_busting_active() ) { + return false; + } + + $html = $this->busting_factory->type( 'fbsdk' )->refresh(); + + return $this->busting_factory->type( 'fbpix' )->refresh_all(); + } + + /** + * Delete Facebook Pixel cache busting files. + * + * @since 3.2 + * @since 3.6 Argument replacement. + * + * @param string $type Type of cache clearance: 'all', 'post', 'term', 'user', 'url'. + * @return bool + */ + public function delete_cache( $type ) { + if ( 'all' !== $type || ! $this->is_busting_active() ) { + return false; + } + + $html = $this->busting_factory->type( 'fbsdk' )->delete(); + + return $this->busting_factory->type( 'fbpix' )->delete_all(); + } + + /** + * Process the cache busting on the HTML contents. + * + * @since 3.2 + * + * @param string $html HTML contents. + * @return string + */ + public function cache_busting_facebook_tracking( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + $html = $this->busting_factory->type( 'fbsdk' )->replace_url( $html ); + + return $this->busting_factory->type( 'fbpix' )->replace_url( $html ); + } + + /** + * Tell if the cache busting should happen. + * + * @since 3.2 + * + * @return bool + */ + private function is_allowed() { + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return false; + } + + return $this->is_busting_active(); + } + + /** + * Tell if the cache busting option is active. + * + * @since 3.2 + * + * @return bool + */ + private function is_busting_active() { + return (bool) $this->options->get( 'facebook_pixel_cache', 0 ); + } +} diff --git a/inc/deprecated/Engine/Addon/GoogleTracking/GoogleAnalytics.php b/inc/deprecated/Engine/Addon/GoogleTracking/GoogleAnalytics.php new file mode 100644 index 0000000..90c9417 --- /dev/null +++ b/inc/deprecated/Engine/Addon/GoogleTracking/GoogleAnalytics.php @@ -0,0 +1,250 @@ +busting_path = $busting_path . 'google-tracking/'; + $this->busting_url = $busting_url . 'google-tracking/'; + $this->filesystem = rocket_direct_filesystem(); + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC METHODS ========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Performs the replacement process. + * + * @since 3.1 + * @access public + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + public function replace_url( $html ) { + $this->is_replaced = false; + + $tag = $this->find( '[^>]*)?>(?.*)?<\/script>', $html ); + + if ( ! $tag ) { + return $html; + } + + Logger::info( + 'GOOGLE ANALYTICS CACHING PROCESS STARTED.', + [ + self::LOGGER_CONTEXT, + 'tag' => $tag, + ] + ); + + if ( ! $this->save( $this->url ) ) { + return $html; + } + + $replace_tag = preg_replace( '/(?:https?:)?\/\/www\.google-analytics\.com\/analytics\.js/i', $this->get_busting_url(), $tag ); + $html = str_replace( $tag, $replace_tag, $html ); + + $this->is_replaced = true; + + Logger::info( + 'Google Analytics caching process succeeded.', + [ + self::LOGGER_CONTEXT, + 'file' => $this->get_busting_path(), + ] + ); + + return $html; + } + + /** + * Tell if the replacement was sucessful or not. + * + * @since 3.1 + * @access public + * @author Remy Perona + * + * @return bool + */ + public function is_replaced() { + return $this->is_replaced; + } + + /** + * Saves the content of the URL to cache to the busting file. + * + * @since 3.2.4 + * @access public + * @author Grégory Viguier + * + * @param string $url URL to get the content from. + * @return bool + */ + public function refresh_save( $url ) { + // Before doing anything, make sure the busting file can be created. + if ( ! $this->is_busting_dir_writable() ) { + return false; + } + + // Get remote content. + $content = $this->get_remote_contents( $url ); + + if ( ! $content ) { + // Could not get the remote contents. + return false; + } + + $version = md5( $content ); + $path = $this->get_busting_file_path( $version ); + + return $this->update_file_contents( $path, $content ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** REMOTE FILE ============================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the Google Analytics URL. + * + * @since 3.1 + * @access public + * @author Remy Perona + * + * @return string + */ + public function get_url() { + return $this->url; + } + + /** ----------------------------------------------------------------------------------------- */ + /** VARIOUS INTERNAL TOOLS ================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Searches for element(s) in the DOM. + * + * @since 3.1 + * @access public + * @author Remy Perona + * + * @param string $pattern Pattern to match. + * @param string $html HTML content. + * @return string + */ + protected function find( $pattern, $html ) { + preg_match_all( '/' . $pattern . '/si', $html, $all_matches, PREG_SET_ORDER ); + + $matches = array_map( + function( $match ) { + + if ( + ! preg_match( '/src\s*=\s*[\'"]\s*(?:https?:)?\/\/www\.google-analytics\.com\/analytics\.js\s*[\'"]/i', $match['attr'] . $match['content'] ) + && + false === strpos( $match['content'], 'GoogleAnalyticsObject' ) + ) { + return; + } + + return $match[0]; + }, + $all_matches + ); + + $matches = array_values( array_filter( $matches ) ); + + if ( ! $matches ) { + return false; + } + + return $matches[0]; + } +} diff --git a/inc/deprecated/Engine/Addon/GoogleTracking/GoogleTagManager.php b/inc/deprecated/Engine/Addon/GoogleTracking/GoogleTagManager.php new file mode 100644 index 0000000..0e1bd4b --- /dev/null +++ b/inc/deprecated/Engine/Addon/GoogleTracking/GoogleTagManager.php @@ -0,0 +1,205 @@ +busting_path = $busting_path . $blog_id . '/'; + $this->busting_url = $busting_url . $blog_id . '/'; + $this->ga_busting = $ga_busting; + $this->filesystem = is_null( $filesystem ) ? rocket_direct_filesystem() : $filesystem; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC METHODS ========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Performs the replacement process. + * + * @since 3.1 + * @access public + * + * @param string $html HTML content. + * @return string + */ + public function replace_url( $html ) { + $script = $this->find( ']+)?\s+src\s*=\s*[\'"]\s*?((?:https?:)?\/\/www\.googletagmanager\.com(?:.+)?)\s*?[\'"]([^>]+)?\/?>', $html ); + + if ( ! $script ) { + return $html; + } + + // replace relative protocol // with full https://. + $gtm_url = preg_replace( '/^\/\//', 'https://', $script[2] ); + + Logger::info( + 'GOOGLE TAG MANAGER CACHING PROCESS STARTED.', + [ + self::LOGGER_CONTEXT, + 'tag' => $script, + ] + ); + + if ( ! $this->save( $gtm_url ) ) { + return $html; + } + + $replace_script = str_replace( $script[2], $this->get_busting_url(), $script[0] ); + $replace_script = str_replace( ' $this->get_busting_path(), + ] + ); + + return $html; + } + + /** + * Saves the content of the URL to cache to the busting file. + * + * @since 3.2 + * @access public + * + * @param string $url URL to get the content from. + * @return bool + */ + public function refresh_save( $url ) { + // Before doing anything, make sure the busting file can be created. + if ( ! $this->is_busting_dir_writable() ) { + return false; + } + + // Get remote content. + $content = $this->get_remote_contents( $url ); + + if ( ! $content ) { + // Could not get the remote contents. + return false; + } + + $version = md5( $content ); + $path = $this->get_busting_file_path( $version ); + $content = $this->replace_ga_url( $content ); + + return $this->update_file_contents( $path, $content ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** VARIOUS INTERNAL TOOLS ================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Searches for element(s) in the DOM. + * + * @since 3.1 + * @access public + * + * @param string $pattern Pattern to match. + * @param string $html HTML content. + * @return string + */ + protected function find( $pattern, $html ) { + preg_match_all( '/' . $pattern . '/Umsi', $html, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return false; + } + + return $matches[0]; + } + + /** + * Replaces the Google Analytics URL by the local copy inside the gtm-local.js file content + * + * @since 3.1 + * + * @param string $content JavaScript content. + * @return string + */ + protected function replace_ga_url( $content ) { + if ( ! $this->ga_busting->save( $this->ga_busting->get_url() ) ) { + return $content; + } + + return str_replace( $this->ga_busting->get_url(), $this->ga_busting->get_busting_url(), $content ); + } +} diff --git a/inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php b/inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php new file mode 100644 index 0000000..b71afa7 --- /dev/null +++ b/inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php @@ -0,0 +1,187 @@ +busting_factory = $busting_factory; + $this->options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.1 + * + * @return array + */ + public static function get_subscribed_events() { + $events = [ + 'cron_schedules' => 'add_schedule', + 'init' => 'schedule_tracking_cache_update', + 'rocket_google_tracking_cache_update' => 'update_tracking_cache', + 'rocket_purge_cache' => 'delete_tracking_cache', + 'rocket_buffer' => 'cache_busting_google_tracking', + ]; + + return $events; + } + + /** + * Processes the cache busting on the HTML content + * + * Google Analytics replacement is performed first, and if no replacement occured, Google Tag Manager replacement is performed. + * + * @since 3.1 + * + * @param string $html HTML content. + * @return string + */ + public function cache_busting_google_tracking( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + $processor = $this->busting_factory->type( 'ga' ); + $html = $processor->replace_url( $html ); + + $processor = $this->busting_factory->type( 'gtm' ); + $html = $processor->replace_url( $html ); + + return $html; + } + + /** + * Schedules the auto-update of Google Analytics cache busting file + * + * @since 3.1 + * + * @return void + */ + public function schedule_tracking_cache_update() { + if ( ! $this->is_busting_active() ) { + return; + } + + if ( ! wp_next_scheduled( 'rocket_google_tracking_cache_update' ) ) { + wp_schedule_event( time(), 'weekly', 'rocket_google_tracking_cache_update' ); + } + } + + /** + * Updates Google Analytics cache busting file + * + * @since 3.1 + * + * @return bool + */ + public function update_tracking_cache() { + if ( ! $this->is_busting_active() ) { + return false; + } + + $processor = $this->busting_factory->type( 'ga' ); + + return $processor->refresh_save( $processor->get_url() ); + } + + /** + * Adds weekly interval to cron schedules + * + * @since 3.1 + * + * @param Array $schedules An array of intervals used by cron jobs. + * @return Array + */ + public function add_schedule( $schedules ) { + if ( ! $this->is_busting_active() ) { + return $schedules; + } + + $schedules['weekly'] = [ + 'interval' => 604800, + 'display' => __( 'weekly', 'rocket' ), + ]; + + return $schedules; + } + + /** + * Deletes the GA busting file. + * + * @since 3.1 + * @since 3.6 Argument replacement. + * + * @param string $type Type of cache clearance: 'all', 'post', 'term', 'user', 'url'. + * @return bool + */ + public function delete_tracking_cache( $type ) { + if ( 'all' !== $type || ! $this->is_busting_active() ) { + return false; + } + + $this->busting_factory->type( 'gtm' )->delete(); + + return $this->busting_factory->type( 'ga' )->delete(); + } + + /** + * Checks if the cache busting should happen + * + * @since 3.1 + * + * @return boolean + */ + private function is_allowed() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + return $this->is_busting_active(); + } + + /** + * Tell if the cache busting option is active. + * + * @since 3.6 + * + * @return bool + */ + private function is_busting_active() { + return (bool) $this->options->get( 'google_analytics_cache', 0 ); + } +} diff --git a/inc/deprecated/Engine/Media/Embeds/EmbedsSubscriber.php b/inc/deprecated/Engine/Media/Embeds/EmbedsSubscriber.php new file mode 100644 index 0000000..c6dc716 --- /dev/null +++ b/inc/deprecated/Engine/Media/Embeds/EmbedsSubscriber.php @@ -0,0 +1,206 @@ +options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.7 + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'init' => [ 'remove_wp_vars_and_hooks', 9999 ], + 'rest_endpoints' => 'remove_embed_endpoint', + 'oembed_response_data' => 'empty_oembed_response_data', + 'embed_oembed_discover' => 'return_false', + 'rewrite_rules_array' => 'remove_embeds_rewrite_rules', + 'enqueue_block_editor_assets' => 'enqueue_disable_embeds_script', + 'wp_default_scripts' => 'remove_wp_embed_dependency', + ]; + } + + /** + * Remove WP Query Vars and hooks relating to embeds. + * + * Replaces old architecture's rocket_disable_embeds_init(). + * + * @since 3.7 + * + * @return void + */ + public function remove_wp_vars_and_hooks() { + if ( ! $this->can_disable_embeds() ) { + return; + } + + global $wp; + + // Remove the embed query var. + $wp->public_query_vars = array_diff( + $wp->public_query_vars, + [ + 'embed', + ] + ); + + // Don't filter oEmbed results. + remove_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10 ); + + // Remove oEmbed discovery links. + remove_action( 'wp_head', 'wp_oembed_add_discovery_links' ); + + // Remove oEmbed-specific JavaScript from the front-end and back-end. + remove_action( 'wp_head', 'wp_oembed_add_host_js' ); + + // Remove filter of the oEmbed result before any HTTP requests are made. + remove_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10 ); + } + + /** + * Remove all rewrite rules related to embeds. + * + * @since 3.7 Moved to new architecture. + * @since 2.10 + * + * @param array $rules WordPress rewrite rules. + * + * @return array Rewrite rules without embeds rules. + */ + public function remove_embeds_rewrite_rules( $rules ) { + if ( empty( $rules ) || ! $this->can_disable_embeds() ) { + return $rules; + } + + foreach ( $rules as $rule => $rewrite ) { + if ( false !== strpos( $rewrite, 'embed=true' ) ) { + unset( $rules[ $rule ] ); + } + } + + return $rules; + } + + /** + * Remove the oembed/1.0/embed REST route. + * + * @since 3.7 Moved to new architecture. + * @since 3.3.3 + * + * @param array $endpoints Registered REST API endpoints. + * + * @return array Filtered REST API endpoints. + */ + public function remove_embed_endpoint( $endpoints ) { + if ( ! $this->can_disable_embeds() ) { + return $endpoints; + } + + unset( $endpoints['/oembed/1.0/embed'] ); + + return $endpoints; + } + + /** + * Disables sending internal oEmbed response data in proxy endpoint. + * + * @since 3.7 Moved to new architecture. + * @since 3.3.3 + * + * @param array $data The response data. + * + * @return array Response data + */ + public function empty_oembed_response_data( $data ) { + if ( + ! rocket_get_constant( 'REST_REQUEST' ) + || + ! $this->can_disable_embeds() + ) { + return $data; + } + + return []; + } + + /** + * Enqueue JavaScript for the block editor. + * + * This is used to unregister the `core-embed/wordpress` block type. + * + * @since 3.7 Moved to new architecture. + * @since 3.3.3 + * + * @return void + */ + public function enqueue_disable_embeds_script() { + if ( ! $this->can_disable_embeds() ) { + return; + } + } + + /** + * Remove wp-embed dependency of core packages. + * + * @since 3.7 Moved to new architecture. + * @since 3.3.3 + * + * @param \WP_Scripts $scripts WP_Scripts instance, passed by reference. + */ + public function remove_wp_embed_dependency( $scripts ) { + if ( ! $this->can_disable_embeds() ) { + return; + } + + if ( ! empty( $scripts->registered['wp-edit-post'] ) ) { + $scripts->registered['wp-edit-post']->deps = array_diff( + $scripts->registered['wp-edit-post']->deps, + [ 'wp-embed' ] + ); + } + } + + /** + * Check for embeds enabled. + * + * @since 3.7 + * + * @return bool + */ + private function can_disable_embeds() { + return ! rocket_bypass() && (bool) $this->options->get( 'embeds', 0 ); + } +} diff --git a/inc/deprecated/Engine/Optimization/QueryString/Remove.php b/inc/deprecated/Engine/Optimization/QueryString/Remove.php new file mode 100644 index 0000000..a3f1def --- /dev/null +++ b/inc/deprecated/Engine/Optimization/QueryString/Remove.php @@ -0,0 +1,365 @@ +options = $options; + $this->busting_path = $busting_path . get_current_blog_id() . '/'; + $this->busting_url = $busting_url . get_current_blog_id() . '/'; + } + + /** + * Returns a regex-ready string with the excluded filepaths for the Remove Query Strings option + * + * @since 3.3.3 + * @author Remy Perona + * + * @return string + */ + protected function get_excluded_files() { + static $excluded_files; + + if ( isset( $excluded_files ) ) { + return $excluded_files; + } + + /** + * Filters files to exclude from cache busting + * + * @since 2.9.3 + * @author Remy Perona + * + * @param array $excluded_files An array of filepath to exclude. + */ + $excluded_files = apply_filters( 'rocket_exclude_cache_busting', [] ); + + if ( empty( $excluded_files ) ) { + $excluded_files = ''; + + return $excluded_files; + } + + foreach ( $excluded_files as $i => $excluded_file ) { + // Escape character for future use in regex pattern. + $excluded_files[ $i ] = str_replace( '#', '\#', $excluded_file ); + } + + $excluded_files = implode( '|', $excluded_files ); + + return $excluded_files; + } + + /** + * Remove query strings for CSS files that have one + * + * @since 3.1 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + public function remove_query_strings_css( $html ) { + $html_nocomments = preg_replace( '//Uis', '', $html ); + $styles = $this->find( ']+[\s\'"])?href\s*=\s*[\'"]\s*?([^\'"]+\.css(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>', $html_nocomments ); + + if ( ! $styles ) { + return $html; + } + + foreach ( $styles as $style ) { + $url = $style[2]; + + $url = $this->can_replace( $url ); + + if ( ! $url ) { + continue; + } + + $optimized_url = $this->replace_url( $url, 'css' ); + + if ( ! $optimized_url ) { + continue; + } + + $replace_style = str_replace( $style[2], $optimized_url, $style[0] ); + $html = str_replace( $style[0], $replace_style, $html ); + } + + return $html; + } + + /** + * Remove query strings for JS files that have one + * + * @since 3.1 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + public function remove_query_strings_js( $html ) { + $html_nocomments = $this->hide_comments( $html ); + $scripts = $this->find( ']+[\s\'"])?src\s*=\s*[\'"]\s*?([^\'"]+\.js(?:\?[^\'"]*)?)\s*?[\'"]([^>]+)?\/?>', $html_nocomments ); + + if ( ! $scripts ) { + return $html; + } + + foreach ( $scripts as $script ) { + $url = $script[2]; + + $url = $this->can_replace( $url ); + + if ( ! $url ) { + continue; + } + + $optimized_url = $this->replace_url( $url, 'js' ); + + if ( ! $optimized_url ) { + continue; + } + + $replace_script = str_replace( $script[2], $optimized_url, $script[0] ); + $html = str_replace( $script[0], $replace_script, $html ); + } + + return $html; + } + + /** + * Gets the CDN zones. + * + * @since 3.1 + * @author Remy Perona + * + * @return array + */ + public function get_zones() { + return [ 'all', 'css_and_js', 'css', 'js' ]; + } + + /** + * Determines if we can optimize + * + * @since 3.1 + * @author Remy Perona + * + * @return boolean + */ + public function is_allowed() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE' ) ) { + return false; + } + + if ( ! $this->options->get( 'remove_query_strings' ) ) { + return false; + } + + return true; + } + + /** + * Determines if we can perform the remove query string on that URL + * + * @since 3.1 + * @author Remy Perona + * + * @param string $url source URL. + * @return bool\string + */ + protected function can_replace( $url ) { + $parsed_url = get_rocket_parse_url( $url ); + + if ( empty( $parsed_url['query'] ) ) { + return false; + } + + $version = get_bloginfo( 'version' ); + + if ( false !== strpos( $url, 'ver=' . $version ) ) { + $url = rtrim( str_replace( [ 'ver=' . $version, '?&', '&&' ], [ '', '?', '&' ], $url ), '?&' ); + } + + if ( $this->is_external_file( $url ) ) { + return false; + } + + if ( $this->is_excluded( $url ) ) { + return false; + } + + return $url; + } + + /** + * Determines if the URL is excluded + * + * @since 3.1 + * @author Remy Perona + * + * @param string $url source URL. + * @return bool + */ + protected function is_excluded( $url ) { + $excluded_files = $this->get_excluded_files(); + + if ( ! empty( $excluded_files ) && preg_match( '#^' . $excluded_files . '$#', rocket_clean_exclude_file( $url ) ) ) { + return true; + } + + return false; + } + + /** + * Replaces the original URL with the cache busting URL + * + * @since 3.1 + * @author Remy Perona + * + * @param string $url source URL. + * @param string $extension file extension. + * @return bool|string + */ + protected function replace_url( $url, $extension ) { + $query = wp_parse_url( $url, PHP_URL_QUERY ); + + if ( empty( $query ) ) { + return $url; + } + + // This filter is documented in /inc/classes/optimization/class-abstract-optimization.php. + $internal_url = apply_filters( 'rocket_asset_url', $url, $this->get_zones() ); + $parsed_url = get_rocket_parse_url( $internal_url ); + $relative_src = ltrim( $parsed_url['path'] . '?' . $parsed_url['query'], '/' ); + $filename = preg_replace( '/\.(' . $extension . ')\?(?:timestamp|ver)=([^&]+)(?:.*)/', '-$2.$1', $relative_src ); + + if ( $relative_src === $filename ) { + return $url; + } + + $busting_file = $this->busting_path . $filename; + $busting_url = $this->get_busting_url( $filename, $extension, $url ); + + if ( rocket_direct_filesystem()->is_readable( $busting_file ) ) { + return $busting_url; + } + + $file = $this->get_file_path( $url ); + + if ( ! $file ) { + return false; + } + + $busting_content = $this->get_file_content( $file ); + + if ( ! $busting_content ) { + return false; + } + + if ( 'css' === $extension ) { + $busting_content = $this->rewrite_paths( $file, $busting_file, $busting_content ); + } + + if ( ! $this->write_file( $busting_content, $busting_file ) ) { + return false; + } + + return $busting_url; + } + + /** + * Gets the cache busting URL + * + * @since 3.1 + * @author Remy Perona + * + * @param string $filename Cache busting filename. + * @param string $extension File extension. + * @param string $original_url Original URL for the file. + * @return string + */ + protected function get_busting_url( $filename, $extension, $original_url ) { + $url = $this->busting_url . $filename; + + switch ( $extension ) { + case 'css': + // This filter is documented in inc/classes/optimization/css/class-abstract-css-optimization.php. + $url = apply_filters( 'rocket_css_url', $url, $original_url ); + break; + case 'js': + // This filter is documented in inc/classes/optimization/css/class-abstract-js-optimization.php. + $url = apply_filters( 'rocket_js_url', $url, $original_url ); + break; + } + + return $url; + } +} diff --git a/inc/deprecated/Engine/Optimization/QueryString/RemoveSubscriber.php b/inc/deprecated/Engine/Optimization/QueryString/RemoveSubscriber.php new file mode 100644 index 0000000..933356c --- /dev/null +++ b/inc/deprecated/Engine/Optimization/QueryString/RemoveSubscriber.php @@ -0,0 +1,86 @@ +remove_query_string = $remove_query_string; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.1 + * @author Remy Perona + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ 'process', 30 ], + ]; + } + + /** + * Filters the HTML to fetch static files with a query string and remove it + * + * @since 3.1 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + public function process( $html ) { + if ( ! $this->is_allowed() ) { + return $html; + } + + $html = $this->remove_query_string->remove_query_strings_css( $html ); + $html = $this->remove_query_string->remove_query_strings_js( $html ); + + return $html; + } + + /** + * Checks if is allowed to remove query strings for static files. + * + * @since 3.1 + * @author Remy Perona + * + * @return bool + */ + protected function is_allowed() { + return $this->remove_query_string->is_allowed(); + } +} diff --git a/inc/deprecated/classes/busting/class-abstract-busting.php b/inc/deprecated/classes/busting/class-abstract-busting.php new file mode 100644 index 0000000..6b0c49c --- /dev/null +++ b/inc/deprecated/classes/busting/class-abstract-busting.php @@ -0,0 +1,135 @@ +busting_path . $this->filename; + + if ( \rocket_direct_filesystem()->exists( $path ) ) { + return true; + } + + return $this->refresh_save( $url ); + } + + /** + * Saves the content of the URL to bust to the busting file. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $url URL to get the content from. + * @return bool + */ + public function refresh_save( $url ) { + $path = $this->busting_path . $this->filename; + $content = $this->get_file_content( $url ); + + if ( ! $content ) { + // If a previous version is present, it is kept in place. + return false; + } + + if ( ! \rocket_direct_filesystem()->exists( $this->busting_path ) ) { + \rocket_mkdir_p( $this->busting_path ); + } + + if ( ! \rocket_put_content( $path, $content ) ) { + return false; + } + + return true; + } + + /** + * Gets the final URL for the cache busting file. + * + * @since 3.1 + * @author Remy Perona + * + * @return string + */ + protected function get_busting_url() { + // This filter is documented in inc/functions/minify.php. + return apply_filters( 'rocket_js_url', $this->busting_url . $this->filename ); + } + + /** + * Performs the replacement process. + * + * @since 3.1 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + abstract public function replace_url( $html ); + + /** + * Searches for element(s) in the DOM + * + * @since 3.1 + * @author Remy Perona + * + * @param string $pattern Pattern to match. + * @param string $html HTML content. + * @return string + */ + abstract protected function find( $pattern, $html ); +} diff --git a/inc/deprecated/classes/busting/class-facebook-pickles.php b/inc/deprecated/classes/busting/class-facebook-pickles.php new file mode 100644 index 0000000..2b87095 --- /dev/null +++ b/inc/deprecated/classes/busting/class-facebook-pickles.php @@ -0,0 +1,1214 @@ +[a-zA-Z_-]+)'; + + /** + * Regex pattern to capture a version. + * + * @var string + * @since 3.2 + * @author Grégory Viguier + */ + const VERSION_CAPTURE = '(?[\d\.]+)'; + + /** + * Regex pattern to capture an app ID. + * + * @var string + * @since 3.2 + * @author Grégory Viguier + */ + const APP_ID_CAPTURE = '(?\d+)'; + + /** + * Cache busting files base path. + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $busting_path; + + /** + * Cache busting base URL. + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $busting_url; + + /** + * Main file URL (remote). + * %s is a locale like "en_US". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $main_file_url = 'https://connect.facebook.net/%s/fbevents.js'; + + /** + * Main file name (local). + * %s is like "{{locale}}-{{version}}". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $main_file_name = 'fbpix-events-%s.js'; + + /** + * Config file URL (remote). + * %d is an app ID (a number), %s is a version like "2.8.30". + * The "r" argument is the release segment: it is considered "stable". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $config_file_url = 'https://connect.facebook.net/signals/config/%s?v=%s&r=stable'; + + /** + * Config file name (local). + * %s is like "{{app_id}}-{{version}}". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $config_file_name = 'fbpix-config-%s.js'; + + /** + * Plugins file URL (remote). + * 1st %s is a plugin name like "identity", 2nd %s is a version like "2.8.30". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $plugins_file_url = 'https://connect.facebook.net/signals/plugins/%s?v=%s'; + + /** + * Plugins file name (local). + * %s is like "{{plugin_name}}-{{version}}". + * + * @var string + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $plugins_file_name = 'fbpix-plugin-%s.js'; + + /** + * Flag to track the replacement. + * + * @var bool + * @since 3.2 + * @access private + * @author Grégory Viguier + */ + private $is_replaced = false; + + /** + * Constructor. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $busting_path Path to the busting directory. + * @param string $busting_url URL of the busting directory. + */ + public function __construct( $busting_path, $busting_url ) { + self::deprecated_class( '3.9' ); + + /** Warning: all file names and script URLs are dynamic, and must be run through sprintf(). */ + $this->busting_path = $busting_path . 'facebook-tracking/'; + $this->busting_url = $busting_url . 'facebook-tracking/'; + } + + /** ----------------------------------------------------------------------------------------- */ + /** MAIN PROCESS ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Perform the URL replacement process. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $html HTML contents. + * @return string HTML contents. + */ + public function replace_url( $html ) { + $this->is_replaced = false; + + $tags = $this->find_tags( $html ); + + if ( ! $tags ) { + return $html; + } + + Logger::info( + 'FACEBOOK PIXEL CACHING PROCESS STARTED.', + [ + 'fb pixel', + 'tag' => $tags['tag_to_search'], + ] + ); + + $all_files = []; + + /** + * Fetch the main file: https://connect.facebook.net/{{locale}}/fbevents.js. + */ + $version = $this->get_most_recent_local_version(); + $locale = $this->get_locale_from_url( $tags['tag_to_search'] ); + $main_file_url = $this->get_main_file_url( $locale ); + + if ( $version ) { + // At least 1 main file exists locally (but maybe not in the right locale). + $main_file_path = $this->get_busting_file_path( $locale, $version ); + $main_file_contents = $this->get_file_contents( $main_file_path, $main_file_url ); + } else { + // No cached files yet. + $main_file_contents = $this->get_remote_contents( $main_file_url ); + } + + if ( ! $main_file_contents ) { + return $html; + } + + /** + * Grab some data from the main file and the inline tag: app_id and version. + */ + $variables = $this->get_variables( $main_file_contents, $tags['tag_to_search'] ); + + if ( ! $variables ) { + return $html; + } + + if ( ! $version ) { + // The local file doesn't exist yet, so we couldn't get its version (and so, can't know its path yet) until we fetch a fresh copy. + $main_file_path = $this->get_busting_file_path( $locale, $variables['version'] ); + } + + $all_files[] = $main_file_path; + unset( $version ); + + /** + * Fetch the config file: https://connect.facebook.net/signals/config/{{app_id}}?v={{version}}&r={{release_segment​}}. + */ + $config_file_path = $this->get_config_file_path( $variables ); + + if ( ! $config_file_path ) { + return $html; + } + + $all_files[] = $config_file_path; + + /** + * Fetch all plugin files: https://connect.facebook.net/signals/plugins/{{pluginName}}.js?v={{version}}​. + */ + $plugin_file_paths = $this->get_plugin_file_paths( $variables ); + + if ( ! $plugin_file_paths ) { + return $html; + } + + $all_files = array_merge( $all_files, $plugin_file_paths ); + + /** + * Modify the main file contents. + */ + $busting_file_url = $this->get_busting_file_url( $locale, $variables['version'] ); + $busting_dir_url = dirname( $busting_file_url ) . '/'; + $main_file_contents = $this->replace_main_file_contents( $main_file_contents, $busting_dir_url ); + + if ( ! $main_file_contents ) { + return $html; + } + + /** + * Save all the changes to the main file. + */ + $updated = $this->update_file_contents( $main_file_path, $main_file_contents ); + + if ( ! $updated ) { + return $html; + } + + /** + * Finally, replace the main file URL by the local one in the inline script tag. + */ + $replace_tag = preg_replace( '@(?:https?:)?//connect\.facebook\.net/[a-zA-Z_-]+/fbevents\.js@i', $busting_file_url, $tags['tag_to_replace'], -1, $count ); + + if ( ! $count || false === strpos( $html, $tags['tag_to_replace'] ) ) { + Logger::error( 'The local file URL could not be replaced in the page contents.', [ 'fb pixel' ] ); + return $html; + } + + $html = str_replace( $tags['tag_to_replace'], $replace_tag, $html ); + + $this->is_replaced = true; + + /** + * Triggered once the Facebook pixel URL has been replaced in the page contents. + * + * @since 3.2 + * @author Grégory Viguier + * + * @param string $busting_file_url URL of the local main file. + * @param array $all_files An array of all file paths. + */ + do_action( 'rocket_after_facebook_pixel_url_replaced', $busting_file_url, $all_files ); + + Logger::info( + 'Facebook pixel caching process succeeded.', + [ + 'fb pixel', + 'files' => $all_files, + ] + ); + + return $html; + } + + /** + * Tell if the replacement was sucessful or not. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_replaced() { + return $this->is_replaced; + } + + /** ----------------------------------------------------------------------------------------- */ + /** GRAB/MANIPULATE DATA IN CONTENTS ======================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Search for elements in the DOM. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $html HTML contents. + * @return array|bool { + * An array on success, described as below. False if nothing is found. + * + * @type string $tag_to_replace The script tag that contains the facebook.net URL: this is the tag that will be replaced in the page HTML. + * @type string $tag_to_search It contains both app ID and facebook.net URL: this is what will be searched in for this data. + * + * When the app ID and the URL are in the same tag, $tag_to_replace and $tag_to_search are the same. + * } + */ + private function find_tags( $html ) { + preg_match_all( '@]*?>(.*)@Umsi', $html, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return false; + } + + $tags = [ + 'app_id' => [], + 'url' => [], + 'both' => [], + ]; + + foreach ( $matches as $match ) { + list( $tag, $script ) = $match; + + if ( ! trim( $script ) ) { + continue; + } + + $has_app_id = false; + $has_url = false; + + if ( preg_match( '@fbq\s*\(\s*["\']init["\']\s*,\s*["\']' . self::APP_ID_CAPTURE . '["\']@', $script, $matches_init ) ) { + if ( (int) $matches_init['app_id'] > 0 ) { + $has_app_id = true; + } + } + + $has_url = (bool) $this->get_locale_from_url( $script ); + + if ( $has_app_id && $has_url ) { + // OK we have both. + $tags['both'] = $tag; + break; + } + + if ( $has_app_id ) { + $tags['app_id'] = $tag; + + if ( $tags['url'] ) { + // OK we have both. + break; + } + } elseif ( $has_url ) { + $tags['url'] = $tag; + + if ( $tags['app_id'] ) { + // OK we have both. + break; + } + } + } + + if ( ! empty( $tags['both'] ) ) { + return [ + 'tag_to_replace' => $tags['both'], + 'tag_to_search' => $tags['both'], + ]; + } + + if ( ! empty( $tags['app_id'] ) && ! empty( $tags['url'] ) ) { + return [ + 'tag_to_replace' => $tags['url'], + 'tag_to_search' => $tags['url'] . $tags['app_id'], + ]; + } + + return false; + } + + /** + * Get some values from the main file and the inline script contents. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $main_file_contents Main file contents. + * @param string $tag_contents Inline script contents. + * @return array|bool { + * An array of values. False on failure. + * + * @type string $app_id The app ID. + * @type string $version The file version. + * } + */ + private function get_variables( $main_file_contents = null, $tag_contents = null ) { + $variables = []; + + if ( isset( $tag_contents ) ) { + // Retrieve the app ID from the tag contents. + preg_match( '@fbq\s*\(\s*["\']init["\']\s*,\s*["\']' . self::APP_ID_CAPTURE . '["\']@', $tag_contents, $matches ); + + if ( empty( $matches['app_id'] ) ) { + Logger::error( 'The app ID could not be retrieved from the inline script contents.', [ 'fb pixel' ] ); + return false; + } + + $variables['app_id'] = $matches['app_id']; + } + + if ( isset( $main_file_contents ) ) { + // Retrieve the version from the main file contents. + preg_match( '@fbq\.version\s*=\s*["\']' . self::VERSION_CAPTURE . '["\']\s*;@', $main_file_contents, $matches ); + + if ( empty( $matches['version'] ) ) { + Logger::error( 'The version could not be retrieved from the main file contents.', [ 'fb pixel' ] ); + return false; + } + + $variables['version'] = $matches['version']; + } + + return $variables; + } + + /** + * Perform some replacements in the main file contents. Will be replaced: + * - the CDN_BASE_URL value, + * - the config file URL, + * - the plugins file URL. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $main_file_contents The file contents. + * @param string $busting_dir_url URL of the folder containing the files. + * @return string|bool The new contents on success. False on failure. + */ + private function replace_main_file_contents( $main_file_contents, $busting_dir_url ) { + /** + * Replace the CDN_BASE_URL value. + * From: CDN_BASE_URL:"https://connect.facebook.net/" + * To: CDN_BASE_URL:"https://example.com/wp-content/cache/busting/facebook-tracking/" + */ + $replacement = 'CDN_BASE_URL:"' . $busting_dir_url . '"'; + + if ( ! strpos( $main_file_contents, $replacement ) ) { + $main_file_contents = preg_replace( '@CDN_BASE_URL\s*:\s*["\'][^"\']+["\']@', $replacement, $main_file_contents, -1, $count ); + + if ( ! $count ) { + Logger::error( 'The CDN_BASE_URL could not be replaced in the main file contents.', [ 'fb pixel' ] ); + return false; + } + } + + /** + * Replace the config file URL (https://connect.facebook.net/signals/config/{{app_id}}?v={{version}}&r={{release_segment​}}). + * From: CDN_BASE_URL+"signals/config/"+a+"?v="+b+"&r="+c + * To: CDN_BASE_URL+"fbpix-config-"+a+"-"+b+".js" (the release segment is not taken into account, we consider it "stable") + */ + $replacement_pattern = $this->escape_file_name( $this->config_file_name ); + $replacement_pattern = sprintf( $replacement_pattern, '"\+[a-zA-Z._]+\+"\-"\+[a-zA-Z._]+\+"' ); + $replacement_pattern = 'CDN_BASE_URL\+"' . $replacement_pattern . '"'; + + if ( ! preg_match( '/' . $replacement_pattern . '/', $main_file_contents ) ) { + $pattern = '@CDN_BASE_URL\s*\+\s*["\']signals/config/["\']\s*\+\s*([a-zA-Z._]+)\s*\+\s*["\']\?v=["\']\s*\+\s*([a-zA-Z._]+)\s*\+\s*["\']&r=["\']\s*\+\s*[a-zA-Z._]+@'; + $replacement = 'CDN_BASE_URL+"' . sprintf( $this->config_file_name, '"+$1+"-"+$2+"' ) . '"'; + $main_file_contents = preg_replace( $pattern, $replacement, $main_file_contents, -1, $count ); + + if ( ! $count ) { + Logger::error( 'The config file URL could not be replaced in the main file contents.', [ 'fb pixel' ] ); + return false; + } + } + + /** + * Replace the plugins file URL (https://connect.facebook.net/signals/plugins/{{plugin_name}}.js?v={{version}}​). + * From: CDN_BASE_URL+"signals/plugins/"+b+".js?v="+a.version + * To : CDN_BASE_URL+"fbpix-plugin-"+b+"-"+a.version+".js" + */ + $replacement_pattern = $this->escape_file_name( $this->plugins_file_name ); + $replacement_pattern = sprintf( $replacement_pattern, '"\+[a-zA-Z._]+\+"-"\+[a-zA-Z._]+\+"' ); + $replacement_pattern = 'CDN_BASE_URL\+"' . $replacement_pattern . '"'; + + if ( ! preg_match( '/' . $replacement_pattern . '/', $main_file_contents ) ) { + $pattern = '@CDN_BASE_URL\s*\+\s*["\']signals/plugins/["\']\s*\+\s*([a-zA-Z._]+)\s*\+\s*["\']\.js\?v=["\']\s*\+\s*([a-zA-Z._]+)@'; + $replacement = 'CDN_BASE_URL+"' . sprintf( $this->plugins_file_name, '"+$1+"-"+$2+"' ) . '"'; + $main_file_contents = preg_replace( $pattern, $replacement, $main_file_contents, -1, $count ); + + if ( ! $count ) { + Logger::error( 'The plugins file URL could not be replaced in the main file contents.', [ 'fb pixel' ] ); + return false; + } + } + + return $main_file_contents; + } + + /** ----------------------------------------------------------------------------------------- */ + /** UPDATE/SAVE A LOCAL FILE ================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Save the contents of a URL into a local file if it doesn't exist yet. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $url URL to get the contents from. + * @param string $path Path to the file that will store the URL contents. + * @return bool True on success. False on failure. + */ + private function maybe_save( $url, $path ) { + $filesystem = \rocket_direct_filesystem(); + + if ( $filesystem->exists( $path ) ) { + // If a previous version is present, keep it. + return true; + } + + return (bool) $this->save( $url, $path ); + } + + /** + * Save the contents of a URL into a local file. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $url URL to get the contents from. + * @param string $path Path to the file that will store the URL contents. + * @return string|bool The file contents on success. False on failure. + */ + private function save( $url, $path ) { + $contents = $this->get_remote_contents( $url ); + + if ( ! $contents ) { + // Error, we couldn't fetch the file contents. + return false; + } + + return $this->update_file_contents( $path, $contents ); + } + + /** + * Add new contents to a file. If the file doesn't exist, it is created. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file to update. + * @param string $file_contents New contents. + * @return string|bool The file contents on success. False on failure. + */ + private function update_file_contents( $file_path, $file_contents ) { + if ( ! \rocket_direct_filesystem()->exists( $this->busting_path ) ) { + \rocket_mkdir_p( $this->busting_path ); + } + + if ( ! \rocket_put_content( $file_path, $file_contents ) ) { + Logger::error( + 'Contents could not be written into file.', + [ + 'fb pixel', + 'path' => $file_path, + ] + ); + return false; + } + + /** + * Triggered once a file contents have been updated. + * + * @since 3.2 + * @author Grégory Viguier + * + * @param string $file_path Path to the file to update. + * @param string $file_contents The file contents. + */ + do_action( 'rocket_after_facebook_pixel_file_updated', $file_path, $file_contents ); + + return $file_contents; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC BULK ACTIONS ON LOCAL FILES ====================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Look for existing local files and update their contents if there's a new version available. + * Actually, if a more recent version exists on the FB side, it will delete all local files and hit the home page to recreate them. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool True on success. False on failure. + */ + public function refresh_all() { + // Get all local main files. + $main_files = $this->get_all_main_files(); + + if ( ! $main_files ) { + // No files (or there's an error). + return false !== $main_files; + } + + $updated = false; + + foreach ( $main_files as $local_main_file ) { + $remote_file_contents = $this->get_remote_contents( $this->get_main_file_url( $local_main_file['locale'] ) ); + + if ( ! $remote_file_contents ) { + continue; + } + + $variables = $this->get_variables( $remote_file_contents ); + + if ( ! $variables ) { + unset( $remote_file_contents, $variables ); + continue; + } + + if ( version_compare( $local_main_file['version'], $variables['version'] ) >= 0 ) { + unset( $remote_file_contents, $variables ); + continue; + } + + unset( $remote_file_contents ); + $updated = true; + break; + } + + if ( ! $updated ) { + return true; + } + + // Delete all local files. + $deleted = $this->delete_all(); + + // Purge all cache files (the URL of the new files changed). + \rocket_clean_domain(); + + // Preload the home page to recreate the files. + $home_url = user_trailingslashit( home_url(), 'home' ); + + wp_remote_get( + $home_url, + [ + 'user-agent' => 'WP Rocket/Homepage Preload', + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound + ] + ); + + /** + * Triggered once the local files have been refreshed. + * + * @since 3.2 + * @author Grégory Viguier + * + * @param string $version The new version. + */ + do_action( 'rocket_after_facebook_pixel_files_refreshed', $variables['version'] ); + + return true; + } + + /** + * Delete all Facebook Pixel busting files. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool True on success. False on failure. + */ + public function delete_all() { + $filesystem = \rocket_direct_filesystem(); + $files = $this->get_all_files(); + + if ( ! $files ) { + // No files (or there's an error). + return false !== $files; + } + + $error_paths = []; + + foreach ( $files as $file_name ) { + if ( ! $filesystem->delete( $this->busting_path . $file_name, false, 'f' ) ) { + $error_paths[] = $this->busting_path . $file_name; + } + } + + if ( $error_paths ) { + Logger::error( + 'Local file(s) could not be deleted.', + [ + 'fb pixel', + 'paths' => $error_paths, + ] + ); + } + + /** + * Triggered once all local files have been deleted (or not). + * + * @since 3.2 + * @author Grégory Viguier + * + * @param array $files An array of file names. + * @param array $error_paths Paths to the files that couldn't be deleted. An empty array if everything is fine. + */ + do_action( 'rocket_after_facebook_pixel_files_deleted', $files, $error_paths ); + + return ! $error_paths; + } + + /** ----------------------------------------------------------------------------------------- */ + /** SCAN FOR LOCAL FILES ==================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get all cached files in the directory. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return array|bool A list of file names. False on failure. + */ + private function get_all_files() { + $filesystem = \rocket_direct_filesystem(); + $dir_path = rtrim( $this->busting_path, '\\/' ); + + if ( ! $filesystem->exists( $dir_path ) ) { + return []; + } + + if ( ! $filesystem->is_writable( $dir_path ) ) { + Logger::error( + 'Directory is not writable.', + [ + 'fb pixel', + 'path' => $dir_path, + ] + ); + return false; + } + + $dir = $filesystem->dirlist( $dir_path ); + + if ( false === $dir ) { + Logger::error( + 'Could not get the directory contents.', + [ + 'fb pixel', + 'path' => $dir_path, + ] + ); + return false; + } + + if ( ! $dir ) { + return []; + } + + $list = []; + + foreach ( $dir as $entry ) { + if ( 'f' !== $entry['type'] ) { + continue; + } + if ( preg_match( '@^fbpix-(?:config|events|plugin)-.+\.js$@', $entry['name'], $matches ) ) { + $list[ $entry['name'] ] = $entry['name']; + } + } + + return $list; + } + + /** + * Get all main files in the directory. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return array|bool { + * An array of file names (array keys) with following data as values. False on failure. + * + * @type string $locale The locale, like "en_US". + * @type string $version The file version. + * } + */ + private function get_all_main_files() { + $filesystem = \rocket_direct_filesystem(); + $dir_path = rtrim( $this->busting_path, '\\/' ); + + if ( ! $filesystem->exists( $dir_path ) ) { + return []; + } + + if ( ! $filesystem->is_writable( $dir_path ) ) { + Logger::error( + 'Directory is not writable.', + [ + 'fb pixel', + 'path' => $dir_path, + ] + ); + return false; + } + + $dir = $filesystem->dirlist( $dir_path ); + + if ( false === $dir ) { + Logger::error( + 'could not get the directory contents.', + [ + 'fb pixel', + 'path' => $dir_path, + ] + ); + return false; + } + + if ( ! $dir ) { + return []; + } + + $list = []; + $pattern = $this->escape_file_name( $this->main_file_name ); + $pattern = sprintf( $pattern, self::LOCALE_CAPTURE . '-' . self::VERSION_CAPTURE ); + + foreach ( $dir as $entry ) { + if ( 'f' !== $entry['type'] ) { + continue; + } + if ( preg_match( '@^' . $pattern . '$@', $entry['name'], $matches ) ) { + unset( $matches[0] ); + $list[ $entry['name'] ] = $matches; + } + } + + return $list; + } + + /** + * Get the most recent "version" of the main file cached locally. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return string|bool The version on success. False on failure. + */ + private function get_most_recent_local_version() { + $main_files = $this->get_all_main_files(); + + if ( ! $main_files ) { + return false; + } + + $version = false; + + foreach ( $main_files as $file_name => $data ) { + if ( ! $version || version_compare( $data['version'], $version ) > 0 ) { + $version = $data['version']; + } + } + + return $version; + } + + /** + * Get the oldest "version" of the main file cached locally. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return string|bool The version on success. False on failure. + */ + private function get_oldest_local_version() { + $main_files = $this->get_all_main_files(); + + if ( ! $main_files ) { + return false; + } + + $version = false; + + foreach ( $main_files as $file_name => $data ) { + if ( ! $version || version_compare( $data['version'], $version ) < 0 ) { + $version = $data['version']; + } + } + + return $version; + } + + /** ----------------------------------------------------------------------------------------- */ + /** REMOTE MAIN FILE ======================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the remote Facebook Pixel URL. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @return string + */ + public function get_main_file_url( $locale ) { + return sprintf( $this->main_file_url, $locale ); + } + + /** + * Extract the locale from a URL to bust. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $url Any string containing the URL to bust. + * @return string|bool The locale on success. False on failure. + */ + private function get_locale_from_url( $url ) { + $pattern = '@//connect\.facebook\.net/' . self::LOCALE_CAPTURE . '/fbevents\.js@i'; + + if ( ! preg_match( $pattern, $url, $matches ) ) { + return false; + } + + return $matches['locale']; + } + + /** ----------------------------------------------------------------------------------------- */ + /** BUSTING FILE (aka: cached copy of the main file) ======================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the local Facebook Pixel URL (the "main" file). + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @param string $version The script version. + * @return string + */ + private function get_busting_file_url( $locale, $version ) { + $filename = $this->get_busting_file_name( $locale, $version ); + + // This filter is documented in inc/functions/minify.php. + return apply_filters( 'rocket_js_url', $this->busting_url . $filename ); + } + + /** + * Get the local Facebook Pixel file name. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @param string $version The script version. + * @return string + */ + private function get_busting_file_name( $locale, $version ) { + return sprintf( $this->main_file_name, $locale . '-' . $version ); + } + + /** + * Get the local Facebook Pixel file path. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @param string $version The script version. + * @return string + */ + private function get_busting_file_path( $locale, $version ) { + return $this->busting_path . $this->get_busting_file_name( $locale, $version ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** CONFIG FILE ============================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the path to the local "config" file. If the file doesn't exist, it is created by fetching its contents remotely, then saved locally. + * + * @since 3.2 + * @access private + * @see $this->get_variables() + * @author Grégory Viguier + * + * @param array $variables { + * An array of variable values. + * + * @type int $app_id The app ID. + * @type string $version The file version. + * } + * @return string|bool The file path on success. False on failure. + */ + private function get_config_file_path( $variables ) { + $config_file_url = sprintf( $this->config_file_url, $variables['app_id'], $variables['version'] ); + $config_file_name = sprintf( $this->config_file_name, $variables['app_id'] . '-' . $variables['version'] ); + $config_file_path = $this->busting_path . $config_file_name; + + if ( ! $this->maybe_save( $config_file_url, $config_file_path ) ) { + return false; + } + + return $config_file_path; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PLUGIN FILES ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the paths to all local "plugin" files. If the files don't exist, they are created by fetching their contents remotely, then saved locally. + * + * @since 3.2 + * @access private + * @see $this->get_variables() + * @author Grégory Viguier + * + * @param array $variables { + * An array of variable values. + * + * @type string $app_id The app ID. + * @type string $version The file version. + * } + * @return array|bool An array of file paths on success. False on failure. + */ + private function get_plugin_file_paths( $variables ) { + $paths = []; + $plugin_names = [ + 'identity', + 'microdata', + 'inferredEvents', + 'dwell', + 'sessions', + 'timespent', + 'ga2fbq', + ]; + + foreach ( $plugin_names as $plugin_name ) { + $plugin_file_url = sprintf( $this->plugins_file_url, $plugin_name, $variables['version'] ); + $plugin_file_name = sprintf( $this->plugins_file_name, $plugin_name . '-' . $variables['version'] ); + $plugin_file_path = $this->busting_path . $plugin_file_name; + + if ( ! $this->maybe_save( $plugin_file_url, $plugin_file_path ) ) { + return false; + } + + $paths[] = $plugin_file_path; + } + + return $paths; + } + + /** ----------------------------------------------------------------------------------------- */ + /** TOOLS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get a file contents. If the file doesn't exist or is not writtable, new contents are fetched remotely. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file. + * @param string $file_url URL to the remote file. + * @return string|bool The contents on success, false on failure. + */ + private function get_file_contents( $file_path, $file_url = false ) { + $filesystem = \rocket_direct_filesystem(); + + if ( $filesystem->is_writable( $file_path ) ) { + // If a previous version is present, return its contents. + $contents = $filesystem->get_contents( $file_path ); + + if ( $contents ) { + return $contents; + } + + // In case the file is empty or we could not get its contents, try to get a fresh copy from remote location. + } + + if ( ! $file_url ) { + return false; + } + + return $this->get_remote_contents( $file_url ); + } + + /** + * Get the contents of a URL. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $url The URL to request. + * @return string|bool The contents on success. False on failure. + */ + private function get_remote_contents( $url ) { + try { + $response = wp_remote_get( $url ); + } catch ( \Exception $e ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb pixel', + 'url' => $url, + 'response' => $e->getMessage(), + ] + ); + return false; + } + + if ( is_wp_error( $response ) ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb pixel', + 'url' => $url, + 'response' => $response->get_error_message(), + ] + ); + return false; + } + + $contents = wp_remote_retrieve_body( $response ); + + if ( ! $contents ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb pixel', + 'url' => $url, + 'response' => $response, + ] + ); + return false; + } + + return $contents; + } + + /** + * Escape a file name, to be used in a regex pattern (delimiter is `/`). + * `%s` conversion specifications are protected. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $file_name The file name. + * @return string + */ + private function escape_file_name( $file_name ) { + $file_name = explode( '%s', $file_name ); + $file_name = array_map( 'preg_quote', $file_name ); + + return implode( '%s', $file_name ); + } +} diff --git a/inc/deprecated/classes/busting/class-facebook-sdk.php b/inc/deprecated/classes/busting/class-facebook-sdk.php new file mode 100644 index 0000000..19309a4 --- /dev/null +++ b/inc/deprecated/classes/busting/class-facebook-sdk.php @@ -0,0 +1,678 @@ +busting_path = $busting_path . 'facebook-tracking/'; + $this->busting_url = $busting_url . 'facebook-tracking/'; + } + + /** + * Perform the URL replacement process. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $html HTML contents. + * @return string HTML contents. + */ + public function replace_url( $html ) { + $this->is_replaced = false; + + $tag = $this->find( ']*?>(.*)<\/script>', $html ); + + if ( ! $tag ) { + return $html; + } + + Logger::info( + 'FACEBOOK SDK CACHING PROCESS STARTED.', + [ + 'fb sdk', + 'tag' => $tag, + ] + ); + + $locale = $this->get_locale_from_url( $tag ); + $remote_url = $this->get_url( $locale ); + + if ( ! $this->save( $remote_url ) ) { + return $html; + } + + $file_url = $this->get_busting_file_url( $locale ); + $replace_tag = preg_replace( '@(?:https?:)?//connect\.facebook\.net/[a-zA-Z_-]+/sdk\.js@i', $file_url, $tag, -1, $count ); + + if ( ! $count || false === strpos( $html, $tag ) ) { + Logger::error( 'The local file URL could not be replaced in the page contents.', [ 'fb sdk' ] ); + return $html; + } + + $html = str_replace( $tag, $replace_tag, $html ); + $file_path = $this->get_busting_file_path( $locale ); + $xfbml = $this->get_xfbml_from_url( $tag ); // Default value should be set to false. + $app_id = $this->get_appId_from_url( $tag ); // APP_ID is the only required value. + $url_version = $this->get_version_from_url( $tag ); + $version = false === $url_version ? 'v5.0' : $url_version; // If version is not available set it to the latest: v.5.0. + + if ( false !== $app_id ) { + // Add FB async init. + $fb_async_script = ''; + $html = str_replace( '', $fb_async_script . '', $html ); + } + + $this->is_replaced = true; + + /** + * Triggered once the Facebook SDK URL has been replaced in the page contents. + * + * @since 3.2 + * @author Grégory Viguier + * + * @param string $file_url URL of the local main file. + * @param string $file_path Path to the local file. + */ + do_action( 'rocket_after_facebook_sdk_url_replaced', $file_url, $file_path ); + + Logger::info( + 'Facebook SDK caching process succeeded.', + [ + 'fb sdk', + 'file' => $file_path, + ] + ); + + return $html; + } + + /** + * Tell if the replacement was sucessful or not. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public function is_replaced() { + return $this->is_replaced; + } + + /** ----------------------------------------------------------------------------------------- */ + /** GRAB/MANIPULATE DATA IN CONTENTS ======================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Search for an element in the DOM. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $pattern Pattern to match. + * @param string $html HTML contents. + * @return string|bool The matched HTML on success. False if nothing is found. + */ + protected function find( $pattern, $html ) { + preg_match_all( '/' . $pattern . '/Umsi', $html, $matches, PREG_SET_ORDER ); + + if ( empty( $matches ) ) { + return false; + } + + foreach ( $matches as $match ) { + if ( trim( $match[1] ) && preg_match( '@//connect\.facebook\.net/[a-zA-Z_-]+/sdk\.js@i', $match[1] ) ) { + return $match[0]; + } + } + + return false; + } + + /** ----------------------------------------------------------------------------------------- */ + /** UPDATE/SAVE A LOCAL FILE ================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Save the contents of a URL into a local file if it doesn't exist yet. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $url URL to get the contents from. + * @return bool True on success. False on failure. + */ + public function save( $url ) { + $locale = $this->get_locale_from_url( $url ); + $path = $this->get_busting_file_path( $locale ); + + if ( \rocket_direct_filesystem()->exists( $path ) ) { + // If a previous version is present, keep it. + return true; + } + + return $this->refresh_save( $url ); + } + + /** + * Save the contents of a URL into a local file. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @param string $url URL to get the contents from. + * @return bool True on success. False on failure. + */ + public function refresh_save( $url ) { + $content = $this->get_file_content( $url ); + + if ( ! $content ) { + // Error, we couldn't fetch the file contents. + return false; + } + + $locale = $this->get_locale_from_url( $url ); + $path = $this->get_busting_file_path( $locale ); + + return (bool) $this->update_file_contents( $path, $content ); + } + + /** + * Add new contents to a file. If the file doesn't exist, it is created. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $file_path Path to the file to update. + * @param string $file_contents New contents. + * @return string|bool The file contents on success. False on failure. + */ + private function update_file_contents( $file_path, $file_contents ) { + if ( ! \rocket_direct_filesystem()->exists( $this->busting_path ) ) { + \rocket_mkdir_p( $this->busting_path ); + } + + if ( ! \rocket_put_content( $file_path, $file_contents ) ) { + Logger::error( + 'Contents could not be written into file.', + [ + 'fb sdk', + 'path' => $file_path, + ] + ); + return false; + } + + /** + * Triggered once a file contents have been updated. + * + * @since 3.2 + * @author Grégory Viguier + * + * @param string $file_path Path to the file to update. + * @param string $file_contents The file contents. + */ + do_action( 'rocket_after_facebook_sdk_file_updated', $file_path, $file_contents ); + + return $file_contents; + } + + /** ----------------------------------------------------------------------------------------- */ + /** PUBLIC BULK ACTIONS ON LOCAL FILES ====================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Look for existing local files and update their contents if there's a new version available. + * Actually, if a more recent version exists on the FB side, it will delete all local files and hit the home page to recreate them. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool True on success. False on failure. + */ + public function refresh() { + $files = $this->get_files(); + + if ( ! $files ) { + // No files (or there's an error). + return false !== $files; + } + + $error_paths = []; + $pattern = $this->escape_file_name( $this->filename ); + $pattern = sprintf( $pattern, '(?[a-zA-Z_-]+)' ); + + foreach ( $files as $file ) { + preg_match( '/^' . $pattern . '$/', $file, $matches ); + + $remote_url = $this->get_url( $matches['locale'] ); + + if ( ! $this->refresh_save( $remote_url ) ) { + $error_paths[] = $this->get_busting_file_path( $matches['locale'] ); + } + } + + if ( $error_paths ) { + Logger::error( + 'Local file(s) could not be updated.', + [ + 'fb sdk', + 'paths' => $error_paths, + ] + ); + } + + /** + * Triggered once all local files have been updated (or not). + * + * @since 3.2 + * @author Grégory Viguier + * + * @param array $files An array of file names. + * @param array $error_paths Paths to the files that couldn't be updated. An empty array if everything is fine. + */ + do_action( 'rocket_after_facebook_sdk_files_refresh', $files, $error_paths ); + + return ! $error_paths; + } + + /** + * Delete all Facebook SDK busting files. + * + * @since 3.2 + * @access public + * @author Grégory Viguier + * + * @return bool True on success. False on failure. + */ + public function delete() { + $filesystem = \rocket_direct_filesystem(); + $files = $this->get_files(); + + if ( ! $files ) { + // No files (or there's an error). + return false !== $files; + } + + $error_paths = []; + + foreach ( $files as $file_name ) { + if ( ! $filesystem->delete( $this->busting_path . $file_name, false, 'f' ) ) { + $error_paths[] = $this->busting_path . $file_name; + } + } + + if ( $error_paths ) { + Logger::error( + 'Local file(s) could not be deleted.', + [ + 'fb sdk', + 'paths' => $error_paths, + ] + ); + } + + /** + * Triggered once all local files have been deleted (or not). + * + * @since 3.2 + * @author Grégory Viguier + * + * @param array $files An array of file names. + * @param array $error_paths Paths to the files that couldn't be deleted. An empty array if everything is fine. + */ + do_action( 'rocket_after_facebook_sdk_files_deleted', $files, $error_paths ); + + return ! $error_paths; + } + + /** ----------------------------------------------------------------------------------------- */ + /** SCAN FOR LOCAL FILES ==================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get all cached files in the directory. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @return array|bool A list of file names. False on failure. + */ + private function get_files() { + $filesystem = \rocket_direct_filesystem(); + $dir_path = rtrim( $this->busting_path, '\\/' ); + + if ( ! $filesystem->exists( $dir_path ) ) { + return []; + } + + if ( ! $filesystem->is_writable( $dir_path ) ) { + Logger::error( + 'Directory is not writable.', + [ + 'fb sdk', + 'path' => $dir_path, + ] + ); + return false; + } + + $dir = $filesystem->dirlist( $dir_path ); + + if ( false === $dir ) { + Logger::error( + 'Could not get the directory contents.', + [ + 'fb sdk', + 'path' => $dir_path, + ] + ); + return false; + } + + if ( ! $dir ) { + return []; + } + + $list = []; + $pattern = $this->escape_file_name( $this->filename ); + $pattern = sprintf( $pattern, '[a-zA-Z_-]+' ); + + foreach ( $dir as $entry ) { + if ( 'f' !== $entry['type'] ) { + continue; + } + if ( preg_match( '/^' . $pattern . '$/', $entry['name'], $matches ) ) { + $list[ $entry['name'] ] = $entry['name']; + } + } + + return $list; + } + + /** ----------------------------------------------------------------------------------------- */ + /** REMOTE SDK FILE ========================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the remote Facebook SDK URL. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @return string + */ + public function get_url( $locale ) { + return sprintf( $this->url, $locale ); + } + + /** + * Extract the locale from a URL to bust. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $url Any string containing the URL to bust. + * @return string|bool The locale on success. False on failure. + */ + private function get_locale_from_url( $url ) { + $pattern = '@//connect\.facebook\.net/(?[a-zA-Z_-]+)/sdk\.js@i'; + + if ( ! preg_match( $pattern, $url, $matches ) ) { + return false; + } + + return $matches['locale']; + } + + /** + * Extract XFBML from a URL to bust. + * + * @since 3.4.3 + * @access private + * @author Soponar Cristina + * + * @param string $url Any string containing the URL to bust. + * @return string|bool The XFBML on success. False on failure. + */ + private function get_xfbml_from_url( $url ) { + $pattern = '@//connect\.facebook\.net/(?[a-zA-Z_-]+)/sdk\.js#(?:.+&)?xfbml=(?[0-9]+)@i'; + + if ( ! preg_match( $pattern, $url, $matches ) ) { + return false; + } + + return $matches['xfbml']; + } + + /** + * Extract appId from a URL to bust. + * + * @since 3.4.3 + * @access private + * @author Soponar Cristina + * + * @param string $url Any string containing the URL to bust. + * @return string|bool The appId on success. False on failure. + */ + private function get_appId_from_url( $url ) { + $pattern = '@//connect\.facebook\.net/(?[a-zA-Z_-]+)/sdk\.js#(?:.+&)?appId=(?[0-9]+)@i'; + + if ( ! preg_match( $pattern, $url, $matches ) ) { + return false; + } + + return $matches['appId']; + } + + /** + * Extract version from a URL to bust. + * + * @since 3.4.3 + * @access private + * @author Soponar Cristina + * + * @param string $url Any string containing the URL to bust. + * @return string|bool The version on success. False on failure. + */ + private function get_version_from_url( $url ) { + $pattern = '@//connect\.facebook\.net/(?[a-zA-Z_-]+)/sdk\.js#(?:.+&)?version=(?[a-zA-Z0-9.]+)@i'; + + if ( ! preg_match( $pattern, $url, $matches ) ) { + return false; + } + + return $matches['version']; + } + + /** ----------------------------------------------------------------------------------------- */ + /** BUSTING FILE ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the local Facebook SDK URL. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @return string + */ + private function get_busting_file_url( $locale ) { + $filename = $this->get_busting_file_name( $locale ); + + // This filter is documented in inc/functions/minify.php. + return apply_filters( 'rocket_js_url', apply_filters( 'rocket_facebook_sdk_url', $this->busting_url . $filename ) ); + } + + /** + * Get the local Facebook SDK file name. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @return string + */ + private function get_busting_file_name( $locale ) { + return sprintf( $this->filename, $locale ); + } + + /** + * Get the local Facebook SDK file path. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $locale A locale string, like 'en_US'. + * @return string + */ + private function get_busting_file_path( $locale ) { + return $this->busting_path . $this->get_busting_file_name( $locale ); + } + + /** ----------------------------------------------------------------------------------------- */ + /** TOOLS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the contents of a URL. + * + * @since 3.2 + * @access protected + * @author Grégory Viguier + * + * @param string $url The URL to request. + * @return string|bool The contents on success. False on failure. + */ + protected function get_file_content( $url ) { + try { + $response = wp_remote_get( $url ); + } catch ( \Exception $e ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb sdk', + 'url' => $url, + 'response' => $e->getMessage(), + ] + ); + return false; + } + + if ( is_wp_error( $response ) ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb sdk', + 'url' => $url, + 'response' => $response->get_error_message(), + ] + ); + return false; + } + + $contents = wp_remote_retrieve_body( $response ); + + if ( ! $contents ) { + Logger::error( + 'Remote file could not be fetched.', + [ + 'fb sdk', + 'url' => $url, + 'response' => $response, + ] + ); + return false; + } + + return $contents; + } + + /** + * Escape a file name, to be used in a regex pattern (delimiter is `/`). + * `%s` conversion specifications are protected. + * + * @since 3.2 + * @access private + * @author Grégory Viguier + * + * @param string $file_name The file name. + * @return string + */ + private function escape_file_name( $file_name ) { + $file_name = explode( '%s', $file_name ); + $file_name = array_map( 'preg_quote', $file_name ); + + return implode( '%s', $file_name ); + } +} diff --git a/inc/deprecated/deprecated.php b/inc/deprecated/deprecated.php new file mode 100644 index 0000000..663cebd --- /dev/null +++ b/inc/deprecated/deprecated.php @@ -0,0 +1,3290 @@ +#iU', $buffer, $tags_match ); + + if ( ! isset( $tags_match[0] ) ) { + return $buffer; + } + + foreach ( $tags_match[0] as $i => $tag ) { + // Strip query args. + $url = strtok( $tags_match[1][ $i ], '?' ); + + $deferred_js_files = array_flip( get_rocket_deferred_js_files() ); + + // Check if this file should be deferred. + if ( isset( $deferred_js_files[ $url ] ) ) { + $deferred_tag = str_replace( '>', ' defer>', $tag ); + $buffer = str_replace( $tag, $deferred_tag, $buffer ); + } + } + + return $buffer; +} + +/** + * Used to display the defered module on settings form + * + * @since 1.1.0 + * @deprecated 2.11 + */ +function rocket_defered_module() { + _deprecated_function( __FUNCTION__, '2.11' ); + ?> +
    + JS files with Deferred Loading JavaScript', 'rocket' ); ?> + +
    + + $_url ) { + ?> + +

    + + + + + +

    + + + + +

    + + + +

    + + + + +
    + + + +
    + +

    + + + + + +

    + +
    + + +

    + +task() + * @author Remy Perona + * + * @param string $type Type of optimization to perform. + */ +function rocket_database_optimize( $type ) { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Background_Database_Optimisation->task()' ); +} + +/** + * Launches the database optimization from admin + * + * @since 2.8 + * @deprecated 2.11 + * @see Rocket_Database_Optimisation->optimize() + * @author Remy Perona + */ +function rocket_optimize_database() { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Database_Optimisation->optimize()' ); +} + +/** + * Count the number of items concerned by the database cleanup + * + * @since 2.8 + * @deprecated 2.11 + * @see Rocket_Database_Optimisation->count_cleanup_items() + * @author Remy Perona + * + * @param string $type Item type to count. + * @return int Number of items for this type + */ +function rocket_database_count_cleanup_items( $type ) { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Database_Optimisation->count_cleanup_items()' ); + + return 0; +} + +/** + * Planning database optimization cron + * If the task is not programmed, it is automatically triggered + * + * @since 2.8 + * @deprecated 2.11 + * @see Rocket_Database_Optimisation->database_optimization_scheduled() + * @author Remy Perona + */ +function rocket_database_optimization_scheduled() { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Database_Optimisation->database_optimization_scheduled()' ); +} + +/** + * Performs the database optimization + * + * @since 2.8 + * @deprecated 2.11 + * @see Rocket_Database_Optimisation->process_handler() + * @author Remy Perona + */ +function do_rocket_database_optimization() { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Database_Optimisation->process_handler()' ); +} + +if ( ! function_exists( 'rocket_define_donotminify_constants' ) ) { + /** + * Declare and set value to DONOTMINIFYCSS & DONOTMINIFYJS constant + * + * @since 2.6.2 + * @deprecated 2.11 + * @see rocket_define_donotoptimize_constant() + * + * @param bool $value true or false. + */ + function rocket_define_donotminify_constants( $value ) { + _deprecated_function( __FUNCTION__, '2.11', 'rocket_define_donotoptimize_constant' ); + + if ( ! defined( 'DONOTMINIFYCSS' ) ) { + define( 'DONOTMINIFYCSS', (bool) $value ); + } + if ( ! defined( 'DONOTMINIFYJS' ) ) { + define( 'DONOTMINIFYJS', (bool) $value ); + } + } +} + +if ( ! function_exists( 'rocket_define_donotasync_css_constant' ) ) { + /** + * Declare and set value to DONOTMASYNCCSS constant + * + * @since 2.10 + * @deprecated 2.11 + * @see rocket_define_donotoptimize_constant() + * @author Remy Perona + * + * @param bool $value true or false. + */ + function rocket_define_donotasync_css_constant( $value ) { + _deprecated_function( __FUNCTION__, '2.11', 'rocket_define_donotoptimize_constant' ); + + if ( ! defined( 'DONOTASYNCCSS' ) ) { + define( 'DONOTASYNCCSS', (bool) $value ); + } + } +} + +/** + * Defer loading of CSS files + * + * @since 2.10 + * @deprecated 2.11 + * @see Rocket_Critical_CSS->async_css() + * @author Remy Perona + * + * @param string $buffer HTML code. + * @return string Updated HTML code + */ +function rocket_async_css( $buffer ) { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Critical_CSS->async_css()' ); + + return $buffer; +} + +/** + * Insert critical CSS in the + * + * @since 2.10 + * @deprecated 2.11 + * @see Rocket_Critical_CSS->insert_critical_css() + * @author Remy Perona + */ +function rocket_insert_critical_css() { + _deprecated_function( __FUNCTION__, '2.11', 'Rocket_Critical_CSS->insert_critical_css()' ); +} + +/** + * Insert loadCSS script in + * + * @since 2.10 + * @deprecated 2.11 + * @see WP_Rocket\Engine\CriticalPath\CriticalCSSSubscriber->insert_load_css() + * @author Remy Perona + */ +function rocket_insert_load_css() { + _deprecated_function( __FUNCTION__, '2.11', 'WP_Rocket\Engine\CriticalPath\CriticalCSSSubscriber->insert_load_css()' ); +} + +if ( ! function_exists( 'rocket_lazyload_async_script' ) ) { + /** + * Add tags to the lazyload script to async and prevent concatenation + * + * @since 2.11 + * @deprecated 2.11.2 + * @author Remy Perona + * + * @param string $tag HTML for the script. + * @param string $handle Handle for the script. + * + * @return string Updated HTML + */ + function rocket_lazyload_async_script( $tag, $handle ) { + _deprecated_function( __FUNCTION__, '2.11.2' ); + + return $tag; + } +} + +if ( ! function_exists( 'is_rocket_cdn_on_ssl' ) ) { + /** + * Check if we need to disable CDN on SSL pages + * + * @since 2.5 + * @deprecated 3.0 + * + * @return bool True if option is activated + */ + function is_rocket_cdn_on_ssl() { + _deprecated_function( __FUNCTION__, '3.0' ); + return is_ssl() && get_rocket_option( 'cdn_ssl', 0 ) ? false : true; + } +} + +if ( ! function_exists( 'is_rocket_cache_ssl' ) ) { + /** + * Check if we need to cache SSL requests of the website (if available) + * + * @since 1.0 + * @deprecated 3.0 + * + * @return bool True if option is activated + */ + function is_rocket_cache_ssl() { + _deprecated_function( __FUNCTION__, '3.0' ); + return false; + } +} + +if ( ! function_exists( 'rocket_reset_white_label_values_action' ) ) { + /** + * Reset White Label values to WP Rocket default values + * + * @since 2.1 + * @deprecated 3.0 + */ + function rocket_reset_white_label_values_action() { + _deprecated_function( __FUNCTION__, '3.0' ); + if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( $_GET['_wpnonce'], 'rocket_resetwl' ) ) { + rocket_reset_white_label_values( true ); + } + wp_safe_redirect( add_query_arg( 'page', 'wprocket', remove_query_arg( 'page', wp_get_referer() ) ) ); + die(); + } +} + +if ( ! function_exists( 'rocket_white_label' ) ) { + /** + * White Label the plugin, if you need to + * + * @since 2.1 + * @deprecated 3.0 + * + * @param array $plugins An array of plugins installed. + * @return array Updated array of plugins installed + */ + function rocket_white_label( $plugins ) { + _deprecated_function( __FUNCTION__, '3.0' ); + $white_label_description = get_rocket_option( 'wl_description' ); + // We change the plugin's header. + $plugins['wp-rocket/wp-rocket.php'] = array( + 'Name' => get_rocket_option( 'wl_plugin_name' ), + 'PluginURI' => get_rocket_option( 'wl_plugin_URI' ), + 'Version' => isset( $plugins['wp-rocket/wp-rocket.php']['Version'] ) ? $plugins['wp-rocket/wp-rocket.php']['Version'] : '', + 'Description' => reset( ( $white_label_description ) ), + 'Author' => get_rocket_option( 'wl_author' ), + 'AuthorURI' => get_rocket_option( 'wl_author_URI' ), + 'TextDomain' => isset( $plugins['wp-rocket/wp-rocket.php']['TextDomain'] ) ? $plugins['wp-rocket/wp-rocket.php']['TextDomain'] : '', + 'DomainPath' => isset( $plugins['wp-rocket/wp-rocket.php']['DomainPath'] ) ? $plugins['wp-rocket/wp-rocket.php']['DomainPath'] : '', + ); + + // if white label, remove our names from contributors. + if ( rocket_is_white_label() ) { + remove_filter( 'plugin_row_meta', 'rocket_plugin_row_meta', 10, 2 ); + } + + return $plugins; + } +} + +if ( ! function_exists( 'rocket_is_white_label' ) ) { + /** + * Is this version White Labeled? + * + * @since 2.1 + * @deprecated 3.0 + */ + function rocket_is_white_label() { + _deprecated_function( __FUNCTION__, '3.0' ); + $options = ''; + $names = array( + 'wl_plugin_name', + 'wl_plugin_URI', + 'wl_description', + 'wl_author', + 'wl_author_URI', + ); + + foreach ( $names as $value ) { + $option = get_rocket_option( $value ); + $options .= ! is_array( $option ) ? $option : reset( ( $option ) ); + } + + return '7ddca92d3d48d4da715a90ebcb3ec1f0' !== md5( $options ); + } +} + +if ( ! function_exists( 'rocket_reset_white_label_values' ) ) { + /** + * Reset white label options + * + * @since 2.1 + * @deprecated 3.0 + * + * @param bool $hack_post true if we need to modify the $_POST content, false otherwise. + * @return void + */ + function rocket_reset_white_label_values( $hack_post ) { + _deprecated_function( __FUNCTION__, '3.0' ); + // White Label default values - !!! DO NOT TRANSLATE !!! + $options = get_option( WP_ROCKET_SLUG ); + $options['wl_plugin_name'] = 'WP Rocket'; + $options['wl_plugin_slug'] = 'wprocket'; + $options['wl_plugin_URI'] = 'https://wp-rocket.me'; + $options['wl_description'] = array( 'The best WordPress performance plugin.' ); + $options['wl_author'] = 'WP Media'; + $options['wl_author_URI'] = 'https://wp-media.me'; + + if ( $hack_post ) { + // hack $_POST to force refresh of files, sorry. + $_POST['page'] = 'wprocket'; + } + + update_option( WP_ROCKET_SLUG, $options ); + } +} + +if ( ! function_exists( 'rocket_check_no_empty_name' ) ) { + /** + * When you're doing an update, the constant does not contain yet your option or any value, reset and redirect! + * + * @since 2.1 + * @deprecated 3.0 + */ + function rocket_check_no_empty_name() { + _deprecated_function( __FUNCTION__, '3.0' ); + $wl_plugin_name = trim( get_rocket_option( 'wl_plugin_name' ) ); + + if ( empty( $wl_plugin_name ) ) { + wp_safe_redirect( $_SERVER['REQUEST_URI'] ); + die(); + } + } +} + +if ( ! function_exists( 'rocket_correct_capability_for_options_page' ) ) { + /** + * Fix the capability for our capacity filter hook + * + * @since 2.6 + * @deprecated 3.0 + * @see WP_Rocket\Engine\Settings\Page->required_capability() + * + * @param string $capability Capacity to access WP Rocket options. + * @return string Updated capacity + */ + function rocket_correct_capability_for_options_page( $capability ) { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket\Engine\Settings\Page->required_compatibility()' ); + /** This filter is documented in inc/admin-bar.php */ + return apply_filters( 'rocket_capacity', 'manage_options' ); + } +} + +if ( ! function_exists( 'rocket_admin_menu' ) ) { + /** + * Add submenu in menu "Settings" + * + * @since 1.0 + * @deprecated 3.0 + * @see WP_Rocket\Engine\Settings\Page->add_admin_page() + */ + function rocket_admin_menu() { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket\Engine\Settings\Page->add_admin_page()' ); + add_options_page( WP_ROCKET_PLUGIN_NAME, WP_ROCKET_PLUGIN_NAME, apply_filters( 'rocket_capacity', 'manage_options' ), WP_ROCKET_PLUGIN_SLUG, 'rocket_display_options' ); + } +} + +if ( ! function_exists( 'rocket_include' ) ) { + /** + * Used to include a file in any tab + * + * @since 2.2 + * @deprecated 3.0 + * + * @param array $args An array of arguments to include the file. + */ + function rocket_include( $args ) { + _deprecated_function( __FUNCTION__, '3.0' ); + include_once dirname( __FILE__ ) . '/' . str_replace( '..', '', $args['file'] ) . '.inc.php'; + } +} + +if ( ! function_exists( 'rocket_register_setting' ) ) { + /** + * Tell to WordPress to be confident with our setting, we are clean! + * + * @since 1.0 + * @deprecated 3.0 + * @see WP_Rocket\Engine\Settings\Page->configure() + */ + function rocket_register_setting() { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket\Engine\Settings\Page->configure()' ); + register_setting( 'wp_rocket', WP_ROCKET_SLUG, 'rocket_settings_callback' ); + } +} + +if ( ! function_exists( 'rocket_settings_callback' ) ) { + /** + * Used to clean and sanitize the settings fields + * + * @since 1.0 + * + * @param array $inputs An array of values submitted by the settings form. + */ + function rocket_settings_callback( $inputs ) { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket\Engine\Admin\Settings\Settings->sanitize_callback()' ); + if ( isset( $_GET['action'] ) && 'purge_cache' === $_GET['action'] ) { + return $inputs; + } + + /* + * Option : Minification CSS & JS + */ + $inputs['minify_css'] = ! empty( $inputs['minify_css'] ) ? 1 : 0; + $inputs['minify_js'] = ! empty( $inputs['minify_js'] ) ? 1 : 0; + + // Option: mobile cache. + if ( rocket_is_mobile_plugin_active() ) { + $inputs['cache_mobile'] = 1; + $inputs['do_caching_mobile_files'] = 1; + } + + if ( empty( $inputs['lazyload_iframes'] ) ) { + $inputs['lazyload_youtube'] = 0; + } + + /* + * Option : Purge delay + */ + $inputs['purge_cron_interval'] = isset( $inputs['purge_cron_interval'] ) ? (int) $inputs['purge_cron_interval'] : get_rocket_option( 'purge_cron_interval' ); + $inputs['purge_cron_unit'] = isset( $inputs['purge_cron_unit'] ) ? $inputs['purge_cron_unit'] : get_rocket_option( 'purge_cron_unit' ); + + if ( $inputs['purge_cron_interval'] < 10 && 'MINUTE_IN_SECONDS' === $inputs['purge_cron_unit'] ) { + $inputs['purge_cron_interval'] = 10; + } + + /* + * Option : Remove query strings + */ + $inputs['remove_query_strings'] = ! empty( $inputs['remove_query_strings'] ) ? 1 : 0; + + /* + * Option : Prefetch DNS requests + */ + if ( ! empty( $inputs['dns_prefetch'] ) ) { + if ( ! is_array( $inputs['dns_prefetch'] ) ) { + $inputs['dns_prefetch'] = explode( "\n", $inputs['dns_prefetch'] ); + } + $inputs['dns_prefetch'] = array_map( 'trim', $inputs['dns_prefetch'] ); + $inputs['dns_prefetch'] = array_map( 'esc_url', $inputs['dns_prefetch'] ); + $inputs['dns_prefetch'] = (array) array_filter( $inputs['dns_prefetch'] ); + $inputs['dns_prefetch'] = array_unique( $inputs['dns_prefetch'] ); + } else { + $inputs['dns_prefetch'] = array(); + } + + /* + * Option : Empty the cache of the following pages when updating an article + */ + if ( ! empty( $inputs['cache_purge_pages'] ) ) { + if ( ! is_array( $inputs['cache_purge_pages'] ) ) { + $inputs['cache_purge_pages'] = explode( "\n", $inputs['cache_purge_pages'] ); + } + $inputs['cache_purge_pages'] = array_map( 'trim', $inputs['cache_purge_pages'] ); + $inputs['cache_purge_pages'] = array_map( 'esc_url', $inputs['cache_purge_pages'] ); + $inputs['cache_purge_pages'] = array_map( 'rocket_clean_exclude_file', $inputs['cache_purge_pages'] ); + $inputs['cache_purge_pages'] = (array) array_filter( $inputs['cache_purge_pages'] ); + $inputs['cache_purge_pages'] = array_unique( $inputs['cache_purge_pages'] ); + } else { + $inputs['cache_purge_pages'] = array(); + } + + /* + * Option : Never cache the following pages + */ + if ( ! empty( $inputs['cache_reject_uri'] ) ) { + if ( ! is_array( $inputs['cache_reject_uri'] ) ) { + $inputs['cache_reject_uri'] = explode( "\n", $inputs['cache_reject_uri'] ); + } + $inputs['cache_reject_uri'] = array_map( 'trim', $inputs['cache_reject_uri'] ); + $inputs['cache_reject_uri'] = array_map( 'esc_url', $inputs['cache_reject_uri'] ); + $inputs['cache_reject_uri'] = array_map( 'rocket_clean_exclude_file', $inputs['cache_reject_uri'] ); + $inputs['cache_reject_uri'] = (array) array_filter( $inputs['cache_reject_uri'] ); + $inputs['cache_reject_uri'] = array_unique( $inputs['cache_reject_uri'] ); + } else { + $inputs['cache_reject_uri'] = array(); + } + + /* + * Option : Don't cache pages that use the following cookies + */ + if ( ! empty( $inputs['cache_reject_cookies'] ) ) { + if ( ! is_array( $inputs['cache_reject_cookies'] ) ) { + $inputs['cache_reject_cookies'] = explode( "\n", $inputs['cache_reject_cookies'] ); + } + $inputs['cache_reject_cookies'] = array_map( 'trim', $inputs['cache_reject_cookies'] ); + $inputs['cache_reject_cookies'] = array_map( 'rocket_sanitize_key', $inputs['cache_reject_cookies'] ); + $inputs['cache_reject_cookies'] = (array) array_filter( $inputs['cache_reject_cookies'] ); + $inputs['cache_reject_cookies'] = array_unique( $inputs['cache_reject_cookies'] ); + } else { + $inputs['cache_reject_cookies'] = array(); + } + + /* + * Option : Cache pages that use the following query strings (GET parameters) + */ + if ( ! empty( $inputs['cache_query_strings'] ) ) { + if ( ! is_array( $inputs['cache_query_strings'] ) ) { + $inputs['cache_query_strings'] = explode( "\n", $inputs['cache_query_strings'] ); + } + $inputs['cache_query_strings'] = array_map( 'trim', $inputs['cache_query_strings'] ); + $inputs['cache_query_strings'] = array_map( 'rocket_sanitize_key', $inputs['cache_query_strings'] ); + $inputs['cache_query_strings'] = (array) array_filter( $inputs['cache_query_strings'] ); + $inputs['cache_query_strings'] = array_unique( $inputs['cache_query_strings'] ); + } else { + $inputs['cache_query_strings'] = array(); + } + + /* + * Option : Never send cache pages for these user agents + */ + if ( ! empty( $inputs['cache_reject_ua'] ) ) { + if ( ! is_array( $inputs['cache_reject_ua'] ) ) { + $inputs['cache_reject_ua'] = explode( "\n", $inputs['cache_reject_ua'] ); + } + $inputs['cache_reject_ua'] = array_map( 'trim', $inputs['cache_reject_ua'] ); + $inputs['cache_reject_ua'] = array_map( 'rocket_sanitize_ua', $inputs['cache_reject_ua'] ); + $inputs['cache_reject_ua'] = (array) array_filter( $inputs['cache_reject_ua'] ); + $inputs['cache_reject_ua'] = array_unique( $inputs['cache_reject_ua'] ); + } else { + $inputs['cache_reject_ua'] = array(); + } + + /* + * Option : CSS files to exclude of the minification + */ + if ( ! empty( $inputs['exclude_css'] ) ) { + if ( ! is_array( $inputs['exclude_css'] ) ) { + $inputs['exclude_css'] = explode( "\n", $inputs['exclude_css'] ); + } + $inputs['exclude_css'] = array_map( 'trim', $inputs['exclude_css'] ); + $inputs['exclude_css'] = array_map( 'rocket_clean_exclude_file', $inputs['exclude_css'] ); + $inputs['exclude_css'] = array_map( 'rocket_sanitize_css', $inputs['exclude_css'] ); + $inputs['exclude_css'] = (array) array_filter( $inputs['exclude_css'] ); + $inputs['exclude_css'] = array_unique( $inputs['exclude_css'] ); + } else { + $inputs['exclude_css'] = array(); + } + + /* + * Option : JS files to exclude of the minification + */ + if ( ! empty( $inputs['exclude_js'] ) ) { + if ( ! is_array( $inputs['exclude_js'] ) ) { + $inputs['exclude_js'] = explode( "\n", $inputs['exclude_js'] ); + } + $inputs['exclude_js'] = array_map( 'trim', $inputs['exclude_js'] ); + $inputs['exclude_js'] = array_map( 'rocket_clean_exclude_file', $inputs['exclude_js'] ); + $inputs['exclude_js'] = array_map( 'rocket_sanitize_js', $inputs['exclude_js'] ); + $inputs['exclude_js'] = (array) array_filter( $inputs['exclude_js'] ); + $inputs['exclude_js'] = array_unique( $inputs['exclude_js'] ); + } else { + $inputs['exclude_js'] = array(); + } + + // Option: Async CSS. + $inputs['async_css'] = ! empty( $inputs['async_css'] ) ? 1 : 0; + + // Option: Critical CSS. + $inputs['critical_css'] = ! empty( $inputs['critical_css'] ) ? str_replace( array( '' ), '', wp_kses( $inputs['critical_css'], array( "\'", '\"' ) ) ) : ''; + + /* + * Option : JS files to exclude from defer JS + */ + if ( ! empty( $inputs['exclude_defer_js'] ) ) { + if ( ! is_array( $inputs['exclude_defer_js'] ) ) { + $inputs['exclude_defer_js'] = explode( "\n", $inputs['exclude_defer_js'] ); + } + $inputs['exclude_defer_js'] = array_map( 'trim', $inputs['exclude_defer_js'] ); + $inputs['exclude_defer_js'] = array_unique( $inputs['exclude_defer_js'] ); + $inputs['exclude_defer_js'] = array_map( 'rocket_sanitize_js', $inputs['exclude_defer_js'] ); + $inputs['exclude_defer_js'] = array_filter( $inputs['exclude_defer_js'] ); + } else { + $inputs['exclude_defer_js'] = array(); + } + + /** + * Database options + */ + $inputs['database_revisions'] = ! empty( $inputs['database_revisions'] ) ? 1 : 0; + $inputs['database_auto_drafts'] = ! empty( $inputs['database_auto_drafts'] ) ? 1 : 0; + $inputs['database_trashed_posts'] = ! empty( $inputs['database_trashed_posts'] ) ? 1 : 0; + $inputs['database_spam_comments'] = ! empty( $inputs['database_spam_comments'] ) ? 1 : 0; + $inputs['database_trashed_comments'] = ! empty( $inputs['database_trashed_comments'] ) ? 1 : 0; + $inputs['database_expired_transients'] = ! empty( $inputs['database_expired_transients'] ) ? 1 : 0; + $inputs['database_all_transients'] = ! empty( $inputs['database_all_transients'] ) ? 1 : 0; + $inputs['database_optimize_tables'] = ! empty( $inputs['database_optimize_tables'] ) ? 1 : 0; + $inputs['schedule_automatic_cleanup'] = ! empty( $inputs['schedule_automatic_cleanup'] ) ? 1 : 0; + $inputs['automatic_cleanup_frequency'] = ! empty( $inputs['automatic_cleanup_frequency'] ) ? $inputs['automatic_cleanup_frequency'] : ''; + + if ( 1 !== $inputs['schedule_automatic_cleanup'] && ( 'daily' !== $inputs['automatic_cleanup_frequency'] || 'weekly' !== $inputs['automatic_cleanup_frequency'] || 'monthly' !== $inputs['automatic_cleanup_frequency'] ) ) { + unset( $inputs['automatic_cleanup_frequency'] ); + } + + /** + * Options: Activate bot preload + */ + $inputs['manual_preload'] = ! empty( $inputs['manual_preload'] ) ? 1 : 0; + $inputs['automatic_preload'] = ! empty( $inputs['automatic_preload'] ) ? 1 : 0; + + /* + * Option: activate sitemap preload + */ + $inputs['sitemap_preload'] = ! empty( $inputs['sitemap_preload'] ) ? 1 : 0; + + /* + * Option : XML sitemaps URLs + */ + if ( ! empty( $inputs['sitemaps'] ) ) { + if ( ! is_array( $inputs['sitemaps'] ) ) { + $inputs['sitemaps'] = explode( "\n", $inputs['sitemaps'] ); + } + $inputs['sitemaps'] = array_map( 'trim', $inputs['sitemaps'] ); + $inputs['sitemaps'] = array_map( 'rocket_sanitize_xml', $inputs['sitemaps'] ); + $inputs['sitemaps'] = (array) array_filter( $inputs['sitemaps'] ); + $inputs['sitemaps'] = array_unique( $inputs['sitemaps'] ); + } else { + $inputs['sitemaps'] = array(); + } + + /* + * Option : CloudFlare Domain + */ + if ( ! empty( $inputs['cloudflare_domain'] ) ) { + $inputs['cloudflare_domain'] = rocket_get_domain( $inputs['cloudflare_domain'] ); + } else { + $inputs['cloudflare_domain'] = ''; + } + + $inputs['cloudflare_devmode'] = ( isset( $inputs['cloudflare_devmode'] ) && is_numeric( $inputs['cloudflare_devmode'] ) ) ? (int) $inputs['cloudflare_devmode'] : 0; + $inputs['cloudflare_auto_settings'] = ( isset( $inputs['cloudflare_auto_settings'] ) && is_numeric( $inputs['cloudflare_auto_settings'] ) ) ? (int) $inputs['cloudflare_auto_settings'] : 0; + + /* + * Option : CloudFlare + */ + if ( defined( 'WP_ROCKET_CF_API_KEY' ) ) { + $inputs['cloudflare_api_key'] = get_rocket_option( 'cloudflare_api_key' ); + } + + /* + * Option : CDN + */ + $inputs['cdn_cnames'] = isset( $inputs['cdn_cnames'] ) ? array_unique( array_filter( $inputs['cdn_cnames'] ) ) : array(); + + if ( ! $inputs['cdn_cnames'] ) { + $inputs['cdn_zone'] = array(); + } else { + $total_cdn_cnames = max( array_keys( $inputs['cdn_cnames'] ) ); + for ( $i = 0; $i <= $total_cdn_cnames; $i++ ) { + if ( ! isset( $inputs['cdn_cnames'][ $i ] ) ) { + unset( $inputs['cdn_zone'][ $i ] ); + } else { + $inputs['cdn_zone'][ $i ] = isset( $inputs['cdn_zone'][ $i ] ) ? $inputs['cdn_zone'][ $i ] : 'all'; + } + } + + $inputs['cdn_cnames'] = array_values( $inputs['cdn_cnames'] ); + $inputs['cdn_cnames'] = array_map( 'untrailingslashit', $inputs['cdn_cnames'] ); + ksort( $inputs['cdn_zone'] ); + $inputs['cdn_zone'] = array_values( $inputs['cdn_zone'] ); + } + + /* + * Option : Files to exclude of the CDN process + */ + if ( ! empty( $inputs['cdn_reject_files'] ) ) { + if ( ! is_array( $inputs['cdn_reject_files'] ) ) { + $inputs['cdn_reject_files'] = explode( "\n", $inputs['cdn_reject_files'] ); + } + $inputs['cdn_reject_files'] = array_map( 'trim', $inputs['cdn_reject_files'] ); + $inputs['cdn_reject_files'] = array_map( 'rocket_clean_exclude_file', $inputs['cdn_reject_files'] ); + $inputs['cdn_reject_files'] = (array) array_filter( $inputs['cdn_reject_files'] ); + $inputs['cdn_reject_files'] = array_unique( $inputs['cdn_reject_files'] ); + } else { + $inputs['cdn_reject_files'] = array(); + } + + /* + * Option: Support + */ + $fake_options = array( + 'support_summary', + 'support_description', + 'support_documentation_validation', + ); + + foreach ( $fake_options as $option ) { + if ( isset( $inputs[ $option ] ) ) { + unset( $inputs[ $option ] ); + } + } + + if ( isset( $_FILES['import'] ) && 0 !== $_FILES['import']['size'] && $settings = rocket_handle_settings_import( $_FILES['import'], 'wp-rocket', $inputs ) ) { + $inputs = $settings; + } + + if ( ! rocket_valid_key() ) { + $checked = rocket_check_key(); + } + + if ( isset( $checked ) && is_array( $checked ) ) { + $inputs['consumer_key'] = $checked['consumer_key']; + $inputs['consumer_email'] = $checked['consumer_email']; + $inputs['secret_key'] = $checked['secret_key']; + } + + if ( rocket_valid_key() && ! empty( $inputs['secret_key'] ) && ! isset( $inputs['ignore'] ) ) { + unset( $inputs['ignore'] ); + add_settings_error( 'general', 'settings_updated', __( 'Settings saved.', 'rocket' ), 'updated' ); + } + + return apply_filters( 'rocket_inputs_sanitize', $inputs ); + } +} + +if ( ! function_exists( 'rocket_import_upload_form' ) ) { + /** + * Outputs the form used by the importers to accept the data to be imported + * + * @since 2.2 + * @deprecated 3.0 + * + * @see WP_Rocket\Admin\Render->render_import_form(); + */ + function rocket_import_upload_form() { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket\Admin\Render->render_import_form()' ); + /** + * Filter the maximum allowed upload size for import files. + * + * @since (WordPress) 2.3.0 + * + * @see wp_max_upload_size() + * + * @param int $max_upload_size Allowed upload size. Default 1 MB. + */ + $bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() ); // Filter from WP Core. + $size = size_format( $bytes ); + $upload_dir = wp_upload_dir(); + if ( ! empty( $upload_dir['error'] ) ) { + ?> +

    +

    + +

    + +
    + + +

    + ', + sanitize_html_class( $args['name'] ), + sanitize_html_class( $args['type'] ), + isset( $args['parent'] ) ? 'fieldparent-' . sanitize_html_class( $args['parent'] ) : '' + ); + } + + switch ( $args['type'] ) { + case 'number': + case 'email': + case 'text': + $value = get_rocket_option( $args['name'] ); + if ( false === $value ) { + $value = $default; + } + + $value = esc_attr( $value ); + $number_options = 'number' === $args['type'] ? ' min="0" class="small-text"' : ''; + $autocomplete = in_array( $args['name'], array( 'consumer_key', 'consumer_email' ), true ) ? ' autocomplete="off"' : ''; + $disabled = ( 'consumer_key' === $args['name'] && defined( 'WP_ROCKET_KEY' ) ) || ( 'consumer_email' === $args['name'] && defined( 'WP_ROCKET_EMAIL' ) ) ? ' disabled="disabled"' : $readonly; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + render(); + + break; + + case 'helper_description': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s %4$s

    ', $class, $parent, _x( 'Note:', 'screen-reader-text', 'rocket' ), $args['description'] ) : ''; + echo apply_filters( 'rocket_help', $description, $args['name'], 'description' ); + + break; + + case 'helper_performance': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s %4$s

    ', $class, $parent, _x( 'Performance tip:', 'screen-reader-text', 'rocket' ), $args['description'] ) : ''; + echo apply_filters( 'rocket_help', $description, $args['name'], 'description' ); + + break; + + case 'helper_detection': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s %4$s

    ', $class, $parent, _x( 'Third-party feature detected:', 'screen-reader-text', 'rocket' ), $args['description'] ) : ''; + echo apply_filters( 'rocket_help', $description, $args['name'], 'description' ); + + break; + + case 'helper_help': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s

    ', $class, $parent, $args['description'] ) : ''; + echo apply_filters( 'rocket_help', $description, $args['name'], 'help' ); + + break; + + case 'helper_warning': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s %4$s

    ', $class, $parent, _x( 'Warning:', 'screen-reader-text', 'rocket' ), $args['description'] ) : ''; + echo apply_filters( 'rocket_help', $description, $args['name'], 'warning' ); + + break; + + case 'helper_panel_description': + $description = isset( $args['description'] ) ? sprintf( '

    %3$s

    ', $class, $parent, $args['description'] ) : ''; + echo $description; + + break; + + case 'rocket_export_form': + ?> + + '; + } + } + + } +} + +if ( ! function_exists( 'rocket_cnames_module' ) ) { + /** + * Used to display the CNAMES module on settings form + * + * @since 2.1 + */ + function rocket_cnames_module() { + _deprecated_function( __FUNCTION__, '3.0' ); + ?> + + +
    + + $_url ) { + ?> + +

    + + + + + + +

    + + + +

    + + + + + +

    + + + +
    + +
    + +

    + + + + + + +

    + +
    + +

    + +
    + + ' . $help['description'] . '

    '; + } + if ( ! empty( $desc ) ) { + $desc = sprintf( '

    %2$s %3$s

    ', $class, _x( 'Note:', 'screen-reader-text', 'rocket' ), $desc['description'] ); + } + if ( ! empty( $warning ) ) { + $warning = sprintf( + '

    %2$s %3$s

    ', + $class, + _x( 'Warning:', 'screen-reader-text', 'rocket' ), + $warning['description'] + ); + } + ?> +
    + ' . wp_kses_post( $button['button_label'] ) . ''; + } else { + echo ''; + } + ?> + + + + + + +
    + ' . $args['description'] . '

    '; + ?> +
    + + +
    + = 0 ? 'h1' : 'h2'; + ?> + +
    + + <> > +
    + + +
    + +
    +
    +
    +
    +
    +
    +
    >
    + +
    + +
    +
    + +
    + + +
    + +
    + render_hidden_fields()' ); + if ( ! is_array( $fields ) ) { + return; + } + + foreach ( $fields as $field ) { + echo ''; + } + } +} + +if ( ! function_exists( 'wp_ajax_rocket_new_ticket_support' ) ) { + /** + * Open a ticket support. + * + * @since 2.6 + * @deprecated 3.0 + */ + function wp_ajax_rocket_new_ticket_support() { + _deprecated_function( __FUNCTION__, '3.0' ); + // rocket_capability is a typo (should have been rocket_capacity). + if ( ! isset( $_POST['_wpnonce'], $_POST['summary'], $_POST['description'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'wp_rocket-options' ) || + ! current_user_can( apply_filters_deprecated( 'rocket_capability', array( 'manage_options' ), '2.8.9', 'rocket_capacity' ) ) || + ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) + ) { + return; + } + + $response = wp_remote_post( + WP_ROCKET_WEB_API . 'support/new-ticket.php', + array( + 'timeout' => 10, + 'body' => array( + 'data' => array( + 'user_email' => defined( 'WP_ROCKET_EMAIL' ) ? sanitize_email( WP_ROCKET_EMAIL ) : '', + 'user_key' => defined( 'WP_ROCKET_KEY' ) ? sanitize_key( WP_ROCKET_KEY ) : '', + 'user_website' => home_url(), + 'wp_version' => $GLOBALS['wp_version'], + 'wp_active_plugins' => rocket_get_active_plugins(), + 'wp_rocket_version' => WP_ROCKET_VERSION, + 'wp_rocket_options' => get_option( WP_ROCKET_SLUG ), + 'support_summary' => $_POST['summary'], + 'support_description' => $_POST['description'], + ), + ), + ) + ); + + if ( ! is_wp_error( $response ) ) { + wp_send_json( wp_remote_retrieve_body( $response ) ); + } else { + wp_send_json( + array( + 'msg' => 'BAD_SERVER', + ) + ); + } + } +} + +if ( ! function_exists( 'wp_ajax_rocket_helpscout_live_search' ) ) { + /** + * Documentation suggestions based on the summary input from the new ticket support form. + * + * @since 2.6 + * @deprecated 3.0 + */ + function wp_ajax_rocket_helpscout_live_search() { + _deprecated_function( __FUNCTION__, '3.0' ); + if ( current_user_can( apply_filters( 'rocket_capability', 'manage_options' ) ) ) { + $query = filter_input( INPUT_POST, 'query' ); + $response = wp_remote_post( + WP_ROCKET_WEB_MAIN . 'tools/wp-rocket/helpscout/livesearch.php', + array( + 'timeout' => 10, + 'body' => array( + 'query' => esc_html( wp_strip_all_tags( $query, true ) ), + 'lang' => get_locale(), + ), + ) + ); + + if ( ! is_wp_error( $response ) ) { + wp_send_json( wp_remote_retrieve_body( $response ) ); + } + } + } +} + +if ( ! function_exists( 'rocket_php_warning' ) ) { + /** + * Warns if PHP version is less than 5.3 and offers to rollback. + * + * @since 2.11 + * @deprecated 3.0 + * @see WP_Rocket_Requirements_check::notice(); + * @author Remy Perona + */ + function rocket_php_warning() { + _deprecated_function( __FUNCTION__, '3.0', 'WP_Rocket_Requirements_check::notice()' ); + + if ( version_compare( PHP_VERSION, '5.3' ) >= 0 ) { + return; + } + /** This filter is documented in inc/admin-bar.php */ + if ( ! current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) { + return; + } + // Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version required. + echo '

    ' . sprintf( __( '%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below.', 'rocket' ), WP_ROCKET_PLUGIN_NAME, WP_ROCKET_VERSION, '5.3' ) . '

    +

    ' . + // Translators: %s = Previous plugin version. + sprintf( __( 'Re-install version %s', 'rocket' ), WP_ROCKET_LASTVERSION ) + . '

    '; + } +} + +if ( ! function_exists( 'rocket_get_home_path' ) ) { + /** + * Get the absolute filesystem path to the root of the WordPress installation. + * + * @since 2.11.7 copy function get_home_path() from WP core. + * @since 2.11.5 + * @deprecated 3.0 + * + * @author Chris Williams + * + * @return string Full filesystem path to the root of the WordPress installation. + */ + function rocket_get_home_path() { + _deprecated_function( __FUNCTION__, '3.0' ); + $home = set_url_scheme( get_option( 'home' ), 'http' ); + $siteurl = set_url_scheme( get_option( 'siteurl' ), 'http' ); + $home_path = ABSPATH; + + if ( ! empty( $home ) && 0 !== strcasecmp( $home, $siteurl ) ) { + $wp_path_rel_to_home = str_ireplace( $home, '', $siteurl ); /* $siteurl - $home */ + $pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) ); + $home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos ); + $home_path = trailingslashit( $home_path ); + } + + return str_replace( '\\', '/', $home_path ); + } +} + +if ( ! function_exists( 'rocket_clean_cache_after_woocommerce_save_product_variation' ) ) { + /** + * Clean product cache on variation update + * + * @since 2.9 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::clean_cache_after_woocommerce_save_product_variation() + * @author Remy Perona + * + * @param int $variation_id ID of the variation. + */ + function rocket_clean_cache_after_woocommerce_save_product_variation( $variation_id ) { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::clean_cache_after_woocommerce_save_product_variation()' ); + $product_id = wp_get_post_parent_id( $variation_id ); + if ( $product_id ) { + rocket_clean_post( $product_id ); + } + } +} + +if ( ! function_exists( 'rocket_cache_v_query_string' ) ) { + /** + * Automatically cache v query string when WC geolocation with cache compatibility option is active + * + * @since 2.8.6 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::cache_geolocation_query_string() + * @author Rémy Perona + * + * @param array $query_strings list of query strings to cache. + * @return array Updated list of query strings to cache + */ + function rocket_cache_v_query_string( $query_strings ) { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::cache_geolocation_query_string()' ); + if ( 'geolocation_ajax' === get_option( 'woocommerce_default_customer_address' ) ) { + $query_strings[] = 'v'; + } + + return $query_strings; + } +} + +if ( ! function_exists( 'rocket_exclude_woocommerce_pages' ) ) { + /** + * Exclude WooCommerce cart, checkout and account pages from caching + * + * @since 2.11 Moved to 3rd party + * @since 2.4 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::exclude_pages() + * + * @param array $urls An array of excluded pages. + * @return array Updated array of excluded pages + */ + function rocket_exclude_woocommerce_pages( $urls ) { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::exclude_pages()' ); + if ( function_exists( 'WC' ) && function_exists( 'wc_get_page_id' ) ) { + if ( wc_get_page_id( 'checkout' ) && wc_get_page_id( 'checkout' ) !== -1 && wc_get_page_id( 'checkout' ) !== (int) get_option( 'page_on_front' ) ) { + $checkout_urls = get_rocket_i18n_translated_post_urls( wc_get_page_id( 'checkout' ), 'page', '(.*)' ); + $urls = array_merge( $urls, $checkout_urls ); + } + + if ( wc_get_page_id( 'cart' ) && wc_get_page_id( 'cart' ) !== -1 && wc_get_page_id( 'cart' ) !== (int) get_option( 'page_on_front' ) ) { + $cart_urls = get_rocket_i18n_translated_post_urls( wc_get_page_id( 'cart' ) ); + $urls = array_merge( $urls, $cart_urls ); + } + + if ( wc_get_page_id( 'myaccount' ) && wc_get_page_id( 'myaccount' ) !== -1 && wc_get_page_id( 'myaccount' ) !== (int) get_option( 'page_on_front' ) ) { + $cart_urls = get_rocket_i18n_translated_post_urls( wc_get_page_id( 'myaccount' ), 'page', '(.*)' ); + $urls = array_merge( $urls, $cart_urls ); + } + } + + return $urls; + } +} + +if ( ! function_exists( 'rocket_activate_woocommerce' ) ) { + /** + * Add query string to exclusion when activating the plugin + * + * @since 2.8.6 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::activate_woocommerce() + * @author Rémy Perona + */ + function rocket_activate_woocommerce() { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::activate_woocommerce()' ); + add_filter( 'rocket_cache_reject_uri', 'rocket_exclude_woocommerce_pages' ); + add_filter( 'rocket_cache_query_strings', 'rocket_cache_v_query_string' ); + + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } +} + +if ( ! function_exists( 'rocket_deactivate_woocommerce' ) ) { + /** + * Remove query string from exclusion when deactivating the plugin + * + * @since 2.8.6 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::deactivate_woocommerce() + * @author Rémy Perona + */ + function rocket_deactivate_woocommerce() { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::deactivate_woocommerce()' ); + remove_filter( 'rocket_cache_reject_uri', 'rocket_exclude_woocommerce_pages' ); + remove_filter( 'rocket_cache_query_strings', 'rocket_cache_v_query_string' ); + + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Regenerate the config file. + rocket_generate_config_file(); + } +} + +if ( ! function_exists( 'rocket_exclude_wc_rest_api' ) ) { + /** + * Exclude WooCommerce REST API URL from cache + * + * @since 2.6.5 + * @deprecated 3.1 + * @see WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::exclude_wc_rest_api() + * + * @param array $uri URLs to exclude from cache. + * @return array Updated list of URLs to exclude from cache + */ + function rocket_exclude_wc_rest_api( $uri ) { + _deprecated_function( __FUNCTION__, '3.1', 'WP_Rocket\Third_Party\Plugins\Ecommerce\WooCommerce::exclude_wc_rest_api()' ); + /** + * By default, don't cache the WooCommerce REST API. + * + * @since 2.6.5 + * + * @param bool false will force to cache the WooCommerce REST API + */ + $rocket_cache_reject_wc_rest_api = apply_filters( 'rocket_cache_reject_wc_rest_api', true ); + + // Exclude WooCommerce REST API. + if ( $rocket_cache_reject_wc_rest_api ) { + $uri[] = rocket_clean_exclude_file( home_url( '/wc-api/v(.*)' ) ); + } + + return $uri; + } +} + +if ( ! function_exists( 'rocket_minify_process' ) ) { + /** + * Launch WP Rocket minification process (HTML, CSS and JavaScript) + * + * @since 2.10 New process for minification without concatenation + * @since 1.3.0 This process is called via the new filter rocket_buffer + * @since 1.1.6 Minify inline CSS and JavaScript + * @since 1.0 + * @deprecated 3.1 + * + * @param string $buffer HTML content. + * @return string Modified HTML content + */ + function rocket_minify_process( $buffer ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + $enable_css = get_rocket_option( 'minify_css' ); + $enable_js = get_rocket_option( 'minify_js' ); + $enable_google_fonts = get_rocket_option( 'minify_google_fonts' ); + + if ( $enable_css || $enable_js || $enable_google_fonts ) { + list( $buffer, $conditionals ) = rocket_extract_ie_conditionals( $buffer ); + } + + // Minify JavaScript. + if ( $enable_js && ( ! defined( 'DONOTROCKETOPTIMIZE' ) || ! DONOTROCKETOPTIMIZE ) && ( ! defined( 'DONOTMINIFYJS' ) || ! DONOTMINIFYJS ) && ! is_rocket_post_excluded_option( 'minify_js' ) ) { + $buffer = rocket_minify_files( $buffer, 'js' ); + } + + // Minify CSS. + if ( $enable_css && ( ! defined( 'DONOTROCKETOPTIMIZE' ) || ! DONOTROCKETOPTIMIZE ) && ( ! defined( 'DONOTMINIFYCSS' ) || ! DONOTMINIFYCSS ) && ! is_rocket_post_excluded_option( 'minify_css' ) ) { + $buffer = rocket_minify_files( $buffer, 'css' ); + } + + // Concatenate Google Fonts. + if ( $enable_google_fonts ) { + $buffer = rocket_concatenate_google_fonts( $buffer ); + } + + if ( $enable_css || $enable_js || $enable_google_fonts ) { + $buffer = rocket_inject_ie_conditionals( $buffer, $conditionals ); + } + + return $buffer; + } +} + +if ( ! function_exists( 'rocket_minify_html' ) ) { + /** + * Minifies inline HTML + * + * @since 2.10 Do the HTML minification independently and hook it later to prevent conflicts + * @since 1.1.12 + * @deprecated 3.1 + * + * @param string $buffer HTML content. + * @return string Updated HTML content + */ + function rocket_minify_html( $buffer ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( ! get_rocket_option( 'minify_html' ) || is_rocket_post_excluded_option( 'minify_html' ) ) { + return $buffer; + } + + $html_options = array( + 'cssMinifier' => 'rocket_minify_inline_css', + ); + + /** + * Filter options of minify inline HTML + * + * @since 1.1.12 + * + * @param array $html_options Options of minify inline HTML. + */ + $html_options = apply_filters( 'rocket_minify_html_options', $html_options ); + + return Minify_HTML::minify( $buffer, $html_options ); + } +} + +if ( ! function_exists( 'rocket_fix_ssl_minify' ) ) { + /** + * Fix issue with SSL and minification + * + * @since 2.3 + * @deprecated 3.1 + * + * @param string $url An url to filter to set the scheme to https if needed. + * @return string Updated URL + */ + function rocket_fix_ssl_minify( $url ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( is_ssl() && false === strpos( $url, 'https://' ) && ! in_array( rocket_extract_url_component( $url, PHP_URL_HOST ), get_rocket_cnames_host( array( 'all', 'css_js', 'css', 'js' ) ), true ) ) { + $url = str_replace( 'http://', 'https://', $url ); + } + + return $url; + } +} + +if ( ! function_exists( 'rocket_minify_i18n_multidomain' ) ) { + /** + * Compatibility with multilingual plugins & multidomain configuration + * + * @since 2.6.13 Regression Fix: Apply CDN on minified CSS and JS files by checking the CNAME host + * @since 2.6.8 + * @deprecated 3.1 + * + * @param string $url Minified file URL. + * @return string Updated minified file URL + */ + function rocket_minify_i18n_multidomain( $url ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( ! rocket_has_i18n() ) { + return $url; + } + + $url_host = rocket_extract_url_component( $url, PHP_URL_HOST ); + $zone = array( 'all', 'css_and_js' ); + $current_filter = current_filter(); + + // Add only CSS zone. + if ( 'rocket_css_url' === $current_filter ) { + $zone[] = 'css'; + } + + // Add only JS zone. + if ( 'rocket_js_url' === $current_filter ) { + $zone[] = 'js'; + } + + $cnames = get_rocket_cdn_cnames( $zone ); + $cnames = array_map( 'rocket_remove_url_protocol' , $cnames ); + + if ( $url_host !== $_SERVER['HTTP_HOST'] && in_array( $_SERVER['HTTP_HOST'], get_rocket_i18n_host(), true ) && ! in_array( $url_host, $cnames, true ) ) { + $url = str_replace( $url_host, $_SERVER['HTTP_HOST'], $url ); + } + + return $url; + } +} + +if ( ! function_exists( 'rocket_get_js_enqueued_in_head' ) ) { + /** + * Get all src for JS files already enqueued in head + * + * @since 2.10 + * @deprecated 3.1 + * @author Remy Perona + */ + function rocket_get_js_enqueued_in_head() { + _deprecated_function( __FUNCTION__, '3.1' ); + + global $wp_scripts, $rocket_js_enqueued_in_head; + + if ( ! (bool) $wp_scripts->done ) { + return; + } + + foreach ( $wp_scripts->done as $handle ) { + if ( ! empty( $wp_scripts->registered[ $handle ]->src ) ) { + $rocket_js_enqueued_in_head[] = str_replace( '#', '\#', rocket_clean_exclude_file( $wp_scripts->registered[ $handle ]->src ) ); + } + } + } +} + +if ( ! function_exists( 'get_rocket_exclude_files' ) ) { + /** + * Get all files to exclude from minification/concatenation. + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $extension Type of files to exclude. + * @return array Array of excluded files. + */ + function get_rocket_exclude_files( $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( 'css' === $extension ) { + $excluded_files = get_rocket_option( 'exclude_css', array() ); + /** + * Filters CSS files to exclude from minification/concatenation. + * + * @since 2.6 + * + * @param array $excluded_files List of excluded CSS files. + */ + $excluded_files = apply_filters( 'rocket_exclude_css', $excluded_files ); + } elseif ( 'js' === $extension ) { + global $wp_scripts; + + $excluded_files = get_rocket_option( 'exclude_js', array() ); + + if ( get_rocket_option( 'defer_all_js', 0 ) && get_rocket_option( 'defer_all_js_safe', 0 ) ) { + $excluded_files[] = rocket_clean_exclude_file( site_url( $wp_scripts->registered['jquery-core']->src ) ); + } + + /** + * Filter JS files to exclude from minification/concatenation. + * + * @since 2.6 + * + * @param array $js_files List of excluded JS files. + */ + $excluded_files = apply_filters( 'rocket_exclude_js', $excluded_files ); + } + + return $excluded_files; + } +} + +if ( ! function_exists( 'rocket_concatenate_google_fonts' ) ) { + /** + * Concatenates Google Fonts tags (http://fonts.googleapis.com/css?...) + * + * @since 2.3 + * @deprecated 3.1 + * + * @param string $buffer HTML content. + * @return string Modified HTML content + */ + function rocket_concatenate_google_fonts( $buffer ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + // Get all Google Fonts CSS files. + $buffer_without_comments = preg_replace( '//Uis', '', $buffer ); + preg_match_all( '/])+)?(?:\s+href\s*=\s*([\'"])((?:https?:)?\/\/fonts\.googleapis\.com\/css(?:(?!\1).)+)\1)(?:\s+[^>]*)?>/iU', $buffer_without_comments, $matches ); + + if ( ! $matches[2] || 1 === count( $matches ) ) { + return $buffer; + } + + $fonts = array(); + $subsets = array(); + + foreach ( $matches[2] as $k => $font ) { + // Get fonts name. + $font = str_replace( array( '%7C', '%7c' ), '|', $font ); + $font = explode( 'family=', $font ); + $font = ( isset( $font[1] ) ) ? explode( '&', $font[1] ) : array(); + + // Add font to the collection. + $fonts = array_merge( $fonts, explode( '|', reset( $font ) ) ); + + // Add subset to collection. + $subset = ( is_array( $font ) ) ? end( $font ) : ''; + if ( false !== strpos( $subset, 'subset=' ) ) { + $subset = explode( 'subset=', $subset ); + $subsets = array_merge( $subsets, explode( ',', $subset[1] ) ); + } + + // Delete the Google Fonts tag. + $buffer = str_replace( $matches[0][ $k ], '', $buffer ); + } + + // Concatenate fonts tag. + $subsets = ( $subsets ) ? '&subset=' . implode( ',', array_filter( array_unique( $subsets ) ) ) : ''; + $fonts = implode( '|', array_filter( array_unique( $fonts ) ) ); + $fonts = str_replace( '|', '%7C', $fonts ); + + if ( ! empty( $fonts ) ) { + $fonts = ''; + $buffer = preg_replace( '//U', '' . $fonts, $buffer, 1 ); + } + + return $buffer; + } +} + +if ( ! function_exists( 'rocket_minify_inline_css' ) ) { + /** + * Minifies inline CSS + * + * @since 1.1.6 + * @deprecated 3.1 + * + * @param string $css HTML content. + * @return string Updated HTML content + */ + function rocket_minify_inline_css( $css ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + $minify = new Minify\CSS( $css ); + return $minify->minify(); + } +} + +if ( ! function_exists( 'rocket_minify_inline_js' ) ) { + /** + * Minifies inline JavaScript + * + * @since 1.1.6 + * @deprecated 3.1 + * + * @param string $js HTML content. + * @return string Updated HTML content + */ + function rocket_minify_inline_js( $js ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + $minify = new Minify\JS( $js ); + return $minify->minify(); + } +} + +if ( ! function_exists( 'rocket_extract_ie_conditionals' ) ) { + /** + * Extracts IE conditionals tags and replace them with placeholders + * + * @since 1.0 + * @deprecated 3.1 + * + * @param string $buffer HTML content. + * @return string Updated HTML content + */ + function rocket_extract_ie_conditionals( $buffer ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + preg_match_all( '//is', $buffer, $conditionals_match ); + $buffer = preg_replace( '//is', '{{WP_ROCKET_CONDITIONAL}}', $buffer ); + + $conditionals = array(); + foreach ( $conditionals_match[0] as $conditional ) { + $conditionals[] = $conditional; + } + + return array( $buffer, $conditionals ); + } +} + +if ( ! function_exists( 'rocket_inject_ie_conditionals' ) ) { + /** + * Replaces WP Rocket placeholders with IE condtional tags + * + * @since 1.0 + * @deprecated 3.1 + * + * @param string $buffer HTML content. + * @param array $conditionals An array of HTML conditional tags. + * @return string Updated HTML content + */ + function rocket_inject_ie_conditionals( $buffer, $conditionals ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + foreach ( $conditionals as $conditional ) { + if ( false !== strpos( $buffer, '{{WP_ROCKET_CONDITIONAL}}' ) ) { + $buffer = preg_replace( '/{{WP_ROCKET_CONDITIONAL}}/', $conditional, $buffer, 1 ); + } else { + break; + } + } + return $buffer; + } +} + +if ( ! function_exists( 'rocket_minify_files' ) ) { + /** + * Parses the buffer to minify the CSS and JS files + * + * @since 2.11 + * @since 2.1 + * @deprecated 3.1 + * + * @param string $buffer HTML output. + * @param string $extension Type of files to minify. + * @return string Updated HTML output. + */ + function rocket_minify_files( $buffer, $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + global $wp_scripts, $rocket_js_enqueued_in_head; + if ( 'css' === $extension ) { + $concatenate = get_rocket_option( 'minify_concatenate_css', false ) ? true : false; + // Get all css files with this regex. + preg_match_all( apply_filters( 'rocket_minify_css_regex_pattern', '//iU' ), $buffer, $tags_match, PREG_SET_ORDER ); + } + + if ( 'js' === $extension ) { + $js_files_in_head = ''; + $concatenate = get_rocket_option( 'minify_concatenate_js', false ) ? true : false; + if ( $rocket_js_enqueued_in_head && is_array( $rocket_js_enqueued_in_head ) ) { + $js_files_in_head = implode( '|', $rocket_js_enqueued_in_head ); + } + + // Get all js files with this regex. + preg_match_all( apply_filters( 'rocket_minify_js_regex_pattern', '#]+?src=[\'|"]([^\'|"]+\.js?.+)[\'|"].*>(?:<\/script>)#iU' ), $buffer, $tags_match, PREG_SET_ORDER ); + } + + $original_buffer = $buffer; + $files = array(); + $excluded_files = array(); + $external_js_files = array(); + + foreach ( $tags_match as $tag ) { + // Don't minify external files. + if ( is_rocket_external_file( $tag[1], $extension ) ) { + if ( 'js' === $extension && $concatenate ) { + $host = rocket_extract_url_component( $tag[1], PHP_URL_HOST ); + $excluded_external_js = get_rocket_minify_excluded_external_js(); + if ( ! isset( $excluded_external_js[ $host ] ) ) { + $external_js_files[] = $tag[0]; + } + } + continue; + } + + // Don't minify excluded files. + if ( is_rocket_minify_excluded_file( $tag, $extension ) ) { + if ( $concatenate && 'js' === $extension && get_rocket_option( 'defer_all_js' ) && get_rocket_option( 'defer_all_js_safe' ) && false !== strpos( $tag[1], $wp_scripts->registered['jquery-core']->src ) ) { + if ( get_rocket_option( 'remove_query_strings' ) ) { + $external_js_files['jquery-cache-busting'] = str_replace( $tag[1], get_rocket_browser_cache_busting( $tag[1], 'script_loader_src' ), $tag[0] ); + $buffer = str_replace( $tag[0], $external_js_files['jquery-cache-busting'], $buffer ); + } else { + $external_js_files[] = $tag[0]; + } + + continue; + } + + $excluded_files[] = $tag; + continue; + } + + if ( $concatenate ) { + if ( 'js' === $extension ) { + $file_path = rocket_clean_exclude_file( $tag[1] ); + + if ( ! empty( $js_files_in_head ) && preg_match( '#(' . $js_files_in_head . ')#', $file_path ) ) { + $files['header'][] = strtok( $tag[1], '?' ); + } else { + $files['footer'][] = strtok( $tag[1], '?' ); + } + } else { + $files[] = strtok( $tag[1], '?' ); + } + + $buffer = str_replace( $tag[0], '', $buffer ); + continue; + } + + // Don't minify if file is already minified. + if ( preg_match( '/(?:-|\.)min.' . $extension . '/iU', $tag[1] ) ) { + $excluded_files[] = $tag; + continue; + } + + // Don't minify jQuery included in WP core since it's already minified but without .min in the filename. + if ( ! empty( $wp_scripts->registered['jquery-core']->src ) && false !== strpos( $tag[1], $wp_scripts->registered['jquery-core']->src ) ) { + $excluded_files[] = $tag; + continue; + } + + $files[] = $tag; + } + + if ( get_rocket_option( 'remove_query_strings' ) ) { + foreach ( $excluded_files as $tag ) { + if ( 'css' === $extension ) { + $tag_cache_busting = str_replace( $tag[1], get_rocket_browser_cache_busting( $tag[1], 'style_loader_src' ), $tag[0] ); + } + + if ( 'js' === $extension ) { + $tag_cache_busting = str_replace( $tag[1], get_rocket_browser_cache_busting( $tag[1], 'script_loader_src' ), $tag[0] ); + } + + $buffer = str_replace( $tag[0], $tag_cache_busting, $buffer ); + } + } + + if ( empty( $files ) ) { + return $buffer; + } + + if ( ! $concatenate ) { + foreach ( $files as $tag ) { + $minify_url = get_rocket_minify_url( $tag[1], $extension ); + + if ( ! $minify_url ) { + continue; + } + + $minify_tag = str_replace( $tag[1], $minify_url, $tag[0] ); + + if ( 'css' === $extension ) { + $minify_tag = str_replace( $tag[2], ' data-minify="1" ' . $tag[2], $minify_tag ); + } + + if ( 'js' === $extension ) { + $minify_tag = str_replace( '>', ' data-minify="1">', $minify_tag ); + } + + $buffer = str_replace( $tag[0], $minify_tag, $buffer ); + } + + return $buffer; + } + + if ( 'js' === $extension ) { + $minify_header_url = get_rocket_minify_url( $files['header'], $extension ); + $minify_url = get_rocket_minify_url( $files['footer'], $extension ); + + if ( ! $minify_header_url && ! $minify_url ) { + return $original_buffer; + } + + foreach ( $external_js_files as $external_js_file ) { + $buffer = str_replace( $external_js_file, '', $buffer ); + } + + $minify_header_tag = ''; + $buffer = preg_replace( '//U', '' . implode( '', $external_js_files ) . $minify_header_tag, $buffer, 1 ); + + $minify_tag = ''; + return str_replace( '', $minify_tag . '', $buffer ); + + } + + if ( 'css' === $extension ) { + $minify_url = get_rocket_minify_url( $files, $extension ); + + if ( ! $minify_url ) { + return $original_buffer; + } + + $minify_tag = ''; + return preg_replace( '//U', '' . $minify_tag, $buffer, 1 ); + } + } +} + +if ( ! function_exists( 'is_rocket_external_file' ) ) { + /** + * Determines if the file is external + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $url URL of the file. + * @param string $extension File extension. + * @return bool True if external, false otherwise + */ + function is_rocket_external_file( $url, $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + $file = get_rocket_parse_url( $url ); + $wp_content = get_rocket_parse_url( WP_CONTENT_URL ); + $hosts = get_rocket_cnames_host( array( 'all', 'css_and_js', $extension ) ); + $hosts[] = $wp_content['host']; + $langs = get_rocket_i18n_uri(); + + // Get host for all langs. + if ( $langs ) { + foreach ( $langs as $lang ) { + $hosts[] = rocket_extract_url_component( $lang, PHP_URL_HOST ); + } + } + + $hosts_index = array_flip( array_unique( $hosts ) ); + + // URL has domain and domain is not part of the internal domains. + if ( isset( $file['host'] ) && ! empty( $file['host'] ) && ! isset( $hosts_index[ $file['host'] ] ) ) { + return true; + } + + // URL has no domain and doesn't contain the WP_CONTENT path or wp-includes. + if ( ! isset( $file['host'] ) && ! preg_match( '#(' . $wp_content['path'] . '|wp-includes)#', $file['path'] ) ) { + return true; + } + + return false; + } +} + +if ( ! function_exists( 'is_rocket_minify_excluded_file' ) ) { + /** + * Determines if it is a file excluded from minification + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param array $tag Array containing the matches from the regex. + * @param string $extension File extension. + * @return bool True if it is a file excluded, false otherwise + */ + function is_rocket_minify_excluded_file( $tag, $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + // File should not be minified. + if ( false !== strpos( $tag[0], 'data-minify=' ) || false !== strpos( $tag[0], 'data-no-minify=' ) ) { + return true; + } + + if ( 'css' === $extension ) { + // CSS file media attribute is not all or screen. + if ( false !== strpos( $tag[0], 'media=' ) && ! preg_match( '/media=["\'](?:["\']|[^"\']*?(all|screen)[^"\']*?["\'])/iU', $tag[0] ) ) { + return true; + } + + if ( false !== strpos( $tag[0], 'only screen and' ) ) { + return true; + } + } + + $file_path = rocket_extract_url_component( $tag[1], PHP_URL_PATH ); + + // File extension is not .css or .js. + if ( pathinfo( $file_path, PATHINFO_EXTENSION ) !== $extension ) { + return true; + } + + $excluded_files = get_rocket_exclude_files( $extension ); + + if ( ! empty( $excluded_files ) ) { + foreach ( $excluded_files as $i => $excluded_file ) { + $excluded_files[ $i ] = str_replace( '#', '\#', $excluded_file ); + } + + $excluded_files = implode( '|', $excluded_files ); + + // File is excluded from minification/concatenation. + if ( preg_match( '#^(' . $excluded_files . ')$#', $file_path ) ) { + return true; + } + } + + return false; + } +} + +if ( ! function_exists( 'get_rocket_minify_url' ) ) { + /** + * Creates the minify URL if the minification is successful + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string|array $files Original file(s) URL(s). + * @param string $extension File(s) extension. + * @return string|bool The minify URL if successful, false otherwise + */ + function get_rocket_minify_url( $files, $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( empty( $files ) ) { + return false; + } + + $hosts = get_rocket_cnames_host( array( 'all', 'css_and_js', $extension ) ); + $hosts['home'] = rocket_extract_url_component( home_url(), PHP_URL_HOST ); + $hosts_index = array_flip( $hosts ); + $minify_key = get_rocket_option( 'minify_' . $extension . '_key', create_rocket_uniqid() ); + + if ( is_string( $files ) ) { + $file = get_rocket_parse_url( $files ); + $file_path = rocket_url_to_path( strtok( $files, '?' ), $hosts_index ); + $unique_id = md5( $files . $minify_key ); + $filename = preg_replace( '/\.(' . $extension . ')$/', '-' . $unique_id . '.' . $extension, ltrim( rocket_realpath( $file['path'] ), '/' ) ); + } else { + foreach ( $files as $file ) { + $file_path[] = rocket_url_to_path( $file, $hosts_index ); + } + + $files_hash = implode( ',', $files ); + $filename = md5( $files_hash . $minify_key ) . '.' . $extension; + } + + $minified_file = WP_ROCKET_MINIFY_CACHE_PATH . get_current_blog_id() . '/' . $filename; + + if ( ! file_exists( $minified_file ) ) { + $minified_content = rocket_minify( $file_path, $extension ); + + if ( ! $minified_content ) { + return false; + } + + $minify_filepath = rocket_write_minify_file( $minified_content, $minified_file ); + + if ( ! $minify_filepath ) { + return false; + } + } + + $minify_url = get_rocket_cdn_url( WP_ROCKET_MINIFY_CACHE_URL . get_current_blog_id() . '/' . $filename, array( 'all', 'css_and_js', $extension ) ); + + if ( 'css' === $extension ) { + /** + * Filters CSS file URL with CDN hostname + * + * @since 2.1 + * + * @param string $minify_url Minified file URL. + */ + return apply_filters( 'rocket_css_url', $minify_url ); + } + + if ( 'js' === $extension ) { + /** + * Filters JavaScript file URL with CDN hostname + * + * @since 2.1 + * + * @param string $minify_url Minified file URL. + */ + return apply_filters( 'rocket_js_url', $minify_url ); + + } + } +} + +if ( ! function_exists( 'rocket_minify' ) ) { + /** + * Minifies the content + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string|array $files File(s) to minify. + * @param string $extension File(s) extension. + * @return string|bool Minified content, false if empty + */ + function rocket_minify( $files, $extension ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( 'css' === $extension ) { + $minify = new Minify\CSS(); + } elseif ( 'js' === $extension ) { + $minify = new Minify\JS(); + } + + $files = (array) $files; + + foreach ( $files as $file ) { + $file_content = rocket_direct_filesystem()->get_contents( $file ); + if ( 'css' === $extension ) { + /** + * Filters the Document Root path to use during CSS minification to rewrite paths + * + * @since 2.7 + * + * @param string The Document Root path. + */ + $document_root = apply_filters( 'rocket_min_documentRoot', ABSPATH ); + + $file_content = rocket_cdn_css_properties( Minify_CSS_UriRewriter::rewrite( $file_content, dirname( $file ), $document_root ) ); + } + + $minify->add( $file_content ); + } + + $minified_content = $minify->minify(); + + if ( empty( $minified_content ) ) { + return false; + } + + return $minified_content; + } +} + +if ( ! function_exists( 'rocket_write_minify_file' ) ) { + /** + * Writes the minified content to a file + * + * @since 2.11 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $content Minified content. + * @param string $minified_file Path to the minified file to write in. + * @return bool True if successful, false otherwise + */ + function rocket_write_minify_file( $content, $minified_file ) { + _deprecated_function( __FUNCTION__, '3.1' ); + + if ( file_exists( $minified_file ) ) { + return true; + } + + if ( ! rocket_mkdir_p( dirname( $minified_file ) ) ) { + return false; + } + + return rocket_put_content( $minified_file, $content ); + } +} + +if ( ! function_exists( 'get_rocket_minify_excluded_external_js' ) ) { + /** + * Get all JS externals files to exclude of the minification process + * + * @since 2.6 + * @deprecated 3.1 + * + * @return array Array of excluded external JS + */ + function get_rocket_minify_excluded_external_js() { + _deprecated_function( __FUNCTION__, '3.1' ); + + /** + * Filters JS externals files to exclude from the minification process (do not move into the header) + * + * @since 2.2 + * + * @param array $hostnames Hostname of JS files to exclude. + */ + $excluded_external_js = apply_filters( + 'rocket_minify_excluded_external_js', array( + 'forms.aweber.com', + 'video.unrulymedia.com', + 'gist.github.com', + 'stats.wp.com', + 'stats.wordpress.com', + 'www.statcounter.com', + 'widget.rafflecopter.com', + 'widget-prime.rafflecopter.com', + 'widget.supercounters.com', + 'releases.flowplayer.org', + 'tools.meetaffiliate.com', + 'c.ad6media.fr', + 'cdn.stickyadstv.com', + 'www.smava.de', + 'contextual.media.net', + 'app.getresponse.com', + 'ap.lijit.com', + 'adserver.reklamstore.com', + 's0.wp.com', + 'wprp.zemanta.com', + 'files.bannersnack.com', + 'smarticon.geotrust.com', + 'js.gleam.io', + 'script.ioam.de', + 'ir-na.amazon-adsystem.com', + 'web.ventunotech.com', + 'verify.authorize.net', + 'ads.themoneytizer.com', + 'embed.finanzcheck.de', + 'imagesrv.adition.com', + 'js.juicyads.com', + 'form.jotformeu.com', + 'speakerdeck.com', + 'content.jwplatform.com', + 'ads.investingchannel.com', + 'app.ecwid.com', + 'www.industriejobs.de', + 's.gravatar.com', + 'cdn.jsdelivr.net', + 'cdnjs.cloudflare.com', + 'code.jquery.com', + ) + ); + + return array_flip( $excluded_external_js ); + } +} + +if ( ! function_exists( 'rocket_cache_dynamic_resource' ) ) { + /** + * Create a static file for dynamically generated CSS/JS from PHP + * + * @since 2.9 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $src dynamic CSS/JS file URL. + * @return string URL of the generated static file + */ + function rocket_cache_dynamic_resource( $src ) { + _deprecated_function( __FUNCTION__, '3.1' ); + global $pagenow; + + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $src; + } + + if ( is_user_logged_in() && ! get_rocket_option( 'cache_logged_user' ) ) { + return $src; + } + + if ( 'wp-login.php' === $pagenow ) { + return $src; + } + + if ( false === strpos( $src, '.php' ) ) { + return $src; + } + + /** + * Filters files to exclude from static dynamic resources + * + * @since 2.9.3 + * @author Remy Perona + * + * @param array $excluded_files An array of filepath to exclude. + */ + $excluded_files = apply_filters( 'rocket_exclude_static_dynamic_resources', array() ); + $excluded_files[] = '/wp-admin/admin-ajax.php'; + $excluded_files = array_flip( $excluded_files ); + + if ( isset( $excluded_files[ rocket_clean_exclude_file( $src ) ] ) ) { + return $src; + } + + $full_src = ( substr( $src, 0, 2 ) === '//' ) ? rocket_add_url_protocol( $src ) : $src; + + $current_filter = current_filter(); + + switch ( $current_filter ) { + case 'script_loader_src': + $extension = 'js'; + $minify_key = get_rocket_option( 'minify_js_key' ); + break; + case 'style_loader_src': + $extension = 'css'; + $minify_key = get_rocket_option( 'minify_css_key' ); + break; + } + + $hosts = get_rocket_cnames_host( array( 'all', 'css_and_js', $extension ) ); + $hosts[] = rocket_extract_url_component( home_url(), PHP_URL_HOST ); + $hosts_index = array_flip( $hosts ); + $file = get_rocket_parse_url( $full_src ); + $file['query'] = remove_query_arg( 'ver', $file['query'] ); + + if ( $file['query'] ) { + return $src; + } + + if ( '' === $file['host'] ) { + $full_src = home_url() . $src; + } + + if ( strpos( $full_src, '://' ) !== false && ! isset( $hosts_index[ $file['host'] ] ) ) { + return $src; + } + + $relative_src = ltrim( $file['path'], '/' ); + $abspath_src = rocket_url_to_path( strtok( $full_src, '?' ), $hosts_index ); + + /* + * Filters the dynamic resource cache filename + * + * @since 2.9 + * @author Remy Perona + * + * @param string $filename filename for the cache file + */ + $cache_dynamic_resource_filename = apply_filters( 'rocket_dynamic_resource_cache_filename', preg_replace( '/\.(php)$/', '-' . $minify_key . '.' . $extension, $relative_src ) ); + $cache_busting_paths = rocket_get_cache_busting_paths( $cache_dynamic_resource_filename, $extension ); + + if ( file_exists( $cache_busting_paths['filepath'] ) && is_readable( $cache_busting_paths['filepath'] ) ) { + return $cache_busting_paths['url']; + } + + if ( rocket_fetch_and_cache_busting( $full_src, $cache_busting_paths, $abspath_src, $current_filter ) ) { + return $cache_busting_paths['url']; + } + + return $src; + } +} + +if ( ! function_exists( 'rocket_browser_cache_busting' ) ) { + /** + * Wrapper for get_rocket_browser_cache_busting except when minification is active. + * + * @since 2.9 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $src CSS/JS file URL. + * @return string updated CSS/JS file URL. + */ + function rocket_browser_cache_busting( $src ) { + _deprecated_function( __FUNCTION__, '3.1' ); + $current_filter = current_filter(); + + if ( 'style_loader_src' === $current_filter && get_rocket_option( 'minify_css' ) && ( ! defined( 'DONOTMINIFYCSS' ) || ! DONOTMINIFYCSS ) && ! is_rocket_post_excluded_option( 'minify_css' ) ) { + return $src; + } + + if ( 'script_loader_src' === $current_filter && get_rocket_option( 'minify_js' ) && ( ! defined( 'DONOTMINIFYJS' ) || ! DONOTMINIFYJS ) && ! is_rocket_post_excluded_option( 'minify_js' ) ) { + return $src; + } + + return get_rocket_browser_cache_busting( $src, $current_filter ); + } +} + +if ( ! function_exists( 'get_rocket_browser_cache_busting' ) ) { + /** + * Create a cache busting file with the version in the filename + * + * @since 2.9 + * @deprecated 3.1 + * @author Remy Perona + * + * @param string $src CSS/JS file URL. + * @param string $current_filter Current WordPress filter. + * @return string updated CSS/JS file URL + */ + function get_rocket_browser_cache_busting( $src, $current_filter = '' ) { + _deprecated_function( __FUNCTION__, '3.1' ); + global $pagenow; + + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $src; + } + + if ( ! get_rocket_option( 'remove_query_strings' ) ) { + return $src; + } + + if ( is_user_logged_in() && ! get_rocket_option( 'cache_logged_user', 0 ) ) { + return $src; + } + + if ( 'wp-login.php' === $pagenow ) { + return $src; + } + + if ( false === strpos( $src, '.css' ) && false === strpos( $src, '.js' ) ) { + return $src; + } + + if ( false !== strpos( $src, 'ver=' . $GLOBALS['wp_version'] ) ) { + $src = rtrim( str_replace( array( 'ver=' . $GLOBALS['wp_version'], '?&', '&&' ), array( '', '?', '&' ), $src ), '?&' ); + } + + /** + * Filters files to exclude from cache busting + * + * @since 2.9.3 + * @author Remy Perona + * + * @param array $excluded_files An array of filepath to exclude. + */ + $excluded_files = apply_filters( 'rocket_exclude_cache_busting', array() ); + $excluded_files = implode( '|', $excluded_files ); + + if ( preg_match( '#^(' . $excluded_files . ')$#', rocket_clean_exclude_file( $src ) ) ) { + return $src; + } + + if ( empty( $current_filter ) ) { + $current_filter = current_filter(); + } + + $full_src = ( substr( $src, 0, 2 ) === '//' ) ? rocket_add_url_protocol( $src ) : $src; + + switch ( $current_filter ) { + case 'script_loader_src': + $extension = 'js'; + break; + case 'style_loader_src': + $extension = 'css'; + break; + } + + $hosts = get_rocket_cnames_host( array( 'all', 'css_and_js', $extension ) ); + $hosts['home'] = rocket_extract_url_component( home_url(), PHP_URL_HOST ); + $hosts_index = array_flip( $hosts ); + $file = get_rocket_parse_url( $full_src ); + + if ( '' === $file['host'] ) { + $full_src = home_url() . $src; + } + + if ( false !== strpos( $full_src, '://' ) && ! isset( $hosts_index[ $file['host'] ] ) ) { + return $src; + } + + if ( empty( $file['query'] ) ) { + return $src; + } + + $relative_src = ltrim( $file['path'] . '?' . $file['query'], '/' ); + $abspath_src = rocket_url_to_path( strtok( $full_src, '?' ), $hosts_index ); + $cache_busting_filename = preg_replace( '/\.(js|css)\?(?:timestamp|ver)=([^&]+)(?:.*)/', '-$2.$1', $relative_src ); + + if ( $cache_busting_filename === $relative_src ) { + return $src; + } + + /* + * Filters the cache busting filename + * + * @since 2.9 + * @author Remy Perona + * + * @param string $filename filename for the cache busting file + */ + $cache_busting_filename = apply_filters( 'rocket_cache_busting_filename', $cache_busting_filename ); + $cache_busting_paths = rocket_get_cache_busting_paths( $cache_busting_filename, $extension ); + + if ( file_exists( $cache_busting_paths['filepath'] ) && is_readable( $cache_busting_paths['filepath'] ) ) { + return $cache_busting_paths['url']; + } + + if ( rocket_fetch_and_cache_busting( $abspath_src, $cache_busting_paths, $abspath_src, $current_filter ) ) { + return $cache_busting_paths['url']; + } + + return $src; + } +} + +if ( ! function_exists( 'rocket_dns_prefetch_buffer' ) ) { + /** + * Inserts html code for domain names to DNS prefetch in the buffer before creating the cache file + * + * @since 2.0 + * @deprecated 3.1 + * @author Jonathan Buttigieg + * + * @param String $buffer HTML content. + * @return String Updated buffer + */ + function rocket_dns_prefetch_buffer( $buffer ) { + _deprecated_function( __FUNCTION__, '3.1' ); + $dns_link_tags = ''; + $domains = rocket_get_dns_prefetch_domains(); + + if ( (bool) $domains ) { + foreach ( $domains as $domain ) { + $dns_link_tags .= ''; + } + } + + $old_ie_conditional_tag = ''; + + /** + * Allow to print an empty IE conditional tag to speed up old IE versions to load CSS & JS files + * + * @since 2.6.5 + * + * @param bool true will print the IE conditional tag + */ + if ( apply_filters( 'do_rocket_old_ie_prefetch_conditional_tag', true ) ) { + $old_ie_conditional_tag = ''; + } + + // Insert all DNS prefecth tags in head. + $buffer = preg_replace( '//', '' . $old_ie_conditional_tag . $dns_link_tags, $buffer, 1 ); + + return $buffer; + } +} diff --git a/inc/deprecated/subscriber/Optimization/class-dequeue-jquery-migrate-subscriber.php b/inc/deprecated/subscriber/Optimization/class-dequeue-jquery-migrate-subscriber.php new file mode 100644 index 0000000..1f7eacf --- /dev/null +++ b/inc/deprecated/subscriber/Optimization/class-dequeue-jquery-migrate-subscriber.php @@ -0,0 +1,88 @@ +options = $options; + } + + /** + * {@inheritdoc} + */ + public static function get_subscribed_events() { + return [ + 'wp_default_scripts' => [ 'dequeue_jquery_migrate' ], + ]; + } + + /** + * Dequeue jquery migrate + * + * @since 3.5 + * @author Soponar Cristina + * + * @param WP_Scripts $scripts WP_Scripts instance. + * @return bool|void + */ + public function dequeue_jquery_migrate( $scripts ) { + if ( ! $this->is_allowed() ) { + return false; + } + + if ( ! empty( $scripts->registered['jquery'] ) ) { + $jquery_dependencies = $scripts->registered['jquery']->deps; + $scripts->registered['jquery']->deps = array_diff( $jquery_dependencies, [ 'jquery-migrate' ] ); + } + } + + /** + * Check if dequeue jquery migrate option is enabled + * + * @since 3.5 + * @author Soponar Cristina + * + * @return boolean + */ + protected function is_allowed() { + if ( rocket_get_constant( 'DONOTROCKETOPTIMIZE', false ) ) { + return false; + } + + if ( ! $this->options->get( 'dequeue_jquery_migrate' ) ) { + return false; + } + + return true; + } +} diff --git a/inc/deprecated/subscriber/admin/Optimization/class-minify-html-subscriber.php b/inc/deprecated/subscriber/admin/Optimization/class-minify-html-subscriber.php new file mode 100644 index 0000000..8d1de45 --- /dev/null +++ b/inc/deprecated/subscriber/admin/Optimization/class-minify-html-subscriber.php @@ -0,0 +1,113 @@ +options = $options; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.1 + * @author Remy Perona + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'rocket_buffer' => [ 'process', 14 ], + ]; + } + + /** + * Minifies HTML + * + * @since 3.1 + * @author Remy Perona + * + * @param string $html HTML content. + * @return string + */ + public function process( $html ) { + if ( defined( 'DONOTROCKETOPTIMIZE' ) && DONOTROCKETOPTIMIZE ) { + return $html; + } + + if ( ! $this->options->get( 'minify_html' ) || \is_rocket_post_excluded_option( 'minify_html' ) ) { + return $html; + } + + $html_options = [ + 'cssMinifier' => [ $this, 'minify_inline_css' ], + ]; + + /** + * Filter options of minify inline HTML + * + * @since 1.1.12 + * + * @param array $html_options Options of minify inline HTML. + */ + $html_options = apply_filters( 'rocket_minify_html_options', $html_options ); + + return \Minify_HTML::minify( $html, $html_options ); + } + + /** + * Minifies inline CSS + * + * @since 1.1.6 + * + * @param string $css HTML content. + * @return string + */ + public function minify_inline_css( $css ) { + $minify = new Minify\CSS( $css ); + return $minify->minify(); + } + + /** + * Minifies inline JavaScript + * + * @since 1.1.6 + * + * @param string $javascript HTML content. + * @return string + */ + public function minify_inline_js( $javascript ) { + $minify = new Minify\JS( $javascript ); + return $minify->minify(); + } +} diff --git a/inc/deprecated/subscriber/admin/Settings/class-beacon-subscriber.php b/inc/deprecated/subscriber/admin/Settings/class-beacon-subscriber.php new file mode 100644 index 0000000..ec73b94 --- /dev/null +++ b/inc/deprecated/subscriber/admin/Settings/class-beacon-subscriber.php @@ -0,0 +1,58 @@ +beacon = $beacon; + } + + /** + * Return an array of events that this subscriber wants to listen to. + * + * @since 3.2 + * @author Remy Perona + * + * @return array + */ + public static function get_subscribed_events() { + return [ + 'admin_print_footer_scripts-settings_page_wprocket' => 'insert_script', + ]; + } + + /** + * Insert HelpScout Beacon script + * + * @since 3.0 + * @author Remy Perona + * + * @return void + */ + public function insert_script() { + echo $this->beacon->insert_script(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. + } +} diff --git a/inc/deprecated/vendors/classes/class-minify-html.php b/inc/deprecated/vendors/classes/class-minify-html.php new file mode 100644 index 0000000..3c6aff5 --- /dev/null +++ b/inc/deprecated/vendors/classes/class-minify-html.php @@ -0,0 +1,308 @@ + + */ +class Minify_HTML +{ + use DeprecatedClassTrait; + + /** + * @var boolean + */ + protected $_jsCleanComments = true; + + /** + * "Minify" an HTML page + * + * @param string $html + * + * @param array $options + * + * 'cssMinifier' : (optional) callback function to process content of STYLE + * elements. + * + * 'jsMinifier' : (optional) callback function to process content of SCRIPT + * elements. Note: the type attribute is ignored. + * + * 'xhtml' : (optional boolean) should content be treated as XHTML1.0? If + * unset, minify will sniff for an XHTML doctype. + * + * @return string + */ + public static function minify($html, $options = array()) + { + $min = new self($html, $options); + + return $min->process(); + } + + /** + * Create a minifier object + * + * @param string $html + * + * @param array $options + * + * 'cssMinifier' : (optional) callback function to process content of STYLE + * elements. + * + * 'jsMinifier' : (optional) callback function to process content of SCRIPT + * elements. Note: the type attribute is ignored. + * + * 'jsCleanComments' : (optional) whether to remove HTML comments beginning and end of script block + * + * 'xhtml' : (optional boolean) should content be treated as XHTML1.0? If + * unset, minify will sniff for an XHTML doctype. + */ + public function __construct($html, $options = array()) + { + self::deprecated_class( '3.7' ); + + $this->_html = str_replace("\r\n", "\n", trim($html)); + if (isset($options['xhtml'])) { + $this->_isXhtml = (bool)$options['xhtml']; + } + if (isset($options['cssMinifier'])) { + $this->_cssMinifier = $options['cssMinifier']; + } + if (isset($options['jsMinifier'])) { + $this->_jsMinifier = $options['jsMinifier']; + } + if (isset($options['jsCleanComments'])) { + $this->_jsCleanComments = (bool)$options['jsCleanComments']; + } + } + + /** + * Minify the markeup given in the constructor + * + * @return string + */ + public function process() + { + if ($this->_isXhtml === null) { + $this->_isXhtml = (false !== strpos($this->_html, '_replacementHash = 'MINIFYHTML' . md5($_SERVER['REQUEST_TIME']); + $this->_placeholders = array(); + + // replace SCRIPTs (and minify) with placeholders + // preg_replace_callback - on errors the return is NULL + // On big scripts PREG_BACKTRACK_LIMIT_ERROR is reached and causes the empty page + $pregJs = preg_replace_callback( + '/(\\s*)]*?>)([\\s\\S]*?)<\\/script>(\\s*)/i' + ,array($this, '_removeScriptCB') + ,$this->_html); + + if ( isset($pregJs) && ! empty( $pregJs ) ) { + $this->_html = $pregJs; + } + + // replace STYLEs (and minify) with placeholders + // preg_replace_callback - on errors the return is NULL + // On big scripts PREG_BACKTRACK_LIMIT_ERROR is reached and causes the empty page + $pregCSS = preg_replace_callback( + '/\\s*]*>)([\\s\\S]*?)<\\/style>\\s*/i' + ,array($this, '_removeStyleCB') + ,$this->_html); + + if ( isset( $pregCSS ) && ! empty( $pregCSS ) ) { + $this->_html = $pregCSS; + } + + // remove HTML comments (not containing IE conditional comments). + $this->_html = preg_replace_callback( + '//' + ,array($this, '_commentCB') + ,$this->_html); + + // replace PREs with placeholders + $this->_html = preg_replace_callback('/\\s*]*?>[\\s\\S]*?<\\/pre>)\\s*/i' + ,array($this, '_removePreCB') + ,$this->_html); + + // replace TEXTAREAs with placeholders + $this->_html = preg_replace_callback( + '/\\s*]*?>[\\s\\S]*?<\\/textarea>)\\s*/i' + ,array($this, '_removeTextareaCB') + ,$this->_html); + + // trim each line. + // @todo take into account attribute values that span multiple lines. + // Fixed attribute values which span on multiple lines. Causes double spaces " " + $this->_html = preg_replace('/^\s+|\s+$/m', ' ', $this->_html); + // Fixed double spaces. Replaced with a single space + $this->_html = preg_replace('/\s+/', ' ', $this->_html); + + // remove ws around block/undisplayed elements + $this->_html = preg_replace('/\\s+(<\\/?(?:area|article|aside|base(?:font)?|blockquote|body' + .'|canvas|caption|center|col(?:group)?|dd|dir|div|dl|dt|fieldset|figcaption|figure|footer|form' + .'|frame(?:set)?|h[1-6]|head|header|hgroup|hr|html|legend|li|link|main|map|menu|meta|nav' + .'|ol|opt(?:group|ion)|output|p|param|section|t(?:able|body|head|d|h||r|foot|itle)' + .'|ul|video)\\b[^>]*>)/i', '$1', $this->_html); + + // remove ws outside of all elements + $this->_html = preg_replace_callback( + '/>([^<]+)_html); + + // fill placeholders + $this->_html = str_replace( + array_keys($this->_placeholders) + ,array_values($this->_placeholders) + ,$this->_html + ); + // issue 229: multi-pass to catch scripts that didn't get replaced in textareas + $this->_html = str_replace( + array_keys($this->_placeholders) + ,array_values($this->_placeholders) + ,$this->_html + ); + + return $this->_html; + } + + protected function _commentCB($m) + { + return + ( + false !== strpos($m[1], 'fwp-loop') + || + false !== strpos($m[1], 'ngg_resource_manager_marker') + || + 0 === strpos($m[1], '[') + || + false !== strpos($m[1], '_replacementHash . count($this->_placeholders) . '%'; + $this->_placeholders[$placeholder] = $content; + + return $placeholder; + } + + protected $_isXhtml = null; + protected $_replacementHash = null; + protected $_placeholders = array(); + protected $_cssMinifier = null; + protected $_jsMinifier = null; + + protected function _outsideTagCB($m) + { + return '>' . preg_replace('/^\\s+|\\s+$/', ' ', $m[1]) . '<'; + } + + protected function _removePreCB($m) + { + return $this->_reservePlace("_reservePlace("\\s*$)/u', '', $css); + + // remove CDATA section markers + $data = $this->_removeCdata($css); + + // minify + $minifier = $this->_cssMinifier + ? $this->_cssMinifier + : 'trim'; + $css = call_user_func($minifier, $data['content']); + + return $this->_reservePlace( $data['cdata'] + ? "{$openStyle}/* */" + : "{$openStyle}{$css}" + ); + } + + protected function _removeScriptCB($m) + { + $openScript = "_jsCleanComments) { + $js = preg_replace('/(?:^\\s*\\s*$)/u', '', $js); + } + + // remove CDATA section markers + $data = $this->_removeCdata($js); + + // minify + $minifier = $this->_jsMinifier + ? $this->_jsMinifier + : 'trim'; + $js = call_user_func($minifier, $data['content']); + + return $this->_reservePlace($data['cdata'] + ? "{$ws1}{$openScript}/* */{$ws2}" + : "{$ws1}{$openScript}{$js}{$ws2}" + ); + } + + protected function _removeCdata($str) + { + $data = array(); + + if ( false !== strpos( $str, ' */' ), '', $str ); + $data['cdata'] = true; + + } else { + $data['content'] = $str; + $data['cdata'] = false; + } + + return $data; + } + +} diff --git a/inc/domain-mapping.php b/inc/domain-mapping.php new file mode 100644 index 0000000..4eb16e0 --- /dev/null +++ b/inc/domain-mapping.php @@ -0,0 +1,57 @@ +' . $error . '

    '; + } + + ?> +
    +

    + +

    + +
    + ID : $uid; + $actual = get_user_meta( $uid, 'rocket_boxes', true ); + + if ( $actual && false !== array_search( $function, $actual, true ) ) { + unset( $actual[ array_search( $function, $actual, true ) ] ); + update_user_meta( $uid, 'rocket_boxes', $actual ); + } +} + +/** + * Dismiss one box. + * + * @since 1.3.0 + * @since 3.6 Doesn’t die anymore. + * + * @param string $function Function (box) name. + */ +function rocket_dismiss_box( $function ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.functionFound + $actual = get_user_meta( get_current_user_id(), 'rocket_boxes', true ); + $actual = array_merge( (array) $actual, [ $function ] ); + $actual = array_filter( $actual ); + $actual = array_unique( $actual ); + + update_user_meta( get_current_user_id(), 'rocket_boxes', $actual ); + delete_transient( $function ); +} + +/** + * Create a unique id for some Rocket options and functions + * + * @since 2.1 + */ +function create_rocket_uniqid() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + return str_replace( '.', '', uniqid( '', true ) ); +} + +/** + * Gets names of all active plugins. + * + * @since 2.11 Only get the name + * @since 2.6 + * + * @return array An array of active plugins names. + */ +function rocket_get_active_plugins() { + $plugins = []; + $active_plugins = array_intersect_key( get_plugins(), array_flip( array_filter( array_keys( get_plugins() ), 'is_plugin_active' ) ) ); + + foreach ( $active_plugins as $plugin ) { + $plugins[] = $plugin['Name']; + } + + return $plugins; +} + +/** + * Check if the whole website is on the SSL protocol + * + * @since 3.3.6 Use the superglobal $_SERVER values to detect SSL. + * @since 2.7 + */ +function rocket_is_ssl_website() { + if ( isset( $_SERVER['HTTPS'] ) ) { + $https = sanitize_text_field( wp_unslash( $_SERVER['HTTPS'] ) ); + + if ( 'on' === strtolower( $https ) ) { + return true; + } + + if ( '1' === (string) $https ) { + return true; + } + } elseif ( isset( $_SERVER['SERVER_PORT'] ) && '443' === (string) sanitize_text_field( wp_unslash( $_SERVER['SERVER_PORT'] ) ) ) { + return true; + } + + return false; +} + +/** + * Get the WP Rocket documentation URL + * + * @since 2.7 + */ +function get_rocket_documentation_url() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $langs = [ + 'fr_FR' => 'fr.', + ]; + $lang = get_locale(); + $prefix = isset( $langs[ $lang ] ) ? $langs[ $lang ] : ''; + $url = "https://{$prefix}docs.wp-rocket.me/?utm_source=wp_plugin&utm_medium=wp_rocket"; + + return $url; +} + +/** + * Get WP Rocket FAQ URL + * + * @since 2.10 + * @author Remy Perona + * + * @return string URL in the correct language + */ +function get_rocket_faq_url() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $langs = [ + 'de' => 1, + 'es' => 1, + 'fr' => 1, + 'it' => 1, + ]; + $locale = explode( '_', get_locale() ); + $lang = isset( $langs[ $locale[0] ] ) ? $locale[0] . '/' : ''; + $url = WP_ROCKET_WEB_MAIN . "{$lang}faq/?utm_source=wp_plugin&utm_medium=wp_rocket"; + + return $url; +} + +/** + * Get the Activation Link for a given plugin + * + * @since 2.7.3 + * @author Geoffrey Crofte + * + * @param string $plugin the given plugin folder/file.php (e.i. "imagify/imagify.php"). + * @return string URL to activate the plugin + */ +function rocket_get_plugin_activation_link( $plugin ) { + $activation_url = wp_nonce_url( 'plugins.php?action=activate&plugin=' . $plugin . '&plugin_status=all&paged=1&s', 'activate-plugin_' . $plugin ); + + return $activation_url; +} + +/** + * Check if a given plugin is installed but not necessarily activated + * Note: get_plugins( $folder ) from WP Core doesn't work + * + * @since 2.7.3 + * @author Geoffrey Crofte + * + * @param string $plugin a plugin folder/file.php (e.i. "imagify/imagify.php"). + * @return bool True if installed, false otherwise + */ +function rocket_is_plugin_installed( $plugin ) { + $installed_plugins = get_plugins(); + + return isset( $installed_plugins[ $plugin ] ); +} + +/** + * When Woocommerce, EDD, iThemes Exchange, Jigoshop & WP-Shop options are saved or deleted, + * we update .htaccess & config file to get the right checkout page to exclude to the cache. + * + * @since 2.9.3 Support for SF Move Login moved to 3rd party file + * @since 2.6 Add support with SF Move Login & WPS Hide Login to exclude login pages + * @since 2.4 + * + * @param array $old_value An array of previous settings values. + * @param array $value An array of submitted settings values. + */ +function rocket_after_update_single_options( $old_value, $value ) { + if ( $old_value !== $value ) { + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Update config file. + rocket_generate_config_file(); + } +} + +/** + * We need to regenerate the config file + htaccess depending on some plugins + * + * @since 2.9.3 Support for SF Move Login moved to 3rd party file + * @since 2.6.5 Add support with SF Move Login & WPS Hide Login + * + * @param array $old_value An array of previous settings values. + * @param array $value An array of submitted settings values. + */ +function rocket_after_update_array_options( $old_value, $value ) { + $options = [ + 'purchase_page', + 'jigoshop_cart_page_id', + 'jigoshop_checkout_page_id', + 'jigoshop_myaccount_page_id', + ]; + + foreach ( $options as $val ) { + if ( ( ! isset( $old_value[ $val ] ) && isset( $value[ $val ] ) ) || + ( isset( $old_value[ $val ], $value[ $val ] ) && $old_value[ $val ] !== $value[ $val ] ) + ) { + // Update .htaccess file rules. + flush_rocket_htaccess(); + + // Update config file. + rocket_generate_config_file(); + break; + } + } +} + +/** + * Check if a mobile plugin is active + * + * @since 2.10 + * @author Remy Perona + * + * @return true if a mobile plugin in the list is active, false otherwise. + **/ +function rocket_is_mobile_plugin_active() { + return \WP_Rocket\Subscriber\Third_Party\Plugins\Mobile_Subscriber::is_mobile_plugin_active(); +} + +/** + * Allow upload of JSON file. + * + * @since 2.10.7 + * @author Remy Perona + * + * @param array $wp_get_mime_types Array of allowed mime types. + * @return array Updated array of allowed mime types + */ +function rocket_allow_json_mime_type( $wp_get_mime_types ) { + $wp_get_mime_types['json'] = 'application/json'; + + return $wp_get_mime_types; +} + +/** + * Forces the correct file type for JSON file if the WP checks is incorrect + * + * @since 3.2.3.1 + * @author Gregory Viguier + * + * @param array $wp_check_filetype_and_ext File data array containing 'ext', 'type', and + * 'proper_filename' keys. + * @param string $file Full path to the file. + * @param string $filename The name of the file (may differ from $file due to + * $file being in a tmp directory). + * @param array $mimes Key is the file extension with value as the mime type. + * @return array + */ +function rocket_check_json_filetype( $wp_check_filetype_and_ext, $file, $filename, $mimes ) { + if ( ! empty( $wp_check_filetype_and_ext['ext'] ) && ! empty( $wp_check_filetype_and_ext['type'] ) ) { + return $wp_check_filetype_and_ext; + } + + $wp_filetype = wp_check_filetype( $filename, $mimes ); + + if ( 'json' !== $wp_filetype['ext'] ) { + return $wp_check_filetype_and_ext; + } + + if ( empty( $wp_filetype['type'] ) ) { + // In case some other filter messed it up. + $wp_filetype['type'] = 'application/json'; + } + + if ( ! extension_loaded( 'fileinfo' ) ) { + return $wp_check_filetype_and_ext; + } + + $finfo = finfo_open( FILEINFO_MIME_TYPE ); + $real_mime = finfo_file( $finfo, $file ); + finfo_close( $finfo ); + + if ( 'text/plain' !== $real_mime ) { + return $wp_check_filetype_and_ext; + } + + $wp_check_filetype_and_ext = array_merge( $wp_check_filetype_and_ext, $wp_filetype ); + + return $wp_check_filetype_and_ext; +} + +/** + * Lists Data collected for analytics + * + * @since 2.11 + * @author Caspar Hübinger + * + * @return string HTML list table + */ +function rocket_data_collection_preview_table() { + $data = rocket_analytics_data(); + + if ( ! $data ) { + return; + } + + $html = ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= ''; + $html .= ''; + $html .= ''; + + $html .= ''; + $html .= '
    '; + $html .= sprintf( '%s', __( 'Server type:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['web_server'] ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'PHP version number:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['php_version'] ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'WordPress version number:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['wordpress_version'] ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'WordPress multisite:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['multisite'] ? 'true' : 'false' ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'Current theme:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['current_theme'] ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'Current site language:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['locale'] ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'Active plugins:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', __( 'Plugin names of all active plugins', 'rocket' ) ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'Anonymized WP Rocket settings:', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', __( 'Which WP Rocket settings are active', 'rocket' ) ); + $html .= '
    '; + $html .= sprintf( '%s', __( 'WP Rocket license type', 'rocket' ) ); + $html .= ''; + $html .= sprintf( '%s', $data['license_type'] ); + $html .= '
    '; + + return $html; +} + +/** + * Adds error message after settings import and redirects. + * + * @since 3.0 + * @author Remy Perona + * + * @param string $message Message to display in the error notice. + * @param string $status Status of the error. + * @return void + */ +function rocket_settings_import_redirect( $message, $status ) { + add_settings_error( 'general', 'settings_updated', $message, $status ); + + set_transient( 'settings_errors', get_settings_errors(), 30 ); + + $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() ); + wp_safe_redirect( esc_url_raw( $goback ) ); + die(); +} + +/** + * Check if WPR options should be displayed. + * + * @return bool + */ +function rocket_can_display_options() { + $disallowed_post_status = [ + 'draft', + 'trash', + 'private', + 'future', + 'pending', + ]; + + $post_status = get_post_status(); + if ( in_array( $post_status, $disallowed_post_status, true ) ) { + return false; + } + + if ( function_exists( 'get_current_screen' ) && is_object( get_current_screen() ) && 'add' === get_current_screen()->action ) { + return false; + } + + return true; +} + +/** + * Create a hash from wp rocket options. + * + * @param array $value options. + * + * @return string + */ +function rocket_create_options_hash( $value ) { + $removed = [ + 'cache_mobile' => true, + 'purge_cron_interval' => true, + 'purge_cron_unit' => true, + 'database_revisions' => true, + 'database_auto_drafts' => true, + 'database_trashed_posts' => true, + 'database_spam_comments' => true, + 'database_trashed_comments' => true, + 'database_all_transients' => true, + 'database_optimize_tables' => true, + 'schedule_automatic_cleanup' => true, + 'automatic_cleanup_frequency' => true, + 'do_cloudflare' => true, + 'cloudflare_email' => true, + 'cloudflare_api_key' => true, + 'cloudflare_zone_id' => true, + 'cloudflare_devmode' => true, + 'cloudflare_auto_settings' => true, + 'cloudflare_old_settings' => true, + 'heartbeat_admin_behavior' => true, + 'heartbeat_editor_behavior' => true, + 'varnish_auto_purge' => true, + 'analytics_enabled' => true, + 'sucury_waf_cache_sync' => true, + 'sucury_waf_api_key' => true, + 'manual_preload' => true, + 'preload_excluded_uri' => true, + 'cache_reject_uri' => true, + 'version' => true, + ]; + + // Create 2 arrays to compare. + $value_diff = array_diff_key( $value, $removed ); + ksort( $value_diff ); + + return md5( wp_json_encode( $value_diff ) ); +} + +/** + * This function returns the license type for a customer. + * + * @param object $customer_data customer data as an object. + * @return string the type of the license the user has. + */ +function rocket_get_license_type( $customer_data ) { + if ( false === $customer_data + || + ! isset( $customer_data->licence_account ) + ) { + return __( 'Unavailable', 'rocket' ); + } + + if ( 1 <= $customer_data->licence_account + && + $customer_data->licence_account < 3 + ) { + return 'Single'; + } elseif ( -1 === (int) $customer_data->licence_account ) { + return 'Infinite'; + } + + return 'Plus'; +} diff --git a/inc/functions/api.php b/inc/functions/api.php new file mode 100644 index 0000000..4d5a436 --- /dev/null +++ b/inc/functions/api.php @@ -0,0 +1,150 @@ +get( 'cdn' ); + + return $cdn->rewrite_url( $url ); +} + +/** + * Wrapper of get_rocket_cdn_url() and print result + * + * @since 2.1 + * + * @param string $url The URL to parse. + * @param array $zone (default: array( 'all' )). Deprecated. + */ +function rocket_cdn_url( $url, $zone = [ 'all' ] ) { + echo esc_url( get_rocket_cdn_url( $url, $zone ) ); +} + +/** + * Get all CNAMES. + * + * @since 2.1 + * @since 3.0 Don't check for WP Rocket CDN option activated to be able to use the function on Hosting with CDN auto-enabled. + * + * @param string $zone List of zones. Default is 'all'. + * @return array List of CNAMES + */ +function get_rocket_cdn_cnames( $zone = 'all' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $hosts = []; + $cnames = get_rocket_option( 'cdn_cnames', [] ); + + if ( $cnames ) { + $cnames_zone = get_rocket_option( 'cdn_zone', [] ); + $zone = (array) $zone; + + foreach ( $cnames as $k => $_urls ) { + if ( ! in_array( $cnames_zone[ $k ], $zone, true ) ) { + continue; + } + + $_urls = explode( ',', $_urls ); + $_urls = array_map( 'trim', $_urls ); + + foreach ( $_urls as $url ) { + $hosts[] = $url; + } + } + } + + /** + * Filter all CNAMES. + * + * @since 2.7 + * + * @param array $hosts List of CNAMES. + * @param array $zone Array of CDN zones. + */ + $hosts = (array) apply_filters( 'rocket_cdn_cnames', $hosts, $zone ); + $hosts = array_filter( $hosts ); + $hosts = array_flip( array_flip( $hosts ) ); + $hosts = array_values( $hosts ); + + return $hosts; +} + +/** + * Check if the current URL is for a live site (not local, not staging). + * + * @since 3.5 + * @author Remy Perona + * + * @return bool True if live, false otherwise. + */ +function rocket_is_live_site() { + if ( rocket_get_constant( 'WP_ROCKET_DEBUG' ) ) { + return true; + } + + $host = wp_parse_url( home_url(), PHP_URL_HOST ); + if ( ! $host ) { + return false; + } + + // Check for local development sites. + $local_tlds = [ + '127.0.0.1', + 'localhost', + '.local', + '.test', + '.docksal', + '.docksal.site', + '.dev.cc', + '.lndo.site', + ]; + foreach ( $local_tlds as $local_tld ) { + if ( $host === $local_tld ) { + return false; + } + + // Check the TLD. + if ( substr( $host, -strlen( $local_tld ) ) === $local_tld ) { + return false; + } + } + + // Check for staging sites. + $staging = [ + '.wpengine.com', + '.wpenginepowered.com', + '.pantheonsite.io', + '.flywheelsites.com', + '.flywheelstaging.com', + '.kinsta.com', + '.kinsta.cloud', + '.cloudwaysapps.com', + '.azurewebsites.net', + '.wpserveur.net', + '-liquidwebsites.com', + '.myftpupload.com', + '.dream.press', + '.sg-host.com', + '.platformsh.site', + '.wpstage.net', + '.bigscoots-staging.com', + '.wpsc.site', + '.runcloud.link', + '.onrocket.site', + '.singlestaging.com', + '.myraidbox.de', + ]; + foreach ( $staging as $partial_host ) { + if ( strpos( $host, $partial_host ) ) { + return false; + } + } + + return true; +} diff --git a/inc/functions/files.php b/inc/functions/files.php new file mode 100644 index 0000000..4d7902a --- /dev/null +++ b/inc/functions/files.php @@ -0,0 +1,1544 @@ +get( 'advanced_cache' ); + } + + return rocket_put_content( + rocket_get_constant( 'WP_CONTENT_DIR' ) . '/advanced-cache.php', + $advanced_cache->get_advanced_cache_content() + ); +} + +/** + * Generates the configuration file for the current domain based on the values of options + * + * @since 2.0 + * + * @return array Names of all config files & The content that will be printed + */ +function get_rocket_config_file() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $options = get_option( WP_ROCKET_SLUG ); + + if ( ! $options ) { + return [ + [], + '', + ]; + } + + $buffer = " $value ) { + if ( 'cache_ssl' === $option ) { + if ( 1 !== (int) $value ) { + if ( rocket_is_ssl_website() ) { + update_rocket_option( 'cache_ssl', 1 ); + $value = 1; + } + } + + $buffer .= '$rocket_' . $option . ' = ' . (int) $value . ";\n"; + } + + if ( 'cache_mobile' === $option || 'do_caching_mobile_files' === $option || 'cache_webp' === $option ) { + $buffer .= '$rocket_' . $option . ' = ' . (int) $value . ";\n"; + } + + if ( 'secret_cache_key' === $option ) { + $buffer .= '$rocket_' . $option . ' = \'' . sanitize_key( $value ) . "';\n"; + } + + if ( 'cache_reject_uri' === $option ) { + $buffer .= '$rocket_' . $option . ' = \'' . get_rocket_cache_reject_uri( true ) . "';\n"; + } + + if ( 'cache_query_strings' === $option ) { + $buffer .= '$rocket_' . $option . ' = ' . call_user_func( 'var_export', get_rocket_cache_query_string(), true ) . ";\n"; + } + + if ( 'cache_reject_cookies' === $option ) { + $cookies = get_rocket_cache_reject_cookies(); + + if ( $cookies && get_rocket_option( 'cache_logged_user' ) ) { + // Make sure the "logged-in cookies" are not rejected. + $logged_in_cookie = explode( COOKIEHASH, LOGGED_IN_COOKIE ); + $logged_in_cookie = array_map( 'preg_quote', $logged_in_cookie ); + $logged_in_cookie = implode( '[^|]*', $logged_in_cookie ); + $cookies = preg_replace( '/\|' . $logged_in_cookie . '\|/', '|', '|' . $cookies . '|' ); + $cookies = trim( $cookies, '|' ); + } + + $buffer .= '$rocket_' . $option . ' = \'' . $cookies . "';\n"; + } + + if ( 'cache_reject_ua' === $option ) { + $buffer .= '$rocket_' . $option . ' = \'' . get_rocket_cache_reject_ua() . "';\n"; + } + } + + $buffer .= '$rocket_cache_ignored_parameters = ' . call_user_func( 'var_export', rocket_get_ignored_parameters(), true ) . ";\n"; + $buffer .= '$rocket_cache_mandatory_cookies = ' . call_user_func( 'var_export', get_rocket_cache_mandatory_cookies(), true ) . ";\n"; + + $buffer .= '$rocket_cache_dynamic_cookies = ' . call_user_func( 'var_export', get_rocket_cache_dynamic_cookies(), true ) . ";\n"; + + $buffer .= '$rocket_permalink_structure = \'' . wp_slash( get_option( 'permalink_structure' ) ) . "';\n"; + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', false ) ) { + $buffer .= '$rocket_url_no_dots = 1;'; + } + + $config_files_path = []; + $urls = [ rocket_get_home_url() ]; + + // Check if a translation plugin is activated and this configuration is in subdomain. + $subdomains = get_rocket_i18n_subdomains(); + + if ( $subdomains ) { + $urls = $subdomains; + } + + foreach ( $urls as $url ) { + $file = get_rocket_parse_url( untrailingslashit( $url ) ); + $file['path'] = ( ! empty( $file['path'] ) ) ? str_replace( '/', '.', untrailingslashit( $file['path'] ) ) : ''; + $config_files_path[] = WP_ROCKET_CONFIG_PATH . strtolower( $file['host'] ) . $file['path'] . '.php'; + } + + /** + * Filter all config files path + * + * @since 2.6.5 + * + * @param array $config_files_path Path of all config files. + */ + $config_files_path = apply_filters( 'rocket_config_files_path', $config_files_path ); + + /** + * Filter the content of all config files + * + * @since 2.1 + * + * @param string $buffer The content that will be printed. + * @param array $config_files_path Names of all config files. + */ + $buffer = apply_filters( 'rocket_config_file', $buffer, $config_files_path ); + $buffer = preg_replace( '@array\s+\(@i', 'array(', $buffer ); + $buffer = preg_replace( '@array\(\s+\)@i', 'array()', $buffer ); + + return [ $config_files_path, $buffer ]; +} + +/** + * Create the current config domain file + * For example, if home_url() return example.com, the config domain file will be in /config/example.com + * + * @since 2.0 + * + * @return void + */ +function rocket_generate_config_file() { + list( $config_files_path, $buffer ) = get_rocket_config_file(); + + if ( count( $config_files_path ) ) { + rocket_init_config_dir(); + + foreach ( $config_files_path as $file ) { + rocket_put_content( $file, $buffer ); + } + } +} + +/** + * Remove the current config domain file + * + * @since 2.6 + * + * @return void + */ +function rocket_delete_config_file() { + list( $config_files_path ) = get_rocket_config_file(); + foreach ( $config_files_path as $config_file ) { + rocket_direct_filesystem()->delete( $config_file ); + } + + // Bail out if WP Rocket is multisite. + if ( is_multisite() ) { + return; + } + + try { + $config_dir = new FilesystemIterator( (string) rocket_get_constant( 'WP_ROCKET_CONFIG_PATH' ) ); + } catch ( Exception $e ) { + return; + } + + // Remove all files with php extension in the config folder. + foreach ( $config_dir as $file ) { + if ( ! $file->isFile() || 'php' !== strtolower( $file->getExtension() ) ) { + continue; + } + + if ( 1 === substr_count( $file->getFilename(), '.' ) ) { + continue; + } + + if ( false === strpos( rocket_direct_filesystem()->get_contents( $file->getPathname() ), '$rocket_cookie_hash' ) ) { + continue; + } + + rocket_direct_filesystem()->delete( $file->getPathname() ); + } +} + +/** + * Create all cache folders (wp-rocket & min) + * + * @since 2.6 + * + * @return void + */ +function rocket_init_cache_dir() { + global $is_apache; + + $filesystem = rocket_direct_filesystem(); + + // Create cache folder if not exist. + if ( ! $filesystem->is_dir( WP_ROCKET_CACHE_PATH ) ) { + rocket_mkdir_p( WP_ROCKET_CACHE_PATH ); + } + + if ( ! $filesystem->is_file( WP_ROCKET_CACHE_PATH . 'index.html' ) ) { + $filesystem->touch( WP_ROCKET_CACHE_PATH . 'index.html' ); + } + + if ( $is_apache ) { + $htaccess_path = WP_ROCKET_CACHE_PATH . '.htaccess'; + + if ( ! $filesystem->is_file( $htaccess_path ) ) { + $filesystem->touch( $htaccess_path ); + rocket_put_content( $htaccess_path, "\nOptions -Indexes\n" ); + } + } + + // Create minify cache folder if not exist. + if ( ! $filesystem->is_dir( WP_ROCKET_MINIFY_CACHE_PATH ) ) { + rocket_mkdir_p( WP_ROCKET_MINIFY_CACHE_PATH ); + } + + if ( ! $filesystem->is_file( WP_ROCKET_MINIFY_CACHE_PATH . 'index.html' ) ) { + $filesystem->touch( WP_ROCKET_MINIFY_CACHE_PATH . 'index.html' ); + } + + // Create busting cache folder if not exist. + if ( ! $filesystem->is_dir( WP_ROCKET_CACHE_BUSTING_PATH ) ) { + rocket_mkdir_p( WP_ROCKET_CACHE_BUSTING_PATH ); + } + + if ( ! $filesystem->is_file( WP_ROCKET_CACHE_BUSTING_PATH . 'index.html' ) ) { + $filesystem->touch( WP_ROCKET_CACHE_BUSTING_PATH . 'index.html' ); + } + + // Create critical CSS folder if not exist. + if ( ! $filesystem->is_dir( WP_ROCKET_CRITICAL_CSS_PATH ) ) { + rocket_mkdir_p( WP_ROCKET_CRITICAL_CSS_PATH ); + } + + if ( ! $filesystem->is_file( WP_ROCKET_CRITICAL_CSS_PATH . 'index.html' ) ) { + $filesystem->touch( WP_ROCKET_CRITICAL_CSS_PATH . 'index.html' ); + } +} + +/** + * Create the config folder (wp-rocket-config) + * + * @since 2.6 + * + * @return void + */ +function rocket_init_config_dir() { + $filesystem = rocket_direct_filesystem(); + + // Create config domain folder if not exist. + if ( ! $filesystem->is_dir( WP_ROCKET_CONFIG_PATH ) ) { + rocket_mkdir_p( WP_ROCKET_CONFIG_PATH ); + } + + // Initialize the config directory with index.html to prevent indexing. + if ( ! $filesystem->is_file( WP_ROCKET_CONFIG_PATH . 'index.html' ) ) { + $filesystem->touch( WP_ROCKET_CONFIG_PATH . 'index.html' ); + } +} + +/** + * Delete all minify cache files. + * + * @since 3.5.3 Replaces glob. + * @since 2.1 + * + * @param string|array $extensions Optional. File extensions to minify. Default: js and css. + */ +function rocket_clean_minify( $extensions = [ 'js', 'css' ] ) { + // Bails out if there are no extensions to target. + if ( empty( $extensions ) ) { + return; + } + + if ( is_string( $extensions ) ) { + $extensions = (array) $extensions; + } + + $min_cache_path = rocket_get_constant( 'WP_ROCKET_MINIFY_CACHE_PATH' ); + $min_path = $min_cache_path . get_current_blog_id() . '/'; + $iterator = _rocket_get_cache_path_iterator( $min_path ); + + if ( false === $iterator ) { + return; + } + + $filesystem = rocket_direct_filesystem(); + $min_path_regex = str_replace( '/', '\/', $min_path ); + + foreach ( $extensions as $ext ) { + /** + * Fires before the minify cache files are deleted. + * + * @since 2.1 + * + * @param string $ext File extensions to minify. + */ + do_action( 'before_rocket_clean_minify', $ext ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + try { + $entries = new RegexIterator( $iterator, "/{$min_path_regex}.*\.{$ext}/" ); + } catch ( Exception $e ) { + return; + } + + foreach ( $entries as $entry ) { + $filesystem->delete( $entry->getPathname() ); + } + + /** + * Fires after the minify cache files was deleted. + * + * @since 2.1 + * + * @param string $ext File extensions to minify. + */ + do_action( 'after_rocket_clean_minify', $ext ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + // Delete any directories. + foreach ( $iterator as $item ) { + if ( $filesystem->is_dir( $item ) ) { + $filesystem->delete( $item ); + } + } + + // Clean the cache/min/3rd-party items. + try { + $files = new FilesystemIterator( "{$min_cache_path}3rd-party" ); + + foreach ( $files as $file ) { + if ( $filesystem->is_file( $file ) ) { + $filesystem->delete( $file ); + } + } + } catch ( UnexpectedValueException $e ) { + // No logging yet. + return; + } +} + +/** + * Delete all cache busting files. + * + * @since 2.9 + * + * @param string|array $extensions (default: array('js','css') File extensions to clean. + * @return void + */ +function rocket_clean_cache_busting( $extensions = [ 'js', 'css' ] ) { + if ( empty( $extensions ) ) { + return; + } + + if ( is_string( $extensions ) ) { + $extensions = (array) $extensions; + } + + $cache_busting_path = rocket_get_constant( 'WP_ROCKET_CACHE_BUSTING_PATH' ) . get_current_blog_id() . '/'; + $iterator = _rocket_get_cache_path_iterator( $cache_busting_path ); + + if ( false === $iterator ) { + return; + } + + $filesystem = rocket_direct_filesystem(); + $busting_path_regex = str_replace( '/', '\/', $cache_busting_path ); + + if ( ! rocket_direct_filesystem()->is_dir( $cache_busting_path ) ) { + rocket_mkdir_p( $cache_busting_path ); + + Logger::debug( + 'No Cache Busting folder found.', + [ + 'mkdir cache busting folder', + 'cache_busting_path' => $cache_busting_path, + ] + ); + + return; + } + + foreach ( $extensions as $ext ) { + /** + * Fires before the cache busting files are deleted + * + * @since 2.9 + * + * @param string $ext File extensions to clean. + */ + do_action( 'before_rocket_clean_busting', $ext ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + try { + $entries = new RegexIterator( $iterator, "/{$busting_path_regex}.*\.{$ext}/" ); + } catch ( Exception $e ) { + return; + } + + foreach ( $entries as $entry ) { + $filesystem->delete( $entry->getPathname() ); + } + + /** + * Fires after the cache busting files was deleted + * + * @since 2.9 + * + * @param string $ext File extensions to clean. + */ + do_action( 'after_rocket_clean_cache_busting', $ext ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + foreach ( $iterator as $item ) { + if ( $filesystem->is_dir( $item ) ) { + $filesystem->delete( $item ); + } + } +} + +/** + * Returns the right path when the post is trashed. + * + * @param array $parsed_url current parsed url. + * @param int $post_id ID from the post. + * + * @return array + */ +function rocket_maybe_find_right_trash_url( array $parsed_url, int $post_id ) { + + $post = get_post( $post_id ); + + if ( ! $post || 'trash' !== $post->post_status ) { + return $parsed_url; + } + + $post->post_status = 'publish'; + + $permalink = get_permalink( $post ); + + if ( ! $permalink ) { + return $parsed_url; + } + + $new_permalink = str_replace( '__trashed', '', $permalink ); + return get_rocket_parse_url( $new_permalink ); +} + +/** + * Delete one or several cache files. + * + * @since 3.5.5 Optimizes by grabbing root cache dirs once, bailing out when file/dir doesn't exist, & directly + * deleting files. + * @since 3.5.4 Replaces glob and optimizes. + * @since 2.0 Delete cache files for all users. + * @since 1.1.0 Add filter rocket_clean_files. + * @since 1.0 + * + * @param string|array $urls URLs of cache files to be deleted. + * @param WP_Filesystem_Direct|null $filesystem Optional. Instance of filesystem handler. + * @param bool $run_actions Run actions. + */ +function rocket_clean_files( $urls, $filesystem = null, $run_actions = true ) { + $urls = (array) $urls; + if ( empty( $urls ) ) { + return; + } + + $urls = array_filter( $urls ); + if ( empty( $urls ) ) { + return; + } + + /** This filter is documented in inc/front/htaccess.php */ + $url_no_dots = (bool) apply_filters( 'rocket_url_no_dots', false ); + $cache_path = _rocket_get_wp_rocket_cache_path(); + + if ( empty( $filesystem ) ) { + $filesystem = rocket_direct_filesystem(); + } + + if ( $run_actions ) { + /** + * Fires before all cache files are deleted. + * + * @since 3.2.2 + * + * @param array $urls The URLs corresponding to the deleted cache files. + */ + do_action( 'before_rocket_clean_files', $urls ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + foreach ( $urls as $url ) { + if ( $run_actions ) { + /** + * Fires before the cache file is deleted. + * + * @param string $url The URL that the cache file to be deleted. + * @since 1.0 + */ + do_action( 'before_rocket_clean_file', $url ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + if ( $url_no_dots ) { + $url = str_replace( '.', '_', $url ); + } + + $parsed_url = get_rocket_parse_url( $url ); + + if ( ! empty( $parsed_url['host'] ) ) { + foreach ( _rocket_get_cache_dirs( $parsed_url['host'], $cache_path ) as $dir ) { + // Decode url path. + $url_chunks = explode( '/', $parsed_url['path'] ); + $matches = preg_grep( '/%/', $url_chunks ); + + if ( ! empty( $matches ) ) { + $parsed_url['path'] = rawurldecode( $parsed_url['path'] ); + } + + // Encode Non-latin characters if found in url path. + if ( false !== preg_match_all( '/(?[^\x00-\x7F]+)/', $parsed_url['path'], $matches ) ) { + $cb_encode_non_latin = function ( $non_latin ) { + return strtolower( rawurlencode( $non_latin ) ); + }; + + $parsed_url['path'] = str_replace( $matches['non_latin'], array_map( $cb_encode_non_latin, $matches['non_latin'] ), $parsed_url['path'] ); + } + + $entry = $dir . $parsed_url['path']; + + // Skip if the dir/file does not exist. + if ( ! $filesystem->exists( $entry ) ) { + continue; + } + + if ( $filesystem->is_dir( $entry ) ) { + rocket_rrmdir( $entry, [], $filesystem ); + } else { + $filesystem->delete( $entry ); + } + } + } + if ( $run_actions ) { + /** + * Fires after the cache file is deleted. + * + * @param string $url The URL that the cache file was deleted. + * @since 1.0 + */ + do_action( 'after_rocket_clean_file', $url ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + } + + if ( ! $run_actions ) { + return; + } + + /** + * Fires after all cache files are deleted. + * + * @since 3.2.2 + * + * @param array $urls The URLs corresponding to the deleted cache files. + */ + do_action( 'after_rocket_clean_files', $urls ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Remove the home cache file and pagination + * + * $since 2.2 Add $lang argument + * + * @since 2.0 Delete cache files for all users + * @since 1.0 + * + * @param string $lang (default: '') The language code. + * @return void + */ +function rocket_clean_home( $lang = '' ) { + $parse_url = get_rocket_parse_url( get_rocket_i18n_home_url( $lang ) ); + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', false ) ) { + $parse_url['host'] = str_replace( '.', '_', $parse_url['host'] ); + } + + $root = WP_ROCKET_CACHE_PATH . $parse_url['host'] . '*' . untrailingslashit( $parse_url['path'] ); + + /** + * Filter the homepage caching folder root + * + * @since 2.6.5 + * @param array $root The root that will be returned. + * @param string $host The website host. + * @param string $path The website path. + */ + $root = apply_filters( 'rocket_clean_home_root', $root, $parse_url['host'], $parse_url['path'] ); + + /** + * Fires before the home cache file is deleted + * + * @since 1.0 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + */ + do_action( 'before_rocket_clean_home', $root, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + // Delete homepage. + $files = glob( $root . '/*', GLOB_NOSORT ); + + if ( $files ) { + foreach ( $files as $file ) { + if ( preg_match( '#/index(?:-.+\.|\.)html(?:_gzip)?$#', $file ) ) { + rocket_direct_filesystem()->delete( $file ); + } + } + } + + // Delete homepage pagination. + $dirs = glob( $root . '*/' . $GLOBALS['wp_rewrite']->pagination_base, GLOB_NOSORT ); + if ( $dirs ) { + foreach ( $dirs as $dir ) { + rocket_rrmdir( $dir ); + } + } + + // Remove the hidden empty file for mobile detection on NGINX with the Rocket NGINX configuration. + $nginx_mobile_detect_files = glob( $root . '/.mobile-active', GLOB_NOSORT ); + if ( $nginx_mobile_detect_files ) { + foreach ( $nginx_mobile_detect_files as $nginx_mobile_detect_file ) { // no array map to use @. + rocket_direct_filesystem()->delete( $nginx_mobile_detect_file ); + } + } + + // Remove the hidden empty file for webp. + $nowebp_detect_files = glob( $root . '/.no-webp', GLOB_NOSORT ); + if ( $nowebp_detect_files ) { + foreach ( $nowebp_detect_files as $nowebp_detect_file ) { // no array map to use @. + rocket_direct_filesystem()->delete( $nowebp_detect_file ); + } + } + + /** + * Fires after the home cache file was deleted + * + * @since 1.0 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + */ + do_action( 'after_rocket_clean_home', $root, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Remove the home cache feed + * + * @since 2.7 + * + * @return void + */ +function rocket_clean_home_feeds() { + + if ( ! has_filter( 'rocket_cache_reject_uri', 'wp_rocket_cache_feed' ) ) { + return; + } + + $urls = []; + $urls[] = get_feed_link(); + $urls[] = get_feed_link( 'comments_' ); + + /** + * Filter the home feeds urls + * + * @since 2.7 + * @param array $urls The urls of the home feeds. + */ + $urls = apply_filters( 'rocket_clean_home_feeds', $urls ); + + /** + * Fires before the home feeds cache is deleted + * + * @since 2.7 + * + * @param array $urls The urls of the home feeds. + */ + do_action( 'before_rocket_clean_home_feeds', $urls ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + rocket_clean_files( $urls ); + + /** + * Fires after the home feeds cache was deleted + * + * @since 2.7 + * + * @param array $urls The urls of the home feeds. + */ + do_action( 'after_rocket_clean_home_feeds', $urls ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Remove all cache files for the domain. + * + * @since 3.5.5 Optimizes by grabbing root cache dirs once, bailing out when file/dir doesn't exist, & directly + * deleting files. + * @since 3.5.3 Replaces glob with SPL. + * @since 2.0 Delete domain cache files for all users + * @since 1.0 + * + * @param string $lang Optional. The language code. Default: empty string. + * @param WP_Filesystem_Direct|null $filesystem Optional. Instance of filesystem handler. + */ +function rocket_clean_domain( $lang = '', $filesystem = null ) { + $urls = ( ! $lang || is_object( $lang ) || is_array( $lang ) || is_int( $lang ) ) + ? (array) get_rocket_i18n_uri() + : (array) get_rocket_i18n_home_url( $lang ); + + /** + * Filter URLs to delete all caching files from a domain. + * + * @since 2.6.4 + * + * @param array URLs that will be returned. + * @param string The language code. + */ + $urls = (array) apply_filters( 'rocket_clean_domain_urls', $urls, $lang ); + $urls = array_filter( $urls ); + if ( empty( $urls ) ) { + return false; + } + + /** This filter is documented in inc/front/htaccess.php */ + $url_no_dots = (bool) apply_filters( 'rocket_url_no_dots', false ); + $cache_path = _rocket_get_wp_rocket_cache_path(); + $dirs_to_preserve = get_rocket_i18n_to_preserve( $lang, $cache_path ); + + if ( empty( $filesystem ) ) { + $filesystem = rocket_direct_filesystem(); + } + + foreach ( $urls as $url ) { + $parsed_url = get_rocket_parse_url( $url ); + + if ( $url_no_dots ) { + $parsed_url['host'] = str_replace( '.', '_', $parsed_url['host'] ); + } + + $root = $cache_path . $parsed_url['host'] . $parsed_url['path']; + + /** + * Fires before all cache files are deleted. + * + * @since 1.0 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @param string $url The home url. + */ + do_action( 'before_rocket_clean_domain', $root, $lang, $url ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + foreach ( _rocket_get_cache_dirs( $parsed_url['host'], $cache_path ) as $dir ) { + $entry = $dir . $parsed_url['path']; + // Skip if the dir/file does not exist. + if ( ! $filesystem->exists( $entry ) ) { + continue; + } + + if ( $filesystem->is_dir( $entry ) ) { + rocket_rrmdir( $entry, $dirs_to_preserve, $filesystem ); + } else { + $filesystem->delete( $entry ); + } + } + + /** + * Fires after all cache files was deleted. + * + * @since 1.0 + * + * @param string $root The path of home cache file. + * @param string $lang The current lang to purge. + * @param string $url The home url. + */ + do_action( 'after_rocket_clean_domain', $root, $lang, $url ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + return true; +} + +/** + * Delete the caching files of a specific term. + * + * $since 2.6.8 + * + * @param int $term_id The term ID. + * @param string $taxonomy_slug The taxonomy slug. + * @return void + */ +function rocket_clean_term( $term_id, $taxonomy_slug ) { + $purge_urls = []; + + // Get all term infos. + $term = get_term_by( 'id', $term_id, $taxonomy_slug ); + + // Get the term language. + $i18n_plugin = rocket_has_i18n(); + + if ( 'wpml' === $i18n_plugin && ! rocket_is_plugin_active( 'woocommerce-multilingual/wpml-woocommerce.php' ) ) { + // WPML. + $lang = $GLOBALS['sitepress']->get_language_for_element( $term_id, 'tax_' . $taxonomy_slug ); + } elseif ( 'polylang' === $i18n_plugin ) { + // Polylang. + $lang = pll_get_term_language( $term_id ); + } else { + $lang = false; + } + + // Get permalink. + $permalink = get_term_link( $term, $taxonomy_slug ); + + // Add permalink. + if ( '/' !== rocket_extract_url_component( $permalink, PHP_URL_PATH ) ) { + array_push( $purge_urls, $permalink ); + } + + /** + * Fires before deleted caching files related with the term + * + * @since 2.6.8 + * @param obj $term The term object. + * @param array $purge_urls URLs cache files to remove. + * @param string $lang The term language. + */ + do_action( 'before_rocket_clean_term', $term, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + /** + * Filter URLs cache files to remove + * + * @since 2.6.8 + * @param array $purge_urls List of URLs cache files to remove. + * @param obj $term The term object. + */ + $purge_urls = apply_filters( 'rocket_term_purge_urls', $purge_urls, $term ); + + // Purge all files. + rocket_clean_files( $purge_urls ); + + // Never forget to purge homepage and their pagination. + rocket_clean_home( $lang ); + + /** + * Fires before deleted caching files related with the term + * + * @since 2.6.8 + * @param obj $term The term object. + * @param array $purge_urls URLs cache files to remove. + * @param string $lang The term language. + */ + do_action( 'after_rocket_clean_term', $term, $purge_urls, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Delete the caching files of a specific user + * + * $since 2.6.12 + * + * @param int $user_id The user ID. + * @param string $lang The language code. + * @return void + */ +function rocket_clean_user( $user_id, $lang = '' ) { + $urls = ( ! $lang || is_object( $lang ) ) ? get_rocket_i18n_uri() : get_rocket_i18n_home_url( $lang ); + $urls = (array) $urls; + + /** This filter is documented in inc/functions/files.php */ + $urls = apply_filters( 'rocket_clean_domain_urls', $urls, $lang ); + $urls = array_filter( $urls ); + $user = get_user_by( 'id', $user_id ); + + if ( ! $user ) { + return; + } + + $user_key = rawurlencode( $user->user_login ) . '-' . get_rocket_option( 'secret_cache_key' ); + + foreach ( $urls as $url ) { + $parse_url = get_rocket_parse_url( $url ); + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', false ) ) { + $parse_url['host'] = str_replace( '.', '_', $parse_url['host'] ); + } + + $cache_dir = $parse_url['host'] . '-' . strtolower( $user_key ); + $cache_dir = $cache_dir . $parse_url['path']; + $root = rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ) . $cache_dir; + + /** + * Fires before all caching files are deleted for a specific user + * + * @since 2.6.12 + * + * @param int $user_id The path of home cache file. + * @param string $lang The language code. + */ + do_action( 'before_rocket_clean_user', $user_id, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + // Delete cache domain files. + $dirs = glob( $root . '*', GLOB_NOSORT ); + if ( $dirs ) { + foreach ( $dirs as $dir ) { + rocket_rrmdir( $dir, get_rocket_i18n_to_preserve( $lang ) ); + } + } + + /** + * Fires after all caching files are deleted for a specific user + * + * @since 2.6.12 + * + * @param int $user_id The path of home cache file. + * @param string $lang The language code. + */ + do_action( 'after_rocket_clean_user', $user_id, $lang ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } +} + +/** + * Remove all caching files in the cache folder + * + * @since 2.6.8 + * + * @return void + */ +function rocket_clean_cache_dir() { + /** + * Fires before deleting all caching files in the cache folder + * + * @since 2.6.8 + */ + do_action( 'before_rocket_clean_cache_dir' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + // Delete all caching files. + $dirs = glob( WP_ROCKET_CACHE_PATH . '*', GLOB_NOSORT ); + if ( $dirs ) { + foreach ( $dirs as $dir ) { + rocket_rrmdir( $dir ); + } + } + + /** + * Fires after deleting all caching files in the cache folder + * + * @since 2.6.8 + */ + do_action( 'after_rocket_clean_cache_dir' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Remove a single file or a folder recursively. + * + * @since 3.5.3 Replaces glob and optimizes. + * @since 1.0 + * @since 3.5.3 Bails if given dir should be preserved; replaces glob; optimizes. + * + * @param string $dir File/Directory to delete. + * @param array $dirs_to_preserve Optional. Dirs that should not be deleted. + * @param WP_Filesystem_Direct|null $filesystem Optional. Instance of filesystem handler. + */ +function rocket_rrmdir( $dir, array $dirs_to_preserve = [], $filesystem = null ) { + $dir = untrailingslashit( $dir ); + + if ( empty( $filesystem ) ) { + $filesystem = rocket_direct_filesystem(); + } + + /** + * Fires before a file/directory cache is deleted + * + * @since 1.1.0 + * + * @param string $dir File/Directory to delete. + * @param array $dirs_to_preserve Directories that should not be deleted. + */ + do_action( 'before_rocket_rrmdir', $dir, $dirs_to_preserve ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + // Remove the hidden empty file for mobile detection on NGINX with the Rocket NGINX configuration. + $nginx_mobile_detect_file = $dir . '/.mobile-active'; + + if ( $filesystem->is_dir( $dir ) && $filesystem->exists( $nginx_mobile_detect_file ) ) { + $filesystem->delete( $nginx_mobile_detect_file ); + } + + // Remove the hidden empty file for webp. + $nowebp_detect_file = $dir . '/.no-webp'; + + if ( $filesystem->is_dir( $dir ) && $filesystem->exists( $nowebp_detect_file ) ) { + $filesystem->delete( $nowebp_detect_file ); + } + + if ( ! $filesystem->is_dir( $dir ) ) { + $filesystem->delete( $dir ); + + return; + } + + // Get the directory entries. + $entries = []; + try { + foreach ( new FilesystemIterator( $dir ) as $entry ) { + $entries[] = $entry->getPathname(); + } + } catch ( Exception $e ) { // phpcs:disable Generic.CodeAnalysis.EmptyStatement.DetectedCatch + // No action required, as logging not enabled. + } + + // Exclude directories to preserve from the entries. + if ( ! empty( $dirs_to_preserve ) && ! empty( $entries ) ) { + $keys = []; + foreach ( $dirs_to_preserve as $dir_to_preserve ) { + $matches = preg_grep( "#^$dir_to_preserve$#", $entries ); + $keys[] = reset( $matches ); + } + + if ( ! empty( $keys ) ) { + $keys = array_filter( $keys ); + if ( ! empty( $keys ) ) { + $entries = array_diff( $entries, $keys ); + } + } + } + + foreach ( $entries as $entry ) { + // If not a directory, delete it. + if ( ! $filesystem->is_dir( $entry ) ) { + $filesystem->delete( $entry ); + } else { + rocket_rrmdir( $entry, $dirs_to_preserve, $filesystem ); + } + } + + $filesystem->delete( $dir ); + + /** + * Fires after a file/directory cache was deleted + * + * @since 1.1.0 + * + * @param string $dir File/Directory to delete. + * @param array $dirs_to_preserve Dirs that should not be deleted. + */ + do_action( 'after_rocket_rrmdir', $dir, $dirs_to_preserve ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} + +/** + * Instanciate the filesystem class + * + * @since 2.10 + * + * @return WP_Filesystem_Direct WP_Filesystem_Direct instance + */ +function rocket_direct_filesystem() { + require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php'; + require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-direct.php'; + return new WP_Filesystem_Direct( new StdClass() ); +} + +/** + * Directory creation based on WordPress Filesystem + * + * @since 1.3.4 + * + * @param string $dir The path of directory will be created. + * @return bool + */ +function rocket_mkdir( $dir ) { + $chmod = rocket_get_filesystem_perms( 'dir' ); + return rocket_direct_filesystem()->mkdir( $dir, $chmod ); +} + +/** + * Recursive directory creation based on full path. + * + * @param string $target path to the directory we want to create. + * @param WP_Filesystem_Direct|null $filesystem WordPress filesystem. + * @return bool True if directory is created/exists, false otherwise + * @since 1.3.4 + * + * @source wp_mkdir_p() in /wp-includes/functions.php + */ +function rocket_mkdir_p( $target, $filesystem = null ) { + $wrapper = null; + + $filesystem = $filesystem ?: rocket_direct_filesystem(); + + if ( rocket_is_stream( $target ) ) { + list( $wrapper, $target ) = explode( '://', $target, 2 ); + } + + // from php.net/mkdir user contributed notes. + $target = str_replace( '//', '/', $target ); + + // Put the wrapper back on the target. + if ( null !== $wrapper ) { + $target = $wrapper . '://' . $target; + } + + // safe mode fails with a trailing slash under certain PHP versions. + $target = rtrim( $target, '/\\' ); + if ( empty( $target ) ) { + $target = '/'; + } + + if ( $filesystem->exists( $target ) ) { + return $filesystem->is_dir( $target ); + } + + // Attempting to create the directory may clutter up our display. + if ( rocket_mkdir( $target ) ) { + return true; + } elseif ( $filesystem->is_dir( dirname( $target ) ) ) { + return false; + } + + // If the above failed, attempt to create the parent node, then try again. + if ( ( '/' !== $target ) && ( rocket_mkdir_p( dirname( $target ), $filesystem ) ) ) { + return rocket_mkdir_p( $target, $filesystem ); + } + + return false; +} + +/** + * Test if a given path is a stream URL. + * + * @since 3.5.3 + * + * @source wp_is_stream() in /wp-includes/functions.php + * + * @param string $path The resource path or URL. + * + * @return bool true if the path is a stream URL; else false. + */ +function rocket_is_stream( $path ) { + $scheme_separator = strpos( $path, '://' ); + + if ( false === $scheme_separator ) { + // $path isn't a stream. + return false; + } + + $stream = substr( $path, 0, $scheme_separator ); + + return in_array( $stream, stream_get_wrappers(), true ); +} + +/** + * File creation based on WordPress Filesystem. + * + * @since 1.3.5 + * + * @param string $file The path of file will be created. + * @param string $content The content that will be printed in advanced-cache.php. + * + * @return bool true on success; else, false on failure. + */ +function rocket_put_content( $file, $content ) { + $chmod = rocket_get_filesystem_perms( 'file' ); + return rocket_direct_filesystem()->put_contents( $file, $content, $chmod ); +} + +/** + * Get the permissions to apply to files and folders. + * + * Reminder: + * `$perm = fileperms( $file );` + * + * WHAT | TYPE | FILE | FOLDER | + * ----------------------------------------------+--------+--------+--------| + * `$perm` | int | 33188 | 16877 | + * `substr( decoct( $perm ), -4 )` | string | '0644' | '0755' | + * `substr( sprintf( '%o', $perm ), -4 )` | string | '0644' | '0755' | + * `$perm & 0777` | int | 420 | 493 | + * `decoct( $perm & 0777 )` | string | '644' | '755' | + * `substr( sprintf( '%o', $perm & 0777 ), -4 )` | string | '644' | '755' | + * + * @since 3.2.4 + * + * @param string $type The type: 'dir' or 'file'. + * + * @return int Octal integer. + */ +function rocket_get_filesystem_perms( $type ) { + static $perms = []; + + if ( rocket_get_constant( 'WP_ROCKET_IS_TESTING', false ) ) { + $perms = []; + } + + // Allow variants. + switch ( $type ) { + case 'dir': + case 'dirs': + case 'folder': + case 'folders': + $type = 'dir'; + break; + + case 'file': + case 'files': + $type = 'file'; + break; + + default: + return 0755; + } + + if ( isset( $perms[ $type ] ) ) { + return $perms[ $type ]; + } + + // If the constants are not defined, use fileperms() like WordPress does. + if ( 'dir' === $type ) { + $fs_chmod_dir = (int) rocket_get_constant( 'FS_CHMOD_DIR', 0 ); + $perms[ $type ] = $fs_chmod_dir > 0 + ? $fs_chmod_dir + : fileperms( rocket_get_constant( 'ABSPATH' ) ) & 0777 | 0755; + } else { + $fs_chmod_file = (int) rocket_get_constant( 'FS_CHMOD_FILE', 0 ); + $perms[ $type ] = $fs_chmod_file > 0 + ? $fs_chmod_file + : fileperms( rocket_get_constant( 'ABSPATH' ) . 'index.php' ) & 0777 | 0644; + } + + return $perms[ $type ]; +} + +/** + * Gets Directory files matches regex. + * + * @since 3.6.3 + * @access private + * + * @param string $dir Directory to search for files inside it. + * @param string $regex Regular expression for files need to be searched for. + * + * @return array|RegexIterator List of files matches this regular expression. + */ +function _rocket_get_dir_files_by_regex( $dir, $regex ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + try { + $iterator = new IteratorIterator( + new FilesystemIterator( $dir ) + ); + + return new RegexIterator( $iterator, $regex ); + } catch ( Exception $e ) { + return []; + } +} + +/** + * Get the recursive iterator for the cache path. + * + * @since 3.5.4 + * @access private + * + * @param string $cache_path Path to the cache directory. + * + * @return bool|RecursiveIteratorIterator Iterator on success; else false; + */ +function _rocket_get_cache_path_iterator( $cache_path ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + try { + return new RecursiveIteratorIterator( + new RecursiveDirectoryIterator( $cache_path ), + RecursiveIteratorIterator::SELF_FIRST, + RecursiveIteratorIterator::CATCH_GET_CHILD + ); + } catch ( Exception $e ) { + // No logging yet. + return false; + } +} + +/** + * Gets the directories for the given URL host from the cache/wp-rocket/ directory or stored memory. + * + * @since 3.5.5 + * @access private + * + * @param string $url_host The URL's host. + * @param string $cache_path Cache's path, e.g. cache/wp-rocket/. + * @param bool $hard_reset Optional. When true, resets the static domain directories array and bails out. + * + * @return array + */ +function _rocket_get_cache_dirs( $url_host, $cache_path = '', $hard_reset = false ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + static $domain_dirs = []; + + if ( true === $hard_reset ) { + $domain_dirs = []; + + return; + } + + if ( isset( $domain_dirs[ $url_host ] ) ) { + return $domain_dirs[ $url_host ]; + } + + if ( empty( $cache_path ) ) { + $cache_path = _rocket_get_wp_rocket_cache_path(); + } + + try { + $iterator = new IteratorIterator( + new FilesystemIterator( $cache_path ) + ); + } catch ( Exception $e ) { + return []; + } + + $regex = sprintf( + '/%1$s%2$s(.*)/i', + _rocket_normalize_path( $cache_path, true ), + $url_host + ); + + try { + $entries = new RegexIterator( $iterator, $regex ); + } catch ( Exception $e ) { + return []; + } + + $domain_dirs[ $url_host ] = []; + foreach ( $entries as $entry ) { + $domain_dirs[ $url_host ][] = $entry->getPathname(); + } + + return $domain_dirs[ $url_host ]; +} + +/** + * Normalizes the given filesystem path: + * - Windows/IIS-based servers: converts all directory separators to "\\" or, when escaping, to "\\\\". + * - Linux-based servers: if $forced is true, uses wp_normalize_path(); else, returns the original path. + * + * @since 3.5.5 + * @access private + * + * @param string $path Filesystem path (file or directory) to normalize. + * @param bool $escape Optional. When true, escapes the directory separator(s). + * @param bool $force Optional. When true, forces normalizing off non-Windows' paths. + * + * @return string + */ +function _rocket_normalize_path( $path, $escape = false, $force = false ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + if ( _rocket_is_windows_fs( $path ) ) { + $path = str_replace( '/', '\\', $path ); + + return $escape + ? str_replace( '\\', '\\\\', $path ) + : $path; + } + + if ( $escape ) { + return str_replace( '/', '\/', $path ); + } + + if ( ! $force ) { + return $path; + } + + return wp_normalize_path( $path ); +} + +/** + * Checks if the filesystem (fs) is for Windows/IIS server. + * + * @since 3.5.5 + * @access private + * + * @param bool $hard_reset Optional. When true, resets the memoization. + * + * @return bool + */ +function _rocket_is_windows_fs( $hard_reset = false ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + static $is_windows = null; + + if ( $hard_reset ) { + $is_windows = null; + } + + if ( is_null( $is_windows ) ) { + $is_windows = ( + DIRECTORY_SEPARATOR === '\\' + && + ! rocket_get_constant( 'WP_ROCKET_RUNNING_VFS', false ) + ); + } + + return $is_windows; +} + +/** + * Gets the normalized cache path, i.e. normalizes constant "WP_ROCKET_CACHE_PATH". + * + * @since 3.5.5 + * @access private + * + * @return string + */ +function _rocket_get_wp_rocket_cache_path() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + return _rocket_normalize_path( rocket_get_constant( 'WP_ROCKET_CACHE_PATH' ) ); +} + +/** + * Gets .php files in a directory as an array of SplFileInfo objects. + * + * @since 3.6.3 + * + * @param string $dir_path Directory to check. + * + * @return array .php files in the directory. [...SplFileInfo] + */ +function _rocket_get_php_files_in_dir( $dir_path ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + try { + $config_dir = new FilesystemIterator( (string) $dir_path ); + } catch ( Exception $e ) { + return []; + } + $files = []; + + foreach ( $config_dir as $file ) { + if ( $file->isFile() && 'php' === $file->getExtension() ) { + $files[] = $file; + } + } + + return $files; +} + +/** + * Get recursive files matched by regex. + * + * @since 3.6.3 + * + * @param string $regex Regular Expression to be applied. + * + * @return array|RegexIterator List of files which match the regular expression (SplFileInfo). + */ +function _rocket_get_recursive_dir_files_by_regex( $regex ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + try { + $cache_path = _rocket_get_wp_rocket_cache_path(); + $iterator = new RecursiveIteratorIterator( + new RecursiveDirectoryIterator( $cache_path, FilesystemIterator::SKIP_DOTS ) + ); + return new RegexIterator( $iterator, $regex, RecursiveRegexIterator::MATCH ); + } catch ( Exception $e ) { + return []; + } +} diff --git a/inc/functions/formatting.php b/inc/functions/formatting.php new file mode 100644 index 0000000..bbba648 --- /dev/null +++ b/inc/functions/formatting.php @@ -0,0 +1,578 @@ + '(.*)', + '*' => '(.*)', + '(*)' => '(.*)', + '(.*)' => '(.*)', + ]; + + foreach ( $path_components as &$path_component ) { + $path_component = strtr( $path_component, $arr ); + } + $path = implode( '/', $path_components ); + + return $path; +} + + +/** + * Used with array_filter to remove files without .css extension + * + * @since 1.0 + * + * @param string $file filepath to sanitize. + * @return bool\string false if not a css file, filepath otherwise + */ +function rocket_sanitize_css( $file ) { + $file = preg_replace( '#\?.*$#', '', $file ); + $ext = strtolower( pathinfo( $file, PATHINFO_EXTENSION ) ); + return ( 'css' === $ext || 'php' === $ext ) ? trim( $file ) : false; +} + +/** + * Used with array_filter to remove files without .js extension + * + * @since 1.0 + * + * @param string $file filepath to sanitize. + * @return bool\string false if not a js file, filepath otherwise + */ +function rocket_sanitize_js( $file ) { + $file = preg_replace( '#\?.*$#', '', $file ); + $ext = strtolower( pathinfo( $file, PATHINFO_EXTENSION ) ); + return ( 'js' === $ext || 'php' === $ext ) ? trim( $file ) : false; +} + +/** + * Sanitize and validate JS files to exclude from the minification. + * + * @since 3.3.7 + * @author Remy Perona + * @author Grégory Viguier + * + * @param string $file filepath to sanitize. + * @return string + */ +function rocket_validate_js( $file ) { + if ( rocket_is_internal_file( $file ) ) { + $file = trim( $file ); + $file = rocket_clean_exclude_file( $file ); + $file = rocket_sanitize_js( $file ); + + return $file; + } + + return rocket_remove_url_protocol( esc_url_raw( strtok( $file, '?' ) ) ); +} + +/** + * Sanitize and validate CSS files to exclude from the minification. + * + * @since 3.7 + * + * @param string $file filepath to sanitize. + * @return string + */ +function rocket_validate_css( $file ) { + if ( rocket_is_internal_file( $file ) ) { + return rocket_sanitize_css( rocket_clean_exclude_file( trim( $file ) ) ); + } + + return rocket_remove_url_protocol( esc_url_raw( strtok( $file, '?' ) ) ); +} + +/** + * Check if the passed value is an internal URL (default domain or CDN/Multilingual). + * + * @since 3.3.7 + * + * @param string $file string to test. + * @return bool + */ +function rocket_is_internal_file( $file ) { + $file_host = wp_parse_url( rocket_add_url_protocol( $file ), PHP_URL_HOST ); + + if ( empty( $file_host ) ) { + return false; + } + + /** + * Filters the allowed hosts for optimization + * + * @since 3.4 + * + * @param array $hosts Allowed hosts. + * @param array $zones Zones to check available hosts. + */ + $hosts = apply_filters( 'rocket_cdn_hosts', [], [ 'all', 'css_and_js', 'css', 'js' ] ); + $hosts[] = wp_parse_url( content_url(), PHP_URL_HOST ); + $langs = get_rocket_i18n_uri(); + + // Get host for all langs. + if ( ! empty( $langs ) ) { + foreach ( $langs as $lang ) { + $hosts[] = wp_parse_url( $lang, PHP_URL_HOST ); + } + } + + $hosts = array_unique( $hosts ); + + if ( empty( $hosts ) ) { + return false; + } + + return in_array( $file_host, $hosts, true ); +} + +/** + * Sanitize a setting value meant for a textarea. + * + * @since 3.3.7 + * + * @param string $field The field’s name. Can be one of the following: + * 'exclude_css', 'exclude_inline_js', 'exclude_js', 'cache_reject_uri', + * 'cache_reject_ua', 'cache_purge_pages', 'cdn_reject_files'. + * @param array|string $value The value to sanitize. + * @return array|null + */ +function rocket_sanitize_textarea_field( $field, $value ) { + $fields = [ + 'cache_purge_pages' => [ 'esc_url', 'rocket_clean_exclude_file', 'rocket_clean_wildcards' ], // Pattern. + 'cache_reject_cookies' => [ 'rocket_sanitize_key' ], + 'cache_reject_ua' => [ 'rocket_sanitize_ua', 'rocket_clean_wildcards' ], // Pattern. + 'cache_reject_uri' => [ 'esc_url', 'rocket_clean_exclude_file', 'rocket_clean_wildcards' ], // Pattern. + 'cache_query_strings' => [ 'rocket_sanitize_key' ], + 'cdn_reject_files' => [ 'rocket_clean_exclude_file', 'rocket_clean_wildcards' ], // Pattern. + 'exclude_css' => [ 'rocket_validate_css', 'rocket_clean_wildcards' ], // Pattern. + 'exclude_inline_js' => [ 'sanitize_text_field' ], + 'exclude_defer_js' => [ 'sanitize_text_field' ], + 'exclude_js' => [ 'rocket_validate_js', 'rocket_clean_wildcards' ], // Pattern. + 'exclude_lazyload' => [ 'sanitize_text_field' ], + 'delay_js_exclusions' => [ 'sanitize_text_field', 'rocket_clean_wildcards' ], + 'remove_unused_css_safelist' => [ 'sanitize_text_field', 'rocket_clean_wildcards' ], + 'preload_excluded_uri' => [ 'sanitize_text_field', 'rocket_clean_wildcards' ], + ]; + + if ( ! isset( $fields[ $field ] ) ) { + return null; + } + + $sanitizations = $fields[ $field ]; + + if ( ! is_array( $value ) ) { + $value = explode( "\n", $value ); + } + + $value = array_map( 'trim', $value ); + $value = array_filter( $value ); + + if ( ! $value ) { + return []; + } + + // Sanitize. + foreach ( $sanitizations as $sanitization ) { + $value = array_filter( array_map( $sanitization, $value ) ); + } + + return array_unique( $value ); +} + +/** + * Used with array_filter to remove files without .xml extension + * + * @since 2.8 + * @author Remy Perona + * + * @param string $file filepath to sanitize. + * @return string|boolean filename or false if not xml + */ +function rocket_sanitize_xml( $file ) { + $file = preg_replace( '#\?.*$#', '', $file ); + $ext = strtolower( pathinfo( $file, PATHINFO_EXTENSION ) ); + return ( 'xml' === $ext ) ? trim( $file ) : false; +} + + +/** + * Sanitizes a string key like the sanitize_key() WordPress function without forcing lowercase. + * + * @since 2.7 + * + * @param string $key Key string to sanitize. + * @return string + */ +function rocket_sanitize_key( $key ) { + $key = preg_replace( '/[^a-z0-9_\-]/i', '', $key ); + return $key; +} + +/** + * Used to sanitize values of the "Never send cache pages for these user agents" option. + * + * @since 2.6.4 + * + * @param string $user_agent User Agent string. + * @return string + */ +function rocket_sanitize_ua( $user_agent ) { + $user_agent = preg_replace( '/[^a-z0-9._\(\)\*\-\/\s\x5c]/i', '', $user_agent ); + return $user_agent; +} + +/** + * Get an url without HTTP protocol + * + * @since 1.3.0 + * + * @param string $url The URL to parse. + * @param bool $no_dots (default: false). + * @return string $url The URL without protocol + */ +function rocket_remove_url_protocol( $url, $no_dots = false ) { + $url = preg_replace( '#^(https?:)?\/\/#im', '', $url ); + + /** This filter is documented in inc/front/htaccess.php */ + if ( apply_filters( 'rocket_url_no_dots', $no_dots ) ) { + $url = str_replace( '.', '_', $url ); + } + return $url; +} + +/** + * Add HTTP protocol to an url that does not have it. + * + * @since 2.2.1 + * + * @param string $url The URL to parse. + * + * @return string $url The URL with protocol. + */ +function rocket_add_url_protocol( $url ) { + // Bail out if the URL starts with http:// or https://. + if ( + strpos( $url, 'http://' ) !== false + || + strpos( $url, 'https://' ) !== false + ) { + return $url; + } + + if ( substr( $url, 0, 2 ) !== '//' ) { + $url = '//' . $url; + } + + return set_url_scheme( $url ); +} + +/** + * Set the scheme for a internal URL + * + * @since 2.6 + * + * @param string $url Absolute url that includes a scheme. + * @return string $url URL with a scheme. + */ +function rocket_set_internal_url_scheme( $url ) { + $tmp_url = set_url_scheme( $url ); + + if ( rocket_extract_url_component( $tmp_url, PHP_URL_HOST ) === rocket_extract_url_component( home_url(), PHP_URL_HOST ) ) { + $url = $tmp_url; + } + + return $url; +} + +/** + * Get the domain of an URL without subdomain + * (ex: rocket_get_domain( 'http://www.geekpress.fr' ) return geekpress.fr + * + * @source : http://stackoverflow.com/a/15498686 + * @since 2.7.3 undeprecated & updated + * @since 1.0 + * + * @param string $url URL to parse. + * @return string|bool Domain or false + */ +function rocket_get_domain( $url ) { + // Add URL protocol if the $url doesn't have one to prevent issue with parse_url. + $url = rocket_add_url_protocol( trim( $url ) ); + + $url_array = wp_parse_url( $url ); + $host = $url_array['host']; + /** + * Filters the tld max range for edge cases + * + * @since 2.7.3 + * + * @param string Max range number + */ + $match = '/(?P[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,' . apply_filters( 'rocket_get_domain_preg', '6' ) . '})$/i'; + + if ( preg_match( $match, $host, $regs ) ) { + return $regs['domain']; + } + + return false; +} + +/** + * Extract and return host, path, query and scheme of an URL + * + * @since 2.11.5 Supports UTF-8 URLs + * @since 2.1 Add $query variable + * @since 2.0 + * + * @param string $url The URL to parse. + * @return array Components of an URL + */ +function get_rocket_parse_url( $url ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + if ( ! is_string( $url ) ) { + return; + } + + $encoded_url = preg_replace_callback( + '%[^:/@?&=#]+%usD', + function ( $matches ) { + return rawurlencode( $matches[0] ); + }, + $url + ); + + $url = wp_parse_url( $encoded_url ); + $host = isset( $url['host'] ) ? strtolower( urldecode( $url['host'] ) ) : ''; + $path = isset( $url['path'] ) ? urldecode( $url['path'] ) : ''; + $scheme = isset( $url['scheme'] ) ? urldecode( $url['scheme'] ) : ''; + $query = isset( $url['query'] ) ? urldecode( $url['query'] ) : ''; + $fragment = isset( $url['fragment'] ) ? urldecode( $url['fragment'] ) : ''; + + /** + * Filter components of an URL + * + * @since 2.2 + * + * @param array Components of an URL + */ + return (array) apply_filters( + 'rocket_parse_url', + [ + 'host' => $host, + 'path' => $path, + 'scheme' => $scheme, + 'query' => $query, + 'fragment' => $fragment, + ] + ); +} + + +/** + * Extract a component from an URL. + * + * @since 2.11 + * @author Remy Perona + * + * @param string $url URL to parse and extract component of. + * @param string $component URL component to extract using constant as in parse_url(). + * @return string extracted component + */ +function rocket_extract_url_component( $url, $component ) { + return _get_component_from_parsed_url_array( wp_parse_url( $url ), $component ); +} + +/** + * Returns realpath to file (used for relative path with /../ in it or not-yet existing file) + * + * @since 2.11 + * @author Remy Perona + * + * @param string $file File to determine realpath for. + * @return string Resolved file path + */ +function rocket_realpath( $file ) { + $wrapper = null; + + // Strip the protocol. + if ( rocket_is_stream( $file ) ) { + list( $wrapper, $file ) = explode( '://', $file, 2 ); + } + + $path = []; + + foreach ( explode( '/', $file ) as $part ) { + if ( '' === $part || '.' === $part ) { + continue; + } + + if ( '..' !== $part ) { + array_push( $path, $part ); + } + elseif ( count( $path ) > 0 ) { + array_pop( $path ); + } + } + + $file = join( '/', $path ); + + if ( null !== $wrapper ) { + return $wrapper . '://' . $file; + } + + $prefix = 'WIN' === strtoupper( substr( PHP_OS, 0, 3 ) ) ? '' : '/'; + + return $prefix . $file; +} + +/** + * Converts an URL to an absolute path. + * + * @since 2.11.7 + * @author Remy Perona + * + * @param string $url URL to convert. + * @param array $zones Zones to check available hosts. + * @return string|bool + */ +function rocket_url_to_path( $url, array $zones = [ 'all' ] ) { + $wp_content_dir = rocket_get_constant( 'WP_CONTENT_DIR' ); + $root_dir = trailingslashit( dirname( $wp_content_dir ) ); + $content_url_host = wp_parse_url( content_url(), PHP_URL_HOST ); + + if ( null !== $content_url_host ) { + $root_url = str_replace( wp_basename( $wp_content_dir ), '', content_url() ); + } else { + $root_url = site_url( '/' ); + } + + $url_host = wp_parse_url( $url, PHP_URL_HOST ); + + // relative path. + if ( null === $url_host ) { + $subdir_levels = substr_count( preg_replace( '/https?:\/\//', '', site_url() ), '/' ); + $url = trailingslashit( site_url() . str_repeat( '/..', $subdir_levels ) ) . ltrim( $url, '/' ); + } + + /** + * Filters the URL before converting it to a path + * + * @since 3.5.3 + * @author Remy Perona + * + * @param string $url URL of the asset. + * @param array $zones CDN zones corresponding to the current assets type. + */ + $url = apply_filters( 'rocket_asset_url', $url, $zones ); + + $url = rawurldecode( $url ); + $root_url = preg_replace( '/^https?:/', '', $root_url ); + $url = preg_replace( '/^https?:/', '', $url ); + $file = str_replace( $root_url, $root_dir, $url ); + $file = rocket_realpath( $file ); + + /** + * Filters the absolute path to the asset file + * + * @since 3.3 + * @author Remy Perona + * + * @param string $file Absolute path to the file. + * @param string $url URL of the asset. + */ + $file = apply_filters( 'rocket_url_to_path', $file, $url ); + + if ( ! rocket_direct_filesystem()->is_readable( $file ) ) { + return false; + } + + return $file; +} + +/** + * Simple helper to get some external URLs. + * + * @since 2.10.10 + * @author Grégory Viguier + * + * @param string $target What we want. + * @param array $query_args An array of query arguments. + * @return string The URL. + */ +function rocket_get_external_url( $target, $query_args = [] ) { + $site_url = WP_ROCKET_WEB_MAIN; + + switch ( $target ) { + case 'support': + $locale = function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale(); + $paths = [ + 'default' => 'support', + 'fr_FR' => 'fr/support', + 'fr_CA' => 'fr/support', + 'it_IT' => 'it/supporto', + 'de_DE' => 'de/support', + 'es_ES' => 'es/soporte', + ]; + + $url = isset( $paths[ $locale ] ) ? $paths[ $locale ] : $paths['default']; + $url = $site_url . $url . '/'; + break; + case 'account': + $locale = function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale(); + $paths = [ + 'default' => 'account', + 'fr_FR' => 'fr/compte', + 'fr_CA' => 'fr/compte', + 'it_IT' => 'it/account/', + 'de_DE' => 'de/konto/', + 'es_ES' => 'es/cuenta/', + ]; + + $url = isset( $paths[ $locale ] ) ? $paths[ $locale ] : $paths['default']; + $url = $site_url . $url . '/'; + break; + default: + $url = $site_url; + } + + if ( $query_args ) { + $url = add_query_arg( $query_args, $url ); + } + + return $url; +} diff --git a/inc/functions/htaccess.php b/inc/functions/htaccess.php new file mode 100644 index 0000000..c38c623 --- /dev/null +++ b/inc/functions/htaccess.php @@ -0,0 +1,693 @@ +is_writable( $htaccess_file ) ) { + // The file is not writable or does not exist. + return false; + } + + // Get content of .htaccess file. + $ftmp = rocket_direct_filesystem()->get_contents( $htaccess_file ); + + if ( false === $ftmp ) { + // Could not get the file contents. + return false; + } + + // Check if the file contains the WP rules, before modifying anything. + $has_wp_rules = rocket_has_wp_htaccess_rules( $ftmp ); + + // Remove the WP Rocket marker. + $ftmp = preg_replace( '/\s*# BEGIN WP Rocket.*# END WP Rocket\s*?/isU', PHP_EOL . PHP_EOL, $ftmp ); + $ftmp = ltrim( $ftmp ); + + if ( ! $remove_rules ) { + $ftmp = get_rocket_htaccess_marker() . PHP_EOL . $ftmp; + } + + // Make sure the WP rules are still there. + if ( $has_wp_rules && ! rocket_has_wp_htaccess_rules( $ftmp ) ) { + return false; + } + + // Update the .htacces file. + return rocket_put_content( $htaccess_file, $ftmp ); +} + +/** + * Test if a server error is triggered by our rules + * + * @since 2.10 + * @author Remy Perona + * + * @param (string) $rules_name The rules block to test. + * + * @return (object|bool) Return true if the server does not trigger an error 500, false otherwise. + * Return a WP_Error object if the sandbox creation fails or if the HTTP request fails. + */ +function rocket_htaccess_rules_test( $rules_name ) { + /** + * Filters the request arguments + * + * @author Remy Perona + * @since 2.10 + * + * @param array $args Array of argument for the request. + */ + $request_args = apply_filters( + 'rocket_htaccess_rules_test_args', + [ + 'redirection' => 0, + 'timeout' => 5, + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + 'user-agent' => 'wprocketbot', + 'cookies' => $_COOKIE, + ] + ); + + $response = wp_remote_get( site_url( WP_ROCKET_URL . 'tests/' . $rules_name . '/index.html' ), $request_args ); + + if ( is_wp_error( $response ) ) { + return $response; + } + + return 500 !== wp_remote_retrieve_response_code( $response ); +} + +/** + * Return the markers for htacces rules + * + * @since 1.0 + * + * @return string $marker Rules that will be printed + */ +function get_rocket_htaccess_marker() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + // Recreate WP Rocket marker. + $marker = '# BEGIN WP Rocket v' . WP_ROCKET_VERSION . PHP_EOL; + + /** + * Add custom rules before rules added by WP Rocket + * + * @since 2.6 + * + * @param string $before_marker The content of all rules. + */ + $marker .= apply_filters( 'before_rocket_htaccess_rules', '' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + $marker .= get_rocket_htaccess_charset(); + $marker .= get_rocket_htaccess_etag(); + $marker .= get_rocket_htaccess_web_fonts_access(); + $marker .= get_rocket_htaccess_files_match(); + $marker .= get_rocket_htaccess_mod_expires(); + $marker .= get_rocket_htaccess_mod_deflate(); + + if ( \WP_Rocket\Buffer\Cache::can_generate_caching_files() && ! is_rocket_generate_caching_mobile_files() ) { + $marker .= get_rocket_htaccess_mod_rewrite(); + } + + /** + * Add custom rules after rules added by WP Rocket + * + * @since 2.6 + * + * @param string $after_marker The content of all rules. + */ + $marker .= apply_filters( 'after_rocket_htaccess_rules', '' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + + $marker .= '# END WP Rocket' . PHP_EOL; + + /** + * Filter rules added by WP Rocket in .htaccess + * + * @since 2.1 + * + * @param string $marker The content of all rules. + */ + $marker = apply_filters( 'rocket_htaccess_marker', $marker ); + + return $marker; +} + +/** + * Rewrite rules to serve the cache file + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_mod_rewrite() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + // No rewrite rules for multisite. + if ( is_multisite() ) { + return; + } + + // No rewrite rules for Korean. + if ( defined( 'WPLANG' ) && 'ko_KR' === WPLANG || 'ko_KR' === get_locale() ) { + return; + } + + // Get root base. + $home_root = rocket_extract_url_component( home_url(), PHP_URL_PATH ); + $home_root = isset( $home_root ) ? trailingslashit( $home_root ) : '/'; + + $site_root = rocket_extract_url_component( site_url(), PHP_URL_PATH ); + $site_root = isset( $site_root ) ? trailingslashit( $site_root ) : ''; + + // Get cache root. + if ( strpos( WP_ROCKET_CACHE_PATH, ABSPATH ) === false && isset( $_SERVER['DOCUMENT_ROOT'] ) ) { + $cache_root = '/' . ltrim( str_replace( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ), '', WP_ROCKET_CACHE_PATH ), '/' ); + } else { + $cache_root = '/' . ltrim( $site_root . str_replace( ABSPATH, '', WP_ROCKET_CACHE_PATH ), '/' ); + } + + /** + * Replace the dots by underscores to avoid some bugs on some shared hosting services on filenames (not multisite compatible!) + * + * @since 1.3.0 + * + * @param bool true will replace the . by _. + */ + $http_host = apply_filters( 'rocket_url_no_dots', false ) ? rocket_remove_url_protocol( home_url() ) : '%{HTTP_HOST}'; + + /** + * Allow the path to be fully printed or dependant od %DOCUMENT_ROOT (forced for 1&1 by default) + * + * @since 1.3.0 + * + * @param bool true will force the path to be full. + */ + $is_1and1_or_force = apply_filters( 'rocket_force_full_path', strpos( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ), '/kunden/' ) === 0 ); + + $rules = ''; + $gzip_rules = ''; + $enc = ''; + + if ( $is_1and1_or_force ) { + $cache_dir_path = str_replace( '/kunden/', '/', WP_ROCKET_CACHE_PATH ) . $http_host . '%{REQUEST_URI}'; + } else { + $cache_dir_path = '%{DOCUMENT_ROOT}/' . ltrim( $cache_root, '/' ) . $http_host . '%{REQUEST_URI}'; + } + + // @codingStandardsIgnoreStart + /** + * Allow to serve gzip cache file + * + * @since 2.4 + * + * @param bool true will force to serve gzip cache file. + */ + if ( function_exists( 'gzencode' ) && apply_filters( 'rocket_force_gzip_htaccess_rules', true ) ) { + $rules = '' . PHP_EOL; + $rules .= 'AddType text/html .html_gzip' . PHP_EOL; + $rules .= 'AddEncoding gzip .html_gzip' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + + $gzip_rules .= 'RewriteCond %{HTTP:Accept-Encoding} gzip' . PHP_EOL; + $gzip_rules .= 'RewriteRule .* - [E=WPR_ENC:_gzip]' . PHP_EOL; + + $enc = '%{ENV:WPR_ENC}'; + } + + $rules .= '' . PHP_EOL; + $rules .= 'RewriteEngine On' . PHP_EOL; + $rules .= 'RewriteBase ' . $home_root . PHP_EOL; + $rules .= get_rocket_htaccess_ssl_rewritecond(); + $rules .= rocket_get_webp_rewritecond( $cache_dir_path ); + $rules .= $gzip_rules; + $rules .= 'RewriteCond %{REQUEST_METHOD} GET' . PHP_EOL; + $rules .= 'RewriteCond %{QUERY_STRING} =""' . PHP_EOL; + + $cookies = get_rocket_cache_reject_cookies(); + if ( $cookies ) { + $rules .= 'RewriteCond %{HTTP:Cookie} !(' . $cookies . ') [NC]' . PHP_EOL; + } + + $uri = get_rocket_cache_reject_uri(); + if ( $uri ) { + $rules .= 'RewriteCond %{REQUEST_URI} !^(' . $uri . ')$ [NC]' . PHP_EOL; + } + + $rules .= ! is_rocket_cache_mobile() ? get_rocket_htaccess_mobile_rewritecond() : ''; + + $ua = get_rocket_cache_reject_ua(); + if ( $ua ) { + $rules .= 'RewriteCond %{HTTP_USER_AGENT} !^(' . $ua . ').* [NC]' . PHP_EOL; + } + + $rules .= 'RewriteCond "' . $cache_dir_path . '/index%{ENV:WPR_SSL}%{ENV:WPR_WEBP}.html' . $enc . '" -f' . PHP_EOL; + $rules .= 'RewriteRule .* "' . $cache_root . $http_host . '%{REQUEST_URI}/index%{ENV:WPR_SSL}%{ENV:WPR_WEBP}.html' . $enc . '" [L]' . PHP_EOL; + $rules .= '' . PHP_EOL; + + /** + * Filter rewrite rules to serve the cache file + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_mod_rewrite', $rules ); + + return $rules; +} + +/** + * Rules for detect mobile version + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_mobile_rewritecond() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + // No rewrite rules for multisite. + if ( is_multisite() ) { + return; + } + + $rules = 'RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]' . PHP_EOL; + $rules .= 'RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]' . PHP_EOL; + $rules .= 'RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]' . PHP_EOL; + $rules .= 'RewriteCond %{HTTP_USER_AGENT} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]' . PHP_EOL; + + /** + * Filter rules for detect mobile version + * + * @since 2.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_mobile_rewritecond', $rules ); + + return $rules; +} + +/** + * Rules for SSL requests + * + * @since 2.7 Added rewrite condition for `%{HTTP:X-Forwarded-Proto}`. + * @since 2.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_ssl_rewritecond() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $rules = 'RewriteCond %{HTTPS} on [OR]' . PHP_EOL; + $rules .= 'RewriteCond %{SERVER_PORT} ^443$ [OR]' . PHP_EOL; + $rules .= 'RewriteCond %{HTTP:X-Forwarded-Proto} https' . PHP_EOL; + $rules .= 'RewriteRule .* - [E=WPR_SSL:-https]' . PHP_EOL; + + /** + * Filter rules for SSL requests + * + * @since 2.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_ssl_rewritecond', $rules ); + + return $rules; +} + +/** + * Rules for webp compatible browsers. + * + * @since 3.4 + * @author Grégory Viguier + * + * @param string $cache_dir_path Path to the cache directory, without trailing slash. + * @return string Rules that will be printed. + */ +function rocket_get_webp_rewritecond( $cache_dir_path ) { + if ( ! get_rocket_option( 'cache_webp' ) ) { + return ''; + } + + $rules = 'RewriteCond %{HTTP_ACCEPT} image/webp' . PHP_EOL; + $rules .= 'RewriteCond "' . $cache_dir_path . '/.no-webp" !-f' . PHP_EOL; + $rules .= 'RewriteRule .* - [E=WPR_WEBP:-webp]' . PHP_EOL; + + /** + * Filter rules for webp. + * + * @since 3.4 + * @author Grégory Viguier + * + * @param string $rules Rules that will be printed. + */ + return apply_filters( 'rocket_webp_rewritecond', $rules ); +} + +/** + * Rules to improve performances with GZIP Compression + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_mod_deflate() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $rules = '# Gzip compression' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '# Active compression' . PHP_EOL; + $rules .= 'SetOutputFilter DEFLATE' . PHP_EOL; + $rules .= '# Force deflate for mangled headers' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding' . PHP_EOL; + $rules .= 'RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding' . PHP_EOL; + $rules .= '# Don’t compress images and other uncompressible content' . PHP_EOL; + $rules .= 'SetEnvIfNoCase Request_URI \\' . PHP_EOL; + $rules .= '\\.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|swf|mp?g|mp4|webm|webp|pdf)$ no-gzip dont-vary' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + $rules .= '# Compress all output labeled with one of the following MIME-types' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'AddOutputFilterByType DEFLATE application/atom+xml \ + application/javascript \ + application/json \ + application/rss+xml \ + application/vnd.ms-fontobject \ + application/x-font-ttf \ + application/xhtml+xml \ + application/xml \ + font/opentype \ + image/svg+xml \ + image/x-icon \ + text/css \ + text/html \ + text/plain \ + text/x-component \ + text/xml' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'Header append Vary: Accept-Encoding' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + + /** + * Filter rules to improve performances with GZIP Compression + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_mod_deflate', $rules ); + + return $rules; +} + +/** + * Rules to improve performances with Expires Headers + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_mod_expires() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $rules = << + AddType image/avif avif + AddType image/avif-sequence avifs + +# Expires headers (for better cache control) + + ExpiresActive on + ExpiresDefault "access plus 1 month" + # cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5) + ExpiresByType text/cache-manifest "access plus 0 seconds" + # Your document html + ExpiresByType text/html "access plus 0 seconds" + # Data + ExpiresByType text/xml "access plus 0 seconds" + ExpiresByType application/xml "access plus 0 seconds" + ExpiresByType application/json "access plus 0 seconds" + # Feed + ExpiresByType application/rss+xml "access plus 1 hour" + ExpiresByType application/atom+xml "access plus 1 hour" + # Favicon (cannot be renamed) + ExpiresByType image/x-icon "access plus 1 week" + # Media: images, video, audio + ExpiresByType image/gif "access plus 4 months" + ExpiresByType image/png "access plus 4 months" + ExpiresByType image/jpeg "access plus 4 months" + ExpiresByType image/webp "access plus 4 months" + ExpiresByType video/ogg "access plus 4 months" + ExpiresByType audio/ogg "access plus 4 months" + ExpiresByType video/mp4 "access plus 4 months" + ExpiresByType video/webm "access plus 4 months" + ExpiresByType image/avif "access plus 4 months" + ExpiresByType image/avif-sequence "access plus 4 months" + # HTC files (css3pie) + ExpiresByType text/x-component "access plus 1 month" + # Webfonts + ExpiresByType font/ttf "access plus 4 months" + ExpiresByType font/otf "access plus 4 months" + ExpiresByType font/woff "access plus 4 months" + ExpiresByType font/woff2 "access plus 4 months" + ExpiresByType image/svg+xml "access plus 4 months" + ExpiresByType application/vnd.ms-fontobject "access plus 1 month" + # CSS and JavaScript + ExpiresByType text/css "access plus 1 year" + ExpiresByType application/javascript "access plus 1 year" + + +HTACCESS; + + /** + * Filter rules to improve performances with Expires Headers + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_mod_expires', $rules ); + + return $rules; +} + +/** + * Rules for default charset on static files + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_charset() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + // Get charset of the blog. + $charset = preg_replace( '/[^a-zA-Z0-9_\-\.:]+/', '', get_bloginfo( 'charset', 'display' ) ); + + if ( empty( $charset ) ) { + return ''; + } + + $rules = "# Use $charset encoding for anything served text/plain or text/html" . PHP_EOL; + $rules .= "AddDefaultCharset $charset" . PHP_EOL; + $rules .= "# Force $charset for a number of file formats" . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= "AddCharset $charset .atom .css .js .json .rss .vtt .xml" . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + + /** + * Filter rules for default charset on static files + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_charset', $rules ); + + return $rules; +} + +/** + * Rules for cache control + * + * @since 1.1.6 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_files_match() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $rules = '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'Header set X-Powered-By "WP Rocket/' . WP_ROCKET_VERSION . '"' . PHP_EOL; + $rules .= 'Header unset Pragma' . PHP_EOL; + $rules .= 'Header append Cache-Control "public"' . PHP_EOL; + $rules .= 'Header unset Last-Modified' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'Header unset Pragma' . PHP_EOL; + $rules .= 'Header append Cache-Control "public"' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + + /** + * Filter rules for cache control + * + * @since 1.1.6 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_files_match', $rules ); + + return $rules; +} + +/** + * Rules to remove the etag + * + * @since 1.0 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_etag() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $rules = '# FileETag None is not enough for every server.' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'Header unset ETag' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + $rules .= '# Since we’re sending far-future expires, we don’t need ETags for static content.' . PHP_EOL; + $rules .= '# developer.yahoo.com/performance/rules.html#etags' . PHP_EOL; + $rules .= 'FileETag None' . PHP_EOL . PHP_EOL; + + /** + * Filter rules to remove the etag + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_etag', $rules ); + + return $rules; +} + +/** + * Rules to Cross-origin fonts sharing when CDN is used + * + * @since 2.4 + * + * @return string $rules Rules that will be printed + */ +function get_rocket_htaccess_web_fonts_access() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + if ( ! get_rocket_option( 'cdn', false ) ) { + return; + } + + $rules = '# Send CORS headers if browsers request them; enabled by default for images.' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '# mod_headers, y u no match by Content-Type?!' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'SetEnvIf Origin ":" IS_CORS' . PHP_EOL; + $rules .= 'Header set Access-Control-Allow-Origin "*" env=IS_CORS' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + + $rules .= '# Allow access to web fonts from all domains.' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= 'Header set Access-Control-Allow-Origin "*"' . PHP_EOL; + $rules .= '' . PHP_EOL; + $rules .= '' . PHP_EOL . PHP_EOL; + // @codingStandardsIgnoreEnd + /** + * Filter rules to Cross-origin fonts sharing + * + * @since 1.0 + * + * @param string $rules Rules that will be printed. + */ + $rules = apply_filters( 'rocket_htaccess_web_fonts_access', $rules ); + + return $rules; +} + +/** + * Tell if WP rewrite rules are present in a given string. + * + * @since 3.2.4 + * @author Grégory Viguier + * + * @param string $content Htaccess content. + * @return bool + */ +function rocket_has_wp_htaccess_rules( $content ) { + if ( is_multisite() ) { + $has_wp_rules = strpos( $content, '# add a trailing slash to /wp-admin' ) !== false; + } else { + $has_wp_rules = strpos( $content, '# BEGIN WordPress' ) !== false; + } + + /** + * Tell if WP rewrite rules are present in a given string. + * + * @since 3.2.4 + * @author Grégory Viguier + * + * @param bool $has_wp_rules True when present. False otherwise. + * @param string $content .htaccess content. + */ + return apply_filters( 'rocket_has_wp_htaccess_rules', $has_wp_rules, $content ); +} + +/** + * Check if WP Rocket htaccess rules are already present in the file + * + * @since 3.3.5 + * @author Remy Perona + * + * @return bool + */ +function rocket_check_htaccess_rules() { + if ( ! function_exists( 'get_home_path' ) ) { + require_once ABSPATH . 'wp-admin/includes/file.php'; + } + + $htaccess_file = get_home_path() . '.htaccess'; + + if ( ! rocket_direct_filesystem()->is_readable( $htaccess_file ) ) { + return false; + } + + $htaccess = rocket_direct_filesystem()->get_contents( $htaccess_file ); + + if ( preg_match( '/\s*# BEGIN WP Rocket.*# END WP Rocket\s*?/isU', $htaccess ) ) { + return true; + } + + return false; +} diff --git a/inc/functions/i18n.php b/inc/functions/i18n.php new file mode 100644 index 0000000..bd8b5f7 --- /dev/null +++ b/inc/functions/i18n.php @@ -0,0 +1,670 @@ +get_active_languages() as $lang ) { + // Get flag. + $flag = $sitepress->get_flag( $lang['code'] ); + $flag_url = ICL_PLUGIN_URL . '/res/flags/' . $flag->flag; + + if ( $flag->from_template ) { + $wp_upload_dir = wp_upload_dir(); + $flag_url = $wp_upload_dir['baseurl'] . '/flags/' . $flag->flag; + } + + $langlinks[] = [ + 'code' => $lang['code'], + 'current' => $lang['code'] === $sitepress->get_current_language(), + 'anchor' => $lang['display_name'], + 'flag' => '' . esc_attr( $lang['code'] ) . '', + ]; + } + + if ( isset( $_GET['lang'] ) && 'all' === $_GET['lang'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + array_unshift( + $langlinks, + [ + 'code' => 'all', + 'current' => 'all' === $sitepress->get_current_language(), + 'anchor' => __( 'All languages', 'rocket' ), + 'flag' => 'all', + ] + ); + } else { + array_push( + $langlinks, + [ + 'code' => 'all', + 'current' => 'all' === $sitepress->get_current_language(), + 'anchor' => __( 'All languages', 'rocket' ), + 'flag' => 'all', + ] + ); + } + + return $langlinks; +} + +/** + * Get all langs to display in admin bar for qTranslate + * + * @since 2.7 add fork param + * @since 1.3.5 + * + * @param string $fork qTranslate fork name. + * @return array $langlinks List of active languages + */ +function get_rocket_qtranslate_langs_for_admin_bar( $fork = '' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + global $q_config; + + $langlinks = []; + $currentlang = []; + + foreach ( $q_config['enabled_languages'] as $lang ) { + + $langlinks[ $lang ] = [ + 'code' => $lang, + 'anchor' => $q_config['language_name'][ $lang ], + 'flag' => '' . esc_attr( $q_config['language_name'][ $lang ] ) . '', + ]; + + } + + if ( isset( $_GET['lang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + $lang = sanitize_key( $_GET['lang'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended + + if ( 'x' === $fork ) { + if ( qtranxf_isEnabled( $lang ) ) { + $currentlang[ $lang ] = $langlinks[ $lang ]; + unset( $langlinks[ $lang ] ); + $langlinks = $currentlang + $langlinks; + } + } elseif ( qtrans_isEnabled( $lang ) ) { + $currentlang[ $lang ] = $langlinks[ $lang ]; + unset( $langlinks[ $lang ] ); + $langlinks = $currentlang + $langlinks; + } + } + + return $langlinks; +} + +/** + * Get all langs to display in admin bar for Polylang + * + * @since 2.2 + * + * @return array $langlinks List of active languages + */ +function get_rocket_polylang_langs_for_admin_bar() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + global $polylang; + + $langlinks = []; + $currentlang = []; + $langs = []; + $img = ''; + + $pll = function_exists( 'PLL' ) ? PLL() : $polylang; + + if ( isset( $pll ) ) { + $langs = $pll->model->get_languages_list(); + + if ( ! empty( $langs ) ) { + foreach ( $langs as $lang ) { + if ( ! empty( $lang->flag ) ) { + $img = strpos( $lang->flag, 'img' ) !== false ? $lang->flag . ' ' : $lang->flag; + } + + if ( isset( $pll->curlang->slug ) && $lang->slug === $pll->curlang->slug ) { + $currentlang[ $lang->slug ] = [ + 'code' => $lang->slug, + 'anchor' => $lang->name, + 'flag' => $img, + ]; + } else { + $langlinks[ $lang->slug ] = [ + 'code' => $lang->slug, + 'anchor' => $lang->name, + 'flag' => $img, + ]; + } + } + } + } + + return $currentlang + $langlinks; +} + +/** + * Tell if a translation plugin is activated. + * + * @since 2.0 + * @since 3.2.1 Return an identifier on success instead of true. + * + * @return string An identifier corresponding to the active plugin. + */ +function rocket_has_i18n() { + global $sitepress, $q_config, $polylang; + + if ( ! empty( $sitepress ) && is_object( $sitepress ) && method_exists( $sitepress, 'get_active_languages' ) ) { + // WPML. + return 'wpml'; + } + + if ( ! empty( $polylang ) && function_exists( 'pll_languages_list' ) ) { + $languages = pll_languages_list(); + + if ( empty( $languages ) ) { + return ''; + } + + // Polylang, Polylang Pro. + return 'polylang'; + } + + if ( ! empty( $q_config ) && is_array( $q_config ) ) { + if ( function_exists( 'qtranxf_convertURL' ) ) { + // qTranslate-x. + return 'qtranslate-x'; + } + + if ( function_exists( 'qtrans_convertURL' ) ) { + // qTranslate. + return 'qtranslate'; + } + } + + $identifier = ''; + $default = $identifier; + + /** + * Filters the value of i18n plugin detection + * + * @param string $identifier An identifier value. + */ + $identifier = apply_filters( 'rocket_has_i18n', $identifier ); + + if ( ! is_string( $identifier ) ) { + $identifier = $default; + } + + return $identifier; +} + +/** + * Get infos of all active languages. + * + * @since 2.0 + * + * @return array A list of language codes. + */ +function get_rocket_i18n_code() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $i18n_plugin = rocket_has_i18n(); + + if ( ! $i18n_plugin ) { + return []; + } + + if ( 'wpml' === $i18n_plugin ) { + // WPML. + return array_keys( $GLOBALS['sitepress']->get_active_languages() ); + } + + if ( 'qtranslate' === $i18n_plugin || 'qtranslate-x' === $i18n_plugin ) { + // qTranslate, qTranslate-x. + return ! empty( $GLOBALS['q_config']['enabled_languages'] ) ? $GLOBALS['q_config']['enabled_languages'] : []; + } + + if ( 'polylang' === $i18n_plugin ) { + // Polylang, Polylang Pro. + return pll_languages_list(); + } + + $codes = []; + $default = $codes; + + /** + * Filters the active languages codes list + * + * @param array $codes Array of languages codes. + */ + $codes = apply_filters( 'rocket_get_i18n_code', $codes ); + + if ( ! is_array( $codes ) ) { + $codes = $default; + } + + return $codes; +} + +/** + * Get all active languages host + * + * @since 2.6.8 + * + * @return array $urls List of all active languages host + */ +function get_rocket_i18n_host() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $langs_host = []; + $langs = get_rocket_i18n_uri(); + + if ( empty( $langs ) ) { + return $langs_host; + } + + foreach ( $langs as $lang ) { + $langs_host[] = wp_parse_url( $lang, PHP_URL_HOST ); + } + + return $langs_host; +} + +/** + * Get all active languages URI. + * + * @since 2.0 + * + * @return array $urls List of all active languages URI. + */ +function get_rocket_i18n_uri() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $i18n_plugin = rocket_has_i18n(); + $urls = []; + + if ( 'wpml' === $i18n_plugin ) { + // WPML. + foreach ( get_rocket_i18n_code() as $lang ) { + $urls[] = $GLOBALS['sitepress']->language_url( $lang ); + } + } elseif ( 'qtranslate' === $i18n_plugin || 'qtranslate-x' === $i18n_plugin ) { + // qTranslate, qTranslate-x. + foreach ( get_rocket_i18n_code() as $lang ) { + if ( 'qtranslate' === $i18n_plugin ) { + $urls[] = qtrans_convertURL( home_url(), $lang, true ); + } else { + $urls[] = qtranxf_convertURL( home_url(), $lang, true ); + } + } + } elseif ( 'polylang' === $i18n_plugin ) { + // Polylang, Polylang Pro. + $pll = function_exists( 'PLL' ) ? PLL() : $GLOBALS['polylang']; + + if ( ! empty( $pll ) && is_object( $pll ) ) { + if ( ! defined( 'POLYLANG_VERSION' ) || version_compare( POLYLANG_VERSION, '3.4', '<' ) ) { + $urls = wp_list_pluck( $pll->model->get_languages_list(), 'search_url' ); + }else { + $languages = $pll->model->get_languages_list(); + foreach ( $languages as $language ) { + $urls[] = $language->get_home_url(); + } + } + } + } + + /** + * Filters the value of all active languages URI + * + * @param array Array of active languages URI. + */ + $urls = apply_filters( 'rocket_get_i18n_uri', $urls ); + + if ( + ! is_array( $urls ) + || + empty( $urls ) + ) { + $urls[] = home_url(); + } + + return $urls; +} + +/** + * Get directories paths to preserve languages ​​when purging a domain. + * This function is required when the domains of languages (​​other than the default) are managed by subdirectories. + * By default, when you clear the cache of the french website with the domain example.com, all subdirectory like /en/ + * and /de/ are deleted. But, if you have a domain for your english and german websites with example.com/en/ and + * example.com/de/, you want to keep the /en/ and /de/ directory when the french domain is cleared. + * + * @since 3.5.5 Normalize paths + micro-optimization by passing in the cache path. + * @since 2.0 + * + * @param string $current_lang The current language code. + * @param string $cache_path Optional. WP Rocket's cache path. + * + * @return array A list of directories path to preserve. + */ +function get_rocket_i18n_to_preserve( $current_lang, $cache_path = '' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + // Must not be an empty string. + if ( empty( $current_lang ) ) { + return []; + } + + // Must not be anything else but a string. + if ( ! is_string( $current_lang ) ) { + return []; + } + + $i18n_plugin = rocket_has_i18n(); + if ( ! $i18n_plugin ) { + return []; + } + + $langs = get_rocket_i18n_code(); + if ( empty( $langs ) ) { + return []; + } + + // Remove current lang to the preserve dirs. + $langs = array_diff( $langs, [ $current_lang ] ); + + if ( '' === $cache_path ) { + $cache_path = _rocket_get_wp_rocket_cache_path(); + } + + // Stock all URLs of langs to preserve. + $langs_to_preserve = []; + foreach ( $langs as $lang ) { + $parse_url = get_rocket_parse_url( get_rocket_i18n_home_url( $lang ) ); + $langs_to_preserve[] = _rocket_normalize_path( + "{$cache_path}{$parse_url['host']}(.*)/" . trim( $parse_url['path'], '/' ), + true // escape directory separators for regex. + ); + } + + /** + * Filter directories path to preserve of cache purge. + * + * @since 2.1 + * + * @param array $langs_to_preserve List of directories path to preserve. + */ + return (array) apply_filters( 'rocket_langs_to_preserve', $langs_to_preserve ); +} + +/** + * Get all languages subdomains URLs + * + * @since 2.1 + * + * @return array $urls List of languages subdomains URLs + */ +function get_rocket_i18n_subdomains() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $i18n_plugin = rocket_has_i18n(); + + if ( ! $i18n_plugin ) { + return []; + } + + $urls = []; + $default = $urls; + + switch ( $i18n_plugin ) { + // WPML. + case 'wpml': + $option = get_option( 'icl_sitepress_settings' ); + + if ( 2 === (int) $option['language_negotiation_type'] ) { + $urls = get_rocket_i18n_uri(); + } + break; + // qTranslate. + case 'qtranslate': + if ( 3 === (int) $GLOBALS['q_config']['url_mode'] ) { + $urls = get_rocket_i18n_uri(); + } + break; + // qTranslate-x. + case 'qtranslate-x': + if ( 3 === (int) $GLOBALS['q_config']['url_mode'] || 4 === (int) $GLOBALS['q_config']['url_mode'] ) { + $urls = get_rocket_i18n_uri(); + } + break; + // Polylang, Polylang Pro. + case 'polylang': + $pll = function_exists( 'PLL' ) ? PLL() : $GLOBALS['polylang']; + + if ( ! empty( $pll ) && is_object( $pll ) && ( 2 === (int) $pll->options['force_lang'] || 3 === (int) $pll->options['force_lang'] ) ) { + $urls = get_rocket_i18n_uri(); + } + break; + default: + /** + * Filters the list of languages subdomains URLs + * + * @param array $urls Array of languages subdomains URLs. + */ + $urls = apply_filters( 'rocket_i18n_subdomains', $urls ); + + if ( ! is_array( $urls ) ) { + $urls = $default; + } + } + + return $urls; +} + +/** + * Get home URL of a specific lang. + * + * @since 2.2 + * + * @param string $lang The language code. Default is an empty string. + * @return string $url + */ +function get_rocket_i18n_home_url( $lang = '' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $i18n_plugin = rocket_has_i18n(); + + $home_url = home_url(); + $default = $home_url; + + if ( ! $i18n_plugin ) { + return $home_url; + } + + switch ( $i18n_plugin ) { + // WPML. + case 'wpml': + $home_url = $GLOBALS['sitepress']->language_url( $lang ); + break; + // qTranslate. + case 'qtranslate': + $home_url = qtrans_convertURL( home_url(), $lang, true ); + break; + // qTranslate-x. + case 'qtranslate-x': + $home_url = qtranxf_convertURL( home_url(), $lang, true ); + break; + // Polylang, Polylang Pro. + case 'polylang': + $pll = function_exists( 'PLL' ) ? PLL() : $GLOBALS['polylang']; + + if ( ! empty( $pll->options['force_lang'] ) && isset( $pll->links ) ) { + $home_url = pll_home_url( $lang ); + } + break; + default: + /** + * Filters the home URL value for a specific language + * + * @param string $home_url Home URL. + * @param string $lang The language code. + */ + $home_url = apply_filters( 'rocket_i18n_home_url', $home_url, $lang ); + + if ( ! is_string( $home_url ) ) { + $home_url = $default; + } + } + + return $home_url; +} + +/** + * Get all translated path of a specific post with ID. + * + * @since 2.4 + * + * @param int $post_id Post ID. + * @param string $post_type Post Type. + * @param string $regex Regex to include at the end. + * @return array + */ +function get_rocket_i18n_translated_post_urls( $post_id, $post_type = 'page', $regex = '' ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $url = get_permalink( $post_id ); + $path = wp_parse_url( $url, PHP_URL_PATH ); + + if ( empty( $path ) ) { + return []; + } + + $i18n_plugin = rocket_has_i18n(); + + $urls = []; + $default = $urls; + + switch ( $i18n_plugin ) { + // WPML. + case 'wpml': + $langs = get_rocket_i18n_code(); + + if ( $langs ) { + foreach ( $langs as $lang ) { + $urls[] = wp_parse_url( get_permalink( icl_object_id( $post_id, $post_type, true, $lang ) ), PHP_URL_PATH ) . $regex; + } + } + break; + // qTranslate & qTranslate-x. + case 'qtranslate': + case 'qtranslate-x': + $langs = $GLOBALS['q_config']['enabled_languages']; + $langs = array_diff( $langs, [ $GLOBALS['q_config']['default_language'] ] ); + $urls[] = wp_parse_url( $url, PHP_URL_PATH ) . $regex; + + if ( $langs ) { + foreach ( $langs as $lang ) { + if ( 'qtranslate' === $i18n_plugin ) { + $urls[] = wp_parse_url( qtrans_convertURL( $url, $lang, true ), PHP_URL_PATH ) . $regex; + } elseif ( 'qtranslate-x' === $i18n_plugin ) { + $urls[] = wp_parse_url( qtranxf_convertURL( $url, $lang, true ), PHP_URL_PATH ) . $regex; + } + } + } + break; + // Polylang. + case 'polylang': + if ( function_exists( 'PLL' ) && is_object( PLL()->model ) ) { + $translations = pll_get_post_translations( $post_id ); + } elseif ( ! empty( $GLOBALS['polylang']->model ) && is_object( $GLOBALS['polylang']->model ) ) { + $translations = $GLOBALS['polylang']->model->get_translations( 'page', $post_id ); + } + + if ( ! empty( $translations ) ) { + foreach ( $translations as $translation_post_id ) { + $urls[] = wp_parse_url( get_permalink( $translation_post_id ), PHP_URL_PATH ) . $regex; + } + } + break; + default: + /** + * Filters the list of translated URLs for a post ID + * + * @param array $urls Array of translated URLs. + * @param string $url URL to use. + * @param string $post_type Post type. + * @param string $regex Pattern to include at the end. + */ + $urls = apply_filters( 'rocket_i18n_translated_post_urls', $urls, $url, $post_type, $regex ); + + if ( ! is_array( $urls ) ) { + $urls = $default; + } + } + + if ( trim( $path, '/' ) !== '' ) { + $urls[] = $path . $regex; + } + + return array_unique( $urls ); +} + +/** + * Returns the home URL, without WPML filters if the plugin is active + * + * @since 3.2.4 + * + * @param string $path Path to add to the home URL. + * @return string + */ +function rocket_get_home_url( $path = '' ) { + global $wpml_url_filters; + static $home_url = []; + static $has_wpml; + + if ( isset( $home_url[ $path ] ) ) { + return $home_url[ $path ]; + } + + if ( ! isset( $has_wpml ) ) { + $has_wpml = $wpml_url_filters && is_object( $wpml_url_filters ) && method_exists( $wpml_url_filters, 'home_url_filter' ); + } + + if ( $has_wpml ) { + remove_filter( 'home_url', [ $wpml_url_filters, 'home_url_filter' ], -10 ); + } + + $home_url[ $path ] = home_url( $path ); + + if ( $has_wpml ) { + add_filter( 'home_url', [ $wpml_url_filters, 'home_url_filter' ], -10, 4 ); + } + + return $home_url[ $path ]; +} + +/** + * Gets the current language + * + * @since 3.3.3 + * + * @return string + */ +function rocket_get_current_language() { + $i18n_plugin = rocket_has_i18n(); + + if ( ! $i18n_plugin ) { + return ''; + } + + $current_language = ''; + $default = $current_language; + + if ( 'polylang' === $i18n_plugin && function_exists( 'pll_current_language' ) ) { + return pll_current_language(); + } elseif ( 'wpml' === $i18n_plugin ) { + return apply_filters( 'wpml_current_language', null ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + } + + /** + * Filters the current language value + * + * @param string $current_language Current language. + */ + $current_language = apply_filters( 'rocket_i18n_current_language', $current_language ); + + if ( ! is_string( $current_language ) ) { + $current_language = $default; + } + + return $current_language; +} diff --git a/inc/functions/options.php b/inc/functions/options.php new file mode 100644 index 0000000..4bfd5b9 --- /dev/null +++ b/inc/functions/options.php @@ -0,0 +1,671 @@ +get( 'settings', [] ) ); + + return $options->get( $option, $default ); +} + +/** + * Export settings into JSON. + * + * @return array + */ +function rocket_export_options() { + $site_name = get_rocket_parse_url( get_home_url() ); + $site_name = $site_name['host'] . $site_name['path']; + $filename = sprintf( 'wp-rocket-settings-%s-%s-%s.json', $site_name, date( 'Y-m-d' ), uniqid() ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date + return [ $filename, wp_json_encode( get_option( WP_ROCKET_SLUG ), JSON_PRETTY_PRINT ) ]; // do not use get_rocket_option() here. +} + +/** + * Update a WP Rocket option. + * + * @since 3.0 Use the new options classes + * @since 2.7 + * + * @param string $key The option name. + * @param mixed $value The value of the option. + * @return void + */ +function update_rocket_option( $key, $value ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $options_api = new Options( 'wp_rocket_' ); + $options = new Options_Data( $options_api->get( 'settings', [] ) ); + + $options->set( $key, $value ); + $options_api->set( 'settings', $options->get_options() ); +} + +/** + * Check whether the plugin is active by checking the active_plugins list. + * + * @since 1.3.0 + * + * @source wp-admin/includes/plugin.php + * + * @param string $plugin Plugin folder/main file. + * + * @return boolean true when plugin is active; else false. + */ +function rocket_is_plugin_active( $plugin ) { + return ( + in_array( $plugin, (array) get_option( 'active_plugins', [] ), true ) + || + rocket_is_plugin_active_for_network( $plugin ) + ); +} + +/** + * Check whether the plugin is active for the entire network. + * + * @since 1.3.0 + * + * @source wp-admin/includes/plugin.php + * + * @param string $plugin Plugin folder/main file. + * + * @return bool true if multisite and plugin is active for network; else, false. + */ +function rocket_is_plugin_active_for_network( $plugin ) { + if ( ! is_multisite() ) { + return false; + } + + $plugins = get_site_option( 'active_sitewide_plugins' ); + return isset( $plugins[ $plugin ] ); +} + +/** + * Is we need to exclude some specifics options on a post. + * + * @since 2.5 + * + * @param string $option The option name (lazyload, css, js, cdn). + * @return bool True if the option is deactivated + */ +function is_rocket_post_excluded_option( $option ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + global $post; + + if ( ! is_object( $post ) ) { + return false; + } + + if ( is_home() ) { + $post_id = get_queried_object_id(); + } + + if ( is_singular() && isset( $post ) ) { + $post_id = $post->ID; + } + + return ( isset( $post_id ) ) ? get_post_meta( $post_id, '_rocket_exclude_' . $option, true ) : false; +} + +/** + * Check if we need to cache the mobile version of the website (if available) + * + * @since 1.0 + * + * @return bool True if option is activated + */ +function is_rocket_cache_mobile() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + return get_rocket_option( 'cache_mobile', false ); +} + +/** + * Check if we need to generate a different caching file for mobile (if available) + * + * @since 2.7 + * + * @return bool True if option is activated and if mobile caching is enabled + */ +function is_rocket_generate_caching_mobile_files() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + return get_rocket_option( 'cache_mobile', false ) && get_rocket_option( 'do_caching_mobile_files', false ); +} + +/** + * Get the domain names to DNS prefetch from WP Rocket options + * + * @since 2.8.9 + * @author Remy Perona + * + * return Array An array of domain names to DNS prefetch + */ +function rocket_get_dns_prefetch_domains() { + $domains = (array) get_rocket_option( 'dns_prefetch' ); + + /** + * Filter list of domains to prefetch DNS + * + * @since 1.1.0 + * + * @param array $domains List of domains to prefetch DNS + */ + return apply_filters( 'rocket_dns_prefetch', $domains ); +} + +/** + * Gets the parameters ignored during caching + * + * These parameters are ignored when checking the query string during caching to allow serving the default cache when they are present + * + * @since 3.4 + * + * @return array + */ +function rocket_get_ignored_parameters() { + /** + * Filters the ignored parameters + * + * @since 3.4 + * + * @param array $params An array of ignored parameters as array keys. + */ + return apply_filters( 'rocket_cache_ignored_parameters', [] ); +} + +/** + * Get all uri we don't cache. + * + * @since 3.3.2 Exclude embedded URLs + * @since 2.6 Using json_get_url_prefix() to auto-exclude the WordPress REST API. + * @since 2.4.1 Auto-exclude WordPress REST API. + * @since 2.0 + * + * @param bool $force Force the static uris to be reverted to null. + * @param bool $show_safe_content show sensitive uris. + * @return string A pipe separated list of rejected uri. + */ +function get_rocket_cache_reject_uri( $force = false, $show_safe_content = true ) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + static $uris; + global $wp_rewrite; + + if ( $force ) { + $uris = null; + } + if ( $uris ) { + return $uris; + } + + $uris = (array) get_rocket_option( 'cache_reject_uri', [] ); + + $home_root = rocket_get_home_dirname(); + $home_root_escaped = preg_quote( $home_root, '/' ); // The site is not at the domain root, it's in a folder. + $home_root_len = strlen( $home_root ); + + if ( '' !== $home_root && $uris ) { + foreach ( $uris as $i => $uri ) { + /** + * Since these URIs can be regex patterns like `/homeroot(/.+)/`, we can't simply search for the string `/homeroot/` (nor `/homeroot`). + * So this pattern searchs for `/homeroot/` and `/homeroot(/`. + */ + if ( ! preg_match( '/' . $home_root_escaped . '\(?\//', $uri ) ) { + // Reject URIs located outside site's folder. + unset( $uris[ $i ] ); + continue; + } + + // Remove the home directory. + $uris[ $i ] = substr( $uri, $home_root_len ); + } + } + + // Exclude feeds. + $uris[] = '/(?:.+/)?' . $wp_rewrite->feed_base . '(?:/(?:.+/?)?)?$'; + + // Exlude embedded URLs. + $uris[] = '/(?:.+/)?embed/'; + + /** + * Filter the rejected uri + * + * @since 2.1 + * + * @param array $uris List of rejected uri + * @param bool $show_safe_content show sensitive uris. + */ + $uris = apply_filters( 'rocket_cache_reject_uri', $uris, $show_safe_content ); + $uris = array_filter( $uris ); + + if ( ! $uris ) { + return ''; + } + + $uris = array_map( + function ( $uri ) { + // Sanitize URIs and remove single quote from them to avoid syntax errors in .htaccess and php config file. + return str_replace( "'", '', esc_url_raw( $uri ) ); + }, + $uris + ); + + if ( '' !== $home_root ) { + foreach ( $uris as $i => $uri ) { + if ( preg_match( '/' . $home_root_escaped . '\(?\//', $uri ) ) { + // Remove the home directory from the new URIs. + $uris[ $i ] = substr( $uri, $home_root_len ); + } + } + } + + $uris = implode( '|', $uris ); + + if ( '' !== $home_root ) { + // Add the home directory back. + $uris = $home_root . '(' . $uris . ')'; + } + + return $uris; +} + +/** + * Get all cookie names we don't cache. + * + * @since 2.0 + * + * @return string A pipe separated list of rejected cookies. + */ +function get_rocket_cache_reject_cookies() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $logged_in_cookie = explode( COOKIEHASH, LOGGED_IN_COOKIE ); + $logged_in_cookie = array_map( 'preg_quote', $logged_in_cookie ); + $logged_in_cookie = implode( '.+', $logged_in_cookie ); + + $cookies = get_rocket_option( 'cache_reject_cookies', [] ); + $cookies[] = $logged_in_cookie; + $cookies[] = 'wp-postpass_'; + $cookies[] = 'wptouch_switch_toggle'; + $cookies[] = 'comment_author_'; + $cookies[] = 'comment_author_email_'; + + /** + * Filter the rejected cookies. + * + * @since 2.1 + * + * @param array $cookies List of rejected cookies. + */ + $cookies = (array) apply_filters( 'rocket_cache_reject_cookies', $cookies ); + $cookies = array_filter( $cookies ); + $cookies = array_flip( array_flip( $cookies ) ); + + return implode( '|', $cookies ); +} + +/** + * Get list of mandatory cookies to be able to cache pages. + * + * @since 2.7 + * + * @return string A pipe separated list of mandatory cookies. + */ +function get_rocket_cache_mandatory_cookies() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $cookies = []; + + /** + * Filter list of mandatory cookies. + * + * @since 2.7 + * + * @param array $cookies List of mandatory cookies. + */ + $cookies = (array) apply_filters( 'rocket_cache_mandatory_cookies', $cookies ); + $cookies = array_filter( $cookies ); + $cookies = array_flip( array_flip( $cookies ) ); + + return implode( '|', $cookies ); +} + +/** + * Get list of dynamic cookies. + * + * @since 2.7 + * + * @return array List of dynamic cookies. + */ +function get_rocket_cache_dynamic_cookies() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $cookies = []; + + /** + * Filter list of dynamic cookies. + * + * @since 2.7 + * + * @param array $cookies List of dynamic cookies. + */ + $cookies = (array) apply_filters( 'rocket_cache_dynamic_cookies', $cookies ); + $cookies = array_filter( $cookies ); + $cookies = array_unique( $cookies ); + + return $cookies; +} + +/** + * Get all User-Agent we don't allow to get cache files. + * + * @since 2.3.5 + * + * @return string A pipe separated list of rejected User-Agent. + */ +function get_rocket_cache_reject_ua() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $ua = get_rocket_option( 'cache_reject_ua', [] ); + $ua[] = 'facebookexternalhit'; + $ua[] = 'WhatsApp'; + + /** + * Filter the rejected User-Agent + * + * @since 2.3.5 + * + * @param array $ua List of rejected User-Agent. + */ + $ua = (array) apply_filters( 'rocket_cache_reject_ua', $ua ); + $ua = array_filter( $ua ); + $ua = array_flip( array_flip( $ua ) ); + $ua = implode( '|', $ua ); + + return str_replace( [ ' ', '\\\\ ' ], '\\ ', $ua ); +} + +/** + * Get all query strings which can be cached. + * + * @since 2.3 + * + * @return array List of query strings which can be cached. + */ +function get_rocket_cache_query_string() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $query_strings = get_rocket_option( 'cache_query_strings', [] ); + + /** + * Filter query strings which can be cached. + * + * @since 2.3 + * + * @param array $query_strings List of query strings which can be cached. + */ + $query_strings = (array) apply_filters( 'rocket_cache_query_strings', $query_strings ); + $query_strings = array_filter( $query_strings ); + $query_strings = array_flip( array_flip( $query_strings ) ); + + return $query_strings; +} + +/** + * Determine if the key is valid + * + * @since 2.9 use hash_equals() to compare the hash values + * @since 1.0 + * + * @return bool true if everything is ok, false otherwise + */ +function rocket_valid_key() { + return true; +} + +/** + * Determine if the key is valid. + * + * @since 2.9.7 Remove arguments ($type & $data). + * @since 2.9.7 Stop to auto-check the validation each 1 & 30 days. + * @since 2.2 The function do the live check and update the option. + * + * @return bool|array + */ +function rocket_check_key() { + // Recheck the license. + $return = rocket_valid_key(); + + if ( $return ) { + rocket_delete_licence_data_file(); + + return $return; + } + + Logger::info( 'LICENSE VALIDATION PROCESS STARTED.', [ 'license validation process' ] ); + + $response = wp_remote_get( + rocket_get_constant( 'WP_ROCKET_WEB_VALID' ), + [ + 'timeout' => 30, + ] + ); + + if ( is_wp_error( $response ) ) { + Logger::error( + 'License validation failed.', + [ + 'license validation process', + 'request_error' => $response->get_error_messages(), + ] + ); + + set_transient( 'rocket_check_key_errors', $response->get_error_messages() ); + + return $return; + } + + $body = wp_remote_retrieve_body( $response ); + $json = json_decode( $body ); + + if ( null === $json ) { + if ( '' === $body ) { + Logger::error( 'License validation failed. No body available in response.', [ 'license validation process' ] ); + // Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening link tag, %4$s closing link tag. + $message = __( 'License validation failed. Our server could not resolve the request from your website.', 'rocket' ) . '
    ' . sprintf( __( 'Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s.', 'rocket' ), '', '', '', '' ); + set_transient( 'rocket_check_key_errors', [ $message ] ); + + return $return; + } + + Logger::error( + 'License validation failed.', + [ + 'license validation process', + 'response_body' => $body, + ] + ); + + if ( 'NULLED' === $body ) { + // Translators: %1$s = opening link tag, %2$s = closing link tag. + $message = __( 'License validation failed. You may be using a nulled version of the plugin. Please do the following:', 'rocket' ) . '
    • ' . sprintf( __( 'Login to your WP Rocket %1$saccount%2$s', 'rocket' ), '', '' ) . '
    • ' . __( 'Download the zip file', 'rocket' ) . '
    • ' . __( 'Reinstall', 'rocket' ) . '
    ' . sprintf( __( 'If you do not have a WP Rocket account, please %1$spurchase a license%2$s.', 'rocket' ), '', '' ); + set_transient( 'rocket_check_key_errors', [ $message ] ); + + return $return; + } + + if ( 'BAD_USER' === $body ) { + // Translators: %1$s = opening link tag, %2$s = closing link tag. + $message = __( 'License validation failed. This user account does not exist in our database.', 'rocket' ) . '
    ' . sprintf( __( 'To resolve, please contact support.', 'rocket' ), '', '' ); + set_transient( 'rocket_check_key_errors', [ $message ] ); + + return $return; + } + + if ( 'USER_BLOCKED' === $body ) { + // Translators: %1$s = opening link tag, %2$s = closing link tag. + $message = __( 'License validation failed. This user account is blocked.', 'rocket' ) . '
    ' . sprintf( __( 'Please see %1$sthis guide%2$s for more info.', 'rocket' ), '', '' ); + set_transient( 'rocket_check_key_errors', [ $message ] ); + + return $return; + } + + // Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening link tag, %4$s closing link tag. + $message = __( 'License validation failed. Our server could not resolve the request from your website.', 'rocket' ) . '
    ' . sprintf( __( 'Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s.', 'rocket' ), '', '', '', '' ); + set_transient( 'rocket_check_key_errors', [ $message ] ); + + return $return; + } + + $rocket_options = []; + $rocket_options['consumer_key'] = $json->data->consumer_key; + $rocket_options['consumer_email'] = $json->data->consumer_email; + + if ( ! $json->success ) { + $messages = [ + // Translators: %1$s = opening link tag, %2$s = closing link tag. + 'BAD_LICENSE' => __( 'Your license is not valid.', 'rocket' ) . '
    ' . sprintf( __( 'Make sure you have an active %1$sWP Rocket license%2$s.', 'rocket' ), '', '' ), + // Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = opening link tag. + 'BAD_NUMBER' => __( 'You have added as many sites as your current license allows.', 'rocket' ) . '
    ' . sprintf( __( 'Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain.', 'rocket' ), '', '', '' ), + // Translators: %1$s = opening link tag, %2$s = closing link tag. + 'BAD_SITE' => __( 'This website is not allowed.', 'rocket' ) . '
    ' . sprintf( __( 'Please %1$scontact support%2$s.', 'rocket' ), '
    ', '' ), + // Translators: %1$s = opening link tag, %2$s = closing link tag. + 'BAD_KEY' => __( 'This license key is not recognized.', 'rocket' ) . '
    • ' . sprintf( __( 'Login to your WP Rocket %1$saccount%2$s', 'rocket' ), '', '' ) . '
    • ' . __( 'Download the zip file', 'rocket' ) . '
    • ' . __( 'Reinstall', 'rocket' ) . '
    ' . sprintf( __( 'If the issue persists, please %1$scontact support%2$s.', 'rocket' ), '', '' ), + ]; + + $rocket_options['secret_key'] = ''; + + // Translators: %s = error message returned. + set_transient( 'rocket_check_key_errors', [ sprintf( __( 'License validation failed: %s', 'rocket' ), $messages[ $json->data->reason ] ) ] ); + + Logger::error( + 'License validation failed.', + [ + 'license validation process', + 'response_error' => $json->data->reason, + ] + ); + + set_transient( rocket_get_constant( 'WP_ROCKET_SLUG' ), $rocket_options ); + return $rocket_options; + } + + $rocket_options['secret_key'] = $json->data->secret_key; + + if ( ! get_rocket_option( 'license' ) ) { + $rocket_options['license'] = '1'; + } + + Logger::info( 'License validation successful.', [ 'license validation process' ] ); + + set_transient( rocket_get_constant( 'WP_ROCKET_SLUG' ), $rocket_options ); + delete_transient( 'rocket_check_key_errors' ); + rocket_delete_licence_data_file(); + update_option( 'wp_rocket_no_licence', 0 ); + + return $rocket_options; +} + +/** + * Deletes the licence-data.php file if it exists + * + * @since 3.5 + * @author Remy Perona + * + * @return void + */ +function rocket_delete_licence_data_file() { + if ( is_multisite() ) { + return; + } + + $rocket_path = rocket_get_constant( 'WP_ROCKET_PATH' ); + + if ( ! rocket_direct_filesystem()->exists( $rocket_path . 'licence-data.php' ) ) { + return; + } + + rocket_direct_filesystem()->delete( $rocket_path . 'licence-data.php' ); +} + +/** + * Is WP a MultiSite and a subfolder install? + * + * @since 3.1.1 + * @author Grégory Viguier + * + * @return bool + */ +function rocket_is_subfolder_install() { + global $wpdb; + static $subfolder_install; + + if ( isset( $subfolder_install ) ) { + return $subfolder_install; + } + + if ( is_multisite() ) { + $subfolder_install = ! is_subdomain_install(); + } elseif ( ! is_null( $wpdb->sitemeta ) ) { + $subfolder_install = ! $wpdb->get_var( "SELECT meta_value FROM $wpdb->sitemeta WHERE site_id = 1 AND meta_key = 'subdomain_install'" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery + } else { + $subfolder_install = false; + } + + return $subfolder_install; +} + +/** + * Get the name of the "home directory", in case the home URL is not at the domain's root. + * It can be seen like the `RewriteBase` from the .htaccess file, but without the trailing slash. + * + * @since 3.1.1 + * @author Grégory Viguier + * + * @return string + */ +function rocket_get_home_dirname() { + static $home_root; + + if ( isset( $home_root ) ) { + return $home_root; + } + + $home_root = wp_parse_url( rocket_get_main_home_url() ); + + if ( ! empty( $home_root['path'] ) ) { + $home_root = '/' . trim( $home_root['path'], '/' ); + $home_root = rtrim( $home_root, '/' ); + } else { + $home_root = ''; + } + + return $home_root; +} + +/** + * Get the URL of the site's root. It corresponds to the main site's home page URL. + * + * @since 3.1.1 + * @author Grégory Viguier + * + * @return string + */ +function rocket_get_main_home_url() { + static $root_url; + + if ( isset( $root_url ) ) { + return $root_url; + } + + if ( ! is_multisite() || is_main_site() ) { + $root_url = rocket_get_home_url( '/' ); + return $root_url; + } + + $current_network = get_network(); + + if ( $current_network ) { + $root_url = set_url_scheme( 'https://' . $current_network->domain . $current_network->path ); + $root_url = trailingslashit( $root_url ); + } else { + $root_url = rocket_get_home_url( '/' ); + } + + return $root_url; +} diff --git a/inc/functions/posts.php b/inc/functions/posts.php new file mode 100644 index 0000000..826a087 --- /dev/null +++ b/inc/functions/posts.php @@ -0,0 +1,73 @@ +post_type ); + + $original_status = $post->post_status; + $original_date = $post->post_date; + $original_name = $post->post_name; + + // Hack: get_permalink() would return ugly permalink for drafts, so we will fake that our post is published. + if ( in_array( $post->post_status, [ 'draft', 'pending' ], true ) ) { + $post->post_status = 'publish'; + $post->post_name = sanitize_title( $post->post_name ? $post->post_name : $post->post_title, $post->ID ); + } + + // If the user wants to set a new name -- override the current one. + // Note: if empty name is supplied -- use the title instead, see #6072. + if ( ! is_null( $name ) ) { + $post->post_name = sanitize_title( $name ? $name : $title, $post->ID ); + } + + $post->post_name = wp_unique_post_slug( $post->post_name, $post->ID, $post->post_status, $post->post_type, $post->post_parent ); + + $post->filter = 'sample'; + + $permalink = get_permalink( $post, false ); + + // Replace custom post_type Token with generic pagename token for ease of use. + $permalink = str_replace( "%$post->post_type%", '%pagename%', $permalink ); + + // Handle page hierarchy. + if ( $ptype->hierarchical ) { + $uri = get_page_uri( $post ); + $uri = untrailingslashit( $uri ); + $uri = strrev( stristr( strrev( $uri ), '/' ) ); + $uri = untrailingslashit( $uri ); + + /** This filter is documented in wp-admin/edit-tag-form.php */ + $uri = apply_filters( 'editable_slug', $uri, $post ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + if ( ! empty( $uri ) ) { + $uri .= '/'; + } + $permalink = str_replace( '%pagename%', "{$uri}%pagename%", $permalink ); + } + + /** This filter is documented in wp-admin/edit-tag-form.php */ + $permalink = [ $permalink, apply_filters( 'editable_slug', $post->post_name, $post ) ]; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + $post->post_status = $original_status; + $post->post_date = $original_date; + $post->post_name = $original_name; + unset( $post->filter ); + + return $permalink; +} diff --git a/inc/main.php b/inc/main.php new file mode 100644 index 0000000..4801bd1 --- /dev/null +++ b/inc/main.php @@ -0,0 +1,103 @@ +load(); + + // Call defines and functions. + require_once WP_ROCKET_FUNCTIONS_PATH . 'api.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'posts.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'admin.php'; + require WP_ROCKET_INC_PATH . '/API/bypass.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'formatting.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'i18n.php'; + require WP_ROCKET_FUNCTIONS_PATH . 'htaccess.php'; + require WP_ROCKET_DEPRECATED_PATH . 'deprecated.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.2.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.3.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.4.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.5.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.6.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.7.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.8.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.9.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.10.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.11.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.12.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.13.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.14.php'; + require WP_ROCKET_DEPRECATED_PATH . '3.15.php'; + require WP_ROCKET_3RD_PARTY_PATH . '3rd-party.php'; + require WP_ROCKET_COMMON_PATH . 'admin-bar.php'; + + if ( rocket_valid_key() ) { + require WP_ROCKET_COMMON_PATH . 'purge.php'; + + if ( is_multisite() && defined( 'SUNRISE' ) && SUNRISE === 'on' && function_exists( 'domain_mapping_siteurl' ) ) { + require WP_ROCKET_INC_PATH . '/domain-mapping.php'; + } + } + + if ( is_admin() ) { + require WP_ROCKET_ADMIN_PATH . 'upgrader.php'; + require WP_ROCKET_ADMIN_PATH . 'options.php'; + require WP_ROCKET_ADMIN_PATH . 'admin.php'; + require WP_ROCKET_ADMIN_UI_PATH . 'enqueue.php'; + require WP_ROCKET_ADMIN_UI_PATH . 'notices.php'; + require WP_ROCKET_ADMIN_UI_PATH . 'meta-boxes.php'; + } elseif ( rocket_valid_key() ) { + require WP_ROCKET_FRONT_PATH . 'cookie.php'; + require WP_ROCKET_FRONT_PATH . 'dns-prefetch.php'; + } + + // You can hook this to trigger any action when WP Rocket is correctly loaded, so, not in AUTOSAVE mode. + if ( rocket_valid_key() ) { + /** + * Fires when WP Rocket is correctly loaded + * + * @since 1.0 + */ + do_action( 'wp_rocket_loaded' ); + } +} +add_action( 'plugins_loaded', 'rocket_init' ); + +register_deactivation_hook( WP_ROCKET_FILE, [ 'WP_Rocket\Engine\Deactivation\Deactivation', 'deactivate_plugin' ] ); +register_activation_hook( WP_ROCKET_FILE, [ 'WP_Rocket\Engine\Activation\Activation', 'activate_plugin' ] ); diff --git a/inc/vendors/classes/class-imagify-partner.php b/inc/vendors/classes/class-imagify-partner.php new file mode 100644 index 0000000..5606ddb --- /dev/null +++ b/inc/vendors/classes/class-imagify-partner.php @@ -0,0 +1,877 @@ +partner = self::sanitize_partner( $partner ); + } + + /** + * Class init. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + */ + public function init() { + if ( ! $this->get_partner() ) { + return; + } + + if ( ! is_admin() ) { + return; + } + + if ( ! self::has_imagify_api_key() ) { + add_action( 'wp_ajax_' . $this->get_post_action(), array( $this, 'post_callback' ) ); + add_action( 'admin_post_' . $this->get_post_action(), array( $this, 'post_callback' ) ); + } + + if ( self::is_success() || self::is_error() ) { + add_action( 'all_admin_notices', array( __CLASS__, 'error_notice' ) ); + add_filter( 'removable_query_args', array( __CLASS__, 'add_query_args' ) ); + } + } + + + /** ----------------------------------------------------------------------------------------- */ + /** MAIN PUBLIC TOOLS ======================================================================= */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Tell if Imagify's API key is set. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function has_imagify_api_key() { + static $has; + + if ( isset( $has ) ) { + return $has; + } + + if ( function_exists( 'get_imagify_option' ) ) { + // Imagify is already installed and activated. + $has = (bool) get_imagify_option( 'api_key' ); + return $has; + } + + if ( defined( 'IMAGIFY_API_KEY' ) && IMAGIFY_API_KEY ) { + // It's defined in wp-config.php. + $has = true; + return $has; + } + + if ( ! is_multisite() ) { + // Monosite: grab the value from the options table. + $options = get_option( 'imagify_settings' ); + $has = ! empty( $options['api_key'] ); + return $has; + } + + $options = get_site_option( 'imagify_settings' ); + + if ( ! empty( $options['api_key'] ) ) { + // Multisite: Imagify was activated in the network. + $has = true; + return $has; + } + + // Multisite: Imagify was activated for this site. + $options = get_option( 'imagify_settings' ); + $has = ! empty( $options['api_key'] ); + return $has; + } + + /** + * Tell if Imagify is activated. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function is_imagify_activated() { + return defined( 'IMAGIFY_VERSION' ); + } + + /** + * Tell if Imagify is installed. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function is_imagify_installed() { + if ( self::is_imagify_activated() ) { + return true; + } + + return file_exists( self::get_imagify_path() ); + } + + /** + * Tell if Imagify has been successfully installed. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function is_success() { + return ! empty( $_GET[ self::SUCCESS_ARG ] ); // WPCS: CSRF ok. + } + + /** + * Tell if Imagify install failed. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function is_error() { + return ! empty( $_GET[ self::ERROR_ARG ] ); // WPCS: CSRF ok. + } + + /** + * Get the URL to install and activate Imagify. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string The URL. + */ + public function get_post_install_url() { + if ( ! $this->get_partner() || ! self::current_user_can() ) { + return ''; + } + + $install_url = admin_url( 'admin-post.php' ); + $args = array( + 'action' => $this->get_post_action(), + '_wpnonce' => wp_create_nonce( self::NONCE_NAME ), + // To make sure we have a referrer. + '_wp_http_referer' => rawurlencode( self::get_current_url() ), + ); + + return add_query_arg( $args, $install_url ); + } + + /** + * Get the partner identifier. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string Partner identifier. + */ + public function get_partner() { + return $this->partner; + } + + + /** ----------------------------------------------------------------------------------------- */ + /** HOOKS =================================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Post callback to install and activate Imagify. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + */ + public function post_callback() { + if ( ! check_ajax_referer( self::NONCE_NAME, '_wpnonce', false ) ) { + $this->error_die(); + } + + if ( ! self::current_user_can() ) { + $this->error_die( 'cant_install' ); + } + + /** + * Store the partner ID before doing anything. + * If something goes wrong during the plugin installation, the partner ID will still be saved. + */ + self::store_partner( $this->get_partner() ); + + // Install Imagify. + $result = $this->install_imagify(); + + if ( is_wp_error( $result ) ) { + // Install failed. + if ( self::doing_ajax() ) { + $this->send_json_error( $result ); + } + // Redirect to the plugins search page. + $this->error_redirect( $result ); + } + + // Activate Imagify. + $result = $this->activate_imagify(); + + if ( is_wp_error( $result ) ) { + // Activation failed. + if ( self::doing_ajax() ) { + $this->send_json_error( $result ); + } + // Redirect to the plugins search page. + $this->error_redirect( $result ); + } + + if ( self::doing_ajax() ) { + $this->send_json_success(); + } + // Redirect to the partner's page. + $this->success_redirect(); + } + + /** + * Maybe print an error notice on the plugins install page. + * We add the query argument we use to display an error message. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + */ + public static function error_notice() { + if ( ! self::is_error() ) { + // No URL argument. + return; + } + + $screen = get_current_screen(); + + if ( ! $screen || 'plugin-install' !== $screen->id ) { + // Not the good page. + return; + } + + $partner = self::get_stored_partner(); + + if ( ! $partner ) { + // No partner stored in the database. + return; + } + + $errors = get_transient( self::ERROR_TRANSIENT_NAME ); + + if ( ! $errors ) { + // No error messages. + return; + } + + if ( ! is_wp_error( $errors ) ) { + // Invalid value. + delete_transient( self::ERROR_TRANSIENT_NAME ); + return; + } + + $errors = $errors->get_error_messages(); + + if ( $errors ) { + foreach ( $errors as $i => $error ) { + if ( self::FALLBACK_MESSAGE === $error ) { + unset( $errors[ $i ] ); + } + } + } + + if ( ! $errors ) { + // Add a generic message. + $instance = new self( $partner ); + $errors[] = $instance->get_message( 'process_failed' ); + } + + echo '

    ' . implode( '
    ', $errors ) . '

    '; + } + + /** + * Filter the list of query variables to remove from admin area URLs. + * We add the query arguments we use on success or error. + * + * @since 1.0 + * @access public + * @see wp_removable_query_args() + * @author Grégory Viguier + * + * @param array $removable_query_args An array of query variables to remove from a URL. + * @return array + */ + public static function add_query_args( $removable_query_args ) { + $removable_query_args[] = self::SUCCESS_ARG; + $removable_query_args[] = self::ERROR_ARG; + return $removable_query_args; + } + + + /** ----------------------------------------------------------------------------------------- */ + /** INFOS, INSTALL, ACTIVATE ================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get Imagify infos from the repository. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @return object The plugin infos on success. A WP_Error object on failure. + */ + protected function get_imagify_infos() { + static $infos; + + if ( isset( $infos ) ) { + return $infos; + } + + require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + + // Get Plugin Infos. + $infos = plugins_api( 'plugin_information', array( + 'slug' => 'imagify', + 'fields' => array( + 'short_description' => false, + 'sections' => false, + 'rating' => false, + 'ratings' => false, + 'downloaded' => false, + 'last_updated' => false, + 'added' => false, + 'tags' => false, + 'homepage' => false, + 'donate_link' => false, + ), + ) ); + + return $infos; + } + + /** + * Get the URL to download Imagify. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @return string The URL. An empty string on error. + */ + protected function get_download_url() { + $infos = $this->get_imagify_infos(); + return ! empty( $infos->download_link ) ? $infos->download_link : ''; + } + + /** + * Install Imagify. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @return object|null A WP_Object on failure, null on success. + */ + protected function install_imagify() { + if ( self::is_imagify_installed() ) { + // Imagify is already installed. + return null; + } + + $infos = $this->get_imagify_infos(); + + if ( is_wp_error( $infos ) ) { + return $infos; + } + + ob_start(); + @set_time_limit( 0 ); + + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + + $upgrader = new Plugin_Upgrader( new Automatic_Upgrader_Skin() ); + $result = $upgrader->install( $this->get_download_url() ); + + ob_end_clean(); + + if ( is_wp_error( $result ) ) { + return $result; + } + + clearstatcache(); + + if ( ! self::is_imagify_installed() ) { + return new WP_Error( 'process_failed', $this->get_message( 'process_failed' ) ); + } + + return null; + } + + /** + * Activate Imagify. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @return object|null A WP_Object on failure, null on success. + */ + protected function activate_imagify() { + return activate_plugin( self::get_imagify_path(), false, is_multisite() ); + } + + /** + * Get a message used by the class. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param string $message_id A message ID. + * @return string A message. + */ + protected function get_message( $message_id ) { + $messages = array( + 'success' => __( 'Plugin installed successfully.' ), + 'cant_install' => __( 'Sorry, you are not allowed to install plugins on this site.' ), + 'not_allowed' => __( 'Sorry, you are not allowed to do that.' ), + 'process_failed' => __( 'Plugin install failed.' ), + 'go_back' => __( 'Go back' ), + ); + + /** + * Filter messages used everywhere in the class. + * Default messages are already translated by WordPress. + * + * @since 1.0 + * @author Grégory Viguier + * + * @param array $messages Messages. + */ + $messages = apply_filters( 'imagify_partner_messages_' . $this->get_partner(), $messages ); + + return ! empty( $messages[ $message_id ] ) ? $messages[ $message_id ] : self::FALLBACK_MESSAGE; + } + + + /** ----------------------------------------------------------------------------------------- */ + /** HANDLE SUCCESS ========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Send a JSON response back to an Ajax request, indicating success. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + */ + protected function send_json_success() { + delete_transient( self::ERROR_TRANSIENT_NAME ); + + wp_send_json_success( $this->get_message( 'success' ) ); + } + + /** + * Redirect the user after Imagify is successfully installed and activated. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + */ + protected function success_redirect() { + delete_transient( self::ERROR_TRANSIENT_NAME ); + + wp_safe_redirect( esc_url_raw( $this->get_success_redirection_url() ) ); + die(); + } + + /** + * Get the URL to redirect the user to after Imagify is successfully installed and activated: the referrer (partner's page URL). + * A "success" argument is added. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_success_redirection_url() { + $success_url = add_query_arg( array( + self::SUCCESS_ARG => 1, + self::ERROR_ARG => false, + ), wp_get_referer() ); + + /** + * Filter the URL to redirect the user to after Imagify is successfully installed and activated. + * Default is the partner's page URL. + * + * @since 1.0 + * @author Grégory Viguier + * + * @param string $success_url The URL. + */ + return apply_filters( 'imagify_partner_success_url_' . $this->get_partner(), $success_url ); + } + + + /** ----------------------------------------------------------------------------------------- */ + /** HANDLE ERROR ============================================================================ */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Die on error. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param string $message_id An error message ID. + */ + protected function error_die( $message_id = 'not_allowed' ) { + $message = $this->get_message( $message_id ); + + if ( self::doing_ajax() ) { + $message = new WP_Error( $message_id, $message ); + $this->send_json_error( $message ); + } + + if ( wp_get_referer() ) { + $message .= '

    '; + $message .= sprintf( '%s', + esc_url( remove_query_arg( 'updated', wp_get_referer() ) ), + $this->get_message( 'go_back' ) + ); + } + + wp_die( $message, '', 403 ); + } + + /** + * Send a JSON response back to an Ajax request, indicating failure. + * This is a backward compatible version of wp_send_json_error(): WP_Error object handling was introduced in WP 4.1. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param mixed $data Data to encode as JSON, then print and die. + */ + protected function send_json_error( $data ) { + if ( is_wp_error( $data ) ) { + $result = array(); + foreach ( $data->errors as $code => $messages ) { + foreach ( $messages as $message ) { + $result[] = array( + 'code' => $code, + 'message' => $message, + ); + } + } + } else { + $result = $data; + } + + wp_send_json_error( $result ); + } + + /** + * Store an error message in a transient then redirect the user. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param object $error A WP_Error object. + */ + protected function error_redirect( $error ) { + set_transient( self::ERROR_TRANSIENT_NAME, $error, 30 ); + + wp_safe_redirect( esc_url_raw( $this->get_error_redirection_url() ) ); + die(); + } + + /** + * Get the URL to redirect the user to after Imagify installation failure: the plugins search page URL, searching for Imagify. + * An "error" argument is added, to display an error notice. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public function get_error_redirection_url() { + $error_url = 'plugin-install.php?s=imagify&tab=search&type=term&' . self::ERROR_ARG . '=1'; + $error_url = is_multisite() ? network_admin_url( $error_url ) : admin_url( $error_url ); + + /** + * Filter the URL to redirect the user to after Imagify installation failure. + * Default is the plugins search page URL. + * + * @since 1.0 + * @author Grégory Viguier + * + * @param string $error_url The URL. + */ + return apply_filters( 'imagify_partner_error_url_' . $this->get_partner(), $error_url ); + } + + + /** ----------------------------------------------------------------------------------------- */ + /** STORING THE PARTNER ID IN DATABASE ====================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the partner identifier stored in the Database. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string|bool The partner identifier, or false if none is stored. + */ + public static function get_stored_partner() { + $partner = get_option( self::OPTION_NAME ); + + if ( $partner && is_string( $partner ) ) { + $partner = self::sanitize_partner( $partner ); + } + + return $partner ? $partner : false; + } + + /** + * Delete the partner identifier stored in the Database. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + */ + public static function delete_stored_partner() { + if ( false !== get_option( self::OPTION_NAME ) ) { + delete_option( self::OPTION_NAME ); + } + } + + /** + * Store the partner identifier in Database. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param string $partner The partner identifier to store. + */ + protected static function store_partner( $partner ) { + if ( false === get_option( self::OPTION_NAME ) ) { + add_option( self::OPTION_NAME, $partner ); + } else { + update_option( self::OPTION_NAME, $partner ); + } + } + + /** + * Sanitize a partner ID. + * + * @since 1.0 + * @access protected + * @author Grégory Viguier + * + * @param string $partner Partner identifier. + * @return string + */ + protected static function sanitize_partner( $partner ) { + return preg_replace( '@[^a-z0-9_-]@', '', strtolower( (string) $partner ) ); + } + + + /** ----------------------------------------------------------------------------------------- */ + /** VARIOUS TOOLS =========================================================================== */ + /** ----------------------------------------------------------------------------------------- */ + + /** + * Get the action. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string Partner identifier. + */ + public function get_post_action() { + return 'install_imagify_from_partner_' . $this->get_partner(); + } + + /** + * Determines whether the current request is a WordPress Ajax request. + * This is a clone of wp_doing_ajax(), intriduced in WP 4.7. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool True if it's a WordPress Ajax request, false otherwise. + */ + public static function doing_ajax() { + /** + * Filters whether the current request is a WordPress Ajax request. + * + * @since 1.0 + * + * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request. + */ + return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX ); + } + + /** + * Get Imagify's file path. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string The file path. + */ + public static function get_imagify_path() { + if ( defined( 'IMAGIFY_FILE' ) ) { + return IMAGIFY_FILE; + } + + return WP_PLUGIN_DIR . '/imagify/imagify.php'; + } + + /** + * Tell if the current user can install and activate Imagify. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return bool + */ + public static function current_user_can() { + static $can; + + if ( ! isset( $can ) ) { + $can = is_multisite() ? 'manage_network_plugins' : 'install_plugins'; + $can = current_user_can( $can ); + } + + return $can; + } + + /** + * Get the current URL. + * + * @since 1.0 + * @access public + * @author Grégory Viguier + * + * @return string + */ + public static function get_current_url() { + $port = (int) $_SERVER['SERVER_PORT']; + $port = 80 !== $port && 443 !== $port ? ( ':' . $port ) : ''; + $url = ! empty( $GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI'] ) ? $GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI'] : ( ! empty( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' ); + + return 'http' . ( is_ssl() ? 's' : '' ) . '://' . $_SERVER['HTTP_HOST'] . $port . $url; + } + } + +endif; diff --git a/inc/vendors/classes/class-minify-css-urirewriter.php b/inc/vendors/classes/class-minify-css-urirewriter.php new file mode 100644 index 0000000..c1276f7 --- /dev/null +++ b/inc/vendors/classes/class-minify-css-urirewriter.php @@ -0,0 +1,358 @@ + + */ +class Minify_CSS_UriRewriter { + + /** + * rewrite() and rewriteRelative() append debugging information here + * + * @var string + */ + public static $debugText = ''; + + /** + * In CSS content, rewrite file relative URIs as root relative + * + * @param string $css + * + * @param string $currentDir The directory of the current CSS file. + * + * @param string $docRoot The document root of the web site in which + * the CSS file resides (default = $_SERVER['DOCUMENT_ROOT']). + * + * @param array $symlinks (default = array()) If the CSS file is stored in + * a symlink-ed directory, provide an array of link paths to + * target paths, where the link paths are within the document root. Because + * paths need to be normalized for this to work, use "//" to substitute + * the doc root in the link paths (the array keys). E.g.: + * + * array('//symlink' => '/real/target/path') // unix + * array('//static' => 'D:\\staticStorage') // Windows + * + * + * @return string + */ + public static function rewrite($css, $currentDir, $docRoot = null, $symlinks = array()) + { + self::$_docRoot = self::_realpath( + $docRoot ? $docRoot : $_SERVER['DOCUMENT_ROOT'] + ); + self::$_currentDir = self::_realpath($currentDir); + self::$_symlinks = array(); + + // normalize symlinks in order to map to link + foreach ($symlinks as $link => $target) { + $link = ($link === '//') ? self::$_docRoot : str_replace('//', self::$_docRoot . '/', $link); + $link = strtr($link, '/', DIRECTORY_SEPARATOR); + + self::$_symlinks[$link] = self::_realpath($target); + } + + self::$debugText .= "docRoot : " . self::$_docRoot . "\n" + . "currentDir : " . self::$_currentDir . "\n"; + if (self::$_symlinks) { + self::$debugText .= "symlinks : " . var_export(self::$_symlinks, 1) . "\n"; + } + self::$debugText .= "\n"; + + $css = self::_trimUrls($css); + + $css = self::_owlifySvgPaths($css); + + // rewrite + $pattern = '/@import\\s+([\'"])(.*?)[\'"]/'; + $css = preg_replace_callback($pattern, array(self::$className, '_processUriCB'), $css); + + $pattern = '/url\\(\\s*([\'"](.*?)[\'"]|[^\\)\\s]+)\\s*\\)/'; + $css = preg_replace_callback($pattern, array(self::$className, '_processUriCB'), $css); + + $css = self::_unOwlify($css); + + return $css; + } + + /** + * In CSS content, prepend a path to relative URIs + * + * @param string $css + * + * @param string $path The path to prepend. + * + * @return string + */ + public static function prepend($css, $path) + { + self::$_prependPath = $path; + + $css = self::_trimUrls($css); + + $css = self::_owlifySvgPaths($css); + + // append + $pattern = '/@import\\s+([\'"])(.*?)[\'"]/'; + $css = preg_replace_callback($pattern, array(self::$className, '_processUriCB'), $css); + + $pattern = '/url\\(\\s*([\'"](.*?)[\'"]|[^\\)\\s]+)\\s*\\)/'; + $css = preg_replace_callback($pattern, array(self::$className, '_processUriCB'), $css); + + $css = self::_unOwlify($css); + + self::$_prependPath = null; + + return $css; + } + + /** + * Get a root relative URI from a file relative URI + * + * + * Minify_CSS_UriRewriter::rewriteRelative( + * '../img/hello.gif' + * , '/home/user/www/css' // path of CSS file + * , '/home/user/www' // doc root + * ); + * // returns '/img/hello.gif' + * + * // example where static files are stored in a symlinked directory + * Minify_CSS_UriRewriter::rewriteRelative( + * 'hello.gif' + * , '/var/staticFiles/theme' + * , '/home/user/www' + * , array('/home/user/www/static' => '/var/staticFiles') + * ); + * // returns '/static/theme/hello.gif' + * + * + * @param string $uri file relative URI + * + * @param string $realCurrentDir realpath of the current file's directory. + * + * @param string $realDocRoot realpath of the site document root. + * + * @param array $symlinks (default = array()) If the file is stored in + * a symlink-ed directory, provide an array of link paths to + * real target paths, where the link paths "appear" to be within the document + * root. E.g.: + * + * array('/home/foo/www/not/real/path' => '/real/target/path') // unix + * array('C:\\htdocs\\not\\real' => 'D:\\real\\target\\path') // Windows + * + * + * @return string + */ + public static function rewriteRelative($uri, $realCurrentDir, $realDocRoot, $symlinks = array()) + { + // prepend path with current dir separator (OS-independent) + $path = strtr($realCurrentDir, '/', DIRECTORY_SEPARATOR); + $path .= DIRECTORY_SEPARATOR . strtr($uri, '/', DIRECTORY_SEPARATOR); + + self::$debugText .= "file-relative URI : {$uri}\n" + . "path prepended : {$path}\n"; + + // "unresolve" a symlink back to doc root + foreach ($symlinks as $link => $target) { + if (0 === strpos($path, $target)) { + // replace $target with $link + $path = $link . substr($path, strlen($target)); + + self::$debugText .= "symlink unresolved : {$path}\n"; + + break; + } + } + // strip doc root + $path = substr($path, strlen($realDocRoot)); + + self::$debugText .= "docroot stripped : {$path}\n"; + + // fix to root-relative URI + $uri = strtr($path, '/\\', '//'); + $uri = self::removeDots($uri); + + self::$debugText .= "traversals removed : {$uri}\n\n"; + + return $uri; + } + + /** + * Remove instances of "./" and "../" where possible from a root-relative URI + * + * @param string $uri + * + * @return string + */ + public static function removeDots($uri) + { + $uri = str_replace('/./', '/', $uri); + // inspired by patch from Oleg Cherniy + do { + $uri = preg_replace('@/[^/]+/\\.\\./@', '/', $uri, 1, $changed); + } while ($changed); + + return $uri; + } + + /** + * Defines which class to call as part of callbacks, change this + * if you extend Minify_CSS_UriRewriter + * + * @var string + */ + protected static $className = 'Minify_CSS_UriRewriter'; + + /** + * Get realpath with any trailing slash removed. If realpath() fails, + * just remove the trailing slash. + * + * @param string $path + * + * @return mixed path with no trailing slash + */ + protected static function _realpath($path) + { + $realPath = realpath($path); + if ($realPath !== false) { + $path = $realPath; + } + + return rtrim($path, '/\\'); + } + + /** + * Directory of this stylesheet + * + * @var string + */ + private static $_currentDir = ''; + + /** + * DOC_ROOT + * + * @var string + */ + private static $_docRoot = ''; + + /** + * directory replacements to map symlink targets back to their + * source (within the document root) E.g. '/var/www/symlink' => '/var/realpath' + * + * @var array + */ + private static $_symlinks = array(); + + /** + * Path to prepend + * + * @var string + */ + private static $_prependPath = null; + + /** + * @param string $css + * + * @return string + */ + private static function _trimUrls($css) + { + $pattern = '/ + url\\( # url( + \\s* + ([^\\)]+?) # 1 = URI (assuming does not contain ")") + \\s* + \\) # ) + /x'; + + return preg_replace($pattern, 'url($1)', $css); + } + + /** + * @param array $m + * + * @return string + */ + private static function _processUriCB($m) + { + // $m matched either '/@import\\s+([\'"])(.*?)[\'"]/' or '/url\\(\\s*([^\\)\\s]+)\\s*\\)/' + $isImport = ($m[0][0] === '@'); + // determine URI and the quote character (if any) + if ($isImport) { + $quoteChar = $m[1]; + $uri = $m[2]; + } else { + // $m[1] is either quoted or not + $quoteChar = ($m[1][0] === "'" || $m[1][0] === '"') ? $m[1][0] : ''; + + $uri = ($quoteChar === '') ? $m[1] : substr($m[1], 1, strlen($m[1]) - 2); + } + + if ($uri === '') { + return $m[0]; + } + + // if not root/scheme relative and not starts with scheme + if (!preg_match('~^(/|[a-z]+\:)~', $uri)) { + // URI is file-relative: rewrite depending on options + if (self::$_prependPath === null) { + $uri = self::rewriteRelative($uri, self::$_currentDir, self::$_docRoot, self::$_symlinks); + } else { + $uri = self::$_prependPath . $uri; + if ($uri[0] === '/') { + $root = ''; + $rootRelative = $uri; + $uri = $root . self::removeDots($rootRelative); + } elseif (preg_match('@^((https?\:)?//([^/]+))/@', $uri, $m) && (false !== strpos($m[3], '.'))) { + $root = $m[1]; + $rootRelative = substr($uri, strlen($root)); + $uri = $root . self::removeDots($rootRelative); + } + } + } + + if ($isImport) { + return "@import {$quoteChar}{$uri}{$quoteChar}"; + } else { + return "url({$quoteChar}{$uri}{$quoteChar})"; + } + } + + /** + * Mungs some inline SVG URL declarations so they won't be touched + * + * @link https://github.com/mrclay/minify/issues/517 + * @see _unOwlify + * + * @param string $css + * @return string + */ + private static function _owlifySvgPaths($css) + { + $pattern = '~\b((?:clip-path|mask|-webkit-mask)\s*\:\s*)url(\(\s*#\w+\s*\))~'; + + return preg_replace($pattern, '$1owl$2', $css); + } + + /** + * Undo work of _owlify + * + * @see _owlifySvgPaths + * + * @param string $css + * @return string + */ + private static function _unOwlify($css) + { + $pattern = '~\b((?:clip-path|mask|-webkit-mask)\s*\:\s*)owl~'; + + return preg_replace($pattern, '$1url', $css); + } +} diff --git a/inc/vendors/classes/class-rocket-mobile-detect.php b/inc/vendors/classes/class-rocket-mobile-detect.php new file mode 100644 index 0000000..3148fae --- /dev/null +++ b/inc/vendors/classes/class-rocket-mobile-detect.php @@ -0,0 +1,1472 @@ + + * Nick Ilyin + * + * Original author: Victor Stanciu + * + * @license Code and contributions have 'MIT License' + * More details: https://github.com/serbanghita/Mobile-Detect/blob/master/LICENSE.txt + * + * @link Homepage: http://mobiledetect.net + * GitHub Repo: https://github.com/serbanghita/Mobile-Detect + * Google Code: http://code.google.com/p/php-mobile-detect/ + * README: https://github.com/serbanghita/Mobile-Detect/blob/master/README.md + * HOWTO: https://github.com/serbanghita/Mobile-Detect/wiki/Code-examples + * + * @version 2.8.27 + */ + +class Rocket_Mobile_Detect +{ + /** + * Mobile detection type. + * + * @deprecated since version 2.6.9 + */ + const DETECTION_TYPE_MOBILE = 'mobile'; + + /** + * Extended detection type. + * + * @deprecated since version 2.6.9 + */ + const DETECTION_TYPE_EXTENDED = 'extended'; + + /** + * A frequently used regular expression to extract version #s. + * + * @deprecated since version 2.6.9 + */ + const VER = '([\w._\+]+)'; + + /** + * Top-level device. + */ + const MOBILE_GRADE_A = 'A'; + + /** + * Mid-level device. + */ + const MOBILE_GRADE_B = 'B'; + + /** + * Low-level device. + */ + const MOBILE_GRADE_C = 'C'; + + /** + * Stores the version number of the current release. + */ + const VERSION = '2.8.27'; + + /** + * A type for the version() method indicating a string return value. + */ + const VERSION_TYPE_STRING = 'text'; + + /** + * A type for the version() method indicating a float return value. + */ + const VERSION_TYPE_FLOAT = 'float'; + + /** + * A cache for resolved matches + * @var array + */ + protected $cache = array(); + + /** + * The User-Agent HTTP header is stored in here. + * @var string + */ + protected $userAgent = null; + + /** + * HTTP headers in the PHP-flavor. So HTTP_USER_AGENT and SERVER_SOFTWARE. + * @var array + */ + protected $httpHeaders = array(); + + /** + * CloudFront headers. E.g. CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer & CloudFront-Is-Tablet-Viewer. + * @var array + */ + protected $cloudfrontHeaders = array(); + + /** + * The matching Regex. + * This is good for debug. + * @var string + */ + protected $matchingRegex = null; + + /** + * The matches extracted from the regex expression. + * This is good for debug. + * @var string + */ + protected $matchesArray = null; + + /** + * The detection type, using self::DETECTION_TYPE_MOBILE or self::DETECTION_TYPE_EXTENDED. + * + * @deprecated since version 2.6.9 + * + * @var string + */ + protected $detectionType = self::DETECTION_TYPE_MOBILE; + + /** + * HTTP headers that trigger the 'isMobile' detection + * to be true. + * + * @var array + */ + protected static $mobileHeaders = array( + + 'HTTP_ACCEPT' => array('matches' => array( + // Opera Mini; @reference: http://dev.opera.com/articles/view/opera-binary-markup-language/ + 'application/x-obml2d', + // BlackBerry devices. + 'application/vnd.rim.html', + 'text/vnd.wap.wml', + 'application/vnd.wap.xhtml+xml' + )), + 'HTTP_X_WAP_PROFILE' => null, + 'HTTP_X_WAP_CLIENTID' => null, + 'HTTP_WAP_CONNECTION' => null, + 'HTTP_PROFILE' => null, + // Reported by Opera on Nokia devices (eg. C3). + 'HTTP_X_OPERAMINI_PHONE_UA' => null, + 'HTTP_X_NOKIA_GATEWAY_ID' => null, + 'HTTP_X_ORANGE_ID' => null, + 'HTTP_X_VODAFONE_3GPDPCONTEXT' => null, + 'HTTP_X_HUAWEI_USERID' => null, + // Reported by Windows Smartphones. + 'HTTP_UA_OS' => null, + // Reported by Verizon, Vodafone proxy system. + 'HTTP_X_MOBILE_GATEWAY' => null, + // Seen this on HTC Sensation. SensationXE_Beats_Z715e. + 'HTTP_X_ATT_DEVICEID' => null, + // Seen this on a HTC. + 'HTTP_UA_CPU' => array('matches' => array('ARM')), + ); + + /** + * List of mobile devices (phones). + * + * @var array + */ + protected static $phoneDevices = array( + 'iPhone' => '\biPhone\b|\biPod\b', // |\biTunes + 'BlackBerry' => 'BlackBerry|\bBB10\b|rim[0-9]+', + 'HTC' => 'HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m', + 'Nexus' => 'Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6', + // @todo: Is 'Dell Streak' a tablet or a phone? ;) + 'Dell' => 'Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b', + 'Motorola' => 'Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\bMoto E\b', + 'Samsung' => '\bSamsung\b|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C', + 'LG' => '\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)', + 'Sony' => 'SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533', + 'Asus' => 'Asus.*Galaxy|PadFone.*Mobile', + 'NokiaLumia' => 'Lumia [0-9]{3,4}', + // http://www.micromaxinfo.com/mobiles/smartphones + // Added because the codes might conflict with Acer Tablets. + 'Micromax' => 'Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b', + // @todo Complete the regex. + 'Palm' => 'PalmSource|Palm', // avantgo|blazer|elaine|hiptop|plucker|xiino ; + 'Vertu' => 'Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature', // Just for fun ;) + // http://www.pantech.co.kr/en/prod/prodList.do?gbrand=VEGA (PANTECH) + // Most of the VEGA devices are legacy. PANTECH seem to be newer devices based on Android. + 'Pantech' => 'PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790', + // http://www.fly-phone.com/devices/smartphones/ ; Included only smartphones. + 'Fly' => 'IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250', + // http://fr.wikomobile.com + 'Wiko' => 'KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM', + 'iMobile' => 'i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)', + // Added simvalley mobile just for fun. They have some interesting devices. + // http://www.simvalley.fr/telephonie---gps-_22_telephonie-mobile_telephones_.html + 'SimValley' => '\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b', + // Wolfgang - a brand that is sold by Aldi supermarkets. + // http://www.wolfgangmobile.com/ + 'Wolfgang' => 'AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q', + 'Alcatel' => 'Alcatel', + 'Nintendo' => 'Nintendo 3DS', + // http://en.wikipedia.org/wiki/Amoi + 'Amoi' => 'Amoi', + // http://en.wikipedia.org/wiki/INQ + 'INQ' => 'INQ', + // @Tapatalk is a mobile app; http://support.tapatalk.com/threads/smf-2-0-2-os-and-browser-detection-plugin-and-tapatalk.15565/#post-79039 + 'GenericPhone' => 'Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser', + ); + + /** + * List of tablet devices. + * + * @var array + */ + protected static $tabletDevices = array( + // @todo: check for mobile friendly emails topic. + 'iPad' => 'iPad|iPad.*Mobile', + // Removed |^.*Android.*Nexus(?!(?:Mobile).)*$ + // @see #442 + 'NexusTablet' => 'Android.*Nexus[\s]+(7|9|10)', + 'SamsungTablet' => 'SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y', // SCH-P709|SCH-P729|SM-T2558|GT-I9205 - Samsung Mega - treat them like a regular phone. + // http://docs.aws.amazon.com/silk/latest/developerguide/user-agent.html + 'Kindle' => 'Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)', + // Only the Surface tablets with Windows RT are considered mobile. + // http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx + 'SurfaceTablet' => 'Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)', + // http://shopping1.hp.com/is-bin/INTERSHOP.enfinity/WFS/WW-USSMBPublicStore-Site/en_US/-/USD/ViewStandardCatalog-Browse?CatalogCategoryID=JfIQ7EN5lqMAAAEyDcJUDwMT + 'HPTablet' => 'HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10', + // Watch out for PadFone, see #132. + // http://www.asus.com/de/Tablets_Mobile/Memo_Pad_Products/ + 'AsusTablet' => '^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|\bK00C\b|\bK00E\b|\bK00L\b|TX201LA|ME176C|ME102A|\bM80TA\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\bME70C\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\bP027\b', + 'BlackBerryTablet' => 'PlayBook|RIM Tablet', + 'HTCtablet' => 'HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410', + 'MotorolaTablet' => 'xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617', + 'NookTablet' => 'Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2', + // http://www.acer.ro/ac/ro/RO/content/drivers + // http://www.packardbell.co.uk/pb/en/GB/content/download (Packard Bell is part of Acer) + // http://us.acer.com/ac/en/US/content/group/tablets + // http://www.acer.de/ac/de/DE/content/models/tablets/ + // Can conflict with Micromax and Motorola phones codes. + 'AcerTablet' => 'Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\b|W3-810|\bA3-A10\b|\bA3-A11\b|\bA3-A20\b|\bA3-A30', + // http://eu.computers.toshiba-europe.com/innovation/family/Tablets/1098744/banner_id/tablet_footerlink/ + // http://us.toshiba.com/tablets/tablet-finder + // http://www.toshiba.co.jp/regza/tablet/ + 'ToshibaTablet' => 'Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO', + // http://www.nttdocomo.co.jp/english/service/developer/smart_phone/technical_info/spec/index.html + // http://www.lg.com/us/tablets + 'LGTablet' => '\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b', + 'FujitsuTablet' => 'Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b', + // Prestigio Tablets http://www.prestigio.com/support + 'PrestigioTablet' => 'PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002', + // http://support.lenovo.com/en_GB/downloads/default.page?# + 'LenovoTablet' => 'Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)', + // http://www.dell.com/support/home/us/en/04/Products/tab_mob/tablets + 'DellTablet' => 'Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7', + // http://www.yarvik.com/en/matrix/tablets/ + 'YarvikTablet' => 'Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b', + 'MedionTablet' => 'Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB', + 'ArnovaTablet' => '97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2', + // http://www.intenso.de/kategorie_en.php?kategorie=33 + // @todo: http://www.nbhkdz.com/read/b8e64202f92a2df129126bff.html - investigate + 'IntensoTablet' => 'INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004', + // IRU.ru Tablets http://www.iru.ru/catalog/soho/planetable/ + 'IRUTablet' => 'M702pro', + 'MegafonTablet' => 'MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b', + // http://www.e-boda.ro/tablete-pc.html + 'EbodaTablet' => 'E-Boda (Supreme|Impresspeed|Izzycomm|Essential)', + // http://www.allview.ro/produse/droseries/lista-tablete-pc/ + 'AllViewTablet' => 'Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)', + // http://wiki.archosfans.com/index.php?title=Main_Page + // @note Rewrite the regex format after we add more UAs. + 'ArchosTablet' => '\b(101G9|80G9|A101IT)\b|Qilive 97R|Archos5|\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\b', + // http://www.ainol.com/plugin.php?identifier=ainol&module=product + 'AinolTablet' => 'NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark', + 'NokiaLumiaTablet' => 'Lumia 2520', + // @todo: inspect http://esupport.sony.com/US/p/select-system.pl?DIRECTOR=DRIVER + // Readers http://www.atsuhiro-me.net/ebook/sony-reader/sony-reader-web-browser + // http://www.sony.jp/support/tablet/ + 'SonyTablet' => 'Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31', + // http://www.support.philips.com/support/catalog/worldproducts.jsp?userLanguage=en&userCountry=cn&categoryid=3G_LTE_TABLET_SU_CN_CARE&title=3G%20tablets%20/%20LTE%20range&_dyncharset=UTF-8 + 'PhilipsTablet' => '\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b', + // db + http://www.cube-tablet.com/buy-products.html + 'CubeTablet' => 'Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT', + // http://www.cobyusa.com/?p=pcat&pcat_id=3001 + 'CobyTablet' => 'MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010', + // http://www.match.net.cn/products.asp + 'MIDTablet' => 'M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10', + // http://www.msi.com/support + // @todo Research the Windows Tablets. + 'MSITablet' => 'MSI \b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\b', + // @todo http://www.kyoceramobile.com/support/drivers/ + // 'KyoceraTablet' => null, + // @todo http://intexuae.com/index.php/category/mobile-devices/tablets-products/ + // 'IntextTablet' => null, + // http://pdadb.net/index.php?m=pdalist&list=SMiT (NoName Chinese Tablets) + // http://www.imp3.net/14/show.php?itemid=20454 + 'SMiTTablet' => 'Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)', + // http://www.rock-chips.com/index.php?do=prod&pid=2 + 'RockChipTablet' => 'Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A', + // http://www.fly-phone.com/devices/tablets/ ; http://www.fly-phone.com/service/ + 'FlyTablet' => 'IQ310|Fly Vision', + // http://www.bqreaders.com/gb/tablets-prices-sale.html + 'bqTablet' => 'Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris [E|M]10)|Maxwell.*Lite|Maxwell.*Plus', + // http://www.huaweidevice.com/worldwide/productFamily.do?method=index&directoryId=5011&treeId=3290 + // http://www.huaweidevice.com/worldwide/downloadCenter.do?method=index&directoryId=3372&treeId=0&tb=1&type=software (including legacy tablets) + 'HuaweiTablet' => 'MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim', + // Nec or Medias Tab + 'NecTablet' => '\bN-06D|\bN-08D', + // Pantech Tablets: http://www.pantechusa.com/phones/ + 'PantechTablet' => 'Pantech.*P4100', + // Broncho Tablets: http://www.broncho.cn/ (hard to find) + 'BronchoTablet' => 'Broncho.*(N701|N708|N802|a710)', + // http://versusuk.com/support.html + 'VersusTablet' => 'TOUCHPAD.*[78910]|\bTOUCHTAB\b', + // http://www.zync.in/index.php/our-products/tablet-phablets + 'ZyncTablet' => 'z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900', + // http://www.positivoinformatica.com.br/www/pessoal/tablet-ypy/ + 'PositivoTablet' => 'TB07STA|TB10STA|TB07FTA|TB10FTA', + // https://www.nabitablet.com/ + 'NabiTablet' => 'Android.*\bNabi', + 'KoboTablet' => 'Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build', + // French Danew Tablets http://www.danew.com/produits-tablette.php + 'DanewTablet' => 'DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b', + // Texet Tablets and Readers http://www.texet.ru/tablet/ + 'TexetTablet' => 'NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE', + // Avoid detecting 'PLAYSTATION 3' as mobile. + 'PlaystationTablet' => 'Playstation.*(Portable|Vita)', + // http://www.trekstor.de/surftabs.html + 'TrekstorTablet' => 'ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab', + // http://www.pyleaudio.com/Products.aspx?%2fproducts%2fPersonal-Electronics%2fTablets + 'PyleAudioTablet' => '\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b', + // http://www.advandigital.com/index.php?link=content-product&jns=JP001 + // because of the short codenames we have to include whitespaces to reduce the possible conflicts. + 'AdvanTablet' => 'Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b ', + // http://www.danytech.com/category/tablet-pc + 'DanyTechTablet' => 'Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1', + // http://www.galapad.net/product.html + 'GalapadTablet' => 'Android.*\bG1\b', + // http://www.micromaxinfo.com/tablet/funbook + 'MicromaxTablet' => 'Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b', + // http://www.karbonnmobiles.com/products_tablet.php + 'KarbonnTablet' => 'Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b', + // http://www.myallfine.com/Products.asp + 'AllFineTablet' => 'Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide', + // http://www.proscanvideo.com/products-search.asp?itemClass=TABLET&itemnmbr= + 'PROSCANTablet' => '\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b', + // http://www.yonesnav.com/products/products.php + 'YONESTablet' => 'BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026', + // http://www.cjshowroom.com/eproducts.aspx?classcode=004001001 + // China manufacturer makes tablets for different small brands (eg. http://www.zeepad.net/index.html) + 'ChangJiaTablet' => 'TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503', + // http://www.gloryunion.cn/products.asp + // http://www.allwinnertech.com/en/apply/mobile.html + // http://www.ptcl.com.pk/pd_content.php?pd_id=284 (EVOTAB) + // @todo: Softwiner tablets? + // aka. Cute or Cool tablets. Not sure yet, must research to avoid collisions. + 'GUTablet' => 'TX-A1301|TX-M9002|Q702|kf026', // A12R|D75A|D77|D79|R83|A95|A106C|R15|A75|A76|D71|D72|R71|R73|R77|D82|R85|D92|A97|D92|R91|A10F|A77F|W71F|A78F|W78F|W81F|A97F|W91F|W97F|R16G|C72|C73E|K72|K73|R96G + // http://www.pointofview-online.com/showroom.php?shop_mode=product_listing&category_id=118 + 'PointOfViewTablet' => 'TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10', + // http://www.overmax.pl/pl/katalog-produktow,p8/tablety,c14/ + // @todo: add more tests. + 'OvermaxTablet' => 'OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)', + // http://hclmetablet.com/India/index.php + 'HCLTablet' => 'HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync', + // http://www.edigital.hu/Tablet_es_e-book_olvaso/Tablet-c18385.html + 'DPSTablet' => 'DPS Dream 9|DPS Dual 7', + // http://www.visture.com/index.asp + 'VistureTablet' => 'V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10', + // http://www.mijncresta.nl/tablet + 'CrestaTablet' => 'CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989', + // MediaTek - http://www.mediatek.com/_en/01_products/02_proSys.php?cata_sn=1&cata1_sn=1&cata2_sn=309 + 'MediatekTablet' => '\bMT8125|MT8389|MT8135|MT8377\b', + // Concorde tab + 'ConcordeTablet' => 'Concorde([ ]+)?Tab|ConCorde ReadMan', + // GoClever Tablets - http://www.goclever.com/uk/products,c1/tablet,c5/ + 'GoCleverTablet' => 'GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042', + // Modecom Tablets - http://www.modecom.eu/tablets/portal/ + 'ModecomTablet' => 'FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003', + // Vonino Tablets + 'VoninoTablet' => '\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b', + // ECS Tablets - http://www.ecs.com.tw/ECSWebSite/Product/Product_Tablet_List.aspx?CategoryID=14&MenuID=107&childid=M_107&LanID=0 + 'ECSTablet' => 'V07OT2|TM105A|S10OT1|TR10CS1', + // Storex Tablets - http://storex.fr/espace_client/support.html + // @note: no need to add all the tablet codes since they are guided by the first regex. + 'StorexTablet' => 'eZee[_\']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab', + // Generic Vodafone tablets. + 'VodafoneTablet' => 'SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497', + // French tablets - Essentiel B http://www.boulanger.fr/tablette_tactile_e-book/tablette_tactile_essentiel_b/cl_68908.htm?multiChoiceToDelete=brand&mc_brand=essentielb + // Aka: http://www.essentielb.fr/ + 'EssentielBTablet' => 'Smart[ \']?TAB[ ]+?[0-9]+|Family[ \']?TAB2', + // Ross & Moor - http://ross-moor.ru/ + 'RossMoorTablet' => 'RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711', + // i-mobile http://product.i-mobilephone.com/Mobile_Device + 'iMobileTablet' => 'i-mobile i-note', + // http://www.tolino.de/de/vergleichen/ + 'TolinoTablet' => 'tolino tab [0-9.]+|tolino shine', + // AudioSonic - a Kmart brand + // http://www.kmart.com.au/webapp/wcs/stores/servlet/Search?langId=-1&storeId=10701&catalogId=10001&categoryId=193001&pageSize=72¤tPage=1&searchCategory=193001%2b4294965664&sortBy=p_MaxPrice%7c1 + 'AudioSonicTablet' => '\bC-22Q|T7-QC|T-17B|T-17P\b', + // AMPE Tablets - http://www.ampe.com.my/product-category/tablets/ + // @todo: add them gradually to avoid conflicts. + 'AMPETablet' => 'Android.* A78 ', + // Skk Mobile - http://skkmobile.com.ph/product_tablets.php + 'SkkTablet' => 'Android.* (SKYPAD|PHOENIX|CYCLOPS)', + // Tecno Mobile (only tablet) - http://www.tecno-mobile.com/index.php/product?filterby=smart&list_order=all&page=1 + 'TecnoTablet' => 'TECNO P9', + // JXD (consoles & tablets) - http://jxd.hk/products.asp?selectclassid=009008&clsid=3 + 'JXDTablet' => 'Android.* \b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b', + // i-Joy tablets - http://www.i-joy.es/en/cat/products/tablets/ + 'iJoyTablet' => 'Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)', + // http://www.intracon.eu/tablet + 'FX2Tablet' => 'FX2 PAD7|FX2 PAD10', + // http://www.xoro.de/produkte/ + // @note: Might be the same brand with 'Simply tablets' + 'XoroTablet' => 'KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151', + // http://www1.viewsonic.com/products/computing/tablets/ + 'ViewsonicTablet' => 'ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a', + // http://www.odys.de/web/internet-tablet_en.html + 'OdysTablet' => 'LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10', + // http://www.captiva-power.de/products.html#tablets-en + 'CaptivaTablet' => 'CAPTIVA PAD', + // IconBIT - http://www.iconbit.com/products/tablets/ + 'IconbitTablet' => 'NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S', + // http://www.teclast.com/topic.php?channelID=70&topicID=140&pid=63 + 'TeclastTablet' => 'T98 4G|\bP80\b|\bX90HD\b|X98 Air|X98 Air 3G|\bX89\b|P80 3G|\bX80h\b|P98 Air|\bX89HD\b|P98 3G|\bP90HD\b|P89 3G|X98 3G|\bP70h\b|P79HD 3G|G18d 3G|\bP79HD\b|\bP89s\b|\bA88\b|\bP10HD\b|\bP19HD\b|G18 3G|\bP78HD\b|\bA78\b|\bP75\b|G17s 3G|G17h 3G|\bP85t\b|\bP90\b|\bP11\b|\bP98t\b|\bP98HD\b|\bG18d\b|\bP85s\b|\bP11HD\b|\bP88s\b|\bA80HD\b|\bA80se\b|\bA10h\b|\bP89\b|\bP78s\b|\bG18\b|\bP85\b|\bA70h\b|\bA70\b|\bG17\b|\bP18\b|\bA80s\b|\bA11s\b|\bP88HD\b|\bA80h\b|\bP76s\b|\bP76h\b|\bP98\b|\bA10HD\b|\bP78\b|\bP88\b|\bA11\b|\bA10t\b|\bP76a\b|\bP76t\b|\bP76e\b|\bP85HD\b|\bP85a\b|\bP86\b|\bP75HD\b|\bP76v\b|\bA12\b|\bP75a\b|\bA15\b|\bP76Ti\b|\bP81HD\b|\bA10\b|\bT760VE\b|\bT720HD\b|\bP76\b|\bP73\b|\bP71\b|\bP72\b|\bT720SE\b|\bC520Ti\b|\bT760\b|\bT720VE\b|T720-3GE|T720-WiFi', + // Onda - http://www.onda-tablet.com/buy-android-onda.html?dir=desc&limit=all&order=price + 'OndaTablet' => '\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\b[\s]+', + 'JaytechTablet' => 'TPC-PA762', + 'BlaupunktTablet' => 'Endeavour 800NG|Endeavour 1010', + // http://www.digma.ru/support/download/ + // @todo: Ebooks also (if requested) + 'DigmaTablet' => '\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b', + // http://www.evolioshop.com/ro/tablete-pc.html + // http://www.evolio.ro/support/downloads_static.html?cat=2 + // @todo: Research some more + 'EvolioTablet' => 'ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b', + // @todo http://www.lavamobiles.com/tablets-data-cards + 'LavaTablet' => 'QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b', + // http://www.breezetablet.com/ + 'AocTablet' => 'MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712', + // http://www.mpmaneurope.com/en/products/internet-tablets-14/android-tablets-14/ + 'MpmanTablet' => 'MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\bMPG7\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010', + // https://www.celkonmobiles.com/?_a=categoryphones&sid=2 + 'CelkonTablet' => 'CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b', + // http://www.wolderelectronics.com/productos/manuales-y-guias-rapidas/categoria-2-miTab + 'WolderTablet' => 'miTab \b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\b', + // http://www.mi.com/en + 'MiTablet' => '\bMI PAD\b|\bHM NOTE 1W\b', + // http://www.nbru.cn/index.html + 'NibiruTablet' => 'Nibiru M1|Nibiru Jupiter One', + // http://navroad.com/products/produkty/tablety/ + // http://navroad.com/products/produkty/tablety/ + 'NexoTablet' => 'NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI', + // http://leader-online.com/new_site/product-category/tablets/ + // http://www.leader-online.net.au/List/Tablet + 'LeaderTablet' => 'TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100', + // http://www.datawind.com/ubislate/ + 'UbislateTablet' => 'UbiSlate[\s]?7C', + // http://www.pocketbook-int.com/ru/support + 'PocketBookTablet' => 'Pocketbook', + // http://www.kocaso.com/product_tablet.html + 'KocasoTablet' => '\b(TB-1207)\b', + // http://global.hisense.com/product/asia/tablet/Sero7/201412/t20141215_91832.htm + 'HisenseTablet' => '\b(F5281|E2371)\b', + // http://www.tesco.com/direct/hudl/ + 'Hudl' => 'Hudl HT7S3|Hudl 2', + // http://www.telstra.com.au/home-phone/thub-2/ + 'TelstraTablet' => 'T-Hub2', + 'GenericTablet' => 'Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\bM6pro\b|CT1020W|arc 10HD|\bTP750\b|\bQTAQZ3\b' + ); + + /** + * List of mobile Operating Systems. + * + * @var array + */ + protected static $operatingSystems = array( + 'AndroidOS' => 'Android', + 'BlackBerryOS' => 'blackberry|\bBB10\b|rim tablet os', + 'PalmOS' => 'PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino', + 'SymbianOS' => 'Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b', + // @reference: http://en.wikipedia.org/wiki/Windows_Mobile + 'WindowsMobileOS' => 'Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;', + // @reference: http://en.wikipedia.org/wiki/Windows_Phone + // http://wifeng.cn/?r=blog&a=view&id=106 + // http://nicksnettravels.builttoroam.com/post/2011/01/10/Bogus-Windows-Phone-7-User-Agent-String.aspx + // http://msdn.microsoft.com/library/ms537503.aspx + // https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx + 'WindowsPhoneOS' => 'Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;', + 'iOS' => '\biPhone.*Mobile|\biPod|\biPad', + // http://en.wikipedia.org/wiki/MeeGo + // @todo: research MeeGo in UAs + 'MeeGoOS' => 'MeeGo', + // http://en.wikipedia.org/wiki/Maemo + // @todo: research Maemo in UAs + 'MaemoOS' => 'Maemo', + 'JavaOS' => 'J2ME/|\bMIDP\b|\bCLDC\b', // '|Java/' produces bug #135 + 'webOS' => 'webOS|hpwOS', + 'badaOS' => '\bBada\b', + 'BREWOS' => 'BREW', + ); + + /** + * List of mobile User Agents. + * + * IMPORTANT: This is a list of only mobile browsers. + * Mobile Detect 2.x supports only mobile browsers, + * it was never designed to detect all browsers. + * The change will come in 2017 in the 3.x release for PHP7. + * + * @var array + */ + protected static $browsers = array( + //'Vivaldi' => 'Vivaldi', + // @reference: https://developers.google.com/chrome/mobile/docs/user-agent + 'Chrome' => '\bCrMo\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?', + 'Dolfin' => '\bDolfin\b', + 'Opera' => 'Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+', + 'Skyfire' => 'Skyfire', + 'Edge' => 'Mobile Safari/[.0-9]* Edge', + 'IE' => 'IEMobile|MSIEMobile', // |Trident/[.0-9]+ + 'Firefox' => 'fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS', + 'Bolt' => 'bolt', + 'TeaShark' => 'teashark', + 'Blazer' => 'Blazer', + // @reference: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3 + 'Safari' => 'Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari', + // http://en.wikipedia.org/wiki/Midori_(web_browser) + //'Midori' => 'midori', + //'Tizen' => 'Tizen', + 'UCBrowser' => 'UC.*Browser|UCWEB', + 'baiduboxapp' => 'baiduboxapp', + 'baidubrowser' => 'baidubrowser', + // https://github.com/serbanghita/Mobile-Detect/issues/7 + 'DiigoBrowser' => 'DiigoBrowser', + // http://www.puffinbrowser.com/index.php + 'Puffin' => 'Puffin', + // http://mercury-browser.com/index.html + 'Mercury' => '\bMercury\b', + // http://en.wikipedia.org/wiki/Obigo_Browser + 'ObigoBrowser' => 'Obigo', + // http://en.wikipedia.org/wiki/NetFront + 'NetFront' => 'NF-Browser', + // @reference: http://en.wikipedia.org/wiki/Minimo + // http://en.wikipedia.org/wiki/Vision_Mobile_Browser + 'GenericBrowser' => 'NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger', + // @reference: https://en.wikipedia.org/wiki/Pale_Moon_(web_browser) + 'PaleMoon' => 'Android.*PaleMoon|Mobile.*PaleMoon', + ); + + /** + * Utilities. + * + * @var array + */ + protected static $utilities = array( + // Experimental. When a mobile device wants to switch to 'Desktop Mode'. + // http://scottcate.com/technology/windows-phone-8-ie10-desktop-or-mobile/ + // https://github.com/serbanghita/Mobile-Detect/issues/57#issuecomment-15024011 + // https://developers.facebook.com/docs/sharing/best-practices + 'Bot' => 'Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom', + 'MobileBot' => 'Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2', + 'DesktopMode' => 'WPDesktop', + 'TV' => 'SonyDTV|HbbTV', // experimental + 'WebKit' => '(webkit)[ /]([\w.]+)', + // @todo: Include JXD consoles. + 'Console' => '\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\b', + 'Watch' => 'SM-V700', + ); + + /** + * All possible HTTP headers that represent the + * User-Agent string. + * + * @var array + */ + protected static $uaHttpHeaders = array( + // The default User-Agent string. + 'HTTP_USER_AGENT', + // Header can occur on devices using Opera Mini. + 'HTTP_X_OPERAMINI_PHONE_UA', + // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/ + 'HTTP_X_DEVICE_USER_AGENT', + 'HTTP_X_ORIGINAL_USER_AGENT', + 'HTTP_X_SKYFIRE_PHONE', + 'HTTP_X_BOLT_PHONE_UA', + 'HTTP_DEVICE_STOCK_UA', + 'HTTP_X_UCBROWSER_DEVICE_UA' + ); + + /** + * The individual segments that could exist in a User-Agent string. VER refers to the regular + * expression defined in the constant self::VER. + * + * @var array + */ + protected static $properties = array( + + // Build + 'Mobile' => 'Mobile/[VER]', + 'Build' => 'Build/[VER]', + 'Version' => 'Version/[VER]', + 'VendorID' => 'VendorID/[VER]', + + // Devices + 'iPad' => 'iPad.*CPU[a-z ]+[VER]', + 'iPhone' => 'iPhone.*CPU[a-z ]+[VER]', + 'iPod' => 'iPod.*CPU[a-z ]+[VER]', + //'BlackBerry' => array('BlackBerry[VER]', 'BlackBerry [VER];'), + 'Kindle' => 'Kindle/[VER]', + + // Browser + 'Chrome' => array('Chrome/[VER]', 'CriOS/[VER]', 'CrMo/[VER]'), + 'Coast' => array('Coast/[VER]'), + 'Dolfin' => 'Dolfin/[VER]', + // @reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox + 'Firefox' => array('Firefox/[VER]', 'FxiOS/[VER]'), + 'Fennec' => 'Fennec/[VER]', + // http://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx + // https://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85).aspx + 'Edge' => 'Edge/[VER]', + 'IE' => array('IEMobile/[VER];', 'IEMobile [VER]', 'MSIE [VER];', 'Trident/[0-9.]+;.*rv:[VER]'), + // http://en.wikipedia.org/wiki/NetFront + 'NetFront' => 'NetFront/[VER]', + 'NokiaBrowser' => 'NokiaBrowser/[VER]', + 'Opera' => array( ' OPR/[VER]', 'Opera Mini/[VER]', 'Version/[VER]' ), + 'Opera Mini' => 'Opera Mini/[VER]', + 'Opera Mobi' => 'Version/[VER]', + 'UC Browser' => 'UC Browser[VER]', + 'MQQBrowser' => 'MQQBrowser/[VER]', + 'MicroMessenger' => 'MicroMessenger/[VER]', + 'baiduboxapp' => 'baiduboxapp/[VER]', + 'baidubrowser' => 'baidubrowser/[VER]', + 'SamsungBrowser' => 'SamsungBrowser/[VER]', + 'Iron' => 'Iron/[VER]', + // @note: Safari 7534.48.3 is actually Version 5.1. + // @note: On BlackBerry the Version is overwriten by the OS. + 'Safari' => array( 'Version/[VER]', 'Safari/[VER]' ), + 'Skyfire' => 'Skyfire/[VER]', + 'Tizen' => 'Tizen/[VER]', + 'Webkit' => 'webkit[ /][VER]', + 'PaleMoon' => 'PaleMoon/[VER]', + + // Engine + 'Gecko' => 'Gecko/[VER]', + 'Trident' => 'Trident/[VER]', + 'Presto' => 'Presto/[VER]', + 'Goanna' => 'Goanna/[VER]', + + // OS + 'iOS' => ' \bi?OS\b [VER][ ;]{1}', + 'Android' => 'Android [VER]', + 'BlackBerry' => array('BlackBerry[\w]+/[VER]', 'BlackBerry.*Version/[VER]', 'Version/[VER]'), + 'BREW' => 'BREW [VER]', + 'Java' => 'Java/[VER]', + // @reference: http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/08/29/introducing-the-ie9-on-windows-phone-mango-user-agent-string.aspx + // @reference: http://en.wikipedia.org/wiki/Windows_NT#Releases + 'Windows Phone OS' => array( 'Windows Phone OS [VER]', 'Windows Phone [VER]'), + 'Windows Phone' => 'Windows Phone [VER]', + 'Windows CE' => 'Windows CE/[VER]', + // http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/6be392da-4d2f-41b4-8354-8dcee20c85cd + 'Windows NT' => 'Windows NT [VER]', + 'Symbian' => array('SymbianOS/[VER]', 'Symbian/[VER]'), + 'webOS' => array('webOS/[VER]', 'hpwOS/[VER];'), + ); + + /** + * Construct an instance of this class. + * + * @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored. + * If left empty, will use the global _SERVER['HTTP_*'] vars instead. + * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT + * from the $headers array instead. + */ + public function __construct( + array $headers = null, + $userAgent = null + ) { + $this->setHttpHeaders($headers); + $this->setUserAgent($userAgent); + } + + /** + * Get the current script version. + * This is useful for the demo.php file, + * so people can check on what version they are testing + * for mobile devices. + * + * @return string The version number in semantic version format. + */ + public static function getScriptVersion() + { + return self::VERSION; + } + + /** + * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers. + * + * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract + * the headers. The default null is left for backwards compatibility. + */ + public function setHttpHeaders($httpHeaders = null) + { + // use global _SERVER if $httpHeaders aren't defined + if (!is_array($httpHeaders) || !count($httpHeaders)) { + $httpHeaders = $_SERVER; + } + + // clear existing headers + $this->httpHeaders = array(); + + // Only save HTTP headers. In PHP land, that means only _SERVER vars that + // start with HTTP_. + foreach ($httpHeaders as $key => $value) { + if (substr($key, 0, 5) === 'HTTP_') { + $this->httpHeaders[$key] = $value; + } + } + + // In case we're dealing with CloudFront, we need to know. + $this->setCfHeaders($httpHeaders); + } + + /** + * Retrieves the HTTP headers. + * + * @return array + */ + public function getHttpHeaders() + { + return $this->httpHeaders; + } + + /** + * Retrieves a particular header. If it doesn't exist, no exception/error is caused. + * Simply null is returned. + * + * @param string $header The name of the header to retrieve. Can be HTTP compliant such as + * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the + * all-caps, HTTP_ prefixed, underscore seperated awesomeness. + * + * @return string|null The value of the header. + */ + public function getHttpHeader($header) + { + // are we using PHP-flavored headers? + if (strpos($header, '_') === false) { + $header = str_replace('-', '_', $header); + $header = strtoupper($header); + } + + // test the alternate, too + $altHeader = 'HTTP_' . $header; + + //Test both the regular and the HTTP_ prefix + if (isset($this->httpHeaders[$header])) { + return $this->httpHeaders[$header]; + } elseif (isset($this->httpHeaders[$altHeader])) { + return $this->httpHeaders[$altHeader]; + } + + return null; + } + + public function getMobileHeaders() + { + return self::$mobileHeaders; + } + + /** + * Get all possible HTTP headers that + * can contain the User-Agent string. + * + * @return array List of HTTP headers. + */ + public function getUaHttpHeaders() + { + return self::$uaHttpHeaders; + } + + + /** + * Set CloudFront headers + * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device + * + * @param array $cfHeaders List of HTTP headers + * + * @return boolean If there were CloudFront headers to be set + */ + public function setCfHeaders($cfHeaders = null) { + // use global _SERVER if $cfHeaders aren't defined + if (!is_array($cfHeaders) || !count($cfHeaders)) { + $cfHeaders = $_SERVER; + } + + // clear existing headers + $this->cloudfrontHeaders = array(); + + // Only save CLOUDFRONT headers. In PHP land, that means only _SERVER vars that + // start with cloudfront-. + $response = false; + foreach ($cfHeaders as $key => $value) { + if (substr(strtolower($key), 0, 16) === 'http_cloudfront_') { + $this->cloudfrontHeaders[strtoupper($key)] = $value; + $response = true; + } + } + + return $response; + } + + /** + * Retrieves the cloudfront headers. + * + * @return array + */ + public function getCfHeaders() + { + return $this->cloudfrontHeaders; + } + + /** + * @param string $userAgent + * @return string + */ + private function prepareUserAgent($userAgent) { + $userAgent = trim($userAgent); + $userAgent = substr($userAgent, 0, 500); + return $userAgent; + } + + /** + * Set the User-Agent to be used. + * + * @param string $userAgent The user agent string to set. + * + * @return string|null + */ + public function setUserAgent($userAgent = null) + { + // Invalidate cache due to #375 + $this->cache = array(); + + if (false === empty($userAgent)) { + return $this->userAgent = $this->prepareUserAgent($userAgent); + } else { + $this->userAgent = null; + foreach ($this->getUaHttpHeaders() as $altHeader) { + if (false === empty($this->httpHeaders[$altHeader])) { // @todo: should use getHttpHeader(), but it would be slow. (Serban) + $this->userAgent .= $this->httpHeaders[$altHeader] . " "; + } + } + + if (!empty($this->userAgent)) { + return $this->userAgent = $this->prepareUserAgent($this->userAgent); + } + } + + if (count($this->getCfHeaders()) > 0) { + return $this->userAgent = 'Amazon CloudFront'; + } + return $this->userAgent = null; + } + + /** + * Retrieve the User-Agent. + * + * @return string|null The user agent if it's set. + */ + public function getUserAgent() + { + return $this->userAgent; + } + + /** + * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or + * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set. + * + * @deprecated since version 2.6.9 + * + * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default + * parameter is null which will default to self::DETECTION_TYPE_MOBILE. + */ + public function setDetectionType($type = null) + { + if ($type === null) { + $type = self::DETECTION_TYPE_MOBILE; + } + + if ($type !== self::DETECTION_TYPE_MOBILE && $type !== self::DETECTION_TYPE_EXTENDED) { + return; + } + + $this->detectionType = $type; + } + + public function getMatchingRegex() + { + return $this->matchingRegex; + } + + public function getMatchesArray() + { + return $this->matchesArray; + } + + /** + * Retrieve the list of known phone devices. + * + * @return array List of phone devices. + */ + public static function getPhoneDevices() + { + return self::$phoneDevices; + } + + /** + * Retrieve the list of known tablet devices. + * + * @return array List of tablet devices. + */ + public static function getTabletDevices() + { + return self::$tabletDevices; + } + + /** + * Alias for getBrowsers() method. + * + * @return array List of user agents. + */ + public static function getUserAgents() + { + return self::getBrowsers(); + } + + /** + * Retrieve the list of known browsers. Specifically, the user agents. + * + * @return array List of browsers / user agents. + */ + public static function getBrowsers() + { + return self::$browsers; + } + + /** + * Retrieve the list of known utilities. + * + * @return array List of utilities. + */ + public static function getUtilities() + { + return self::$utilities; + } + + /** + * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*(). + * + * @deprecated since version 2.6.9 + * + * @return array All the rules (but not extended). + */ + public static function getMobileDetectionRules() + { + static $rules; + + if (!$rules) { + $rules = array_merge( + self::$phoneDevices, + self::$tabletDevices, + self::$operatingSystems, + self::$browsers + ); + } + + return $rules; + + } + + /** + * Method gets the mobile detection rules + utilities. + * The reason this is separate is because utilities rules + * don't necessary imply mobile. This method is used inside + * the new $detect->is('stuff') method. + * + * @deprecated since version 2.6.9 + * + * @return array All the rules + extended. + */ + public function getMobileDetectionRulesExtended() + { + static $rules; + + if (!$rules) { + // Merge all rules together. + $rules = array_merge( + self::$phoneDevices, + self::$tabletDevices, + self::$operatingSystems, + self::$browsers, + self::$utilities + ); + } + + return $rules; + } + + /** + * Retrieve the current set of rules. + * + * @deprecated since version 2.6.9 + * + * @return array + */ + public function getRules() + { + if ($this->detectionType == self::DETECTION_TYPE_EXTENDED) { + return self::getMobileDetectionRulesExtended(); + } else { + return self::getMobileDetectionRules(); + } + } + + /** + * Retrieve the list of mobile operating systems. + * + * @return array The list of mobile operating systems. + */ + public static function getOperatingSystems() + { + return self::$operatingSystems; + } + + /** + * Check the HTTP headers for signs of mobile. + * This is the fastest mobile check possible; it's used + * inside isMobile() method. + * + * @return bool + */ + public function checkHttpHeadersForMobile() + { + + foreach ($this->getMobileHeaders() as $mobileHeader => $matchType) { + if (isset($this->httpHeaders[$mobileHeader])) { + if (is_array($matchType['matches'])) { + foreach ($matchType['matches'] as $_match) { + if (strpos($this->httpHeaders[$mobileHeader], $_match) !== false) { + return true; + } + } + + return false; + } else { + return true; + } + } + } + + return false; + + } + + /** + * Magic overloading method. + * + * @method boolean is[...]() + * @param string $name + * @param array $arguments + * @return mixed + * @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is' + */ + public function __call($name, $arguments) + { + // make sure the name starts with 'is', otherwise + if (substr($name, 0, 2) !== 'is') { + throw new BadMethodCallException("No such method exists: $name"); + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + $key = substr($name, 2); + + return $this->matchUAAgainstKey($key); + } + + /** + * Find a detection rule that matches the current User-agent. + * + * @param null $userAgent deprecated + * @return boolean + */ + protected function matchDetectionRulesAgainstUA($userAgent = null) + { + // Begin general search. + foreach ($this->getRules() as $_regex) { + if (empty($_regex)) { + continue; + } + + if ($this->match($_regex, $userAgent)) { + return true; + } + } + + return false; + } + + /** + * Search for a certain key in the rules array. + * If the key is found then try to match the corresponding + * regex against the User-Agent. + * + * @param string $key + * + * @return boolean + */ + protected function matchUAAgainstKey($key) + { + // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc. + $key = strtolower($key); + if (false === isset($this->cache[$key])) { + + // change the keys to lower case + $_rules = array_change_key_case($this->getRules()); + + if (false === empty($_rules[$key])) { + $this->cache[$key] = $this->match($_rules[$key]); + } + + if (false === isset($this->cache[$key])) { + $this->cache[$key] = false; + } + } + + return $this->cache[$key]; + } + + /** + * Check if the device is mobile. + * Returns true if any type of mobile device detected, including special ones + * @param null $userAgent deprecated + * @param null $httpHeaders deprecated + * @return bool + */ + public function isMobile($userAgent = null, $httpHeaders = null) + { + + if ($httpHeaders) { + $this->setHttpHeaders($httpHeaders); + } + + if ($userAgent) { + $this->setUserAgent($userAgent); + } + + // Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront' + if ($this->getUserAgent() === 'Amazon CloudFront') { + $cfHeaders = $this->getCfHeaders(); + if(array_key_exists('HTTP_CLOUDFRONT_IS_MOBILE_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_MOBILE_VIEWER'] === 'true') { + return true; + } + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + if ($this->checkHttpHeadersForMobile()) { + return true; + } else { + return $this->matchDetectionRulesAgainstUA(); + } + + } + + /** + * Check if the device is a tablet. + * Return true if any type of tablet device is detected. + * + * @param string $userAgent deprecated + * @param array $httpHeaders deprecated + * @return bool + */ + public function isTablet($userAgent = null, $httpHeaders = null) + { + // Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront' + if ($this->getUserAgent() === 'Amazon CloudFront') { + $cfHeaders = $this->getCfHeaders(); + if(array_key_exists('HTTP_CLOUDFRONT_IS_TABLET_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_TABLET_VIEWER'] === 'true') { + return true; + } + } + + $this->setDetectionType(self::DETECTION_TYPE_MOBILE); + + foreach (self::$tabletDevices as $_regex) { + if ($this->match($_regex, $userAgent)) { + return true; + } + } + + return false; + } + + /** + * This method checks for a certain property in the + * userAgent. + * @todo: The httpHeaders part is not yet used. + * + * @param string $key + * @param string $userAgent deprecated + * @param string $httpHeaders deprecated + * @return bool|int|null + */ + public function is($key, $userAgent = null, $httpHeaders = null) + { + // Set the UA and HTTP headers only if needed (eg. batch mode). + if ($httpHeaders) { + $this->setHttpHeaders($httpHeaders); + } + + if ($userAgent) { + $this->setUserAgent($userAgent); + } + + $this->setDetectionType(self::DETECTION_TYPE_EXTENDED); + + return $this->matchUAAgainstKey($key); + } + + /** + * Some detection rules are relative (not standard), + * because of the diversity of devices, vendors and + * their conventions in representing the User-Agent or + * the HTTP headers. + * + * This method will be used to check custom regexes against + * the User-Agent string. + * + * @param $regex + * @param string $userAgent + * @return bool + * + * @todo: search in the HTTP headers too. + */ + public function match($regex, $userAgent = null) + { + $match = (bool) preg_match(sprintf('#%s#is', $regex), (false === empty($userAgent) ? $userAgent : $this->userAgent), $matches); + // If positive match is found, store the results for debug. + if ($match) { + $this->matchingRegex = $regex; + $this->matchesArray = $matches; + } + + return $match; + } + + /** + * Get the properties array. + * + * @return array + */ + public static function getProperties() + { + return self::$properties; + } + + /** + * Prepare the version number. + * + * @todo Remove the error supression from str_replace() call. + * + * @param string $ver The string version, like "2.6.21.2152"; + * + * @return float + */ + public function prepareVersionNo($ver) + { + $ver = str_replace(array('_', ' ', '/'), '.', $ver); + $arrVer = explode('.', $ver, 2); + + if (isset($arrVer[1])) { + $arrVer[1] = @str_replace('.', '', $arrVer[1]); // @todo: treat strings versions. + } + + return (float) implode('.', $arrVer); + } + + /** + * Check the version of the given property in the User-Agent. + * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31) + * + * @param string $propertyName The name of the property. See self::getProperties() array + * keys for all possible properties. + * @param string $type Either self::VERSION_TYPE_STRING to get a string value or + * self::VERSION_TYPE_FLOAT indicating a float value. This parameter + * is optional and defaults to self::VERSION_TYPE_STRING. Passing an + * invalid parameter will default to the this type as well. + * + * @return string|float The version of the property we are trying to extract. + */ + public function version($propertyName, $type = self::VERSION_TYPE_STRING) + { + if (empty($propertyName)) { + return false; + } + + // set the $type to the default if we don't recognize the type + if ($type !== self::VERSION_TYPE_STRING && $type !== self::VERSION_TYPE_FLOAT) { + $type = self::VERSION_TYPE_STRING; + } + + $properties = self::getProperties(); + + // Check if the property exists in the properties array. + if (true === isset($properties[$propertyName])) { + + // Prepare the pattern to be matched. + // Make sure we always deal with an array (string is converted). + $properties[$propertyName] = (array) $properties[$propertyName]; + + foreach ($properties[$propertyName] as $propertyMatchString) { + + $propertyPattern = str_replace('[VER]', self::VER, $propertyMatchString); + + // Identify and extract the version. + preg_match(sprintf('#%s#is', $propertyPattern), $this->userAgent, $match); + + if (false === empty($match[1])) { + $version = ($type == self::VERSION_TYPE_FLOAT ? $this->prepareVersionNo($match[1]) : $match[1]); + + return $version; + } + + } + + } + + return false; + } + + /** + * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants. + * + * @return string One of the self::MOBILE_GRADE_* constants. + */ + public function mobileGrade() + { + $isMobile = $this->isMobile(); + + if ( + // Apple iOS 4-7.0 – Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3 / 5.1 / 6.1), iPad 3 (5.1 / 6.0), iPad Mini (6.1), iPad Retina (7.0), iPhone 3GS (4.3), iPhone 4 (4.3 / 5.1), iPhone 4S (5.1 / 6.0), iPhone 5 (6.0), and iPhone 5S (7.0) + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) >= 4.3 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) >= 4.3 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) >= 4.3 || + + // Android 2.1-2.3 - Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5) + // Android 3.1 (Honeycomb) - Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM + // Android 4.0 (ICS) - Tested on a Galaxy Nexus. Note: transition performance can be poor on upgraded devices + // Android 4.1 (Jelly Bean) - Tested on a Galaxy Nexus and Galaxy 7 + ( $this->version('Android', self::VERSION_TYPE_FLOAT)>2.1 && $this->is('Webkit') ) || + + // Windows Phone 7.5-8 - Tested on the HTC Surround (7.5), HTC Trophy (7.5), LG-E900 (7.5), Nokia 800 (7.8), HTC Mazaa (7.8), Nokia Lumia 520 (8), Nokia Lumia 920 (8), HTC 8x (8) + $this->version('Windows Phone OS', self::VERSION_TYPE_FLOAT) >= 7.5 || + + // Tested on the Torch 9800 (6) and Style 9670 (6), BlackBerry® Torch 9810 (7), BlackBerry Z10 (10) + $this->is('BlackBerry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 6.0 || + // Blackberry Playbook (1.0-2.0) - Tested on PlayBook + $this->match('Playbook.*Tablet') || + + // Palm WebOS (1.4-3.0) - Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0), HP TouchPad (3.0) + ( $this->version('webOS', self::VERSION_TYPE_FLOAT) >= 1.4 && $this->match('Palm|Pre|Pixi') ) || + // Palm WebOS 3.0 - Tested on HP TouchPad + $this->match('hp.*TouchPad') || + + // Firefox Mobile 18 - Tested on Android 2.3 and 4.1 devices + ( $this->is('Firefox') && $this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 18 ) || + + // Chrome for Android - Tested on Android 4.0, 4.1 device + ( $this->is('Chrome') && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 4.0 ) || + + // Skyfire 4.1 - Tested on Android 2.3 device + ( $this->is('Skyfire') && $this->version('Skyfire', self::VERSION_TYPE_FLOAT) >= 4.1 && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) || + + // Opera Mobile 11.5-12: Tested on Android 2.3 + ( $this->is('Opera') && $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11.5 && $this->is('AndroidOS') ) || + + // Meego 1.2 - Tested on Nokia 950 and N9 + $this->is('MeeGoOS') || + + // Tizen (pre-release) - Tested on early hardware + $this->is('Tizen') || + + // Samsung Bada 2.0 - Tested on a Samsung Wave 3, Dolphin browser + // @todo: more tests here! + $this->is('Dolfin') && $this->version('Bada', self::VERSION_TYPE_FLOAT) >= 2.0 || + + // UC Browser - Tested on Android 2.3 device + ( ($this->is('UC Browser') || $this->is('Dolfin')) && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) || + + // Kindle 3 and Fire - Tested on the built-in WebKit browser for each + ( $this->match('Kindle Fire') || + $this->is('Kindle') && $this->version('Kindle', self::VERSION_TYPE_FLOAT) >= 3.0 ) || + + // Nook Color 1.4.1 - Tested on original Nook Color, not Nook Tablet + $this->is('AndroidOS') && $this->is('NookTablet') || + + // Chrome Desktop 16-24 - Tested on OS X 10.7 and Windows 7 + $this->version('Chrome', self::VERSION_TYPE_FLOAT) >= 16 && !$isMobile || + + // Safari Desktop 5-6 - Tested on OS X 10.7 and Windows 7 + $this->version('Safari', self::VERSION_TYPE_FLOAT) >= 5.0 && !$isMobile || + + // Firefox Desktop 10-18 - Tested on OS X 10.7 and Windows 7 + $this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 10.0 && !$isMobile || + + // Internet Explorer 7-9 - Tested on Windows XP, Vista and 7 + $this->version('IE', self::VERSION_TYPE_FLOAT) >= 7.0 && !$isMobile || + + // Opera Desktop 10-12 - Tested on OS X 10.7 and Windows 7 + $this->version('Opera', self::VERSION_TYPE_FLOAT) >= 10 && !$isMobile + ){ + return self::MOBILE_GRADE_A; + } + + if ( + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT)<4.3 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT)<4.3 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT)<4.3 || + + // Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770 + $this->is('Blackberry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 5 && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)<6 || + + //Opera Mini (5.0-6.5) - Tested on iOS 3.2/4.3 and Android 2.3 + ($this->version('Opera Mini', self::VERSION_TYPE_FLOAT) >= 5.0 && $this->version('Opera Mini', self::VERSION_TYPE_FLOAT) <= 7.0 && + ($this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 || $this->is('iOS')) ) || + + // Nokia Symbian^3 - Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1) + $this->match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') || + + // @todo: report this (tested on Nokia N71) + $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11 && $this->is('SymbianOS') + ){ + return self::MOBILE_GRADE_B; + } + + if ( + // Blackberry 4.x - Tested on the Curve 8330 + $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) <= 5.0 || + // Windows Mobile - Tested on the HTC Leo (WinMo 5.2) + $this->match('MSIEMobile|Windows CE.*Mobile') || $this->version('Windows Mobile', self::VERSION_TYPE_FLOAT) <= 5.2 || + + // Tested on original iPhone (3.1), iPhone 3 (3.2) + $this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) <= 3.2 || + $this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) <= 3.2 || + $this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) <= 3.2 || + + // Internet Explorer 7 and older - Tested on Windows XP + $this->version('IE', self::VERSION_TYPE_FLOAT) <= 7.0 && !$isMobile + ){ + return self::MOBILE_GRADE_C; + } + + // All older smartphone platforms and featurephones - Any device that doesn't support media queries + // will receive the basic, C grade experience. + return self::MOBILE_GRADE_C; + } +} diff --git a/languages/rocket-ar.mo b/languages/rocket-ar.mo new file mode 100644 index 0000000..2e213d1 Binary files /dev/null and b/languages/rocket-ar.mo differ diff --git a/languages/rocket-ar.po b/languages/rocket-ar.po new file mode 100644 index 0000000..daafb29 --- /dev/null +++ b/languages/rocket-ar.po @@ -0,0 +1,3632 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Mohamed Elsa3dy , 2019\n" +"Language-Team: Arabic (https://www.transifex.com/wp-media/teams/18133/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "موقعك يعمل علي استضافة %s,وقد فعلنا ميزة الحذف التلقائي لخدمة Varnish من أجل تحقيق التوافق." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "خرائط الموقع Jetpack XML" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "التحميل المسبق لخرائط الموقع من اضافة جيت باك" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "اكتشفنا تلقائيا خريطة الموقع وتم إنشائها بواسطة إضافة %s. ويمكنك التحقق من خيار التحميل المسبق للخرائط." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "خرائط اضافة All in One SEO Pack" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "خرائط الموقع Yoast SEO XML" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "الدعم" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "مستندات المساعدة" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "الأسئلة المتكررة" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "إعدادات" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "مسح الملفات المخذنة" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s التراجع عن التحديث" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "فشل استيراد الإعدادات: لم يتم تحميل أي ملف." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "فشل استيراد الإعدادات: اسم الملف غير صحيح." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "فشل استيراد الإعدادات: نوع الملف غير صحيح." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "فشل استيراد الإعدادات:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "فشل استيراد الإعدادات: محتوى الملف غير صحيح." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "تم إستعادة الإعدادات وحفظها." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "خطا بكلاودفلير وضع التطوير : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "وضع التطوير كلاودفلير %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "خطأ بمستوي الملفات المخزنة بكلاودفلير : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "ضبط مستوي التخزين المؤقت لكلاودفلير علي %s " + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "خطأ في خاصية تصغير الملفات بكلاودفلير: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "خدمة تصغير الملفات لكلاودفلير %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "خطأ في خدمة التحميل الصاروخي بكلاودفلير: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "خدمة التحميل الصاروخي بكلاودفلير %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "خطأ في خدمة التخزين المؤقت للمتصفح بكلاودفلير: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "ملفات الـ CSS المستثناة" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "إستثناء الجافاسكربت المتضمنة بالصفحة" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "إستثناء ملفات JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "لا تخزن هذه (العناوين) أبداً" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "مسح ملفات التخزين المؤقت" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "خيارات WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "لا تقم بتخزين هذه الصفحة" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "تفعيل هذه الخيارات علي هذه المقالة:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "التحميل الكسول للصور" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "التحميل الكسول للفيديو و الإطارات الداخلية Iframes" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "تصغير / دمج CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "تصغير / دمج JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "شبكة توصيل المحتوى CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "تأجيل ملفات JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "تفعيل أولا خيار %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s لم يتم إلغاء تفعيلها بسبب عدم وجود أذونات الكتابة.
    \n" +"اجعل %2$s يدعم الكتابة واعد محاولة التعطيل أو الغاء التفعيل الاجباري الآن:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: تم تفعيل أو تعطيل واحد أو أكثر من الاضافات، امسح ذاكرة التخزين المؤقت إذا كانت تؤثر على الواجهة الأمامية لموقعك." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: الإضافات التالية غير متوافقة مع هذه الإضافة وقد تسبب نتائج غير متوقعة:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "تعطيل" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: مطلوب ضبط الروابط الدائمة المخصصة لتعمل الاضافة بشكل صحيح. %2$sالذهاب إلي اعدادات الروابط الدائمة%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "اصلاح المشكلة: %1$sكيفية جعل ملفات النظام تسمح الكتابة%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s من الجيد الذهاب إلي %2$sلاختبار سرعة تحميل الموقع%4$s, أو زيارة %3$sاعدادات%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "هل تسمح لـ WP Rocket بجمع البيانات التشخيصية غير الحساسة من هذا الموقع؟" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "هذا سيساعدنا علي تحسين WP Rocket لك في المستقبل." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "ما هي المعلومات التي سنجمعها؟" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "فيما يلي عرض مفصل لجميع بيانات WP Rocket التي سيتم تجميعها إذا منح الإذن، لن تقوم WP Rocket بنقل أي أسماء نطاقات او عناوين بريد إلكتروني (بإستثناء التحقق من صلاحية الترخيص) أو عناوين IP أو مفاتيح الجهات الخارجية API." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "نعم، السماح" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "لا، شكراً" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "شكراً لك!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "اضافة WP Rokcet تجمع الآن هذه المقاييس من موقعك:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: تم حذف ذاكرة التخزين المؤقت." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: تم حذف ذاكرة التخزين المؤقت للمقال." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: تم حذف ذاكرة التخزين المؤقت للمصطلح." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: تم حذف ذاكرة التخزين المؤقت للمستخدم." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "إيقاف التحميل المسبق" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "تعطيل اجباري" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "يجب اضافة التعليمات البرمجية التالية إلي هذا الملف:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s التكوين التلقائي لا يعمل بسبب عدم وجود أذونات الكتابة." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "الملف/المجلد المتأثر: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "المراجعات" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "المسودات التلقائية" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "غير متاح" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "الرخصة" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "مفتاح API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "البريد الإلكتروني" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "لوحة التحكم" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "للمساعدة، ومعلومات الحساب" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "تحليلات الاضافة:" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "أوافق على مشاركة بيانات مجهولة مع فريق التطوير للمساعدة في تحسين اضافة WP Rocket. %1$sما المعلومات التي نجمعها؟%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "التخزين المؤقت" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "الإعدادات الأساسية للتخزين المؤقت" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "التخزين المؤقت للأجهزة المحمولة:" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "تسريع موقعك لزوار الاجهزة المحمول." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "التخزين المؤقت للأعضاء:" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "عمر ملفات التخزين المؤقت" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "تفعيل التخزين المؤقت للمستخدمين الذين قاموا بتسجيل الدخول" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "تفعيل التخزين المؤقت للأجهزة المحمولة." + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "إنشاء ملفات منفصلة للتخزين المؤقت للأجهزة المحمولة." + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "دقائق" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "ساعات" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "أيام" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "تحسين الملفات" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "تحسين ملفات الـ CSS و JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "ملفات التنسيق CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "ملفات JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "تصغير ملفات CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "هذا قد يسبب أخطاء!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "إذا لاحظت اي أخطاء علي موقعك بعد تفعيل هذا الخيار، فقط قم بتعطيله مرة أخري، وسيعود الموقع بشكل طبيعي مرة أخري." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "تفعيل تصغير ملفات CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "تفعيل دمج ملفات CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "تحسين تحميل ملفات الـ CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "تفعيل تصغير ملفات الجافاسكربت" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "تفعيل دمج الجافاسكربت" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "التحميل الكسول" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "تمكين للصور" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "تمكين للفيديو و الإطارات الداخلية Iframes" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "استبدل اطار يوتيوب بصورة المعاينة" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "يمكن أن يؤدي ذلك إلي تحسين وقت التحميل بشكل كبير إذا كان لديك الكثير من مقاطع فيديو يوتيوب بالصفحة." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "التحميل المسبق" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "حدد الروابط الخارجية المراد جلبها مسبقا (لا تضفhttp:, رابط لكل سطر)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "الاعدادت المتقدمة" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "تحديد عناوين وكلاء المستخدمين user agents التي لن يتم إستخدام خدمة التخزين المؤقت معها (رابط واحد لكل سطر)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "حدد العناوين التي سيتم إزالتها دائما عند تحديث أي مقالة أو صفحة (رابط لكل سطر)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "تحديد معلمات الاستعلام للتخزين المؤقت (رابط لكل سطر)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "قاعدة البيانات" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "تنظيف التعليقات" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "تنظيف قاعدة البيانات" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "كل المعلومات العابرة Transients " + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "تحسين جداول قواعد البيانات" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "المعدل" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "يومي" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "أسبوعي" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "شهري" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "تفعيل شبكة توصيل المحتوي." + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "تقليل أو تعطيل نشاط Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "سيؤدي النشاط المنخفض إلى تغيير معدل Heartbeat من اتصال واحد كل دقيقة إلى اتصال واحد كل دقيقتين." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "قد يؤدي تعطيل Heartbeat كليًا إلى تعطيل بعض الإضافات والقوالب التي تستخدم باستخدام واجهة برمجة التطبيقات API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "بدون حدود" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "تقليل المعدل" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "تعطيل" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "التحكم في Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "السلوك في الواجهة الأمامية" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "اضافات" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "اضافة مزيد من المميزات" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "كلاودفلير" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "مفتاح API العام:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "حساب البريد الإلكتروني" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "وضع التطوير" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "رفع ملف وإستيراد الإعدادات" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "تم حفظ الإعدادات" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "إعادة تثبيت اصدار v%s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "المسار الحرج CSS لـ %s تم انشاءه." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "انشاء المسار الحرج لملفات CSS يعمل الآن: %1$d من %2$d صفحة تم انتهاءها. (تحديث هذه الصفحة لعرض التقدم)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "المسار الحرج لملفات CSS تم انتهاءه لـ %1$d من %2$d انواع الصفحات." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "اسبوعي" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "عملية تحسين قاعدة البيانات جارية الآن" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "اكتملت عملية تحسين قاعدة البيانات. تم تحسين كل شيء بالفعل!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "اكتملت عملية تحسين قاعدة البيانات. قائمة بالعناصر التي تم تحسينها أدناه:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s تم التحسين." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "أداوات" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "كل اللغات" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "مسح الملفات المخذنة للمقالة" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "حذف الملفات المؤقتة لهذا العنوان" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "اعادة تكوين المسار الحرج لـ CSS" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "وثائق المساعدة" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "شهري" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "تفعيل Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "تثبيت Imagify مجانا" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "تسريع موقع الويب الخاص بك وتحسين تهيئة محرك البحث عبر تقليل حجم الصور بدون خسارة جودتها مع خدمة Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "مزيد من التفاصيل" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "التحميل المسبق لخرائط الموقع: %d صفحات تم اضافتهم في ملفات التخزين المؤقت." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "التحميل المسبق لخرائط الموقع: %d صفحة غير مضافة بالتخزين المؤقت الان تم اضافتها بالتحميل المسبق. (تحديث لرؤية التقدم)" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr " تأجيل تحميل ملفات JS من خلال الجافا سكربت " + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "أضف رابط" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "قبل أن يمكنك برفع واستعادة الملف، يجب عليك ان تصلح الخطأ التالي:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "أختر ملف من جهاز الكمبيوتر (أقصي حجم: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "بيانات دخول حساب كلاودفلير صحيحة." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "بيانات دخول حساب كلاودفلير غير صحيحة!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "حفظ وتحسين" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "تحسين" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "محلوظة:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "نصحية لأداء أفضل:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "تم اكتشاف اضافات خارجية:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "تحذير:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "خيارات التحميل" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "إستبدال إسم مضيف الموقع بــ :" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "مخصصة لـ " + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "كل الملفات" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "الصور" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "إنشاء سجل CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "شاهد الفيديو" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "إعدادات أساسية" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "الملفات الثابتة" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "الإعدادات المتقدمة" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s يتطلب آخر اصدار من PHP %3$s للعمل بشكل صحيح. لاستخدام هذا الإصدار، يرجى الطلب من شركة الاستضافة بترقية PHP لـ %3$s أو أعلي. إذا لم تكن قادرا على الترقية، يمكنك الرجوع إلى الإصدار السابق باستخدام الزر أدناه." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "نوع الخادم:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "رقم اصدار PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "رقم اصدار ووردبريس:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "ووردبريس متعدد المواقع:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "القالب الحالي:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "اللغة الحالية للموقع:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "الإضافات النشطة:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "اسماء جميع الاضافات النشطة" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "إعدادات WP Rocket مجهول المصدر:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "إعدادات الـ WP Rocket النشطة" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "اطلع علي %1$sوثائق الدعم%2$s لمزيد من الإرشادات." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "فشل الاتصال بكلاودفلير" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "اختر نطاق من القائمة" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "لا يوجد نطاقات علي حساب الكلاودفلير الخاص بك" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "تنزيل الملف المضغوط ZIP" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "إعادة تثبيت" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "لحل المشكلة، يرجى الاتصال بالدعم." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "الترخيص الخاص بك غير صالح." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "لقد أضفت العديد من المواقع التي يسمح بها الترخيص الحالي." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "غير مسموح لهذا الموقع." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "مفتاح الترخيص غير معروف." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "تم تثبيت الإضافة بنجاح." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "نآسف، لا يسمح لك بفعل ذلك." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "فشل تثبيت الإضافة." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "للخلف" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "إلغاء" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "مسح ملفات التخزين المؤقت بعد" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "استيراد الإعدادات" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "حالة الإضافات" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "التخزين المؤقت لكلاودفلير" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "تعلم المزيد" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "مسح ملفات التخزين المؤقت لكلودفلير" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "تهانينا!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "الآن موقعك يجب أن يتم تحميله بشكل أسرع." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "حسابي" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "تحديث المعلومات" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "تاريخ الإنتهاء" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "عرض حسابي" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "خيارات سريعة" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "حذف جميع ملفات التخزين المؤقت" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "الاسئلة الأكثر شيوعاً" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "اسال الدعم" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "إستخراج الإعدادات" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "تحميل نسخة احتياطية من الإعدادات الحالية" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "خيارات التحميل" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "التراجع عن التحديث" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "إعادة تثبيت اصدار %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "وضع تصحيح الاخطاء" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "اعدادات WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "الاصدار %s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "حفظ التغيرات" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "إظهار الشريط الجانبي" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "قراءة وثائق المساعدة" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "اقرأ دليل الاستخدام" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "قراءة المزيد" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "تحتاج مساعدة؟" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-bg_BG.mo b/languages/rocket-bg_BG.mo new file mode 100644 index 0000000..2a06355 Binary files /dev/null and b/languages/rocket-bg_BG.mo differ diff --git a/languages/rocket-bg_BG.po b/languages/rocket-bg_BG.po new file mode 100644 index 0000000..8473f9e --- /dev/null +++ b/languages/rocket-bg_BG.po @@ -0,0 +1,3560 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Rémy Perona \n" +"Language-Team: Bulgarian (Bulgaria) (https://www.transifex.com/wp-media/teams/18133/bg_BG/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2021-01-15 09:18-0500\n" +"Language: bg_BG\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Вашият сайт се хоства на %s, ние разрешихме авто-изчистване на Varnish за съвместинмост." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML карти на сайта" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Презаредете картата на сайта от плъгина Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Ние автоматично засичаме картата на сайта генерирана от %s плъгина. Вие можете да отметнете опцията за да я презаредите." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Всичко в една SEO XML карта на сайта" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML карта на сайта" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Поддръжка" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Документи" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "ЧЗВ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Настройки" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Изчистване на кеша" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Актуализиране на връщането" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Импортирането на настройки не бе успешно: нямате разрешения за това" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Импортирането на настройките не бе успешно: няма качени файлове." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Неуспешно импортиране на настройки: неправилно име на файл." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Неуспешно импортиране на настройки: неправилен тип файл." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Импортирането на настройки не бе успешно: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Неуспешен импорт на настройки: непредвидено съдържание на файл." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Настройките са импортирани и запазени." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare грешка при режим на разработване: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare режим на разработка %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare грешка в нивото на кеша: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Нивото на кеша в Cloudflare е зададено на %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Следният модел е невалиден и е премахнат:" +msgstr[1] "Следните модели са невалидни и са премахнати:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Изчистване на кеша" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Никога да не се кешира тази страница" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Активиране на опции за публикацията:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s не е бил деактивиран заради липсващи права за писане.
    \n" +"Получете %2$sправа за писане и опитайте отново деактивирането, или деактивирайте сега:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Една или повече приставки са активирани или деактивирани, изчистете кеша, ако те влияят на сайта ви." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Следните приставки не са съвместими с тази приставка и може да предизвикат неочаквани резултати:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Деактивиране" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Структурата на връзките се изисква за да може плъгина да работикоректно. %2$sОтидете в настройките на връзките %3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Отстраняване на повреди: %1$sКак да направите да получите права за писане%2$s в системните файлове" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Не се притеснявайте, кеширането и настройките на страниците на WP Rocket ще продължат да функционираткоректно" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s е готов за работа! %2$sТествайте времето за зареждане%4$s, или посетете Вашите %3$sнастройки%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Ще позволите ли на WP Rocket да събира не-чувствителни данни от този сайт?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Това ще ни помогне да подобрим WP Rocket за Вас в бъдеще." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Каква информация ще събираме?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Отдолу е подробен изглед на всичките данни, които WP Rocket ще събира, ако разрешите достъп. WP Rocket никога няма да трансферира домейн имена или email адреси (освен за валидация на лиценз), IP адреси, или API ключове от трети лица." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Да, позволявам" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Не, благодаря" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Благодарим Ви!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket сега ще събира тези метрики от Вашият сайт:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Кешът е изчистен." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Кешът на публикации е изчистен." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Кешът на условията е изчистен." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Кешът на потребителите е изчистен." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Моля, свържете се с вашия хост, за да проверите дали CRON работи." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Спрете предварително зареждане" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Принудително деактивиране" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Следният код трябва да бъде написан към този файл:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s не може да се конфигурира от само себе си заради липсващи права за писане." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Засегнат файл/папка: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Ревизии" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Автоматични чернови" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Изхвърлени в коша публикации" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Спам коментари" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Изхвърлени в коша коментари" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Преходни процеси" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Таблици" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Файлът за отстраняване на грешки не можа да бъде изтрит." + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Не достъпен" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Лиценз" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API ключ" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Email адрес" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Табло" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Намерете помощ, информация за акаунт" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Моят статус" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Съгласен съм да споделям анонимни данни с екипа разработчици заподобряване на WP Rocket. %1$sКаква информация ще събираме?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Кеш" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Основни кеш опции" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Мобилен кеш" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Ускорете сайта си за посетители с мобилни устройства." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Засякохме, че използвате плъгин, който изисква разделен кеш за мобилни устройства и автоматично разрешихме тази опция за съвместимост." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Потребителски кеш" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sПотребителският кеш%2$s е полезен когато имате специфично или ограничено за достъп съдържание на сайт ви." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Продължителност на кеша" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Разрешаване на кеширането за влезли в WordPress потребители" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Разрешаване на кеширането за мобилни устройства" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Отделни кеш файловете за мобилни устройства" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Определете време след което глобалният кеш ще се изтрие
    (0 = неограничено )" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Намалете продължителността на 10 часа или по-малко, ако забелязвате проблеми които се появяват периодично. %1$sЗащо?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Минути" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Часове" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Дни" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Оптимизация на файл" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Минифицирането в момента е активирано в Автооптимизиране. Ако искате да използвате %2$s минифициране, изключете тези опции в Автооптимизиране." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Минифициране на CSS премахва празните пространства и коментарите за да намали размера на файла." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Това може да доведе до повреди!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Ако забележите някакви грешки на сайт ви след активирането на тези настройки, просто ги деактивирайте отново, и сайтът ви ще работи нормално." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Активиране на CSS минифицирането" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Комбиниране на CSS файлове (Активирайте Minify CSS файлове, за да изберете)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Комбиниране на CSS свързва всички файлове в 1, намалява HTTP заявките. Не е препоръчително, ако Вашият сайт използва HTTP/2. %1$sПовече информация%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Активиране на комбиниране на CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Предоставя отговор , ако автоматично генерирания път към CSS е непълен. %1$sПовече информация%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Минифициране на JavaScript файловете" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Минифициране на JavaScript файловете премахва празното място и коментарите за да намали размера на файла." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Активирана на минифицирането на JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Може да подобри времето за зареждане на изображения, рамки ивидеоклиповете ще се зареждат само когато започват (или предстои да започнат) в прозореца за гледанеи намалява броя на HTTP заявките. %1$sПовече информация%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Разрешаване за изображения" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Разрешаване за iframes и видеа" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Заместете YouTube iframe с преглед на изображението" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Това може значително да подобри времето ви за зареждане, особено ако имате много YouTube видеа на страницата." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Презареждане" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Активирайте предварително зареждане" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Разширени правила" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Фина настройка на кеш правилата" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Чувствителните страници като URL адреси за влизане/излизане трябва да бъдат изключени от кеша." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Настроени страници за количка, плащане и \"моят акаунт\\ \"%1$s%2$s%3$s ще бъде открито и никога няма да се кешира по подразбиране." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Никога не кеширайте бисквитки" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Посочете URL адреси на страници или публикации, които никога не трябва да се кешират (по един на ред)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Частта на домейна в URL адреса ще бъде премахната автоматично.
    Използвайте (.*) заместващи символи за адресиране на множество URL адреси за даден път." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Уточнете user agent strings, които никога няма да кешират страници (една на ред) " + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Посочете URL адресите, за които винаги да сеизчиства кеша, когато актуализирате публикация или страница (една на ред)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Посочете query strings за кеширане (една на страница)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "База данни" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Оптимизиран, намаляване на излишните записи" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Ревизиите и черновите на публикациите ще бъдат изтрити завинаги. Не използвайте тази опция, ако трябва да запазите редакции или чернови." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Спамът и коментарите в кошчето, ще бъдат изтрити завинаги." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s ревизия във вашата база данни." +msgstr[1] "%s ревизии във вашата база данни." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s чернова във вашата база данни." +msgstr[1] "%s чернови във вашата база данни." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s публикация в кошчето на вашата база данни." +msgstr[1] "%s публикации в кошчето на вашата база данни." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s спам коментар във вашата база данни" +msgstr[1] "%s спам коментари във вашата база данни" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s коментар в кошчето на вашата база данни" +msgstr[1] "%s коментари в кошчето на вашата база данни" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Всички преходни процеси" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s преходен процес във вашата база данни." +msgstr[1] "%s преходни процеси във вашата база данни." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Оптимизиране на таблици" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s таблица за оптимизиране във вашата база данни." +msgstr[1] "%s таблици за оптимизиране във вашата база данни." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "План за автоматично почистване" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Честота" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Дневно" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Седмично" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Месечно" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Интегрирайте вашия CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Не се изисква за услуги като Cloudflare и Sucuri. Моля, вижте нашия достъпен %1$sAdd-ons%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Разрешаване на Мрежа за Доставка на Съдържание" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Посочете URL(и) на файлове, които не трябва да се обслужват чрез CDN (по един на ред)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Частта от домейна в URL адреса ще бъде премахната автоматично.
    Използвайте (.*) заместващи символи за изключване на всички файлове от даден тип файлове, намиращи се в определен път." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Не ограничавайте" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Намаляване на активността" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Деактивиране" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Добавете още функции" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "One-Click Add-ons са функции, разширяващи наличните опции без необходима конфигурация. Включете опцията \"on\", за да активирате от този екран." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket Add-ons са допълващи функции, разширяващи наличните." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Ако Varnish работи на вашия сървър, трябва да активирате тази добавка." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Интегрирайте вашия акаунт в Cloudflare с тази добавка." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "предоставете имейл адреса на вашия акаунт, глобалния API ключ и домейна, за да използвате опции като изчистване на кеша на Cloudflare и активиране на оптимални настройки с WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Синхронизиране на кеша на Sucuri с тази добавка." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Идентификационни данни на Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Настройки на Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Глобален API ключ:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Намери своя API key" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Временно активиране на режима за разработка на вашия уебсайт. Тази настройка ще се изключи автоматично след 3 часа. %1$sНаучете повече%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Оптимални настройки" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Автоматично подобрява вашата конфигурация на Cloudflare за скорост, производителност степен и съвместимост." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Трябва да се използва само с SSL функция на Cloudflare. URL адреси на статични файлове (CSS, JS, изображения) ще бъдат пренаписани ще се използва // вместо http:// или https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri идентификационни данни" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Намиране на вашия API ключ" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Качване на файла и импортиране на настройките" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Настройките са запазени." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "За да функционира правилно, %1$s %2$s изисква поне:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. За да използвате тази версия на WP Rocket, попитайте вашия уеб хост как да надстройте сървъра си до PHP %1$s или по-висока." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. За да използвате тази версия на WP Rocket, надстройте WordPress до версия %1$s или по-висока." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Ако не можете да надстройте, можете да се върнете към предишната версия като използвате бутона по-долу." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Преинсталирайте версията %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Файлът на дневника не съществува." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Файлът на дневника не може да бъде прочетен." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Дневниците не се записват във файл." + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Критичният CSS за %1$s не е генериран. Грешка: %2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Критичният CSS за %s е генериран." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Понастоящем се изпълнява генериране на критичния CSS: %1$d на %2$d типове страници завършен. (Опреснете тази страница, за да видите напредъка)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Генерирането на критичния CSS приключи за %1$d на %2$d типове страници." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "При генерирането на критичния CSS се получиха една или повече грешки." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Научване повече." + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "седмично" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Процесът за оптимизация на базата данни в ход" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Процесът на оптимизация на базата данни е завършен. Всичко беше оптимизирано!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Процесът на оптимизация на базата данни е завършен. Списъкът на оптимизираните елементи е по-долу:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s .оптимизиран" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Инструменти" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Импортиране, експортиране, връщане назад" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Оптимизация на изображението" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Компресиране на изображенията ви" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Деактивирайте тази опция %s, която е в конфликт с WP Rocket функция:" +msgstr[1] "Деактивирайте тези опции %s, които са в конфликт с WP Rocket функция:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP компресия%3$s е в конфликт с WP Rocket %2$sGZIPкомпресия%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Ключът за API на защитната стена на Sucuri не е намерен." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "API ключът на защитната стена на Sucuri е невалиден." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Грешка при свързване с API на защитната стена на Sucuri. Съобщението за грешка беше: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Няма отговор от API на защитната стена на Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Получих невалиден отговор от API на защитната стена на Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API на защитната стена на Sucuri връща непозната грешка." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API на защитната стена на Sucuri връща следната грешка: %s" +msgstr[1] "API на защитната стена на Sucuri връща следните грешки: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Възникна неочаквана грешка. Нещо може би се обърка с WP-Rocket.me или с конфигурацията на този сървър’s. Ако продължавате да имате проблеми, свържете се с поддръжката." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Всички езици" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Изчистете тази публикация" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Изчистете този URL" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Регенериране на критичния път на CSS" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Документация" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "месечно" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Активиране на Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Инсталиране на Imagify безплатно" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Ускорете Вашият сайт и увеличете Вашето SEO, като намалите размера на изображенията без да губите качество с Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Повече детайли" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Презареждане на карта на сайта: %d страници са били кеширани." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Презареждане на карта на сайта: %d не кеширани страници вече са били презаредени. (опреснете за да видите прогреса)" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS файлове с отложено зареждане на JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Добавяне на URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Преди да можете да качите и импортирате файла, трябва да поправите следната грешка:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Изберете файл от Вашият компютър (максимален размер: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Идентификационните данни в Cloudflare са валидни." + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Запаметяване и оптимизиране" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Оптимизиране" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Забележка:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Съвет за производителност:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Засечена е функция от трета страна:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Внимание:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Настройки за сваляне" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Заменете името на хоста си с:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "запазено за" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Всички файлове" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Изображения" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Добавете CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Изгледайте видеото" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Основни" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Статични файлове" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Разширени" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s изисква поне PHP %3$s, за да функционира правилно. За да използвате това версия, моля попитайте вашия хостинг как да надстроите сървъра си до PHP %3$s или по-висока. Ако не можете да надстроите, можете да се върнете към предишната версия, като използвате бутона по-долу." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Има проблем с валидирането на вашия лиценз. Моля, вижте грешката в съобщението по-долу." +msgstr[1] "Има проблем с валидирането на вашия лиценз. Моля, вижте грешката в съобщенията по-долу." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Тип сървър:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP версия:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress версия:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Текуща тема:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Текущ език на сайта:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Активни плъгини:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Всички активни плъгини" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Анонимизирани настройки на WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Кои настройки на WP Rocket са активни" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Прочетете %1$sдокументацията%2$s за допълнителни указания." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Връзката с Cloudflare не бе успешна" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Изберете домейн от списъка" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Няма достъпен домейн за Вашият Cloudflare акаунт" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Проверката на лиценза не бе успешна. Нашият сървър не можа да разреши заявката от вашия сайт." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Кликнете %1$sЗапазете промените%2$s по-долу. Ако грешката продължава, следвайте %3$sтова ръководство%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Проверката на лиценза не бе успешна. Може да използвате хакнатата версия на приставката. Моля, направете следното:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Сваляне на zip файл" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Преинсталиране" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Ако нямате акаунт в WP Rocket, моля, %1$sзакупете лиценз%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Проверката на лиценза не бе успешна. Този потребителски акаунт не съществува в нашата база данни." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "За да разрешите проблема, свържете се с екипа за поддръжка." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Вижте %1$sтова ръководство%2$s за повече информация." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Вашият лиценз не е валиден." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Уверете се, че имате активен %1$sWP Rocket лиценз%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Добавили сте толкова сайтове, колкото позволява текущият ви лиценз." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Надстройте своя %1$sакаунт%2$s или%3$s прехвърлете вашия лиценз%2$s към този " + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Този сайт не е позволен." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "%1$sСвържете се с поддръжката%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Този лицензен ключ не е разпознат." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Ако проблемът продължава, %1$s се свържете с екипа за поддръжка%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Проверката на лиценза не бе успешна: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Приставката е инсталирана успешно." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "За съжаление нямате право да инсталирате приставки на този сайт." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "За съжаление нямате право да правите това." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Инсталирането на приставката не бе успешно." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Връщане" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Отказ" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Изчистване на кеша след" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Настройки за импортиране" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Състояние на добавката" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Промяна на опциите" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Очиства кешираните ресурси на вашия сайт. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Научете повече" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Изчистване на всички кеш файлове на Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Честито!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket вече е активиран и работи за вас." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Вашият сайт трябва да се зарежда по-бързо сега!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Също така даваме възможност за опции, които осигуряват пряки ползи за вашия сайт." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Продължете към опциите за допълнителна оптимизация на вашия сайт!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Моят акаунт" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Обновяване на информацията" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Срок на годност" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Преглед на акаунта ми" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Премахване на всички кеширани файлове" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Възстановяване на критичния CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Често задавани въпроси" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Все още не можете да намерите решение?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Изпратете билете и получете помощ от знаещите, Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Искане на помощ" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Архивирайте вашата база данни, преди да стартирате почистването ѝ!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "След като бъде извършена оптимизацията на базата данни, няма начин да я отмените." + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Компресирайте изображението, за да е\tсайта ви\tпо-бърз, като същевременно поддържате изображението качествено" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Повече за Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Страница на Imagify Plugin" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Преглед на Image Compression Plugins" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Инсталиране на Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket не успя да потвърди автоматично вашия лиценз." + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Изчистване\tна\tвсички\tкеш\tфайлове на Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Размер на файловете:\t%1$s.\tБрой влизания: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sИзтегляне на файла%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sИзтриване на файла%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Експортиране на настройките" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Изтегляне на архивен файл с вашите настройки" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Настройки за сваляне" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Отмяна" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Версията %s причини ли проблем на вашия сайт?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Преинсталиране на версия %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Режим за отстраняване на грешки" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Създаване\tна\tрегистрационен\tфайл за отстраняване на грешки." + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Настройки на WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "версия\t%s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Запазване\tна\tпромените" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Показване на страничната лента" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket никога няма да предава имена на домейни или имейл адреси (с изключение на\tза проверка на лиценза), IP адреси или API ключове на трети страни." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Активиране на Rocket analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Отправна\tточка за\tпоправяне\tна\tнякои от най-често срещаните проблеми." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Прочетете документацията" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Как правилно да измервате времето за зареждане на вашия сайт" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Прочетете нашето ръководство" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Прочетете още" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Не сте активирали кеша за влезлите потребители." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Използване на поверителен прозорец на браузър, за проверка на скоростта на \"на сайта и неговия външен вид" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Нужда от помощ?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-cs_CZ.mo b/languages/rocket-cs_CZ.mo new file mode 100644 index 0000000..7c47da1 Binary files /dev/null and b/languages/rocket-cs_CZ.mo differ diff --git a/languages/rocket-cs_CZ.po b/languages/rocket-cs_CZ.po new file mode 100644 index 0000000..07ae54c --- /dev/null +++ b/languages/rocket-cs_CZ.po @@ -0,0 +1,3596 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Tomas Hrdina , 2020\n" +"Language-Team: Czech (Czech Republic) (https://www.transifex.com/wp-media/teams/18133/cs_CZ/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-05-28 13:07-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: cs_CZ\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Váš web je hostován u %s, z důvodu kompatibility bylo aktivováno automatické vyprázdnění Varnish mezipaměti." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML mapy webu" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Předběžně načítat mapu webu z pluginu Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Automaticky byl detekován soubor mapy webu vygenerovaný pluginem %s. Můžete použít možnost předběžného načtení." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML mapy stránek" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML mapa webu" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML mapa webu" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML mapa webu" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML mapa webu" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Chybná Cloudflare emailová adresa nebo API klíč." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Další pokyny naleznete v %1$sdokumentaci%2$s." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Neplatné Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email a / nebo API klíč nejsou nastaveny. Podrobnější informace naleznete v %1$sdokumentaci%2$s." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Chybí Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Tato doména není v Cloudflare nastavena." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cloudflare mezipaměť byla úspěšně vyprázdněna." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare chyba režimu pro vývojáře: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare režim pro vývojáře %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare chyba úrovně mezipaměti: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare úroveň mezipaměti byla nastavena na hodnotu %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare chyba zmenšení: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare zmenšení: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Chyba Cloudflare RocketLoaderu: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare RocketLoader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare chyba mezipaměti prohlížeče: %s" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "týdně" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Uložit změny" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Ověřit licenci" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Nedostupné" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licence" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API klíč" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Emailová adresa" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Nástěnka" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Nápověda, informace o účtu" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Stav" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Diagnostika raket" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Souhlasím se sdílením anonymních dat s vývojovým týmem, které pomohou zlepšit WP Rocket. %1$sJaké data budou shromažďována?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Mezipaměť" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Základní nastavení mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mezipaměť pro mobilní zařízení" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Zrychlete svůj web pro mobilní návštěvníky." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Byl zaznamenán aktivní plugin vyžadující samostatnou mezipaměť pro mobilní zařízení, a pro zajištění kompatibility bylo toto nastavení automaticky aktivováno." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Uživatelská mezipaměť" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sUživatelská mezipaměť%2$s je skvěla, pokud máte na webu uživatelský nebo omezený obsah." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Životnost mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Soubory mezipaměti starší než zadané životnosti budou odstraněny.
    Povolte %1$spřednačítání%2$s pro automatickou přegenerování mezipaměti po vypršení její životnosti." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Povolit ukládání do mezipaměti pro přihlášené uživatele WordPressu" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Povolit ukládání do mezipaměti pro mobilní zařízení" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Oddělit soubory mezipaměti pro mobilní zařízení" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Většina moderních šablon je responzivní a měla by správně fungovat bez samostatné mezipaměti. Tuto možnost aktivujte jen v případě, že máte samostatnou šablonu nebo speciální plugin pro mobilní zařízení. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Zadejte čas, po kterém se globální mezipaměť vymaže
    (0 = neomezeně)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Snižte životnost na 10 nebo méně hodin pokud si všimnete opakujících se problémů. %1$sProč?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuty" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Hodiny" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dny" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimalizace souborů" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimalizace CSS a JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "Zmenšování %1$s je aktuálně aktivováno v pluginu Autoptimize. Chcete-li použít zmenšování od %2$s, deaktivujte tyto možnosti v pluginu Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Soubory CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Soubory JavaScriptu" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimalizovat písma Google Fonts" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Zmenšit soubory CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Zmenšení CSS odstraní mezery a komentáře pro zmenšení velikosti." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Toto nastavení by mohlo rozbít web!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Pokud si všimnete jakýchkoliv chyb na svém webu po zapnutí tohoto nastavení, stačí aktivované nastavení deaktivovat, a váš web bude zase normálně fungovat." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Aktivovat zmenšení CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Kombinovat soubory CSS (nejprve musíte povolit zmenšení souborů CSS)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Zkombinuje CSS soubory do 1 souboru, sníží počet HTTP požadavků. Nedoporučuje se pokud váš web používá HTTP/2. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Aktivovat kombinování CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Vyloučené CSS soubory" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Určete URL adresy CSS souborů, které mají být vyloučeny ze zmenšování a spojení (jedna adresa na řádek)." + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimalizovat doručování CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Záložní kritická cesta CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Poskytuje zálohu pokud je automaticky generovaná kritická cesta k CSS nekompletní. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Zmenšit soubory JS" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Zmenšení JavaScriptu odstraní mezery a komentáře pro zmenšení velikosti." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Aktivovat zmenšení JavaScriptu" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Kombinovat soubory JavaScriptu (nejprve musíte povolit zmenšení souborů JS)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Zkombinování JavaScriptu interních souborů, skriptů vložených v kódu a kódu třetích stran, sníží počet HTTP požadavků. Nedoporučuje se pokud web používá HTTP/2. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Aktivovat kombinování JavaScriptu" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Vyloučený vložený JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Určete znaky vloženého JavaScriptu, který má být vyloučen ze slučování (jeden na řádek). %1$s Více informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Vyloučené soubory JavaScriptu" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Určete URL adresy souborů JavaScriptu, které mají být vyloučeny ze zmenšování a spojení (jednu adresa na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Interní:Doménová část URL adresy bude automaticky odstraněna. Použijte (.*).js hvězdičku pro vyloučení všech JS souborů umístěných v konkrétní cestě." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "3. strany: Zadejte buďto kompletní URL adresu, nebo jen doménu, pro vyloučení externího JS. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Načítat JavaScriptové soubory se zpožděním" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Načítání JavaScriptu se zpožděním, z webu odstraní JS blokující vykreslení obsahu, a může zlepšit rychlost jeho načítání. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Média" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "LazyLoad může vylepšit reálnou a vizuální rychlost načítání, protože obrázky, iframy a videa se budou načítat jen jakmile se objeví (nebo se budou mít za chvíli objevit) v zobrazovaném prostoru, a bude tím snížen počet HTTP požadavků. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad je aktuálně aktivováno v %2$s. Pokud chcete použít WP Rocket LazyLoad, zakažte tuto možnost v %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Tuto možnost povolte, pokud chcete, aby WP Rocket poskytovalo WebP obrázky kompatibilním prohlížečům. Berte na vědomí, že WP Rocket nemůže vytvářet WebP obrázky. Pro vytvoření WebP obrázků můžete použít např. plugin %1$sImagify%2$s. %3$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Povolit pro obrázky" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad pro obrázky je aktuálně aktivováno v %2$s. Pokud chcete použít od LazyLoad %1$s, zakažte tuto možnost v %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Povolit pro iframe a videa" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Nahraďte iframe YouTube za náhledový obrázek" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Toto nastavení může výrazně zkrátit dobu načítání, pokud máte na stránce mnoho videí z YouTube." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Předběžné načítání" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Generuje soubory mezipaměti, přednačítá písma" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Přednačítat mezipaměť" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Předběžné požadavky DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Předběžné požadavky DNS mohou zrychlit předběžné načítání externích souborů, především na mobilních sítích" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Přednačítat písma" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Zlepšuje výkon tím, že pomáhá prohlížečům nalézat písma v souborech CSS. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Aktivovat předběžné načítání" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL adresy pro přednačítání" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Zadejte externí hostitele, kteří se mají předběžně načítat (bez http:, pište jednoho na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Písma k předběžnému načítání" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Doménová část URL adresy bude automaticky odstraněna.
    Povolené přípony písem: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Pokročilá pravidla" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Vyladění pravidel mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Citlivé stránky jako URL pro vlastní přihlášení/odhlášení by neměly být ukládány do mezipaměti." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Stránky jako např. košík, pokladna a „můj účet“, nastavené v %1$s%2$s%3$s, budou detekovány a ve výchozím nastavení jim nebude generována mezipaměť." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nevytvářet mezipaměť pro tyto URL" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Cookies pro zakázání vytváření mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "User Agent nepřijímající soubory mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "URL u kterých se má vždy vyprázdnit mezipaměť" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Ukládání řetězců dotazů do mezipaměti" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sMezipaměť pro řetězce dotazu%2$s vám umožní vytvářet mezipaměť pro konkrétní parametry typu GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Určete URL adresy stránek, nebo příspěvků, které by nikdy neměly mít vytvořenou mezipaměť (jednu na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Doménová část URL adresy bude automaticky odstraněna.
    Použijte (.*) hvězdičky pro vyloučení více URL adres umístěných v konkrétní cestě." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Zadejte řetězce user-agent, kterým by nikdy neměly být poskytnuty stránky z mezipaměti (jeden na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Použijte (.*) hvězdičku pro určení částí UA řetězců." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Určete URL adresy, kterým chcete vymazat mezipaměť vždy, když bude provedena aktualizace jakéhokoliv příspěvku nebo stránky (jednu na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Zadejte řetězce dotazů pro ukládání do mezipaměti (jeden na řádek)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Databáze" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimalizace, zeštíhlení" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Čištění příspěvků" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Starší verze příspěvků a koncepty budou trvale odstraněny. Nepoužívejte tuto volbu pokud potřebujete zachovat starší verze nebo koncepty." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Čištění komentářů" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Komentářový spam a komentáře uložené v koši budou trvale odstraněny." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Čištění dočasných dat databáze" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Zde jsou zobrazena dočasná data databáze; s klidem je můžete odstranit. Pokud je pluginy budou zase potřebovat, vygenerují se znovu." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Čištění databáze" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Snižuje možnost přetěžování tabulek databáze" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Starší verze" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "V databázi je %s starší verze stránky/příspěvku." +msgstr[1] "%s starší verze stránek/příspěvků jsou v databázi." +msgstr[2] "%s starší verze stránek/příspěvků jsou v databázi." +msgstr[3] "%s starších verzí stránek/příspěvků je v databázi." + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automatické koncepty" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "V databázi je %s automatický koncept." +msgstr[1] "%s automatické koncepty jsou v databázi." +msgstr[2] "%s automatické koncepty jsou v databázi." +msgstr[3] "%s automatických konceptů je v databázi." + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Odstraněné příspěvky" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "V databázi je %s odstraněný příspěvek." +msgstr[1] "%s odstraněné příspěvky jsou v databázi." +msgstr[2] "%s odstraněné příspěvky jsou v databázi." +msgstr[3] "%s odstraněných příspěvků je v databázi." + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Komentáře označené jako spam" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "V databázi je %s komentářový spam." +msgstr[1] "%s komentářové spamy jsou v databázi." +msgstr[2] "%s komentářové spamy jsou v databázi." +msgstr[3] "%s komentářových spamů je v databázi." + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Odstraněné komentáře" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "V databázi je %s odstraněný komentář." +msgstr[1] "V databázi jsou %s odstraněné komentáře." +msgstr[2] "V databázi je %s odstraněných komentářů." +msgstr[3] "V databázi je %s odstraněných komentářů." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Veškerá dočasná data" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "V databázi jsou %s vypršené dočasné dat." +msgstr[1] "V databázi jsou %s vypršené dočasné data." +msgstr[2] "V databázi je %s vypršených dočasných dat." +msgstr[3] "V databázi je %s vypršených dočasných dat." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimalizovat tabulky" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "V databázi je %s tabulka, kterou je potřeba optimalizovat." +msgstr[1] "%s tabulky v databázi je potřeba optimalizovat." +msgstr[2] "%s tabulky v databázi je potřeba optimalizovat." +msgstr[3] "%s tabulek v databázi je potřeba optimalizovat." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Naplánovat automatické čištění" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frekvence" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Denně" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Týdně" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Měsíčně" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integrace CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Všechny URL adresy statických souborů (obrázky, CSS, JS) budou přepsány pro níže zadané CNAME(s)." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Není nutné pro služby jako je Cloudflare nebo Sucuri. Podívejte se na dostupné %1$srozšíření%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Vyloučení souborů z CDN" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Povolit Content Delivery Network" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Níže určete CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Zadejte URL adresy souborů, které by neměly být se neměly zobrazovat přes CDN (jednu na řádek)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Doménová část URL adresy bude automaticky odstraněna.
    Použijte (.*) hvězdičky pro vyloučení všech souborů, daného typu, umístěných v konkrétní cestě." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Správa WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Omezení nebo zakázání aktivity Heartbeat API může snížit zatěžování serveru." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Správa Heartbeat aktivity" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Omezení aktivity změní frekvenci Heartbeat, z jednou za minutu na jednou za 2 minuty." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Úplné vypnutí Heartbeat může znefunkčnit pluginy a šablony používající toto API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Neomezovat" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Omezit aktivitu" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Vypnout" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Ovládat Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Chování v administraci" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Chování v editoru stránek/příspěvků" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Chování ve veřejné části webu" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Rozšíření" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Přidání dalších funkcí" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Rocket rozšíření na jedno kliknutí" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Rocket rozšíření na jedno kliknutí jsou funkce rozšiřující dostupné možnosti bez nutnosti další konfigurace. Přepněte tlačítko na „zap“ pro aktivaci z této stránky." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket rozšíření" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket rozšíření jsou doplňkové funkce rozšiřující dostupné možnosti." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integrujte svůj účet Cloudflare tímto rozšířením." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Zadejte email účtu, globální API klíč, a doménu, abyste mohli využívat možnosti jako je vymazání mezipaměti Cloudflare a aktivovat optimální nastavení pro WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Pokud na vašem serveru používáte Varnish, musíte aktivovat toto rozšíření." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Mezipaměť Varnish bude pročištěna vždy současně s čištěním mezipaměti WP Rocket, aby byla vždy zajištěna aktuálnost obsahu.
    %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Vymaže společně mezipaměť Sucuri i WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Zadejte svůj API klíč pro společné čištění mezipaměti WP Rocket i Sucuri." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Synchronizujte mezipaměť Sucuri pomoci tohoto rozšíření." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Údaje ke Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare nastavení" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globální klíč API:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Nemůžete najít svůj API klíč?" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Přihlašovací email" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID zóny" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Vývojový režim" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Dočasně na webu zapne vývojový režim. Po 3 hodinách se toto nastavení automaticky vypne. %1$sVíce informací%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optimální nastavení" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Automaticky vylepší konfiguraci služby Cloudflare pro vyšší rychlost, lepší výkon a kompatibilitu." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Relativní protokol" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Mělo by být použito jen s Cloudflare funkcí „flexible SSL“. URL adresy statických souborů (CSS, JS, obrázky) budou používat „//“ místo „http://“ nebo „https://“." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri údaje" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Nemůžete najít svůj API klíč?" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Nahrát soubor a importovat nastavení" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Sucuri Rozšíření: API klíč pro Sucuri firewall musí být ve formátu{32 znaků}/{32 znaků}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Nastavení bylo uloženo." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Nástroje" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, export, návrat k předchozí verzi" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimalizace obrázků" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Zmenší velikost obrázků" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Návody" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Videa s návody nejen pro začátečníky" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: Chybí parametr identifikátoru." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: Chybí uživatelský token." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: API vrátilo kód neočekávané odpovědi." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: API vrátilo prázdnou odpověď." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: API vrátilo neočekávanou odpověď." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "Vymazání mezipaměti RocketCDN se nezdařilo: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Vyčištění mezipaměti RocketCDN bylo úspěšně dokončeno." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Datum příští fakturace" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Žádné předplatné" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Vaše předplatné pro RocketCDN je aktuálně aktivní." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Chcete-li používat RocketCDN, své stávající CNAME nahraďte %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sVíce informací%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN zapnuto" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN vypnuto" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Vymazat tuto mezipaměť" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Kritické CSS pro %1$s nebylo vygenerováno. Chyba: API vrátilo prázdnou odpověď." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Kritické CSS pro %1$s nebylo vygenerováno." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Kritické CSS pro %1$s nebylo vygenerováno. Chyba: API vrátilo neplatný kód odpovědi." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Chyba: %1$s" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Generovat konkrétní CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Znovu vygenerovat specifické CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l pro použití této funkce." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Publikovat %s" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Kritické CSS pro %1$s nebylo vygenerováno. Chyba: %2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Kritické CSS pro %s bylo vygenerováno." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Právě běží generování kritického CSS." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Přejděte na %1$s nastavení WP Rocket%2$s a sledujte průběh." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Právě probíhá generování kritického CSS: %1$d z %2$d typů obsahu bylo dokončen. (Pro zobrazení pokroku aktualizujte tuto stránku)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Generování kritického CSS bylo dokončeno pro %1$d z %2$d typů obsahu." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Během generování kritického CSS nastala jedna nebo více chyb." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Více informací." + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Soubor kritického CSS neexistuje" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Soubor kritického CSS nelze smazat." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Probíhá generování kritického CSS pro %s." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Soubor kritického CSS byl úspěšně smazán." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Během vytváření kritického CSS pro %1$s vypršel časový limit. Zkuste to později." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Požadovaný příspěvek neexistuje." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Pro nepublikovaný příspěvek nelze generovat CPCSS." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Nepodařilo se spustit následující plánovanou událost. Systém CRON pravděpodobně nepracuje správně, což může zabránit správnému chodu některých funkcí WP Rocket:" +msgstr[1] "Nepodařilo se spustit následující plánované události. Systém CRON pravděpodobně nepracuje správně, což může zabránit správnému chodu některých funkcí WP Rocket:" +msgstr[2] "Nepodařilo se spustit následující plánované události. Systém CRON pravděpodobně nepracuje správně, což může zabránit správnému chodu některých funkcí WP Rocket:" +msgstr[3] "Nepodařilo se spustit následující plánované události. Systém CRON pravděpodobně nepracuje správně, což může zabránit správnému chodu některých funkcí WP Rocket:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Obraťte se na poskytovatele hostingu a zjistěte, zda je CRON funkční." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Naplánováno vyčištění mezipaměti" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Naplánována optimalizace databáze" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Probíhá optimalizace databáze" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Předběžné načítání" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Proces generování cesty pro kritické CSS" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Deaktivujte následující možnost %s, která je v konfliktu s funkcemi WP Rocket:" +msgstr[1] "Deaktivujte následující možnosti %s, které jsou v konfliktu s funkcemi WP Rocket:" +msgstr[2] "Deaktivujte následující možnosti %s, které jsou v konfliktu s funkcemi WP Rocket:" +msgstr[3] "Deaktivujte následující možnosti %s, které jsou v konfliktu s funkcemi WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$szakázání smajlíků%3$s je v konfliktu s WP Rocket %2$szakázáním smajlíků%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP komprese%3$s je v konfliktu s WP Rocket %2$sGZIP kompresí%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$scachování prohlížeče%3$s je v konfliktu s WP Rocket %2$smezipamětí prohlížeče%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$scachování stránek%3$s je v konfliktu s WP Rocket %2$sukládáním stránek do mezipaměti%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$sprostředek optimalizace%3$s je v konfliktu s WP Rocket %2$soptimalizací souborů%3$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Podpora" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentace" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Časté dotazy" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Nastavení" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "Obnovení předchozí verze %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sZpět k WP Rocket%2$s nebo %3$spřejít na stránku pluginů%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Selhal import nastavení: pro tuto akci nemáte dostatečné oprávnění." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Selhal import nastavení: žádný soubor nebyl nahrán." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Selhal import nastavení: nesprávný název souboru." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Selhal import nastavení: nesprávný typ souboru." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Selhal import nastavení: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Selhal import nastavení: nesprávný typ souboru." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Nastavení bylo importováno a uloženo." + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Následující vzorek je neplatný a byl odebrán:" +msgstr[1] "Následující vzorek jsou neplatné a byly odebrány:" +msgstr[2] "Následující vzorek jsou neplatné a byly odebrány:" +msgstr[3] "Následující vzorek jsou neplatné a byly odebrány:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Vymazat mezipaměť" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Možnosti WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Nikdy tuto stránku neukládat do mezipaměti" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktivujte možnosti jen pro tento příspěvek:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad pro obrázky" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad pro iframe/videa" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Zmenšit/zkombinovat CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Zmenšit/zkombinovat JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Pozdržet JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Nejprve aktivujte možnost %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sPoznámka:%2$s Žádné z těchto nastavení nebude použito, pokud jste tomuto příspěvku zakázali ukládání do mezipaměti globálním nastavením WP Rocket." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s nebyl deaktivován z důvodu chybějících práv k zápisu.
    \n" +"Nastavte souboru %2$s práva pro zápis a zkuste plugin opět deaktivovat, nebo proveďte vynucenou deaktivaci:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Jeden nebo více pluginů bylo aktivováno nebo deaktivováno. Pokud mají vlil na veřejnou část webu, pak raději vymažte mezipaměť." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Následující pluginy nejsou kompatibilní s tímto pluginem a mohou způsobit neočekávané výsledky:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Deaktivovat" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS je neoficiální doplněk. Některá nastavení v kombinaci s tímto doplňkem správně nefungují. Pokud se vyskytnou problémy s WP Rocket, deaktivujte jej prosím." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Nyní je aktivní Endurance Cache, která bude v konfliktu s mezipamětí WP Rocket. Nastavte úroveň Endurance Cache na Off (úroveň 0) na stránce %1$sSettings > General %2$s, aby se zabránilo problémům." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Pro správnou funkci pluginu je vyžadována vlastní struktura trvalých odkazů. %2$sPřejděte na nastavení trvalých odkazů%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s nemohlo upravit soubor .htaccess kvůli omezených práv pro zápis." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Odstraňování problémů: %1$sJakudělit systémovým souborům práva k zápisu%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Nebojte se, nastavení a mezipaměť WP Rocket bude pořád správně fungovat." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Pro optimální funkčnost byste měli přidat následující řádky do souboru .htaccess (nepovinné):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "Plugin %1$s je připraven! %2$sOtestujte si rychlost načítání%4$s, nebo přejděte na %3$snastavení%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Chcete WP Rocket povolit sběr diagnostických dat z tohoto webu?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Pomůže to do budoucna zlepšit WP Rocket podle Vás, uživatelů." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Jaké údaje budou shromažďovány?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Níže je podrobné zobrazení všech údajů, které bude v případě povolení oprávnění WP Rocket shromažďovat. WP Rocket nikdy nebude posílat názvy domén nebo emailové adresy (kromě ověření licence), IP adresy nebo API klíče třetích stran." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Ano, povolit" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Ne" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Děkujeme Vám!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket nyní z tohoto webu shromažďuje následující údaje:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Mezipaměť byla vymazána." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Mezipaměť příspěvku byla vymazána." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Mezipaměť položky byla vymazána." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Uživatelská mezipaměť byla vymazána." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Zastavit prednačítání" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Vynutit vypnutí " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Následující kód by měl být zapsán do tohoto souboru:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s se nemůže nastavit kvůli chybějícím oprávněním k zápisu." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Ovlivněný soubor/složka: %s" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Dočasná data" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabulky" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Soubor ladění se nepodařilo vymazat." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Pro správnou funkčnost %1$s %2$s je vyžadováno alespoň:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Pokud chcete používat tuto verzi WP Rocket, požádejte svůj webhosting o pomoc s upgradem serveru na PHP %1$s nebo vyšší." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Pokud chcete používat tuto verzi WP Rocket, tak musíte aktualizovat WordPress na verzi %1$s nebo vyšší." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Pokud nemáte možnost přechodu na požadovanou verzi, můžete WP Rocket přeinstalovat na předchozí verzi, pomoci níže zobrazeného tlačítka." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Přeinstalovat verzi %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Soubor protokolu neexistuje." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Soubor protokolu nelze číst." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Protokoly se neukládají do souboru." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Interval pro vypršení mezipaměti WP Rocket" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "Mezipaměť WebP je zakázána filtrem." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. Pokud chcete, aby je poskytoval WP Rocket, aktivujte tuto možnost. %2$sVíce informací%3$s" +msgstr[1] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. Pokud chcete, aby je poskytoval WP Rocket, aktivujte tuto možnost. %2$sVíce informací%3$s" +msgstr[2] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. Pokud chcete, aby je poskytoval WP Rocket, aktivujte tuto možnost. %2$sVíce informací%3$s" +msgstr[3] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. Pokud chcete, aby je poskytoval WP Rocket, aktivujte tuto možnost. %2$sVíce informací%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. %2$sVíce informací%3$s" +msgstr[1] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. %2$sVíce informací%3$s" +msgstr[2] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. %2$sVíce informací%3$s" +msgstr[3] "Pro převod obrázků do formátu WebP používáte plugin %1$s . WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky. %2$sVíce informací%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket vytvoří samostatné soubory mezipaměti, které budou poskytovat WebP obrázky." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Nepodařilo se identifikovat následující požadavek šablony: uzavírací značky %1$s." +msgstr[1] "Nepodařilo se identifikovat následující požadavky šablony: uzavírací značky %1$s." +msgstr[2] "Nepodařilo se identifikovat následující požadavky šablony: uzavírací značky %1$s." +msgstr[3] "Nepodařilo se identifikovat následující požadavky šablony: uzavírací značky %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "měsíčně" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Probíhá optimalizace databáze" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Optimalizace databáze byla dokončena. Všechno již bylo optimalizováno!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Optimalizace databáze byla dokončena. Níže je zobrazen seznam optimalizovaných položek:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "Optimalizováno %1$d %2$s." + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri chyba vyprázdnění mezipaměti: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Čištění mezipaměti Sucuri bylo zahájeno. Nezapomeňte, že tato akce může trvat až dvě minuty." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Sucuri API klíč firewallu nebyl nalezen." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucuri API klíč firewallu je neplatný." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Chyba při kontaktování Sucuri firewall API. Chybová zpráva je následující: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Nepodařilo se dostat odpověď od Sucuri firewall API." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Byla přijata neplatná odpověď od Sucuri firewall API." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri firewall API vrátilo neznámou chybu." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "Sucuri firewall API vrátilo následující chybu: %s" +msgstr[1] "Sucuri firewall API vrátilo následující chyby: %s" +msgstr[2] "Sucuri firewall API vrátilo následující chyby: %s" +msgstr[3] "Sucuri firewall API vrátilo následující chyby: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Vyskytla se neočekávaná chyba. Chyba může být na straně WP-Rocket.me nebo v nastavení vašeho serveru. Pokud máte nadále problémy, kontaktujte technickou podporu." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Všechny jazyky" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Vymazat mezipaměť tohoto příspěvku" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Vymazat mezipaměť pro tuto URL" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Znovu vygenerovat kritické CSS" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Vyprázdnit Sucuri mezipaměť" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Vyčistit mezipaměť RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentace" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Vyprázdnění OPcache se nezdařilo." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache byla úspěšně vyprázdněna" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktivovat Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Zdarma instalovat Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Zrychlete si web a zlepšete si SEO optimalizací obrázků bez ztráty kvality pomoci pluginu Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Zobrazit podrobnosti" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Předběžné načítání map webu: %d stránek bylo uloženo do mezipaměti." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Předběžné načítání map webu: %d neuložených stránek v mezipaměti bylo předběžně načteno. (obnovte pro zobrazení postupu)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Vyberte doménu ze seznamu" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "V účtu Cloudflare není k dispozici žádná doména" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "cURL funkce je zakázána. Požádejte technickou podporu hostingu, aby cURL aktivovala. Tato funkce je nezbytná pro správnou funkčnost Cloudflare rozšíření." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email, API klíč a Zone ID nejsou nastaveny. Další pokyny naleznete v %1$sdokumentaci%2$s." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email a API klíč nejsou nastaveny. Další pokyny naleznete v %1$sdokumentaci%2$s." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Připojení ke Cloudflare selhalo" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "Volaná třída %1$s je zastaralá od verze %2$s! Místo toho použijte třídu %3$s." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "Volaná třída %1$s je zastaralá od verze %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS soubory s odloženým načítáním jazyka JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Přidat URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Před nahráním souboru s importem budete ještě muset vyřešit následující chybu:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Zvolte soubor ze svého počítače (maximální velikost: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Vaše přihlašovací údaje ke Cloudflare jsou platné." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Vaše přihlašovací údaje ke Cloudflare jsou neplatné!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Uložit a optimalizovat" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimalizovat" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Poznámka:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Výkonnostní tip:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Zjištěna funkce třetích stran:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Varování:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Stáhnout nastavení" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Nahraďte název hostitelského webu pomocí:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "rezervováno pro" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Všechny soubory" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Obrázky" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Přidat CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Přehrát video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Základní" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statické soubory" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Pokročilé" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Pro správnou funkčnost %1$s verze %2$s je vyžadováno PHP %3$s a novější. Chcete-li tuto verzi použít, požádejte svůj webhosting o pomoc se změnou PHP na verzi %3$s nebo novější. Pokud nemůžete přejít na novější verzi, můžete se vrátit zpět k předchozí verzi pomocí níže zobrazeného tlačítka." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Během ověřování licence nastala chyba. Přečtěte si následující chybovou zprávu." +msgstr[1] "Během ověřování licence nastala chyba. Přečtěte si následující chybové zprávy." +msgstr[2] "Během ověřování licence nastala chyba. Přečtěte si následující chybové zprávy." +msgstr[3] "Během ověřování licence nastala chyba. Přečtěte si následující chybové zprávy." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Typ serveru:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Verze PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Verze WordPressu:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "Síť webů WordPressu:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Aktuální šablona:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Aktuální jazyk webu:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktivované pluginy:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Názvy všech aktivovaných pluginů" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonymizované WP Rocket nastavení:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Jaká nastavení pluginu WP Rocket jsou aktivní" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Ověřování licence se nezdařilo. Nepodařilo se navázat spojeni mezi web a našim serverem." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Zkuste níže kliknout na %1$sUložit změny%2$s. Pokud problém přetrvává, postupujte podle %3$stohoto návodu%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Ověření licence se nezdařilo. Možná používáte nulovou verzi tohoto pluginu. Postupujte podle následujících kroků:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Přihlaste se ke svému WP Rocket %1$súčtu%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Stáhněte soubor zip" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Přeinstalujte plugin" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Pokud nemáte účet u WP Rocket, %1$skupte si licenci%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Ověřování licence se nezdařilo. Tento uživatelský účet v naši databázi neexistuje." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Kontaktujte, prosím, technickou podporu." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Pro více informací se podívejte na %1$stento návod%2$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Vaše licence je neplatná." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Ujistěte se, že máte aktivní %1$sWP Rocket licenci%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Přidali jste maximální počet webů ke svým zakoupeným licencím." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Upgradujte %1$súčet%2$s, nebo%3$spřeveďte licenci%2$s na tuto doménu." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Tato webová stránka není povolena." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "%1$sKontaktujte technickou podporu%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Licenční klíč nebyl rozpoznán." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Pokud problém přetrvává, neváhejte %1$skontaktovat technickou podporu%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Ověření licence se nezdařilo: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Plugin byl úspěšně nainstalován." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Nemáte dostatečné oprávnění pro instalaci pluginů na tomto webu." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Pro tuto akci nemáte dostatečné oprávnění." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Instalace pluginu selhala." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Zpět" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Zrušit" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Cesta ke kritickému CSS" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Vygeneruje konkrétní cesty kritického CSS pro tento příspěvek. %1$sVíce informací%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Tento příspěvek používá konkrétní cesty kritického CSS. %1$sVíce informací%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Vrátit se zpět k výchozímu CPCSS" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Vyčistit mezipaměť po" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS a JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Import nastavení" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Stav rozšíření" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Upravit nastavení" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Vyčistí prostředky mezipaměti RocketCDN pro váš web. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Více informací" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Vymazat všechny soubory mezipaměti RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare mezipaměť" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Vyprázdní zdroje mezipaměti pro váš web. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Vymzata veškeré soubory Cloudflare mezipaměti" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Gratulujeme!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket je nyní aktivní a již zahájilo proces optimalizace." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Nyní by se váš web měl načítat rychleji!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Dále jsou také aktivována nastavení s okamžitými výhodami pro váš web." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Pokračujte na nastavení pro další optimalizaci webu!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Účet" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Aktualizovat" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Datum vypršení platnosti" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Zobrazit můj účet" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Rychlé akce" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Odstranit veškeré soubory mezipaměti" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Znovu vygenerovat kritické CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Často kladené dotazy" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Pořád nemůžete najít řešení?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Napište na technickou podporu, kde se vám budou věnovat naši odborníci." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Zeptat se podpory" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Před spuštěním čištění databáze proveďte její zálohu!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Jakmile provedete optimalizaci databáze, neexistuje žádný způsob, jak provedené změny vrátit zpět." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Uložit změny a optimalizovat" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s vytvořilo plugin %3$sIMAGIFY%4$s %1$spro nejlepší možnou optimalizaci obrázků.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Zrychlete svůj web zmenšením obrázků bez ztráty jejich kvality." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Více o Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Stránka v adresáři pluginů" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Web Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Porovnání kompresních pluginů" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instalovat Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket se nepodařilo automaticky ověřit vaši licenci." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Postupujte podle tohoto %1$s nebo se obraťte na %2$s, abyste nastartovali motor." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$snávod%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$stechnická podpora%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Vzmazat veškeré soubory mezipaměti Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Velikost souboru: %1$s. Počet záznamů: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sStáhnout soubor%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sOdstranit soubor%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Export nastavení" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Stáhněte si soubor se zálohou nastavení" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Stáhnout nastavení" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Návrat k předchozí verzi" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Způsobila vám verze %s nějaké potíže?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Můžete se vrátit zpět na předchozí hlavní verzi zde.%sPoté kontaktujte naší podporu." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Přeinstalovat na verzi %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Režim ladění" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Vytvoření souboru záznamu ladění." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Začínáme" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Začínáme s WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Hledání nejlepšího nastavení pro váš web" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Jak zjistit jestli WP Rocket cachuje váš web" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Jak měřit rychlost vašeho webu" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Řešení potíží se zobrazováním obsahu při optimalizaci souborů" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Jak najít ten pravý JavaScript pro vyloučení" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Jak externí obsah zpomaluje váš web" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Jak funguje předběžné načítání" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Nastavení rozšíření pro Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket nastavení" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "verze %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Zobrazit postranní panel" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket nikdy nebude posílat názvy domén nebo emailové adresy (kromě ověření licence), IP adresy nebo API klíče třetích stran." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Aktivovat shromažďování dat" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Ideální první krok pro řešení nejčastějších problémů." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Přečíst dokumentaci" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Co dělá WP Rocket ve výchozím nastavení" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Jak správně měřit rychlost načítání webu" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Podívejte se na návody a naučte se měřit rychlost vašeho webu." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Zobrazit návod" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Více informací" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Mezipaměť pro přihlášené uživatele není aktivní." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Pro zjištění rychlosti a vizuálních změn webu použijte anonymní okno prohlížeče." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Platí jen do %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Zrychlete web díky:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Snadná konfigurace: Automaticky se použije %1$snejvhodnější nastavení CDN%2$s." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Integrace WP Rocket: Možnost CDN je %1$sautomaticky nakonfigurovaná%2$s v našem pluginu" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Začínáme" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Další informace o RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Zmenšit tento banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Zrychlete svůj web s RocketCDN, vlastní Content Delivery Network od WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Více informací" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN není k dispozici lokální domény ani pro testovací prostředí." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Získejte RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Nové!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Zrychlete svůj web s RocketCDN, vlastní Content Delivery Network od WP Rocket!" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Potřebujete pomoc?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-de_DE.mo b/languages/rocket-de_DE.mo new file mode 100644 index 0000000..0e4e746 Binary files /dev/null and b/languages/rocket-de_DE.mo differ diff --git a/languages/rocket-de_DE.po b/languages/rocket-de_DE.po new file mode 100644 index 0000000..4368620 --- /dev/null +++ b/languages/rocket-de_DE.po @@ -0,0 +1,4640 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Caspar Hübinger, 2020 +# Rico Michael , 2021 +# Ben_Mew , 2023 +# Romain • WP Rocket , 2023 +# Christian Herrmann, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15.1-alpha1\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-09-25T14:39:29+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Christian Herrmann, 2023\n" +"Language-Team: German (Germany) (https://app.transifex.com/wp-media/teams/18133/de_DE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de_DE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Plugin Name of the plugin +msgid "WP Rocket" +msgstr "WP Rocket" + +#. Plugin URI of the plugin +msgid "https://wp-rocket.me" +msgstr "https://wp-rocket.me/de/" + +#. Description of the plugin +msgid "The best WordPress performance plugin." +msgstr "" +"Das beliebte WordPress-Plugin für Caching und Performance-Optimierung." + +#. Author of the plugin +msgid "WP Media" +msgstr "WP Media" + +#. Author URI of the plugin +msgid "https://wp-media.me" +msgstr "https://wp-media.me" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"Deine Website ist bei %s gehostet, wir haben daher das automatische Leeren " +"des serverseitigen Varnish-Caches aktiviert." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" +"Cloudflare hat keine Antwort zurückgegeben. Bitte versuche es später erneut." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Unerwartete Antwort von Cloudflare" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Fehlende Antwort von Cloudflare." + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Ungültige Cloudflare-E-Mail-Adresse oder API-Schlüssel." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lies die %1$sDokumentation%2$s für weitere Hinweise." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Ungültige Cloudflare Zone ID." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"Cloudflare-E-Mail und/oder API-Schlüssel sind nicht eingerichtet. Lies die " +"%1$sDokumentation%2$s für weitere Anleitung." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Fehlende Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Wie es aussieht, ist deine Domain nicht auf Cloudflare eingerichtet." + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "Tage" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "Sekunden" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "Minuten" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "Stunden" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket:%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket:%2$s Cloudflare-Cache erfolgreich geleert." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Fehler mit Cloudflare Development Mode: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Cloudflare Development Mode: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Fehler mit Cloudflare Cache Level: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "Standard" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare Cache Level: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Fehler mit Cloudflare Minification: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Cloudflare Minification: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Fehler mit Cloudflare RocketLoader: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare RocketLoader: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Fehler mit CloudFlare Browser Cache: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cloudflare-Browsercache auf %s eingestellt" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sWP Rocket:%2$s Optimale Einstellungen für Cloudflare aktiviert:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sWP Rocket:%2$s Optimale Einstellungen für Cloudflare wurden deaktiviert " +"und die vorherigen Einstellungen wiederhergestellt:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri-Cache Fehler beim Leeren: %s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"Der Sucuri-Cache wird geleert. Bedenke, dass es bis zu zwei Minuten dauern " +"kann, bis er völlig geleert ist." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "Sucuri Firewall API-Schlüssel wurde nicht gefunden." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucuri Firewall API-Schlüssel ist ungültig." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" +"Fehler beim Versuch, die Sucuri Firewall API zu kontaktieren. Fehlermeldung " +"war: %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Konnte keine Antwort von der Sucuri Firewall API erhalten." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Ungültige Antwort von der Sucuri Firewall API erhalten." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Die Sucuri Firewall API hat einen unbekannten Fehler gemeldet." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "Die Sucuri Firewall API hat folgenden Fehler zurückgegeben: %s" +msgstr[1] "Die Sucuri Firewall API hat folgende Fehler zurückgegeben: %s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"Du benutzt %1$s, um WebP-Bilder auszuliefern, deshalb musst du diese Option " +"nicht aktivieren. %2$sMehr erfahren%3$s%4$sFalls du es bevorzugst, dass WP " +"Rocket deine WebP-Bilder ausliefert, deaktiviere bitte das Ausliefern in " +"%1$s." +msgstr[1] "" +"Du benutzt %1$s, um WebP-Bilder auszuliefern, deshalb musst du diese Option " +"nicht aktivieren. %2$sMehr erfahren%3$s%4$sFalls du es bevorzugst, dass WP " +"Rocket deine WebP-Bilder ausliefert, deaktiviere bitte das Ausliefern in " +"%1$s." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP-Cache wurde durch einen Filter deaktiviert." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"Du benutzt %1$s, um Bilder nach WebP umzuwandeln. Falls du möchtest, dass WP" +" Rocket sie ausliefert, aktiviere diese Option. %2$sMehr erfahren%3$s" +msgstr[1] "" +"Du benutzt %1$s, um Bilder nach WebP umzuwandeln. Falls du möchtest, dass WP" +" Rocket sie ausliefert, aktiviere diese Option. %2$sMehr erfahren%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"Du benutzt %1$s, um Bilder nach WebP umzuwandeln. WP Rocket wird separate " +"Cache-Dateien anlegen, um deine WebP-Bilder auszuliefern. %2$sMehr " +"erfahren%3$s" +msgstr[1] "" +"Du benutzt %1$s, um Bilder nach WebP umzuwandeln. WP Rocket wird separate " +"Cache-Dateien anlegen, um deine WebP-Bilder auszuliefern. %2$sMehr " +"erfahren%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sWir haben kein kompatibles WebP-Plugin entdeckt!%6$s%4$s Falls du nicht " +"bereits WebP-Bilder auf deiner Website hast, ziehe den Einsatz von " +"%3$sImagify%2$s oder eines anderen unterstützten Plugins in Betracht. " +"%1$sMehr erfahren%2$s %4$s Falls du kein WebP einsetzt, aktiviere diese " +"Option nicht." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"WP Rocket wird separate Cache-Dateien erstellen, um deine WebP-Bilder " +"auszuliefern." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Hilfe" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentation" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Einstellungen" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "Diesen Cache leeren" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" +"Importieren der Einstellungen fehlgeschlagen: Dir fehlen die entsprechenden " +"Berechtigungen." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "Import fehlgeschlagen: keine Datei hochgeladen." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "Import fehlgeschlagen: nicht unterstützter Dateiname." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "Import fehlgeschlagen: nicht unterstütztes Dateiformat." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "Import der Einstellungen fehlgeschlagen: " + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "Import der Einstellungen fehlgeschlagen: Unerwarteter Dateiinhalt." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "Einstellungen importiert und gespeichert." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "CSS-Ausnahmen" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "Ausgenommenes Inline JavaScript" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "JavaScript-Ausnahmen" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "JavaScript-Dateien aufschieben" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "Ausgenommene verzögerte JavaScript-Dateien" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "Nie cachen (URLs)" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "Nie cachen (User Agents)" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "Immer löschen (URLs)" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "Dateien vom CDN ausschließen" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Folgendes Muster ist ungültig und wurde entfernt:" +msgstr[1] "Folgende Muster sind ungültig und wurden entfernt:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "Mehr erfahren" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Cache leeren" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s wurde nicht aktiviert wegen fehlender Schreibrechte.
    \n" +"Erteile Schreibrechte für %2$s und versuche die Deaktivierung erneut, oder forciere die Deaktivierung jetzt:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: Plugin(s) aktiviert oder deaktiviert. Falls dies die " +"Darstellung deiner Website betrifft, lösche jetzt den Cache." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: Folgende Plugins sind mit diesem Plugin nicht " +"kompatibel und können unerwartete Ergebnisse hervorrufen:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "Deaktivieren" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"WP Rocket Footer JS ist kein offizielles Add-on. Es verhindert, dass manche " +"Optionen in WP Rocket korrekt funktionieren. Bitte deaktiviere es, falls du" +" Probleme damit hast." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"Endurance Cache ist momentan aktiviert, was Probleme mit dem Cache von WP " +"Rocket verursacht. Bitte stelle den Endurance Cache cache level auf der " +"Seite %1$sEinstellungen > Allgemein%2$sauf „Aus“ (Level 0), um Probleme zu " +"verhindern." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: Eine angepasste Permalink-Struktur ist erforderlich für die korrekte " +"Funktionsweise des Plugins. %2$sPermalink-Einstellungen aufrufen%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" +"%s konnte die .htaccess-Datei nicht ändern aufgrund fehlender " +"Schreibberechtigungen." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" +"Fehlerbehebung: %1$sFehlende Schreibrechte für System-Dateien beheben%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://de.docs.wp-rocket.me/article/1042-fehlende-schreibrechte-fuer-" +"system-dateien-beheben-htaccess-wp-" +"configphp?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "" +"Keine Bange. Das Cachen der Seiten durch WP Rocket und die Einstellungen " +"werden weiterhin korrekt funktionieren." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"Für optimale Leistung wird das Hinzufügen folgender Zeilen in deine " +".htaccess-Datei empfohlen (nicht erforderlich):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"%1$s ist fertig aktiviert! %2$sTeste deine Ladezeiten%4$s, oder schau dir " +"deine %3$sEinstellungen%4$s an." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"Würdest du WP Rocket erlauben, anonymisierte technische Daten von dieser " +"Website zu sammeln?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" +"Das würde uns dabei unterstützen, WP Rocket in Zukunft weiter zu verbessern." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "Um welche Art Daten geht es genau?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"Hier findest du eine genaue Auflistung der Daten, die WP Rocket nach Hause " +"sendet, wenn du die Erlaubnis dazu erteilst. WP Rocket wird niemals Domain-" +"Namen, E-Mail-Adressen (außer zur Lizenzprüfung), IP-Adressen oder API-" +"Schlüssel von Drittanbietern übermitteln." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "Ja, erlauben" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "Nein, danke" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "Danke!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket erhebt jetzt die folgenden Kennzahlen von deiner Website:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s: Cache geleert." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s: Cache für Beitrag/Seite geleert." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s: Cache für Begriff geleert." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s: Cache für Benutzer/-in geleert." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Diese Meldung ausblenden" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Benutztes CSS leeren" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "Vorladen beenden" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "Unbenutztes CSS entfernen aktivieren" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "„Separater Cache für mobile Geräte“ jetzt aktivieren" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "Deaktivierung forcieren" + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "Folgender Code hätte in diese Datei geschrieben werden sollen:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" +"%s kann sich wegen fehlender Schreibrechte nicht selbst konfigurieren." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "Betroffene Dateien/Ordner: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Die Fehlerbehebungs-Protokolldatei konnte nicht gelöscht werden." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Um richtig zu funktionieren, erfordert %1$s %2$s mindestens:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"PHP %1$s. Um diese Version von WP Rocket zu nutzen, frage bei deinem " +"Webhosting nach einer Aktualisierung deines Servers auf PHP %1$s oder höher." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"WordPress %1$s. Um diese Version von WP Rocket zu nutzen, aktualisiere " +"WordPress auf version %1$s oder höher." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"Wenn eine Aktualisierung nicht möglich ist, kannst du das Button weiter " +"unten klicken, um die vorherige Version von WP Rocket wiederherzustellen." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr " Version %s wiederherstellen" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "%s Update zurückrollen" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +"Erkennung des folgenden Erfordernisses in deinem Theme fehlgeschlagen: " +"Schließe %1$s." +msgstr[1] "" +"Erkennung der folgenden Erfordernisse in deinem Theme fehlgeschlagen: " +"Schließe %1$s." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Cache leeren und vorladen" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "Alle Sprachen" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "Lösche diesen Eintrag" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "Entferne diese URL aus dem Cache" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "Sucuri-Cache leeren" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "RocketCDN-Cache leeren" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentation" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Imagify aktivieren" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Imagify kostenfrei installieren" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"Beschleunige deine Website und booste dein SEO, indem du deine Bilder mit " +"Imagify verlustfrei optimierst." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Weitere Einzelheiten" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Sitemap-Preload: %d Seiten gecacht." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"Sitemap-Preload: %d Seiten wurden bis jetzt in den Cache geladen. (Seite " +"neu laden für aktuellen Stand)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"Ein unerwarteter Fehler ist aufgetreten. Vielleicht ist etwas auf wp-" +"rocket.me oder mit dieser Server-Einstellung schief gelaufen. Falls es " +"weiterhin Probleme geben sollte, kontaktiere den Support." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Wähle eine Domain aus der Liste" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Keine Domain in deinem Cloudflare-Konto verfügbar" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"Curl ist auf deinem Server deaktiviert. Bitte deinen Hoster, es zu " +"aktivieren. Dies ist erforderlich, damit das Cloudflare Add-on korrekt " +"funktioniert." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"Cloudflare-E-Mail, API-Schlüssel und Zone ID sind nicht eingestellt. Lies " +"die %1$sDokumentation%2$s für weitere Anleitung." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"Cloudflare-E-Mail und API-Schlüssel sind nicht eingestellt. Lies die " +"%1$sDokumentation%2$s für weitere Anleitung." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Keine Verbindung mit Cloudflare möglich" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cloudflare-Cache erfolgreich geleert." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"Folgendes geplantes Ereigniss hat nicht stattgefunden. Dies könnte ein " +"Hinweis darauf sein, dass das CRON-System nicht korrekt läuft, was dazu " +"führen kann, dass manche Funktionen von WP Rocket nicht wie gewünscht " +"funktionieren:" +msgstr[1] "" +"Folgende geplante Ereignisse haben nicht stattgefunden. Dies könnte ein " +"Hinweis darauf sein, dass das CRON-System nicht korrekt läuft, was dazu " +"führen kann, dass manche Funktionen von WP Rocket nicht wie gewünscht " +"funktionieren:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "Bitte kontaktiere deinen Hoster, um zu prüfen, ob CRON funktioniert." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "OPcache leeren fehlgeschlagen." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache erfolgreich geleert" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML Sitemap" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"Offensichtlich existiert eine durch das Plugin %s generierte Sitemap. " +"Aktiviere diese Option, um den Cache damit zu füllen." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sZurück zu WP Rocket%2$s oder %3$szur Plugins-Seite gehen%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML Sitemap" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML Sitemap" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML Sitemap" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML Sitemap" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Sitemaps" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Cache füllen via Jetpack-Sitemap" + +#: inc/deprecated/3.15.php:28 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:74 +msgid "WP Rocket Options" +msgstr "WP-Rocket-Optionen" + +#: inc/deprecated/3.15.php:57 views/metaboxes/post_edit_options.php:19 +msgid "Never cache this page" +msgstr "Diese Seite niemals cachen" + +#: inc/deprecated/3.15.php:61 views/metaboxes/post_edit_options.php:23 +msgid "Activate these options on this post:" +msgstr "Aktiviere diese Einstellungen für diesen Beitrag:" + +#. translators: %s is the name of the option. +#: inc/deprecated/3.15.php:81 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:121 +msgid "Activate first the %s option." +msgstr "Aktiviere zuerst die Einstellung %s." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/deprecated/3.15.php:97 views/metaboxes/post_edit_options.php:38 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sHinweis:%2$s Keine dieser Optionen wird angewendet, falls dieser Beitrag" +" in den globalen Cache-Einstellungen vom Cache ausgenommen wurde." + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS-Dateien mit verzögert geladenem JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "URL hinzufügen" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "Einstellungen gespeichert." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "" +"Bevor du deine Einstellungsdatei importieren kannst, musst du den folgenden " +"Fehler korrigieren." + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Wähle eine Datei von deinem Computer (maximale Größe: %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "Datei hochladen und Einstellungen importieren." + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Deine Cloudflare-Zugangsdaten sind gültig." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Deine Cloudflare-Zugangsdaten sind ungültig." + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Speichern und optimieren" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimieren" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Hinweis:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Performance-Tipp:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Drittanbieter-Funktion ermittelt:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Warnung:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Einstellungen herunterladen" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Ersetze den Hostnamen der Seite mit:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reserviert für" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Alle Dateien" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Bilder" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "CNAME hinzufügen" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Video ansehen." + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Basis" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statische Dateien" + +#: inc/deprecated/deprecated.php:1773 inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/Engine/CDN/Admin/Subscriber.php:28 +msgid "CDN" +msgstr "CDN" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Erweitert" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "Datenbank" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "Cache füllen" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Werkzeuge" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Lizenz" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s erfordert mindestens PHP %3$s, um korrekt zu funktionieren. Frage " +"dein Webhosting nach einer Aktualisierung der PHP-Version auf %3$s oder " +"höher auf deinem Server. Falls eine Aktualisierung nicht möglich ist, nutze " +"das Button, um auf eine frühere Version zurückzusetzen." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"Die aufgerufene Klasse %1$s ist veraltet seit Version %2$s!" +" Benutze %3$s stattdessen." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "" +"Die aufgerufene Klasse %1$s ist veraltet seit Version %2$s!" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "wöchentlich" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisionen" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automatisch erstellte Entwürfe" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Gelöschte Einträge (Papierkorb)" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Spam-Kommentare" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Gelöschte Kommentare (Papierkorb)" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transients" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabellen" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "monatlich" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Datenbank wird optimiert." + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "Datenbank-Optimierung abgeschlossen. Alles war bereits optimiert!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"Datenbank-Optimierung abgeschlossen. Folgende Elemente wurden optimiert:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimiert." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sWP Rocket:%2$s Wir haben festgestellt, dass sich die Domain der Website " +"geändert hat. Die Konfigurationsdateien müssen für den Seitencache und alle " +"anderen Optimierungen regeneriert werden, damit sie wie gewünscht " +"funktionieren. %3$sMehr erfahren%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "Konfigurationsdateien von WP-Rocket jetzt regenerieren" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Änderungen speichern" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Lizenz prüfen" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Server nicht erreichbar" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API-Schlüssel" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "E-Mail-Adresse" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Dashboard" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Konto-Übersicht, Hilfe" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Mein Status" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"Ich erlaube dem Entwicklungsteam von WP Rocket, anonyme Daten aus meiner " +"Installation zum Zweck der Produktverbesserung zu erheben. %1$sWelche Daten " +"werden gesammelt?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Cache-Grundfunktionen" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobiler Cache" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Beschleunige deine Site auf mobilen Geräten." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"Anscheinend nutzt du ein anderes Plugin, das einen separaten mobilen Cache " +"erfordert. Daher wurde diese Einstellung automatisch aktiviert." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Personalisierter Cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"%1$sPersonalisierter Cache%2$s ist nützlich, wenn du personalisierte oder " +"eingeschränkte Inhalte zur Verfügung stellst." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Cache-Dauer" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"Cache-Dateien, die älter als die angegebene Lebensdauer sind, werden " +"gelöscht.
    Aktiviere %1$sCache füllen%2$s, um den Cache nach dem Ablauf " +"der Lebensdauer automatisch neu zu generieren." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Caching für angemeldete WordPress-Benutzer/-innen aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Caching für mobile Geräte aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Separater Cache für mobile Geräte" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"Die meisten modernen Themes sind responsiv und sollten ohne einen separaten " +"Cache arbeiten. Aktiviere dies nur, falls du ein spezielles Mobil-Theme oder" +" -Plugin benutzt. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"Zeitangabe, nach welcher der globale Cache geleert wird
    (0 = unbegrenzt)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"Reduziere auf 10 Stunden oder weniger, falls du Probleme bemerkst, die " +"periodisch aufzutreten scheinen. %1$sWarum?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Stunden" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Tage" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Datei-Optimierung" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "CSS und JS optimieren" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"%1$s Minifizierung ist momentan in Autoptimizeaktiviert. " +"Falls du die Minifizierung von %2$sbenutzen willst, deaktiviere diese Option" +" in Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS-Dateien" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript-Dateien" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"%1$s Minifizierung ist momentan in Autoptimize aktiviert. " +"Wenn du die Minifizierung von %2$s nutzen möchtest, deaktiviere die " +"entsprechenden Einstellungen in Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"Falls du nach dem Aktivieren dieser Funktion Probleme bekommst, kopiere die " +"Standardexklusionen und füge sie ein, um diese schnell zu beheben:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"Bitte lies auch unsere %1$sDokumentation%2$s mit einer Liste von Exklusionen" +" aus Kompatibilitätsgründen." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"Interne Skripte werden standardmäßig ausgeschlossen, um Probleme zu " +"verhindern. Entferne sie, um diese Funktion voll auszureizen." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"Falls das zu Schwierigkeiten führt, stelle die Standardexklusionen wieder " +"her, die du %1$shier%2$s findest" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "CSS minifizieren" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Entfernt Leerzeilen und Kommentare zur Reduzierung der Datei-Größe." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "Dies könnte Probleme bereiten!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"Falls du nach der Aktivierung dieser Einstellung Unregelmäßigkeiten auf " +"deiner Website bemerken solltest, deaktiviere sie einfach wieder, und deine " +"Site wird wieder normal aussehen." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Verstanden, aktiviere „CSS minifizieren“" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"Gib die URLs der CSS-Dateien an, die nicht minifiziert werden sollen (eine " +"pro Zeile)." + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"Intern: Der Domain-Teil der URL wird automatisch entfernt. " +"Benutze den Platzhalter (.*).css, um alle CSS-Dateien auszunehmen, die sich " +"in einem angegebenen Pfad befinden." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"Drittanbieter: Benutze entweder den vollständigen URL-Pfad " +"oder nur den Domainnamen, um externes CSS auszunehmen. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "CSS-Darstellung optimieren" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"CSS-Darstellung optimieren eliminiert rendering-blockierendes CSS auf deiner" +" Website. Nur eine Methode kann ausgewählt werden. Unbenutztes CSS entfernen" +" wird für die beste Leistung empfohlen, aber kann nur von Benutzern mit " +"einer aktiven Lizenz eingesetzt werden." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"CSS-Darstellung optimieren eliminiert rendering-blockierendes CSS auf deiner" +" Website. Nur eine Methode kann ausgewählt werden. Nicht benutztes CSS " +"entfernen wird für die beste Leistung empfohlen." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"Funktionen zur optimierten CSS-Darstellung sind auf lokalen Umgebungen " +"deaktiviert. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:736 +#: inc/Engine/Optimization/RUCSS/Admin/OptionSubscriber.php:74 +msgid "Remove Unused CSS" +msgstr "Nicht benutztes CSS entfernen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"Entfernt nicht benutztes CSS pro Seite und hilft, die Größe der Seite und " +"die Anzahl von HTTP-Anfragen zu reduzieren. Empfohlen für die beste " +"Leistung. Ausführlich testen! %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "Unbenutztes CSS entfernen aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "CSS-Safelist" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"Gib CSS-Dateinamen, IDs oder Klassen an, die nicht entfernt werden sollen " +"(eine pro Zeile)." + +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/CriticalPath/Admin/Subscriber.php:200 +msgid "Load CSS asynchronously" +msgstr "CSS-Dateien asynchron laden" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"CSS-Dateien asynchron laden wird momentan durch das Plugin %1$s realisiert. " +"Wenn du die Option zur optimierten CSS-Darstellung von WP Rocket benutzen " +"willst, deaktiviere das Plugin %1$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"Erzeugt CSS für den kritischen Pfad und lädt CSS asynchron. %1$sMehr " +"erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "Alternatives Kritisches CSS" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"Für den Fall, dass das automatisch erstellte Kritische CSS unvollständig " +"ist. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "JavaScript minifizieren" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Entfernt Leerzeilen und Kommentare zur Reduzierung der Datei-Größe." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "Verstanden, aktiviere „JavaScript minifizieren“" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"JavaScript zusammenfassen („JavaScript minifizieren“ erforderlich zur " +"Aktivierung)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"JavaScript zusammenfassen kombiniert internes, externes und inline JS, um " +"HTTP-Anfragen zu verringern. nicht empfohlen, falls deine Website mit HTTP/2" +" läuft. %1$sMehr erfahren%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"Diese Option ist aus Gründen der Kompatibilität und für beste Ergebnisse " +"deaktiviert, wenn die Option zum Verzögern der Ausführung von JavaScript " +"aktiv ist." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "Verstanden, aktiviere „JavaScript zusammenfassen“" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"Muster von Inline JavaScript, die von der Zusammenführung ausgenommen werden" +" sollen (eine pro Zeile). %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"URLs von JavaScript-Dateien, die von der Minifizierung und Zusammenführung " +"ausgenommen werden sollen (eine pro Zeile)." + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"Intern: Der Domain-Teil der URL wird automatisch entfernt. " +"Benutze den Platzhalter (.*).css, um alle JS-Dateien auszunehmen, die sich " +"in einem angegebenen Pfad befinden." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"Drittanbieter: Benutze entweder den vollständigen URL-Pfad " +"oder nur den Domainnamen, um externes JS auszunehmen. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +#: inc/Engine/Optimization/DeferJS/AdminSubscriber.php:76 +msgid "Load JavaScript deferred" +msgstr "JavaScript verzögert laden" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"Entfernt rendering-blockierendes JavaScript, kann die Ladezeit verbessern. " +"%1$sMehr erfahren%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"URLs oder Schlüsselwörter von JavaScript-Dateien, die von der Verzögerung " +"ausgenommen werden sollen (eine pro Zeile) %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:907 +#: inc/Engine/Optimization/DelayJS/Admin/Subscriber.php:210 +msgid "Delay JavaScript execution" +msgstr "JavaScript-Ausführung verzögern" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"Verbessert die Leistung durch das Verzögern des Ladens von JavaScript-" +"Dateien bis zur ersten Benutzerinteraktion (z. B: Scrollen, Klicken). " +"%1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "Ein-Klick-Exklusionen" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"Wenn du die Ausführung von JavaScript verzögerst, kann es zu Verzögerungen " +"beim Laden von Elementen im Viewport kommen, die sofort angezeigt werden " +"müssen, z. B. Slider, Header, Menü." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"Wenn du sofortige Sichtbarkeit brauchst, klicke unten auf die Dateien, die " +"NICHT verzögert werden sollten. Diese Auswahl hilft den Nutzern, sofort mit " +"den Elementen zu interagieren." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"URLs oder Schlüsselwörter, die Inline- oder JavaScript-Dateien " +"identifizieren, die nicht verzögert ausgeführt werden sollen (eine pro " +"Zeile)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "Medien" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, Bildabmessungen" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "LazyLoad" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"Es kann die tatsächliche und empfundene Ladezeit verbessern, weil Bilder, " +"iframes und Videos erst geladen werden, wenn sie in den Viewport kommen " +"(oder in die Nähe). Das verringert auch die Anzahl der HTTP-Anfragen. " +"%1$sMehr erfahren%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"LazyLoad ist momentan in %2$s aktiviert. Wenn du die LazyLoad-Funktion von " +"WP Rocket benutzen willst, deaktiviere diese Option in %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "Bildabmessungen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"Fügt Bildern fehlende width und height Attribute hinzu. Hilft, Layout-" +"Sprünge zu verhindern und verbessert die Leseerfahrung für deine Besucher. " +"%1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "Für Bilder aktivieren" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"LazyLoad für Bilder ist aktuell aktiviert in %2$s. Falls du die LazyLoad-" +"Funktion von %1$s benutzen willst, deaktivere diese Option in %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "Für CSS-Hintergrundbilder aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Für iframes und Video aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "YouTube iframe durch Vorschaubild ersetzen" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" +"YouTube-iframe mit Vorschaubild austauschen ist nicht kompatibel mit %2$s." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"Kann deine Ladezeit entscheidend verbessern, wenn du viele YouTube Videos " +"auf einer Seite einbettest." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Bilder- oder iframes-Ausnahmen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"Gib Schlüsselwörter (z. B. Bild-Dateiname, CSS-Dateiname, CSS-Klasse, " +"Domain) des auszuschließenden Bildes oder iframe-Code an (eins pro Zeile). " +"%1$sWeitere Informationen%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Fehlende Bildabmessungen hinzufügen" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Cache-Dateien generieren, Fonts vorladen" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Cache füllen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"Wenn du das Vorladen aktivierst, wird WP Rocket deine Sitemaps automatisch " +"erkennen und alle URLs in der Datenbank speichern. Das Plugin stellt sicher," +" dass dein Cache immer vorgeladen wird." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Links vorladen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"Links vorladen optimiert die wahrgenommene Ladezeit, indem eine verlinkte " +"Seite bereits geladen wird, sobald sich der Mauszeiger eines Benutzers über " +"einem Link befindet. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS-Prefetch" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"Kann das Laden externer Dateien beschleunigen, besonders über eine mobilen " +"Netzwerkverbindung." + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Fonts vorladen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"Optimiert die Leistung, indem es Browsern hilft, Fonts in CSS-Dateien zu " +"entdecken. %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Vorladen aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "URLs ausschließen" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"Gib URLs ein, die von der Vorladen-Funktion ausgeschlossen werden sollen " +"(eine pro Zeile). %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "Vorzeitig aufzulösende URLs" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"Vorzeitig aufzulösende externe Domains (kein http:, eine pro " +"Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Vorzuladende Fonts" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"URLs von Font-Dateien, die vorgeladen werden sollen (eine pro Zeile). Fonts " +"müssen auf deiner eigenen Domain gehostet sein, oder auf der Domain, die du " +"im CDN-Tab angegeben hast." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"Der Domain-Teil der URL wird automatisch entfernt.
    Mögliche Font-" +"Dateiendungen sind: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Vorladen von Links aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Erweiterte Regeln" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Cache-Regeln abstimmen" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" +"Sensible Seiten, wie zum Beispiel eigene Login-/Logout-Seiten, sollten vom " +"Cache ausgeschlossen werden." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    Warenkorb-, Kassen- und „Mein Konto“-Seiten von " +"%1$s%2$s%3$s werden automatisch ermittelt und nie gecacht." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nie cachen (Cookies)" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Cache für Query Strings" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "%1$sErstellt gesonderte Caches%2$s anhand bestimmter GET-Parameter." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"URLs von Seiten oder Beiträgen, die niemals gecacht werden sollen (eine pro " +"Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"Der Domain-Teil der URL wird automatisch entfernt.
    Nutze den Platzhalter " +"(.*), um alle URLs eines bestimmten Pfades anzusprechen." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"Gib vollständige oder Teile von Cookie-IDs an, die das Caching einer Seite " +"verhindern sollen, sobald sie im Browser des Besuchers gesetzt sind (eine " +"pro Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"User Agent Strings, die niemals gecachte Seiten sehen sollten (einer pro " +"Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Nutze den Platzhalter (.*), um Teile von UA Strings zu ermitteln." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"URLs, deren Cache immer mit gelöscht werden sollte, sobald andere Beiträge " +"oder Seiten aktualisiert werden (eine pro Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Query Strings, die gecacht werden sollen (einer pro Zeile)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Aufräumen, optimieren" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Beiträge/Seiten bereinigen" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"Revisionen, Entwürfe und Papierkorb werden endgültig gelöscht. Nicht " +"aktivieren, wenn du Revisionen und Entwürfe noch benötigst!" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Kommentare bereinigen" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Spam und Kommentare im Papierkorb werden endgültig gelöscht." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Transients bereinigen" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"Transients sind zeitlich begrenzte Optionen; sie können problemlos gelöscht " +"werden. Sobald deine Plugins sie benötigen, werden sie automatisch erneut " +"generiert." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Datenbank bereinigen" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Reduziert den Umfang von Datenbank-Tabellen." + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Automatische Bereinigung" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s Revision in deiner Datenbank." +msgstr[1] "%s Revisionen in deiner Datenbank." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s Entwurf in deiner Datenbank." +msgstr[1] "%s Entwürfe in deiner Datenbank." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s gelöschter Beitrag in deiner Datenbank." +msgstr[1] "%s gelöschte Beiträge in deiner Datenbank." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s Spam-Kommentar in deiner Datenbank." +msgstr[1] "%s Spam-Kommentare in deiner Datenbank." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s gelöschter Kommentare in deiner Datenbank." +msgstr[1] "%s gelöschte Kommentare in deiner Datenbank." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Alle Transients" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s Transient in deiner Datenbank." +msgstr[1] "%s Transients in deiner Datenbank." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Tabellen optimieren" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s Tabelle in deiner Datenbank kann optimiert werden." +msgstr[1] "%s Tabellen in deiner Datenbank können optimiert werden." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Automatische Bereinigung terminieren" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Durchführung" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "täglich" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "wöchentlich" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "monatlich" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "CDN integrieren" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"Alle URLs statischer Dateien (CSS, JS, Bilder) werden auf den/die " +"eingetragenen CNAME(s) umgeschrieben." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"Nicht erforderlich für Dienste wie Cloudflare und Sucuri. Bitte sieh dir " +"unsere verfügbaren %1$sAdd-ons%2$s an." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"%1$s%2$l Add-ons%3$s ist momentan aktiviert. Konfiguration der CDN-" +"Einstellungen ist nicht erforderlich für %2$l, um auf deiner Website zu " +"laufen." +msgstr[1] "" +"%1$s%2$l Add-ons%3$s sind momentan aktiviert. Konfiguration der CDN-" +"Einstellungen ist nicht erforderlich für %2$l, um auf deiner Website zu " +"laufen." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "Content Delivery Network aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "CNAME(s) des CDNs hier eintragen" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"URL(s) von Dateien, die nicht von einem CDN ausgeliefert werden sollen (eine" +" pro Zeile)." + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"Der Domain-Teil der URL wird automatisch entfernt.
    Nutze den Platzhalter " +"(.*), um alle URLs eines bestimmten Pfades anzusprechen." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "WordPress-Heartbeat-API kontrollieren" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"Das Verringern oder Deaktivieren der Heartbeat-API-Aktivität kann dabei " +"helfen, manche Ressourcen deines Servers einzusparen." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "Verringern oder Deaktivieren der Heartbeat-Aktivität" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"Das Verringern der Aktivität wird die Heartbeat-Frequenz von einem Schlag " +"pro Minute auf einen alle 2 Minuten verringern." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"Das Deaktivieren der Heartbeat-Aktivität kann dazu führen, dass Plugins und " +"Themes, die diese API benutzen, nicht mehr funktionieren." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "Nicht beschränken" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "Aktivität verringern" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "Deaktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "Heartbeat kontrollieren" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "Verhalten im Backend" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "Verhalten im Beitragseditor" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "Verhalten im Frontend" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "Erweiterungen aktivieren" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"One-Click Add-ons erweitern den Funktionsumfang ohne weitere Konfiguration. " +"Aktiviere sie einfach, indem du den Schalter auf „An“ umlegst." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket Add-ons erweitern den Funktionsumfang um zusätzliche Features." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integriere dein Cloudflare-Konto mit diesem Add-on." + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"Damit du den Cloudflare-Cache leeren und die optimalen Einstellungen für WP " +"Rocket auswählen kannst, gib hier die folgenden in deinem Cloudflare-Konto " +"hinterlegten Daten ein: E-Mail-Adresse, globaler API-Schlüssel, Domain" + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sPlanst du, Automatic Platform Optimization (APO) einzusetzen?%2$s " +"Aktiviere einfach das offizielle Cloudflare-Plugin und konfiguriere es. WP " +"Rocket wird automatisch für Kompatibilität sorgen." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" +"Du musst diese Einstellung aktivieren, wenn Varnish auf deinem Server aktiv " +"ist." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"Der Varnish-Cache wird automatisch jedes Mal geleert, wenn der Cache von WP " +"Rocket geleert wird, damit er immer aktuell ist.
    %1$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "WebP-Kompatibilität" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "Browserkompatibilität für WebP-Bilder verbessern" + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"Aktiviere diese Option, falls du möchtest, dass WP Rocket WebP-Bilder an " +"kompatible Browser ausliefert. Bitte bedenke, dass WP Rocket keine WebP-" +"Bilder für dich erstellen kann. Dür das Erstellen von WebP-Bildern empfehlen" +" wir %1$sImagify%2$s. %3$sMehr erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Sucuri-Cache leeren, wenn der Cache von WP Rocket geleert wird." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"Gib deinen API-Schlüssel an, um auch den Sucuri-Cache zu leeren, sobald der " +"Cache von WP Rocket geleert wird." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sucuri-Cache mit diesem Add-on synchronisieren." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Cloudflare-Zugangsdaten" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Cloudflare-Einstellungen" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globaler API-Schlüssel:" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "API-Schlüssel finden" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "E-Mail-Adresse des Kontos" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "Entwicklungsmodus" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"Aktiviert vorübergehend den Entwicklungsmodus auf deiner Website. Diese " +"Einstellung wird nach 3 Stunden automatisch deaktiviert. %1$sMehr " +"erfahren%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "Optimale Einstellungen" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "" +"Verbessert deine Cloudflare-Konfiguration automatischen hinsichtlich " +"Geschwindigkeit, Leistungsfähigkeit und Kompatibilität." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "Relatives Protokoll" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"Sollte ausschließlich mit Flexible SSL von Cloudflare genutzt werden. URLs " +"statischer Dateien (CSS, JS, Bilder) werden auf // anstatt http:// oder " +"https:// umgeschrieben." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Sucuri-Zugangsdaten" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"Firewall-API-Schlüssel (für Plugin) muss das Format {32 Zeichen}/{32 " +"Zeichen} aufweisen:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "API-Schlüssel finden" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"Sucuri Add-on: Der API-Schlüssel für die Sucuri-Firewall muss im Format " +"{32 Zeichen}/{32 Zeichen} sein:" + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"Entschuldigung! Das Hinzufügen von /(.*) in Erweiterte Regeln > Nie cachen " +"(URLs) wurde nicht gespeichert, weil es das Caching und die Optimierungen " +"für jede Seite deiner Website deaktiviert." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, Export, Wiederherstellung" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Bildoptimierung" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Komprimiere deine Bilder" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutorials" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Erste Schritte und Einführungsvideos" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Rocket Cache-Ablaufzeit" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE-Wert" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "" +"Die Konstante WP_CACHE muss auf true gesetzt sein, damit der Cache von WP " +"Rocket korrekt funktioniert" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE ist auf true eingestellt" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE ist nicht gesetzt" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE ist auf false eingestellt" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Nächste Rechnungsstellung" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Kein Abonnement" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Dein RocketCDN-Abonnement ist momentan aktiv." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Um RocketCDN zu benutzen, ersetze deinen CNAME mit %1$s%2$s%3$s." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sMehr erfahren%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"Wir konnten den aktuellen Preis nicht abrufen, weil die RocketCDN-API einen " +"unerwarteten Fehlercode zurückgegeben hat." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" +"RocketCDN ist momentan nicht verfügbar. Bitte später erneut versuchen." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" +"RocketCDN Cache leeren fehlgeschlagen: Fehlender Identifier-Parameter." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "RocketCDN Cache leeren fehlgeschlagen: Fehlendes Benutzer-Token." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" +"RocketCDN Cache leeren fehlgeschlagen: Die API gab einen unerwarteten " +"Antwortcode zurück." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" +"RocketCDN Cache leeren fehlgeschlagen: Die API gab eine leere Antwort " +"zurück." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" +"RocketCDN Cache leeren fehlgeschlagen: Die API gab eine unerwartete Antwort " +"zurück." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN Cache leeren fehlgeschlagen: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN-Cache erfolgreich geleert." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php:72 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerEnableRoute.php:302 +msgid "RocketCDN enabled" +msgstr "RocketCDN aktiviert" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php:31 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerDisableRoute.php:147 +msgid "RocketCDN disabled" +msgstr "RocketCDN deaktiviert" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "Nur gültig bis %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Beschleunige deine Website dank:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "" +"Hochleistungs-Content-Delivery-Network (CDN) mit %1$sunbegrenzter " +"Bandbreite%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" +"Einfache Konfiguration: Die %1$sbesten CDN-Einstellungen%2$s werden " +"automatisch angewendet" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"WP-Rocket-Integration: Die CDN-Option ist in unserem Plugin %1$sautomatisch " +"konfiguriert%2$s" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Erfahre mehr über RocketCDN" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*$%1$s/Monat für 12 Monate, danach $%2$s/Monat. Sie können Ihr Abonnement " +"jederzeit kündigen." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Monatliche Abrechnung" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Erste Schritte" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Dieses Banner verkleinern" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" +"Beschleunige deine Website mit RocketCDN, WP Rockets Content Delivery " +"Network." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Mehr erfahren" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN ist nicht für lokale Domains und Staging-Sites verfügbar." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Hol dir RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Neu!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" +"Beschleunige deine Website mit RocketCDN, WP Rockets Content Delivery " +"Network!" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:265 +msgid "Every minute" +msgstr "Jede Minute" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Kritisches CSS neu generieren" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Spezifisches CPCSS erzeugen" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Spezifisches CPCSS neu erzeugen" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" +"Diese Funktion ist für nicht-öffentliche Inhaltstypen nicht verfügbar." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l, um diese Funktion zu nutzen." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "%s veröffentlichen" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Asynchrones Laden von CSS in den WP-Rocket-Einstellungen aktivieren" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Asynchrones Laden von CSS in den Optionen oben aktivieren" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Kritisches CSS für %1$s nicht erstellt. Fehler: %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"Kritisches CSS für %1$s auf Mobilgeräten nicht erzeugt. Fehler: Die API gab " +"eine leere Antwort zurück." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "" +"Kritisches CSS für %1$s nicht erzeugt. Fehler: Die API gab eine leere " +"Antwort zurück." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Kritisches CSS für %1$s auf Mobilgeräten nicht erzeugt." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "Kritisches CSS für %1$s nicht erzeugt." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"Kritisches CSS für %1$s auf Mobilgeräten nicht erzeugt. Fehler: Die API gab " +"einen ungültige Antwortcode zurück." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"Kritisches CSS für %1$s nicht erzeugt. Fehler: Die API gab einen ungültige " +"Antwortcode zurück." + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "Fehler: %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Kritisches CSS wird gerade neu erstellt." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" +"Gehe zu den %1$sEinstellungen von WP Rocket%2$s, um den Fortschritt zu " +"beobachten." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"Kritisches CSS wird gerade neu erstellt: %1$d von %2$d Seiten-Typen " +"komplett. (Seite neu laden für aktuellen Stand)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Kritisches CSS erstellt für %1$d von %2$d Seiten-Typen." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" +"Bei der Erzeugung von Kritischem CSS sind ein oder mehr Fehler aufgetreten." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Mehr erfahren." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"Wir empfehlen dringend das %1$saktualisierte Entfernen von unbenutzem " +"CSS%2$s für eine bessere CSS-Optimierung. CSS-Dateien asynchron laden ist " +"als Ersatz immer verfügbar." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "Bei der alten Option bleiben" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"Kritisches CSS für %1$s auf Mobilgeräten nicht erzeugt. Fehler: Der " +"Zielordner konnte nicht erstellt werden." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"Kritisches CSS für %1$s nicht erzeugt. Fehler: Der Zielordner konnte nicht " +"erstellt werden." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Kritisches-CSS-Datei für Mobilgeräte existiert nicht" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Kritisches-CSS-Datei existiert nicht" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Kritisches-CSS-Datei für Mobilgeräte kann nicht gelöscht werden" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Kritisches-CSS-Datei kann nicht gelöscht werden" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Kritisches-CSS-Datei für Mobilgeräte für %1$s nicht erzeugt." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "Kritisches CSS für %s in Bearbeitung." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "Kritisches-CSS-Datei für Mobilgeräte für %s erzeugt." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "Kritisches CSS für %s erstellt." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Kritisches-CSS-Datei erfolgreich gelöscht." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Kritisches-CSS-Datei für Mobilgeräte für %1$s hat die Zeit überschritten. " +"Bitte ein wenig später erneut versuchen." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Kritisches CSS für %1$s hat die Zeit überschritten. Bitte ein wenig später " +"erneut versuchen." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "CPCSS-Erzeugung für Mobilgeräte nicht aktiviert." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Angeforderter Beitrag existiert nicht." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Kann kein CPCSS für unveröffentlichte Beiträge erzeugen." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Geplantes Leeren des Caches" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Geplante Datenbank-Optimierung" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Datenbank-Optimierungsprozess" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Cache füllen" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Erzeugung des Kritischen-CSS-Pfads" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "Erneuere, bevor es zu spät ist, du bezahlst nur %1$s%2$s%3$s!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"Erneuere mit einen %1$s%2$s Rabatt%3$s, bevor es zu spät ist. Du bezahlst " +"nur %4$s%5$s%6$s!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Erneuere deine Lizenz jetzt für 1 Jahr auf %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"Erneuere deine Lizenz jetzt für 1 Jahr und erhalte sofort %1$s%3$s%2$s " +"Rabatt: Du bezahlst nur %1$s%4$s%2$s!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Jetzt erneuern, bevor es zu spät ist. Du bezahlst nur %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"Erneuere mit einem %1$s%2$s Rabatt%3$s, bevor es zu spät ist, du bezahlst " +"nur %1$s%4$s%3$s!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"Du benötigst eine gültige Lizenz, um diese Funktion weiter benutzen zu " +"können. %1$sJetzt erneuern%2$s, bevor du den Zugang verlierst." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"Du benötigst eine gültige Lizenz, um diese Funktion zu aktivieren. %1$sJetzt" +" erneuern%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"Du benötigst eine gültige Lizenz, um diese Funktion zu aktivieren. " +"%1$sWeitere Informationen%2$s." + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"Nutze den Vorteil von %1$s, um mehrere Websites zu beschleunigen: " +"%2$sErhalte einen%3$s%4$s Rabatt%5$s für %3$sein Upgrade deiner Lizenz auf " +"Plus oder Infinite!%5$s" +msgstr[1] "" +"Nutze den Vorteil von %1$s, um mehrere Websites zu beschleunigen:%2$s " +"Erhalte einen%3$s%4$s Rabatt%5$s für %3$sein Upgrade deiner Lizenz auf " +"Infinite!%5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Unbegrenzt" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "%s Rabatt" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "%s Werbeaktion ist live!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Beeil dich! Das Angebot endet in:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuten" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Sekunden" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Upgrade jetzt durchführen" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "Die Funktion CSS-Darstellung optimieren ist deaktiviert." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"Du kannst Unbenutztes CSS entfernen oder CSS-Dateien asynchron laden nicht " +"länger benutzen." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"Du benötigst eine %1$saktive Lizenz%2$s, um dein CSS weiter optimieren zu " +"können. Dies ist eine Empfehlung von PageSpeed Insights und verbessert die " +"Leistung deiner Seiten." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Jetzt erneuern" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Du wirst bald den Zugang zu einigen Funktionen verlieren" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"Du benötigst eine %1$saktive Lizenz, um dein CSS weiter optimieren zu " +"können%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"Die Funktionen Unbenutztes CSS entfernen und CSS-Dateien asynchron laden " +"sind großartige Optionen, um Empfehlungen von PageSpeed Insights umzusetzen " +"und die Leistung deiner Website zu verbessern." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Sie werden %1$sautomatisch deaktiviert am %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Deine Lizenz für WP Rocket ist abgelaufen!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"Deine Website könnte viel schneller sein, wenn du die Vorteile unserer " +"%1$sneuen Funktionen und Verbesserungen%2$s nutzen würdest. 🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"Deine %1$sWP-Rocket-Lizenz läuft bald ab%2$s: Du verlierst bald den Zugang " +"zu Produktaktualisierungen und Support." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Weitere Websites beschleuigen" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"Du kannst WP Rocket auf mehr Websites benutzen, wenn du ein Upgrade deiner " +"Lizenz durchführst. Um das zu tun, bezahle nur die%1$sPreisdifferenz%2$s " +"zwischen deiner jetzigen und neuen Lizenzen, wie unten zu sehen." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" +"%1$sHinweis%2$s: Ein Upgrade deiner Lizenz ändert das Ablaufdatum nicht" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "$%s speichern" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s Websites" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "Upgrade auf %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"Du kannst WP Rocket auf mehr Websites benutzen, wenn du ein Upgrade deiner " +"Lizenz durchführst (bezahle nur die Preisdifferenz zwischen deiner jetzigen" +" und neuen Lizenzen)-" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:62 +msgid "LazyLoad for images" +msgstr "LazyLoad für Bilder" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:63 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad für iframes und Videos" + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:48 +msgid "LazyLoad CSS backgrounds" +msgstr "LazyLoad für CSS-Hintergründe" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "Analytics und Ads" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "Plugins" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "Themes" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"Du benötigst eine aktive Lizenz, um die neueste Version der Listen von " +"unseren Servern zu erhalten." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:116 +msgid "Could not get updated lists from server." +msgstr "Konnte aktualisierte Listen nicht von Server abrufen." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:125 +msgid "Lists are up to date." +msgstr "Listen sind aktuell." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:134 +msgid "Could not update lists." +msgstr "Konnte Listen nicht aktualisieren." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:143 +msgid "Lists are successfully updated." +msgstr "Listen wurden erfolgreich aktualisiert." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "Standardlisten" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "JavaScript-Ausführung verzögern Exklusions-Listen" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "Liste inkompatibler Plugins" + +#: inc/Engine/Optimization/Minify/AdminSubscriber.php:65 +msgid "Minify/combine JavaScript" +msgstr "JavaScript minifizieren/kombinieren" + +#: inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php:150 +msgid "Minify CSS" +msgstr "CSS minifizieren" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$s: Bitte warte %2$s Sekunden. Der Unbenutztes-CSS-entfernen-Dienst " +"verarbeitet deine Seiten." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: Das benutzte CSS deiner Homepage wurde verarbeitet. WP Rocket wird " +"benutztes CSS erzeugen für bis zu %2$s URLs pro %3$s Sekunde(n)." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" +"Wir empfehlen das Aktivieren von %1$sVorladen%2$s für die schnellsten " +"Ergebnisse." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" +"Um mehr über den Ablauf zu erfahren, lies unsere %1$sDokumentation%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"Wir konnten das benutze CSS nicht erstellen, weil du eine nicht lizenzierte " +"Version von WP Rocket benutzt. Du benötigst eine aktive Lizenz, um die " +"Funktion Unbenutztes CSS entfernen benutzen zu können und die Leistung " +"deiner Website damit noch weiter zu steigern." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" +"Klicke hier, um eine Lizenz für WP Rocket mit %1$s Rabbatt zu erhalten!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"Scheinbar verhindert ein Sicherheitsplugin oder die Firewall des Servers, " +"dass WP Rocket auf den Generator zur Entfernung von unbenutztem CSS " +"zugreifen kann. Die %1$shier in unserer Dokumentation%2$s aufgelisteten IPs " +"sollten zugänglich gemacht werden:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- Im Sicherheitsplugin, falls du eines benutzt" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "- In der Firewall des Servers. Dein Hoster kann dir dabei helfen" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: Die Datenbanktabelle %2$s konnte nicht erstellt werden, welche " +"notwendig ist für die Funktion zum Entfernen von unbenutztem CSS. Bitte " +"wende dich an %3$sunseren Support%4$s." + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:286 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: Option für benutztes CSS ist nicht aktiv!" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:308 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Cache für benutztes CSS geleert!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "Benutztes CSS für diese URL leeren" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "WP-Rocket-Unbenutztes-CSS-entfernen ausstehende Jobs" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "WP Rocket - fehlgeschlagene Jobs für Unbenutztes CSS entfernen leeren" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s: Der Dienst zum Vorladen ist jetzt aktiv. Nach dem ersten Vorladen wird" +" er all deine Seiten cachen, sobald sie bereinigt werden. Es ist keine " +"weitere Aktion erforderlich." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "WP-Rocket-Vorladen ausstehende Jobs" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "WP-Rocket-Vorladen setzt steckengebliebene Jobs zurück" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"Bei der Überprüfung deiner Lizenz scheint es ein Problem zu geben. Bitte " +"schau die die Fehlermeldung unten an." +msgstr[1] "" +"Bei der Überprüfung deiner Lizenz scheint es ein Problem zu geben. Bitte " +"schau die die Fehlermeldungen unten an." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Server-Typ:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP-Versionsnummer:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress Versionsnummer:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Aktives Theme:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Aktive Sprache:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktive Plugins:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Plugin-Namen aller aktiven Plugins" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonymisierte Einstellungen von WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Alle aktiven Einstellungen in WP Rocket" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Die angegebenen Lizenzdaten sind nicht gültig." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Bitte %1$skontaktiere den Support%2$s für eine Lösung." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"Überprüfung der Lizenz fehlgeschlagen. Unser Server konnte die Anfrage von " +"deiner Website nicht verarbeiten." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Versuche, %1$sLizenz prüfen%2$s unten anzuklicken. Falls der Fehler weiter " +"besteht, folge %3$sdieser Anleitung%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"Überprüfung der Lizenz fehlgeschlagen. Du benutzt möglicherweise eine " +"„nulled“ Version des Plugins. Bitte tue folgendes:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Melde dich auf deinem WP-Rocket-%1$sKonto%2$s an" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "zip-Datei herunterladen" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Neu installieren" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" +"Falls du noch kein WP-Rocket-Konto hast, %1$skaufe bitte eine Lizenz%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"Überprüfung der Lizenz fehlgeschlagen. Dieses Benutzerkonto existiert nicht " +"in unserer Datenbank." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Bitte kontaktiere den Support für eine Lösung." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Lizenzprüfung fehlgeschlagen. Dieses Benutzerkonto ist gesperrt." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Lies bitte %1$sdiese Anleitung%2$s für weitere Informationen." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Versuche %1$sÄnderungen speichern%2$s unten anzuklicken. Falls der Fehler " +"weiter besteht, folge %3$sdieser Anleitung%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Deine Lizenz ist nicht gültig." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Stelle sicher, dass du eine aktive %1$sWP-Rocket-Lizenz%2$s hast." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" +"Du hast so viele aktive Websites hinzugefügt, wie es deine Lizenz erlaubt." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"Führe ein Upgrade für dein %1$sKonto%2$s durch oder %3$sübertrage deine " +"Lizenz%2$s zu dieser Domain." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Diese Domain ist nicht erlaubt." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "%1$sKontaktiere bitte den Support%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Dieser Lizenzschlüssel wird nicht erkannt." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" +"Falls das Problem weiter besteht, %1$skontaktiere bitte den Support%2$s." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "Prüfung der Lizenz fehlgeschlagen: %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "Es existiert keine Protokolldatei." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "Die Protokolldatei konnte nicht gelesen werden." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Das Protokoll wurde nicht in eine Datei gespeichert." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"Varnish-Auto-Leeren wird automatisch aktiviert, sobald Varnish auf deinem %s" +" Server aktiviert ist." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"In deiner Installation fehlen scheinbar Kinsta-Core-Dateien für das Löschen " +"des Caches. Dies verhindert das reibungslose Zusammenspiel zwischen Kinsta " +"und WP Rocket. Kontaktiere bitte den Support bei Kinsta über dein " +"%1$sMyKinsta%2$s-Konto, um dieses Problem zu lösen." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:127 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s: HTTP/2 Server Push von Cloudflare ist mit den Funktionen zum Entfernen" +" unbenötigten CSS und dem Zusammenfassen von CSS-Dateien nicht kompatibel. " +"Wir empfehlen dringend, es zu deaktivieren." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:170 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"Deine Website benutzt das offizielle Cloudflare-Plugin. Wir haben das " +"automatische Leeren für Cloudflare aus Kompatibilitätsgründen aktiviert. " +"Wenn du APO aktiviert hast, ist es auch kompatibel." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:171 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"Der Cloudflare-Cache wird jedes Mal geleert, wenn WP Rocket seinen Cache " +"leert, damit Inhalte immer auf dem neuesten Stand sind." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:215 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sWP Rocket:%2$s Du nutzt den „Dynamischen Cookie-Cache\". Cloudflare-APO " +"ist derzeit nicht mit dieser Funktion kompatibel." + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:221 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"Du solltest Cloudflare-APO entweder deaktivieren oder dich beim Anbieter des" +" Themes/Plugins, das „Dynamischen Cookie-Cache“ erfordert nach alternativen " +"Methoden erkundigen, das Caching von Seiten zu ermöglichen. %1$sMehr " +"erfahren%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:272 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket:%2$s Du benutzt die Funktion „Separater Cache für mobile " +"Geräte“. Damit die richtige Version des Caches ausgeliefert wird, musst du " +"die %3$sEinstellung%5$s „Cache nach Gerätetyp“ bei der Cloudflare-APO " +"aktivieren. %4$sMehr erfahren%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:293 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket:%2$s Du hast „Cache nach Gerätetyp“ bei der Cloudflare-APO " +"aktiviert. Falls du es für die Website für notwendig hältst, verschiedene " +"Caches für Mobilgeräte und Desktop zu haben, schlagen wir vor, „Separater " +"Cache für mobile Geräte“ zu aktivieren, um sicherzustellen, dass der Cache " +"korrekt erzeugt wird." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: Mod PageSpeed ist mit diesem Plugin nicht kompatibel " +"und könnte unerwartete Ergebnisse verursachen. %2$sMehr erfahren%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket:%2$s Wir haben festgestellt, dass die Autoptimize-Funktion zum" +" Zusammenführen von JavaScript aktiviert ist. WP Rocket's verzögerte " +"Javascript-Ausführung wird nicht auf die erstellte Datei angewendet. Wir " +"empfehlen, o.g. %1$sJavaScript-Zusammenführung%2$s zu deaktivieren, um alle " +"Vorteile der verzögerten JavaScript-Ausführung zu erhalten." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket:%2$s Wir haben festgestellt, dass die Autoptimize-Funktion zum" +" Zusammenführen von Inline-CSS aktiviert ist. Das asynchrone Laden durch WP-" +"Rocket wird nicht korrekt funktionieren. Wir empfehlen, o.g. " +"%1$sZusammenführung von Inline-CSS%2$s zu deaktivieren, um alle Vorteile der" +" asynchronen CSS-Ausführung durch WP Rocket voll auszuschöpfen." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"Dieses Plugin blockiert das Caching und die Optimierungen von WP Rocket. " +"Deaktivieren Sie es und verwenden Sie stattdessen die %1$sNameserver-" +"Integration von Ezoic%2$s." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "" +"Bitte deaktiviere die folgende %s Option, die mit Funktionen von WP Rocket " +"kollidert:" +msgstr[1] "" +"Bitte deaktiviere die folgenden %s Optionen, die mit Funktionen von WP " +"Rocket kollideren:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"%1$s %2$sdisable emoji%3$s kollidiert mit WP Rockets %2$sdisable emoji%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"%1$s %2$sGZIP-Komprimierung%3$s kollidiert mit WP Rocket %2$sGZIP-" +"Komprimierung%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"%1$s %2$sBrowser-Caching%3$s kollidiert mit WP Rocket %2$sBrowser-" +"Caching%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" +"%1$s %2$sSeiten-Caching%3$s kollidiert mit WP Rocket %2$sSeiten-Caching%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"%1$s %2$sasset optimization%3$s kollidiert mir WP Rockets %2$sDatei-" +"Optimierung%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"Unbenutztes-CSS-entfernen ist derzeit in Perfmatters aktiv. Falls du die " +"Funktion Unbenutztes-CSS-entfernen von WP Rocket benutzen willst, " +"deaktiviere diese Option in Perfmatters." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"Automatisiertes Entfernen von unbenutzem CSS ist derzeit in RapidLoad Power-" +"Up for Autoptimize aktiviert. Falls du die Funktion Unbenutztes-CSS-" +"entfernen von WP Rocket benutzen willst, deaktiviere das Plugin RapidLoad " +"Power-Up for Autoptimize." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"JS verzögern ist momentan in %1$s aktiviert. Wenn du das Verzögern von JS " +"von WP Rocket benutzen willst, deaktiviere %1$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"Dein Dici-Template wurde aktualisiert. Leere das benutze CSS, falls das " +"Layout, Design oder CSS-Stile geändert wurden." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "CSS-Dateien für Mobilgeräte asynchron laden" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"Deine Website benutzt momentan denselben Kritischen CSS Pfad für Desktop und" +" Mobilgeräte." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" +"Klicke den Button, um spezifisches CPCSS für Mobilgeräte für deine Website " +"zu aktivieren." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "" +"Dies ist eine einmalige Aktion und dieser Button wird danach entfernt. " +"%1$sMehr erfahren%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"Deine Website benutzt jetzt einen mobilgerätespezifischen Kritischen CSS " +"Pfad. %1$sMehr erfahren%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Spezifisches CPCSS für Mobilgeräte erzeugen" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Kritischer-CSS-Pfad" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" +"Spezifischen Kritischen-CSS-Pfad für diesen Beitrag erzeugen. %1$sMehr " +"erfahren%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" +"Dieser Beitrag benutzt einen spezifischen Kritischen-CSS-Pfad. %1$sMehr " +"erfahren%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Zum Standard-CPCSS zurückkehren" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Du hast ein Problem?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"Es ist nicht immer notwendig, WP Rocket zu deaktivieren, wenn es Probleme " +"gibt. Die meisten Probleme können behoben werden, indem nur einige Optionen " +"deaktiviert werden." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"Unser Rat? Anstelle WP Rocket zu deaktivieren, benutze unseren " +"%1$sAbgesicherten Modus%2$s, um LazyLoad, Datei-Optimierung und CDN-Optionen" +" schnell zu deaktivieren. Prüfe dann, ob dein Problem behoben ist." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" +"Möchtest du unseren abgesicherten Modus benutzen, um Probleme mit WP Rocket " +"zu untersuchen?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Ja, „%1$sAbgesicherten Modus%2$s“ starten" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"und exportiere die Einstellungen von WP-Rocket %1$s(Empfohlen, weil aktuelle" +" Einstellungen gelöscht werden)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Nein, diese Meldung deaktivieren und abstellen für" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 Tag" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 Tage" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 Tage" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "immer" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Abbrechen" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Bestätigen" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +" %1$sWP Rocket %2$s%3$s ist verfügbar. %4$sMehr erfahren%5$s über die " +"Updates und Verbesserungen dieser Hauptversion. Du benötigst eine aktive " +"Lizenz, um sie auf deiner Website einsetzen zu können, verpass es nicht! " +"%6$sJetzt erneuern%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Inklusions- und Exklusions-Listen aktualisieren" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"Kompatibilitätslisten werden einmal pro Woche heruntergeladen. Klicke den " +"Button, falls du sie manuell aktualisieren willst. %1$sMehr " +"Informationen%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Listen aktualisieren" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Google-Font-Optimierung aktivieren" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"Verbessert die Leistung von Fonts und kombiniert mehrere Font-Anfragen, um " +"die Anzahl von HTTP-Anfragen zu verringern." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"Google-Fonts werden jetzt auf deiner Website optimiert. %1$sMehr " +"erfahren%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Google Fonts optimieren" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Cache leeren nach" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS und JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Einstellungen importieren" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Add-on Status" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Einstellungen bearbeiten" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Leert von RocketCDN gecachte Ressourcen für deine Website. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Mehr erfahren" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Alle RocketCDN Cache-Dateien löschen" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Cache" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "Löscht alle von Cloudflare gecachten Dateien deiner Website. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Cloudflare Cache leeren" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Glückwunsch!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket wurde aktiviert und arbeitet bereits für dich." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Deine Website sollte jetzt schneller laden!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"Um schnelle Websites zu garantieren, wendet WP Rocket automatisch 80% der " +"bewährten Methoden für Web-Performance an." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"Wir aktivieren auch Optionen, die sofortige Vorteile für deine Website " +"bringen." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Für weitere Optimierung kannst du deine Einstellungen bearbeiten!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Mein Konto" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Anzeige aktualisieren" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "mit" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Ablaufdatum" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Mein Konto anzeigen" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Nützliche Links" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Alle Cache-Dateien entfernen" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Kritisches CSS neu generieren" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Cache für benutztes CSS entfernen" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Häufig gestellte Fragen" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Noch keine Lösung gefunden?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" +"Sende eine Support-Anfrage und lass dir von unseren freundlichen und " +"kompetenten Rocketeers helfen." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Support fragen" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Sichere deine Datenbank, bevor du eine Bereinigung laufen lässt!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "Eine Datenbank-Optimierung kann nicht rückgängig gemacht werden." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Änderungen speichern und optimieren" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"%1$sWP ROCKET%2$s erstellte %3$sIMAGIFY%4$s %1$sfür die klassenbeste " +"Bildoptimierung.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"Komprimiere Bilder, um deine Website schneller zu machen, unter Beibehaltung" +" der Bildqualität." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Mehr über Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify-Plugin-Seite" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify Website" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Überblick über Plugins zur Bildkomprimierung" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Imagify installieren" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket konnte deine Lizenz nicht automatisch überprüfen." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" +"Folge diesem %1$s oder kontaktiere %2$s, um die Maschine zum Laufen zu " +"bringen." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$sTutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://de.docs.wp-rocket.me/article/534-probleme-mit-lizenz-validierung-" +"beheben/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$sSupport%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Alle Sucuri-Cache-Dateien leeren" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Dateigröße: %1$s. Anzahl Einträge: %2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDie Datei herunterladen%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sDie Datei löschen%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Einstellungen exportieren" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Einstellungen herunterladen" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Einstellungen herunterladen" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Wiederherstellung" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "Hat Version %s ein Problem auf deiner Website verursacht?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"Du kannst hier auf die vorherige Version zurückwechseln.%sSende uns dann " +"eine Supportanfrage." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr " Version %s wiederherstellen" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Fehlerbehebungsmodus" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Eine Fehlerbehebungs-Protokolldatei erstellen." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Erste Schritte" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Erste Schritte mit WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "So findest du die besten Einstellungen für deine Website" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "So prüfst du, ob WP Rocket deine Website cacht." + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "So misst du die Geschwindigkeit deiner Website" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "So funktioniert das Vorladen" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Core Web Vitals meistern" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Wie man LCP mit WP Rocket verbessert" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Wie man FID mit WP Rocket verbessert" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Wie man CLS mit WP Rocket verbessert" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Fehlersuche" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "So behebst du Anzeigeprobleme bei Dateioptimierung" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "So findest du das richtige auszunehmende JavaScript" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "So verlangsamen externe Inhalte deine Website" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Cloudflare Add-on einrichten" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket Einstellungen" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "Version %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Seitenleiste einblenden" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"Unten findest du eine detaillierte Aufstellung aller Daten, die WP Rocket " +"erhebt, %1$swenn du zustimmst.%2$s" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"WP Rocket wird niemals Domain-Namen, E-Mail-Adressen (außer zur " +"Lizenzprüfung), IP-Adressen oder API-Schlüssel von Drittanbietern " +"übermitteln." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Rocket Analytics aktivieren" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Ein guter Ausgangspunkt, um die häufigsten Probleme zu lösen." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Lies die Dokumentation" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Was WP Rocket standardmäßig für dich tut" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Ladezeiten deiner Website korrekt messen" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" +"Schau dir unser Tutorial an und lerne, wie du die Geschwindigkeit deiner " +"Website messen kannst." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Lies unsere Anleitung" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Mehr über optimale WP-Rocket-Einstellungen für Mobilgeräte erfahren." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Google Core Web Vitals für WordPress testen und verbessern." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Mehr erfahren" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Personalisierter Cache ist nicht aktiviert." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"Nutze ein privates Browser-Fenster, um die Geschwindigkeit und das visuelle " +"Erscheinungsbild deiner Website zu prüfen." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Brauchst du Hilfe?" diff --git a/languages/rocket-el.mo b/languages/rocket-el.mo new file mode 100644 index 0000000..dd1f39c Binary files /dev/null and b/languages/rocket-el.mo differ diff --git a/languages/rocket-el.po b/languages/rocket-el.po new file mode 100644 index 0000000..2050dd8 --- /dev/null +++ b/languages/rocket-el.po @@ -0,0 +1,3560 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Vasilis Manthos , 2019\n" +"Language-Team: Greek (https://www.transifex.com/wp-media/teams/18133/el/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Το site σας φιλοξενείται στο %s. Έχουμε ενεργοποιήσει τον αυτόματο καθαρισμό του Varnish για λόγους συμβατότητας." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Sitemaps" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Προφόρτωση του sitemap από το Jetpack plugin" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Αναγνωρίσαμε αυτόματα το sitemap που δημιουργήθηκε από το plugin %s. Μπορείτε να ενεργοποιήσετε αυτή την επιλογή, για να γίνει προφόρτωσή του." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML sitemap" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML sitemap" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Τεχνική Υποστήριξη" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Εγχειρίδια Χρήσης" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Συχνές Ερωτήσεις" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Ρυθμίσεις" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Εκκαθάριση της cache" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Επιστροφή σε προηγούμενη έκδοση" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Η εισαγωγή των ρυθμίσεων απέτυχε: δεν έχετε την άδεια γι' αυτή την ενέργεια." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Η εισαγωγή των ρυθμίσεων απέτυχε: δεν ανεβάσατε κάποιο αρχείο." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Η εισαγωγή των ρυθμίσεων απέτυχε: λάθος όνομα αρχείου." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Η εισαγωγή των ρυθμίσεων απέτυχε: λάθος τύπος αρχείου." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Η εισαγωγή και αποθήκευση των ρυθμίσεων ολοκληρώθηκε." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Σφάλμα Cloudflare develoment mode: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare development mode %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Σφάλμα Cloudflare cache level: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Το επίπεδο cache του Cloudflare έχει οριστεί σε %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr " Cloudflare σφάλμα ελαχιστοποίησης: 1%s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Ελαχιστοποίηση από το Cloudflare 1%s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Σφάλμα Cloudflare rocket loader: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Σφάλμα cache περιηγητή από Cloudflare: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Εκκαθάριση cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Απενεργοποίηση caching σε αυτήν τη σελίδα" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Ενεργοποίησε τις επιλογές γι' αυτό το άρθρο:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad για εικόνες" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad για iframes/videos" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Ελαχιστοποίηση/συνδυασμός CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Ελαχιστοποίηση/συνδυασμός JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Ενεργοποίησε πρώτα την 1%s επιλογή." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s δεν έχει απενεργοποιηθεί λόγω απουσίας άδειας εγγραφής του αρχείου.
    \n" +"Αλλάξτε την άδεια του αρχείου %2$s σε εγγράψιμη και προσπαθήστε ξανά ή επιβάλλετε την απενεργοποίηση τώρα:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Απενεργοποίησε" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Θα επιτρέψετε στο WP Rocket να συλλέξει μη ευαίσθητα διαγνωστικά δεδομένα από αυτόν τον ιστότοπο;" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Αυτό θα μας βοηθήσει να βελτιώσουμε το WP Rocket για εσάς στο μέλλον." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Τι πληροφορίες συλλέγουμε;" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Παρακάτω δίνεται μια λεπτομερής απεικόνιση όλων των δεδομένων που θα συγκεντρώσει το WP Rocket, εάν χορηγηθεί άδεια. Το WP Rocket δεν θα μεταδόσει ποτέ ονόματα τομέα ή διευθύνσεις ηλεκτρονικού ταχυδρομείου (εκτός από την επικύρωση άδειας), διευθύνσεις IP ή κλειδιά API τρίτου μέρους." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Ναι, επιτρέπω" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Όχι, ευχαριστώ" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Ευχαριστούμε!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "Το WP Rocket συλλέγει αυτά τα στοιχεία από το site σου:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Έγινε εκκαθάριση της cache." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Έγινε εκκαθάριστη της cache του άρθρου." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Έγινε εκκαθάριση της cache των όρων ταξινομίας" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Έγινε εκκαθάριση της cache χρήστη." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Αναγκαστική απενεργοποίηση" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Μη διαθέσιμο" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Άδεια Χρήσης" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Κλειδί API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Διεύθυνση Email" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr " Πίνακας Ελέγχου" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Βοήθεια, πληροφορίες λογαριασμού" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Η Κατάστασή μου" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Αναλυτικά Στοιχεία Rocket" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Συμφωνώ να μοιραστώ ανώνυμα δεδομένα με την ομάδα ανάπτυξης για να βοηθήσω στη βελτίωση του WP Rocket. %1$s Τι πληροφορίες θα συλλέξουμε; %2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Βασικές επιλογές cache" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache για κινητά" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Επιταχύνετε τον ιστότοπό σας για επισκέπτες από κινητά." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Εντοπίσαμε τη χρήση ενός plugin που απαιτεί ξεχωριστή μνήμη cache για κινητά και ενεργοποίησαμε αυτόματα αυτήν την επιλογή για συμβατότητα." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache Χρήστη" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sΗ cache χρηστών%2$s είναι σημαντική, όταν έχετε συγκεκριμένο περιεχόμενο ανά χρήστη ή περιορισμό πρόσβασης σε περιεχόμενο στον ιστότοπό σας." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Διάρκεια ζωής της Cache" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Ενεργοποίησε το Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Εγκατέστησε δωρεάν το Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Επιταχύνετε τον ιστότοπό σας και ενισχύστε το SEO μειώνοντας τα μεγέθη αρχείων εικόνας χωρίς να χάσετε την ποιότητα, με το Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Περισσότερες λεπτομέρειες" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-es_ES.mo b/languages/rocket-es_ES.mo new file mode 100644 index 0000000..5cde021 Binary files /dev/null and b/languages/rocket-es_ES.mo differ diff --git a/languages/rocket-es_ES.po b/languages/rocket-es_ES.po new file mode 100644 index 0000000..fe184a8 --- /dev/null +++ b/languages/rocket-es_ES.po @@ -0,0 +1,3560 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: wpmedia , 2020\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/wp-media/teams/18133/es_ES/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-08-17 15:20-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: es_ES\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Tu sitio está hospedado en %s, y para garantizar la compatibilidad hemos habilitado la opción para la purga automática de la caché Varnish." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Mapas del sitio XML de Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Precargar el mapa del sitio del plugin Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Hemos detectado automáticamente el mapa del sitio generado por el plugin %s. Puedes marcar la opción para precargarlo." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Mapa del sitio XML de All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Mapa del sitio XML de Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Mapa del sitio XML de SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Mapa del sitio XML de The SEO Framework" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Mapa del sitio XML de Yoast SEO" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Email de Cloudflare o clave de API incorrectos." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lee %1$sesta documentación%2$s para más información." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Zona ID de Cloudflare incorrecta." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "El email de la cuenta de Cloudflare y/o la clave de API no están establecidas. Lee %1$sdocumentación%2$s para más instrucciones." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Zona ID de Cloudfare faltante." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Parece que tu dominio no está configurado en Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket:1%s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket:caché de Cloudflare limpiada con éxito." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket:" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Error del modo desarrollo de Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Modo desarrollo de Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Error del nivel de caché de Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "El nivel de caché de Cloudflare se ha ajustado a %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Error de minificación de Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Minificación de Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Error del Rocket Loader de Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Rocket Loader de Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Error de la caché del navegador de Cloudflare: %s" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "semanal" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Guardar cambios" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Validar licencia." + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "No disponible" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licencia" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Clave de API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Dirección de correo electrónico" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Escritorio" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Ayuda e info de la cuenta" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Mi estado" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Analíticas de Rocket" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Estoy de acuerdo en compartir datos anónimos con el equipo de desarrollo para ayudar a mejorar WP Rocket. %1$s¿Qué info recopilamos?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Caché" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Opciones básicas de la caché" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Caché móvil" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Acelera tu sitio web para los visitantes desde móvil." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Hemos detectado que estás usando un plugin que requiere una caché distinta para los dispositivos móviles: para garantizar la compatibilidad, hemos activado automáticamente esta opción." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Caché de usuario" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "La %1$scaché usuario%2$s es muy útil cuando tu sitio incluye contenido destinado exclusivamente a los usuarios registrados." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Vida útil de la caché" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Los archivos de caché más viejos que la vida útil especificada serán borrados.
    Habilita la %1$sprecarga%2$s para que la caché sea regenerada automáticamente después de su expiración." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Habilitar la caché para los usuarios conectados a WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Habilitar la caché para dispositivos móviles" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Guardar separadamente los archivos para dispositivos móviles" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "La mayoría de los temas modernos son responsivos y deberían funcionar sin una caché separada. Habilita esto sólo si tienes un tema o un plugin dedicado para móviles. %1$s Más información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Especifica el tiempo tras del cual quieres borrar la caché global
    (0 = ilimitado)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Aconsejamos reducir la vida útil de la caché a 10 horas o menos, si se verifican problemas con más frecuencia. %1$s¿Por qué?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minutos" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Horas" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Días" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimizar archivos" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimizar CSS&JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Archivos CSS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "Actualmente la minificación %1$s está activada a través de Autoptimize. Si quieres usar la minificación de %2$s, desmarca esas opciones en Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Archivos JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minificar archivos CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Minificar el CSS elimina los espacios blancos y los comentarios para reducir el tamaño de archivo." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "¡Esto podría romper unas funcionalidades!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Si notas cualquier error en tu sitio web después de la activación de esta opción, desactívala: todo volverá a su estado normal." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Activar minificación CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Combinar archivos CSS (es necesario activar antes la minificación CSS)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Combinar el CSS junta todos los archivos en uno solo, reduciendo las peticiones HTTP. No lo recomendamos si tu sitio web usa HTTP/2. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Activar combinación CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Excluir los archivos CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Especificar los URLs de los archivos CSS que quieres excluir de la minificación y concatenación (uno por línea)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Archivos internos:la parte del URL relativa al dominio se eliminará automáticamente. Usa los caracteres comodines (.*).css para excluir todos los archivos JS de una ruta específica." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Archivos de terceros:Utiliza la ruta del URL completa o solo el nombre de dominio, para excluir el CSS externo. %1$sMás información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimizar la entrega del CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Ruta crítica CSS alternativa" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Proporciona una ruta alternativa si la ruta crítica del CSS que se ha auto-generado no está completa. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minificar archivos JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minificar el JavaScript elimina los espacios blancos y los comentarios para reducir el tamaño de archivo." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Activar minificación JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Combinar los archivos JavaScript (es necesario activar antes la minificación JS)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Esta opción combina los archivos JavaScript internos, los de terceras partes y el JS integrado, reduciendo las peticiones HTTPS. No la recomendamos si tu sitio usa HTTP/2. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Activar combinación JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "El JavaScript integrado está excluído" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Especificar patrones de JavaScript integrado que quieres excluir de la concatenación (uno por línea). %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Excluir archivos JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Especificar los URLs de archivos JavaScript que quieres excluir de la minificación y de la concatenación (uno por línea)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Archivos internos:la parte del URL relativa al dominio se eliminará automáticamente. Usa los caracteres comodines para excluir todos los archivos JS de una ruta específica." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Externos:Para excluir los JS externos, usa la ruta URL completa o solo el nombre de dominio. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Cargar archivos JavaScript de manera diferida" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Cargar el JavaScript de manera diferida elimina el JS que bloquea la visualización en tu sitio web y puede mejorar el tiempo de carga. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Retrasar la ejecución de JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Mejora el rendimiento retrasando la carga de los archivos JavaScript hasta la interacción con el usuario (por ejemplo, desplazamiento, clic). %1$sMás información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Medios" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Puede mejorar ya sea el tiempo de carga real como el tiempo percibido, ya que imágenes, iframes y videos se cargarán al entrar (o cuando están por entrar) en la ventana gráfica. Esto reduce también el número de peticiones HTTP. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad está actualmente activada en %2$s. Si deseas usar la característica LazyLoad de WP Rocket, desactiva esta opción en %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Habilita esta opción si deseas que WP Rocket sirva imágenes WebP a navegadores compatibles. Ten en cuenta que WP Rocket no puede crear imágenes WebP por ti. Para crear imágenes WebP recomendamos %1$sImagify%2$s.%3$s Más información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Habilitar para las imágenes" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad para imágenes está actualmente activada en %2$s. Si deseas usar la opción LazyLoad de %1$s, desactiva esta opción en %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Habilitar para iframes y vídeos" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Remplaza el iframe de YouTube con una imagen en vista previa" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Esto puede mejorar considerablemente tu tiempo de carga si tienes muchos vídeo en una página." + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Sustituir el iframe de YouTube por una imagen de previsualización no es compatible con %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Precargar" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Generar archivos de caché, precargar fonts" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Precargar Caché" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Precarga de peticiones DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "La precarga de los DNS favorece una carga más rápida de los archivos externos, especialmente en las redes móviles" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Precargar Fonts" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Mejora el rendimiento al ayudar a los navegadores a encontrar fonts en archivos CSS. %1$sMás información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Precargar Enlaces" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "La precarga de enlaces mejora el tiempo de carga percibido al descargar una página cuando el usuario pasa el puntero del ratón por encima del enlace. %1$sMás información%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activar la precarga" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URLs para precargar" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Especificar los servidores externos que quieres precargar (sin http:, uno por línea)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Fonts a precargar" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Especificar las direcciones URL de los archivos de fuentes que se van a precargar (una por línea). Las fuentes deben estar alojadas en su propio dominio o en el dominio que haya especificado en la pestaña CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "La parte del dominio de la URL será removida automáticamente.
    Extensiones de font permitidas: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Habilitar la precarga de enlaces" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Reglas avanzadas" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Ajusta las reglas de caché" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Las páginas confidenciales como los URLs de inicio/cerrar sesión deberían ser excluidas de la caché." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Las páginas del carrito, pago y ”mi cuenta” establecidas por %1$s%2$s%3$s serán detectadas automáticamente y excluidas de la caché." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nunca poner en caché estos URLs" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nunca poner en caché estas Cookies" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Nunca poner en caché estos agentes de usuario" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Purgar siempre estos URLs" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Poner en caché estos query strings" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "La %1$scaché para los query strings%2$s te permite forzar la creación de una caché para uno parámetros GET específicos." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Especificar los URLs de las páginas o de las entradas que no deberían ser copiadas en la caché (uno por línea)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "La porción de URL que contiene el dominio será eliminada automáticamente.
    Puedes usar los caracteres comodines (.*) para gestionar todos los URLs que se encuentran bajo una ruta específica." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Especificar los agentes de usuario que nunca deberían acceder a las páginas en caché (una cadena por línea)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Usar los caracteres comodines (.*) para identificar partes del nombre del agente de usuario." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Especificar los URLs que quieres purgar de la caché cada vez que actualices una entrada o una página (un URL por línea)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Especificar los query strings que quieres poner en caché (uno por línea):" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Base de datos" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimiza, reduce lo sobrante" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Limpieza de Entradas" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Las revisiones de entradas y los borradores se eliminarán permanentemente. No usar esta opción si necesitas guardar las revisiones o los borradores." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Limpieza de Comentarios" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Los comentarios spam y los descartados se eliminarán permanentemente." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Limpieza de Transients" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Los transients son opciones temporales; puedes eliminarlas sin problemas. Se volverán a regenerar en cuanto tus plugins las necesiten." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Limpieza de la Base de Datos" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Reduce el residuo a depurar de la tablas de la base de datos" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisiones" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s revisión en tu base de datos." +msgstr[1] "%s revisiones en tu base de datos." + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Borradores automáticos" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s borrador en tu base de datos." +msgstr[1] "%s borradores en tu base de datos." + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Entradas descartadas" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%sentradas descartadas en tu base de datos." +msgstr[1] "%s entradas descartadas en tu base de datos." + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Comentarios spam" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s comentario spam en tu base de datos." +msgstr[1] "%s comentarios spam en tu base de datos." + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Comentarios descartados" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s comentario descartado en tu base de datos." +msgstr[1] "%s comentarios descartados en tu base de datos." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Todos los transients" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s dato transitorio en tu base de datos" +msgstr[1] "%s datos transitorios en tu base de datos." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimizar Tablas" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tabla para optimizar en tu base de datos." +msgstr[1] "%s tablas para optimizar en tu base de datos." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Programar Limpieza Automática" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frecuencia" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Diaria" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Semanal" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensual" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integrar tu CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Todos los URLs de los archivos estáticos (CSS, JS, imágenes) serán reescritos por el CNAME(s) que indicarás." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "No es necesario para servicios como Cloudflare y Sucuri. Verifica los %1$sAdd-ons%2$s disponibles." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Excluir archivos del CDN" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Habilitar el Content Delivery Network" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(S) del CDN" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Especificar el CNAME(s) aquí abajo" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Especificar los URLs de los archivos que no tienen que servirse a través del CDN (uno por línea)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "La porción de URL que contiene el dominio será eliminada automáticamente.
    Puedes usar los caracteres comodines (.*) para excluir todos los archivos que se encuentran bajo una ruta específica." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Controla el API Heartbeat de WordPress" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Reducir o desactivar la actividad de la API Heartbeat puede ayudarte a ahorrar unos recursos de tu servidor." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Reduce o desactiva la actividad de Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Reducir la actividad cambiará la frecuencia de Heartbeat de una visita por minuto a una visita cada 2 minutos." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Desactivar completamente el Heartbeat puede comprometer funcionalidades de los temas y plugins que usan esta API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "No limitar" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Reducir actividad" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Desactivar" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Controlar Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Comportamiento en backend" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Comportamiento en el editor de entradas" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Comportamiento en frontend" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Add-on" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Añadir más opciones" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Los One-Click Add-ons son complementos extra que se añaden a las opciones ya disponibles. No es necesaria ninguna configuración. Cambia la opción a ”on” para activarla desde aquí." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket Add-on" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Los Rocket Add-on son complementos extra que se añaden a las opciones ya disponibles." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Este complemento sirve para integrar tu cuenta de Cloudflare." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Proporciona tu dirección de correo electrónico, la clave de API global y el dominio: así aprovecharás de opciones como borrar la caché de Cloudflare y activar los ajustes óptimos para trabajar con WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Si tu servidor usa Varnish tienes que activar este complemento." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "La caché Varnish se borrará al mismo tiempo que la caché WP Rocket para asegurar que el contenido esté siempre al día.
    %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Borra la caché de Sucuri al mismo tiempo que la caché de WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Ingresa tu clave API para borrar la caché de Sucuri al mismo tiempo que la caché de WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sincronizar la caché de Sucuri con este complemento." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Credenciales de Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Ajustes de Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Clave de API global:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Encuentra tu clave de API" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Dirección de correo electrónico" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID de zona" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Modo de desarrollo" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Activa temporalmente el modo desarrollador en tu sitio web. Esta opción se desmarcará automáticamente pasadas 3 horas. %1$sMás info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Ajustes óptimos" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Mejora automáticamente tu configuración de Cloudflare para aumentar la velocidad, la nota de rendimiento y la compatibilidad." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Protocolo relativo" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Debería ser usado exclusivamente a lado de la opción Flexible SSL de Cloudflare. Los URLs de los archivos estáticos (CSS, JS, imágenes) serán reescritos usando // en vez de http:// o https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Credenciales de acceso a Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Encuentra tu clave de API" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Cargar archivo e importar ajustes" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Add-on Sucuri: la clave API del cortafuego Sucuri tiene que ser en formato {32 caracteres}/{32 caracteres}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Ajustes guardados." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Herramientas" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importar, Exportar, Rollback" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimización de imágenes" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Comprimir tus imágenes" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriales" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Videos introductorios y de primeros pasos" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "La limpieza de la caché de RocketCDN ha fallado: falta el parámetro de identificación." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "La limpieza de la caché de RocketCDN ha fallado: falta el token de usuario." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "La limpieza de la caché de RocketCDN ha fallado: el API ha retornado un código de respuesta inesperado." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "La limpieza de la caché de RocketCDN ha fallado: el API ha retornado una respuesta vacía. " + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "La limpieza de la caché de RocketCDN ha fallado: el API ha retornado una respuesta inesperada." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "La limpieza de la caché de RocketCDN ha fallado: %s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Limpieza de la caché de RocketCDN realizada con éxito." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Próxima fecha de cobro" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "No hay una suscripción" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Tu suscripción de RocketCDN está actualmente activa." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Para usar RocketCDN, reemplaza tu CNAME con %1$s%2$s%3$s" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sMás información%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN activado" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN desactivado" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Borrar esta caché" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "valor de WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "La constante WP_CACHE necesita ser true para que la cache de WP Rocket funcione correctamente" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE está establecida como true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE no está establecida" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE está establecida como false" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "No se ha podido generar el CSS crítico para %1$s. Error: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "El CSS Crítico para %1$s en móvil no ha sido generado. Error: La API regresó una respuesta vacía." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "El CSS Crítico para %1$s no ha sido generado. Error: La API regresó una respuesta vacía." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "El CSS Crítico para %1$s en móvil no ha sido generado." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "El CSS Crítico para %1$s no ha sido generado." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "El CSS Crítico para %1$s en móvil no ha sido generado. Error: La API regresó una respuesta vacía." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "El CSS Crítico para %1$s no ha sido generado. Error: La API regresó una respuesta vacía." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Error: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Regenera la ruta crítica del CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Generar CPCSS Específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regenerar CPCSS Específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l para usar esta característica." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Publicar el %s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "La generación del CSS crítico se está ejecutando. " + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Ve a la página de %1$sajustes de WP Rocket%2$s para seguir el proceso." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "La generación del CSS crítico está actualmente en marcha: %1$d de %2$d tipos de página completados. (Actualiza esta página para visualizar el avance)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "La generación del CSS crítico se ha completado para %1$d de %2$d tipos de página." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Se han producido errores en la generación del CSS crítico." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Más información." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "El CSS Crítico para móvil no existe" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "El CSS Crítico no existe" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "El CSS Crítico para móvil no puede ser eliminado" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "El CSS Crítico no puede ser eliminado" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "El CSS Crítico Móvil para %1$s no ha sido generado." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "CSS Crítico para %s en progreso." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "CSS Crítico Móvil para %s generado." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "El CSS crítico para %s ha sido generado." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Archivo de CSS Crítico borrado con éxito." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Timeout de CSS Crítico Móvil para %1$s. Por favor reintenta un poco más tarde." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Timeout de CSS Crítico para %1$s. Por favor reintenta un poco más tarde." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Generación de CPCSS para móvil no habilitada." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "El post requerido no existe." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "No se puede generar CPCSS para un post no publicado." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "El siguiente evento programado no se pudo ejecutar. Esto podría indicar que el sistema CRON no está funcionando correctamente, lo que podría ocasionar que algunas de características de WP Rocket no funcionen según lo previsto:" +msgstr[1] "Los siguientes eventos programados no se pudieron ejecutar. Esto podría indicar que el sistema CRON no está funcionando correctamente, lo que podría ocasionar que algunas características de WP Rocket no funcionen según lo previsto:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Por favor, contacta a tu proveedor de alojamiento para verificar si CRON está funcionando." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Limpieza de Caché Programada" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Optimización Programada de Base de Datos" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Proceso de Optimización de Base de Datos" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Precargar" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Proceso de Generación de Ruta Crítica de CSS" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "La purga automática de Varnish se habilitará una vez que el Varnish esté habilitado en su %s servidor." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Por favor desactiva la siguiente opción %sque entra en conflicto con las características de WP Rocket:" +msgstr[1] "Por favor desactiva las siguientes opciones %s que entran en conflicto con las características de WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "La opción %2$sdesactivar emoji%3$s de %1$s entra en conflicto con la opción %2$sdesactivar emoji%3$s de WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "La %2$scompresión GZIP%3$s de %1$s entra en conflicto con la %2$scompresión GZIP%3$s de WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "La %2$scaché del navegador%3$s de %1$s entra en conflicto con la %2$scaché del navegador%3$s de WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "La %2$scaché de página%3$s de %1$s entra en conflicto con la %2$scaché de página%3$s de WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s%2$sla optimización de recursos%3$s entra en conflicto con la %2$soptimización de archivos%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Soporte" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Documentación" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Preguntas Frecuentes" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Ajustes" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "Volver a la versión %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sVuelve a WP Rocket%2$s o %3$sve a la página Plugins%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "La importación de los ajustes ha fallado: no tienes permisos para realizar esta acción." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "La importación de los ajustes ha fallado: no se ha subido ningún archivo." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "La importación de los ajustes ha fallado: nombre de archivo incorrecto." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "La importación de los ajustes ha fallado: tipo de archivo incorrecto." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "La importación de los ajustes ha fallado:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "La importación de los ajustes ha fallado: el contenido del archivo es inesperado." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Ajustes importados y guardados." + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "El siguiente patrón es inválido y ha sido eleminado:" +msgstr[1] "Los siguientes patrones son inválidos y han sido eleminados:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Borrar la caché" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Ajustes de WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Nunca poner en caché esta página" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Activar las opciones para esta entrada:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad para imágenes" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad para iframes/vídeos" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Minificar/combinar CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minificar/combinar JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS diferido" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Activar primero la opción %s ." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNota:%2$s Ninguna de estas opciones se aplicará si la entrada ha sido excluida de la caché en los ajustes globales." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s no ha sido desactivado porque faltan unos permisos de escritura.
    \n" +"Haz %2$s editable y vuelve a intentar la desactivación, o fuérzala ahora:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Se ha activado o desactivado uno o más plugins, borra la caché si notas un problema de visualización en tu sitio web." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Los plugins siguientes no son compatibles con este plugin y pueden provocar resultados inesperados:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Desactivar" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "El plugin WP Rocket Footer JS no es un plugin oficial. Puede impedir el correcto funcionamiento de algunas opciones de WP Rocket. Por favor, desactívalo si tienes problemas." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache está actualmente activo, esto generará un conflicto con la caché de WP Rocket. Por favor, establece el nivel de caché de Endurance Cache a Off (Nivel 0) en la sección %1$sAjustes > General%2$s para evitar inconvenientes." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Se requiere una estructura personalizada de los enlaces permanentes para que el plugin funcione correctamente. %2$sVe a los ajustes de los enlaces permanentes%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s no pudo modificar el archivo .htaccess debido a la falta de permisos de escritura. " + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Resolución del problema: %1$s¿Cómo hacer que los archivos de sistema sean editables?%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://es.docs.wp-rocket.me/article/872-como-hacer-para-que-los-archivos-de-sistema-htaccess-wp-config-sean-editables/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "No te preocupes, la caché de páginas y la configuración de WP Rocket aun funcionarán correctamente." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Para un rendimiento óptimo, se recomienda añadir las siguientes líneas a tu .htaccess (no es requerido):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s está listo para partir! %2$sComprueba tu tiempo de carga%4$s, o verifica tus %3$sajustes%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "¿Permitirías a WP Rocket recopilar datos de diagnóstico no confidenciales desde tu sitio web?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Esto nos ayudaría a mejorar WP Rocket para ti en un futuro." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "¿Qué información recopilamos?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Aquí abajo ves la lista detallada de todos los datos recopilados por WP Rocket, si le has dado el permiso de hacerlo. WP Rocket no transmitirá ningún nombre de dominio, ni direcciones de correo electrónico (salvo lo necesario para la validación de la licencia), direcciones IP o claves API de terceras partes." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Si, estoy de acuerdo" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "No, gracias" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "¡Gracias!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket ahora recolectará estas métricas desde tu sitio web:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Caché borrada." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Caché borrada para la entrada." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Caché borrada para este término ." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Caché de usuario borrada." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Interrumpir la precarga" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Forzar la desactivación " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "El siguiente código debería haberse escrito en este archivo:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s no puede configurarse porque faltan unos permisos de escritura." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Archivo/carpeta afectados: %s" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Datos transitorios" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tablas" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "No ha sido posible eliminar el archivo de depuración." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Para funcionar correctamente, %1$s %2$s necesita por lo menos:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Para usar esta versión de WP Rocket, pide a tu proveedor de alojamiento web de actualizar tu servidor a PHP %1$s o superior." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Para usar esta versión de WP Rocket, actualiza tu versión WordPress a la %1$s o superior." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Si no puedes actualizar, puedes volver a la versión precedente usando el botón aquí abajo." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Reinstalar la versión %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "El archivo de registro no existe." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "El archivo de registro no se ha podido leer." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Los registros no se han guardado en un archivo." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intérvalo de caché de WP Rocket expirado" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "El almacenamiento en caché de WebP está desactivado por un filtro." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Estás usando %1$s para servir las imágenes WebP. Si prefieres que WP Rocket sirva las imágenes WebP, activa esta opción. %2$sMás información%3$s" +msgstr[1] "Estás usando %1$s para servir las imágenes WebP. Si prefieres que WP Rocket sirva las imágenes WebP, activa esta opción. %2$sMás información%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Estás usando %1$s para servir las imágenes WebP. WP Rocket creará archivos de almacenamiento en caché diferentes para tus imágenes WebP. %2$sMás información%3$s" +msgstr[1] "Estás usando %1$s para servir las imágenes WebP. WP Rocket creará archivos de almacenamiento en caché diferentes para tus imágenes WebP. %2$sMás información%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket creará archivos de cache separados para servir tus imágenes WebP." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "No se detectaron los siguientes requisitos en su tema: cierre %1$s." +msgstr[1] "No se detectaron los siguientes requisitos en su tema: cierre %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensual" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "El proceso de optimización de la base de datos está en marcha" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "El proceso de optimización de la base de datos está completado. ¡Todo ya estaba optimizado!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "El proceso de optimización de la base de datos está completado. Lista de los elementos optimizados:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimizado." + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Error en la purga de la caché de Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Estamos borrando la caché de Sucuri. Ten en cuenta que antes de que termine el proceso de limpieza podrían pasar hasta 2 minutos." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "No ha sido posible encontrar la clave API del cortafuegos de Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "La clave API del cortafuegos de Sucuri no es válida." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Ha ocurrido un error al contactar la API del cortafuegos de Sucuri. El mensaje de error decía: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "No ha sido posible obtener respuesta de la API del cortafuegos de Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Hemos obtenido una respuesta no válida de la API del cortafuegos de Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "La API del cortafuegos de Sucuri ha devuelto un error desconocido." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "La API del cortafuegos Sucuri ha devuelto el siguiente error: %s" +msgstr[1] "La API del cortafuegos de Sucuri ha devuelto los siguientes errores: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Ha ocurrido un error inesperado. Algo puede estar mal con wp-rocket.me o con la configuración de este servidor. Si el problema persiste, contacta con el servicio de soporte." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Todos los idiomas" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Limpiar esta entrada" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Purgar esta URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Limpiar la caché de Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Limpiar la caché de RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentación" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "La limpieza de OPcache falló." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "Limpieza de OPcache finalizada con éxito" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Activar Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Instalar Imagify gratuitamente" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Acelera tu sitio web e impulsa tu SEO reduciendo el tamaño de las imágenes sin perdida de calidad, gracias a Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Más información" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Precarga de mapa del sitio: se ha creado la caché para %d páginas." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Precarga de mapa del sitio: se han precargado %d páginas que no tenían una caché. (Actualiza para ver el avance)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Eligir un dominio desde la lista" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "No hay dominio disponible en tu cuenta Cloudflare" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl está deshabilitado en tu servidor. Por favor, pídele a tu proveedor de hosting que lo active. Esto es requerido para que el Add-on de Cloudflare funcione correctamente." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "El correo de Cloudlfare, la clave de API y el ID de Zona no han sido establecidos. Lee la%1$sdocumentación%2$s para más información" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "El correo de Cloudflare y la clave de API no han sido establecidos. Lee la %1$sdocumentación%2$s par más información" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "La conexión a CloudFlare a fallado" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "¡La clase llamada %1$s está obsoleta desde la versión %2$s! Puedes utilizar %3$s." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "¡La clase llamada %1$s está obsoleta desde la versión %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Archivos JS con carga JavaScript diferida" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Añadir URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Antes de poder cargar tu archivo de importación, necesitarás resolver el siguiente error:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Elegir un archivo desde el ordenador (tamaño máximo: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Tus credenciales Cloudflare son válidas." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Tus credenciales Cloudflare no son válidas!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Guardar y optimizar" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimizar" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Nota:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Consejo de rendimiento:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Detectada función de otro plugin:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Advertencia:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Descargar ajustes" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Reemplazar el nombre host del sitio con:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reservado para" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Todos los archivos" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Imágenes" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Añadir CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Mirar el vídeo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Básicos" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Archivos Estáticos" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avanzados" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s%2$s requiere por lo menos PHP %3$s para funcionar correctamente. Para usar esta versión, pide a tu proveedor de alojamiento web actualizar tu servidor a PHP %3$s o superior. Si no es posible hacerlo, puedes volver a la versión precedente usando el botón aquí abajo." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Parece haber un problema con la validación de la licencia. Aquí abajo puedes ver el mensaje de error." +msgstr[1] "Parece haber un problema con la validación de tu licencia. Aquí abajo puedes ver los mensajes de error." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Tipo de servidor:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Número de versión PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Número de versión WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisitio:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Tema actual:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Idioma del sitio actual:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Plugins activos:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Nombres de todos los plugins activos" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Ajustes anónimos de WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Cuáles ajustes WP Rocket están activos" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "La validación de la licencia ha fallado. Nuestro servidor no ha podido resolver la solicitud desde tu web." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Prueba a hacer clic en %1$sGuardar Cambios%2$s. Si el error persiste, sigue %3$sesta guía%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "La validación de la licencia ha fallado. Es posible que estés usando una versión pirata del plugin. Haz lo siguiente:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Inicia sesión en tu %1$scuenta%2$s WP Rocket" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Descarga el archivo zip" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstalar" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Si no tienes una cuenta WP Rocket, %1$scompra una licencia%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "La validación de la licencia ha fallado. Esta cuenta usuario no existe en nuestra base de datos." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Para solucionarlo, contacta con el soporte." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "La validación de la licencia falló. Esta cuenta de usuario está bloqueada." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Lee %1$sesta guía%2$s para más información." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Tu licencia no es válida." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Asegúrate que tienes una %1$slicencia de WP Rocket%2$s activa." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Has añadido tantas web como permite tu licencia. " + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Actualiza tu %1$scuenta%2$s o %3$stransfiere tu licencia%2$s a este dominio." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Este sitio web no está autorizado." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Por favor %1$scontacta con el soporte%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "La clave de licencia no ha sido reconocida." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Si el problema persiste, %1$scontacta con el soporte%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "La validación de la licencia ha fallado: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "El plugin se ha instalado con éxito." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "No tienes permisos para instalar plugins en este sitio." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "No tienes permisos para hacerlo." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "La instalación del plugin ha fallado." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Vuelve atrás" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Tu sitio web actualmente utiliza la misma Ruta Crítica de CSS para escritorio y móvil. " + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Click en el botón para habilitar CPCSS específico para móviles en tu sitio." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Esta es una acción de única vez y este botón será removido luego. %1$sMás información%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Tu sitio ahora está utilizando una Ruta Crítica de CSS específica para móviles. %1$sMás información%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Generar CPCSS Específico para Móviles" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Ruta Crítica de CSS" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Generar Ruta Crítica de CSS específica para este post. %1$sMás información%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Este post utiliza una Ruta Crítica de CSS específica. %1$sMás información%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Revertir al CPCSS por defecto" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Cancelar" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Habilitar la optimización de Google Font" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Mejora el rendimiento de las fuentes y combina varias solicitudes de fuentes para reducir el número de solicitudes HTTP." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "La Optimización de Google Fonts está ahora habilidata para tu sitio.%1$sMás información%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimizar Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Borrar la caché después de" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS y JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importar ajustes" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Estado del complemento" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modificar opciones" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME CDN" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Purga los recursos almacenados de RocketCDN para tu sitio web. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Leer más" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Limpiar todos los archivos de caché de RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Caché de Cloudflare" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Purga los recursos de tu sitio web copiados en la caché. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Borrar todos los archivos de caché Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "¡Enhorabuena!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket ya está activado y está trabajando para ti." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Tu web debería estar cargando más rápida ahora!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "También habilitamos opciones que dan beneficios inmediatos a tu sitio web." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Ve a las opciones para optimizar más a fondo tu sitio web!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Mi cuenta" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Actualizar información" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Fecha de expiración" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Ver mi cuenta" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Acciones rápidas" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Elimina todos los archivos en la caché" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Regenerar la ruta crítica del CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Preguntas Frecuentes" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "¿Todavía nos has encontrado una solución?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Envía un ticket y obtén la ayuda de nuestros expertos y atentos Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Pedir ayuda" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "¡Respalda tu base de datos antes de ejecutar su limpieza!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Una vez que la optimización de la base de datos se haya realizado, no hay vuelta atrás." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Guardar Cambios y Optimizar" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s ha creado %3$sIMAGIFY%4$s%1$s para ofrecerte la mejor optimización de imágenes.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Comprime tus imágenes para hacer tu sitio más rápido, manteniendo intacta la calidad de imagen." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Más sobre Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Página del plugin Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Sitio Web de Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Evaluación de los plugins de compresión de imagen" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instalar Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket no ha podido validar automáticamente tu licencia." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Sigue este tutorial %1$s, o ponte en contacto %2$s para iniciar el motor." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://es.docs.wp-rocket.me/article/640-solucionar-problemas-con-la-validacion-de-la-licencia/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssoporte%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Borrar todos los archivos de caché de Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Tamaño de los archivos: %1$s. Número de entradas: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDescarga el archivo%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sElimina el archivo%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Exportar ajustes" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Descargar una copia de seguridad de tus ajustes" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Descargar ajustes" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Rollback" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "¿La versión %1$s ha causado algún problema en tu sitio web?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Aquí puedes regresar a la versión anterior. %sLuego nos puedes enviar un ticket de soporte." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Reinstalar la versión %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Modo de depuración" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Crear un archivo de registro de depuración." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Primeros Pasos" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Empezando con WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Encontrando los Mejores Ajustes Para tu Sitio" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Como Verificar si WP Rocket está Almacenando en Caché tu Sitio Web " + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Cómo Medir la Velocidad de tu Sitio Web" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Solucionar problemas de visualización con la Optimización de Archivos" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Cómo Encontrar el JavaScript Correcto para Excluir" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Cómo el Contenido Externo Ralentiza tu Sitio" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Cómo funciona la Precarga" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configurar el Add-on de Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Ajustes de WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "versión %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Mostrar la barra lateral" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket no transmitirá ningún nombre de dominio, ni direcciones de correo electrónico (salvo lo necesario para la validación de la licencia), direcciones IP ni claves API de terceras partes." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activar Rocket Analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Es un buen punto de partida para corregir algunos de los problemas más comunes." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Leer la documentación" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Qué Hace WP Rocket Para Ti de Forma Predenterminada" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "¿Cómo medir correctamente el tiempo de carga de tu sitio web?" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Lee nuestro tutorial y aprende cómo medir la velocidad de tu sitio web" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Lee nuestra guía" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Leer más" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "No has activado la caché para los usuarios conectados." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Usa una ventana privada del navegador para verificar la velocidad de tu sitio web y su apariencia visual." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "¡Válido solo hasta %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Acelera tu sitio web gracias a:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Fácil configuración: la %1$smejor configuración de CDN%2$s es aplicada automáticamente" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Integración con WP Rocket: la opción CDN es %1$sautomáticamente configurada%2$s en nuestro plugin" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Comencemos" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Saber más acerca de RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Minimizar este banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Acelera tu sitio web con RocketCDN, el CDN de WP Rocket" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Saber Más" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN no está disponible en dominios locales ni en sitios de prueba." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Obtén RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "¡Nuevo!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Acelera tu sitio web con RocketCDN, el CDN de WP Rocket" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "¿Necesitas ayuda?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-fa_IR.mo b/languages/rocket-fa_IR.mo new file mode 100644 index 0000000..4fa1c62 Binary files /dev/null and b/languages/rocket-fa_IR.mo differ diff --git a/languages/rocket-fa_IR.po b/languages/rocket-fa_IR.po new file mode 100644 index 0000000..5c9d47f --- /dev/null +++ b/languages/rocket-fa_IR.po @@ -0,0 +1,4479 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Mohammad Yousefzadeh , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-08-28T12:32:53+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Mohammad Yousefzadeh , 2023\n" +"Language-Team: Persian (Iran) (https://app.transifex.com/wp-media/teams/18133/fa_IR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fa_IR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"سایت شما توسط %s میزبانی می‌شود، ما برای سازگاری پاک‌سازی خودکار وارنیش را " +"فعال کرده‌ایم." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare هیچ پاسخی نداد. مجدد تلاش کنید." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "جواب غیرمنتظره از کلادفلیر" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "نتجیه کلادفلیر یافت نشد." + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "ایمیل یا کلید API حساب Cloudflare نادرست است." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "برای کسب اطلاعات بیشتر این %1$sمستندات%2$s را مطالعه فرمایید." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "شناسه ناحیه Cloudflare نامعتبر است." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"ایمیل یا کلید API سرویس Cloudflare تنظیم نشده است. مستندات %1$sراهنمای%2$s " +"آن را بخوانید." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "شناسه ناحیه Cloudflare یافت نشد." + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "به نظر می رسد دامنه شما در سرویس Cloudflare اضافه نشده است." + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "روز" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "ثانیه" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "دقیقه" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "ساعت" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sموشک وردپرس:%2$s%3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sموشک وردپرس:%2$sکش کلادفلیر با موفقیت پاک شد." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "حالت توسعه CloudFlare با خطا مواجه شد: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "حالت توسعه CloudFlare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "خطای سطح کش CloudFlare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "استاندارد" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "سطح کش CloudFlare به %s تنظیم شد" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "خطای فشرده‌سازی Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "فشرده سازی %s Cloudflare" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "خطای بارگذار موشک Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "بارگذار موشک Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "CloudFlare خطای کش مرورگر: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "کش مرورگر کلادفلیر تنظیم شده به%s" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sموشک وردپرس:%2$sتنظیمات مناسب برای کلادفلیر فعال شد:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sموشک وردپرس:%2$sتنظیمات مناسب برای کلادفلیر غیرفعال شد و به تنظیمات قبلی" +" بازگشت:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "راکت وردپرس: " + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "خطای پاک کردن حافظه Sucuri:%s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"حافظه پنهان Sucuri در حال پاک شدن است. توجه داشته باشید که ممکن است دو دقیقه" +" طول بکشد تا کامل تخلیه شود." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "کلید API فایروال Sucuri یافت نشد." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "کلید API فایروال Sucuri نامعتبر است." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" +"هنگام ارتباط با کلید API فایروال Sucuri خطایی رخ داده است. پیام خطا: %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "نمی تواند پاسخی از API فایروال Sucuri دریافت کند." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "پاسخ نامعتبر از API فایروال Sucuri دریافت شد." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API فایروال Sucuri خطای نامشخصی برگرداند." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API فایروال Sucuri خطای نامشخص زیر را برگرداند:%s" +msgstr[1] "API فایروال Sucuri خطای نامشخص زیر را برگرداند:%s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"شما از %1$s تصاویر WEBP استفاده می کنید. نیازی به فعالسازی این گزینه " +"نیست.%2$sاطلاعات بیشتر%3$s %4$sاگر ترجیح میدهید از این قابلیت افزونه موشک " +"وردپرس استفاده کنید. لطفا تنظیمات مربوطه را در %1$s غیرفعال کنید." +msgstr[1] "" +"شما از %1$s تصاویر WEBP استفاده می کنید. نیازی به فعالسازی این گزینه " +"نیست.%2$sاطلاعات بیشتر%3$s %4$sاگر ترجیح میدهید از این قابلیت افزونه موشک " +"وردپرس استفاده کنید. لطفا تنظیمات مربوطه را در %1$s غیرفعال کنید." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "کش WebP با فیلتر غیرفعال است." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"برای تبدیل تصاویر به WebP شما از %1$s استفاده می کنید. اگر می خواهید از طریق" +" موشک وردپرس اقدام کنید، این گزینه را فعال نمایید.%2$sراهنمایی%3$s" +msgstr[1] "" +"برای تبدیل تصاویر به WebP شما از %1$s استفاده می کنید. اگر می خواهید از طریق" +" موشک وردپرس اقدام کنید، این گزینه را فعال نمایید.%2$sراهنمایی%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"برای تبدیل تصاویر به WebP شما از %1$s استفاده می کنید. موشک وردپرس برای کش " +"از فایل کش جداگانه استفاده می کند برای تصاویر WebP شما.%2$sراهنمایی%3$s" +msgstr[1] "" +"برای تبدیل تصاویر به WebP شما از %1$s استفاده می کنید. موشک وردپرس برای کش " +"از فایل کش جداگانه استفاده می کند برای تصاویر WebP شما.%2$sراهنمایی%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sهیچ افزونه سازگاری WebP یافت نشد!%6$s%4$sاگر هنوز از هیچ تصویر WebP " +"استفاده نمی کنید از %3$sImagify%2$sاستفاده کنید یا سایز افزونه هایی که " +"پشتیبانی میکند. %1$sاطلاعات بیشتر%2$s %4$s اگر از WebP استفاده نمی کنید " +"غیرفعال نمایید." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"موشک وردپرس فایل های کش جداگانه ای را برای ارائه تصاویر WebP شما ایجاد می " +"کند." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "پشتیبانی" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "مستندات" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "سوالات متداول" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "تنظیمات" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "خالی کردن این کش" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" +"درون‌ریزی تنظیمات ناموفق بود: شما دسترسی کافی برای انجام این کار را ندارید." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "درون‌ریزی تنظیمات ناموفق بود: فایلی بارگذاری نشد." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "درون‌ریزی تنظیمات ناموفق بود: نام فایل اشتباه است." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "درون‌ریزی تنظیمات ناموفق بود: نوع فایل اشتباه است." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "درون‌ریزی تنظیمات ناموفق بود: " + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "درون ریزی تنظیمات انجام نشد: محتوای فایل غیر منتظره بود." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "تنظیمات درون‌ریزی و ذخیره شد." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "فایل‌های CSS مستثنی شده" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "حذف جاوا اسکریپت داخلی" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "مستثنی کردن فایل‌های جاوا اسکریپت" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "به تعویق انداختن فایل های جاوا اسکریپت" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "فایل‌های جاوا اسکریپت تاخیری حذف شدند" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "آدرس‌(هایی) که هرگز کش نخواهند شد" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "عامل‌(های) کاربری هرگز کش نخواهند شد" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "URL (هایی) که همیشه پاک‌سازی شوند" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "مستثنی کردن فایل‌ها از CDN" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "الگوی زیر نامعتبر بوده و حذف شده است:" +msgstr[1] "الگوی زیر نامعتبر بوده و حذف شده است:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "اطلاعات بیشتر" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "پاک کردن کش" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "تنظیمات موشک وردپرس" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "هرگز این برگه را کش نکن" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "فعال کردن این گزینه‌ها برای این نوشته:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "باگذاری با تاخیر تصاویر" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "بارگذاری با تاخیر آی‌‌فریم‌ها\\ویدیوها" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify CSS" +msgstr "فشرده‌سازی CSS" + +#: inc/admin/ui/meta-boxes.php:106 inc/Engine/Admin/Settings/Page.php:736 +msgid "Remove Unused CSS" +msgstr "حذف CSS بدون استفاده" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "فشرده‌سازی\\ترکیب JS" + +#: inc/admin/ui/meta-boxes.php:108 inc/deprecated/deprecated.php:1773 +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +msgid "CDN" +msgstr "شبکه تحویل محتوا CDN" + +#: inc/admin/ui/meta-boxes.php:109 inc/Engine/Admin/Settings/Page.php:765 +msgid "Load CSS asynchronously" +msgstr "CSS را به صورت غیر همزمان بارگذاری کنید" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "تعویق جاوا اسکریپت" + +#: inc/admin/ui/meta-boxes.php:111 inc/Engine/Admin/Settings/Page.php:907 +msgid "Delay JavaScript execution" +msgstr "تاخیر اجرای جاوا اسکریپت" + +#. translators: %s is the name of the option. +#: inc/admin/ui/meta-boxes.php:130 +msgid "Activate first the %s option." +msgstr "ابتدا گزینه %s را فعال کنید." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/admin/ui/meta-boxes.php:146 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sنکته:%2$s هیچکدام از این گزینه ها اعمال نمی شود اگر این نوشته از کش شدن " +"مستثنی شده باشد در تنظیمات کش کلی." + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s به خاطر مشکل در دسترسی‌های نوشتن فعال نشده است.
    \n" +"%2$s را قابل نوشتن کرده و سپس غیرفعال سازی را دوباره امتحان کنید، یا الان غیرفعال کنید:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: یک یا چند افزونه فعال یا غیرفعال شده‌اند، اگر آن‌ها " +"ظاهر سایت شما را به هم ریخته‌اند، کش را پاک کنید." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: افزونه‌های زیر با این افزونه سازگار نیستند و ممکن است " +"باعث نتایج غیرمنتظره شوند:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "غیرفعال سازی" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"WP Rocket Footer JS یک افزودنی رسمی نیست. از عملکرد صحیح برخی از گزینه ها در" +" WP Rocket جلوگیری می کند. لطفاً در صورت بروز مشکل آن را غیرفعال کنید." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"Endurance Cache در حال حاضر فعال است که با WP Rocket Cache در تضاد است. " +"لطفاً سطح کش Endurance Cache را در حالت Off (سطح 0) در حالت تنظیم کنید " +"%1$sتنظیمات > عمومی%2$s جلوگیری از هرگونه مشکلی میکند." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: برای درست عمل کردن افزونه نیاز است پیوند‌های یکتا را فعال کنید. %2$s " +"رفتن به تنظیمات پیوند‌های یکتا%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s به علت عدم دسترسی نوشتن .htaccess نمی‌تواند خود را تنظیم کند." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "عیب‌یابی: %1$s چگونه فایل‌های سیستمی را قابل نوشتن کنیم%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "نگران نباشید ، ذخیره و تنظیمات صفحه WP Rocket همچنان درست کار می کند." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"برای عملکرد مطلوب ، افزودن خطوط زیر به .htaccess توصیه می شود (لازم نیست):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"%1$s آماده است! %2$s زمان بارگذاری خود را امتحان کنید%4$s، یا " +"%3$sتنظیمات%4$s خود را مشاهده کنید." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"آیا اجاره می‌دهید موشک وردپرس اطلاعات مرتبط غیرحساس را از این وبسایت جمع " +"آوری کند؟" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "این کار به ما کمک خواهد کرد تا در آینده موشک وردپرس را بهبود ببخشیم." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "چه اطلاعاتی را جمع آوری می‌کنیم؟" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"در زیر تمام اطلاعاتی که موشک وردپرس در صورت داشتن مجوز شما جمع آوری خواهد " +"کرد را مشاهده می‌کنید. موشک وردپرس هرگز نام دامنه یا آدرس ایمیلی (تنها برای " +"فعال‌سازی لایسنس)، آدرس آی پی یا کلید‌های وب‌سرویس ثانویه را منتقل نخواهد " +"کرد." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "بله، اجازه می‌دهم" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "نه، متشکرم" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "متشکریم!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "موشک وردپرس اکنون این معیارها را از وب‌سایت شما جمع‌آوری می‌کند:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s: کش پاک شد." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s: کش نوشته پاک شد." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s: کش شرط پاک شد." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s: کش کاربر پاک شد." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "نادیده گرفتن این پیام." + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "پاکسازی CSSهای استفاده شده" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "توقف پیش بارگذاری" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "حذف CSS های بدون استفاده را فعال کنید" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "اکنون\" کش مجزا برای موبایل\" را فعال نمایید" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "غیرفعال سازی اجباری " + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "کدهای زیر باید داخل این فایل نوشته شوند:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s به علت عدم دسترسی نوشتن نمی‌تواند خود را تنظیم کند." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "فایل\\فولدرهای مورد نظر: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "فایل اشکال زدایی حذف نشد." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "برای عمل کردن به حداقل %1$s %2$s نیاز است:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"نسخه %1$s PHP. برای استفاده از این نسخه از موشک وردپرس، لطفا هاست خود را جهت" +" بروزرسانی به نسخه PHP %1$s یا بالاتر بررسی کنید." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"نسخه %1$s وردپرس. برای استفاده از این نسخه از موشک وردپرس، لطفا وردپرس خود " +"را به نسخه %1$s یا بالاتر به روز رسانی کنید." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"اگر نمی‌توانید به روز رسانی را انجام دهید، می‌توانید با استفاده از دکمه زیر " +"به نسخه‌های قبلی بازگردید." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "نصب دوباره نسخه %s" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "%s بازگشتن به نسخه قبلی" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "شرایط زیر در موضوع شما تشخیص داده نشد: بسته شدن %1$s." +msgstr[1] "شرایط زیر در موضوع شما تشخیص داده نشد: بسته شدن %1$s." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "حذف و پیش بارگذاری مجدد کش" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "همه‌ی زبان‌ها" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "پاک کردن این نوشته" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "پاک‌سازی این لینک" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "تخلیه کش Sucuri" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "تخلیه کش RocketCDN" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "مستندات" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "فعال‌سازی Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "نصب رایگان Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"سرعت و سئوی سایت خود را با کاهش حجم فایل‌های تصویری و بدون از دست دادن کیفیت" +" با کمک Imagify بالا ببرید." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "اطلاعات بیشتر" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "بارگذاری نقشه سایت: %d برگه کش شد." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"بارگذاری نقشه سایت: %d برگه کش نشده هم اکنون بارگذاری شدند. (برای مشاهده " +"پیشرفت صفحه را رفرش کنید)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"یک خطای غیر منتظره رخ داد. ممکن است خطایی در WP-Rocket.me یا تنظیمات " +"سرور’s شما باشد. اگر مشکل شما ادامه داشت، با پشتیبانی " +"تماس بگیرید." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "یک دامنه را از لیست انتخاب کنید" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "دامنه‌ای در حساب Cloudflare شما موجود نیست" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"Curl در سرور شما غیرفعال است. لطفاً از میزبان خود بخواهید آن را فعال کند. " +"این مورد برای عملکرد صحیح افزونه Cloudflare ضروری است." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"Cloudflare email, API key and Zone ID تنظیم نشده است. برای " +"راهنمایی%1$sمستندات%2$s را بخوانید." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"Cloudflare email and API key تنظیم نشده است. برای راهنمایی%1$sمستندات%2$s را" +" بخوانید." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "اتصال به Cloudflare انجام نشد" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "راکت وردپرس: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket:کش CloudFlare با موفقیت پاک شد." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"رویداد برنامه ریزی شده زیر اجرا نشد. این ممکن است نشان دهد که سیستم CRON به " +"درستی اجرا نمی شود ، که می تواند مانع از عملکرد برخی از ویژگی های موشک " +"وردپرس شود:" +msgstr[1] "" +"رویداد برنامه ریزی شده زیر اجرا نشد. این ممکن است نشان دهد که سیستم CRON به " +"درستی اجرا نمی شود ، که می تواند مانع از عملکرد برخی از ویژگی های موشک " +"وردپرس شود:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "لطفا با هاست خود جهت بررسی عملکرد CRON تماس بگیرید." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "تخلیه کش OPcache شکست خورد." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache با موفقیت تخلیه شد" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "نقشه سایت Yoast SEO" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"ما به طور خودکار نقشه سایت تولید شده توسط پلاگین %s را تشخیص می‌دهیم. شما می" +" توانید این گزینه را برای بارگذاری اولیه آن تیک بزنید." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sبازگشت به موشک وردپرس%2$sیا %3$s رفتن به برگه افزونه‌ها%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "نقشه سایت All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "نقشه سایت Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "نقشه سایت Rank Math" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "نقشه سایت SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "نقشه سایت جت‌پک" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "پیش‌بارگذاری نقشه سایت از افزونه جت‌پک" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS فایل‌های با بارگذاری تاخیری جاوا اسکریپت" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "افزودن آدرس" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "تنظیمات ذخیره شد." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "قبل از بارگذاری فایل درون‌ریزی باید خطاهای زیر را برطرف کنید:" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "انتخاب فایل از رایانه شما (حداکثر حجم: %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "بارگذاری فایل و درون‌ریزی تنظیمات" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "اطلاعات CloudFlare شما معتبر است." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "اطلاعات CloudFlare شما نامعتبر است!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "ذخیره و بهینه‌سازی" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "بهینه‌سازی" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "یادداشت:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "نکته کارایی:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "ویژگی های سوم شخص شناسایی شده است:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "اخطار:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "دانلود تنظیمات" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "جایگزینی نام هاست سایت با:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "متعلق به" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "همه فایل‌ها" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "تصاویر" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "افزودن CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "تماشای ویدیو" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "پایه" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "فایل‌های استاتیک" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "پیشرفته" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "پایگاه داده" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "پیش بارگذاری" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "ابزارها" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "کد لایسنس" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s حداقل به نسخه PHP %3$s برای عملکرد صحیح نیاز دارد. برای استفاده از" +" این نسخه، لطفا با مدیر هاست خود برای ارتقا نسخه PHP به PHP %3$s یا بالاتر " +"تماس بگیرید. اگر قادر به ارتقا نیستید، می‌توانید با استفاده از دکمه زیر به " +"نسخه قبلی بازگردید." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"کلاس فراخوانی شده %1$s منسوخ شده از نسخه%2$s! بجاش از %3$s " +"استفاده کنید." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "کلاس فراخوانی شده %1$s منسوخ شده از نسخه%2$s!" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "هفتگی" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "بازبینی‌ها" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "پیش نویس خودکار" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "نوشته‌های داخل زباله دان" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "دیدگاه‌های اسپم" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "دیدگاه‌های زباله‌دان" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "داده‌های گذرا" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "جداول" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "ماهیانه" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "فرآیند بهینه‌سازی پایگاه داده در حال اجرا است" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "فرآیند بهینه‌سازی پایگاه داده کامل شد. همینک همه چیز باید بهینه باشد!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"فرآیند بهینه‌سازی پایگاه داده کامل شد. فهرست موارد بهینه شده در زیر آمده " +"است:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s بهینه شد." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sموشک وردپرس:%2$s ما متوجه شدیم که دامنه وب سایت تغییر کرده است. فایل های" +" پیکربندی باید دوباره تولید شوند تا کش صفحه و همه بهینه سازی های دیگر " +"همانطور که در نظر گرفته شده کار کنند.%3$s اطلاعات بیشتر%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "بازسازی مجدد تنظیمات پرونده های راکت وردپرس" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "ذخیره تغییرات" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "اعتبار لایسنس" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "دردسترس نیست" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "کلید API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "ایمیل" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "پیشخوان" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "دریافت راهنمایی، اطلاعات حساب کاربری" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "وضعیت من" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "تجزیه و تحلیل موشک" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"من با اشتراک گذاری داده‌های ناشناس با تیم توسعه برای گسترش موشک وردپرس " +"موافقم. %1$sچه اطلاعاتی را جمع آوری می‌کنیم؟%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "کش" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "گزینه‌های اصلی کش" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "کش موبایل" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "سرعت سایت خود را برای بازدید کنندگان موبایل نیز افزایش دهید." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"ما متوجه شدیم که شما از یک افزونه استفاده می‌کنید که نیاز به یک کش مجزا برای" +" موبایل دارد، و این گزینه را برای سازگاری به طور خودکار فعال کردیم." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "کش کاربر" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"زمانی که در وبسایت خود محتوای مخصوص کاربران یا محافظت شده دارید %1$s کش " +"کاربر%2$s برای شما عالی خواهد بود." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "طول عمر کش" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"فایل های کش قدیمی تر از طول عمر مشخص شده حذف می شوند.
    فعال کردن%1$sپیش " +"بارگذاری%2$s برای کش باعث ایجاد خودکار آن بعد از دوره پایان عمر آن می شود." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "فعال‌سازی کش برای کاربران وارد شده‌ی وردپرس" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "فعال سازی کش برای دستگاه‌های موبایل" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "جداسازی فایل‌های کش برای دستگاه‌های موبایل" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"اکثر قالب های مدرن واکنشگرا هستند و باید بدون کش جداگانه کار کنند. این کار " +"را فقط در صورتی انجام دهید که قالب یا افزونه اختصاصی موبایل دارید.%1$sمطالعه" +" راهنما%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"مدت زمانی که بعد از آن کش عمومی پاک می‌شود را تعیین کنید
    (0 = نامحدود)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"اگر به طور متناوب خطاهایی را مشاهده می‌کنید طول عمر کش را به 10 ساعت یا کمتر" +" کاهش دهید. %1$sچرا؟%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "ساعت‌" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "روزها" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "بهینه‌سازی فایل" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "بهینه‌سازی CSS و JS" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"%1$sفشرده‌سازی هم اکنون در بهینه‌ساز خودکار فعال شده است. " +"اگر مایل به استفاده از فشرده‌ساز %2$s هستید، گزینه‌های آن را در بهینه‌ساز " +"خودکار غیرفعال کنید." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "فایل‌های CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "فایل‌های جاوا اسکریپت" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"فشرده‌سازی %1$s هم اکنون در بهینه‌ساز خودکار فعال شده است. " +"اگر مایل به استفاده از فشرده‌ساز %2$s هستید، گزینه‌های آن را در بهینه‌ساز " +"خودکار غیرفعال کنید." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"اگر پس از فعال‌سازی این گزینه با مشکل مواجه شدید، استثناهای پیش‌فرض را کپی و" +" جای‌گذاری کنید تا مشکلات به سرعت حل شوند:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"همچنین، لطفاً%1$sاسناد%2$sما را برای فهرستی از استثناهای سازگاری بررسی کنید." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"اسکریپت های داخلی به طور پیش فرض برای جلوگیری از مشکلات حذف می شوند. برای " +"استفاده کامل از این گزینه، آنها را حذف کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"اگر این باعث مشکل می شود، موارد استثنای پیش فرض پیدا شده را بازیابی کنید " +"%1$s اینجا %2$s" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "فشرده‌سازی فایل‌های CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" +"فشرده‌سازی فایل‌های CSS حجم را با استفاده از حذف کامنت‌ها و فضاهای خالی کاهش" +" می‌دهد." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "این ممکن است بعضی چیزها را خراب کند!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"اگر پس از فعال‌سازی این تنظیمات در سایت خود با خطایی مواجه شدید، فقط آن " +"تنظیم را غیرفعال کرده تا سایت به وضعیت عادی بازگردد." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "فعال‌سازی فشرده‌ساز CSS" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"آدرس استایل های CSS برای صرف نظر از فشرده سازی را وارد کنید ( هر آدرس در یک " +"خط)." + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"داخلی:بخش دامنه URL به طور خودکار برداشته می شود. برای حذف " +"همه فایل های CSS که در یک مسیر خاص قرار دارند ، از (.*). css استفاده کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"شخص 3rd:برای حذف CSS خارجی ، از مسیر URL کامل یا فقط از نام" +" دامنه استفاده کنید.%1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "بهینه‌سازی تحویل CSS" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"بهینه سازی تحویل CSS ، مسدود کردن ارائه CSS در وب سایت شما را حذف می کند. " +"فقط یک روش را می توان انتخاب کرد. برای عملکرد مطلوب حذف CSS استفاده نشده " +"توصیه می شود. اما فقط محدود برای افرادی است که لایسنس فعال دارند." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"بهینه سازی تحویل CSS ، مسدود کردن ارائه CSS در وب سایت شما را حذف می کند. " +"فقط یک روش را می توان انتخاب کرد. برای عملکرد مطلوب حذف CSS استفاده نشده " +"توصیه می شود." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"ویژگی بهینه سازی تحویل CSS در محیط محلی غیرفعال است.%1$sبیشتر بخوانید%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"حذف CSS بلااستفاده در هر برگه و کمک به کاهش حجم و درخواست HTTP صفحه. توصیه " +"شده برای عملکرد بهتر. امتحان کنید.%1$sاطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "حذف CSS های بدون استفاده را فعال کنید" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "لیست بدون خطر CSS" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"نام فایل های CSS ، شناسه ها یا کلاس هایی را که نباید حذف شوند (یکی در هر خط)" +" مشخص کنید." + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"بارگیری CSS به صورت ناهمزمان در حال حاضر توسط %1$s افزونه.اگر می خواهید " +"بارگیری CSS به صورت ناهمزمان توسط افزونه موشک وردپرس انجام شود. افزونه %1$s " +"غیرفعال کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"مسیر بحرانی CSS را ایجاد می کند و CSS را به صورت نا همزمان بارگذاری می " +"کند.%1$sاطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "CSSهای معوق بحرانی" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"اگر مسیرهای بحرانی تولید شده خودکار CSS ناقص بود، یک تعویق ارائه دهید " +"%1$sاطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "فشرده‌سازی فایل‌های جاوا اسکریپت" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" +"فشرده‌سازی فایل‌های جاوا اسکریپت حجم را با استفاده از حذف کامنت‌ها و فضاهای " +"خالی کاهش می‌دهد." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "فعال‌سازی فشرده‌سازی جاوا اسکریپت" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"ادغام فایل‌های جاوا اسکریپت (برای انتخاب این گزینه، فشرده ساز فایل‌های " +"جاوا اسکریپت را فعال کنید)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"ترکیب فایل های جاوا اسکریپت ترکیبی از داخلی ، شخص 3rd و JS داخلی شما ، " +"درخواست های HTTP را کاهش می دهد. اگر سایت شما از HTTP/2 استفاده می کند توصیه" +" نمی شود. %1$sراهنمایی%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"برای سازگاری و بهترین نتایج ، این گزینه با فعال کردن تأخیر در اجرای جاوا " +"اسکریپت غیرفعال می شود." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "فعال‌سازی ادغام جاوا اسکریپت" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"برای مستثنی کردن فایل‌های جاوا اسکریپت از ادغام و فشرده سازی، آدرس آن را " +"اینجا وارد کنید.(هرخط یک آدرس).%1$sاطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"نشانی های وب فایلهای جاوا اسکریپت را مشخص کنید تا از کوچک سازی و اتصال (یکی " +"در هر خط) حذف شوند." + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"داخلی:بخش دامنه URL به طور خودکار برداشته می شود. از (*). " +"js برای حذف تمام فایل های JS واقع در یک مسیر خاص استفاده کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"شخص 3rd :برای حذف JS خارجی ، از مسیر URL کامل یا فقط نام " +"دامنه استفاده کنید.%1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +msgid "Load JavaScript deferred" +msgstr "بارگذاری جاوا اسکریپت به صورت تاخیری" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"بارگذاری جاوا اسکریپت به صورت تاخیری برای افزایش سرعت بارگذاری، جاوا " +"اسکریپت‌های مسدود کننده رندر render-blocking صفحه را حذف می‌کند. %1$sاطلاعات" +" بیشتر%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"برای مستثنی کردن فایل‌های جاوا اسکریپت از تعویق، آدرس آن را اینجا وارد " +"کنید(هرخط یک آدرس).%1$sاطلاعات بیشتر%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"با تأخیر در بارگذاری فایل های جاوا اسکریپت تا تعامل کاربر (به عنوان مثال " +"پیمایش ، کلیک) ، عملکرد را بهبود می بخشد.%1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "موارد استثنا با یک کلیک" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"هنگام استفاده از اجرای تاخیری جاوا اسکریپت، ممکن است عناصر بارگیری تاخیری " +"واقع در ویوپورت را تجربه کنید که باید فورا ظاهر شوند - به عنوان مثال: " +"اسلایدر، سربرگ، فهرست." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"اگر به دید فوری نیاز دارید، روی فایل‌هایی که نباید به تأخیر بیفتند، در زیر " +"کلیک کنید. این انتخاب به کاربران کمک می کند تا فوراً با عناصر تعامل داشته " +"باشند." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"نشانی های اینترنتی یا کلمات کلیدی را مشخص کنید که بتوانند درون خطی یا فایل " +"های جاوا اسکریپت را شناسایی کنند تا از تأخیر اجرا حذف شوند (یکی در هر خط)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "رسانه" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "بارگذاری تنبل، ابعاد تصویر" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "بهینه‌سازی خودکار" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "بارگزاری تنبل" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"این گزینه باعث می‌شود زمان بارگذاری تصاویر، آی‌فریم‌ها و ویدیو‌ها به صورت " +"بارگذاری آن‌ها هنگام قرار گرفتن در قسمت قابل مشاهده صفحه، به شکل واقعی و " +"محسوس کاهش یابد. همچنین (تعداد درخواست‌های) HTTP نیز کاهش خواهد یافت. " +"%1$sاطلاعات بیشتر%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"بارگذاری تنبل در حال حاضر فعال است در%2$s. اگر می خواهید از بارگذاری تنبل " +"موشک وردپرس استفاده کنید، این گزینه %2$s را غیرفعال کنید." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "ابعاد تصویر" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"ویژگی های عرض و ارتفاع را به تصاویر بدون آن اضافه کنید. به جلوگیری از تغییر " +"چیدمان و بهبود تجربه خواندن برای بازدیدکنندگان کمک می کند.%1$s راهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "فعال‌سازی برای تصاویر" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"در حال حاضر بارگذاری تنبل تصاویر در %2$s فعال است. اگر می خواهید از " +"%1$sبارگذاری تنبل استفاده کنید. این گزینه را در %2$s غیرفعال کنید." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "فعالسازی برای تصاویر پس ضمینه CSS" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "فعال سازی برای آی‌فریم‌ها و ویدیوها" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "جایگزینی آی‌فریم یوتیوب با تصویر پیش‌نمایش" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "جایگزین iframe YouTube با تصویر پیش نمایش با %2$s سازگار نیست." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"در صورتی که تعداد زیادی ویدیو از یوتیوب داخل صفحه خود داشته باشید، این گزینه" +" به طور قابل ملاحظه‌ای سرعت شما را افزایش خواهد داد." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "تصاویر یا iframe های مستثنی شده" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"کلمات کلیدی (مانند نام فایل تصویر ، کلاس CSS ، دامنه) را از تصویر یا کد " +"iframe حذف کنید (یکی در هر خط) مشخص کنید.%1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "افزودن ابعاد به تصاویر بدون ابعاد" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "ایجاد فایل کش، پیش بارگذاری فونت‌ها" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "پیش‌بارگذاری کش" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"وقتی پیش بارگذاری را فعال می کنید، WP Rocket به طور خودکار نقشه های سایت شما" +" را شناسایی می کند و همه URL ها را در پایگاه داده ذخیره می کند. این افزونه " +"مطمئن می شود که کش شما همیشه از قبل بارگذاری شده است." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "لینک‌های پیش بارگذاری" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"پیش بارگذاری لینک با بارگیری صفحه ای که کاربر روی لینک موس خود را قرار می " +"دهد ، زمان بارگذاری را بهبود می بخشد. %1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "پیش‌دریافت درخواست DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"پیش‌دریافت درخواست DNS باعث افزایش سرعت بارگذاری فایل‌های خارجی به خصوص بر " +"روی شبکه‌های موبایلی خواهد شد" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "پیش بارگذاری فونت‌ها" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"با کمک به مرورگرها برای کشف فونت در فایل های CSS ، عملکرد را بهبود می " +"بخشد.%1$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "فعالسازی پیش پارگذاری" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "مستثنی کردن URL ها" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"برای مستثنی کردن URLها از پیش بارگذاری وارد کنید (یکی در هر خط).%1$sاطلاعات " +"بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "آدرس‌ها برای پیش‌دریافت" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"میزبان‌های خارجی را برای واکشی مشخص کنید(بدونhttp:، یکی درهر " +"خط)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "فونت‌ها برای پیش بارگذاری" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"آدرس های اینترنتی فایلهای فونت را که باید بارگیری شوند (یکی در هر خط) مشخص " +"کنید.فونت ها باید در دامنه خود یا دامنه ای که در برگه CDN مشخص کرده اید " +"میزبانی شوند." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"بخش دامنه URL به طور خودکار برداشته می شود.
    پسوند فونت های مجاز شامل: " +"otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "پیش بارگذاری لینک را فعال کنید" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "قوانین پیشرفته" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "قوانین کش دقیق" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "برگه‌های حساس مثل ورود\\خروج باید از کش مستثنی شوند." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "ووکامرس" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "دانلود آسان دیجیتال EDD" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    برگه‌های سبد خرید، پرداخت و \"حساب کاربری من\" که در " +"%1$s%2$s%3$s تعیین شده‌اند تشخیص داده خواهند شد و به صورت " +"پیش‌فرض هرگز کش نخواهند شد." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "کوکی‌هایی که هرگز کش نخواهند شد" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "کش کردن کوئری استرینگ‌(ها)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "" +"%1$sکش کردن کوئری استرینگ‌ها%2$s باعث می‌شوند که پارامترهای متد GET به اجبار" +" کش شوند." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"آدرس برگه‌ها یا نوشته‌هایی که هرگز نباید کش شوند را تعیین کنید (در هر خط " +"یکی)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"قسمت نام دامنه آدرس به صورت خودکار حذف خواهد شد.
    از (.*) برای تعیین چند" +" آدرس از یک مسیر استفاده کنید." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"شناسه های کامل یا جزئی کوکی ها را مشخص کنید که وقتی در مرورگر بازدیدکننده " +"تنظیم می شوند ، از ذخیره شدن صفحه جلوگیری شود (یکی در هر خط)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"رشته‌های user agentی که هرگز نباید صفحات را کش شده مشاهده کنند را تعیین کنید" +" (در هر خط یکی)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "برای تشخص قسمت‌های مختلف رشته user agent از (.*)استفاده کنید." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"آدرس‌هایی که مایل هستید فارغ از اینکه نوشته یا برگه‌ای بروزرسانی شده، همیشه " +"از کش حذف شوند را تعیین کنید (در هر خط یکی)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "کوئری استرینگ‌ها برای کش شدن را تعیین کنید (در هر خط یکی)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "بهینه‌سازی، کاهش نفخ" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "پاک‌سازی نوشته" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"نوشته‌های بازبینی و پیش‌نویس به طور دائم حذف خواهند شد. اگر به نگه‌داری " +"بازبینی‌ها و پیش‌نویس‌ها نیاز دارید این گزینه را استفاده نکنید." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "پاک‌سازی دیدگاه‌ها" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "دیدگا‌ه‌های اسپم و داخل زباله‌دان به طور دائم حذف خواهند شد." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "پاک‌سازی داده‌های گذرا" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"داده‌های گذرا تنظیمات موقتی هستند. حذف آن‌ها ایمن است. در صورتی که افزونه‌ها" +" به این داده‌ها نیاز داشته باشند به صورت خودکار ایجاد خواهند شد." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "پاک‌سازی پایگاه داده" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "بهینه سازی جداول دیتابیس" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "پاک‌سازی خودکار" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s بازبینی در پایگاه داده شما وجود دارد." +msgstr[1] "%s بازبینی در پایگاه داده شما وجود دارد." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s پیش‌نویس در پایگاه داده شما وجود دارد." +msgstr[1] "%s پیش‌نویس در پایگاه داده شما وجود دارد." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s نوشته داخل زباله‌دان در پایگاه داده شما وجود دارد." +msgstr[1] "%s نوشته داخل زباله‌دان در پایگاه داده شما وجود دارد." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s دیدگاه اسپم در پایگاه داده شما وجود دارد." +msgstr[1] "%s دیدگاه اسپم در پایگاه داده شما وجود دارد." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s دیدگاه در زباله‌دان شما وجود دارد." +msgstr[1] "%s دیدگاه در زباله‌دان شما وجود دارد." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "همه داده‌های گذرا" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s داده گذرا در پایگاه داده شما وجود دارد." +msgstr[1] "%s داده گذرا در پایگاه داده شما وجود دارد." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "بهینه‌سازی جدول‌ها" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s جدول برای بهینه‌سازی در پایگاه داده شما وجود دارد." +msgstr[1] "%s جدول برای بهینه‌سازی در پایگاه داده شما وجود دارد." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "برنامه‌ریزی پاک‌سازی خودکار" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "دوره تکرار" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "روزانه" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "هفتگی" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "ماهیانه" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "CDN خود را سازگار کنید" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"آدرس همه فایل‌های استاتیک (CSS، JS، تصاویر) با استفاده از CNAME (هایی) که " +"شما تعیین کرده‌اید بازنویسی خواهند شد." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"برای سرویس هایی مانند Cloudflare و Sucuri ضروری نیست. لطفا " +"%1$sافزودنی‌های%2$s موجود ما را مشاهده کنید." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"%1$s%2$l افزودنی%3$s اکنون فعال است. پیکربندی تنظیمات CDN برای %2$l ضروری " +"نیست." +msgstr[1] "" +"%1$s%2$l افزودنی%3$s اکنون فعال است. پیکربندی تنظیمات CDN برای %2$l ضروری " +"نیست." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "فعالسازی شبکه تحویل محتوا" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME (های) CDN" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "CNAME (ها) را اینجا تعیین کنید" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"آدرس فایل‌(هایی) که نباید از طریق CDN بارگذاری شوند را تعیین کنید.(هرخط یک " +"آدرس)" + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"قسمت نام دامنه آدرس به صورت خودکار حذف خواهد شد.
    برای مستثنی کردن همه " +"فایل‌های هم نوع موجود در یک مسیر از (.*) استفاده کنید." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "ضربان Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "کنترل API سرویس WordPress Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"کاهش یا غیرفعال کردن فعالیت Heartbeat API می تواند به ذخیره برخی از منابع " +"سرور شما کمک کند." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "کاهش یا غیرفعال کردن فعالیت Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"با کاهش فعالیت ، فرکانس Heartbeat از یک ضربه در هر دقیقه به یک ضربه در هر 2 " +"دقیقه تغییر می کند." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"با غیرفعال کردن کامل Heartbeat ممکن است افزونه ها و قالب ها با استفاده از " +"این API خراب شوند." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "محدود نکنید" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "کاهش فعالیت" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "غیرفعال‌سازی" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "کنترل Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "رفتار در پس زمینه" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "رفتار در ویرایشگر نوشته" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "رفتار در frontend" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "افزودنی‌ها" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "افزودن ویژگی‌های بیشتر" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "افزودنی‌های موشک با یک کلیک" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"افزودنی‌های موشک با یک کلیک ویژگی‌هایی هستند که گزینه‌ها موجود را بدون نیاز " +"به تنظیمات جدید گسترش می‌دهند. برای فعال‌سازی گزینه \"فعال\" را از این صفحه " +"فعال کنید." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "افزودنی‌های موشک" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" +"افزودنی‌های موشک ویژگی‌های تکمیلی هستند که گزینه‌های موجود فعلی را گسترش " +"می‌دهند." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "حساب کاربری Cloudflare خود را با این افزودنی ادغام کنید." + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"جهت استفاده از گزینه‌هایی مثل حذف کش Cloudflare و فعال‌سازی تنظیمات بهینه با" +" موشک وردپرس آدرس ایمیل حساب کاربری خود، کلید عمومی وب سرویس و دامنه خود را " +"تعیین کنید." + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sبرنامه ریزی برای استفاده از بهینه سازی پلت فرم خودکار(APO)?%2$sفقط " +"پلاگین رسمی کلادفلیر را فعال کرده و آن را پیکربندی کنید. موشک وردپرس به طور " +"خودکار سازگاری را فعال می کند." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "وارنیش" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" +"اگر بر روی سرور شما وارنیش اجرا شده است، باید این افزودنی را فعال کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"هر بار که موشک وردپرس کش خود را پاک‌سازی می‌کند، کش وارنیش هم به منظور " +"اطمینان از به روز بودن محتوا، پاک خواهد شد.
    %1$sکسب اطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "سازگاری WebP" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "بهبود سازگاری مرورگر با تصاویر WebP." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"اگر می خواهید راکت وردپرس تصاویر WebP را به مرورگرهای سازگار ارائه دهد ، این" +" گزینه را فعال کنید. لطفاً توجه داشته باشید که راکت وردپرس نمی تواند تصاویر " +"WebP را برای شما ایجاد کند. برای ایجاد تصاویر WebP توصیه می کنیم از " +"%1$sImagify%2$s استفاده کنید. %3$sراهنمایی%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "کش Sucuri را حذف کن هنگامی که کش موشک وردپرس را حذف می کنید." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"کلید API خود را برای پاک کردن کش Sucuri هنگام پاک شدن کش موشک وردپرس ارائه " +"دهید." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "با این افزونه کش Sucuri را همگام سازی کنید." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "اعتبارهای Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "تنظیمات Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "کلید API عمومی:" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "پیدا کردن کلید API شما" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "ایمیل حساب کاربری" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "شناسه ناحیه" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "حالت توسعه" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"حالت توسعه به طور موقت بر روی وبسایت خود فعال کنید. این تنظیم بعد از گذشت 3 " +"ساعت غیرفعال خواهد شد. %1$sکسب اطلاعات بیشتر%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "تنظیمات بهینه‌سازی" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "افزایش خودکار تنظیمات Cloudflare جهت سرعت، بهره‌وری و هماهنگی بیشتر." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "پروتکل نسبی" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"تنها باید با ویژگی SSL منعطف Cloudflare استفاده شود. آدرس فایل‌های استاتیک " +"(CSS, JS, images) جهت استفاده از // به جای http:// یا https:// بازنویسی " +"خواهند شد." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "اعتبارهای Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"شناسه API فایروال (برای افزونه)، باید در فرمت {32 characters}/{32 " +"characters}:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "پیدا کردن کلید API شما" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"افزودنی Sucuri : شناسه API فایروال Sucuri باید به فرمت{32 " +"characters}/{32 characters} باشد." + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"متاسفیم! افزودن/(.*) در قوانین پیشرفته > هرگز کش نکن URL(s) ذخیره نشد به " +"دلیل اینکه کش و بهینه سازی برای هر برگه در سایت شما غیرفعال است." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "درون‌ریزی، برون‌ریزی، عقب‌گرد" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "بهینه‌سازی تصویر" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "تصاویر خود را فشرده کنید" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "آموزش‌ها" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "شروع به کار و نحوه فیلمبرداری" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "مدت زمان کش موشک وردپرس به اتمام رسیده است" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "مقدار WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "مقدار WP_CACHE باید true باشد تا کش موشک وردپرس به درستی کار کند" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "مقدار WP_CACHE به true تنظیم شده است" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "مقدار WP_CACHE تنظیم نشده است" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "مقدار WP_CACHE به false تنظیم شده است" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "تاریخ صورتحساب بعدی" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "بدون اشتراک" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "اشتراک RocketCDN شما اکنون فعال است." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" +"برای استفاده از RocketCDN ، بجای CNAME خود از %1$s%2$s%3$s استفاده کنید." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sراهنمایی%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"ما نتوانستیم قیمت فعلی را دریافت کنیم زیرا RocketCDN API یک کد خطای " +"غیرمنتظره را برگرداند." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "RocketCDN دردسترس نیست. بعدا تلاش کنید" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "حذف کش RocketCDN شکست خورد:پارامتر شناسه وجود ندارد." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "حذف کش RocketCDN شکست خورد:کد کاربر وجود ندارد." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "حذف کش RocketCDN شکست خورد:API یک کد پاسخ غیر منتظره را بازگرداند." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "حذف کش RocketCDN شکست خورد:API پاسخی خالی داد." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "حذف کش RocketCDN شکست خورد:API پاسخی غیرمنتظره داد." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "خطای پاک کردن حافظه RocketCDN:%s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "حذف کش RocketCDN موفق بود." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN فعال شد" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN غیرفعال شد" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "تا %s معتبر است!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "سرعت بخشیدن به وب سایت شما به لطف:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "بیشترین عملکرد شبکه توزیع محتوا (CDN) با%1$s پهنای باند نامحدود%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "پیکربند آسنا:%1$sبهترین تنظیمات CDN %2$s بطور خودکار اعمال می شود" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"ادغام موشک وردپرس: گزینه CDN بصورت خودکار%1$sپیکربندی می شود%2$s در افزونه " +"ما" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "اطلاعات بیشتر راجع به RocketCDN" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*$%1$s/ماه برای 12 ماه آنگاه $%2$s/ماه. شما می توانید اشتراک خود را هرگاه که" +" خواستید لغو کنید." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "صورتحساب ماهانه" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "شروع کنید" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "حذف این بنر" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" +"با RocketCDN، شبکه تحویل محتوای WP Rocket سرعت سایت خود را افزایش دهید." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "ادامه مطلب" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "سرویس RocketCDN در دامنه محلی و سایت های آزمایشی دردسترس نیست." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "خرید RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "جدید!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" +"با RocketCDN، شبکه تحویل محتوای WP Rocket سرعت سایت خود را افزایش دهید!" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "هر دقیقه" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "بازسازی مسیر بحرانی CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "بازسازی مسیر قطعی CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "بازسازی مسیر قطعی CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "این ویژگی برای انواع نوشته‌های منتشر نشده قابل دسترس نیست." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l برای استفاده از این ویژگی." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "انتشار %s" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "فعالسازی بارگیری CSS بصورت نابهنگام توسط تنظیمات موشک وردپرس" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "فعالسازی بارگیری CSS بصورت نابهنگام در گزینه بالا" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "CSS بحرانی برای %1$s تولید نشده است. خطا: %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"CSS بحرانی برای %1$s موبایل ایجاد نشده است. خطا: API پاسخ خالی بر می گرداند." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "CSS بحرانی برای %1$s تولید نشده است خطا: API پاسخ خالی بر می گرداند." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "CSS بحرانی برای %1$s در موبایل تولید شد." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "CSS بحرانی برای %1$s. تولید نشد." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"CSS بحرانی برای %1$s موبایل ایجاد نشده است. خطا: API پاسخ نامعتبر بر می " +"گرداند." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"CSS بحرانی برای %1$s تولید نشده است.خطا: API پاسخ نامعتبر بر می گرداند." + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "خطا: %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "ایجاد CSS بحرانی در حال اجرا می باشد." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "به %1$sتنظیمات موشک وردپرس%2$s برای رهگیری پیشرفت مراجعه کنید." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"تولید CSS‌بحرانی در حال اجرا است: %1$d از %2$d نوع صفحه کامل شده است. (برای " +"مشاهده پیشرفت این صفحه را رفرش کنید)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "تولید CSS‌بحرانی برای %1$d از %2$d نوع صفحه کامل شد." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "ایجاد CSS بحرانی یک یا چند خطا دارد." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "اطلاعات بیشتر." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"به شدت توصیه میشه%1$sحذف CSSهای بلااستفاده را بروزرسانی کنید%2$sبرای بهینه " +"سازی CSS. بارگیری ناهمزمان CSS همیشه به عنوان پشتیبان در دسترس است." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "با گزینه قدیمی بمانید" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"CSS بحرانی برای %1$s موبایل ایجاد نشده است.خطا: پوشه مقصد نمی تواند ایجاد " +"شود." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"CSS بحرانی برای %1$s تولید نشده است.خطا: پوشه مقصد نمی تواند ایجاد شود." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "فایل CSS بحرانی برای موبایل موجود نیست" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "CSS بحرانی وجود ندارد" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "CSS بحرانی موبایل نمی تواند حذف شود" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "CSS بحرانی نمی تواند حذف شود" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "CSS بحرانی موبایل برای %1$s تولید نشد." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "CSS بحرانی برای %s در حال پردازش است." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "CSS بحرانی موبایل برای %s ایجاد شد." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "CSS بحرانی برای %s. تولید شد." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "CSS بحرانی با موفقیت حذف شد." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "استایل CSS بحرانی موباید برای %1$s متوقف شد. مجدد تلاش کنید." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"CSS بحرانی برای %1$s وقفه افتاده است. لطفا کمی بعدتر مجدد امتحان کنید." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "ایجاد CPCSS موبایل فعال نشد." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "نوشته درخواست شده موجود نیست." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "برای نوشته های منتشر نشده نمی توان CPCSS ایجاد کرد." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "برنامه ریزی خالی کردن کش" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "برنامه ریزی بهینه سازی دیتابیس" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "پروسه بهینه سازی دیتابیس" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "پیش بارگذاری" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "پروسه تولید CSS بحرانی" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "تمدید کنید تا دیر نشده، شما فق طپرداخت می کنید%1$s%2$s%3$s!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"تمدید با %1$s%2$sتخفیف%3$sقبل از اینکه دیر شود، شما فقط %4$s%5$s%6$s پرداخت " +"می کنید!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "تمدید لایسنس برای یک سال دیگر%1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"تمدید لایسنس برای یک سال دیگر با %1$s%3$sتخفیف%2$sسریعتر: شما " +"فقط%1$s%4$s%2$sپرداخت میکنید!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "تمدید کنید تا دیر نشده، شما فقط%1$s%3$s%2$sپرداخت میکنید." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"تمدید با %1$s%2$sتخفیف%3$sقبل از اینکه دیر شود، شما فقط %1$s%4$s%3$s پرداخت " +"می کنید!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"برای استفاده از این ویژگی نیازمند لایسنس معتبر هستید.%1$sاکنون تمدید " +"کنید%2$sقبل از حذف دسترسیتان" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"برای فعالسازی این گزینه به لایسنس فعال نیاز دارید.%1$sاکنون تمدید کنید%2$s" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"برای فعالسازی این گزینه به لایسنس فعال نیاز دارید.%1$sاطلاعات بیشتر%2$s" + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"بهره مندی از %1$s برای بالابردن سرعت سایت: %2$s گرفتن %3$s%4$s تخفیف%5$sبرای" +" %3$s ارتقای لایسنس شما به پلاس یا نامحدود!%5$s" +msgstr[1] "" +"بهره مندی از %1$s برای بالابردن سرعت سایت: %2$s گرفتن %3$s%4$s تخفیف%5$sبرای" +" %3$s ارتقای لایسنس شما به نامحدود!%5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "نامحدود" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "%s تخفیف" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "%s پیشنهاد زنده است!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "عجله کنید! تخفیف پایان میابد در:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "دقایق" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "ثانیه" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "اکنون ارتقاء دهید" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "ویژگی Optimize CSS Delivery غیرفعال است." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"دیگر نمی توانید از گزینه های Remove Unused CSS یا Load CSS Asynchronously " +"استفاده کنید." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"شما به %1$sلایسنس فعال%2$sبرای قابلیت Optimize CSS Delivery نیاز دارید،که به" +" توصیه PageSpeed Insights پرداخته و عملکرد صفحه شما را بهبود می بخشد." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "تمدید کنید" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "به زودی دسترسی به برخی از ویژگی ها را از دست خواهید داد" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"شما به لایسنس%1$sفعال نیاز دارید تا بهینه سازی تحویل css ادامه یابد%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"ویژگی‌های Remove Unused CSS و بارگذاری css به صورت ناهمزمان گزینه‌های عالی " +"برای رسیدگی به توصیه‌های PageSpeed Insights و بهبود عملکرد وب‌سایت شما " +"هستند." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "آنها به طور خودکار%1$sغیرفعال میشوند در%3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "لایسنس شما نامعتبر است!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"سایت شما می تواند از این هم سریعتر شود با استفاده از%1$sویژگی حدید و بهینه " +"سازی%2$s. 🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"لایسنس%1$s افزونه شما در حال انقضاء%2$sاست: به زودی دسترسی به بروزرسانی " +"محصول و پشتیبانی را نخواهید داشت." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "سایت های بیشتری را پرسرعت کنید" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"با ارتقاء لایسنس خود می توانید سایت های بیشتری را به موشک وردپرس مجهز کنید. " +"برای ارتقاء، فقط کافی مبلغ%1$sتفاوت%2$sبین لایسنس فعلی و لایسنس جدید را " +"پرداخت نمایید." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sN.B.%2$s: ارتقاء لایسنس شما تفاوتی در تاریخ انقضاء ایجاد نمی کند" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "ذخیره$%s" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s سایت" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "ارتقاء به %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"می توانید با ارتقاء لایسنس از موشک وردپرس در وب سایت های بیشتری استفاده کنید" +" (فقط تفاوت قیمت بین لایسنس های فعلی و جدید خود را پرداخت خواهید کرد)." + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:45 +msgid "LazyLoad CSS backgrounds" +msgstr "بارگذاری تنبل پس ضمینه CSS" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "آنالیتیکس / تبلیغات" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "افزونه ها" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "قالب ها" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"برای دریافت آخرین نسخه لیست ها از سرور ما به یک لایسنس فعال نیاز دارید." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "نمی توان لیست های به روز شده را از سرور دریافت کرد." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "لیست ها به روز هستند." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "لیست‌ها به‌روزرسانی نشد." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "لیست ها با موفقیت به روز شدند." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "لیست پیشفرض" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "به تأخیر انداختن لیست های لغو اجرای جاوا اسکریپت" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "لیست افزونه های ناهماهنگ" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$sلطفا منتظر بمانید:%2$sثانیه.سرویس Remove Unused CSS در حال بررسی " +"برگه‌های سایت شماست." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: فایل CSSهای بکار رفته در صفحه خانه بررسی شد. افزونه به ایجاد CSSهای " +"استفاده شده ادامه می دهد تا%2$sآدرس صفحه هر%3$s ثانیه." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "ما پیشنهاد می کنیم %1$sپیش بارگذاری%2$s برای نتایج سریعتر فعال کنید." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "برای یادگیری پروسه %1$sمستندات%2$s مارا بخوانید." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"ما نتوانستیم CSS استفاده شده را ایجاد کنیم زیرا شما از نسخه نال شده WP " +"Rocket استفاده می کنید. برای استفاده از قابلیت Remove Unused CSS و بهبود " +"بیشتر عملکرد وب سایت خود، به یک مجوز فعال نیاز دارید." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "برای دریافت لایسنس %1$sتخفیفی اینجا کلیک کنید!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"به نظر می رسد افزونه امنیتی یا فایروال سرور از دسترسی افزونه به بخش حذف CSS " +"های بلااستفاده جلوگیری می کند. آی پی های موجود در %1$sمستندات%2$sباید در " +"لیست مجازها باشد:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- در افزونه امنیت، اگر شما از یکی از آن ها استفاده کنید" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "- در فایروال سرور. شرکت هاست شما کمکتان می کند" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: نمی تواند ایجاد شود%2$s جدول در پایگاه داده که نیاز است برای حذف CSS " +"های بلا استفاده برای کارکرد صحیح آن. لطفا برای اطلاعات بیشتر%3$sپشتیبانی " +"ما%4$sتماس بگیرید." + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:314 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: قابلیت CSSهای استفاده شده فعال نیست!" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:336 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: کش CSS استفاده شده پاک شد!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "پاکسازی CSS استفاده شده برای این URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "WP Rocket حذف کارهای معلق Unused CSS" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "WP Rocket پاکسازی حذف کارهای ناموفق CSS های بلااستفاده" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s:سرویس پیش بارگذاری اکنون فعال است. پس از پیش بارگذاری، هر زمان که تمام " +"صفحات شما پاک شوند، به کش کردن آن ها ادامه می دهد. هیچ اقدام دیگری لازم " +"نیست." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "کارهای معلق پیش بارگذاری" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "پیش بارگذاری برگرداندن کارهای ناموفق گیر کرده است" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"به نظر می رسد مشکلی در تأیید لایسنس شما وجود دارد. لطفاً پیام خطا را در زیر " +"مشاهده کنید." +msgstr[1] "" +"به نظر می رسد مشکلی در تأیید لایسنس شما وجود دارد. لطفاً پیام خطا را در زیر " +"مشاهده کنید." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "نوع سرور:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "نسخه PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "نسخه وردپرس:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "وردپرس شبکه:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "پوسته فعلی:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "زبان فعلی سایت:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "افزونه‌های فعال:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "نام‌های افزونه‌های فعال" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "تنظیمات ناشناس موشک وردپرس:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "کدام تنظیمات موشک وردپرس فعال هستند" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "داده لایسنس شما معتبر نیست." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "برای رفع مشکل، لطفا با %1$sپشتیبانی%2$s تماس بگیرید." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"اعتبارسنجی لایسنس انجام نشد. سرور ما نتوانست درخواست وب سایت شما را حل کند." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"سعی کنید روی%1$sذخیره تغییرات%2$s در زیر کلیک کنید. اگر همچنان خطا وجود " +"داشت، %3$sراهنمایی%4$s را دنبال کنید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"اعتبارسنجی لایسنس شکست خورد. شاید شما از نسخه نال استفاده می کنید. لطفا " +"موارد زیر را انجام دهید:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "وارد شدن به %1$sحساب کاربری%2$s موشک وردپرس" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "دانلود فایل فشرده" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "نصب مجدد" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "اگر حساب کاربری موشک وردپرس ندارید، لطفا %1$sخرید کنید%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"اعتبارسنجی لایسنس شکست خورد. این حساب کاربری در پایگاه داده ما وجود ندارد." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "برای رفع مشکل با پشتیبانی تماس بگیرید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "اعتبارسنجی لایسنس شکست خورد. این حساب کاربری بلاک شده است." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "برای کسب اطلاعات بیشتر%1$sراهنمایی%2$s را مطالعه کنید." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"سعی کنید روی%1$sذخیره تغییرات%2$s در زیر کلیک کنید. اگر همچنان خطا وجود " +"داشت، %3$sراهنمایی%4$s را دنبال کنید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "لایسنس شما نامعتبر است." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "مطمئن شوید که %1$sلایسنس موشک وردپرس%2$s فعال دارید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "شما به اندازه لایسنس فعلی سایت اضافه کرده اید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"حساب کاربری%1$sخودرا%2$sارتقاء دهید یا%3$sلایسنس خود را به دامنه فعلی %2$s " +"منتقل کنید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "این وب سایت مجاز نمی باشد." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "با %1$sپشتیبانی%2$sتماس بگیرید." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "این لایسنس شناسایی نشد." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "اگر مشکل همچنان برقرار بود با %1$sپشتیبانی%2$s تماس بگیرید." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "اعتبارسنجی لایسنس شکست خورد: %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "لاگ فایل موجود نیست." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "لاگ فایل قابل خواندن نیست." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "لاگ ها درون فایل ذخیره نشده است." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"هنگامی که Varnish روی دستگاه شما فعال می شود ، پاکسازی خودکار لاک به طور " +"خودکار فعال می شود %s سرور." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"به نظر می رسد نصب شما فاقد فایل های اصلی Kinsta است که حذف کش و CDN را " +"مدیریت می کند، که از نصب Kinsta شما و کارکرد صحیح موشک وردپرس جلوگیری می " +"کند. لطفا پشیبانی Kinsta از طرق حساب %1$sMyKinsta%2$s برایحل این مشکل در " +"ارتباط باشید." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:125 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s:Cloudflare's HTTP/2 Server Push هماهنگ نیست با ویژگی حذف فایل های " +"Unused CSS و Combine CSS. پیشنهاد می شود غیرفعال کنید." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:168 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"سایت شما از پلاگین رسمی کلادفلیر استفاده می کند. ما پاکسازی خودکار کلادفلیر " +"را برای سازگاری فعال کرده ایم. اگر APO را فعال کرده اید، سازگار است." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:169 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"کش کلادفلیر هر بار که موشک وردپرس کش خود را پاک می کند پاک می شود تا اطمینان" +" حاصل شود که محتوا همیشه به روز است." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:213 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sموشک وردپرس:شما از \"Dynamic Cookies Cache\" استفاده می کنید. Cloudflare" +" APO هنوز با این ویژگی سازگار نیست.%2$s" + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:219 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"باید Cloudflare APO را غیرفعال کنید یا قالب/افزونه‌ای را بررسی کنید که به " +"توسعه‌دهندگان «Dynamic Cookies Cache» نیاز دارد تا راهی جایگزین برای سازگاری" +" با کش صفحه باشد.%1$sاطلاعات بیشتر%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:270 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sموشک وردپرس%2$sشما از \"فایل های کش جدا برای دستگاه های تلفن همراه\" " +"استفاده می کنید. باید «Cache by Device Type» را فعال " +"کنید%3$sتنظیمات%5$sCloudflare APO برای اینکه نسخه مناسب کش را ارائه " +"دهید.%4$sاطلاعات بیشتر%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:291 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sموشک وردپرس:%2$sشما «Cache by Device Type» را در Cloudflare APO فعال " +"کرده‌اید. اگر فکر می‌کنید که لازم است وب‌سایت حافظه پنهان متفاوتی در تلفن " +"همراه و دسک‌تاپ داشته باشد، پیشنهاد می‌کنیم «فایل‌های کش جداگانه برای " +"دستگاه‌های موبایل» را فعال کنید تا مطمئن شوید حافظه پنهان تولید شده دقیق " +"است." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: حالت PageSpeed با این افزونه سازگار نیست و ممکن است " +"باعث اتفاق غیرمنتظره شود.%2$s اطلاعات بیشتر%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sموشک وردپرس:%2$sما متوجه شده‌ایم که ویژگی Autoptimize's JavaScript " +"Aggregation فعال است. اجرای تاخیری جاوا اسکریپت WP Rocket روی فایلی که ایجاد" +" می کند اعمال نخواهد شد.توصیه می کنیم%1$sJavaScript Aggregation%2$s را به " +"طور کامل برای بهترین عملکرد افزونه غیرفعال کنید." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sموشک وردپرس: %2$sما متوجه شده‌ایم که ویژگی Autoptimize's Aggregate " +"Inline CSS فعال است. WP Rocket's Load CSS Asynchronously به درستی کار نخواهد" +" کرد.توصیه می کنیم%1$sAggregate Inline CSS%2$s را برای عملکرد بهتر افزونه " +"غیرفعال کنید." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"این افزونه از عملکرد صحیح افزونه موشک وردپرس جلوگیری می کند. غیرفعال کرده و " +"به جای آن از %1$sEzoic's nameserver integration%2$s استفاده نمایید." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "لطفا گزینه %s را برای تداخل با ویژگی های موشک وردپرس غیرفعال کنید:" +msgstr[1] "لطفا گزینه %s را برای تداخل با ویژگی های موشک وردپرس غیرفعال کنید:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"%1$s %2$sغیرفعالسازی ایموجی%3$sتداخل با موشک وردپرس%2$sغیرفعالسازی " +"ایموجی%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"%1$s %2$sGZIP compression%3$s تداخل با موشک وردپرس %2$sGZIP compression%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"%1$s %2$sbrowser caching%3$sتداخل با موشک وردپرس %2$sbrowser caching%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$spage caching%3$s تداخل با موشک وردپرس %2$spage caching%3$s" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"%1$s %2$sasset optimization%3$sتداخل با موشک وردپرس %2$sfile " +"optimization%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"حذف Unused CSS در حال حاضر در Perfmatters فعال است. اگر می خواهید از ویژگی " +"در WP Rocket استفاده کنید، این گزینه را در Perfmatters غیرفعال کنید." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"حذف خودکار CSS استفاده نشده در حال حاضر در RapidLoad Power-Up for " +"Autoptimize فعال شده است. اگر می خواهید از ویژگی WP Rocket's Remove Unused " +"CSS استفاده کنید، افزونه RapidLoad Power-Up for Autoptimize را غیرفعال کنید." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"تاخیر JS اکنون در %1$s فعال است. اگر می خواهید از تاخیر JS افزونه استفاده " +"کنید، %1$s غیرفعال کنید" + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"پوسته Divi بروزرسانی شده. پاکسازی CSS های بلا استفاده را انجام دهید. اگر " +"استایل ها یا طرح ها به مشکل خورده است." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "بارگیری CSS نابهنگام برای موبایل" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"وب سایت شما در حال حاضر از یک مسیر CSS بحرانی برای دسکتاپ و تلفن همراه " +"استفاده می کند." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "روی دکمه کلیک کنید تا CPCSS مخصوص موبایل برای سایت شما فعال شود." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "این یکباره است و این دکمه بعد از آن حذف می شود.%1$sراهنمایی%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"سایت شما اکنون از mobile-specific برای مسیر CSS بحرانی استفاده می کند. " +"%1$sراهنمایی%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "ایجاد CPCSS مخصوص موبایل" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "بازسازی مسیر قطعی CSS" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "CSS مسیر بحرانی ویژه را برای این نوشته ایجاد کنید.%1$sراهنمایی%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "این نوشته از CSS مسیر بحرانی مخصوص استفاده می کند. %1$sراهنمایی%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "به CPCSS پیش فرض بازگردید" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "با مشکلی مواجه هستید؟" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"همیشه لازم نیست که WP Rocket را هنگام مواجهه با هر مشکلی غیرفعال کنید. " +"بسیاری از آنها را می توان تنها با غیرفعال کردن برخی از گزینه ها برطرف کرد." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"توصیه ما؟ به جای غیرفعال کردن WP Rocket، از%1$s Safe Mode %2$sبرای غیرفعال " +"کردن سریع گزینه های LazyLoad، File Optimization و CDN استفاده کنید. سپس " +"بررسی کنید که آیا مشکل شما حل شده است یا خیر." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "آیا می خواهید از حالت ایمن ما برای عیب یابی WP Rocket استفاده کنید؟" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "بله اعمال کنید\"%1$sSafe Mode%2$s\"" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"و برون بری تنظیمات افزونه%1$s(توصیه می شود زیرا تنظیمات فعلی حذف خواهند " +"شد)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "خیر، این پیام را غیرفعال و به تعویق بیندازید" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 روز" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 روز" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 روز" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "همیشگی" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "انصراف" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "تایید" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +"%1$sراکت وردپرس%2$s%3$sدردسترس است.%4$sیادگیری بیشتر%5$sدرباره بروزرسانی ها " +"و بهبودها در این نسخه. شما نیاز دارید لایسنسی برای سایت خود فعال کنید، از " +"دستش ندید%6$sاکنون تمدید کنید%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "لیست های شامل و حذف را به روز کنید" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"لیست های سازگاری هر هفته به طور خودکار دانلود می شوند. اگر می خواهید آنها را" +" به صورت دستی به روز کنید، روی دکمه کلیک کنید.%1$s اطلاعات بیشتر%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "بروزرسانی لیست ها" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "فعالسازی بهینه سازی فونت گوگل" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"عملکرد فونت را بهبود می بخشد و چندین درخواست فونت را برای کاهش تعداد درخواست" +" های HTTP ترکیب می کند." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"بهینه سازی فونت گوگل اکنون برای سایت شما فعال شده است.%1$sراهنمایی%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "بهینه سازی فونت های گوگل" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "پاک‌سازی کش پس از" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "سی اس اس و جاوا اسکریپت" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "جاوا اسکریپت" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "سی اس اس" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "درون ریزی تنظیمات" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "وضعیت افزودنی" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "تغییر تنظیمات" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "تخلیه منابع کش شده RocketCDN برای وب سایت شما.%s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "یادگیری بیشتر" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "حذف کامل فایل های کش شده RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "کش Cloudflare" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "پاک‌سازی منابع کش شده برای وب‌سایت شما. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "پاک‌سازی فایل‌های کش Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "تبریک می‌گوییم!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "راکت وردپرس با موفیت فعال شده و بطور کامل کار می کند." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "وب سایت شما باید سریعتر بارگیری شود!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"گارانتی سرعت بالای سایت،موشک وردپرس خودکار 80% o عملکرد سایت را بهبود می " +"بخشد." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"ما همچنین گزینه هایی را که مزایای فوری وب سایت شما را ارائه می دهند فعال می " +"کنیم." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "گزینه‌ها را برای بهینه سازی بیشتر وبسایت خود مشاهده نمایید!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "حساب من" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "نوسازی اطلاعات" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "با" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "تاریخ انقضا" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "مشاهده حساب من" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "عملیات سریع" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "حذف همه فایل‌های کش شده" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "بازسازی مسیر قطعی CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "حذف کش CSS استفاده شده" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "سوالات متداول" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "هنوز مشکل شما حل نشده است؟" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "تیکی ارسال کنید و از پشتیبان‌های با دانش ما کمک بگیرید." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "درخواست پشتیبانی" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "پیش از اجرای پاک‌سازی از پایگاه داده خود نسخه پشتیبان تهیه کنید!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "" +"وقتی که بهینه‌سازی پایگاه داده انجام شد، راه برگشتی برای آن نخواهد بود." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "ذخیره تغییرات و بهینه سازی" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"%1$sموشک وردپرس%2$sساخته شده%3$sIMAGIFY%4$s %1$sبرای بهینه سازی تصاویر.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"فشرده سازی تصویر برای سریعتر شدن وب سایت شما ، در عین حفظ کیفیت تصویر." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "بیشتر در Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "برگه افزونه Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "سایت Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "نقدوبررسی افزونه فشرده سازی تصویر" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "نصب Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "موشک وردپرس قادر به فعال‌سازی لایسنس شما به صورت خودکار نیست." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "دنبال کنید %1$s یا ارتباط بگیرید%2$s برای شروع." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$sآموزش%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$sپشتیبانی%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "حذف همه فایل های کش Sucuri" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "اندازه فایل: %1$s.به تعداد ورودی ها:%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sدانلود فایل%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sحذف فایل%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "برون‌بری تنظیمات" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "دانلود فایل پشتیبان از تنظیمات شما" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "دانلود تنظیمات" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "عقب‌گرد" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "نسخه %s باعث بروز مشکل در وبسایت شما شده است؟" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"در اینجا می توانید به نسخه اصلی قبلی بازگردید.%sآنگاه برای پشتیبانی تماس " +"بگیرید با نا." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "نصب دوباره نسخه %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "حالت اشکال زدایی" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "یک فایل گزارش اشکال زدایی ایجاد کنید." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "شروع کنید" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "شروع به کار با موشک وردپرس" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "پیدا کردن بهترین تنظیمات برای سایت شما" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "چگونه بررسی کنیم که آیا موشک وردپرس سایت شما را ذخیره می کند یا خیر" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "چگونه سرعت سایت خود را اندازه گیری کنیم" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "پیش بارگذاری چگونه کار می کند" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "گذرندان Core Web vitals" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "چگونه با موشک وردپرس LCP را بهبود بخشیم" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "چگونه با موشک وردپرس FID را بهبود بخشیم" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "چگونه با موشک وردپرس CLS را بهبود بخشیم" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "عیب یابی" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "عیب یابی مشکلات نمایش با بهینه سازی فایل" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "چگونه می توان جاوا اسکریپت مناسب را برای حذف پیدا کرد" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "چگونه محتوای خارجی سایت شما را کند می کند" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "افزودنی Cloudflare راه اندازی کنید" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "تنظیمات موشک وردپرس" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "نسخه %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "نمایش ناحیه کناری" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"در زیر تمام داده‌هایی که موشک وردپرس %1$sدر صورت کسب اجازه از شما%2$s " +"جمع‌آوری خواهد کرد را مشاهده می‌کنید" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"موشک وردپرس هرگز نام دامنه یا آدرس ایمیلی (تنها برای فعال‌سازی لایسنس)، آدرس" +" آی پی یا کلید‌های وب‌سرویس ثانویه را منتقل نخواهد کرد." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "فعال‌سازی تجزیه و تحلیل موشک" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "این نقطه شروعی عالی برای حل برخی از مسائل رایج است." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "مستندات را بخوانید" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "موشک وردپرس به طور پیش فرض چه کاری برای شما انجام می دهد" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "چگونه سرعت بارگذاری وبسایت خود را به صورت صحیح اندازه بگیرید" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "آموزش ما را بررسی کنید و نحوه اندازه گیری سرعت سایت خود را بیاموزید." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "راهنمای ما را بخوانید" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "با تنظیمات بهینه موشک وردپرس برای تلفن همراه آشنا شوید." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "آزمایش و بهبود Google Core Web Vitals برای وردپرس." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "اطلاعات بیشتر" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "شما کش کاربران وارد شده به سایت را فعال نکرده‌اید." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"از یک مرورگر خصوصی برای بررسی سرعت وبسایت خود و ظاهر بصری آن استفاده کنید." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "به کمک نیاز دارید؟" diff --git a/languages/rocket-fi.mo b/languages/rocket-fi.mo new file mode 100644 index 0000000..7cb658e Binary files /dev/null and b/languages/rocket-fi.mo differ diff --git a/languages/rocket-fi.po b/languages/rocket-fi.po new file mode 100644 index 0000000..455c4f2 --- /dev/null +++ b/languages/rocket-fi.po @@ -0,0 +1,3558 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Riku Turunen , 2019\n" +"Language-Team: Finnish (https://www.transifex.com/wp-media/teams/18133/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Sivustosi palveluntarjoaja on %s. Olemme kytkeneet päälle Varnishin automaattisen tyhjennyksen yhteensopivuuden takaamiseksi." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML -sivukartat" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Esilataa sivukartta Jetpack-lisäosasta" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Havaitsimme sivukartan, jonka on generoinut %s -lisäosa. Voit valita tämän option esiladataksesi sen." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML -sivukartta" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML -sivukartta" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML -sivukartta" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML -sivukartta" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Tuki" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentaatio" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "UKK" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Asetukset" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Tyhjennä välimuisti" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s päivityksen peruutus" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$s Palataksesi WP Rocket %2$s tai %3$s, siirry lisäosat-sivulle %2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Asetusten tuonti epäonnistui: sinulla ei ole riittäviä oikeuksia." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Asetusten tuonti epäonnistui: ei ladattua tiedostoa." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Asetusten tuonti epäonnistui: epäkelpo tiedostonimi." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Asetusten tuonti epäonnistui: epäkelpo tiedostotyyppi." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Asetusten tuonti epäonnistui:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Asetusten tuonti epäonnistui: epäkelpo tiedostosisältö." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Asetukset tuotu ja tallennettu." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare development -tilan virhe: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare development -tila %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare cache level -virhe: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudfrale cache level asetettu: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare minification -virhe: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare minification %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Cloudflare rocket loader -virhe: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare browser cache -virhe: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Poissuljetut CSS -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Sulje pois inline-JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Pois suljetut JavaScript -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Välimuistista pois suljettavat URL-osoitteet" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Välimuistista pois suljettavat selain-agentit" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Tyhjennä aina välimuisti -osoitteet" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Sulje pois CDN:stä" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Tyhjennä välimuisti" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket -asetukset" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ei välimuistia tälle sivulle" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktivoi nämä asetukset tälle postaukselle:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad kuville" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad iframeille/videoille" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Kutista/yhdistä CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Kutista/yhdistä JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Puskuroi JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Aktivoi ensin %s -asetus." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sHuomio: %2$s Mikään näistä asetuksista ei pure, mikäli tämä postaus on suljettu pois välimuistista yleisissä välimuistin asetuksissa." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "%1$s ei ole aktivoitu riittämättömien kirjoitusoikeuksien vuoksi.
    Tee %2$s kirjoitettavaksi ja yritä deaktivointia uudelleen, tai pakota deaktivointi nyt:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Yksi tai useampi lisäosa on otettu käyttöön tai postettu käytöstä. Tyhjennä välimuisti mikäli ne vaikuttavat sivustosi ulkoasuun." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Seuraavat lisäosat eivät ole yhteensopivia tämän lisäosan kanssa ja saattavat aiheuttaa erikoisia tilanteita:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Ota pois käytöstä" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS ei ole virallinen lisäosa. Se estää joitakin WP Rocket:in ominaisuuksia toimimasta oikein. Ole hyvä ja poista se käytöstä mikäli törmäät ongelmiin." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Mukautettu osoiterakenne on pakollinen, jotta tämä lisäosa toimisi oikein. %2$sMene osoiterakenteen asetuksiin %3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Vianetsintä: %1$sKuinka antaa järjestelmän tiedostoille kirjoitusoikeus %2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s on käyttövalmisvalmis! %2$sTestaa sivusilatausaika %4$s, tai tsekkaa %3$s asetukset %4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Sallitko WP Rocketin kerätä ei-sensitiivistä diagnostiikkadataa verkkosivultasi?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Tämä auttaisi meitä parantamaan WP Rocketin toimintaa tulevaisuudessa." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Mitä tietoja keräämme?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Alla näet yksityiskohtaisesti kaiken datan jota WP Rocket kerää mikäli sallit sen. WP Rocket ei koskaan siirrä domainin nimitietoja, sähköpostiosoitteita (paitsi lisenssin vahvistuksen yhteydessä), IP-osoitteita, tai kolmannen osapuolen API-avaimia." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Kyllä, salli" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Ei kiitos" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Kiitos!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket kerää nyt seuraavat tiedot verkkosivustasi:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Välimuisti tyhjennetty." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Postauksen välimuisti tyhjennetty." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Avainsanan välimuisti tyhjennetty." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Käyttäjän välimuisti tyhjennetty." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Pysäytä esilataus" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Pakota deaktivointi" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Alla olevan koodin olisi pitänyt päätyä tähän tiedostoon:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s konfigurointi ei onnistunut puuttuvien kirjoitusoikeuksien vuoksi." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Tiedosto/kansio: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Versiot" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automaattiset luonnokset" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Postaukset roskakorissa" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Roskapostikommentit" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Kommentit roskakorissa" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transientit" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Taulut" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Debug -tiedostoa ei voitu poistaa." + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Ei saatavilla" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Lisenssi" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API-avain" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Sähköpostiosoite" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Kojelauta" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Pyydä apua, tilin tiedot" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Oma status" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytiikka" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Annan luvan jakaa anonymisoitua dataani kehitystiimille auttaakseni WP Rocket parentelua. %1$sMitä tietoja keräämme?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Välimuisti" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Välimuistin perusasetukset" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobiillivälimuisti" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Nopeuta sivustoasi mobiilikäyttäjille." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Havaitsimme lisäosan, joka tarvitsee erillisen välimuistin mobiililaitteille. Asetimme tämän asetuksen päälle yhteensopivuuden takaamiseksi." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Käyttäjävälimuisti" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sKäyttäjävälimuisti%2$s on väkevä ominaisuus, jos sinulla on käyttäjäkohtaista sisältöä sivullasi." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Välimuistin elinikä" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Salli välimuisti kirjautuneille WordPress -käyttäjille" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Salli välimuisti mobiililaitteille" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Erillinen välimuisti mobiililaitteille" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Määritä aika, jonka jälkeen globaali välimuisti tyhjennetään
    (0 = ei aikarajaa)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Pienennä elinikä kymmeneen tuntiin tai pienemmäksi, jos huomaat ongelmia jotka tuntuvat katoavan säännöllisin väliajoin. %1$sMiksi?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuuttia" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Tuntia" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Päivää" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Tiedostojen optimointi" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimoi CSS & JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Kutistus on aktivoitu Autoptimize:ssä. Jos haluat käyttää %2$s -kutistusta, poista kyseiset asetukset Autoptimize:stä." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Kutista CSS -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "CSS -tiedstojen kutistaminen poistaa turhat välilyönnit ja kommentit pienentääkseen tiedoston kokoa." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Tämä saattaa rikkoa asioita!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Jos huomaat virheitä sivustollasi tämän asetuksen aktivoinnin jälkeen, poista tämä asetus käytöstä ja sivustosi toiminta palaa normaaliksi." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Aktivoi CSS:n kutistus" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Yhdistä CSS -tiedostot (aktivoi CSS:n kutistus ensin)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "CSS:n yhdistäminen yhdistää kaikki erilliset CSS -tiedostot yhdeksi, vähentäen HTTP-kyselyiden määrää. Ei suositeltavaa, jos sivustosi käyttää HTTP/2 -yhteyksiä. %1$sLisätietoja%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Aktivoi CSS:n yhdistäminen" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Määritä verkko-osoitteet niihin CSS -tiedostoihin jotka haluat sulkea pois kutistuksesta ja yhdistämisestä (yksi osoite per rivi)." + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimoi CSS:n jakelu" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Kriittisen CSS:n turvaverkko" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Tarjoaa turvaverkon mikäli automaattisesti luotu kriittinen CSS on virheellinen. %1$sLisätietoja%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Kutista JavaScript -tiedostot" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "JavaScript -tiedostojen kutistaminen poistaa turhat välilyönnit ja kommentit pienentääkseen tiedoston kokoa." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Aktivoi JavaScript:in kutistus" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Yhdistä JavaScript -tiedstot (salli JavaScript:in kutistaminen ensin)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "JavaScript:in yhdistäminen yhdistää sivustosi sisäiset, ulkoiset ja inline-JavaScript -koodit yhteen vähentäen HTTP-pyyntöjä. Ei suositeltavaa jos käytössäsi on HTTP/2. %1$sLisätietoja%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Aktivoi JavaScript:in yhdistäminen" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Määritä sopivat kaaviot inline-JavaScriptille, jonka haluat sulkea pois yhdistämisestä (yksi per rivi). %1$sLisätietoa%2$s" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Määritä verkko-osoitteet pois suljettaville JavaScript -tiedostoille, joita et halua mukaan kutistukseen ja yhdistämiseen (yksi per rivi)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Sisäiset: Verkko-osoitteen domain-osuus osoitteesta jätetään automaattisesti pois. Käytä (.*).js -jokerimerkkiä sulkeaksesi pois kaikki JS-tiedostot tietystä kansiosta." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Ulkoiset: Anna joko kokonainen URL, tai pelkkä domain-nimi sulkeaksesi pois ulkoiset JS-tiedostot. %1$sLisätietoa%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Lataa JavaScript puskuroidusti" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "JavaScript:in lataaminen puskuroidusti poistaa renderöinnin estävän JS:n lataamisen ja voi parantaa sivusi latausaikaa. %1$sLisätietoa%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Media" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Voi parantaa näkyvää ja todellista latausaikaa, sillä kuvat, iframet ja videot ladataan vasta kun ne ilmestyvät (tai ovat juuri ilmestymässä) näkyviin. Tämä vähentää HTTP-pyyntöjen määrää. %1$sLisätietoja%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Käytä kuviin" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Käytä iframeihin ja videoihin" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Korvaa YouTuben iframe esikatselukuvalla" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Tämä voi parantaa sivusi latausaikaa merkittävästi, jos sivullasi on paljon YouTube -videoita." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Esilataa" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Ennakkohae DNS-kyselyjä" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "DNS-kyselyjen esilataaminen voi nopeuttaa ulkoisten tiedostojen lataamisen etenkin mobiiliverkoissa" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Aktivoi esilataus" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL-osoitteet esilataukseen" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Määritä verkko-isännät jotka esiladataan (ei http:, yksi isäntä per rivi)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Lisäasetukset" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Hienosäädä välimuistisääntöjä" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Arkaluontoiset sivut, kuten räätälöidyt kirjautumis-sivut tulisi poissulkea välimuistista." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Ostoskori, kassa ja \"Oma tili\" -sivut, jotka on asetettu kohdassa %1$s%2$s%3$s tunnistetaan automaattisesti eikä niitä ladata välimuistiin." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Välimuistista pois suljettavat evästeet" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Muuttujat välimuistiin" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sMuuttujat välimuistiin -optio%2$s mahdollistaa sinut pakottamaan tietyt GET-parametrit välimuistiin." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Määritä URL-osoitteet sivuista tai postauksista jotka aluat sulkea pois välimuistista (yksi per rivi)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Domain-osuus osoitteesta riisutaan automaattisesti.
    Käytä (.*) -jokerimerkkiä sulkeaksesi pois useamman osoitteen samasta polusta." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Määritä selain-agentit joille ei näytetä koskaan välimuistissa olevaa sivua (yksi per rivi)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Käytä (.*) -jokerimerkkiä tunnistaaksesi osan selain-agentista." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Määritä ereityiset verkko-osoitteet joiden välimuistin haluat aina tyhjentää kun päivität jonkun sivun tai postauksen (yksi per rivi)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Määritä osoitteen muuttujat välimuistia varten (yksi per rivi)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Tietokanta" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimoi, vähennä turhaa bloattia" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Postauksien putsaus" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Postauksien versiot ja luonnokset poistetaan pysyvästi. Älä käytä tätä toimintoa jos haluat säilyttää eri versiot tai luonnokset." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Kommentien siivous" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Roskapostit ja roskakoriin siirretyt kommentit poistetaan pysyvästi." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Transienttien siivous" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Transientit ovat väliaikaisia \"asetuksia\"; ne on turvallista poistaa. Transientit luodaan automaattisesti uudestaan niitä käyttävien lisäosien toimesta." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Tietokannan siivous" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Vähentää tietokantataulujen hävikkiä" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Kaikki transientit" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimoi taulut" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Ajasta automaattinen siivous" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Toistuvuus" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Päivittäin" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Viikottain" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Kuukausittain" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integroi CDN-palveluntarjoajasi" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Kaikki staattisten tiedostojen (CSS, JS, kuvat) URL-osoitteet korvataan antamallasi CNAME-tietueella." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Ei vaadittu tietyissä palveluissa kuten Cloudflare ja Sucuri. Ole hyvä ja katso saatavilla olevat %1$slisäosat%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Aktivoi CDN (Content Delivery Network)" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(t)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Määritä CNAME(t) alle" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Määritä URL-osoitteet joiden tiedostoja ei tarjoilla CDN-palvelusta (yksi per rivi)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Domain-osuus URL-osoitteesta poistetaan automaattisesti.
    Käytä (.*) -jokeria sulkeaksesi pois kaikki tiedostotyypit annetusta polusta." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Sydämen syke" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Kontrolloi WordPressin Sydämen sykkeen rajapintaa" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Vähennä tai poista kokonaan käytöstä Sydämen sykkeen rajapinta helpottaaksesi palvelimesi kuormaa." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Vähennä tai poista Sydämen syke" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Sykkeen harvennus muuttaa yhden kyselyn minuutista joka toiseen minuuttiin." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Jos poistat Sykkeen kokonaan käytöstä, saatat rikkoa muiden lisäosien toimivuuden." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Älä rajoita" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Vähennetty syke" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Poista käytöstä" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Kontrolloi Sydämen sykettä" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Syke hallintasivulla" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Syke postauksen editorissa" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Syke julkisivulla" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Lisäosat" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Lisää uusia ominaisuuksia" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Yhden klikkauksen Rocket -lisäosat" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Yhden klikkauksen lisäosat ovat ominaisuuksia, jotka laajentavat käytettävissä olevia asetuksia helposti. Ota ominaisuus käyttöön tältä sivulta." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket -lisäosat" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket -lisäosat ovat täydentäviä ominaisuuksia, jotka laajentavat käytettävissä olevia ominaisuuksia." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Jos sinulla on Varnish asennettuna palvelimellesi, ota tämä ominaisuus käyttöön." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnish-välimuisti tyhjennetään automaattisesti aina kun WP Rocket:in välimuisti tyhjennetään.
    %1$sLue lisää%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integroi Cloudflare -tilisi tällä lisäosalla." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Syötä tilisi sähköposti, globaali API-avain, sekä domain jotta voit käyttää omainsuuksia kuten Cloudflaren välimusitin tyhjennus, sekä optimaaliset asetukset WP Rocket:ille." + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Tyhjennä Sucuri:n välimuisti kun WP Rocket:in välimuisti tyhjennetään." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Syötä API-avaimesi tyhjentääksesi Sucuri:n välimuistin automaattisesti." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Synkronoi Sucuri:n välimuisti tällä lisäosalla." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare -tunnukset" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare -asetukset" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globaali API-avain:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Löydä API-avaimesi" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Tilisi sähköposti" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Kehitystila" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Aktivoi väliaikaisesti kehitystila. Tämä asetus poistetaan automaattiseesti kolmen tunnin kuluttua. %1$sLue lisää%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optimaaliset asetukset" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Automaattisesti paranna Cloudflare:n asetuksia nopeuden ja yhteensopivuuden suhteen." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Suhteellinen protokolla" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Tätä tulisi käyttää vain yhdessä Cloudflaren \"flexible SSL\" -ominaisuuden kanssa. Staattisten tiedostojen (CSS, JS, kuvat) osoitteet uudelleenkirjoitetaan muotoon //." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri -tunnukset" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Löydä API-avaimesi" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Tallenna tiedosto ja tuo asetukset" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Sucuri -lisäosa: API-avain täytyy olla muodossa {32 characters}/{32 characters}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Asetukset tallennettu." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Jotta tämä toimisi, %1$s %2$s vaatii vähintään:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Käyttääksesi tätä WP Rocket:in versiota, pyydä web-hostaajaasi päivittämään palvelimesi PHP-versio PHP %1$s tai uudempaan." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Käyttääksesi tätä WP Rocket:in versiota, ole hyvä ja päivitä WordPress vähintään versioon %1$s." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Päivitys ei ole sallittu sinulle. Voit palata edelliseen versioon alla olevasta painikkeesta." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Uudelleenasenna versio %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Lokitiedostoa ei löydy." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Lokitiedostoa ei pystytty lukemaan." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Lokeja ei talleneta tiedostoon." + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Kriittinen CSS sivulle %1$s ei generoitunut. Virhe: %2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Kriittinen CSS sivulle %s generoitu." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Kriittisen CSS:n generointi on parhaillaan käynnissä: %1$d / %2$d sivutyypistä on valmis. (Päivitä tämä sivu nähdäksesi etenemisen)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Kriittisen CSS:n generointi valmistunut %1$d / %2$d sivutyypille." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Kriittisen CSS:n generoinnissa tapahtui virhe." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Lue lisää." + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "viikottain" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Tietokannan optimointi on parhaillaan käynnissä" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Tietokannan optimointi on valmis. Kaikki oli jo optimoitu!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Tietokannan optimointi on valmis. Alla lista optimoiduista kohteista:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimoitu" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Työkalut" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Tuo, vie ja palauta" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Kuvien optimointi" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Pakkaa kuvat" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$s poista emoji%3$s on ristiriidassa WP Rocketin %2$spoista emoji%3$s kanssa" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP-pakkaus%3$s on ristiriidassa WP Rocketin %2$sGZIP-pakkauksen%3$s kanssa" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$sselaimen välimuisti%3$s on ristiriidassa WP Rocketin %2$sselaimen välimuistin%3$s kanssa" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$ssivujen välimuisti%3$s on ristiriidassa WP Rocketin %2$ssivujen välimuistin%3$s kanssa" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$sresurssien optimointi%3$s on ristiriidassa WP Rocketin %2$sresurssien optimoinnin%3$s kanssa" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Sucurin välimuistin tyhjennysvirhe: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Sucurin välimuistia tyhjennetään. Huomioi, että operaatio voi kestää pari minuuttia." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Sucurin palomuurin API-avainta ei löytynyt." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucurin palomuurin API-avain on virheellinen." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Tapahtui virhe otettaessa yhteyttä Sucurin palomuurin rajapintaan. Virheilmoitus oli: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Sucurin palomuurin rajapinnalta ei saatu vastausta." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Sucurin palomuurin rajapinta palautti virheellisen vastauksen." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucurin palomuurin rajapinta palautti tuntemattoman virheen." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Odottamaton virhe. Vika voi olla joko WP-Rocket.me:n päässä tai tämän palvelimen asetuksissa. Jos ongelmat jatkuvat, ota yhteys tukeen." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Kaikki kielet" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Tyhjennä tämä sivu" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Tyhjennä tämä osoite" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Uudellenluo kriittinen CSS" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentaatio" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "kuukausittain" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktivoi Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Asenna ilmainen Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Nopeuta sivustoasi ja paranna SEO-tuloksiasi pienemtämällä kuviesi kokoa tinkimättä laadusta Imagifyn avulla." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Lisätietoja" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Sivukartan esilataus: %d sivua on välimuistissa." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Sivukartan esilataus: %d sivua on nyt esiladattu. (päivitä sivua nähdäksesi etenemisen)" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS -tiedostot jotka on puskuroitu" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Lisää osoite" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Ennen kuin voit tallentaa tuontitiedoston, sinun pitää korjata seuraavat virheet:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Valitse tiedosto koneeltasi (maksimi tiedostokoko: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Cloudflare -tunnuksesi ovat oikein." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Cloudflare -tunnuksesi ovat virheelliset!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Tallenna ja optimoi" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimoi" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Huom:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Suorituskykyvinkki:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Ulkopuolinen ominaisuus havaittu:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Varoitus:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Latausasetukset" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Korvaa sivuston osoite:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "varattu" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Kaikki tiedostot" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Kuvat" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Lisää CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Katso video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Perus" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Staattiset tiedostot" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Edistynyt" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s%2$s tarvitsee vähintään PHP:n version %3$s toimiakseen. Käyttääksesi tätä versiota, pyydä palvelimesi ylläpitäjältä ohjeita kuinka saat päivitettyä PHP:n vähintään versioon %3$s. Jos et pysty päivittämään PHP:ta, voit palata edelliseen versioon alla olevalla painikkeella." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Palvelimen tyyppi:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP:n versio:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress:in versio:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Nykyinen teema:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Sivuston nykyinen kieli:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktiiviset lisäosat:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Aktiivisten lisäosien nimet" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonymisoidut WP Rocket -asetukset:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Mitkä WP Rocket:in asetukset on aktivoitu" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lue %1$sdokumentaatio%2$s saadaksesi lisätietoja." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Yhteys Cloudflareen epäonnistui" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Valitse verkkotunnus listalta" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Cloudflare -tililtäsi ei löytynyt yhtään verkkotunnusta" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Lisenssin varmennus epäonnistui. Palvelimemme ei pystynyt käsittelemään pyyntöäsi." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Yritä klikata %1$sTallenna muutokset%2$s -painiketta. Jos virhe toistuu, seuraa %3$stätä ohjetta%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Lisenssin varmennus epäonnistui. Syynä voi olla, että käytät epäkelpoa versiota lisäosasta. Ole hyvä ja toimi seuraavasti:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Kirjaudu WP Rocket %1$s-tilillesi%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Lataa zip-paketti" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Asenna uudelleen" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Jos sinulla ei ole WP Rocket -tiliä, ole hyvä ja %1$sosta lisenssi%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Lisenssin varmennus epäonnistui. Tätä käyttäjää ei löydy tietokannastamme." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Ratkaistaksesi ongelma, ota yhteys tukeemme." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Ole hyvä ja katso %1$stästä oppaasta%2$s lisätietoja." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Lisenssi ei ole validi." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Ole hyvä ja varmista, että sinulla on aktiivinen %1$sWP Rocket -lisenssi%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Olet lisännyt maksimimäärän sivuja jonka lisenssisi sallii." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Päivitä %1$stilisi%2$s tai %3$ssiirrä%2$s lisenssisi tälle verkkotunnukselle." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Tämä verkkosivusto ei ole sallittu." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Ole hyvä ja %1$sota yhteys tukeen%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Lisenssiavainta ei tunnistettu." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Jos ongelma jatkuu, ole hyvä ja %1$sota yhteys tukeen%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Lisenssin varmennus epäonnistui: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Lisäosa asennettu." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Pahoittelut, sinulla ei ole oikeuksia asentaa lisäosia tälle sivustolle." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Pahoittelut, sinulla ei ole oikeuksia tehdä tätä." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Lisäosan asennus epäonnistui." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Mene takaisin" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Peruuta" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Tyhjennä välimuisti" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Tuo asetukset" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Lisäosan tila" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Muokkaa asetuksia" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare -välimuisti" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Tyhjentää välimuistiin ladatut resurssit. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Lue lisää" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Tyhjennä kaikki Cloudflaren välimuistin tiedostot" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Onnittelut!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket on nyt aktivoitu ja käytössäsi." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Sivustosi pitäisi latautua nyt nopeammin!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Tarjoamme myös lisäasetuksia, joilla saat välitöntä lisähyötyä sivustollesi." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Jatka asetuksiin optimoidaksesi sivuasi vielä enemmän!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Oma tili" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Päivitä tiedot" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Päättymisaika" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Näytä oma tilini" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Pikatoiminnot" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Tyhjennä kaikki välimuistit" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Luo uudelleen kriittinen CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Usein Kysytyt Kysymykset" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Etkö löytänyt ratkaisua?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Lähetä meille tukitiketti ja saa apua ystävälliseltä ja ammattitaitoiselta Rakettiryhmältämme." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Pyydä tukea" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Varmuuskopioi tietokantasi ennen kuin suoritat siivouksen!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Kun tietokanta on optimoitu, toimintoa ei voi peruuttaa." + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s loi %3$sIMAGIFY:n%4$s%1$s tarjotakseen parasta kuvien optimointia.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Pakkaa kuvasi tehdäksesi sivustostasi nopeamman, kuitenkin säilyttäen hyvän kuvanlaadun." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Lisätietoja Imagify:stä:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify -lisäosan sivu" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify:n verkkosivu" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Kuvanpakkauslisäosien arvostelu" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Asenna Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket ei pystynyt automaattisesti varmistamaan lisenssiäsi." + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Tyhjennä Sucuri:n välimuisti" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Tiedostokoko: %1$s. Tietueita yhteensä: %2$s.D" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sLadataan tiedostoa %2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sPoista tiedosto%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Vie asetukset" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Lataa asetustesi varmuuskopio" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Latausasetukset" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Palauta" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Onko versio %s aiheuttanut ongelmia?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Asenna uudelleen versio %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Vianetsintä-tila" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Luo vianetsintä-loki." + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket asetukset" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "versio %s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Tallenna muutokset" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Näytä sivupalkki" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket ei koskaan lähetä tietoja verkkotunnuksista, sähköposteista (paitsi lisenssin varmistuksen yhteydessä), IP-osoitteista tai kolmannen osapuolen API-avaimista." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Aktivoi Rocket -analytiikka" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Tämä on hyvä lähtökohta korjataksesi useimmat ongelmat." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Lue dokumentaatio" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Kuinka mittaat sivustosi nopeuden oikeaoppisesti" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Lue ohjeemme" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Lue lisää" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Et ole aktivoinut välimuistia kirjautuneille käyttäjille." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Käytä yksityistä selainikkunaa tarkistaaksesi sivustosi nopeuden ja visuaalisen ulkoasun." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Tarvitseko apua?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-fr_CA.mo b/languages/rocket-fr_CA.mo new file mode 100644 index 0000000..de6cc90 Binary files /dev/null and b/languages/rocket-fr_CA.mo differ diff --git a/languages/rocket-fr_CA.po b/languages/rocket-fr_CA.po new file mode 100644 index 0000000..5c35b5b --- /dev/null +++ b/languages/rocket-fr_CA.po @@ -0,0 +1,3579 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.12\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Jean-Francois Arseneault , 2022\n" +"Language-Team: French (Canada) (https://www.transifex.com/wp-media/teams/18133/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2022-10-18 09:38-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SearchPathExcluded-5: inc/Dependencies\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Votre site est hébergé chez %s, nous avons activé la purge automatisée de Varnish pour la compatibilité." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Oups, Cloudflare n'a pas répondu. Veuillez essayer de nouveau plus tard." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Courriel et clé d’API Cloudflare incorrects." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lisez la %1$sdocumentation%2$s pour de l’aide additionnelle." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Zone iD de Cloudflare incorrecte." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Le courriel ou la clé d'API de Cloudflare ne sont pas configurés. Lire la %1$sdocumentation%2$s pour plus d'information." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Zone ID de Cloudflare manquant." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "On dirait que votre domaine n'est pas configuré dans Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket : %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cache de Cloudflare purgé avec succès." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket : " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Erreur du mode développement de Cloudflare : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Mode développement de Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Erreur du niveau de cache de Cloudflare : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Niveau de cache de Cloudflare défini à %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Erreur de la minification Cloudflare : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Minification Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Erreur du Rocket Loader de Cloudflare : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Rocket Loader de Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Erreur du cache navigateur Cloudflare : %s" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Erreur lors de la purge du cache Sucuri : %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Le cache Sucuri est en cours de purge. Notez que ceci peut prendre jusqu'à deux minutes avant d'être complété." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "La clé d'API du pare-feu Sucuri n'a pu être trouvée." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "La clé d'API du pare-feu Sucuri est invalide." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Erreur lors de la communication avec l'API du pare-feu Sucuri. Le message d'erreur était : %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Impossible d'obtenir une réponse de l'API du pare-feu Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Reçu une réponse invalide de l'API du pare-feu Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "L'API du pare-feu Sucuri a retourné une erreur inconnue." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "L'API du pare-feu Sucuri a retourné l'erreur suivante : %s" +msgstr[1] "L'API du pare-feu Sucuri a retourné les erreurs suivantes : %s" +msgstr[2] "L'API du pare-feu Sucuri a retourné les erreurs suivantes : %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Révisions" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Brouillons automatiques" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Contenus dans la corbeille" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Commentaires indésirables" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Commentaires à la corbeille" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transients" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tables" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "hebdomadaire" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensuel" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "L'optimisation de la base de données est en cours" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "L'optimisation de la base de donnée est terminée. Tout était déjà optimisé!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "L'optimisation de la base de donnée est terminée. Voici la liste des optimisations effectuées :" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimisé(s)." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Enregistrer les modifications" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Valider la licence" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Indisponible" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licence" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Clé d’API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Adresse courriel" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Tableau de bord" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Aide, info du compte" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Ma situation" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Analytiques Rocket" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "J'accepte de partager des données anonymes avec l'équipe de développement pour aider à améliorer WP Rocket. %1$sQuelles informations recueillerons-nous?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Options de base de la cache" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache mobile" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Accélérez votre site pour vos visiteurs mobile." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Nous avons détecté que vous utilisiez une extension qui nécessite un cache séparé pour mobile, et avons automatiquement activé cette option pour assurer la compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache utilisateur" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sLe cache utilisateur%2$s est parfait si vous avez du contenu spécifique ou restreint pour vos utilisateurs sur votre site." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Délai de nettoyage du cache" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Les fichiers en cache plus vieux que la durée de vie spécifiée seront effacés.
    Activer %1$spré-chargement %2$s pour que le cache soit généré de nouveau automatiquement après l'expiration de la durée de vie." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Activer la mise en cache pour les utilisateurs WordPress connectés" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Activer la mise en cache pour les appareils mobiles" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Créer un fichier de cache distinct pour les appareils mobiles" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "La majorité des thèmes sont responsives et devraient fonctionner sans cache séparée. Activer ceci seulement si vous avez un thème mobile dédié ou une extension. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Indiquez le nombre d’heures après quoi le cache global doit être vidé
    (0 = illimité)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Réduisez le délai à 10 heures ou moins si vous remarquez des problèmes apparaissant de façon intermittente. %1$sPourquoi ?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Heures" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Jours" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimisation des fichiers" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimiser le CSS et le JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Fichiers CSS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "La minification %1$s est actuellement activée dans Autoptimize. Si vous souhaitez utiliser la minification de %2$s, désactivez ces options dans Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Fichiers JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minifier les fichiers CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Minifier le CSS supprime les espaces et les commentaires afin de réduire le poids des fichiers." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Ceci pourrait briser des choses!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Si vous remarquez des erreurs sur votre site après avoir activé cette option, il vous suffit de la désactiver et votre site sera de retour à la normale." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Activer la minification CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Combiner les fichiers CSS (activez la minification CSS pour sélectionner)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Combiner le CSS condense tous vos fichiers en un seul, réduisant le nombre de requêtes HTTP. Ces réglages ne sont pas recommandés si votre site utilise HTTP/2. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "Pour des raisons de compatibilité et pour obtenir les meilleurs résultats, cette option est désactivée lorsque l'option Supprimer les ressources CSS inutilisées est activée." + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Activer la combinaison CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Fichiers CSS à exclure" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Indiquez l’URL des fichiers CSS à exclure de la minification et de la concaténation (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Interne : Le nom de domaine sera supprimé automatiquement de l'URL. Utilisez les expressions régulières (.*).css afin d'exclure tous les fichiers CSS pour un chemin donné." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Tierce-partie : Utilisez soit l'URL complet ou seulement le nom de domaine afin d'exclure le CSS externe.. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimiser le chargement du CSS" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "L'Optimisation du Chargement CSS élimine les CSS bloquant le rendu de votre site Web. Une seule méthode peut être sélectionnée. La méthode Supprimer les CSS inutilisés est recommandée pour des performances optimales." + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "L'Optimisation du Chargement CSS élimine les CSS bloquant le rendu sur votre site Web. Une seule méthode peut être sélectionnée. La méthode Supprimer les CSS inutilisés est recommandée pour des performances optimales." + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "Les options Optimiser le chargement CSS sont désactivées en local. %1$sEn savoir plus%2$s" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "Retirer CSS inutilisé" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "Supprime le CSS inutilisé par page et contribue à réduire la taille des pages et les requêtes HTTP. Recommandé pour de meilleures performances. Testez-le rigoureusement ! %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "Activer le retrait du CSS inutilisé" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "Liste sécuritaire CSS" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "Spécifiez les fichiers CSS, les IDs ou les classes qui ne devraient pas être retirés (un par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "Chargement asynchrone du CSS" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "Le Chargement asynchrone du CSS est actuellement géré par le plugin %1$s. Si vous souhaitez utiliser l'option de chargement asynchrone du CSS de WP Rocket, désactivez le plugin %1$s." + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "Génère le Critical Path CSS et charge les CSS de manière asynchrone. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "CSS critique de secours" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Fournit une option de secours si le CSS critique auto-généré est incomplet.%1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minifier les fichiers JS" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minifier le JavaScript supprime les espace et les commentaires afin de réduire le poids des fichiers." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Activer la minification JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Combiner les fichiers JavaScript (activez la minification JavaScript pour sélectionner)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Combine vos fichiers JavaScript, les fichiers tiers et le inline JS en un seul fichier, réduisant le nombre de requêtes HTTP. Ces réglages ne sont pas recommandés si votre site utilise HTTP/2.%1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "Pour assurer la compatibilité et obtenir de meilleurs résultats, cette option est désactivée lorsque le délai du javascript est activé." + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Activer la combinaison JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript inline exclu" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Indiquez les patterns du code JavaScript inline à exclure de la concaténation (un par ligne).%1$sMore info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Fichiers JavaScript exclus" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Indiquez l’URL des fichiers JavaScript à exclure de la minification et de la concaténation (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Interne :Le nom de domaine sera supprimé automatiquement de l’URL. Utilisez les expressions régulières (.*).js afin d’exclure tous les fichiers JS pour un chemin donné." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Tierce-partie : Utilisez soit l'URL complet ou seulement le nom de domaine afin d'exclure le JS externe. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Charger les fichiers JavaScript en différé" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Charger les fichiers JavaScript en différé élimine le blocage de l’affichage de votre site dû au JS et peux améliorer le temps de chargement perçu. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "Spécifiez les URLs ou mots-clés des fichiers JavaScript à être exclus du chargement différé (un par ligne). %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Retarder l'exécution du JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Améliore les performances en retardant le chargement des fichiers JavaScript jusqu'à une interaction de l'utilisateur (ie. défiler, cliquer). %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "Spécifiez les URLs ou mots-clés qui peuvent identifier le JavaScript en ligne ou en fichiers à être exclus de l'exécution retardée (un par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Média" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, dimensions des images" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "Chargement différé" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Peut améliorer le temps de chargement réel et perçu car les images, iframes et vidéos ne seront chargées que lorsqu'elles entreront (ou seront sur le point d'entrer) dans la zone visible. Réduit le nombre de requêtes HTTP. %1$sPlus d'informations.%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad est présentement activé dans %2$s. Si vous désirez utiliser le LazyLoad de WP Rocket, désactivez cette option dans %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "Dimensions de l'image" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "Ajoutez les attributs manquants de hauteur et largeur aux images. Ceci aide à prévenir les sauts de mise en page et améliorer l'expérience de lecture pour vos visiteurs. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Activer pour les images" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad pour les images est présentement activé dans %2$s. Si vous désirez utiliser le LazyLoad de %1$s, désactivez cette option dans %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Activer pour les iframes et vidéos" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Remplacer l'iframe YouTube par une image d'aperçu" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Le remplacement du iFrame YouTube par une image d'aperçu n'est pas compatible avec %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Ceci peut considérablement améliorer votre vitesse de chargement si vous avez beaucoup de vidéos YouTube sur une page." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Exclure les images ou iFrames" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "Spécifiez les mots-clés (ie. nom de fichier d'image, classe CSS, nom de domaine) de l'image ou du code iFrame à être exclu (un par ligne). %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Ajouter les dimensions manquantes de l'image" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Préchargement" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Générer les fichiers de cache, précharger les fontes" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Précharger la cache" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "Lorsque vous activez le préchargement, WP Rocket détecte automatiquement vos sitemaps et enregistre toutes les URLs dans la base de données. L'extension s'assurera que votre cache est toujours préchargé." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Précharger les liens" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Le pré-chargement de liens améliore la perception du temps de chargement du site en téléchargeant une page lorsque l'usager survole un hyperlien. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Préchargement des requêtes DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Le préchargement des requêtes DNS peut permettre aux ressources externes de charger plus rapidement, surtout sur les réseaux mobiles." + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Précharger les fontes" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Améliore les performances en aidant les navigateurs à découvrir les fontes dans les ficheirs CSS. %1$sPlus d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activer le pré-chargement" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "URLs à exclure" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "Indiquez les URL à exclure du préchargement (une par ligne). %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URLs à précharger" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Indiquez les hôtes externes à précharger (sans http:, un par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Fontes à précharger" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Spécifiez les URLs des fichiers de fontes à être pré-chargées (un par ligne). Les fontes doivent être hébergées sur votre propre domaine, ou le domaine spécifié dans l'onglet CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "La portion domaine de l'URL sera retirée automatiquement.
    Extensions de fontes permises : otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Activer le préchargement des liens" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Règles avancées" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Affiner les règles du cache" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Les pages sensibles telles que les URLs de connexion / déconnexion personnalisés doivent être exclus du cache." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Les pages panier, commande et \"mon compte\" réglées dans %1$s%2$s%3$s seront automatiquement détectées et exclues du cache par défaut." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Ne jamais mettre en cache ces URL(s)" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Ne jamais mettre en cache ces témoins" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Ne jamais mettre en cache ces agents utilisateurs" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Toujours purger ces URL(s)" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Cacher les “Query String(s)”" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sCacher les “Query Strings”%2$s vous permet de forcer la mise en cache de paramètres GET spécifiques." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Indiquez les URLs des pages ou articles qui doivent être exclus de la mise en cache (un par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Le nom de domaine sera supprimé automatiquement de l'URL .
    Utilisez les expressions régulières (.*) pour exclure plusieurs URLs pour un chemin donné." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "Spécifiez les IDs complets ou partiels de témoins qui, lorsque définis dans le navigateur du visiteur, devraient prévenir une page d'être mise en cache (un par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Indiquez les chaînes des agents utilisateurs qui ne devraient jamais voir les pages mises en cache (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Utilisez les expressions régulières (.*) pour détecter les parties des chaînes des agents utilisateurs." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Indiquez les URLs dont vous voulez systématiquement vider le cache lorsque vous mettez à jour n'importe quel article ou page (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Indiquez les “query strings” qui peuvent être mises en cache (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Base de données" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimiser & nettoyer" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Nettoyage des contenus" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Les révisions et les brouillons seront supprimés définitivement. N'utilisez pas cette option si vous devez conserver vos révisions et brouillons." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Nettoyage des commentaires" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Les Spams et les commentaires mis à la corbeille seront supprimés" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Nettoyage des transients" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Les “transients” sont des options temporaires, leur suppression est sans danger. Elles seront automatiquement régénérées si vos extensions en ont besoin." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Nettoyage de la base de données" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Récupère l’espace inutilisé des tables de la base de données" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Nettoyage automatique" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s révision dans votre base de données." +msgstr[1] "%s révisions dans votre base de données." +msgstr[2] "%s révisions dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s brouillon dans votre base de données." +msgstr[1] "%s brouillons dans votre base de données." +msgstr[2] "%s brouillons dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s articles à la corbeille dans votre base de données." +msgstr[1] "%sarticles à la corbeille dans votre base de données." +msgstr[2] "%sarticles à la corbeille dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s commentaire de SPAM dans votre base de données." +msgstr[1] "%s commentaires de SPAM dans votre base de données." +msgstr[2] "%s commentaires de SPAM dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s commentaire à la corbeille dans votre base de données." +msgstr[1] "%s commentaires à la corbeille dans votre base de données." +msgstr[2] "%s commentaires à la corbeille dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Tous les transients" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transient dans votre base de données." +msgstr[1] "%s transients dans votre base de données." +msgstr[2] "%s transients dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimiser les tables" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s table à optimiser dans votre base de données." +msgstr[1] "%s tables à optimiser dans votre base de données." +msgstr[2] "%s tables à optimiser dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Planifier le nettoyage automatique" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Fréquence" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Quotidien" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Hebdomadaire" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensuel" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Intégrer votre CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Tous les URLs de vos fichiers statiques (CSS, JS, images) seront ré-écrits avec le CNAME fourni." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Non requis pour les services tels que Cloudflare et Sucuri. Veuillez consulter nos %1$sAjouts%2$s disponibles." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Exclure des fichiers du CDN" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l Add-on%3$sest présentement activé. s. La configuration des réglages CDN n'est pas requise pour que %2$l fonctionne sur votre site." +msgstr[1] "%1$s%2$l Add-ons%3$s sont présentement activés. La configuration des réglages CDN n'est pas requise pour que %2$l fonctionne sur votre site." +msgstr[2] "%1$s%2$l Add-ons%3$s sont présentement activés. La configuration des réglages CDN n'est pas requise pour que %2$l fonctionne sur votre site." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Activer le Content Delivery Network." + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(s) du CDN" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Indiquez le(s) CNAME(s) ci-dessous" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Indiquez les URLs des fichiers qui ne doivent pas être servies par le CDN (une par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Le nom de domaine sera supprimé automatiquement de l'URL .
    Utilisez les expressions régulières (.*) pour exclure plusieurs URLs pour un chemin donné." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Battement de coeur" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Contrôler l'API du battement de coeur de WordPress" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Réduire ou désactiver l'API du signal de battement de coeur peut aider à économier des ressources serveur." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Réduire ou désactiver le signal de battement de coeur" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Réduire l'activité changera la fréquence de battement de coeur de une pulsation par minute à une pulsation aux 2 minutes." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Désactiver le battement de coeur complètement peut briser les extensions et thèmes utilisant cet API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Ne pas limiter" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Réduire l'activité" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Désactiver" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Contrôler le battement de coeur" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Comportement dans le tableau de bord" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Comportement dans l'éditeur" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Comportement sur le site" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Ajouts" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Ajouter des fonctionnalités" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Ajouts Rockets en un clic" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Les ajouts en un clic offrent des fonctionnalités complémentaires en augmentant les options déjà disponibles sans besoin de configuration. Mettez l'option à \"ON\" pour l'activer depuis cet écran." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Ajouts Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Les ajouts Rockets offrent des fonctionnalités complémentaires augmentant les options déjà disponibles." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Intégrez votre compte Cloudflare avec cet add-on" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Entrez l’adresse courriel, la clé d’API globale et le domaine de votre compte Cloudflare afin d’ajouter l’option de purger le cache Cloudflare et activer les réglages optimaux pour fonctionner avec WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Si votre serveur utilise Varnish, vous devez activer cet add-on" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Le cache Varnish sera purgé à chaque fois que WP Rocket purgera son cache pour vous assurer que le contenu soit toujours à jour.
    %1$sEn savoir plus%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "Compatibilité WebP" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "Améliore la compatibilité des navigateurs pour les images WebP." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Activez cette option si vous désirez que WP Rocket serve les images WebP au navigateurs compatibles. Veuillez noter que WP Rocket ne peut pas créer d'images WebP pour vous. Pour créez des images WebP nous recommandons %1$sImagify%2$s. %3$sPlus d'info %2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Vider le cache Sucuri quand le cache de WP Rocket est vidé." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Fournir votre clé d'API afin de vider le cache Sucuri quand le cache de WP Rocket sera vidé." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Synchronisez le cache Sucuri avec cet add-on." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Accès Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Réglages Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Clé d’API globale :" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Trouver votre clé d’API" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Courriel du compte" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Identifiant de zone" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Mode développement" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Active temporairement le mode développement sur votre site. Ce réglage se désactivera automatiquement après 3 heures. %1$sEn savoir plus%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Réglages optimaux" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Améliore automatiquement votre configuration Cloudflare pour la rapidité de chargement, les notes de performance et la compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Relatif au protocole" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Ne devrait être utilisé qu’avec la fonction Flexible SSL de Cloudflare. Les URLs de vos fichiers statiques (CSS, JS, images) seront ré-écrits pour utiliser // au lieu de http:// ou https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Accès Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Trouver votre clé d’API" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Envoyer le fichier et importer les réglages" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Ajout Sucuri : la clé d'API pour le pare-feu Sucuri doit être au format {32 caractères}/{32 caractères}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Réglages sauvegardés." + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "Désolé ! L'ajout de /(.*) dans Règles avancées > Ne jamais mettre en cache ces URL(s) n'a pas été sauvegardé car cette valeur désactive le cache et les optimisations sur toutes les pages du site." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Outils" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, export, restauration" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimisation des images" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Compresser vos images" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriels" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Bien démarrer et vidéos d'assistance" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "Nous n'avons pas pu récupérer le prix actuel car l'API RocketCDN a renvoyé un code d'erreur inattendu." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "RocketCDN n'est pas disponible pour le moment. Veuillez réessayer plus tard." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "La purge du cache RocketCDN a échoué : identifiant de réglage manquant." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "La purge du cache RocketCDN a échoué : identifiant d'utilisateur manquant." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "La purge du cache RocketCDN a échoué : l'API a retourné un code de réponse inattendu." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "La purge du cache RocketCDN a échoué : l'API a retourné une réponse vide." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "La purge du cache RocketCDN a échoué : l'API a retourné une réponse inattendue." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "La purge du cache RocketCDN a échoué : %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "La purge du cache de RocketCDN a été effectuée avec succès." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Prochaine date de facturation" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Aucun abonnement" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Votre abonnement à RocketCDN est présentement activé." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Pour utiliser RocketCDN, remplacer votre CNAME avec %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sPlus d'Info%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN activé" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN désactivé" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Valide seulement jusqu'à %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Accélérez votre site web grâce à :" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "CDN (Content Delivery Network) de haute performance à %1$sbande passante illimitée%2$s" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Configuration simplifiée : les %1$smeilleurs réglages CDN%2$s sont automatiquement appliqués" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Intégration WP Rocket : l'option CDN est %1$sautomatiquement configurée%2$s dans notre extension" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "En savoir plus sur RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "*%1$s$/mois pour 12 mois puis %2$s$/mois. Vous pouvez résilier votre abonnement à tout moment." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Facturation mensuelle" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Démarrez" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Réduire cette bannière" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Accélérez votre site web avec RocketCDN, le réseau de livraison de contenu de WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "En savoir plus" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN est indisponible pour les domaines locaux et les sites de test." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Obtenir RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Nouveau!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Accélérez votre site web avec RocketCDN, le réseau de livraison de contenu de WP Rocket." + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Vider ce cache" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intervalle d'expiration du cache WP Rocket" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Valeur de WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "La constante WP_CACHE doit être à \"true\" pour que le cache de WP Rocket fonctionne correctement" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE est à \"true\"" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE n'est pas défini" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE est à \"false\"" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "Chaque minute" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Le CSS critique pour %1$s n'a pas été généré. Erreur : %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "CSS critique aux mobiles pour %1$s non-généré. Erreur : l'API a retourné une réponse vide." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "CSS critique pour %1$s non généré. Erreur : l'API a retourné une réponse vide." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "CSS critique aux mobiles pour %1$s non-généré." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "CSS critique pour %1$s non-généré." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "CSS critique aux mobiles pour %1$s non-généré. Erreur : l'API a retourné un code de réponse invalide." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "CSS critique pour %1$s non-généré. Erreur : l'API a retourné un code de réponse invalide" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Erreur : %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Régénérer le CSS critique" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Générer le CPCSS spécifique" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regénérer le CPCSS spécifique" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "Cette fonctionnalité n'est pas disponible pour les publications qui ne sont pas publiques." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l pour utiliser cette fonction." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Publier le %s" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Activez Chargement Asynchrone du CSS dans les réglages de WP Rocket" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Activez Chargement Asynchrone du CSS dans les options ci-dessus" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "La génération du CSS critique est en cours." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Allez à la page des %1$sparamètres WP Rocket %2$s afin d'en suivre l'évolution." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "La génération du CSS critique est en cours : %1$d de %2$d de types de contenus complétés. (Rafraîchir pour voir la progression)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "La génération du CSS critique est terminée pour %1$d des %2$d types de contenus." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "La génération du CSS critique a rencontré une ou plusieurs erreur(s)." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "En savoir plus." + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "CSS critique pour %1$s sur mobile non-généré. Erreur : Le répertoire de destination n'a pas pu être créé." + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "CSS critique pour %1$s non-généré. Erreur : Le répertoire de destination n'a pu être créé." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Fichier critique CSS pour mobiles n'existe pas" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Fichier critique CSS n'existe pas" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Fichier critique CSS pour mobiles ne peut être effacé" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Fichier critique CSS ne peut être effacé" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Le CSS critique aux mobiles pour %1$s n'a pas été généré." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Le CSS critique pour %s est en cours." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Le CSS critique aux mobiles pour %s est généré." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Le CSS critique pour %s a été généré." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Fichier de CSS critique effacé avec succès" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Délai d'attente du CSS critique aux mobiles pour %1$s. Veuillez essayer de nouveau plus tard." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Délai d'attente pour le CSS critique pour %1$s. Veuillez essayer de nouveau plus tard." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Génération du CPCSS pour mobiles non-activé" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "L'article demandé n'existe pas" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Impossible de générer le CPCSS pour les articles non-publiés" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "L'évènement planifié suivant n'a pas fonctionné. Ceci pourrait indiquer que le système CRON ne fonctionne pas correctement, ce qui peut prévenir certaines fonctionnalités WP Rocket de fonctionner tel que prévu :" +msgstr[1] "Les évènements planifiés suivants n'ont pas fonctionné. Ceci pourrait indiquer que le système CRON ne fonctionne pas correctement, ce qui peut prévenir certaines fonctionnalités WP Rocket de fonctionner tel que prévu :" +msgstr[2] "Les évènements planifiés suivants n'ont pas fonctionné. Ceci pourrait indiquer que le système CRON ne fonctionne pas correctement, ce qui peut prévenir certaines fonctionnalités WP Rocket de fonctionner tel que prévu :" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Veuillez contacter votre hébergeur afin de valider si le CRON est fonctionnel." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Purge planifiée de la cache" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Optimisation planifiée de la base de données" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Processus d'optimisation de la base de données" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Préchargement" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Processus de génération du CSS pour chemin critique" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Renouvelez votre licence pour 1 an maintenant à %1$s%3$s%2$s." + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "Renouvelez votre licence pour 1 an et bénéficiez d’une réduction immédiate %1$sde %3$s%2$s: vous ne paierez que %1$s%4$s%2$s!" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Renouvelez avant qu'il ne soit trop tard, vous payerez %1$s%3$s%2$s." + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "Renouvelez avec un %1$s%2$s escompte%3$s avant qu'il ne soit trop tard, vous ne payerez seulement que %1$s%4$s%3$s!" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "Vous devez détenir une licence valide pour continuer à utiliser cette option. %1$sRenouveler maintenant%2$s avant de perdre l'accès." + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "Vous devez détenir une licence active pour activer cette option. %1$sRenouveler maintenant%2$s." + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "Vous devez détenir une licence active pour activer cette option. %1$sPlus d'infos%2$s." + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "Prenez avantage de %1$s afin d'accéléler plus de sites web :%2$s obtenez %3$s%4$s d'escompte%5$s pour %3$srehausser votre licence à \"Plus\" ou \"Infinite\" !%5$s" +msgstr[1] "Prenez avantage de %1$s afin d'accélérer plus de sites web :%2$s obtenez %3$s%4$s d'escompte%5$s pour %3$srehausser votre licence à \"Infinite\" !%5$s" +msgstr[2] "Prenez avantage de %1$s afin d'accélérer plus de sites web :%2$s obtenez %3$s%4$s d'escompte%5$s pour %3$srehausser votre licence à \"Infinite\" !%5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Illimité" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%s d'escompte" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "La promotion %s est en cours!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Dépêchez-vous! La promotion se termine dans :" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minutes" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "secondes" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Rehausser maintenant" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Ne pas tenir compte de cet avertissement." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "L'option Optimiser le chargement du CSS est désactivée." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "Vous ne pouvez plus utiliser les options Supprimer les ressources CSS inutilisées ou Chargement asynchrone du CSS." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "Vous avez besoin d'une %1$slicence active%2$s pour continuer à optimiser le chargement de votre CSS, ce qui répond à une recommandation de PageSpeed Insights et améliore les performances de vos pages." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Renouveler maintenant" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Vous perdrez bientôt l'accès à certaines options" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "Vous avez besoin d'une %1$slicence active pour continuer à optimiser le chargement de votre CSS%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "Les options Supprimer les ressources CSS inutilisées et Chargement Asynchrone du CSS sont des options intéressantes pour répondre aux recommandations de PageSpeed Insights et améliorer les performances de votre site Web." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Elles seront %1$sautomatiquement désactivées le %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Votre licence WP Rocket est expirée!" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "Votre site web pourrait être beaucoup plus rapide s'il pouvait profiter de nos %1$s nouvelles fonctionnalités et améliorations%2$s.🚀" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "Votre %1$slicence WP Rocket est sur le point d'expirer%2$s : vous perdrez bientôt l'accès aux mises à jour et au support." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Accélérez plus de sites web" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "Vous pouvez utiliser WP Rocket sur plus de sites web en rehaussant votre licence. Pour rehausser, simplement payer la %1$sdifférence de prix %2$s entre votre licence actuelle et la nouvelle, tel que montré ci-dessous." + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sP.S.%2$s: rehausser votre licence ne change pas votre date de renouvellement." + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "Sauvegarder $%s" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s sites web" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "Rehausser à %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "Vous pouvez utiliser WP Rocket sur plus de sites web en rehaussant votre licence (vous ne payerez que la différence de prix entre votre licence courante et la nouvelle)." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "Vous devez avoir une licence active pour obtenir la dernière version des listes de notre serveur." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "Impossible d'obtenir les listes mises à jour depuis le serveur." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "Les listes sont à jour." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "Impossible de mettre à jour les listes." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "Les listes ont été mises à jour avec succès." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Vider le CSS utilisé" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "%1$s: Veuillez patienter %2$s secondes. Le service Supprimer les ressources CSS inutilisées analyse vos pages." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "%1$s: Le CSS utilisé de votre page d'accueil a été généré. WP Rocket va continuer de générer le CSS jusqu'à %2$s URLs par %3$s seconde(s)." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "Nous vous suggérons d'activer le %1$sPréchargement%2$s pour obtenir des résultats plus rapides." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "Pour en apprendre plus sur le processus, consultez notre %1$sdocumentation%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "Nous n'avons pas pu générer le CSS utilisé car vous utilisez une version piratée de WP Rocket. Vous avez besoin d'une licence active pour utiliser l'option Supprimer les CSS inutilisés et améliorer davantage les performances de votre site Web." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "Cliquez ici pour obtenir une licence Single de WP Rocket à moins %1$s !" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "Il n'a pas été possible de créer la table %2$s dans la base de données, qui est nécessaire pour que Supprimer les ressources CSS inutilisées fonctionne. Veuillez contacter notre support." + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: L'option du CSS utilisé n'est pas activée!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Cache du CSS utilisé vidée!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "Nettoyer le CSS utilisé pour cet URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "Tâches en attente de l’option Supprimer les ressources CSS inutilisées de WP Rocket" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Une erreur inattendue s’est produite. Quelque chose ne va pas avec WP-Rocket.me ou avec la configuration de ce serveur. Si vous continuez à avoir des problèmes, contactez notre soutien technique." + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "Retour à la version %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sRetourner à WP Rocket%2$s ou %3$saller à la page des extensions%2$s" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "%1$s: Le Préchargement est maintenant actif. Après le préchargement initial, il continuera à mettre en cache toutes vos pages chaque fois qu'elles seront purgées. Aucune autre action n'est nécessaire." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "Tâches en attente de l'option Préchargement de WP Rocket" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "La purge automatiquement de Varnish sera automatiquement activée lorsque Varnish sera activé sur votre %s serveur." + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "Des fichiers Kinsta de base, gérant l'effacement du cache et du CDN, semblent manquer dans votre installation, ce qui empêchera Kinsta et WP Rocket de fonctionner correctement. Veuillez contacter le support Kinsta via votre compte %1$sMyKinsta%2$s pour résoudre ce problème." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "%1$s: Le Server Push HTTP/2 de Cloudflare est incompatible avec les options Supprimer les ressources CSS inutilisées et Combiner les fichier CSS. Nous vous recommandons vivement de la désactiver." + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s: Mod PageSpeed n'est pas compatible avec cette extension et peut causer des résultats inattendus. %2$sPlus d'Info%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "%1$sWP Rocket : %2$sNous avons détecté que l'option Concaténer les fichiers JS d'Autoptimize est activée. L'option Reporter l'exécution JavaScript de WP Rocket ne sera pas appliquée au fichier qu'elle crée. Nous vous suggérons de désactiver %1$sConcaténer les fichiers JS%2$s pour profiter pleinement de Reporter l'exécution JavaScript." + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "%1$sWP Rocket : %2$sNous avons détecté que l'option Concaténer le CSS inline d'Autoptimize est activée. L'option Chargement Asychrone du CSS de WP Rocket ne sera pas appliquée au fichier qu'elle crée. Nous vous suggérons de désactiver %1$sConcaténer le CSS inline%2$s pour profiter pleinement du Chargement Asychrone du CSS." + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "Cette extension empêche la mise en cache et les optimisations de WP Rocket. Désactivez-la et utilisez %1$sl'intégration du serveur de noms d'Ezoic%2$s à la place." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Veuillez désactiver l'option %s qui entre en conflit avec les fonctionnalités de WP Rocket :" +msgstr[1] "Veuillez désactiver les %s options suivantes qui entrent en conflit avec les fonctionnalités de WP Rocket :" +msgstr[2] "Veuillez désactiver les %s options suivantes qui entrent en conflit avec les fonctionnalités de WP Rocket :" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$sdésactivation des emojis%3$s entre en conflit avec la %2$sdésactivation des emojis%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$scompression GZIP%3$s entre en conflit avec la %2$scompression GZIP%3$s avec WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$scaching du fureteur%3$s entre en conflit avec le %2$scaching du fureteur%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$scaching de page%3$s entre en conflit le %2$spage caching%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$sl'optimisation des fichiers%3$s entre en conflit avec %2$sl'optimisation des fichiers%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "Le report de l'exécution des JS est activée dans %1$s. Si vous voulez utiliser le Report de l’exécution JavaScript de WP Rocket, désactivez %1$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Soutien" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Documents" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Réglages" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "L'import des réglages a échoué : vous n'avez pas les permissions nécessaires pour faire ceci." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "L'import des réglages a échoué : aucun fichier téléversé." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "L'import des réglages a échoué : nom de fichier incorrect." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "L'import des réglages a échoué : type de fichier incorrect." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Échec de l'import des réglages :" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Échec de l'import des réglages : contenu du fichier incorrect." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Réglages importés et sauvegardés." + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "Charger le JavaScript en différé" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "Fichiers JavaScript exclus du report de l'éxecution" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Le modèle suivant est non-valide et a été retiré :" +msgstr[1] "Les modèles suivants sont non-valides et ont été retirés :" +msgstr[2] "Les modèles suivants sont non-valides et ont été retirés :" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "Plus d'infos" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Vider le cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Options WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ne jamais mettre en cache cette page" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Activer ces options sur cette page :" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "Chargement différé des images" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "Chargement différé des iframes et vidéos" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify CSS" +msgstr "Minifier le CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minifier / combiner le JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Différer le JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Activer d’abord l’option de %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNote:%2$s Aucune de ces options ne sera appliquée à ce contenu s'il a été exclu des paramètres globaux de gestion du cache." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s n'a pas été désactivé en raisons de l'absence des permissions d'écriture.
    \n" +"Rendez %2$s inscriptible et réessayez de désactiver, ou forcez la désactivation maintenant :" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Une ou plusieurs extensions ont été activées ou désactivées, videz le cache si elles influent sur l’apparence de votre site." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Les extensions suivantes ne sont pas compatibles avec cette extension et peuvent générer des résultats inattendus :" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Désactiver" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS n'est pas un ajout officiel. Il prévient certaines options dans WP Rocket de fonctionner correctement. Veuillez le désactiver si vous avez des problèmes." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache est présentement activé, ce qui peut causer conflit avec le cache de WP Rocket. Veuillez configurer le niveau de Endurance Cache à \"Off\" (Niveau 0) sur la page %1$sParamètres > Général%2$s afin de prévenir tout problème." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Une structure de permalien personnalisée est requise pour que cette extension fonctionne. %2$sRendez-vous aux réglages des permaliens%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s n'a pas pu modifier le fichier .htaccess dû à l'absence de permissions d'écriture.." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Pour résoudre le problème : %1$sComment rendre les fichiers systèmes accessible à l'écriture%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://fr.docs.wp-rocket.me/article/945-fichiers-systemes-accessible-ecriture/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Pas d'inquiétude, la mise en cache de pages et les paramètres fonctionneront correctement." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Pour une performance optimale, il est recommandé d'ajouter les lignes suivantes à votre fichier .htaccess (optionnel) :" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s est prêt à décoller ! %2$sTestez votre temps de chargement%4$s, ou jetez un oeil aux %3$sréglages%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Autorisez-vous WP Rocket à recueillir des données de diagnostic non-sensibles de ce site web ?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Cela nous aiderait à améliorer WP Rocket pour vous dans le futur." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Quelles infos recueillerons-nous ?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Vous trouverez ci-dessous une vue détaillée de toutes les données que WP Rocket recueillera si vous nous le permettez. WP Rocket ne transmettra jamais de noms de domaine ou d'adresses courriel (sauf pour la validation de licence), d'adresses IP ou de clés d’API tierce-partie." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Oui, autoriser" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Non, merci" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Merci!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket recueille désormais ces données de votre site web :" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s : Cache vidé." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s : Cache des articles vidé." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s : Cache des termes vidé." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s : Cache des utilisateurs vidé." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Cesser le pré-chargement" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Forcer la désactivation " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Le code suivant aurait dû être écrit dans ce fichier :" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s ne peut pas s’auto-configurer en raison de l'absence de permissions en écriture." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Fichier/dossier affecté : %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Le fichier de debug n'a pu être effacé." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Pour fonctionner correctement, %1$s %2$s nécessite au moins :" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Pour utiliser cette version de WP Rocket, demandez à votre hébergeur comment mettre à niveau votre serveur vers PHP %1$s ou supérieur." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Pour utiliser cette version de WP Rocket, mettez à jour WordPress à la version %1$s ou plus récente." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Si vous n'êtes pas en mesure d’effectuer le rehaussement, vous pouvez restaurer WP Rocket à sa version précédente en utilisant le bouton ci-dessous." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Réinstaller la version %s" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Toutes les %d minutes" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Le fichier de log n'existe pas." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Le fichier de log n'a pu être lu." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Les logs n'ont pu être sauvés dans un fichier." + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de %1$s. " +msgstr[1] "Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de %1$s. " +msgstr[2] "Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de %1$s. " + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "La mise en cache de WebP est désactivée par filtre." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Vous utilisez %1$s pour convertir vos images à WebP. Si vous voulez que WP Rocket les serve pour vous, activez cette options. %2$sPlus d'info %3$s" +msgstr[1] "Vous utilisez %1$s pour convertir vos images à WebP. Si vous voulez que WP Rocket les serve pour vous, activez cette options. %2$sPlus d'info %3$s" +msgstr[2] "Vous utilisez %1$s pour convertir vos images à WebP. Si vous voulez que WP Rocket les serve pour vous, activez cette options. %2$sPlus d'info %3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Vous utilisez %1$s pour convertir des images à WebP. WP Rocket va créer des fichiers de cache séparés afin de servir vos images WebP. %2$sPlus d'info %3$s" +msgstr[1] "Vous utilisez %1$s pour convertir des images à WebP. WP Rocket va créer des fichiers de cache séparés afin de servir vos images WebP. %2$sPlus d'info %3$s" +msgstr[2] "Vous utilisez %1$s pour convertir des images à WebP. WP Rocket va créer des fichiers de cache séparés afin de servir vos images WebP. %2$sPlus d'info %3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "%5$sNous n'avons pas détecté de plugin WebP compatible !%6$s%4$s Si vous n'avez pas encore d'images WebP sur votre site, envisagez d'utiliser %3$sImagify%2$s ou une autre extension supportée. %1$sPlus d'infos%2$s %4$s Si vous n'utilisez pas WebP, n'activez pas cette option." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket va créer des fichier de cache séparés afin de servir vos images WebP" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Échec de la détection du requis suivant de votre thème : fermer %1$s." +msgstr[1] "Échec de la détection des requis suivants de votre thème : fermer %1$s." +msgstr[2] "Échec de la détection des requis suivants de votre thème : fermer %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Vider et précharger le cache" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Toutes les langues" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Vider cet article" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Purger cet URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Purger le cache Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Purger le cache RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentation" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "La purge de OpCache a échoué." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OpCache purgé avec succès" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Sitemap XML Yoast SEO" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Nous avons automatiquement détecté le sitemap généré par l'extension %s. Vous pouvez cocher l'option pour l'inclure dans le préchargement." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Sitemap XML All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Sitemap XML de Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Sitemap XML SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Le sitemap XML de The SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Sitemaps XML Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Précharger le sitemap de l'extension Jetpack" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Activer Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Installer Imagify gratuitement" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Accélérez votre site web et améliorez votre référencement en réduisant le poids de vos image sans perte de qualité avec Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Plus de détails" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Pré-chargement du Sitemap : %d pages ont été mises en cache." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Pré-chargement du Sitemap : %d pages ont été pré-chargées. (rafraîchir pour voir la progression)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Choisissez un domaine dans la liste" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Aucun domaine disponible dans votre compte Cloudflare" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "CURL est désactivé sur votre serveur. Veuillez demander à votre hébergeur de l'activer. Ceci est requis pour que l'ajout Cloudflare fonctionne correctement." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Le courriel, la clé d'API et le Zone ID de Cloudflare de sont pas définis. Lisez la %1$sdocumentation%2$s pour plus d'assistance." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Le courriel et la clé d'API de Cloudflare ne sont pas configurés. Lisez la %1$sdocumentation%2$s pour plus d'assistance." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "La connexion à Cloudflare a échoué" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "La classe appelée %1$s est obsolète depuis la version %2$s! Utilisez %3$s à la place." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "La classe appelée %1$s est obsolète depuis la version %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Fichiers JS en chargement différé du JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Ajouter un URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Avant de pouvoir envoyer votre fichier d’import, vous devez régler l’erreur suivante :" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Choisissez un fichier de votre ordinateur (poids maximum : %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Vos accès Cloudflare sont valides." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Vos accès Cloudflare sont invalides!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Sauvegarder et optimiser" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimiser" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Note :" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Truc de performance :" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Autre fonctionnalité détectée :" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Attention : " + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Télécharger les réglages" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Remplacer le nom d’hôte du site par :" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "réservé pour" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Tous les fichiers" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Images" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Ajouter un CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Voir la vidéo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Base" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Fichiers statiques" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avancé" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s requiert au moins PHP %3$s pour fonctionner correctement. Pour utiliser cette version, demandez à votre hébergeur de mettre à jour votre serveur vers PHP %3$s ou plus. Si cette mise-à-jour n'est pas possible, vous pouvez revenir à la version précédente en utilisant le bouton ci-dessous." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Il semble y avoir un problème à confirmer votre licence. Vous pouvez voir le message d'erreur ci-dessous." +msgstr[1] "Il semble y avoir un problème à confirmer votre licence. Vous pouvez voir les messages d'erreur ci-dessous." +msgstr[2] "Il semble y avoir un problème à confirmer votre licence. Vous pouvez voir les messages d'erreur ci-dessous." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Type de serveur :" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Version PHP :" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Version de WordPress :" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisite :" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Thème actif :" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Langage du site :" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Extensions actives :" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Noms de toutes les extensions actives" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Réglages de WP Rocket anonymisés :" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Quels sont les réglages activés de WP Rocket" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Les données de la licence fournies ne sont pas valides." + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Pour résoudre, veuillez %1$scontacter le soutien%2$s." + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Échec de la validation de la licence. Notre serveur ne peut compléter la requête de votre site web." + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Essayez de cliquer sur %1$sValider la license%2$s ci-dessous. Si l’erreur persiste, suivez les instructions de %3$sce guide%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "La validation de votre licence a échoué. Vous utilisez peut-être une version piratée de cette extension. Veuillez suivre les points suivants :" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Connectez-vous à votre %1$scompte%2$s WP Rocket" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Télécharger le fichier ZIP" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Réinstaller" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Si vous n'avez pas de compte WP Rocket, svp %1$sacheter une licence%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Échec de validation de la licence. Le compte d'usager n'existe pas dans notre base de données." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Pour résoudre, svp contacter le soutien technique." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Échec de validation de la licence. Ce compte usager est sur notre liste noire." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Veuillez consulter %1$sce guide%2$s pour plus d'info." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Essayez de cliquer %1$sSauvegarder les changements%2$s ci-dessous. Si l'erreur persiste, suivez %3$sce guide%4$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Votre licence n’est pas valide." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Assurez-vous d'avoir une licence %1$sactive de WP Rocket %2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Vous avez ajouté autant de sites que votre licence actuelle le permet." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Rehausser votre %1$scompte%2$s ou %3$stransférer votre licence%2$s à ce domaine." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ce site n'est pas autorisé." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Svp %1$scontacter le soutien technique%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "La clé de licence n'est pas reconnue." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Si le problème persiste, svp %1$scontacter le soutien technique%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Échec de validation de la licence : %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Extension installée avec succés." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Désolé, vous n'avez pas les droits requis pour installer des extensions sur ce site." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Désolé, vous n'avez pas droit de faire cela." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Installation de l'extension échouée." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Retour en arrière" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Chargement asynchrone du CSS pour mobile" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Votre site web utiliser le même chemin critique de CSS pour les ordinateurs et mobiles." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Peser le bouton pour activer le CPCSS spécifique aux mobiles pour votre site." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Ceci est une action unique et ce bouton sera retiré ensuite. %1$sPlus d'info%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Votre site présentement un chemin critique CSS spécifique aux mobiles. %1$sPlus d'info%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Générer CPCSS spécifique aux mobiles" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "CSS du chemin critique" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Générer un chemin critique CSS pour cet article. %1$sPlus d'info%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Cet article utilise un chemin critique de CSS. %1$sPlus d'info%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Retourner au CPCSS par défaut" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Vous rencontrez un problème ?" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "Il n'est pas toujours nécessaire de désactiver WP Rocket lorsque vous rencontrez des problèmes. La plupart d'entre eux peuvent être résolus en désactivant seulement certaines options." + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "Notre conseil ? Au lieu de désactiver WP Rocket, utilisez notre %1$sConfiguration sans conflit%2$s pour désactiver rapidement les options LazyLoad, Optimisation des Fichiers et CDN. Vérifiez ensuite si votre problème est résolu." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "Voulez-vous utiliser notre Configuration sans conflit pour dépanner WP Rocket ?" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Oui, appliquer la %1$sConfiguration sans conflit%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Non, désactiver et mettre en veilleuse ce message pour" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 jour" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 jours" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 jours" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Toujours" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Annuler" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Confirmer" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Mise à jour des listes d'inclusion et d'exclusion" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "Les listes de compatibilité sont téléchargées automatiquement chaque semaine. Cliquez sur le bouton si vous souhaitez les mettre à jour manuellement. %1$sPlus d'infos%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Mettre à jour les listes" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Activer l'optimisation des Google Fonts" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Améliore la performance des fontes et combine plusieurs requêtes de fontes pour réduire le nombre d'appels HTTP." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "L'optimisation des Google Fonts est maintenant activée pour votre site. %1$sPlus d'info%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimiser Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Vider le cache après" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS et JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importer les réglages" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "État de l’ajout" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modifier les options" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "Nom du CDN" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Purge les ressources en cache de votre site web dans RocketCDN. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "En savoir plus" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Effacer tous les fichiers de cache de RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache de Cloudflare" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Purge les ressources mises en cache de votre site web. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Effacer tous les fichiers en cache de Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Félicitations!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket est maintenant activé et prêt à travailler pour vous." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Votre site web devrait se charger plus rapidement maintenant!" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "Afin d'assurer des sites rapides, WP Rocket applique automatiquement 80% des meilleures pratiques en terme de performance web." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Nous activons également des options qui fournissent des bénéfices immédiats à votre site." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Continuez avec les options si vous souhaitez optimiser votre site davantage!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Mon compte" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Actualiser l’information" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "avec" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Date d'expiration" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Voir mon compte" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Actions rapides" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Supprimer tous les fichiers du cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Régénérer le CSS critique" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Retirer le cache du CSS utilis" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Foire aux questions" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Toujours pas trouvé de solution?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Envoyez un ticket et obtenez l'aide de nos sympathiques Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Demandez au soutien" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Faites une sauvegarde de votre base de données avant tout nettoyage!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Une fois qu’une optimisation de base de données est amorcée, les changements sont irréversibles." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Sauvegarder changements et optimiser" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s a créé %3$sIMAGIFY%4$s %1$spour la meilleure optimisation des images.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Compresser les images afin d'accélérer votre site, tout en maintenant la qualité des images." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Plus d'info sur Imagify :" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Page web de l'extension Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Site web d'Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Revue des extensions de compression d'images" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Installer Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket n'a pas été en mesure de valider automatiquement votre licence." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Suivre ce %1$s, ou contactez %2$s pour démarrer le système." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutoriel%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://fr.docs.wp-rocket.me/article/257-resoudre-les-problemes-de-validation-de-licence/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssupport%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Effacer tous les fichier de cache Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Taille du fichier : %1$s. Nombre d'entrées : %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sTélécharger le fichier%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sEffacer le fichier%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Exporter les réglages" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Télécharger un fichier de sauvegarde de vos réglages" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Télécharger les réglages" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Restauration" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "La version %s vous pose des problèmes?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Vous pouvez retourner à la précédente version majeure ici.%sPuis envoyez-nous une requête de soutien technique." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Réinstaller la version %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Mode debug" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Créer un fichier de debug." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Bien démarrer" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Pour démarrer avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Trouver les meilleurs réglages pour votre site" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Comment valider que WP Rocket a mis en cache votre site" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Comment mesurer la vitesse de votre site" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Comment le pré-chargement fonctionne" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Réussir les Core Web vitals" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Comment améliorer le LCP avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Comment améliorer le FID avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Comment améliorer le CLS avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Dépannage" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Diagnostiquer les problèmes d'affichage avec l'optimisation des fichiers" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Comment trouver le bon Javascript à exclure" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Comment les contenus externes ralentissent votre site." + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configurer l'extension Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Réglages de WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "version %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Afficher la colonne latérale" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "Vous trouverez ci-dessous une vue détaillée des données que WP Rocket recueillera %1$ssi l'autorisation lui est accordée.%2$s" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket ne transmettra jamais de noms de domaine ou d'adresses courriels (sauf pour la validation de licence), d'adresses IP ou de clés d’API tierce-partie." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activer analytiques de Rocket" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "C'est un excellent point de départ pour résoudre certains des problèmes les plus fréquents." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Lire la documentation" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Ce que fait WP Rocket pour vous par défaut" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Comment bien mesurer le temps de chargement de votre site web" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Consultez notre tutoriel et apprenez comment mesurer la vitesse de votre site." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Lire notre guide" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Découvrez les réglages optimaux de WP Rocket pour les mobiles." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Test et amélioration des Google Core Web Vitals pour WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "En savoir plus" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Vous n'avez pas activé le cache pour utilisateurs connectés." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Utilisez un navigateur privé pour vérifier la vitesse et l’aspect visuel de votre site web." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Besoin d'aide ?" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" diff --git a/languages/rocket-fr_FR.mo b/languages/rocket-fr_FR.mo new file mode 100644 index 0000000..1e0f3df Binary files /dev/null and b/languages/rocket-fr_FR.mo differ diff --git a/languages/rocket-fr_FR.po b/languages/rocket-fr_FR.po new file mode 100644 index 0000000..830d950 --- /dev/null +++ b/languages/rocket-fr_FR.po @@ -0,0 +1,4670 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# FX Bénard , 2019 +# Romain • WP Rocket , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-08-28T12:32:53+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Romain • WP Rocket , 2023\n" +"Language-Team: French (France) (https://app.transifex.com/wp-media/teams/18133/fr_FR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fr_FR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"Votre site est hébergé chez %s, nous avons activé l'auto-purge Varnish pour " +"la compatibilité." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare n'a fourni aucune réponse. Veuillez réessayer plus tard." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Réponse inattendue de Cloudflare" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Résultat de Cloudflare manquant." + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "L’email ou l’API key Cloudflare incorrect." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lisez la %1$sdocumentation%2$s pour plus d'indication." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://fr.docs.wp-rocket.me/article/247-utiliser-wp-rocket-avec-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Le Zone ID de Cloudflare est incorrect." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"L'email Cloudflare et/ou l’API Key ne sont pas définis. Lisez la " +"%1$sdocumentation%2$s pour plus d'informations." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Il manque le Zone ID de Cloudflare " + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Il semble que votre domaine ne soit pas configuré sur Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "jours" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "secondes" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "minutes" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "heures" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket :%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket :%2$s le cache de Cloudflare a été purgé avec succès." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Erreur du mode développement de CloudFlare : %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Mode développement de CloudFlare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Erreur du niveau de cache de CloudFlare : %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "standard" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Niveau de cache de Cloudflare défini à %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Erreur de la minification CloudFlare : %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Minification CloudFlare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Erreur du Rocket Loader de CloudFlare : %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Rocket Loader de CloudFlare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Erreur du cache navigateur CloudFlare : %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cache navigateur de Cloudflare réglé sur %s " + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sWP Rocket :%2$s Réglages optimaux activés pour Cloudflare :" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sWP Rocket :%2$s Réglages optimaux désactivés pour Cloudflare, retour aux" +" réglages précédents :" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket :" + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Erreur lors de la purge du cache Sucuri : %s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"Le cache Sucuri est en train d'être effacé. Notez que le vidage complet peut" +" prendre jusqu'à deux minutes." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "L’API Key du Firewall Sucuri est introuvable." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "L’API Key du Firewall Sucuri n'est pas valide." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" +"Erreur lors du contact avec l’API Key du Firewall Sucuri. Message d’erreur " +"reçu : %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Impossible d’obtenir une réponse de l’API Key du Firewall Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Réponse invalide de l’API Key du Firewall Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "L'API Key du Firewall Sucuri a retourné une erreur inconnue." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "L'API Key du Firewall Sucuri a retourné cette erreur : %s" +msgstr[1] "L'API Key du Firewall Sucuri a retourné ces erreurs : %s" +msgstr[2] "L'API Key du Firewall Sucuri a retourné ces erreurs : %s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin " +"d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP " +"Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de" +" %1$s. " +msgstr[1] "" +"Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin " +"d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP " +"Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de" +" %1$s. " +msgstr[2] "" +"Vous utilisez %1$s pour servir les images WebP, vous n'avez donc pas besoin " +"d'activer cette option. %2$sPlus d'infos%3$s %4$s Si vous préférez que WP " +"Rocket serve les WebP pour vous, veuillez désactiver l’affichage des WebP de" +" %1$s. " + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "Le cache WebP est désactivé par un filtre." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"Vous utilisez %1$s pour convertir les images en WebP. Si vous voulez que WP " +"Rocket les serve pour vous, activez cette option. %2$sPlus d'infos%3$s" +msgstr[1] "" +"Vous utilisez %1$s pour convertir les images en WebP. Si vous voulez que WP " +"Rocket les serve pour vous, activez cette option. %2$sPlus d'infos%3$s" +msgstr[2] "" +"Vous utilisez %1$s pour convertir les images en WebP. Si vous voulez que WP " +"Rocket les serve pour vous, activez cette option. %2$sPlus d'infos%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"Vous utilisez %1$s pour convertir les images en WebP. WP Rocket créera des " +"fichiers cache séparés pour servir vos images WebP. %2$sPlus d'infos%3$s" +msgstr[1] "" +"Vous utilisez %1$s pour convertir les images en WebP. WP Rocket créera des " +"fichiers cache séparés pour servir vos images WebP. %2$sPlus d'infos%3$s" +msgstr[2] "" +"Vous utilisez %1$s pour convertir les images en WebP. WP Rocket créera des " +"fichiers cache séparés pour servir vos images WebP. %2$sPlus d'infos%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sNous n'avons pas détecté de plugin WebP compatible !%6$s%4$s Si vous " +"n'avez pas encore d'images WebP sur votre site, envisagez d'utiliser " +"%3$sImagify%2$s ou une autre extension supportée. %1$sPlus d'infos%2$s %4$s " +"Si vous n'utilisez pas WebP, n'activez pas cette option." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"WP Rocket créera des fichiers cache séparés pour servir vos images WebP." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Support" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Docs" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Réglages" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "Vider ce cache" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" +"L'import des réglages a échoué : Vous n'avez pas les permissions suffisantes" +" pour faire ceci." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "L'import des réglages a échoué : aucun fichier téléversé." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "L'import des réglages a échoué : nom de fichier incorrect." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "L'import des réglages a échoué : type de fichier incorrect." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "L'import des réglages a échoué :" + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "L'import des réglages a échoué : type de fichier incorrect." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "Réglages importés et sauvegardés." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "Fichiers CSS à exclure" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript inline exclu" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "Fichiers JavaScript exclus" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "Charger le JavaScript en différé" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "Fichiers JavaScript exclus du report de l'éxecution" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "Ne jamais mettre en cache ces URL(s)" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "Ne jamais mettre en cache ces User Agents" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "Toujours purger ces URL(s)" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "Exclure des fichiers du CDN" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Le pattern suivant est invalide et a été supprimé :" +msgstr[1] "Les patterns suivants sont invalides et ont été supprimés :" +msgstr[2] "Les patterns suivants sont invalides et ont été supprimés :" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "Plus d'infos" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Vider le cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Options WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ne jamais mettre en cache cette page" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Activer ces options sur cette page :" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad sur les images" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad sur les iframes et vidéos" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify CSS" +msgstr "Minifier les fichiers CSS" + +#: inc/admin/ui/meta-boxes.php:106 inc/Engine/Admin/Settings/Page.php:736 +msgid "Remove Unused CSS" +msgstr "Supprimer les ressources CSS inutilisées" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minifier / combiner le JS" + +#: inc/admin/ui/meta-boxes.php:108 inc/deprecated/deprecated.php:1773 +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:109 inc/Engine/Admin/Settings/Page.php:765 +msgid "Load CSS asynchronously" +msgstr "Chargement asynchrone du CSS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Defer JS" + +#: inc/admin/ui/meta-boxes.php:111 inc/Engine/Admin/Settings/Page.php:907 +msgid "Delay JavaScript execution" +msgstr "Reporter l'exécution JavaScript" + +#. translators: %s is the name of the option. +#: inc/admin/ui/meta-boxes.php:130 +msgid "Activate first the %s option." +msgstr "Activer d’abord l’option de %s." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/admin/ui/meta-boxes.php:146 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sRemarque :%2$s Ces options ne seront pas appliquées si vous avez exclu " +"cette page du cache dans les réglages généraux de WP Rocket." + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s n'a pas été désactivé en raisons de l'absence des permissions d'écriture.
    \n" +"Rendez %2$s inscriptible et réessayez de désactiver, ou forcez la désactivation maintenant :" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: Une ou plusieurs extensions ont été activées ou " +"désactivées, videz le cache si elles influent sur le front de votre site." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: Les extensions suivantes ne sont pas compatibles avec " +"WP Rocket et vont générer des résultats inattendus :" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "Désactiver" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"WP Rocket Footer JS n'est pas un add-on officiel. Il empêche certaines " +"options de WP Rocket de fonctionner correctement. Veuillez le désactiver si " +"vous avez des problèmes." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"Endurance Cache est actuellement activé, et sera en conflit avec le cache de" +" WP Rocket. Veuillez régler Endurance Cache sur Off (Niveau 0) sur la page " +"%1$sRéglages > Général%2$s pour éviter tout problème." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: Une structure de permalien personnalisée est requise pour que WP " +"Rocket fonctionne. %2$sRendez-vous aux réglages des permaliens%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" +"%s n'a pas pu modifier le fichier .htaccess en raison d'un défaut de " +"permissions en écriture." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" +"Pour résoudre le problème : %1$sComment rendre les fichiers systèmes " +"accessible à l'écriture%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://fr.docs.wp-rocket.me/article/945-fichiers-systemes-accessible-" +"ecriture/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "" +"Ne vous inquiétez pas, la mise en cache des pages et les réglages de WP " +"Rocket fonctionneront toujours correctement." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"Pour des performances optimales, il est recommandé d'ajouter les lignes " +"suivantes dans votre fichier .htaccess (pas obligatoire) :" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"%1$s est prêt à décoller ! %2$sTestez votre temps de chargement%4$s, ou " +"jetez un oeil aux %3$sréglages%4$s." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"Autorisez-vous WP Rocket à collecter les données de diagnostic non sensibles" +" de votre site web ?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Cela nous aiderait à améliorer WP Rocket pour vous dans le futur." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "Quelles infos collecterons-nous ?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"Vous trouverez ci-dessous une vue détaillée de toutes les données que WP " +"Rocket collectera si l'autorisation lui est accordée. WP Rocket ne " +"transmettra jamais de noms de domaine ou d'adresses email (sauf pour la " +"validation de licence), d'adresses IP ou de clés API tierces." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "Oui, j'autorise" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "Non, merci" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "Merci !" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket collecte désormais ces données sur votre site web :" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s : Cache vidé." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s : Cache Article vidé." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s : Cache Terme vidé." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s : Cache Utilisateur vidé." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Ne pas tenir compte de cet avertissement." + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Purger le CSS utilisé" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "Arrêter le préchargement" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "Activer l'option Supprimer les ressources CSS inutilisées" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" +"Activer “Créer un fichier de cache à part pour les mobiles” maintenant" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "Forcer la désactivation" + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "Le code suivant aurait dû être écrit sur ce fichier :" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" +"%s ne peut pas se configurer seul en raison de l'absence de permissions en " +"écriture." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "Fichier/dossier affecté : %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Le fichier de debug n'a pas pu être suppprimé." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Pour fonctionner correctement, nécessite au moins %1$s %2$s :" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"PHP %1$s. Pour utiliser cette version de WP Rocket, demandez à votre " +"hébergeur comment mettre à niveau votre serveur vers PHP %1$s ou supérieur." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"WordPress %1$s. Pour utiliser cette version de WP Rocket, mettez à jour " +"WordPress à la version %1$s ou plus récente." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"Si vous n'êtes pas en mesure de faire l'upgrade, vous pouvez restaurer WP " +"Rocket à sa version précédente en cliquant ci-dessous." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "Réinstaller la version %s" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "Retour à la version %s" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +"Impossible de détecter l'exigence suivante dans votre thème : fermeture de " +"%1$s." +msgstr[1] "" +"Impossible de détecter les exigences suivantes dans votre thème : fermeture " +"de %1$s." +msgstr[2] "" +"Impossible de détecter les exigences suivantes dans votre thème : fermeture " +"de %1$s." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://fr.docs.wp-rocket.me/article/264-les-pages-ne-sont-pas-mises-en-" +"cache-ou-la-minification-css-et-js-ne-fonctionne-" +"pas/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Vider et précharger le cache" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "Toutes les langues" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "Vider cet article" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "Purger cette URL" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "Vider cache Sucuri" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Purger le cache de RocketCDN" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentation" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Activer Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Installer Imagify gratuitement" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"Accélérez votre site Internet et améliorez votre référencement en réduisant " +"le poids de vos image sans perte de qualité avec Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Plus de détails" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Préchargement du Sitemap : %d pages ont été mises en cache." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"Préchargement du Sitemap : %d pages ont été pré-chargées. (rafraîchir pour " +"voir la progression)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"Une erreur inattendue s’est produite. Quelque chose ne va pas avec WP-" +"Rocket.me ou avec la configuration de ce serveur. Si vous continuez à avoir " +"des problèmes, contactez notre support." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Choisissez un domaine dans la liste" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Aucun domaine disponible dans votre compte CloudFlare" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"Curl est désactivé sur votre serveur. Veuillez demander à votre hébergeur de" +" l'activer. Ceci est nécessaire pour que l’add-on Cloudflare fonctionne " +"correctement." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"L'email Cloudflare, l’API Key et le Zone ID ne sont pas définis. Lisez la " +"documentation %1$sdocumentation%2$s pour plus d'informations." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"L'email Cloudflare et l’API Key ne sont pas définis. Lisez la " +"%1$sdocumentation%2$s pour plus d'informations." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "La connexion à CloudFlare a échoué" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket : %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" +"WP Rocket : Le cache Cloudflare a été purgé avec succès." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"L’événement planifié suivant n'a pas eu lieu. Cela peut indiquer que le " +"système CRON ne fonctionne pas correctement, ce qui peut empêcher certaines " +"fonctions de WP Rocket de fonctionner comme prévu :" +msgstr[1] "" +"Les événements planifiés suivants n'ont pas eu lieu. Cela peut indiquer que " +"le système CRON ne fonctionne pas correctement, ce qui peut empêcher " +"certaines fonctions de WP Rocket de fonctionner comme prévu :" +msgstr[2] "" +"Les événements planifiés suivants n'ont pas eu lieu. Cela peut indiquer que " +"le système CRON ne fonctionne pas correctement, ce qui peut empêcher " +"certaines fonctions de WP Rocket de fonctionner comme prévu :" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "Veuillez contacter votre hébergeur pour vérifier si CRON fonctionne." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "La purge OPcache a échouée." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache purgé avec succès " + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Sitemap XML de Yoast SEO" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"Nous avons automatiquement détecté le sitemap généré par l'extension %s. " +"Vous pouvez cocher l'option pour l'inclure dans le préchargement." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sRetour à WP Rocket%2$s ou %3$sà la page des Plugins%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Sitemap XML de All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Sitemap XML de Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Sitemap XML de SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Sitemap XML de SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Sitemaps XML de Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Précharger le sitemap de l'extension Jetpack" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Fichiers JS en chargement différé" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Ajouter une URL" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "Réglages enregistrés." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "" +"Avant de pouvoir envoyer votre fichier à importer, vous devez régler les " +"erreurs suivantes :" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Choisissez un fichier sur votre ordinateur (taille maximum : %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "Envoyer le fichier et importer les réglages" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Vos accès CloudFlare sont valides." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Vos accès CloudFlare sont invalides !" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Sauvegarder et optimiser" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimiser" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Note :" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Performance :" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Autre fonctionnalité détectée :" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Attention : " + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Télécharger les réglages" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Remplacer le nom d’hôte du site par :" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reservé à / aux" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Tous les fichiers" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Images" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Ajouter un CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Voir la vidéo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Options de base" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Fichiers Statiques" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Options avancées" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "Base de données" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "Préchargement" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Outils" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licence" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s requiert au moins PHP %3$s pour fonctionner correctement. Pour " +"utiliser cette version, demandez à votre hébergeur de mettre à jour votre " +"serveur vers PHP %3$s au minimum. Si cette mise à jour n'est pas possible, " +"vous pouvez revenir à la version précédente en utilisant le bouton ci-" +"dessous." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"La class nommée %1$s est obsolète depuis la version %2$s ! " +"Utilisez %3$s à la place." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "" +"La class nommée %1$s est obsolète depuis la version %2$s !" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "hebdomadaire" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Révisions" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Brouillons auto" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Contenus dans la corbeille" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Commentaires indésirables" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Commentaires à la corbeille" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transients" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tables" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensuel" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "L'optimisation de la base de données est en cours" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "" +"L'optimisation de la base de donnée est terminée. Tout était déjà optimisé !" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"L'optimisation de la base de donnée est terminée. Voici la liste des " +"optimisations effectuées :" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimisé(s)." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sWP Rocket :%2$s Nous avons détecté que le nom de domaine a changé. Les " +"fichiers de configuration doivent être regénérés pour que le cache des pages" +" et les autres optimisations fonctionnent comme prévu. %3$sEn savoir " +"plus%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "Regénérer les fichiers de configuration de WP Rocket maintenant" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Enregistrer les modifications" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Valider la licence" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Indisponible" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Clé API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Adresse e-mail" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Tableau de bord" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Aide, info du compte" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Ma situation" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"J'accepte de partager des données anonymes avec l'équipe de développement " +"pour aider à améliorer WP Rocket. %1$sQuelles informations collecterons-nous" +" ?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Options de base" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache mobile" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Accélérez votre site pour vos visiteurs mobile." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"Nous avons détecté que vous utilisiez un plugin qui nécessite un cache " +"séparé pour mobile, et activé automatiquement cette option pour la " +"compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache utilisateur" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"%1$sLe cache utilisateur%2$s est parfait si vous avez du contenu spécifique " +"ou restreint pour vos utilisateurs sur votre site." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Délai de nettoyage du cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"Les fichiers de cache plus anciens que le délai de purge seront " +"supprimés.
    Activez %1$sle préchargement%2$s pour que le cache soit " +"rechargé automatiquement après ce délai." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Activer la mise en cache pour les utilisateurs WordPress connectés" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Activer la mise en cache pour les appareils mobile" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr " Créer un fichier de cache à part pour les mobiles" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"La plupart des thèmes modernes sont responsives et devraient fonctionner " +"sans cache séparé. Activez ceci seulement si vous avez un thème ou un plugin" +" mobile dédié. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"Indiquez le temps après lequel le cache global doit être vidé
    (0 = " +"illimité)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"Réduisez ce délai à 10 heures ou moins si vous remarquez des problèmes " +"apparaissant seulement périodiquement.%1$sPourquoi ?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Heures" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Jours" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimisation des fichiers" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimisez CSS & JS" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"La minification %1$s est actuellement activée dans " +"Autoptimize. Si vous souhaitez utiliser la minification de " +"%2$s, désactivez ces options dans Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Fichiers CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Fichiers JavaScript" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"La minification %1$s est actuellement activée dans " +"Autoptimize. Si vous souhaitez utiliser la minification de " +"%2$s, désactivez ces options dans Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"Si vous rencontrez des problèmes après avoir activé cette option, copiez et " +"collez les exclusions par défaut pour résoudre rapidement les problèmes :" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"Veuillez également consulter notre %1$sdocumentation%2$s pour une liste " +"d'exclusions de compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"Les scripts internes sont exclus par défaut pour éviter tout problème. " +"Supprimez-les pour profiter pleinement de cette option." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"En cas de problème, rétablissez les exclusions par défaut que vous trouverez" +" %1$sici%2$s" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minifier les fichiers CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" +"Supprime les espace et les commentaires afin de réduire la taille des " +"fichiers CSS." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "Ceci pourrait casser des choses sur votre site !" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"Si vous remarquez des problèmes sur votre site Web après avoir activé cette " +"option, il vous suffit simplement de la désactiver et votre site sera de " +"nouveau normal." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Activer la minification CSS" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"Indiquez l’URL des fichiers CSS à exclure de la minification (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"Interne :Le nom de domaine sera supprimé automatiquement de" +" l'URL. Utilisez les expressions régulières (.*).css afin d’exclure tous les" +" fichiers CSS pour un chemin donné." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"Tiers : Utilisez le chemin complet de l'URL, ou seulement " +"le nom de domaine, pour exclure les fichiers CSS externes. %1$sPlus " +"d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "Optimiser le chargement du CSS" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"L'Optimisation du Chargement CSS élimine les CSS bloquant le rendu de votre " +"site Web. Une seule méthode peut être sélectionnée. La méthode Supprimer les" +" CSS inutilisés est recommandée pour des performances optimales." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"L'Optimisation du Chargement CSS élimine les CSS bloquant le rendu sur votre" +" site Web. Une seule méthode peut être sélectionnée. La méthode Supprimer " +"les CSS inutilisés est recommandée pour des performances optimales." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"Les options Optimiser le chargement CSS sont désactivées en local. %1$sEn " +"savoir plus%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"Supprime le CSS inutilisé par page et contribue à réduire la taille des " +"pages et les requêtes HTTP. Recommandé pour de meilleures performances. " +"Testez-le rigoureusement ! %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "Activer Supprimer les ressources CSS inutilisées" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "Liste des exceptions CSS" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"Indiquez les noms de fichiers CSS, les ID ou les classes qui ne doivent pas " +"être supprimés (un par ligne)." + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"Le Chargement asynchrone du CSS est actuellement géré par le plugin %1$s. Si" +" vous souhaitez utiliser l'option de chargement asynchrone du CSS de WP " +"Rocket, désactivez le plugin %1$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"Génère le Critical Path CSS et charge les CSS de manière asynchrone. " +"%1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "Critical CSS de secours" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"Fourni un critical path CSS de secours si celui auto-généré est " +"incomplet.%1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "Minifier les fichiers JS" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" +"Supprime les espace et les commentaires afin de réduire la taille des " +"fichiers JS." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "Activer la minification JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"Combiner les fichiers JavaScript (activez la minification JS pour " +"pouvoir séléctionner)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"Combine vos fichiers JavaScript, les fichiers tiers et le inline JS en un " +"seul fichier, réduisant le nombre de requêtes HTTP. Ces réglages ne sont pas" +" recommandés si votre site utilise HTTP/2. %1$sPlus d'infos%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"Pour des raisons de compatibilité et pour obtenir les meilleurs résultats, " +"cette option est désactivée lorsque l'option Reporter l'exécution JavaScript" +" est activée." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "Activer la combinaison JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"Indiquez les patterns du code JavaScript inline à exclure de la " +"concaténation (un par ligne).%1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"Indiquez l’URL des fichiers JavaScript à exclure de la minification et de la" +" concaténation (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"Interne :Le nom de domaine sera supprimé automatiquement de" +" l'URL. Utilisez les expressions régulières (.*).js afin d’exclure tous les " +"fichiers JS pour un chemin donné." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"Tiers : Utilisez le chemin complet de l'URL, ou seulement " +"le nom de domaine, pour exclure les fichiers JS externes. %1$sPlus " +"d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +msgid "Load JavaScript deferred" +msgstr "Charger le JavaScript en différé" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"Élimine le JS bloquant le rendu de votre site pour un meilleur temps de " +"chargement perçu. %1$sPlus d'infos%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"Indiquez les URLs ou des mots-clés des fichiers JavaScript à exclure du " +"chargement différé (une par ligne). %1$sPlus d'infos%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"Améliore les performances en retardant le chargement des fichiers JavaScript" +" jusqu'à l'interaction avec l'utilisateur (ex: défilement, clic). %1$sPlus " +"d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "Exclusions en un clic" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"Lorsque vous utilisez l'option Reporter l’exécution du JavaScript, il se " +"peut que le chargement d'éléments qui doivent apparaître immédiatement soit " +"retardé - ex. : un slider, un en-tête, un menu." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"Si vous avez besoin d'une visibilité immédiate, cliquez ci-dessous sur les " +"fichiers qui ne doivent PAS être reportés. Cela permettra aux utilisateurs " +"d'interagir immédiatement avec ces éléments." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"Indiquez les URLs ou les mots-clés qui permettent d'identifier les fichiers " +"JavaScript ou le JS inline à exclure du report d'exécution (un par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "Média" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, dimensions des images" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "LazyLoad" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"Cela peut améliorer le temps de chargement réel et perçu car les images, les" +" iframes et les vidéos ne seront chargées que lorsqu'elles entreront (ou sur" +" le point d'entrer) dans la fenêtre. Réduit le nombre de requêtes " +"HTTP.%1$sPlus d'infos%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"Le Lazyload est actuellement activé dans %2$s. Si vous souhaitez utiliser le" +" Lazyload de WP Rocket, désactivez cette option dans %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "Dimensions des images" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"Ajoute les attributs de largeur et de hauteur manquants aux images. Permet " +"d'éviter les changements de mise en page et d'améliorer l'expérience de " +"lecture de vos visiteurs. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "Activer pour les images" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"Le Lazyload est actuellement activé dans %2$s. Si vous souhaitez utiliser le" +" Lazyload de %1$s, désactivez cette option dans %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "Activer pour les images background CSS" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Activer sur les iframes et vidéos" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Remplacer l'iframe Youtube par une image d'aperçu" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" +"Remplacer l'iframe Youtube par une image d’aperçu n’est pas compatible avec " +"%2$s." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"Cela peut considérablement améliorer votre chargement si vous avez beaucoup " +"de vidéos Youtube sur une page." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Images ou iframes exclues" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"Indiquez les mots-clés (ex: nom de fichier image, classe CSS, domaine) des " +"images ou le code de l'iframe à exclure (une par ligne). %1$sPlus " +"d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Ajouter les dimensions d'image manquantes" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Générez le cache, préchargez les polices" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Préchargement du cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"Lorsque vous activez le préchargement, WP Rocket détecte automatiquement vos" +" sitemaps et enregistre toutes les URLs dans la base de données. L'extension" +" s'assurera que votre cache est toujours préchargé." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Préchargement des liens" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"Le préchargement des liens améliore le temps de chargement perçu en " +"téléchargeant une page lorsqu'un utilisateur survole le lien. %1$sPlus " +"d'info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Préchargement des requêtes DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"Le préchargement des requêtes DNS peut permettre aux ressources externes de " +"charger plus rapidement, surtout sur les réseaux mobiles." + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Préchargement des polices" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"Améliore les performances en aidant les navigateurs à découvrir les polices " +"contenues dans les fichiers CSS. %1$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activer le préchargement" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "URLs à exclure" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"Indiquez les URL à exclure du préchargement (une par ligne). %1$sPlus " +"d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URLs à précharger" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"Indiquez les hôtes externes à précharger (sans http:, un par " +"ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Polices à précharger" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"Indiquez les URLs des fichiers de police à précharger (une par ligne). Les " +"polices doivent être hébergées sur votre propre domaine, ou le domaine que " +"vous avez spécifié dans l'onglet CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"Le nom de domaine sera supprimé automatiquement de l’URL.
    Extensions de " +"police autorisées : otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Activer le préchargement des liens" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Règles avancées" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Affinez les règles du cache" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" +"Les pages sensibles telles que les URLs de connexion / déconnexion " +"personnalisées doivent être exclues du cache." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    Les pages panier, commande et \"mon compte\" réglées dans " +"%1$s%2$s%3$s seront automatiquement détectées et exclues du" +" cache par défaut." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Ne jamais mettre en cache ces Cookies" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Cacher les Query String(s)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "" +"%1$sCacher les Query Strings%2$s vous permet de forcer la mise en cache de " +"paramètres GET spécifiques." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"Indiquez les URLs des pages ou des articles qui doivent être exclues de la " +"mise en cache (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"Le nom de domaine sera supprimé automatiquement de l'URL .
    Utilisez les " +"expressions régulières (.*) pour exclure plusieurs URLs pour un chemin " +"donné." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"Indiquez les IDs des cookies qui, lorsqu'ils sont déposés dans le navigateur" +" du visiteur, devraient empêcher la mise en cache de la page (un par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"Indiquez les chaînes de user agent qui ne devraient jamais voir les pages " +"mises en cache (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" +"Utilisez les expressions régulières (.*) détecter les parties des chaînes " +"des UA." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"Indiquez les URLs dont vous voulez systématiquement vider le cache lorsque " +"vous mettez à jour n'importe quel article ou page (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" +"Indiquez les query strings qui peuvent être mises en cache (une par ligne)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimisez & nettoyez" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Nettoyage des contenus" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"Les révisions et les brouillons seront supprimés définitivement. N'utilisez " +"pas cette option si vous souhaitez conserver vos révisions et brouillons." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Nettoyage des commentaires" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Les Spams et les commentaires mis à la corbeille seront supprimés" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Nettoyage des transients" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"Les transients sont des options temporaires, leur suppression est sans " +"risque. Elles seront automatiquement régénérées si vos plugins en ont " +"besoin." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Nettoyage de la base de données" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Réduit les tables de la base de données" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Nettoyage automatique" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s révision dans votre base de données." +msgstr[1] "%s révisions dans votre base de données." +msgstr[2] "%s révisions dans votre base de données." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s brouillon dans votre base de données." +msgstr[1] "%s brouillons dans votre base de données." +msgstr[2] "%s brouillons dans votre base de données." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s contenu à la corbeille dans votre base de données." +msgstr[1] "%s contenus à la corbeille dans votre base de données." +msgstr[2] "%s contenus à la corbeille dans votre base de données." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s commentaire indésirable dans votre base de données." +msgstr[1] "%s commentaires indésirables dans votre base de données." +msgstr[2] "%s commentaires indésirables dans votre base de données." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s commentaire mis à la corbeille dans votre base de données." +msgstr[1] "%s commentaires mis à la corbeille dans votre base de données." +msgstr[2] "%s commentaires mis à la corbeille dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Tous les transients" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transient dans votre base de données." +msgstr[1] "%s transients dans votre base de données." +msgstr[2] "%s transients dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimiser les tables" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s table à optimiser dans votre base de données." +msgstr[1] "%s tables à optimiser dans votre base de données." +msgstr[2] "%s tables à optimiser dans votre base de données." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Planifier le nettoyage automatique" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Fréquence" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Journalier" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Hebdomadaire" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensuel" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Intégrez votre CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"Toutes les URLs de vos fichiers statiques (CSS, JS, images) seront ré-" +"écrites avec le CNAME fourni." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"Non requis pour des services comme Cloudflare et Sucuri. Veuillez consulter " +"nos %1$sAdd-ons%2$s disponibles." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"%1$sL’Add-on %2$l%3$s est activé. La configuration des paramètres CDN n’est " +"pas nécessaire pour que %2$l fonctionne sur votre site." +msgstr[1] "" +"%1$s Les Add-ons %2$l %3$s sont actuellement activés. La configuration des " +"paramètres CDN n’est pas nécessaire pour que %2$l fonctionnent sur votre " +"site." +msgstr[2] "" +"%1$s Les Add-ons %2$l %3$s sont actuellement activés. La configuration des " +"paramètres CDN n’est pas nécessaire pour que %2$l fonctionnent sur votre " +"site." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "Activer le Content Delivery Network." + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(s) CDN" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Indiquez le(s) CNAME(s) ci-dessous" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"Indiquez les URLs des fichiers qui ne doivent pas être servies par le CDN " +"(une par ligne)." + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"Le nom de domaine sera supprimé automatiquement de l'URL .
    Utilisez les " +"expressions régulières (.*) pour exclure plusieurs URLs pour un chemin " +"donné." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "Contrôlez l'API WordPress Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"Réduire ou désactiver l’activité de l’API Heartbeat peut permettre " +"d’économiser certaines ressources de votre serveur." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "Réduire ou désactiver l'activité Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"La réduction de l'activité fera passer la fréquence Heartbeat d'un coup " +"toutes les minutes à un coup toutes les 2 minutes." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"La désactivation complète de Heartbeat peut endommager les plugins et les " +"thèmes utilisant cette API." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "Ne pas limiter" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "Réduire l'activité" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "Désactiver" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "Contrôler Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "Comportement en Backend" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "Comportement dans l’éditeur d'article" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "Comportement en Frontend" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "Ajoutez des fonctionnalités" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"Ce sont des fonctionnalités complémentaires étendant les option déjà " +"disponibles sans besoin de configuration. Mettez l'option sur \"ON\" pour " +"l'activer depuis cet écran." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" +"Ce sont de simples fonctionnalités complémentaires étendant les option déjà " +"disponibles." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Intégrez votre compte Cloudflare avec cet add-on" + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"Entrez l’adresse e-mail, la clé API globale et le domaine de votre compte " +"CloudFlare pour pouvoir purger le cache Cloudflare et bénéficier des " +"réglages optimaux pour WP Rocket." + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sVous envisagez d'utiliser Automatic Platform Optimization (APO) ?%2$s Il" +" suffit d'activer le plugin officiel Cloudflare et de le configurer. WP " +"Rocket activera automatiquement la compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Si votre serveur utilise Varnish, vous devez activer cet add-on" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"Le cache Varnish sera purgé à chaque fois que WP Rocket purgera son cache " +"pour vous assurer que le contenu soit toujours à jour.
    %1$sEn savoir " +"plus%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "Compatibilité WebP" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "Améliore la compatibilité des navigateurs pour les images WebP." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"Activez cette option si vous souhaitez que WP Rocket serve les images WebP " +"aux navigateurs compatibles. Veuillez noter que WP Rocket ne peut pas créer " +"d'images WebP pour vous. Pour créer des images WebP, nous vous recommandons " +"%1$sImagify%2$s. %3$sPlus d'infos%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Effacez le cache Sucuri lorsque le cache de WP Rocket est effacé." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"Fournissez votre clé API pour vider le cache Sucuri lorsque le cache de WP " +"Rocket est effacé." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Synchronisez le cache Sucuri avec cet add-on." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Accès CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Réglages CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Clé API globale :" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Trouver votre clé API" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "E-mail du compte" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "Mode développement" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"Active temporairement le mode développement sur votre site. Ce réglage se " +"désactivera automatiquement après 3 heures. %1$sEn savoir plus%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "Réglages optimaux" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "" +"Améliore automatiquement votre configuration Cloudflare pour le temps de " +"chargement, les notes de performance et la compatibilité." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "Protocol relatif" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"Ne devrait être utilisé qu’avec la fonction Flexible SSL de CloudFlare. Les " +"URLs de vos fichiers statiques (CSS, JS, images) seront ré-écrites pour " +"utiliser // au lieu de http:// ou https:// ." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Accès Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"La clé API du pare-feu (pour cette extension) doit être au format {32 " +"caractères}/{32 caractères} :" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Trouver votre clé API" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"Add-on Sucuri : La clé API pour le Sucuri firewall doit être au format " +"{32 caractères}/{32 caractères}." + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"Désolé ! L'ajout de /(.*) dans Règles avancées > Ne jamais mettre en cache " +"ces URL(s) n'a pas été sauvegardé car cette valeur désactive le cache et les" +" optimisations sur toutes les pages du site." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importez, exportez, restaurez" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimisation des images" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Compressez vos images" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriels" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Prise en main et tutos vidéos" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intervalle de cache de WP Rocket expiré" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "valeur de WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "" +"La constante WP_CACHE doit être définie à true pour que le cache de WP " +"Rocket fonctionne correctement" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE est réglée sur true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE n’est pas définie" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE est réglée sur false" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Prochaine date de facturation" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Pas d'abonnement" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Votre abonnement RocketCDN est actuellement actif." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Pour utiliser RocketCDN, remplacez votre CNAME par %1$s%2$s%3$s." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sPlus d'infos%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"Nous n'avons pas pu récupérer le prix actuel car l'API RocketCDN a renvoyé " +"un code d'erreur inattendu." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" +"RocketCDN n'est pas disponible pour le moment. Veuillez réessayer plus tard." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" +"La purge du cache de RocketCDN a échoué : Paramètre d'identification " +"manquant." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "La purge du cache de RocketCDN a échoué : Jeton utilisateur manquant." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" +"La purge du cache de RocketCDN a échoué : L'API a renvoyé un code réponse " +"inattendu." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" +"La purge du cache de RocketCDN a échoué : L'API a renvoyé une réponse vide." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" +"La purge du cache de RocketCDN a échoué : L'API a renvoyé une réponse " +"inattendue." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "La purge du cache de RocketCDN a échoué : %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Purge du cache de RocketCDN réussie." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN activé" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN désactivé" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "Valable uniquement jusqu'au %s !" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Accélérez votre site web grâce à :" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "" +"CDN (Content Delivery Network) de haute performance à %1$sbande passante " +"illimitée%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" +"Configuration simple : les %1$smeilleurs réglages CDN%2$s sont " +"automatiquement appliqués" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"Intégration à WP Rocket : l'option CDN est %1$sautomatiquement " +"configurée%2$s dans notre plugin" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "En savoir plus sur RocketCDN" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*%1$s$/mois pour 12 mois puis %2$s$/mois. Vous pouvez résilier votre " +"abonnement à tout moment." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Facturation mensuelle" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "S'abonner" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Réduire cette bannière" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Accélérez votre site web grâce à RocketCDN, le CDN de WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "En savoir plus" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN n'est pas disponible en local et sur les sites tests." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Obtenir RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Nouveau !" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Accélérez votre site web grâce à RocketCDN, le CDN de WP Rocket." + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "Chaque minute" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Régénérer Critical path CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Générer un CPCSS spécifique" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regénérer un CPCSS spécifique" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" +"Cette fonctionnalité n'est pas disponible pour les publications qui ne sont " +"pas publiques." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l pour utiliser cette fonction." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "Publié le %s" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Activez Chargement Asynchrone du CSS dans les réglages de WP Rocket" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Activez Chargement Asynchrone du CSS dans les options ci-dessus" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Le Critical CSS pour %1$s n'a pas été généré. Erreur : %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"Le Critical CSS pour %1$s n'a pas été généré. Erreur : L'API a renvoyé une " +"réponse vide." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "" +"Le Critical CSS pour %1$s n'a pas été généré. Erreur : L'API a renvoyé une " +"réponse vide." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Le Critical CSS pour %1$s sur mobile n'a pas été généré." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "Le Critical CSS pour %1$s n'a pas été généré." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"Le Critical CSS pour %1$s sur mobile n'a pas été généré. Erreur : L'API a " +"renvoyé une réponse vide." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"Le Critical CSS pour %1$s n'a pas été généré. Erreur : L'API a renvoyé une " +"réponse vide." + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "Erreur : %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "La génération du Critical CSS est en cours." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" +"Rendez-vous aux %1$sréglages de WP Rocket%2$s pour suivre la progression." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"La génération du Critical CSS est en cours : %1$d de %2$d de types de page " +"complétés. (Rafraîchir pour voir la progression)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" +"La génération du Critical CSS est en terminée : %1$d de %2$d de types de " +"page." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "La génération du CSS critique a rencontré une ou plusieurs erreur(s)." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "En savoir plus." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"Nous recommandons vivement %1$sSupprimer les ressources CSS inutilisées%2$s " +"pour une meilleure optimisation CSS. Le Chargement Asynchrone du CSS est " +"toujours disponible comme solution de secours." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "Garder l'ancienne option" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"Le Critical CSS pour %1$s pour mobile n'a pas été généré. Erreur : Le " +"dossier de destination n'a pas pu être créé." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"Le Critical CSS pour %1$s n'a pas été généré. Erreur : Le dossier de " +"destination n'a pas pu être créé." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Le fichier Critical CSS pour mobile n’existe pas" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Le fichier Critical CSS n’existe pas" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Le fichier Critical CSS pour mobile ne peut être supprimé" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Le fichier Critical CSS ne peut être supprimé" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Le Critical CSS mobile pour %1$s n'a pas été généré." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "Critical CSS pour %s en cours." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "Critical CSS mobile pour %s généré." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "Critical CSS pour %s généré." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Le fichier Critical CSS a bien été supprimé." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Timeout pour le Critical CSS mobile de%1$s. Veuillez réessayer un peu plus " +"tard." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Timeout pour le Critical CSS de%1$s. Veuillez réessayer un peu plus tard." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Génération du Critical CSS mobile non activée" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Le post demandé n'existe pas." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Impossible de générer un CPCSS pour un post non publié." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Purge de cache planifiée" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Optimisation de la base de données planifiée" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Optimisation de la base de données" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Préchargement" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "La génération du Critical Path CSS" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" +"Renouvelez avant qu'il ne soit trop tard, vous ne payerez que %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"Renouvelez maintenant avant qu'il ne soit trop tard et profitez d'une " +"%1$sréduction de %2$s %3$s, vous ne paierez que %4$s%6$s%5$s !" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Renouvelez votre licence pour 1 an maintenant à %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"Renouvelez votre licence pour 1 an et bénéficiez d’une réduction immédiate " +"%1$sde %3$s%2$s: vous ne paierez que %1$s%4$s%2$s!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Renouvelez avant qu'il ne soit trop tard, vous payerez %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"Renouvelez maintenant et profitez d'une %1$sréduction de %2$s %3$savant " +"qu'il ne soit trop tard, vous ne paierez que %1$s%4$s%3$s !" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"Vous devez détenir une licence valide pour continuer à utiliser cette " +"option. %1$sRenouveler maintenant%2$s avant de perdre l'accès." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"Vous devez détenir une licence active pour activer cette option. " +"%1$sRenouveler maintenant%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"Vous devez détenir une licence active pour activer cette option. %1$sPlus " +"d'infos%2$s." + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"Profitez de%1$s pour accélérez plus de sites : %2$s bénéficiez de %3$s%4$s " +"de réduction %5$s sur la %3$s mise à niveau de votre licence vers Plus ou " +"Infinite ! %5$s" +msgstr[1] "" +"Profitez de %1$s pour accélérez plus de sites : %2$s bénéficiez de %3$s%4$s " +"de réduction %5$s sur la %3$s mise à niveau de votre licence vers Infinite !" +" %5$s" +msgstr[2] "" +"Profitez de %1$s pour accélérez plus de sites : %2$s bénéficiez de %3$s%4$s " +"de réduction %5$s sur la %3$s mise à niveau de votre licence vers Infinite !" +" %5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Illimité" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "- %s" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "La promo %s est en ligne !" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Dépêchez-vous ! Le deal se termine dans :" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minutes" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "secondes" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Mettez à niveau maintenant" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "L'option Optimiser le chargement du CSS est désactivée." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"Vous ne pouvez plus utiliser les options Supprimer les ressources CSS " +"inutilisées ou Chargement asynchrone du CSS." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"Vous avez besoin d'une %1$slicence active%2$s pour continuer à optimiser le " +"chargement de votre CSS, ce qui répond à une recommandation de PageSpeed " +"Insights et améliore les performances de vos pages." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Renouveler maintenant" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Vous perdrez bientôt l'accès à certaines options" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"Vous avez besoin d'une %1$slicence active pour continuer à optimiser le " +"chargement de votre CSS%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"Les options Supprimer les ressources CSS inutilisées et Chargement " +"Asynchrone du CSS sont des options intéressantes pour répondre aux " +"recommandations de PageSpeed Insights et améliorer les performances de votre" +" site Web." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Elles seront %1$sautomatiquement désactivées le %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Votre licence WP Rocket est expirée !" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"Votre site web pourrait être beaucoup plus rapide s'il pouvait profiter de " +"nos %1$s nouvelles fonctionnalités et améliorations%2$s.🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"Votre %1$slicence WP Rocket est sur le point d'expirer%2$s : vous perdrez " +"bientôt l'accès aux mises à jour et au support." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Accélérez plus de sites web" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"Vous pouvez utiliser WP Rocket sur plus de sites en mettant à niveau votre " +"licence. Pour cela, il vous suffit de payer la %1$sdifférence de prix%2$s " +"entre votre licence actuelle et la nouvelle, comme indiqué ci-dessous." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" +"%1$sN.B.%2$s: La mise à niveau de votre licence ne modifie pas votre date " +"d'expiration" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "Économisez %s$" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s sites" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "Mettez à niveau vers %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"Vous pouvez utiliser WP Rocket sur un plus grand nombre de sites web en " +"mettant à niveau votre licence (vous ne paierez que la différence de prix " +"entre votre licence actuelle et la nouvelle)." + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:45 +msgid "LazyLoad CSS backgrounds" +msgstr "LazyLoad background CSS" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "Analyses & publicités" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "Extensions" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "Thèmes" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"Vous devez avoir une licence active pour obtenir la dernière version des " +"listes de notre serveur." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "Impossible d'obtenir les listes mises à jour depuis le serveur." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "Les listes sont à jour." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "Impossible de mettre à jour les listes." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "Les listes ont été mises à jour avec succès." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "Listes de défaut" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "Listes d'exclusion pour Reporter l'exécution JavaScript" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "Listes des extensions incompatibles" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$s: Veuillez patienter %2$s secondes. Le service Supprimer les ressources " +"CSS inutilisées analyse vos pages." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: Le CSS utilisé de votre page d'accueil a été traité. WP Rocket " +"continuera à générer le CSS utilisé pour un maximum de %2$s URLs toute les " +"%3$s secondes." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" +"Nous vous suggérons d'activer le %1$sPréchargement%2$s pour obtenir des " +"résultats plus rapides." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" +"Pour en savoir plus sur le processus, consultez notre %1$sdocumentation%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"Nous n'avons pas pu générer le CSS utilisé car vous utilisez une version " +"piratée de WP Rocket. Vous avez besoin d'une licence active pour utiliser " +"l'option Supprimer les CSS inutilisés et améliorer davantage les " +"performances de votre site Web." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" +"Cliquez ici pour obtenir une licence Single de WP Rocket à moins %1$s !" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"Il semble qu'un plugin de sécurité ou le pare-feu du serveur empêche WP " +"Rocket d'accéder au générateur de la Suppression du CSS inutilisé. Les IP " +"répertoriées %1$sdans notre documentation%2$s doivent être ajoutées à vos " +"listes d’autorisation :" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- Dans le plugin de sécurité, si vous en utilisez un" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "" +"- Dans le pare-feu du serveur. Votre hébergeur peut vous aider à le faire" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: Impossible de créer la %2$s table nécessaire au fonctionnement de " +"Supprimer les Ressources CSS inutilisées dans la base de données. " +"%3$sVeuillez contacter notre support%4$s." + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:314 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: L'option du CSS utilisé n'est pas activée !" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:336 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Cache du CSS utilisé vidée !" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "Nettoyer le CSS utilisé pour cet URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" +"Tâches en attente de l’option Supprimer les ressources CSS inutilisées de WP" +" Rocket" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" +"Tâches en échec de la purge de Supprimer les ressources CSS inutilisées de " +"WP Rocket" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s: Le Préchargement est maintenant actif. Après le préchargement initial," +" il continuera à mettre en cache toutes vos pages chaque fois qu'elles " +"seront purgées. Aucune autre action n'est nécessaire." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "Tâches en attente de l'option Préchargement de WP Rocket" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" +"Le Prechargement de WP Rocket rétablit les tâches bloquées qui ont échoué" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"Il semble y avoir un problème avec la validation de votre licence. Vous " +"pouvez voir le message d'erreur ci-dessous." +msgstr[1] "" +"Il semble y avoir un problème avec la validation de votre licence. Vous " +"pouvez voir les messages d'erreur ci-dessous." +msgstr[2] "" +"Il semble y avoir un problème avec la validation de votre licence. Vous " +"pouvez voir les messages d'erreur ci-dessous." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Type de serveur :" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Version PHP :" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Version de WordPress :" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisite :" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Thème actif :" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Langage du site :" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Extensions actives :" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Noms des toutes les extensions actives" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Réglages de WP Rocket anonymes :" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Quels sont les réglages de WP Rocket activés" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Les données de licence fournies ne sont pas valides." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Pour résoudre ce problème, %1$sveuillez contacter le support%2$s." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"La validation de la licence a échoué. Notre serveur n'a pas pu résoudre la " +"demande de votre site Web.." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Essayez de cliquer sur %1$sValider la license%2$s ci-dessous. Si l’erreur " +"persiste, suivez les instructions de %3$sce guide%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"La validation de la licence a échoué. Vous utilisez peut-être une version " +"cackée du plugin. Veuillez faire la chose suivante :" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Connectez-vous à votre %1$scompte%2$s WP Rocket" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Télécharger le fichier zip." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Réinstaller" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" +"Si vous ne possédez pas de compte WP Rocket, veuillez %1$sacheter une " +"licence%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"La validation de la licence a échoué. Ce compte utilisateur n'existe pas " +"dans notre base de données." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Pour résoudre ce problème, veuillez contacter le support." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" +"La validation de la licence a échoué. Ce compte utilisateur est bloqué." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Veuillez consulter %1$sce guide%2$s pour plus d’informations." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Essayez de cliquer sur %1$sEnregistrer les modifications%2$s ci-dessous. Si " +"l’erreur persiste, suivez les instructions de %3$sce guide%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Votre licence n’est pas correcte." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Assurez-vous que vous avez une %1$slicence WP Rocket%2$s active." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" +"Vous avez ajouté autant de sites que votre licence actuelle vous le permet." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"Mettez à niveau votre %1$scompte%2$s ou %3$stransfèrez votre licence%2$s " +"vers ce domaine." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ce site n'est pas autorisé." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "Veuillez %1$scontacter le support%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Cette clé de licence n'est pas reconnue." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Si le problème persiste, veuillez %1$scontacter le support%2$s." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "La validation de la licence a échoué : %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "Le fichier de log n'existe pas." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "Le fichier de log n'a pu être lu." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Les logs ne sont pas enregistrés dans un fichier." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"L'auto-purge du Varnish sera automatiquement activée dès que Varnish sera " +"activé sur votre serveur %s." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"Il semble qu'il manque à votre installation des fichiers de base de Kinsta " +"gérant la suppression du cache, ce qui empêchera votre installation Kinsta " +"et WP Rocket de fonctionner correctement. Veuillez contacter l'assistance " +"Kinsta par le biais de votre compte %1$sMyKinsta%2$s pour résoudre ce " +"problème." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:125 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s: Le Server Push HTTP/2 de Cloudflare est incompatible avec les options " +"Supprimer les ressources CSS inutilisées et Combiner les fichier CSS. Nous " +"vous recommandons vivement de la désactiver." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:168 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"Votre site utilise le plugin officiel Cloudflare. Nous avons activé la purge" +" automatique de Cloudflare pour des raisons de compatibilité. Si vous avez " +"activé APO, c'est également compatible." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:169 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"Le cache Varnish sera purgé à chaque fois que WP Rocket purgera son cache " +"pour que le contenu soit toujours à jour." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:213 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sWP Rocket :%2$s Vous utilisez \" le cache des cookies dynamiques\". " +"Cloudflare APO n'est pas encore compatible avec cette fonctionnalité." + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:219 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"Vous devez soit désactiver Cloudflare APO, soit vérifier auprès des " +"développeurs du thème/plugin nécessitant l'utilisation de \"cache des " +"cookies dynamiques\" qu'il existe une autre solution pour respecter la mise " +"en cache des pages. %1$sPlus d'infos%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:270 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket :%2$s Vous utilisez l'option \"Créer un fichier de cache à " +"part pour les mobiles\". Vous devez %3$sl'option%5$s \"Cache by Device " +"Type\" sur Cloudflare APO pour servir la bonne version du cache. %4$sPlus " +"d'infos%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:291 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket :%2$s Vous avez activé la fonction \"Cache by Device Type\" " +"sur Cloudflare APO. Si vous jugez nécessaire que le site web ait un cache " +"différent pour les mobiles et les ordinateurs, nous vous suggérons d'activer" +" notre option \"Créer un fichier de cache à part pour les mobiles\" afin de " +"garantir la bonne version du cache." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: Mod PageSpeed n'est pas compatible avec ce plugin et " +"peut entraîner des résultats inattendus. %2$sPlus d'infos%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket : %2$sNous avons détecté que l'option Concaténer les fichiers " +"JS d'Autoptimize est activée. L'option Reporter l'exécution JavaScript de WP" +" Rocket ne sera pas appliquée au fichier qu'elle crée. Nous vous suggérons " +"de désactiver %1$sConcaténer les fichiers JS%2$s pour profiter pleinement " +"de Reporter l'exécution JavaScript." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket : %2$sNous avons détecté que l'option Concaténer le CSS inline" +" d'Autoptimize est activée. L'option Chargement Asychrone du CSS de WP " +"Rocket ne sera pas appliquée au fichier qu'elle crée. Nous vous suggérons de" +" désactiver %1$sConcaténer le CSS inline%2$s pour profiter pleinement du " +"Chargement Asychrone du CSS." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"Ce plugin empêche la mise en cache et les optimisations de WP Rocket. " +"Désactivez-le et utilisez %1$sl'intégration du serveur de noms d'Ezoic%2$s à" +" la place." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "" +"Veuillez désactiver %s option qui entre en conflit avec les fonctions de WP " +"Rocket :" +msgstr[1] "" +"Veuillez désactiver les %s options suivantes qui entrent en conflit avec les" +" fonctions de WP Rocket :" +msgstr[2] "" +"Veuillez désactiver les %s options suivantes qui entrent en conflit avec les" +" fonctions de WP Rocket :" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"%2$sDésactiver les emojis%3$s de %1$s est en conflit avec %2$sDésactiver les" +" emojis%3$s de WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"%2$sLa compression Gzip%3$s de %1$s est en conflit avec %2$sla compression " +"Gzip%3$s de WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"%2$sLe cache navigateur %3$s de %1$s est en conflit avec %2$sle cache " +"navigateur %3$s de WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" +"%2$sLa mise en cache de page %3$s de %1$s est en conflit avec %2$sla mise en" +" cache de page %3$s de WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"%2$sL'optimisation des fichiers %3$s de %1$s est en conflit avec " +"%2$sl'optimisation des fichiers%3$s de WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"La Suppression du CSS inutilisé est actuellement activée dans Perfmatters. " +"Si vous souhaitez utiliser l'option Suppression du CSS inutilisé de WP " +"Rocket, désactivez cette option dans Perfmatters." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"La suppression automatique des CSS inutilisés est actuellement activée dans " +"RapidLoad Power-Up pour Autoptimize. Si vous souhaitez utiliser l'option de " +"suppression des CSS inutilisés de WP Rocket, désactivez le plugin RapidLoad " +"Power-Up pour Autoptimize." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"Le report de l'exécution des JS est activée dans %1$s. Si vous voulez " +"utiliser le Report de l’exécution JavaScript de WP Rocket, désactivez %1$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"Votre modèle Divi a été mis à jour. Purge le CSS utilisé si la mise en page," +" le design ou les styles CSS ont été changés." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Chargement asynchrone du CSS pour mobile" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"Votre site web utilise actuellement le même Critical Path CSS pour les " +"ordinateurs de bureau et les mobiles." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" +"Cliquez sur le bouton pour activer le CPCSS spécifique aux mobiles pour " +"votre site." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "" +"Il s'agit d'une action unique et ce bouton sera supprimé par la suite. " +"%1$sPlus d'info%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"Votre site utilise un Critical Path CSS spécifique pour mobile. %1$sPlus " +"d'infos%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Générer un CPCSS spécifique aux mobiles" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Critical Path CSS" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" +"Générer un Critical Path CSS spécifique pour ce post. %1$sPlus d'infos%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Ce post utilise un Critical Path CSS spécifique. %1$sPlus d'infos%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Revenir au CPCSS par défaut" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Vous rencontrez un problème ?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"Il n'est pas toujours nécessaire de désactiver WP Rocket lorsque vous " +"rencontrez des problèmes. La plupart d'entre eux peuvent être résolus en " +"désactivant seulement certaines options." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"Notre conseil ? Au lieu de désactiver WP Rocket, utilisez notre " +"%1$sConfiguration sans conflit%2$s pour désactiver rapidement les options " +"LazyLoad, Optimisation des Fichiers et CDN. Vérifiez ensuite si votre " +"problème est résolu." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" +"Voulez-vous utiliser notre Configuration sans conflit pour dépanner WP " +"Rocket ?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Oui, appliquer la %1$sConfiguration sans conflit%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"et exporter les réglages de WP Rocket %1$s(recommandé car les réglages " +"actuels seront supprimés)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Non, désactiver et mettre en veilleuse ce message pour" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 jour" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 jours" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 jours" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "toujours" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Annuler" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Confirmer" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +" %1$sWP Rocket %2$s%3$s est disponible. %4$sEn savoir plus%5$s sur les mises" +" à jour et les améliorations de cette version majeure. Vous avez besoin " +"d'une licence active pour les utiliser sur votre site, ne manquez pas cette " +"occasion ! %6$sRenouveler maintenant%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Mise à jour des listes d'inclusion et d'exclusion" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"Les listes de compatibilité sont téléchargées automatiquement chaque " +"semaine. Cliquez sur le bouton si vous souhaitez les mettre à jour " +"manuellement. %1$sPlus d'infos%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Mettre à jour les listes" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Active l’Optimisation des Google Fonts" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"Améliore les performances des polices et combine plusieurs requêtes de " +"polices pour réduire le nombre de requêtes HTTP." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"L’Optimization des Google Fonts est désormais activée sur votre site. " +"%1$sPlus d'infos%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimiser les Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Vider le cache après" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "Javascript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importer les réglages" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "État de l'Add-on" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modifier les options" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME CDN" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Purge les ressources mises en cache de votre RocketCDN. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "En savoir plus" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Purge tous les fichiers mis en cache de RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache de CloudFlare" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "Purge les ressources mises en cache de votre site web. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Vider le cache CloudFlare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Félicitations !" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket est maintenant activé et travaille déjà pour vous." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Votre site devrait être déjà plus rapide !" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"Pour des sites web plus rapides, WP Rocket applique automatiquement 80 % des" +" bonnes pratiques en matière de performance web." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"Nous activons aussi les options qui profitent immédiatement à votre site." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" +"Continuez avec les options si vous souhaitez optimiser encore plus votre " +"site !" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Mon compte" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Actualiser" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "avec" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Date d'expiration" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Mon compte" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Actions rapides" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Supprimer tous les fichiers du cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Régénérer le Critical CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Supprimer le cache du CSS utilisé" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Foire aux questions" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Toujours pas trouvé de solution ?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" +"Envoyez un ticket ci-dessous et obtenez l'aide de nos sympathiques " +"Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Demandez au Support" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Faites une sauvegarde de votre base de données avant tout nettoyage !" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "Toute optimisation faite de la base de donnée est irréversible." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Sauvegarder et optimiser" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"%1$sWP ROCKET%2$s a créé %3$sIMAGIFY%4$s %1$spour une optimisation d'image " +"de première classe.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"Compressez vos images pour rendre votre site Web plus rapide, tout en " +"maintenant leurs qualités." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Plus sur Imagify :" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Page du plugin" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Site web Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Comparatif des plugins de compression d'images" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Installer Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" +"WP Rocket n'a pas été en mesure de valider automatiquement votre licence." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Suivez ce %1$s, ou contactez %2$s pour pourvoir démarrer la machine." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutoriel%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://fr.docs.wp-rocket.me/article/257-resoudre-les-problemes-de-" +"validation-de-licence/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssupport%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Supprimer tous les fichiers du cache Sucuri" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Taille des fichiers : %1$s. Nombre d’entrées : %2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sTélécharger le fichier%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sSupprimer le fichier%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Exporter les réglages" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Télécharger un fichier de sauvegarde de vos réglages" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Télécharger les réglages" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Restauration" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "La version %s vous pose des problèmes ?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"Vous pouvez restaurez la version majeure précédente. %sPuis envoyez-nous une" +" demande de support." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "Réinstaller la version %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Debug mode" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Créez un fichier log de debug." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Prise en main" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Premiers pas avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Trouver les meilleurs réglages pour votre site" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Comment vérifier si WP Rocket met en cache votre site" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Comment mesurer la vitesse de votre site" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Comment fonctionne le préchargement" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Réussir les Core Web vitals" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Comment améliorer le LCP avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Comment améliorer le FID avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Comment améliorer le CLS avec WP Rocket" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Dépannage" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" +"Résolution des problèmes d'affichage liés à l'Optimisation des Fichiers" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Comment trouver le bon fichier JS à exclure" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Comment le contenu externe ralentit votre site" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configurer l’add-on Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Réglages de WP Rocket" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "version %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Afficher la barre latérale" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"Vous trouverez ci-dessous les données collectées par WP Rocket%1$ssi vous " +"nous en donnez l'autorisation.%2$s" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"WP Rocket ne transmettra jamais de noms de domaine ou d'adresses email (sauf" +" pour la validation de licence), d'adresses IP ou de clés API tierces." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activer Rocket Analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" +"C'est un excellent point de départ pour résoudre certains des problèmes les " +"plus fréquents." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Lire la documentation" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Ce que WP Rocket fait pour vous par défaut" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Comment bien mesurer le temps de chargement de votre site Web" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Consultez notre tuto et apprenez à mesurer la vitesse de votre site." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Lire notre guide" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Découvrez les réglages optimaux de WP Rocket pour les mobiles." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Test et amélioration des Google Core Web Vitals pour WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "En savoir plus" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Vous n'avez pas activé le cache utilisateur." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"Utilisez un navigateur privé pour vérifier la vitesse et l’aspect visuel de " +"votre site Web." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Besoin d'aide ?" diff --git a/languages/rocket-gl_ES.mo b/languages/rocket-gl_ES.mo new file mode 100644 index 0000000..22f8f39 Binary files /dev/null and b/languages/rocket-gl_ES.mo differ diff --git a/languages/rocket-gl_ES.po b/languages/rocket-gl_ES.po new file mode 100644 index 0000000..7984fd4 --- /dev/null +++ b/languages/rocket-gl_ES.po @@ -0,0 +1,3558 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: \n" +"Language-Team: Galician (Spain) (https://www.transifex.com/wp-media/teams/18133/gl_ES/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: gl_ES\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-he_IL.mo b/languages/rocket-he_IL.mo new file mode 100644 index 0000000..e80e7f4 Binary files /dev/null and b/languages/rocket-he_IL.mo differ diff --git a/languages/rocket-he_IL.po b/languages/rocket-he_IL.po new file mode 100644 index 0000000..4f4c495 --- /dev/null +++ b/languages/rocket-he_IL.po @@ -0,0 +1,3594 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Yoni Mantin , 2019\n" +"Language-Team: Hebrew (Israel) (https://www.transifex.com/wp-media/teams/18133/he_IL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: he_IL\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "מפות אתר XML של Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "טען מראש את מפת האתר מתוסף ה-Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "מפת אתר XML של Yoast SEO" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "תמיכה" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "מסמכים" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "שאלות נפוצות" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "הגדרות" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "נקה מזיכרון המטמון" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "שחזור גרסא %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "יבוא הגדרות נכשל: לא הועלה אף קובץ." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "יבוא הגדרות נכשל: שם קובץ שגוי." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "יבוא הגדרות נכשל: סוג קובץ שגוי." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "ההגדרות יובאו ונשמרו." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "שגיאת מצב פיתוח של Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "מצב פיתוח של Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "שגיאת רמת זיכרון מטמון של Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "רמת זיכרון מטמון של Cloudflare הוגדרה ל%s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "שגיאת צמצום של Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "צמצום Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "נקה זיכרון מטמון" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "לעולם אל תשמור עמוד זה במטמון" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "הפעל אפשרויות אלו על פוסט זה:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad עבור תמונות" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "כווץ/מזג CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "כווץ/מזג JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "כיבוי" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "כן, מאשר" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "לא, תודה" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "תודה רבה!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "גרסאות" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "טיוטות אוטומטיות" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "תגובות ספאם" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "רישיון" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "מפתח API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "כתובת דוא\"ל" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "דקות" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "שעות" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "ימים" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "קבצי CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "קבצי JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "כווץ קבצי CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "זה עלול לשבור דברים!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "מדיה" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "אפשר עבור תמונות" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "טעינה מראש" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "ציין מחרוזות סוכני משתמש שלעולם לא אמורים לראות עמודים שנשמרו במטמון (אחד לכל שורה)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "ציין כתובות URL שברצונך למחוק מהמטמון בכל פעם שאתה מעדכן כל פוסט או עמוד (אחת בכל שורה)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "ציין מחרוזות שאילתה עבור הטמנה בזיכרון (אחת לכל שורה)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "מסד נתונים" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "תדירות" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "יומי" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "שבועי" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "חודשי" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "מפתח API גלובלי:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "העלה קובץ וייבא הגדרות" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "ההגדרות נשמרו." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "שבועי" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "כלים" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "כל השפות" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "נקה פוסט זה" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "מחק URL זה" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "תיעוד" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "חודשי" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "פרטים נוספים" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "הוסף URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "לפני שתוכל להעלות את קובץ הייבוא שלך, עליך לפתור את השגיאה הבאה:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "שמור וייעל" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "ייעל" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "הערה:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "טיפ ביצועים:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "אותרה תכונה צד ג':" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "אזהרה:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "הגדרות הורדה" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "החלף את שם מארח האתר ב:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "שמור עבור" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "כל הקבצים" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "תמונות" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "הוסף CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "צפה בוידיאו" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "בסיסי" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "שדות סטטיים" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "מתקדם" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "הרישון שלך אינו תקף." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "אתר זה אינו מורשה." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "ביטול" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "הגדרות הורדה" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "שמור שינויים" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "זוהי נקודת התחלה מצוינת כדי לתקן חלק מהבעיות הנפוצות ביותר." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "קרא/י את התיעוד" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "כיצד נכון למדוד בצורה נכונה את זמן הטעינה של האתר שלך" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "קרא/י את המדריך שלנו" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "קרא/י עוד" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "זקוקים לעזרה?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-hr.mo b/languages/rocket-hr.mo new file mode 100644 index 0000000..87dceba Binary files /dev/null and b/languages/rocket-hr.mo differ diff --git a/languages/rocket-hr.po b/languages/rocket-hr.po new file mode 100644 index 0000000..3e1e6dc --- /dev/null +++ b/languages/rocket-hr.po @@ -0,0 +1,3579 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.11\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Borko Livić , 2022\n" +"Language-Team: Croatian (https://www.transifex.com/wp-media/teams/18133/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2022-06-23 14:06-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SearchPathExcluded-5: inc/Dependencies\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Vaša web stranica je hostana kod %s. Radi kompatibilnosti smo uključili automatsko čišćenje Varnisha." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML mape web-lokacije" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Unaprijed učitaj mapu web-lokacije od Jetpacka" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Automatski detektiramo mapu web-lokacije generiranu pomoću%s. Možete označiti opciju da ga se predučita." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML mapa sajta" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML mapa web-lokacije" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML mapa weba" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "SEO Framework XML mapa web-lokacije" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare nije dao nikakav odgovor. Molimo pokušajte ponovo kasnije." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Netočna Cloudflare email adresa ili API ključ." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Pročitajte %1$sdokumentaciju%2$s za daljnje upute." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Netočan Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email i/ili API ključ nisu postavljeni. Pročitajte %1$sdokumentaciju%2$s za više uputa." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Nedostaje Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Izgleda da vaša domena nije postavljena na Cloudflare-u." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cloudflare cache je uspješno očišćen." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Greška u Cloudflare razvojnom modu: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare razvojni mod%s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Greška u Cloudflare cache nivou: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare cache nivo stavljen na %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Greška u Cloudflare minifikaciji:%s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare minifikacija%s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Greška Cloudflare rocket učitavača:%s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket učitavač:%s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Cache greška Cloudflare pretraživača :%s" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Pogreška u čišćenju Sucuri cachea: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Sucuri cache se briše. Imajte na umu da može potrajati do dvije minute da se izbriše u potpunosti." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "API ključ Sucuri firewalla nije pronađen." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "API ključ Sucuri firewalla nije važeći." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Pogreška prilikom kontaktiranja API-ja Sucuri firewalla. Poruka o pogrešci je: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Nije moguće dobiti odgovor od API-ja Sucuri firewalla." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Zaprimljen nevažeći odgovor od API-ja Sucuri firewalla." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri firewall API je vratio nepoznatu pogrešku." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API Sucuri firewalla je vratio sljedeću pogrešku: %s" +msgstr[1] "API Sucuri firewalla je vratio sljedeće pogreške: %s" +msgstr[2] "API Sucuri firewalla je vratio sljedeće pogreške: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Izmjene" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Auto nacrti" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Objave u smeću" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Spam kometari" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Obrisani komentari" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transienti" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tablice" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "tjedno" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mjesečno" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Postupak optimizacije baze podataka je u tijeku" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Database optimization process is complete. Everything was already optimized!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Postupak optimizacije baze podataka je završen. Popis optimiziranih stavki u nastavku:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimizirano." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Spremi Promjene" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Potvrdite licencu" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Nedostupno" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licenca" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API ključ" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Email adresa" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Nadzorna ploča" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Zatražite pomoć, informacije o računu" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Moj status" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analitika" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Slažem se da dijelim anonimne podatke s razvojnim timom kako bih pomogao poboljšati WP Rocket. %1$sKoje ćemo podatke prikupiti?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Osnovne mogućnosti cachea" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobilni Cache" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Ubrzajte svoju web-lokaciju za posjetitelje koji koriste mobilne uređaje." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Otkrili smo da koristite dodatak koji zahtijeva zasebni cache za mobilne uređaje i automatski smo uključili tu mogućnost radi bolje kompatibilnosti." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache korisnika" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sCache korisnika%2$s je odličan kada prikazujete sadržaj isključivo određenim korisnicima ili imate ograničenu vidljivost sadržaja na vašoj web-lokaciji." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Vijek trajanja cachea" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Cache datoteke starije od navedenog životnog vijeka cache-a će biti uklonjene.
    Aktivirajte %1$spreloading%2$s kako bi se cache obnovio nakon isteka." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Omogući caching za logirane WordPress korisnike." + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Omogućite cachiranje na mobilnim uređajima" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Odvojite cache datoteke za mobilne uređaje" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Većina modernih tema je responzivna i trebala bi raditi bez zasebnog cachea. Omogućite ovo samo ako imate dediciranu mobilnu temu ili dodatak. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Navedite vrijeme nakon kojeg će se izbrisati globalni cache
    (0 = neograničeno )" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Smanjite vijek trajanja na 10 sati ili manje ako primijetite probleme koji se povremeno pojavljuju. %1$sZašto?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Sati" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dana" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimizacija datoteka" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimiziraj CSS i JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS datoteke" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s jMinfikacija je trenutno aktivirana pomoću dodatka Autoptimize. Ako želite koristiti %2$sminifikaciju, onemogućite te opcije u postavkama Autoptimize-a." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript datoteke" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minificiraj CSS datoteke" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Minificiranje CSS-a uklanja razmake i komentare kako bi se smanjila veličina datoteke." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Ovo bi moglo poremetiti izgled/funkcionalnost vaše web-lokacije!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Ako na web-lokaciji primijetite pogreške nakon što ste aktivirali ovu postavku, samo je ponovno deaktivirajte, a web-lokacija će se vratiti u normalu." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Aktiviraj minifikaciju CSS-a" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Kombiniraj CSS datoteke (Omogući minifikaciju CSS datoteka za odabir)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Kombiniranje CSS-a spaja sve vaše datoteke u jednu, smanjujući HTTP zahtjeve. Ne preporučuje se ako web-lokacija koristi HTTP/2. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "Radi kompatibilnosti i najboljih rezultata, ova je opcija onemogućena kada je omogućeno Uklanjanje nekorištenog CSS-a." + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Aktiviraj kombiniranje CSS-a" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Izuzete CSS datoteke" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Navedite URL-ove CSS datoteka koje treba isključiti iz minifikacije i kombiniranja (jedan URL po retku)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Interno: Dio domene URL-a automatski će biti automatski uklonjen. Koristite (.*).css zamjenske znakove (wildcard) da biste isključili sve CSS datoteke koje se nalaze na određenoj putanji." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "CSS treće strane: Za isključivanje vanjskog CSS-a upotrijebite ili punu putanju URL-a ili samo naziv domene. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimiziraj isporuku CSS-a" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "Optimizacija isporuke CSS-a eliminira CSS koji blokira generiranje prikaza na vašoj web stranici. Može se odabrati samo jedna metoda. Uklonjanje neiskorištenog CSS-a preporučuje se za optimalnu izvedbu, ali ograničeno je samo na korisnike s aktivnom licencom." + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "Optimizacija isporuke CSS-a eliminira CSS koji blokira generiranje prikaza na vašoj web stranici. Može se odabrati samo jedna metoda. Za optimalne performanse preporučuje se uklanjanje neiskorištenog CSS -a." + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "Značajka Optimiziraj isporuku CSS-a je onemogućena u lokalnim okruženjima %1$sSaznaj više%2$s" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "Uklanja neiskorišteni CSS po stranici i pomaže u smanjenju veličine stranice i HTTP zahtjeva. Preporučuje se za najbolje performanse. Temeljito testirajte! %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "Aktivirajte Uklonite nekorišteni CSS" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "CSS sigurna lista" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "Navedite imena CSS datoteka, ID-ove ili klase koje ne treba uklanjati (po jedan u retku)." + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "Učitajte CSS asinkrono" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "Učitavanjem CSS -a asinhrono trenutno upravlja%1$s plugin. Ako želite koristiti opciju asinhronog učitavanja CSS- a pomoću WP Rocketa, onemogućite plugin %1$s ." + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "Generira critical path CSS i asinhrono učitava CSS.%1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Zamjenski ključni CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Pruža zamjenu ako je automatski generiran CSS ključne putanje nepotpun. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minificiraj JavaScript datoteke" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minficiranje JavaScripta uklanja razmake i komentare kako bi se smanjila veličina datoteke." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Aktiviraj minifikaciju JavaScripta" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Kombiniraj JavaScript datoteke (Omogući minifikaciju JavaScript datoteka za odabir)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Kombiniranje JavaScript datoteka kombinira JS vaše web-lokacije, JS treće strane i inline JS smanjujući HTTP zahtjeve.. Ne preporučuje se ako web-lokacija koristi HTTP/2. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "Radi kompatibilnosti i najboljih rezultata, ova je opcija onemogućena kada je omogućena odgoda izvršavanja javascripta." + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Aktiviraj kombiniranje JavaScripta" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Izuzet Inline JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Navedite uzorke inline JavaScripta koji će biti isključeni iz kombiniranja (jedan po retku).%1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Izuzete JavaScript datoteke" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Odredite URL-ove JavaScript datoteka koje će biti isključene iz minifikacije i kombiniranja (jedan po retku)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Interno: Dio domene URL-a automatski će biti automatski uklonjen. Koristite (.*).js zamjenske znakove (wildcard) da biste isključili sve JS datoteke koje se nalaze na određenoj putanji." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "JS treće strane: Za isključivanje vanjskog JS-a upotrijebite ili punu putanju URL-a ili samo naziv domene. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Učitaj JavaScript s odgodom" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Učitavanje JavaScript s odgodom uklanja JS koji blokira prikaz vaše web-lokacije i može poboljšati vrijeme učitavanja.%1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "Navedite URL-ove ili ključne riječi JavaScript datoteka koje će se izuzeti iz odgode (po jedan u retku). %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Odgodi izvršavanje JavaScripta" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Poboljšava performanse odgađajući učitavanje JavaScript datoteka do interakcije korisnika (npr. scroll, klik). %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "Navedite URL-ove ili ključne riječi koje mogu prepoznati inline ili JavaScript datoteke koje želite izuzeti iz odgode izvršavanja (jedna po retku)." + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Medij" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, dimenzije slika" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Može poboljšati stvarno i opaženo vrijeme učitavanja tako što će slike, iframeove i videozapise učitati tek kad uđu (ili netom prije) u okvir za prikaz (viewport) te tako smanjiti broj HTTP zahtjeva. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "Lazyload je trenutno aktivan pomoću %2$s. Ako želite koristiti WP Rocket LazyLoad, onemogućite ovu opciju pod%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "Dimenzije slika" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "Slikama dodajte atribute širine i visine koji nedostaju. Pomaže u sprječavanju pomicanja elemenata stranice i poboljšava iskustvo čitanja.. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Uključi za slike" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "Lazyload je trenutno aktivan pomoću %2$s. Ako želite koristiti %1$s lazyload, onemogućite ovu opciju pod%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Uključi za iframes i videa" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Zamijenite YouTube iframe slikom za pregled" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Zamijenite YouTube iframe slikom za pregled nije kompatibilan s %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Može značajno poboljšati vrijeme učitavanja ako na stranici imate mnogo videozapisa sa YouTube-a." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Izuzete slike ili iframe-ovi" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "Navedite ključne riječi (npr. naziv datoteke slike, CSS klasa, domena) sa slike ili iframe koda koji će biti izuzeti (po jedna u retku).%1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Dodaj dimenzije slike koje nedostaju" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Predučitavanje" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Generiraj cache datoteke, predučitaj fontove" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Predučitaj cache" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Predučitavanje linkova" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Predučitavanje linkova poboljšava percipirano vrijeme učitavanja preuzimanjem stranice kada korisnik zadrži pokazivač iznad linka.%1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Prethodno dohvati DNS zahtjeve" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Prethodno dohvaćanje (prefetch) DNS-a može ubrzati učitavanje vanjskih datoteka, posebno na mobilnim mrežama" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Predučitaj fontove" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Poboljšava performanse pomažući preglednicima da otkriju fontove u CSS datotekama. %1$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Aktiviraj predučitavanje" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL-ovi koje treba prethodno dohvatiti (prefetch)" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Odredite vanjske hostove za pretragu (bez http:, jedan po retku)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Fontovi za predučitavanje" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Navedite URL-ove datoteka fontova koje treba unaprijed učitati (jedan u retku). Fontovi moraju biti hostani na vašoj domeni ili domeni koju ste naveli u kartici CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Domena URL-a automatski će biti uklonjena.
    Dopuštena proširenja fonta: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Uključi predučitavanje linkova" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Napredna pravila" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Fino podešavanje pravila cachiranja" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Osjetljive stranice kao što su prilagođeni URL-ovi za prijavu / odjavu trebali bi biti izuzeti iz cachea." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Download-ovi" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Stranice košarice, naplate i \"moj račun\" postavljene u %1$s%2$s%3$s će biti detektirane i neće biti cachirane, prema zadanim postavkama." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nikad ne cachiraj ove URL-ove" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nikad ne cachiraj ove Kolačiće (Cookies)" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Nikada ne cachiraj ove korisničke agente" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Uvijek očisti ove URL-ove" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Nizovi upita za cachiranje (Cache Query String(s))" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sCache za nizove upita%2$s omogućuje vam prisiljavanje cachiranja za određene GET parametre." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Navedite URL-ove stranica ili objava koje ne bi smjeli nikad biti cachirani (jedan po retku)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Domena URL-a će automatski biti uklonjena.
    Koristite (.*) zamjenske znakove (wildcard) da biste isključili sve URL-ove koje se nalaze na određenoj putanji." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "Navedite potpune ili djelomične ID-ove kolačića koji bi, kada se postave u pregledniku posjetitelja, trebali spriječiti da se stranica cachira (po jedan u retku)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Navedite nizove korisničkog agenta koji nikada ne bi trebali vidjeti cachirane (jedna po retku)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Upotrijebite (.*) zamjenske znakove (wildcards) kako bi otkrili dijelove UA nizova." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Navedite URL-ove koje želite uvijek očistiti iz cachea svaki put kad ažurirate bilo koju objavu ili stranicu (jednu po retku)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Navedite nizove upita za cachiranje (jedan po retku)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Baza podataka" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimizirajte, smanjite višak podataka" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Čišćenje objava" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Izmjene objava i skice bit će trajno izbrisani. Ne koristite ovu opciju ako želite zadržati revizije ili skice." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Čišćenje komentara" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Spam i komentari u smeću će biti trajno izbrisani." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Čišćenje transienta" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Transienti su privremene opcije; sigurno ih je ukloniti. Biti će ponovno automatski generirani ukoliko ih vaši dodaci budu zahtijevali." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Čišćenje baze podataka" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Uklanja suvišne informacije u tablicama baze podataka" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Automatsko čišćenje" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s revizija u vašoj bazi podataka." +msgstr[1] "%s revizija u vašoj bazi podataka." +msgstr[2] "%s revizija u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s skica u vašoj bazi podataka." +msgstr[1] "%s skica u vašoj bazi podataka." +msgstr[2] "%s skica u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s objava u smeću u vašoj bazi podataka." +msgstr[1] "%s objava u smeću u vašoj bazi podataka." +msgstr[2] "%s objava u smeću u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s spam komentar u vašoj bazi podataka." +msgstr[1] "%s spam komentara u vašoj bazi podataka." +msgstr[2] "%s spam komentara u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s obrisan komentar u vašoj bazi podataka." +msgstr[1] "%s obrisanih komentara u vašoj bazi podataka." +msgstr[2] "%s obrisanih komentara u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Svi transienti" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transient u vašoj bazi podataka." +msgstr[1] "%s transienta u vašoj bazi podataka." +msgstr[2] "%s transienta u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimize tablice podataka" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tablica za optimizaciju u vašoj bazi podataka." +msgstr[1] "%s tablica za optimizaciju u vašoj bazi podataka." +msgstr[2] "%s tablica za optimizaciju u vašoj bazi podataka." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Zakaži automatsko čišćenje" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Učestalost" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Dnevno" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Tjedno" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mjesečno" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integrirajte svoj CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Svi URL-ovi statičkih datoteka (CSS, JS, slike) bit će prepisani u CNAME(s) koje navedete." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Nije potrebno za servise kao što su Cloudflare i Sucuri. Molimo pogledajte naše dostupne %1$sDodatke%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Izuzmi datoteke iz CDN-a" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l dodatak%3$s je trenutno omogućen. Konfiguracija CDN postavki nije potrebna da bi %2$l radio na vašoj web lokaciji." +msgstr[1] "%1$s%2$l dodatka%3$s su trenutno omogućena. Konfiguracija CDN postavki nije potrebna da bi %2$l radli na vašoj web lokaciji." +msgstr[2] "%1$s%2$l dodataka%3$s je trenutno omogućeno. Konfiguracija CDN postavki nije potrebna da bi %2$l radili na vašoj web lokaciji." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Omogućite CDN." + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "U nastavku navedite CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Navedite URL-ove datoteka koje se ne smiju posluživati ​​putem CDN-a (jedan po retku)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Dio s domenom URL-a će automatski biti uklonjen.
    Koristite (.*) zamjenske znakove (wildcards) kako biste izuzeli sve datoteke određene vrste smještene na navedenoj putanji." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Upravljajte WordPress Heartbeat API-em" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Smanjenje ili onemogućavanje aktivnosti Heartbeat API-ja može pomoći u uštedi resursa vašeg web poslužitelja." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Smanji ili onemogući aktivnost Heartbeata" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Smanjenje aktivnosti će promijeniti frekvenciju s jednog \"otkucaja\" svake minute do jednog \"otkucaja\" svake 2 minute." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Onemogućavanje funkcije Heartbeat može u potpunosti onemogućiti pravino funkcioniranje dodataka i /ili teme koja koristi ovaj API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Nemoj ograničiti" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Ograniči aktivnost" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Onemogući" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Kontroliraj Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Ponašanje u backendu" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Ponašanje u uređivaču objava" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Ponašanje u frontendu" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Dodaci" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Dodajte još značajki" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "One-click Rocket dodaci" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "One-Click dodaci su značajke koje proširuju dostupne opcije bez potrebe za dodatnom konfiguracijom. Prebacite opciju \"uključeno\" da biste omogućili funkcionalnost s ovog zaslona." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket Dodaci" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket Dodaci su komplementarne značajke koje proširuju dostupne opcije." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integrirajte svoj Cloudflare račun pomoću ovog dodatka." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Navedite adresu e-pošte svog računa, globalni API ključ i domenu da biste koristili opcije kao što je brisanje Cloudflare cachea i omogućavanje optimalnih postavki pomoću programa WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Ako je Varnish pokrenut na vašem poslužitelju, morate aktivirati ovaj dodatak." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnisj cache će biti izbrisan svaki put kada WP Rocket obriše svoj cache kako bi se osiguralo da je sadržaj uvijek ažuriran.
    %1$sSaznaj više%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "WebP kompatibilnost" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "Poboljšajte kompatibilnost preglednika za slike u WebP formatu." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Omogućite ovu opciju ako želite da WP Rocket poslužuje WebP slike na kompatibilnim preglednicima. Imajte na umu da WP Rocket ne može stvoriti WebP slike za vas. Za stvaranje WebP slika preporučujemo %1$sImagify%2$s. %3$sViše informacija%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Očistite Sucuri cache kada je obrisan cache WP Rocketa." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Upišite svoj API ključ za brisanje Sucuri cachea kada je izbrisan cache WP Rocketa." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sinkronizirajte Sucuri cache pomoću ovog dodatka." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare podaci" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare postavke" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globalni API ključ:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Pronađi svoj API ključ" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Email računa" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Development mode" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Privremeno aktivirajte Development mode na web-lokaciji. Ova postavka će se automatski isključiti nakon 3 sata. %1$sSaznaj više%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optimalne postavke" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Automatski poboljšava Cloudflare konfiguraciju za brzinu, ocjenu izvedbe i kompatibilnost." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Relativni protokol" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Treba se koristiti samo s Cloudflare-ovom fleksibilnom SSL značajkom. URL-ovi statičkih datoteka (CSS, JS, slike) bit će prepisani tako da koriste // umjesto http:// ili https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri podaci" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Pronađi svoj API ključ" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Upload datoteke i uvoz settings" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Dodatak za Sucuri: API ključ za Sucuri firewall mora biti u formatu{32 znaka}/{32 znaka}.." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Settings spremljene." + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "Oprostite! Dodavanje /(.*) u Napredna pravila > Nikada ne cacheiraj URL(ove) nije spremljeno jer onemogućuje predmemoriranje i optimizacije za svaku stranicu na vašoj web-lokaciji." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Alati" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Uvoz, izvoz, povrat postavki" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimizacija slika" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Sažmite slike" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Upute" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Početak rada i edukativni videozapisi" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "Nismo mogli dohvatiti trenutnu cijenu jer je RocketCDN API vratio neočekivani kod pogreške." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "RocketCDN trenutno nije dostupan. Pokušajte opet malo kasnije." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: nedostaje parametar identifikatora." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: nedostaje korisnički token." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: API je vratio neočekivani kôd odgovora." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: API je vratio prazan odgovor." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: API je vratio neočekivani odgovor." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "Čišćenje RocketCDN cachea nije uspjelo: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Čišćenje RocketCDN cachea je uspješno." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Sljedeći datum naplate" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Nema pretplate" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Vaša RocketCDN pretplata je trenutno aktivna." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Da biste koristili RocketCDN, zamijenite svoj CNAME s %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sViše informacija%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "Omogućen RocketCDN" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN onemogućen" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Vrijedi samo do %s !" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Ubrzajte svoju web stranicu zahvaljujući:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Jednostavna konfiguracija: %1$snajbolje CDN postavke%2$s su automatski primijenjene" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "WP Rocket integracija: CDN je %1$sautomatski konfiguriran%2$s u našem pluginu" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Saznaj više o RocketCDN-u" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "* $%1$s/mjesec za 12 mjeseci a zatim $%2$s/mjesec. Svoju pretplatu možete otkazati u svakom trenutku." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Naplaćuje se mjesečno" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Započni" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Smanji ovaj banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Ubrzajte svoju web stranicu pomoću RocketCDN-a od WP Rocketa." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Saznaj više" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN nije dostupan na lokalnim domenama i staging webovima." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Nabavi RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Novo!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Ubrzajte svoju web stranicu pomoću RocketCDN-a od WP Rocketa." + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Očisti ovo iz cachea" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Rocket interval isteklog cachea" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE vrijednost" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "WP_CACHE konstanta mora biti postavljena na true da bi WP Rocket cache radio ispravno" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE je postavljen na true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE nijje postavljen" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE je postavljen na false" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "Svake minute" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Ključni CSS za %1$s nije generiran. Greška: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "Ključni CSS za %1$s na mobilnim uređajima nije generiran. Greška: API je vratio prazan odgovor." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Ključni CSS za %1$s nije generiran. Greška: API je vratio prazan odgovor." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Ključni CSS za %1$s na mobilnim uređajima nije generiran." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Ključni CSS za %1$s nije generiran." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "Ključni CSS za %1$s na mobilnim uređajima nije generiran. Greška: API je vratio nevažeći kôd odgovora." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Ključni CSS za %1$s nije generiran. Greška: API je vratio nevažeći kôd odgovora." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Greška: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Obnovi putanju ključnog CSS-a" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Stvaranje specifičnog CPCSS-a" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Ponovno stvaranje specifičnog CPCSS-a" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "Ova značajka nije dostupna za vrste objava koje nisu javne." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l da koristite ovu značajku." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Objavi %s" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Omogućite asinhrono učitavanje CSS-a u postavkama WP Rocketa" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Omogućite asinhrono učitavanje CSS-a u gornjim opcijama" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Trenutno je aktivno generiranje ključnog CSS-a." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Idite na stranicu%1$s postavki WP Rocketa%2$s za praćenje napretka." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Trenutno se izvodi generiranje ključnog CSS-a: %1$d od %2$d vrsta stranica dovršeno (Osvježite ovu stranicu kako biste vidjeli napredak)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Generiranje ključnog CSS-a za %1$d od %2$d vrsta stranica." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Generiranje ključnog CSS-a naišlo je na jednu ili više pogrešaka." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Saznaj više" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "Ključni CSS za %1$s na mobilnim uređajima nije generiran. Greška: nije moguće stvoriti odredišnu mapu." + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "Ključni CSS za %1$s nije generiran. Greška: nije moguće stvoriti odredišnu mapu." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Datoteka ključnog CSS-a za mobilne uređaje ne postoji." + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Datoteka ključnog CSS-a ne postoji." + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Datoteka kritičnog CSS-a za mobilne uređaje ne može biti izbrisana" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Datoteka kritičnog CSS-a ne može biti izbrisana" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Ključni CSS na mobilnim uređajima za%1$s nije generiran." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Ključni CSS za %s u tijeku." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Ključni CSS na mobilnim uređajima za %s je generiran." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Ključni CSS za %s je generiran." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Datoteka kritičnog CSS-a uspješno izbrisana." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Ključni CSS na mobilnim uređajima za %1$s timeout. Probajte kasnije." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Ključni CSS za %1$s timeout. Probajte kasnije." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Generiranje mobilnog CPCSS-a nije aktivirano." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Zatraženi post ne postoji." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Ne može se generirati CPCSS za neobjavljeni post." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Sljedeći planirani događaj nije uspio. To može značiti da CRON sustav ne radi ispravno, što može spriječiti da neke značajke WP Rocketa rade kako je predviđeno:" +msgstr[1] "Sljedeći planirani događaji nisu uspjeli. To može značiti da CRON sustav ne radi ispravno, što može spriječiti da neke značajke WP Rocketa rade kako je predviđeno:" +msgstr[2] "Sljedeći planirani događaji nisu uspjeli. To može značiti da CRON sustav ne radi ispravno, što može spriječiti da neke značajke WP Rocketa rade kako je predviđeno:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Molimo kontaktirajte svoj hosting kako biste provjerili radi li CRON." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Zakazano čišćene cachea" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Zakazana optimizacija baze podataka" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Postupak optimizacije baze podataka" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Predučitavanje" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Postupak stvaranja ključnog puta CSS-a" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "Iskoristite %1$s za ubrzavanje više web stranica:%2$s dobijete %3$s%4$s popusta%5$s za %3$snadogradnju vaše licence na Infinite!%5$s" +msgstr[1] "Iskoristite %1$s za ubrzavanje više web stranica:%2$s dobijete %3$s%4$s popusta%5$s za %3$snadogradnju vaše licence na Infinite!%5$s" +msgstr[2] "Iskoristite %1$s za ubrzavanje više web stranica:%2$s dobijete %3$s%4$s popusta%5$s za %3$snadogradnju vaše licence na Infinite!%5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Neograničeno" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%s popust" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "%s promocija je aktivna!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Požuri! Ponuda završava za:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuta" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Sekundi" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Nadogradi sada" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Uklonite ovu obavijest" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Vaša WP Rocket licenca je istekla!" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Obnovi odmah" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "Vaša %1$sWP Rocket licenca uskoro ističe%2$s: uskoro ćete izgubiti pristup ažuriranjima i podršci." + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "Obnovite uz %1$s%2$s popust%3$s prije nego što bude prekasno. Platit ćete samo %1$s%4$s%3$s!" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Ubrzajte više web stranica" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "WP Rocket možete koristiti na više web stranica nadogradnjom licence. Za nadogradnju jednostavno platite %1$srazliku u cijeni%2$s između vaše trenutne i nove licence, kao što je prikazano u nastavku." + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sNapomena%2$s: Nadogradnja licence ne mijenja datum isteka" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "Uštedite $%s" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s web stranica" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "Nadogradite na %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "WP Rocket možete koristiti na više web lokacija nadogradnjom licence (plaćat ćete samo razliku u cijeni između trenutne i nove licence)." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Očisti korišteni CSS" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "%1$s: Molimo pričekajte %2$s sekundi. Značajka Uklanjanje nekorištenog CSS-a obrađuje vaše stranice." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "%1$s: Korišteni CSS vaše početne stranice je obrađen. WP Rocket će nastaviti generirati korišteni CSS do %2$s URL-a po %3$s sekundi." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "Da biste saznali više o procesu, provjerite našu %1$sdokumentaciju%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "Nismo mogli generirati korišteni CSS jer koristite \"nulled\" verziju WP Rocketa. Potrebna vam je aktivna licenca da biste koristili značajku Ukloni neiskorišteni CSS i dodatno poboljšali izvedbu svoje web stranice." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "Kliknite ovdje da biste dobili jednu licencu za WP Rocket na %1$s popusta!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: Opcija korištenog CSS-a nije omogućena!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Cache korištenog CSS-a je očišćen!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "Obrišite korišteni CSS ovog URL-a" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Došlo je do neočekivane pogreške. Nešto možda nije u redu s WP-Rocket.me ili konfiguracijom ovog poslužitelja. Ako i dalje imate problema, kontaktirajte podršku." + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Varnish automatsko pročišćavanje automatski će se omogućiti nakon što omogućite Varnish na vašem %s serveru." + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "Čini se da vašoj instalaciji nedostaju Kinsta datoteke koje upravljaju čišćenjem Cachea, što će spriječiti ispravno postavljanje vaše Kinsta instalacije i WP Rocketa. Molimo kontaktirajte Kinsta podršku putem vašeg %1$sMyKinsta%2$s računa kako biste riješili ovaj problem." + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s: Mod PageSpeed ​​nije kompatibilan s ovim dodatkom i može dovesti do neočekivanih rezultata. %2$sViše infromacija%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "%1$sWP Rocket: %2$sOtkrili smo da je omogućena značajka JavaScript Aggregation Autoptimize plugina. WP Rocketova odgoda izvršavanja JavaScripta neće se primijeniti na datoteku koju kreira. Predlažemo onemogućavanje %1$sJavaScript Aggregation%2$s kako biste u potpunosti iskoristili prednosti odgode izvršavanja JavaScripta." + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "%1$sWP Rocket: %2$sOtkrili smo da je omogućena značajka Aggregate Inline CSS Autoptimize plugina. WP Rocketovo Asinkrono učitavanje CSS-a neće raditi ispravno. Predlažemo onemogućavanje %1$sAggregate Inline CSS%2$s kako biste u potpunosti iskoristili prednosti Asinkronog učitavanja CSS-a." + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "Ovaj dodatak blokira caching i optimizacije WP Rocket-a. Deaktivirajte ga i koristite %1$sEzoic's nameserver integration%2$s umjesto toga." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Isključite sljedeću %s opciju koja je u sukobu s WP Rocket značajkama:" +msgstr[1] "Isključite sljedeće %s opcije koje su u sukobu s WP Rocket značajkama:" +msgstr[2] "Isključite sljedeće %s opcije koje su u sukobu s WP Rocket značajkama:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP kompresija%3$s je u sukobu s WP Rocket %2$sGZIP kompresijom%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$scacheiranje preglednika %3$s je u sukobu s WP Rocket %2$scacheiranjem preglednika%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$scaching za stranice%3$s je u sukobu s WP Rocket %2$scachingom stranica%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$soptimizacija resursa%3$s je u sukobu s WP Rocket %2$soptimizacijom datoteka%3$s" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "Odgoda JS-a je trenutno aktivirana u %1$s. Ako želite koristiti WP Rocket za odgodu JS-a , onemogućite %1$s" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML mapa sajta" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Podrška" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumenti" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Česta pitanja" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Postavke" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Vraćanje ažuriranja" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sVratite se na WP Rocket%2$s ili %3$s idite na stranicu Dodaci%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Uvoz postavki nije uspio: nemate dopuštenje za to." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Uvoz postavki nije uspio: datoteka nije prenesena." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Settings import nije uspio: pogrešan naziv fajla." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Settings import nije uspio: pogrešna vrsta fajla." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Uvoz postavki nije uspio:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Uvoz postavki nije uspio: neočekivani sadržaj datoteke." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Postavke uvezene i spremljene." + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "Odgodi JavaScript datoteke" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "Isključene JavaScript datoteke iz odgode" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Sljedeći je obrazac nevažeći i uklonjen:" +msgstr[1] "Sljedeći su obrasci nevažeći i uklonjeni:" +msgstr[2] "Sljedeći su obrasci nevažeći i uklonjeni:" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "Više informacija" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Očisti cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Opcije WP Rocketa" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Nikad ne spremaj ovu stranicu." + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktivirajte ove opcije na ovom članku:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad za slike" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad za iframes/videa" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Minificirati/kombinirati CSS" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "Uklonite nekorišteni CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minificirati/kombinirati JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Defer JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Prvo aktivirajte %s opciju." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNapomena:%2$s Nijedna od ovih opcija neće se primijeniti ako je ovaj post isključen iz cachea u globalnim postavkama cachea." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s nije deaktiviran zbog nedostatka dozvola za zapisivanje.
    \n" +"Omogućite zapisivanje%2$s i ponovno pokušajte deaktivaciju ili odmah prisilno deaktivirajte:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Jedan ili više dodataka su omogućeni ili onemogućeni. Ako želite utjecati na pravilan prikaz web-lokacije, očistite cache." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s : Sljedeći pluginovi nisu kompatibilni s ovim pluginom i to može izazvati neočekivane rezultate:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Deaktiviraj" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS nije službeni dodatak. On spriječava da neke opcije WP Rocketa rade ispravno. Isključite ga ako primjetite problem." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache je trenutno uključen, što će uzrokovati sukob s WP Rocket Cacheom. Molimo, postavite Endurance Cache razinu cachea na Off (Level 0) na stranici %1$sPostavke > Općenito%2$s kako biste spriječili probleme." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Za ispravan rad dodatka potrebna je prilagođena struktura stalnih veza. %2$sIdite na postavke stalnih veza%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s nije mogao izmijeniti .htaccess datoteku zbog nedostajućih dozvola pisanja." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Rješavanje problema:: %1$sKako omogućiti zapisivanje u sistemske datoteke%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Ne brinite, caching i postavke WP Rocketa će i dalje raditi ispravno." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Za optimalne performanse, preporučuje se dodavanje sljedećih redaka u vašu .htaccess datoteku (nije obvezno):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s je spreman! %2$sTestirajte vrijeme učitavanja%4$s, ili posjetite vaše %3$spostavke%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Dopuštate li WP Rocketu da prikupi osnovne dijagnostičke podatke s ove web stranice?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "To bi nam pomoglo da u budućnosti poboljšamo WP Rocket." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Koje ćemo podatke prikupiti?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "U nastavku se nalazi detaljan pregled svih podataka koje će WP Rocket prikupiti ako dobije dozvolu. WP Rocket nikada neće prenijeti imena domena ili adrese e-pošte (osim za provjeru licence), IP adrese ili API ključeve treće strane." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Da, dozvoli" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Ne, hvala" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Hvala vam!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket sada prikuplja ove podatke s vaše web-lokacije:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Cache očišćen." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Cache objava očišćen." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Cache pojmova očišćen." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Cache korisnika očišćen." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Zaustavi predučitavanje" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Prisili deaktiviranje" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Sljedeći kôd bi trebao biti zapisan u ovu datoteku:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s se ne može konfigurirati zbog nedostatka dozvola za pisanje." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Utjecana datoteka/mapa: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Datoteku za uklanjanje pogrešaka (debug) nije moguće izbrisati." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Za ispravno funkcioniranje %1$s %2$s potrebno je koristiti barem:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Da biste koristili ovu WP Rocket verziju, molimo pitajte vašeg web host kako nadograditi vaš poslužitelj na PHP %1$s ili više. " + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Da biste koristili ovu verziju WP Rocketa, nadogradite WordPress na verziju %1$s ili noviju." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Ako ne možete nadograditi, možete se vratiti na prethodnu verziju pomoću gumba u nastavku." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Ponovno instalirajte verziju %s" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Svake %d minute" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Log datoteka ne postoji." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Log datoteku nije moguće pročitati." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Log zapisi nisu spremljeni u datoteku." + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "Koristite %1$s tza posluživanje WebP slika pa ne morate omogućiti ovu opciju. %2$sViše informacija%3$s %4$s Ako umjesto toga želite da vam WP Rocket poslužuje WebP slike, onemogućite prikaz WebP-a u %1$s." +msgstr[1] "Koristite%1$s za posluživanje WebP slika pa ne morate omogućiti ovu opciju. %2$sViše informacija%3$s %4$s Ako umjesto toga želite da vam WP Rocket poslužuje WebP slike, onemogućite prikaz WebP-a u %1$s." +msgstr[2] "Koristite %1$s za posluživanje WebP slika pa ne morate omogućiti ovu opciju. %2$sViše informacija%3$s %4$s Ako umjesto toga želite da vam WP Rocket poslužuje WebP slike, onemogućite prikaz WebP-a u %1$s." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP cache je onemogućen pomoću filtera." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Koristite %1$s za konverziju slika u WebP format. Ukoliko želite da ih poslužuje WP Rocket, aktivirajte ovu opciju. %2$sViše informacija%3$s" +msgstr[1] "Koristite %1$s za konverziju slika u WebP format. Ukoliko želite da ih poslužuje WP Rocket, aktivirajte ovu opciju. %2$sViše informacija%3$s" +msgstr[2] "Koristite %1$s za konverziju slika u WebP format. Ukoliko želite da ih poslužuje WP Rocket, aktivirajte ovu opciju. %2$sViše informacija%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Koristite %1$s za konverziju slika u WebP format. WP Rocket će kreirati zasebne cache datoteke za posluživanje vaših WebP slika. %2$sViše informacija%3$s" +msgstr[1] "Koristite %1$s za konverziju slika u WebP format. WP Rocket će kreirati zasebne cache datoteke za posluživanje vaših WebP slika. %2$sViše informacija%3$s" +msgstr[2] "Koristite %1$s za konverziju slika u WebP format. WP Rocket će kreirati zasebne cache datoteke za posluživanje vaših WebP slika.%2$sViše informacija%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "%5$sNismo otkrili nijedan kompatibilan dodatak za WebP!%6$s%4$s Ako još nemate WebP slike na svojoj web lokaciji, razmislite o upotrebi %3$sImagify%2$s ili neki drugi podržani dodatak. %1$sViše informacija%2$s %4$sAko ne koristite WebP, nemojte omogućiti ovu opciju." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket će stvoriti zasebne cache datoteke za posluživanje WebP slika." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Otkrivanje sljedećeg zahtjeva u vašoj temi nije uspjelo: zatvaranje%1$s." +msgstr[1] "Otkrivanje sljedećih zahtjeva u vašoj temi nije uspjelo: zatvaranje %1$s." +msgstr[2] "Otkrivanje sljedećih zahtjeva u vašoj temi nije uspjelo: zatvaranje %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Svi jezici" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Poništite ovaj članak" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Očistite ovaj URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Očisti Sucuri cache" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Očisti RocketCDN cache" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentacija" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Čišćenje OPcachea nije uspjelo." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "Čišćenje OPcachea uspješno" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktivirajte Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Instalacija besplatne verzije Imagify-a" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Ubrzajte svoje web stranice i podignite svoj SEO smanjivanjem veličine slika bez gubitka kvalitete koristeći Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Više detalja" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Predučitavanje mape web-lokacije: %d stranica je cachirano." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Predučitavanje mape we-lokacije: %d necachiranih stranica je uspješno predučitano (osvježite kako biste vidjeli napredak)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Odaberite domenu s liste" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Nema dostupnih domena u vašem CloudFlare računu" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl je onemogućen na vašem serveru a potreban je za ispravni rad Cloudflare dodatka. Molimo, kontaktirajte svoju hosting kompaniju." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email, API ključ i Zone ID nisu postavljeni. Pročitajte %1$sdokumentaciju%2$s za više informacija." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email i API ključ nisu postavljeni. Pročitajte %1$sdokumentaciju%2$s za više informacija." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Povezivanje s Cloudflare-om neuspjelo" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "Pozvana klasa%1$s je ukinuta od verzije %2$s! Koristite %3$s umjesto toga." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "Pozvana klasa %1$s jeukinuta od verzije %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS datoteke s Odgođenim Učitavanjem JavaScript-e" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Dodaj URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Prije nego što možete uploadati svoju datoteku za uvoz, trebat ćete popraviti sljedeću pogrešku:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Odaberite datoteku s vašeg računala (maksimalna veličina:%s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Vaši Cloudflare isprave su važeće." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Vaši Cloudflare isprave su nevažeće!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Spremi i optimiziraj" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimiziraj" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Napomena:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Savjet o performansama:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Detektirana opcija treće strane:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Upozorenje:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Postavke preuzimanja" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Zamijenite hostname naziv stranice s:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "rezervirano za" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Sve datoteke" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Slike" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Dodaj CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Pogledajte video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Osnovno" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statične Datoteke" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Napredno" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s zahtijeva minimalnu PHP verziju %3$s za ispravno funkcioniranje. Da biste koristili ovu verziju, pitajte svog web hosta kako nadograditi poslužitelj na verziju PHP-a %3$s ili višu. Ako ne možete nadograditi, možete se vratiti na prethodnu verziju pomoću gumba u nastavku." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Čini se da postoji problem s provjerom vaše licence. Niže možete vidjeti poruku o pogrešci." +msgstr[1] "Čini se da postoji problem s provjerom vaše licence. Niže možete vidjeti poruke o pogreškama." +msgstr[2] "Čini se da postoji problem s provjerom vaše licence. Niže možete vidjeti poruke o pogreškama." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Vrsta servera:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Verzija PHP-a:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Verzija WordPressa:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Aktivna tema:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Trenutni jezik web-lokacije:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktivni dodaci:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Imena svih aktivnih dodataka" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonimizirane postavke WP Rocketa:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Koje postavke WP Rocketa su aktivne" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Navedeni podaci o licenci nisu valjani." + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Za rješavanje, molimo %1$skontaktirajte podršku%2$s." + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Provjera valjanosti licence nije uspjela. Naš poslužitelj nije mogao riješiti zahtjev s vaše web-lokacije." + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Pokušajte kliknuti %1$sPotvrdi licencu%2$s niže. Ako se pogreška i dalje pojavljuje, slijedite %3$sovaj vodič%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Provjera valjanosti licence nije uspjela. Možda koristite ilegalnu verziju dodatka. Učinite sljedeće:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Prijavite se u svoj WP Rocket %1$sračun%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Preuzmite zip datoteku" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstaliraj" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Ako nemate WP Rocket račun, molimo %1$skupite licencu%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Provjera valjanosti licence nije uspjela. Ovaj korisnički račun ne postoji u našoj bazi podataka." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Za rješavanje, kontaktirajte podršku." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Provjera valjanosti licence nije uspjela. Ovaj korisnički račun je blokiran." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Molimo pogledajte %1$sovaj vodič%2$s za više informacija." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Pokušajte kliknuti %1$sSpremi promjene%2$s niže. Ako se pogreška i dalje pojavljuje, slijedite %3$sovaj vodič%4$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Vaša licenca nije valjana." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Provjerite imate li aktivnu %1$sWP Rocket licencu%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Dodali ste onoliko web-lokacija koliko to dopušta vaša trenutna licenca." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Nadogradite svoj %1$sračun%2$s ili %3$sprenesite licencu%2$s na ovu web lokaciju." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ova web stranica nije dopuštena." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Molimo %1$skontaktirajte korisničku podršku%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Ovaj licencni ključ nije prepoznat." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Ako se problem nastavi, molimo %1$skontaktirajte korisničku podršku%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Provjera valjanosti licence nije uspjela: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Dodatak uspješno instaliran." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Nažalost, ne smijete instalirati dodatke na ovu web-lokaciju." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Nažalost, to vam nije dopušteno." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Neuspjela instalacija dodatka." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Vrati se" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Učitajte CSS asinkrono za mobilne uređaje" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Vaša web lokacija trenutno koristi istu putanju ključnog CSS-a za desktop i za mobilne uređaje." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Kliknite gumb kako biste omogućili CPCSS za svoju web lokaciju specifičan za mobilne uređaje." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Ovo je jednokratna radnja i ovaj će gumb biti uklonjen nakon toga.%1$sViše informacija%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Vaša web lokacija koristi CSS-ov kritični put za mobilne uređaje.%1$sViše informacija%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Generiraj CPCSS specifičan za mobilne uređaje" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Kritični CSS put" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Kreiraj kritični CSS put za ovaj post %1$sViše informacija%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Ovaj post koristi kritični CSS put. %1$sViše informacija%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Vrati se na zadani CPCSS" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Suočavate se s problemom?" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "Nije uvijek potrebno deaktivirati WP Rocket kada se suočite s bilo kakvim problemima. Većina problema se može popraviti deaktiviranjem samo nekih opcija." + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "Naš savjet? Umjesto da deaktivirate WP Rocket, koristite naš %1$sSiguran način%2$s da brzo onemogućite opcije LazyLoad, Optimizacija datoteka i CDN. Zatim provjerite je li vaš problem riješen." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "Želite li koristiti naš Siguran način za rješavanje problema s WP Rocketom?" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Da, primjeni \"%1$sSiguran način%2$s\"" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Ne, deaktivirajte i odgodite ovu poruku na" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 dan" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 dana" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 dana" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Zauvijek" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Poništiti" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Potvrdi" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Uključi optimizaciju Google fontova" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Poboljšava performanse fonta i kombinira više zahtjeva za font kako bi se smanjio broj HTTP zahtjeva. " + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Optimizacija Google Fontova je uključena za vašu web stranicu. %1$sViše informacija%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimiziraj Google Fontove" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Očisti cache nakon" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS i JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Uvezi postavke" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Status dodatka" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Izmijenite opcije" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Čisti RocketCDN cachirane resurse za vašu web stranicu. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Saznaj više" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Očisti sve RocketCDN cache datoteke" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Cache" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Čisti cachirane resurse za vašu web-lokaciju. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Očisti sve Cloudflare cache datoteke" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Čestitamo!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket je sada aktiviran i spreman za rad." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Vaša bi se web-lokacija trebala već brže učitavati!" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "Kako bi se zajamčile brze web stranice, WP Rocket primjenjuje 80% najboljih praksi za web performanse." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Omogućujemo i opcije koje pružaju trenutačnu korist vašoj web-lokaciji." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Nastavite do opcija za daljnju optimizaciju vaše web-lokacije!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Moj račun" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Osvježi informacije" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "s" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Datum isteka" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Pogledaj moj račun" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Brze radnje" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Ukloni sve cachirane datoteke" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Obnovi ključni CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Ukloni nekorišteni CSS cache" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Učestalo postavljana pitanja" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Još uvijek ne možete pronaći rješenje?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Otvorite ticket i zatražite pomoć od naše stručne ekipe." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Pitajte korisničku podršku" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Backupirajte bazu podataka prije nego što pokrenete čišćenje!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Nakon što je izvršena optimizacija baze podataka, nema načina da je poništite." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Spremi promjene i optimiziraj" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s je kreirao %3$sIMAGIFY%4$s %1$sza najbolju optimizaciju slika.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Komprimirajte sliku da biste učinili web-lokaciju bržom a pritom zadržali kvalitetu slike." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Više na Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Stranica Imagify dodatka" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify web-lokacija" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Pregled dodataka za kompresiju slika" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instaliraj Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket nije mogao automatski potvrditi valjanost vaše licence." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Slijedite %1$s, ili kontaktirajte %2$sza pokretanje motora." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$spodrška%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Obrišite sve Sucuri cache datoteke" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Veličina datoteke: %1$s. Broj unosa: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sPreuzmi datoteku%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sIzbriši datoteku%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Izvezi postavke" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Preuzmite sigurnosnu kopiju svojih postavki" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Postavke preuzimanja" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Povratak postavki" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Je li verzija %s uzrokovala problem na vašoj web-lokaciji?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Možete se vratiti na prethodnu verziju ovdje.%sZatim pošaljite zahtjev za podršku." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Reinstaliraj verziju %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Način otklanjanja pogrešaka (debug)" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Kreiraj debug log datoteku." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Kako započeti" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Početak rada s WP Rocketom" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Pronalazak najboljih postavki za vašu web stranicu" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Kako provjeriti da li WP Rocket cachira vašu web stranicu" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Kako izmjeriti brzinu učitavanja vaše web stranice" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Kako funkcionira predučitavanje" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Prolazak Core Web vitals" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Kako poboljšati LCP pomoću WP Rocketa" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Kako poboljšati FID pomoću WP Rocketa" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Kako poboljšati CLS pomoću WP Rocketa" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Rješavanje problema" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Rješavanje problema prikaza prilikom optimizacije datoteka" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Kako pronaći pravi JavaScript za isključivanje" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Kako vanjski sadržaj/resursi usporavaju vašu web stranicu" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Postavljanje Cloudflare dodatka" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket postavke" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "verzija %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Prikaži bočnu traku" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "U nastavku se nalazi detaljan pregled svih podataka koje će WP Rocket prikupiti%1$sako dobije dozvolu.%2$s" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket nikada neće prenijeti imena domena ili adrese e-pošte (osim za provjeru licence), IP adrese ili API ključeve treće strane." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Aktiviraj Rocket analitiku" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "To je izvrsna polazna točka za rješavanje nekih od najčešćih problema." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Pročitaj dokumentaciju" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Što WP Rocket radi prema zadanim postavkama" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Kako točno izmjeriti vrijeme učitavanja web-lokacije" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Provjerite naš vodič i saznajte kako mjeriti brzinu učitavanja vaše web stranice." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Pročitajte naš vodič" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Saznajte više o optimalnim postavkama WP Rocketa za mobilne uređaje." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Testirajte i poboljšajte Google Core Web Vitals za WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Pročitaj više" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Niste aktivirali cachiranje za logirane korisnike." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Pomoću privatne/incognito kartice preglednika provjerite brzinu i izgled vaše web-lokacije." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Trebate pomoć?" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" diff --git a/languages/rocket-hu_HU.mo b/languages/rocket-hu_HU.mo new file mode 100644 index 0000000..6c1b579 Binary files /dev/null and b/languages/rocket-hu_HU.mo differ diff --git a/languages/rocket-hu_HU.po b/languages/rocket-hu_HU.po new file mode 100644 index 0000000..138cd80 --- /dev/null +++ b/languages/rocket-hu_HU.po @@ -0,0 +1,3561 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.11\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Oliver Kardos, 2022\n" +"Language-Team: Hungarian (Hungary) (https://www.transifex.com/wp-media/teams/18133/hu_HU/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2022-07-28 14:01-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: hu_HU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SearchPathExcluded-5: inc/Dependencies\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Az oldalad a %stárhelyen van, bekapcsoltuk a Varnish gyorsítótár automata ürítését kompatibilitási okokból." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Oldaltérképek" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Oldaltérkép előtöltése a Jetpack pluginból" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Megtaláltuk az oldaltérképet, amit %s bővítmény készített. Ha szeretnéd ezt előtölteni akkor pipáld be az erre való opciót." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML oldaltérkép" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML oldaltérkép" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML oldaltérkép" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML oldaltérkép" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "A Cloudflare semmilyen választ nem küldött. Kérjük próbáld újra később." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Téves Cloudflare email cím vagy API kulcs." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Olvasd el a %1$sdokumentációt %2$s további segítségért. " + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Hibás Cloudflare Zóna azonosító azaz Zone ID" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Nincs beállítva a Cloudflare email vagy API kulcs. Olvasd el a %1$s dokumentációt %2$s további részletekért." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Hiányzó Cloudflare zóna azonosító." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Úgy tűnik hogy a domain neved nincs beállítva a Cloudflare oldalán." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cloudflare gyorsítótár sikeresen ürítve." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare fejlesztői üzemmód hiba: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare fejlesztői üzemmód %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare gyorsítótár szint hiba:%s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare gyorsítótár szint beállítva %s-re" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare minification hiba: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare minification %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Cloudflare rocket loader hiba: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare böngésző gyorsítótár hiba: %s" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri gyorsítótár ürítési hiba: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "A Sucuri gyorsítótár ürítése folyamatban. Tipp: ez akár két percet is igénybe vehet." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "A Sucuri tűzfal API kulcsa nem található." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "A Sucuri tűzfal API kulcsa érvénytelen." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Nem sikerült elérni a Sucuri tűzfal API-ját. A hibaüzenet: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Nem kaptunk választ a Sucuri tűzfal API-jától." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Érvénytelen válaaszt kaptunk a Sucuri tűzfal API-jától." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "A Sucuri tűzfal API-ja ismeretlen hibát jelzett." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "A Sucuri tűzfal API-ja az alábbi hibát jelezte: %s" +msgstr[1] "A Sucuri tűzfal API-ja az alábbi hibákat jelezte.%s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Változatok" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automatikus piszkozatok" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Lomtárba helyezett bejegyzések" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Spam kommentek" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Lomtárba helyezett hozzászólások" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Tranziens-ek" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Táblák" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "heti" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "havi" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Adatbázis optimizálás folyamatban" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Adatbázis optimizálás kész. Már minden optimizálva van!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Adatbázis optimizálás kész. Az alábbi elemek lettek optimizálva:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s optimizálva lett." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Módosítások mentése" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Licenc ellenőrzése" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Nem elérhető" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licenc" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API kulcs" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Email cím" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Vezérlőpult" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Segítség, fiók-információ" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Állapotom" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Hozzájárulok ahhoz, hogy névtelen adatokat osszunk meg a fejlesztőcsapat felé, segítve ezzel a WP Rocket továbbfejlesztését. %1$sMilyen adatokat gyűjtünk?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Gyorsítótár" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Alapvető gyorsítótár beállítások" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobil gyorsítótár" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Gyorsítsd fel az oldaladat a mobilról érkező látogatók számára" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Azt vettük észre, hogy olyan bővítményt használsz ami miatt kötelező külön gyorsítótárat használnod a mobileszközökhöz és így automatikusan be is kapcsoltuk ezt a lehetőséget a kompatibilitás érdekében." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Bejelentkezett felhasználói gyorsítótár" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sA felhasználói gyorsítótár%2$s nagyszerű lehetőség, ha vannak csak (bejelentkezett) felhasználók számára elérhető, vagy zárolt tartalmak az oldaladon." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Gyorsítótár élettartama" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Törlésre kerülnek az olyan gyorsítótárbeli fájlok amik ettől a megadott élettartamnál régebbiek.
    Engedélyezd %1$saz előtöltést vagyis a preloadingot%2$s annak érdekében, hogy a gyorsítótárat automatikusan újraépíthessük ha lejárt az élettartama." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Gyorsítótárazás bekapcsolása bejelentkezett WordPress felhasználók számára is" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Gyorsítótárazás engedélyezése mobileszközök számára" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Külön gyorsítótár-fájlok fenntartása a mobileszközökhöz" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "A legtöbb modern téma már reszponzív és ezért működnie kellene külön gyorsítótár nélkül is. Ezért csak akkor kapcsold ezt be, ha a rendes témádon felül van egy KÜLÖN mobiltémád vagy bővítményed is. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Add meg, hogy mennyi idő után legyen ürítve a globális gyorsítótár
    (0=soha)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Csökkentsd 10 órára vagy kevesebbre az élettartamot, ha olyan problémákat tapasztalsz ami csak időnként, de rendszeresen előfordul. %1$sMiért?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Órák" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Napok" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Fájl optimizálás" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "CSS & JS optimizálás" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS fájlok" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s a minification jelenleg aktiválva van a Autoptimize-ban. Ha szeretnéd használni a %2$sminification-jét, akkor tiltsd le az erre vonatkozó opciókat az Autoptimize-ban először." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript fájlok" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "CSS fájlok miniatűrizálása" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "A CSS miniatűrizálás kiszedi a felesleges szóközöket és kommenteket, ezáltal csökkenti a fájlméretet." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Ez elronthat dolgokat az oldalon!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Ha bármilyen hibát tapasztalsz a weblapodon miután bekapcsoltad ezt az opciót, akkor egyszerűen kapcsold ki itt és az oldalad újra rendesen fog működni." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "CSS miniatűrizálás bekapcsolása" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "CSS fájlok összevonása(Kapcsold be a CSS miniatűrizálást először)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "A CSS egyesítése funkció összevonja a CSS fájljaidat egy darabbá, csökkentve a HTTP kéréseket. Nem ajánlott ha az oldalad HTTP/2-t használ. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "Kompatibilitási okokból ez az opció le van tiltva, ha a Nem-használt CSS eltávolítása engedélyezve van." + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "CSS egyesítés bekapcsolása" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Kizárt CSS fájlok" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Add meg itt azon CSS fájlok URLjeit amik ki lesznek hagyva a miniatűrizálásból és összevonásból (soronként egyet írj)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Belső: Az URL-ből a domain-részz automatikusan ki lesz dobva. Ezért használj (.*).css wildcard jelöléseket ha minden CSS fájlt szeretnéd kizárni egy bizonyos útvonalon." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Külsős forrás: Vagy a teljes elérési útvonalat (URL-t) add meg, vagy csak a domain nevet ahhoz, hogy kizárhasd a külső féltől származó CSS-t. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "CSS kiküldés optimizálása" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "Az optimizált CSS kiküldés megszünteti a renderelést lassító CSS kódokat az oldaladon. Csak az egyik módszer használható. A Nem-használt CSS kódok eltávolítása opciót javasoljuk inkább a jobb teljesítmény érdekében, de az csak az aktív licensszel rendelkező felhasználóknak elérhető." + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "A CSS-küldés optimizáció megszünteti az úgynevezett render-blocking CSS problémákat a weboldalon, amikor valamelyik CSS fájl feldolgozására várni kellene, mielőtt az oldal betöltése folytatódhatna. Csak egy módszer választható. A \"Távolítsa el a nem-használt CSS kódokat\" opciót ajánljuk a legjobb teljesítmény érdekében." + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "Az optimizált CSS kiküldés funkciók nem elérhetőek helyi környezetben. %1$sTudj meg többet%2$s" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "Eltávolítja a használaton kívüli CSS-t oldalanként és ezáltal segít csökkenteni az oldal méretét és a HTTP kérések számát. Ajánlott funkció a legjobb teljesítmény érdekében, azonban alaposan teszteld! %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "Aktiváld a nem-használt CSS eltávolító funkciót" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "Védett/biztonságos CSS kódok listája" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "Add meg a CSS fájlok fájlneveit vagy az azokban szereplő ID-ket vagy class-ek nevét, amiket nem szabad eltávolítanunk ezen funkció keretében. (Minden sorba egyet írj)" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "Aszinkron CSS betöltés" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "Az aszinkron CSS betöltést jelenleg a %1$s bővítmény végzi. Ha szeretnéd erre a célra inkább a WP Rocket aszinkron CSS funkcióját használni akkor tiltsd le az %1$s bővítményt." + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "Létrehozza a kritikus útvonalú CSS-eket és aszinkron módon tölti be a CSS-eket. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Tartalék kritikus CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Tartalék lehetőséget biztosít arra az esetre, ha az automatikusan generált kritikus útvonalú CSS lista nem megfelelő, vagy hiányos. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "JavaScript fájlok miniatűrizálása" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "A Javascript miniatűrizálás kiszedi a felesleges szóközöket és kommenteket, ezáltal csökkenti a fájlméretet." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Javascript miniatűrizálás bekapcsolása" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Javascript fájlok összevonása(Kapcsold be a Javasript miniatűrizálást is ehhez)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "A Javascript fájlok egyesítése funkció összevonja az oldaladon lévő helyi, a harmadik féltől származó és a beágyazott fájljaidat egyetlen darabbá, csökkentve a HTTP kéréseket. Ez nem ajánlott ha az oldalad HTTP/2-t használ. %1$sbővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "A legjobb kompatibilitás érdekében ez az opció le van tiltva, ha a javascript késleltetett futtatása funkció engedélyezve van." + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Aktiváld a Javascript fájlok összevonását" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Kihagyott beágyazott JavaScript kódok" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Adj meg beágyazott JavaScript mintákat amiket kizárunk az összevonásból. (soronként egyet) %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Kihagyott javascript fájlok" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Itt adhatod meg azon JavaScript fájlok elérési útvonalát (URL-t) amiket ki szeretnél zárni a miniatűrizálásból és összevonásból. (Soronként egyet írj)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Helyi: Az URL domain-része automatikusan le lesz vágva. Használj helyettesítőkarakterket (.*).js ha minden JS fájlt ki szeretnél zárni az adott elérési útvonalon." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr " Idegen forrásból származó: Adj meg vagy teljes URL címet vagy csak a domain nevet, hogy kizárd a külső forrásból származó JS. %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "JavaScript párhuzamos betöltése" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Ha párhuzamosan töltődik be a JavaScript (deferred), akkor a böngészőnek nem kell megvárnia az egyes JavaScript kód lefutását, hanem azzal egyidőben az oldal többi részét már betölti, ezáltal javulhat a betöltési idő. %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "Adj meg JavaScript fájlokhoz vezető URL-eket vagy kulcsszavakat amiket ki szeretnél zárni a párhuzamos betöltésből. (Soronként egyet írj). %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Késleltesd a JavaScript futtatását" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Javítja a teljesítményt azáltal hogy késlelteti a JavaScript fájlok betöltését egészen addig amíg nem történik valamilyen felhasználói interakció (pl. kattintás, görgetés). %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "Adj meg URL-eket vagy kulcsszavakat amikkel beazonosíthatóak a kódba ágyazott JavaScript fájlok vagy kódrészletek, amiket ki szeretnél zárni a késleltetett betöltésből. (soronként egy)" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Média" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, képméretek" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Javítani tudja a valódi és vélt betöltési időt mivel a képek, iframek és videók csak akkor lesznek betöltve amikor belépnek (vagy be fognak lépni) a látható területre és csökkenti a HTTP kérések számát. %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad jelenleg aktiválva van a(z) %2$s-ben. Ha szeretnéd inkább a WP Rocket LazyLoad-ját használni akkor tiltsd le ezt az opciót a %2$s-ben." + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "Képméretek" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "Automatikusan adjuk hozzá a szélesség és magasság attribútomokat a képekhez, ahonnan ezek hiányoznak. Segít megelőzni az oldalszerkezet elmozdulását és ezáltal javítja az olvasási élményt a látogatóid számára. %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Engedélyezés képek számára" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "A LazyLoad képekhez engedélyezve van itt: %2$s. Ha inkább a %1$s LazyLoad-ját szeretnéd használni akkor tiltsd le ezt az opciót itt: %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Engedélyezés iframe-k és videók számára" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Cseréld ki a YouTube iframe-eket egy előnézeti képpel" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "A YouTube iframe előnézeti képre való kicserélése nem kompatibilis ezzel: %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Ez jelentősen javíthatja a betöltési idődet, ha sok YouTube videód van egy oldalon." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Kizárt/kihagyott képek és iframek" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "Adj meg kulcsszavakat (pl. képek fájlneveit, CSS osztályokat, domain neveket) a kép vagy iframe kódjából a kizáráshoz/kihagyáshoz (soronként egyet írj). %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Hiányzó képméretek beírása" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Előtöltés" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Gyorsítótár fájlok generálása valamint betűtípus fájlok előtöltése" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Gyorsítótár előtöltése" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Linkek előtöltése" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "A linkek előtöltése javítja a felhasználók számára látható betöltési időt azáltal, hogy már akkor letölti az oldalt amikor a felhasználó ráviszi az egerét a linkre. %1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS kérések előtöltése" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "A DNS előtöltéssel a külső forrásból származó fájlok gyorsabban töltődhetnek be, különösen mobilhálózatokon" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Betűtípusok előtöltése" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Javítja a teljesítményt azáltal, hogy segít a böngészőknek megtalálni a CSS fájlokban szereplő betűtípusokat.%1$sTovábbi információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Előtöltés aktiválása" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "Előtöltendő URL-ek" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Add meg itt azokat a külső szervereket amiket szeretnél előtölteni (ne írjhttp:-t, soronként egyet írj)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Előtöltendő betűtípusok" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Add meg azon betútípus fájlok URL-jeit amiket elő szeretnél tölteni (soronként egyet írj). A betűtípusoknak muszáj a saját domaineden lenniük, vagy azon a domainen amit a CDN fülön adtál meg." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Az URL-ből a domain rész automatikusan törölve lesz.
    Támogatott font kiterjesztések: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Link előtöltés engedélyezése" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Haladó beállítások" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Gyorsítótár szabályok finomhangolása" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Az érzékeny adatokkal dolgozó oldalakat, mint pl. az egyéni bejelentkező/kijelentkező URL-eket célszerű kizárni a gyorsítótárazásból." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Kosár, fizetés és \"saját fiókom\" oldalak beállítva itt: %1$s%2$s%3$s automatikusan érzékelve vannak és nem lesznek soha gyorsítótárazva alapbeállításként." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Soha ne gyorsítótárazzuk az alábbi URL(eke)t" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Soha ne gyorsítótárazzuk ezeket a sütiket" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Soha ne gyorsítótárazzunk az alábbi user agent-eknél" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Mindig ürítsd az alábbi URL(ek) gyorsítótárát" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Gyorsítótár lekérő sztring(ek)" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sGyorsítótár az alábbi lekérő sztringekhez%2$s lehetővé teszi számodra hogy kényszerítsd a gyorsítótárazást bizonyos GET paraméterek esetén." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Add meg bejegyzések vagy oldalak URL-jeit amiket soha nem szeretnél gyorsítótárazni (soronként egyet)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Az URL domain-része automatikusan törölve lesz.
    Használj (.*) wildcard-okat hogy több URL-t is érvényesíthess egy elérési útvonal alatt." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "Adj meg teljesen vagy részleges ID-t azon cookiekból, amik ha be vannak állíva a látogató böngészőjében akkor meg szretnéd akadályozni az adott oldal gyorsítótárazását (soronként egyet írj)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Adj meg user agent string-eket itt, amiknél nem szeretnéd ha gyorítótárazás lenne. (soronként egy)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Használj (.*) wildcardokat hogy UA sztringek részleteit ismerd fel. " + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Adj meg URL-eket amiket mindig üríteni szeretnél a gyorsítótárazásból amikor frissítessz bármilyen bejegyzést vagy oldalt. (soronként egyet)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Adj meg lekérdező sztringeket a gyorsítótárazáshoz (soronként egyet)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Adatbázis" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimizálás, szemetek törlése" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Bejegyzés takarítás" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "A bejegyzés változatok és piszkozatok végleg törölve lesznek. Ne használd ezt az opciót, ha meg szeretnéd tartani a bejegyzések előző verziót vagy a piszkozatokat." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Kommentek takarítása" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "A spam és lomtárba helyezett kommentek végleg törölve lesznek" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Tranziensek törlése" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "A tranziensek ideiglenes opciók, biztonságosan törölhetőek. Automatikusan újra lesznek generálva ha a pluginjaidnak kellenek." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Adatbázis takarítás" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Törli a felesleges adatokat az adatbázis táblából" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Automatikus takarítás" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s változat van az adatbázisodban." +msgstr[1] "%s változat van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%spiszkozat van az adatbázisodban." +msgstr[1] "%s piszkozat van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s törölt bejegyzés van az adatbázisodban." +msgstr[1] "%s törölt bejegyzés van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%sspam komment van az adatbázisodban." +msgstr[1] "%s spam komment van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%slomtárba helyezett komment van az adatbázisodban." +msgstr[1] "%slomtárba helyezett komment van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Minden tranziens" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%stranziens van az adatbázisodban." +msgstr[1] "%s tranziens van az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Táblák optimizálása" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s táblát kell optimizálni az adatbázisodban." +msgstr[1] "%s táblát kell optimizálni az adatbázisodban." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Ütemezd az automatikus takarítást" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Gyakoriság" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Naponta" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Hetente" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Havonta" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integráld a CDN-edet" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Minden statikus fájl (CSS, JS, képek) URL-je át lesz írva arra a CNAME(ek)-re amit itt megadsz." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Nem szükséges olyan szolgáltatók esetén mint a Cloudflare és Sucuri. Kérlek nézd meg az elérhető %1$skiegészítőinket%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Zárj ki fájlokat a CDN-ről" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l Kiegészítő%3$s van jelenleg engedélyezve. A CDN beállítása nem szükséges a %2$l -hez hogy működjön az oldaladon" +msgstr[1] "%1$s%2$l Kiegészítők%3$svannak jelenleg engedélyezve. A CDN beállítása nem szükséges a %2$l -hez hogy működjön az oldaladon" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Engedélyezd a CDN-t" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(ek)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Add meg a CNAME(eket) alább" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Add meg azon fájl(ok) URL-jeit amit nem szeretnél a CDN-en keresztül kiszolgálni (soronként egyet)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Az URL domain-része automatikusan törölve lesz.
    Használj (.*) wildcard-okat hogy minden fájlt kizárj egy bizonyos fájltípusból a megadott elérési útvonalon." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Vezéreld a WordPress Heartbeat API-t" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "A Heartbeat API aktivitásának csökkentése vagy letiltása segíthet némiképp spórolni a szervered erőforrásaival." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Csökkentsd vagy tiltsd le a Heartbeat működését" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Az aktivitás csökkentése megváltoztatja a Heartbeat frekvenciáját percenkénti egy ütemről, 2 percenként egyre." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Ha teljesen letiltod a Heartbeat-et, akkor működésképtelenné válhat néhány bővítmény és téma am iezt az API-t használja." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Ne legyen korlátozva" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Aktivitás csökkentése" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Letiltás" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Heartbeat szabályzása" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Viselkedés a backenden" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Viselkedés a bejegyzés-szerkesztőben" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Viselkedés a frontenden" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Bővítmények" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Több funkció hozzáadása" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Egy kattintásos Rocket bővítmények" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Az egykattintásos bővítmények olyan funkciók amik kibővítik az elérhető lehetőségeidet úgy, hogy semmilyen konfigurációt nem igényelnek. Egyszerűen állítsd \"be\" állásra a kapcsolót a bekapcsoláshoz ezen a képernyőn." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket bővítmények" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "A Rocket bővítmények ajándék funkciók, amik plusz funkciókat nyújtanak a Rocket szolgáltatásain felül." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integráld a Cloudflare fiókodat ezen bővítménnyel." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Add meg a fiókodhoz tartozó email címet, a global API kulcsot és a domaint olyan funkciók eléréséhez, mint pl. a Cloudflare gyosítótár ürítése és hogy optimálisra beállíthassuk az együttműködését a WP Rockettel." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Ha a Varnish üzemel a szervereden akkor mindenképp engedélyezned kell ezt a bővítményt." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "A Varnish gyorsítótár minden alkalommal törölve lesz, amikor a WP Rocket üríti a saját gyorsítótárát, ezáltal biztosítva hogy mindig naprakész legyen a tartalom.
    %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "WebP kompatibilitás" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "Javítja a böngészők kompatibitását a WebP bővítményekhez" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Engedélyezd ezt az opciót ha szeretnéd hogy a WP Rocket szolgálja fel a WebP képeket az ezzel kompatibilis böngészőknek. Ne felejtsd hogy a WP Rocket nem tud létrehozni WebP képeket Neked. WebP képek létrehozásához az %1$sImagify%2$s-t ajánljuk. %3$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Ürítsd a Sucuri gyorsítótárt amikor a WP Rocket gyorsítótára ürítve van." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Add meg az API kulcsodat hogy üríteni tudjuk a Sucuri gyorsítótáradat is, amikor a WP Rocket gyorsítótára ürítve lesz." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Szinkronizáld a Sucuri gyorsítótáradat ezzel a bővítménnyel." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare belépési adatok" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare beállítások" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globális API kulcs" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Találd meg az API kulcsodat" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "A fiókhoz tartozó email" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zóna azonosító" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Fejlesztői üzemmód" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Aktiválhatod ideiglenesen a fejlesztői módot a weboldaladon. Ez 3 óra múlva magától kikapcsol. %1$sBővebb információ%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optimális beállítások" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Automatikusan javítja a Cloudflare beállításaidat a legjobb sebesség, teljesítmény, osztályzat és kompatibilitás érdekében." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Relatív protokoll" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Ezt csak a Cloudflare flexible SSL funkciójával szabad használni. A statikus fájlok URLjei (pl. CSS, JS, és képek) át lesznek írva úgy, hogy // t használjanak a http:// vagy https:// helyett." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri belépési adatok" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Találd meg az API kulcsodat" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Fájl feltöltés és importálás beállítások" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Sucuri bővítmény: a Sucuri tűzfalhoz tartozó API kulcsnak az alábbi formátumban kell lennie: {32 karakter}/{32 karakter}" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Beállítások elmentve." + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "Elnézést, a /(.*) beállítást nem tudtuk elmenteni a haladó szabályok > Soha Ne Gyorsítótárazd Ezeket az URL-eket menüben mert ez letiltaná a gyorsítótárazást és az optimalizálást az egész weboldaladon." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Eszközök" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, Export, Visszaállítás" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Kép optimalizálás" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Képek tömörítése" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Útmutatók" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Tananyagok, segítő videók" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "Nem tudtuk lekérdezni az aktuális árat mert a RocketCDN API váratlan hibakódot adott vissza." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "A RocketCDN nem elérhető jelenleg. Kérlek próbáld újra később." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: hiányzó azonosító paraméter." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: hiányzó felhasználói token." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: az API váratlan hibakódot adott vissza." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: az API üres választ küldött." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: az API váratlan választ küldött." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN gyorsítótár ürítés sikertelen: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN gyorsítótár ürítés sikeres volt." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Következő számla dátuma:" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Nincs előfizetésed" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "A RocketCDN előfizetésed aktív" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "A RocketCDN használatához kérlek cseréld le a CNAME-det erre: %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sBővebb információ%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN engedélyezve" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN letiltva" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Csak %s -ig érvényes!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Gyorsítsd fel a weboldaladat köszönhetően: " + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Könnyű konfigurálás: a %1$slegjobb CDN beállítások%2$sautomatikusan alkalmazva lesznek" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "WP Rocket integráció: a CDN opció %1$sautomatikusan be lesz állítva%2$s a bővítményünkben" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Tudj meg többet a RocketCDN-ről" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "*$%1$s/hónap 12 hónapon keresztül, ezután $%2$s/hónap. Bármikor lemondhatod az előfizetést." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Havonta számlázva" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Kezdjük el" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Zárd be ezt a feliratot" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Gyorsítsd fel a weboldaladat a RocketCDN-nel, a WP Rocket Content Delivery Network-jével." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Tudj meg többet" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN nem elérhető helyi domaineken és tesztoldalakon." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Fizess elő a RocketCDN-re" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Újdonság!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Gyorsítsd fel a weboldaladat a RocketCDN-nel, a WP Rocket Content Delivery Network-jével!" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Ürítsd ezt a gyorsítótárat" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Rocket gyorsítótár lejárat időköze" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE értéke" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "A WP_CACHE konstanst true -ra kell állítani ahhoz hogy a WP ROCKET megfelelően működjön" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE igazra van állítva" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE nincs beállítva" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE false -ra van állítva" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "Minden percben" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Critical CSS a %1$s számára nincs létrehozva. Hibakód: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "Critical CSS a %1$s számára mobilhoz nincs létrehozva. HIbakód: az API üres választ adott." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Critical CSS a %1$s számára nincs létrehozva. Hibakód: az API üres választ adott." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Critical CSS a %1$s számára mobilon nincs létrehozva." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Critical CSS a %1$s számára nincs létrehozva." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "Critical CSS a %1$s számára mobilon nincs létrehozva. Hibakód: az API érvénytelen választ adott." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Critical CSS a %1$s számára nincs létrehozva. Hibakód: az API érvénytelen választ adott." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Hiba: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Kritikus útvonalak CSS újragenerálása" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Generálj bizonyos CPCSS-eket" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Generáld újra bizonyos CPCSS-eket" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "Ez a funkció nem elérhető a nem publikus bejegyzés típusoknál." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l a funkció használatához." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Publikáld a %s-t" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Engedélyezd a CSS aszinkron betöltését a WP Rocket beállításaiban" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Engedélyezd a CSS aszinkron betöltését a fenti opciókban" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "A kritikus CSS generálása épp zajlik." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Menj a %1$sWP Rocket beállításai%2$s oldalra hogy kövesd a folyamatot." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Kritikus CSS generálása jelenleg zajlik: %1$d/%2$d oldaltípusok kész. (Frissítsd ezt az oldalt hogy kövesd a folyamatot)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "A kritikus CSS generálása kész az %1$d/%2$d oldaltípusokhoz." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "A kritikus CSS generálása egy vagy több hibát talált." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Tudj meg többet." + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "Kritikus CSS a %1$s számára mobilon nem lett létrehozva. Hibakód: a célmappa nem volt létrehozható." + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "Kritikus CSS a %1$s számára nem lett létrehozva. Hibakód: a célmappa nem volt létrehozható." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Kritikus CSS fájl mobil számára nem létezik." + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "A kritikus CSS fájl nem létezik" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Kritikus CSS fájl mobilon nem törölhető" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Kritikus CSS fájl nem törölhető" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Mobile Critical CSS a %1$s számára nem lett létrehozva. " + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Critical CSS generálása %s számára folyamatban. " + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Mobil kritikus CSS %s számára létrehozva. " + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Kritikus CSS %s számára létrehozva." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Kritikus CSS fájl sikeresen törölve." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Mobil kritikus CSS a %1$s számára: időtúllépés történt. Kérlek kicsit később próbáld újra." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Kritikus CSS a %1$s számára: időtúllépés történt. Kérlek kicsit később próbáld újra." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Mobil CPCSS generálás nincs engedélyezve." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "A kért bejegyzés nem létezik." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Nem lehet CPCSS -t generálni a nem publikált bejegyzésekhez." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Az alábbi ütemezett esemény nem tudott elindulni. Ez CRON rendszerhibára utal, ami megakadályozza a WP Rocket bizonyos funkcióinak megfelelő működését:" +msgstr[1] "Az alábbi ütemezett események nem tudtak elindulni. Ez CRON rendszerhibára utal, ami megakadályozza a WP Rocket bizonyos funkcióinak megfelelő működését:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Kérlek vedd fel a kapcsolatot a tárhelyszolgáltatóddal, hogy kiderítsék, megfelelően működik-e a CRON." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Ütemezett gyorsítótár ürítés" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Ütemezett adatbázis optimizálás" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Adatbázis optimizálás állapota" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Előtöltés" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Kritikus útvonalú CSS generálásának állapota" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "Érvényes licenszre van szükséged hogy tovább használhasd ezt a funckiót. %1$sÚjítsd meg most%2$s hogy ne veszítsd el a hozzáférést!" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "Érvényes licenszre van szükséged ezen funkció engedélyezéséhez.%1$sÚjítsd meg most%2$s" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "Érvényes licenszre van szükséged ezen funkció engedélyezéséhez. %1$sBővebb információ%2$s" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "Használd ki a%1$s-t hogy mégtöbb weboldalt felgyorsíthass: %2$s szerezz egy %3$s%4$s kedvezményt %5$s ig%3$s, válts Plus előfizetésre! %5$s" +msgstr[1] "Használd ki a %1$s -t hogy mégtöbb weboldalt felgyorsíthass: %2$sszerezz %3$s%4$s kedvezményt %5$s ig%3$s, válts Infinite előfizetésre! %5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Korlátlan" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%skedvezmény" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "%s akció!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Siess! Az ajánlat csak eddig tart:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Perc" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Másodperc" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Válts most" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Tüntesd el ezt az értesítést" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "Az optimizált CSS kiküldés funkció le van tiltva." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "Nem használhatod többé a Nem-használt CSS eltávolítása vagy a CSS aszinkron betöltése opciókat." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "%1$sÉrvényes licenszre%2$s van szükség a CSS kézbesítés optimizáláshoz, ami javítja a PageSpeed Insight ajánlásokat és javítja az oldalad teljesítményét." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Újítsd meg most" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Hamarosan elveszted az alábbi funkciókat" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "Szükség van %1$sérvényes licenszre hogy ezentúl is optimizálva legyen kézbesítve a CSS-ed%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "A nem-használt CSS és az aszinkron CSS betöltés funkciók nagyszerű lehetőségek a PageSpeed Insight ajánlások javítására, valamint javítják a weboldalad teljesítményét." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Ezek %1$sautomatikusan le lesnek tiltva %3$s%2$s-kor." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "A WP Rocket licenszed lejárt!" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "A %1$sWP Rocket licenszed hamarosan lejár%2$s: hamarosan elveszted a hozzáférést a frissítésekhez és a támogatáshoz." + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "Újítsd meg most egy %1$s%2$skedvezménnyel%3$s mielőtt túl késő, csak %1$s%4$s%3$s-t kellene fizetned!" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Gyorsíts fel mégtöbb weboldalt!" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "A WP Rocket-et több weboldalon is használhatod ha bővíted a licenszedet. Ehhez csak fizess %1$sárkülönbözetet%2$s a mostani és az új licenszed között, ahogy lejjebb látható:" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sTipp:%2$s: A licenszed megújítása nem hosszabbítja meg a lejárati dátumot" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "Spórolj $%s-t" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s weboldalak" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "Válts %s-ra" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "A WP Rocket-et több weboldalon is használhatod ha bővíted a licenszedet. (Csak az árkülönbözetet kell fizetned a mostani és az új licenszed között)" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Ürítsd a használt CSS-ek gyorsítótárát" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "%1$s: Kérlek várj %2$s másodpercet. A Nemhasznált CSS törlése szolgáltatás épp feldolgozza az oldalaidat." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "%1$s: A kezdőlapodon felhasznált CSS-ek fel lettek dolgozva. A WP Rocket folytatja a felhasznált CSS-ek feldolgozását, %2$s URL/%3$smásodpercenként." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "Hogy megtudhass többet a folyamatról, nézd meg a %1$sdokumentációnkat%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "Nem tudtuk létrehozni a felhasznált CSS-ek listáját mert kalózverziót használsz a WP Rocket-ből. Aktív előfizetésre van szükség ahhoz, hogy a nemhasznált CSS-ek törlése funkciót használhasd, valamint hogy továbbfejleszthesd a weboldalad teljesítményét." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "Kattints ide és megvásárolhatod a WP Rocket single licenszét %1$skedvezménnyel!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$sA felhasznált CSS opció nincs engedélyezve!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: A felhasznált CSS gyorsítótára ürítve!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "Ürítsd ezen URL felhasznált CSS-eit" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "WP Rocket Nem-használt CSS eltávolítása sorban álló feladatok" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Váratlan hiba történt. Valami hiba lehet a WP-Rocket.me -vel vagy ezen szerver konfigurációjával. Ha továbbra is problémákat tapasztalsz, vedd fel a támogatásunkkal a kapcsolatot." + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Régi verzióra visszaállítás" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sVálts vissza a WP Rocket %2$s vagy %3$s lépj a Bővítmények oldalra%2$s" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Varnish automata-ürítés magától engedélyezve lesz, amint engedélyezed a Varnish-t a %sszerveren." + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "Úgy tűnik, fontos Kinsta fájlok hiányoznak a rendszeredből, amik a gyorsítótár ürítéséért felelnének, ezért a Kinsta és a WP Rocket nem tud együttműködni. Kérlek vedd fel a kapcsolatot a Kinsta támogatással a %1$sMyKinsta%2$sfiókodon keresztül hogy megoldd ezt a problémát. " + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s: Mod PageSpeed nem kompatibilis ezzel a bővítménnyel és váratlan problémákat okozhat. %2$sBővebb információ%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "%1$sWP Rocket:%2$s Úgy érzékeljük hogy engedélyezve van az Autoptmize JavaScript Aggregáció funkciója. A WP Rocket Késleltetett JavaScript Futtatás funkciója nem lesz alkalmazva arra a fájlra, amit ez létrehoz. Javasoljuk hogy tiltsd le a %1$sJavascript aggregációt%2$s hogy kihasználhasd a mi Késleltetett Javascript Futtatás funkciónkat." + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "%1$sWP Rocket: %2$sÚgy érzékeljük hogy engedélyezve van az Autoptimize Beágyazott CSS Aggregáció funkciója. A WP Rocket CSS aszinkron betöltése nem fog megfelelően működni így. Javasoljuk hogy tiltsd le a %1$sBeágyazott CSS Aggregáció%2$s funkcióját hogy kihasználhasd a mi CSS aszinkron betöltés funkciónkat." + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "Ez a bővítmény blokkolja a WP Rocket gyorsítótárazását és egyéb optimalizációit. Deaktiváld és használd az %1$sEzoic névszerver integrációt%2$shelyette." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Kérlek deaktiváld az alábbi %sopciót amik összeférhetetlenek a WP Rocket funkcióival:" +msgstr[1] "Kérlek deaktiváld az alábbi %s opciókat amik összeférhetetlenek a WP Rocket funkcióival:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$sdisable emoji%3$s összeférhetetlen a WP Rocket %2$sdisable emoji%3$s funkciójával" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP compression%3$s összeférhetetlen a WP Rocket %2$sGZIP compression%3$s-ével" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$sbrowser caching%3$s összeférhetetlen a WP Rocket %2$sbrowser caching%3$s-ével" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$spage caching%3$s összeférhetetlen a WP Rocket %2$spage caching%3$s-ével" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$sasset optimization%3$s összeférhetetlen a WP Rocket %2$sfile optimization%3$s-ével" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "A késleltetett JS engedélyezve van a %1$s-ban. Ha a WP Rocket késleltetett JS-ét akarod használni akkor tiltsd le %1$s-ban." + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML oldaltérkép" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Támogatás" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentáció" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "GYIK" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Beállítások" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Beállítások importálása sikertelen: nincs jogosultságod ehhez." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Beállítások importálása sikertelen: nem lett fájl feltöltve." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Beállítások importálása sikertelen: hibás fájlnév." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Beállítások importálása sikertelen: hibás fájltípus." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Beállítások importálása sikertelen: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Beállítások importálása sikertelen: váratlan fájl tartalom." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Beállítások importálva és elmentve." + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "Késleltetett javascript fájlok (Defer)" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "Késleltetésből kizárt JavaScript fájlok" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Az alábbi minta érvénytelen, és ezért törölve lett:" +msgstr[1] "Az alábbi minták érvénytelenek, és ezért törölve lettek:" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "Bővebb információ" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Gyorsítótár ürítése" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket beállításai" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Soha ne gyorsítótárazd ezt az oldalt" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktiváld ezeket az opciókat ezen a bejegyzésen:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad képek számára" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad iframe-k/videók számára" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "CSS miniatűrizálása/egyesítése" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "Nem-használt CSS kódok eltávolítása" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "JS miniatűrizálása/egyesítése" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS késleltetése (defer)" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Aktiváld először a %sopciót" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sMegjegyzés:%2$s Ezek az opciók nem lesznek érvénybe léptetve, ha ez a bejegyzés ki lett zárva a gyorsítótárazásból a globális gyorsítótár beállításokban." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$snem lett deaktiválva a hiányzó írási jogosultságok miatt.
    \n" +"Tedd %2$s-t írhatóvá és próbáld újra a deaktiválásd, vagy kényszerítsd a deaktiválást most:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: egy vagy több bővítmény engedélyezve lett vagy letiltva, ürítsd a gyorsítótárt ha ezek befolyásolják a weboldalad megjelenését." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Az alábbi bővítmények nem kompatibilisek ezzel a bővítménnyel és ezért váratlan dolgokat okozhatnak:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Deaktiválás" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS nem egy hivatalos bővítmény. Akadályozza bizonyos WP Rocket opciók működését. Kérlek deaktiváld ha problémákat tapasztalsz." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache jelenleg engedélyezve van, ami ütközik a WP Rocket gyorsítótárával. Kérlek állítsd az Endurance Cache gyorsítótár-szintjét OFF-ra (0-ás szint) a %1$sBeállítások > Általános %2$soldalon hogy megelőzd a problémákat." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Egyéni permalink struktúra szükséges a bővítmény megfelelő működéséhez. %2$sMenj a permalink beállításokhoz%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s Nem lehet módosítani a .htaccess fájlt a hiányzó írási jogosultságok miatt." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Hibaelhárítás: %1$sHogyan tedd írhatóvá a rendszerfájlokat%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Ne aggódj, a WP Rocket oldal-gyorsítótárazása és beállításai így is megfelelően fognak működni." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Az optimális teljesítmény érdekében javasoljuk, hogy vedd fel az alábbi sorokat a .htaccess fájlodba (nem kötelező):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s használatra kész! %2$s Nézd meg a betöltési idődet%4$s, vagy látogasd meg a %3$sbeállításaidat%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Megengeded a WP Rocket-nek, hogy névtelen, nem-érzékeny diagnosztikai adatokat gyűjtsünk a weboldaladról?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Ez segít nekünk abban, hogy jobbá tehessük a WP Rocketet a jövőben." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Milyen adatokat gyűjtünk?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Alább felsoroltuk részletesen, hogym ilyen adatokat fog gyűjteni a WP Rocket, ha megadod az engedélyt. A WP Rocket soha nem fog továbbítani domain neveket vagy email címeket (kivéve licensz érvényesítéshez), IP címeket vagy külső félhez tartozó API kulcsokat." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Igen, engedélyezés" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Nem, köszönöm" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Köszönjük!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "A WP Rocket most ezeket az adatokat gyűjti a weboldaladról:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Gyorsítótár ürítve." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Bejegyzések gyorsítótára ürítve." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s kifejezés gyorsítótár ürítve." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Felhasználói gyorsítótár ürítve." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Előtöltés megállítása" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Kényszerített deaktiválás" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Az alábbi kódnak kellene bekerülnie ebbe a fájlba:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%snem tudja önmagát beállítani a hiányzó írási jogosultság miatt." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Érintett fájl/mappa: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "A hibakeresési fájl törlése nem sikerült." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "A megfelő működés érdekében, a %1$s%2$s-hez szükséges legalább:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Ahhoz hogy ezt a WP Rocket verziót használni tudd, kérd meg a tárhelyszolgáltatódat, hogy frissítse a szerveren a PHP-t %1$s vagy újabb verzióra." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Ahhoz hogy ezt a WP Rocket verziót használni tudd, kérlek frissítsd a WordPress-t %1$svagy újabb verzióra." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Ha nem lehetséges a frissítés, akkor visszaállíthatod az előzőt verziót az alábbi gombbal:" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "%sverzió újratelepítése" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Minden %d percben" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "A naplófájl nem létezik." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "A naplófájl nem olvasható." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "A naplók nincsenek fájlba elmentve." + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "A %1$s -t használod a WebP képek kiszolgálására, így nem szükséges ezt az opciót bejelölnöd. %2$sMore info%3$s %4$s Ha azt szeretnéd hogy ehelyett a WP Rocket szolgálja ki a WebP képeket, akkor tiltsd le a WebP megjelenítést a %1$s-ben." +msgstr[1] "A %1$s -t használod a WebP képek kiszolgálására, így nem szükséges ezt az opciót bejelölnöd. %2$sMore info%3$s %4$s Ha azt szeretnéd hogy ehelyett a WP Rocket szolgálja ki a WebP képeket, akkor tiltsd le a WebP megjelenítést a %1$s-ben." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "A WebP gyorsítótár le van tiltva szűrő által." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "A %1$s-t használod a képek WebP-re konvertálásához. Ha szeretnéd hogy ehelyett a WP Rocket végezze ezt akkor akkor aktiváld ezt az opciót. %2$sTovábi információ%3$s" +msgstr[1] "A %1$s -t használod a képek WebP-re konvertálásához. Ha szeretnéd hogy ehelyett a WP Rocket végezze ezt akkor akkor aktiváld ezt az opciót. %2$sTovábi információ%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Jelenleg a %1$s használod képek WebP-re konvertálásához. A WP Rocket külön gyorsítótár fájlokat fog csinálni a WebP képeid kiszolgálására. %2$sBővebb információ%3$s" +msgstr[1] "Jelenleg a %1$s-t használod képek WebP-re konvertálásához. A WP Rocket külön gyorsítótár fájlokat fog csinálni a WebP képeid kiszolgálására. %2$sBővebb információ%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "%5$sNem találtunk semmilyen kompatibilis WebP bővítményt! %6$s%4$sHa nincsenek még WebP képek az oldaladon, fontold meg az %3$sImagify%2$s vagy más támogatott bővítmény használatát! %1$sBővebb információ%2$s%4$s Ha nem használsz WebP-t akkor ne engedélyezd ez az opciót." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "A WP Rocket külön gyorsítótár fájlokat fog létrehozni a WebP képeid kiszolgálására." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Nem találtuk meg az alábbi követelményt a témádban: lezáró %1$s." +msgstr[1] "Nem találtuk meg az alábbi követelményeket a témádban: lezáró %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Minden nyelv" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Ürítsd ezen bejegyzést a gyorsítótárból" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Ürítsd ezt az URL-t a gyorsítótárból" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Sucuri gyorsítótár ürítése" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Ürítsd a RocketCDN gyorsítótárat" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentáció" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "OPcache ürítése sikertelen." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache sikeresen ürítve" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktiváld az Imagify-t" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Telepítsd az Imagify-t ingyen" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Gyorsítsd fel a weboldaladat és javítsd a SEO-dat a képméretek csökkentésével, méghozzá minőségvesztés nélkül az Imagify-vel." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Bővebb információ" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Oldaltérkép előtöltve: %d oldal lett gyorsítótárazva." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Oldaltérkép előtöltés: %d eddig gyorsítótárazatlan oldal most már elő van töltve. (frissítsd az oldalt a folyamat követéséhez)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Válassz domain nevet a listáról" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Nem érhető el domain a Cloudflare fiókodban" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "A Curl le van tiltva a szervereden. Kérd meg a tárhelyszolgáltatódat, hogy engedélyezze. Erre feltétlenül szükség van a Cloudflare bővítmény működéséhez." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email, API kulcs és zónaazonosító nincs beállítva. Olvasd el a %1$sdokumentációt%2$s bővebb útmutatásért." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email és API kulcs nincs beállítva. Olvasd el a %1$sdokumentációt%2$s bővebb útmutatásért." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Sikertelen a csatlakozás a Cloudflare-hez." + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "A hivatkozott osztály %1$s , deprecated azaz elavult a %2$s verzió óta! Használd a %3$s -t helyette." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "A hivatkozott osztály %1$s, deprecated azaz elavult a %2$s verzió óta!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS fájlok a késleltetett JavaScript betöltés használatával" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "URL hozzáadása" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Mielőtt feltöltheted az importálandó fájlodat, ki kell javítanod az alábbi hibát:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Válassz egy fájlt a gépedről (maximum méret: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "A Cloudflare belépési adataid érvényesek." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "A Cloudflare belépési adataid érvénytelenek!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Mentés és optimizálás" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimizálás" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Megjegyzés:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Teljesítmény tipp:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Idegen féltől származó funkció észlelve:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Figyelmeztetés:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Letöltési beállítások" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Cseréld ki a weboldal címét erre:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "fenntartva erre:" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Minden fájl" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Képek" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "CNAME hozzáadása" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Nézd meg a videót" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Egyszerű" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statikus fájlok" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Haladó" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "A %1$s %2$s minimum PHP%3$s verziót igényelnek a megfelelő működéshez. Kérlek kérd meg a tárhelyszolgáltatódat hogy frissítse a webszerveredet PHP %3$s vagy újabb verzióra. Ha nem lehetséges a frissítése akkor visszaállhatsz a korábbi WP Rocket verzióra az alábbi gomb megnyomásával." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Probléma merült fel a licenszed érvényesítése közben. Kérlek tekintsd meg az alábbi hibaüzenetet:" +msgstr[1] "Problémák merültek fel a licenszed érvényesítése közben. Kérlek tekintsd meg az alábbi hibaüzenetet:" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Szerver típusa:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP verziószám:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress verziószám:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Jelenlegi téma:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Jelenlegi oldal nyelv:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktív bővítmények:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Aktív bővítmények nevei:" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonimizált WP Rocket beállítások:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Melyik WP Rocket beállítások aktívak" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "A megadott licensz adatok nem érvényesek." + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "A megoldáshoz, kérlek %1$skeresd az ügyfélszolgálatunkat%2$s." + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "A licensz érvényesítése sikertelen. A szerverünk nem tudja feldolgozni a weboldaladtól érkező kérést." + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Próbálj a %1$sLicensz érvényesítése%2$s gombra kattintani alább. Ha a hiba most is fennáll, akkor %3$skövesd ezt a leírást%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "A licensz érvényesítése sikertelen. Lehet hogy nem-licenszelt verziót használsz ebből a bővítményből. Kérlek tedd az alábbiakat:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Jelentkezz be a WP Rocket %1$sfiókodba%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Töltsd le a zip fájlt" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Újratelepítés" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Ha nincs WP Rocket fiókod, kérlek %1$svásárolj licenszt%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "A licensz érvényesítése sikertelen. Ez a felhasználói fiók nem létezik az adatbázisunkban." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "A megoldáshoz kérlek vedd fel a kapcsolatot az ügyfélszolgálatunkkal." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Licensz érvényesítése sikertelen. Ez a felhasználói fiók le van tiltva." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Kérlek kövesd %1$sezt a leírást %2$s bővebb információért." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Kattints a %1$sVáltozások mentése%2$s gombra. Ha a továbbra is fennáll, kövesd %3$sezt a leírást%4$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "A licenszed érvénytelen." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Ellenőrizd, hogy van-e érvényes %1$sWP Rocket licenszed%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Már felvettél annyi weboldalt, amennyid a jelenlegi licenszed lehetővé tett." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Bővítsd a %1$sfiókodat%2$s vagy %3$shelyezd át%2$s a licenszedet erre a domainre." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ez a weboldal nincs engedélyezve." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Kérlek %1$svedd fel a kapcsolatot az ügyfélszolgálatunkkal%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Ez a licensz kulcs ismeretlen." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Ha a probléama továbbra is fennáll, kérlek %1$svedd fel a kapcsolatot az ügyfélszolgálatunkkal%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Licensz érvényesítés sikertelen: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Bővítmény sikeresen telepítve." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Elnézést, nincs jogosultságod bővítményeket telepíteni erre a weboldalra." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Elnézést, nincs jogosultságod ezt tenni." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Bővítmény telepítése sikertelen." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Vissza" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "CSS aszinkron betöltés mobilhoz" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "A weboldalad jelenleg ugyanazt a kritikus útvonalú CSS-t használja mind asztali mind mobil nézet számára." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Kattints a gombra hogy engedélyezhesd a mobil-specifikus CPCSS-t az oldaladhoz." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Ez egy egyszeri művelet és a gomb el fog tűnni utána. %1$sBővebb információ%2$s." + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "A weboldalad most már mobil-specifikus kritikus útvonalú CSS-t használ. %1$sBővebb információ%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Generáld a mobil-specifikus CPCSS-t" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Kritikus útvonalú CSS" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Generálj specifikus kritikus útvonalú CSS-t ezen bejegyzéshez. %1$sBővebb információ%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Ez a bejegyzés specifikus kritikus útvonalú CSS-t használ. %1$sBővebb információ%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Visszaváltás az alapértelmezett CPCSS-re" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Problémát tapasztalsz?" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "Nem mindig szükséges deaktiválni a WP Rocket-et, ha problémát tapasztalsz. A legtöbb megoldható csupán néhány opció kikapcsolásával." + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "A mi tippünk: ahelyett hogy deaktiválnád a WP Rocket-et, használd a %1$scsökkentett módunkat%2$s hogy gyorsan letilthasd a LazyLoad-ot, a Fájl Optimizálást és a CDN beállításokat. És ezután nézd meg, hogy megoldódott-e a problémád." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "Szeretnéd használni a csökkentett módunkat a WP Rocket hibaelhárításához?" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Igen, kapcsold be a \"%1$sCsökkentett Mód%2$s\"-ot" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Nem, deaktiváld a bővítmény és tüntesd el ezt az üzenetet ennyi időre" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 nap" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 nap" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 nap" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Örökre" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Mégse" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Megerősítés" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Engedélyezd a Google Font optimizálást" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Javítja a betűtípus-betöltés teljesítményét és összevonja a különböző betűtípusok lekérését hogy csökkentse a HTTP kérések számát." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "A Google Font optimizálás engedélyezve van az oldalad számára. %1$sBővebb információ%2$s." + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimizáld a Google Font-okat" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Ürítsd a gyorsítótárat ennyi idő után:" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Beállítások importálása" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Bővítmény állapota" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Beállítások módosítása" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Üríti a RocketCDN által gyorsítótárazott erőforrásokat a weboldaladhoz.%s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Tudj meg többet." + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Töröld az összes RocketCDN gyorsítótár fájlt" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Cache" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Üríti az oldaladhoz tartozó gyorsítótárazott erőforrásokat. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Üríti az összes Cloudflare -s gyorsítótárazott fájlt" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Gratulálunk!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "A WP Rocket most már aktiválva van, és már dolgozik is Neked." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "A weboldalad most már gyorsabb lett!" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "Garantáljuk a gyors weboldalak! Ezért a WP Rocket már alapból, magától alkalmazza a web-teljesítmény gyorsítási tippek 80%-át." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Továbbá olyan opciókat is engedélyezünk amik azonnali előnyöket nyújtanak a weboldaladnak." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Lépj tovább a beállításokba hogy tovább optimizálhasd az oldaladat!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Fiókom" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Frissítés" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "vele:" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Lejárat dátuma:" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Fiókom megtekintése" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Gyors műveletek" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Töröld az összes gyorsítótárazott fájlt" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Kritikus útvonalú CSS újragenerálása" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Töröld a felhasznált CSS-ek gyorsítótárát" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Gyakori kérdések" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Nem találtál megoldást?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Küldj egy levelet és segítséget kapsz a barátságos és okos Rakétáinktól" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Kérdezd meg az ügyfélszolgálatot" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Mentsd le az adatbázisodat mielőtt karbantartást indítassz!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Amint az adatbázisoptimizálás kész, nincs lehetőség visszavonni." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Mentsd a változásokat és optimizálás indítása" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s megalkotta az %3$sIMAGIFY%4$s %1$s-t a legjobb kép optimizáláshoz.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Tömörítsd a képeket hogy gyorsabbá tedd a weboldaladat, mindezd úgy hogy a képek minősége nem változik." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Bővebben az Imagify-ről:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify bővítmény oldal" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify weboldal" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Képtömörítő bővítmények áttekintése" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Imagify telepítése" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket nem tudta automatikusan érvényesíteni a licenszedet" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Kövesd ezt%1$s, vagy vedd fel a kapcsolatot%2$s a kezdéshez." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$sleírás%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$stámogatás%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Ürítsd a Sucuri gyorsítótár fájlokat" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Fájlok mérete: %1$s. Bejegyzések száma: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sTöltsd le a fájlt %2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sTöröld a fájlt%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Beállítások exportálása" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Tölts le egy tartalék másolatot a beállításaidról" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Letöltési beállítások" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Visszaállás korábbi verzióra" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Problémát okozott a %s-s verzió a weboldaladon?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Visszatérhetsz a korábbi főverzióra itt. %s Utána írj nekünk levelet." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Telepítsd újra a %s verziót" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Hibakereső üzemmód" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Hibakereső naplófájl létrehozása" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Kezdjük el" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Vegyük használatba a WP Rocket-et" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Találjuk meg a legjobb beállításokat a weboldaladhoz" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Hogyan győződjünk meg arról hogy a WP Rocket gyorsítótárazza az oldaladat" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Hogyan mérjük le az oldalad sebességét" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Hogyan működik az előtöltés" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Az alapvető web mutatók teljesítése" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Hogyan javítsuk az LCP-t a WP Rocket-tel" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Hogyan javítsuk az FID-t a WP Rocket-tel" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Hogyan javítsuk az CLS-t a WP Rocket-tel" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Hibaelhárítás" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Megjelenési hibák javítássa a fájloptimizálással" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Hogyan találjuk meg, melyik JavaScript fájlt kell kizárni" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Hogyan lassítja le a külső tartalom a weboldaladat" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Állítsd be a Cloudflare bővítményt" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket beállítások" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "verzió %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Oldalsáv megjelenítése" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "Alább részletes listát látsz mindazon adatokról amiket a WP Rocket gyűjteni fog ha %1$smegadod az engedélyt.%2$s" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "A WP Rocket soha nem fog továbbítani domain neveket email címeket (kivéve a licensz-ellenőrzéshez), IP címeket vagy külső félhez tartozó API kulcsokat." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Aktiváld a Rocket analitikát" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Ez egy nagyszerű kezdőpont a leggyakoribb hibák elhárításához" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Olvasd el a dokumentációt" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Mit tesz alapból a WP Rocket Számodra" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Hogyan mérjük le pontosan a weboldal betöltési idejét" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Tekintsd meg a bemutatónkat és tudd meg, hogyan mérheted a weboldalad sebességét" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Olvasd el a leírásunkat" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Tudj meg többet a WP Rocket mobilhoz való beállításáról" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Teszteld és fejleszd a Google Core Web Vital értékeket WordPress számára" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Tudj meg többet" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Nem aktiváltad a bejelentkezett felhasználók gyorsítótárát" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Használj privát böngésző üzemmódot hogy megtekintsd a weboldalad sebességét és kinézetét a gyorsítótárazással" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Segítségre van szükséged?" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" diff --git a/languages/rocket-it_IT.mo b/languages/rocket-it_IT.mo new file mode 100644 index 0000000..e90fac2 Binary files /dev/null and b/languages/rocket-it_IT.mo differ diff --git a/languages/rocket-it_IT.po b/languages/rocket-it_IT.po new file mode 100644 index 0000000..e812c82 --- /dev/null +++ b/languages/rocket-it_IT.po @@ -0,0 +1,3560 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Alice O., 2020\n" +"Language-Team: Italian (Italy) (https://www.transifex.com/wp-media/teams/18133/it_IT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-08-25 17:35-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: it_IT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Il tuo sito è ospitato su %s, e per garantire la compatibilità abbiamo abilitato l'opzione per l'eliminazione automatica della cache Varnish." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Sitemap XML Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Precarica la sitemap del plugin Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Abbiamo identificato automaticamente la sitemap generata dal plugin %s. Puoi fare clic sull'opzione per precaricarla." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Sitemap XML di All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Sitemap XML di Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Sitemap XML di SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Sitemap XML di The SEO Framework" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Sitemap XML di Yoast SEO" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "L'indirizzo email o la chiave API di Cloudflare non sono corretti." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Leggi la %1$sdocumentazione%2$s per avere più informazioni." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Il Cloudflare Zone ID non è corretto." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "L'email e/o la chiave API di Cloudflare non sono impostate. Leggi la %1$sdocumentazione%2$s per avere ulteriori informazioni." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Manca il Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Sembra che non abbia configurato il tuo dominio su Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket:%s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: la cache di Cloudflare è stata eliminata correttamente." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Errore modalità sviluppo Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Modalità sviluppo Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Errore nel livello cache Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Livello cache Cloudflare impostato su %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Errore minificazione Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Minificazione Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Errore del Rocket Loader di Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Rocket Loader Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Errore della cache del browser di Cloudflare: %s" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "settimanale" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Salva le modifiche" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Valida la licenza" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Non disponibile" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licenza" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Chiave API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Indirizzo email" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Bacheca" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Info account e aiuto" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Stato" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Sono d’accordo a condividere dati anonimi con la squadra dello sviluppo di WP Rocket per aiutare a migliorare il plugin. %1$sQuali informazioni raccogliamo?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Opzioni cache di base" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache dispositivi mobili" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Rende il tuo sito più veloce sui dispositivi mobili." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Abbiamo notato che stai usando un plugin che richiede una cache separata per i dispositivi mobili, per cui abbiamo abilitato automaticamente quest'opzione per garantirne la compatibilità." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache utente" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sCache utente%2$s è l’opzione perfetta per i siti web che includono contenuto dedicato ai soli utenti registrati." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Vita utile della cache" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "I file di cache più vecchi della vita utile che hai specificato verranno eliminati.
    Abilita il %1$sprecaricamento%2$s in modo che la cache venga ricostruita automaticamente dopo lo scadere della vita utile." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Abilita la cache per gli utenti connessi a WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Abilita la cache per i dispositivi mobili" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Separa i file di cache per i dispositivi mobili" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "La maggior parte dei temi oggi sono responsive e dovrebbero funzionare senza una cache separata. Attiva questa opzione se usi un tema mobile o un plugin dedicato. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Specifica un lasso di tempo dopo il quale la cache globale verrà cancellata
    (0 = illimitato)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Riduci la vita utile a 10 ore o meno se noti la comparsa frequente di problemi. %1$sPerché?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuti" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Ore" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Giorni" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Ottimizzazione file" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Ottimizza i file CSS & JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "File CSS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s La minificazione è al momento attivata da Autoptimize. Se vuoi usare la minificazione di %2$s, disattiva quella di Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "File JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minifica i file CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "La minificazione del CSS rimuove gli spazi bianchi e i commenti, riducendo la dimensione del file." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Questo potrebbe creare dei malfunzionamenti!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Se noti qualsiasi errore nel tuo sito web dopo aver attivato questa opzione, disattivala: tutto tornerà alla normalità." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Attiva minificazione CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Combina i file CSS (devi selezionare prima l’opzione Minifica file CSS)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "La combinazione del CSS accorpa tutti i tuoi file in 1, riducendo il numero di richieste HTTP. Non raccomandiamo quest’opzione se il tuo sito usa HTTP/2. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Attiva combinazione CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "File CSS esclusi" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Specifica gli URL dei file CSS da escludere dalla minificazione e concatenazione (uno per linea)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Nota interna:la parte di URL che contiene il dominio verrà eliminata automaticamente. Usa i caratteri jolly (.*).css per escludere tutti i file CSS collocati in uno specifico percorso." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Terze parti:Per escludere i CSS esterni, usa il percorso URL completo oppure solo il nome dominio. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Ottimizza la pubblicazione del CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Percorso critico del CSS alternativo" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Genera un percorso alternativo quando il percorso critico del CSS auto-generatosi non è completo. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minifica i file JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minificare il JavaScript rimuove gli spazi bianchi e i commenti, riducendo la dimensione del file." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Attiva minificazione JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Combina i file JavaScript (devi selezionare prima l’opzione Minifica file JavaScript)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Questa opzione combina i file JavaScript interni al tuo sito, quelli di terze parti e i JS inline, riducendo le richieste HTTP. Non raccomandiamo attivarla se il tuo sito usa HTTP/2. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Attiva combinazione JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript Inline esclusi" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Specifica la forma dei JavScript inline da escludere dalla concatenazione (uno per linea). %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Escludere i file JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Specifica gli URL dei file JavaScript da escludere da minificazione e concatenazione (uno per linea)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Per gli interni:la parte di URL che contiene il dominio verrà eliminata automaticamente. Usa i caratteri jolly (.*).js per escludere tutti i file JS collocati in uno specifico percorso." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Esterni:Per escludere i JS esterni, usa il percorso URL completo oppure solo il nome dominio. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Carica il JavaScript in modalità differita" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Caricare il JavaScript in modalità differita elimina il JS che blocca il rendering sul tuo sito, cosa che può migliorare il tempo di caricamento. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Rimanda l'esecuzione del JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Migliora le prestazioni rimandando il caricamento dei file JavaScript fino all'interazione con l'utente (ad es. scroll, clic). %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Media" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "Lazyload" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Può migliorare sia il tempo di caricamento reale che quello percepito, perché immagini, iframe e video verranno caricati solo quando entrano (o stanno per entrare) nell'area visibile dello schermo. Riduce inoltre il numero di richieste HTTP. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "Il LazyLoad al momento è attivo su %2$s. Se desideri usare il LazyLoad di WP Rocket, disattiva questa opzione su %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Abilita questa questa opzione se desideri che WP Rocket serva immagini WebP ai browser compatibili. Considera che WP Rocket non creerà le immagini WebP al tuo posto. Per creare immagini WebP ti raccomandiamo %1$sImagify%2$s. %3$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Abilita per le immagini" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "Il LazyLoad per le immagini è al momento attivo su %2$s. Se vuoi usare il LazyLoad di %1$s, disattiva quest'opzione su %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Abilita per iframe e video" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Sostituisci l'iframe YouTube con un'immagine di anteprima" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Questo migliora in maniera significativa il tempo di caricamento, se hai molti video YouTube in una pagina." + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "L'opzione \"Sostituisci l'iframe YouTube con un'immagine di anteprima\" non è compatibile con %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Precaricamento" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Genera i file di cache, precarica i font" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Precarica la cache" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Precarica le richieste DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Il precaricamento dei DNS può far sì che i file esterni carichino più rapidamente, specialmente sulle reti mobili" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Precarica i font" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Migliora la performance perché aiuta i browser a identificare i font dentro i file CSS. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Precaricamento dei link" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Il precaricamento dei link migliora il tempo di caricamento percepito perché scarica una pagina quando un utente passa il mouse sopra il link. %1$sPiù info%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Attiva il precaricamento" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URLs da precaricare" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Specificare gli host esterni da precaricare (senza http:, uno per riga)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Font da precaricare" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Specifica gli URL dei file di font da precaricare (uno per riga). I font devono essere ospitati sul tuo dominio o sul dominio specificato nella sezione \"CDN\"." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "La parte di URL contenente il dominio sarà rimossa automaticamente.
    Estensioni di font consentite: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Abilita il precaricamento dei link" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Comandi avanzati" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Aggiusta regole di caching" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Le pagine sensibili come gli URL di login/logout dovrebbero essere escluse dalla cache." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Le pagine del carrello, pagamento e ”mio account” predefinite da %1$s%2$s%3$s verranno identificate ed escluse automaticamente dalla cache." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Non salvare in cache questi URL" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Non salvare in cache i cookie" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Non salvare in cache questi User Agent:" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Elimina sempre la cache di questi URL:" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Cache delle query strings:" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sLa cache per le query string%2$s permette di forzare la memorizzazione in cache di specifici parametri GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Specificare gli URL delle pagine o degli articoli che non dovrebbero mai essere memorizzati in cache (uno per linea)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "La porzione di URL relativa al dominio non verrà inserita.
    Puoi usare i caratteri jolly (.*) per gestire tutti gli URL che condividono un percorso comune." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Specificare le stringhe degli user agent che non dovrebbero mai vedere la versione in cache delle pagine (uno per riga)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Usa i caratteri jolly (.*) per identificare una parte del nome degli user agent." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Specificare gli URL per i quali cancellare sempre la cache ogni volta che si aggiorna un articolo o una pagina (uno per riga)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Specificare le query string da memorizzare in cache (uno per riga)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Database" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Ottimizza e riduce la saturazione" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Pulizia articoli" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Le revisioni degli articoli e le bozze verranno cancellate permanentemente. Non usare questa opzione se hai bisogno di mantenere revisioni e bozze." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Pulizia dei commenti" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "I commenti spam e quelli cestinati verranno cancellati permanentemente." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Pulizia dei transient" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "I transient sono opzioni temporanee, puoi rimuoverli senza problema. Verranno rigenerati automaticamente non appena i tuoi plugin ne avranno bisogno." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Pulizia del database" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Riduce l’overhead delle tabelle del database" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisioni" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] " %s revisione nel tuo database." +msgstr[1] "%s revisioni nel tuo database." + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Bozze automatiche" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s bozza nel tuo database." +msgstr[1] "%s bozze nel tuo database." + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Articoli cestinati" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s articolo cestinato nel tuo database." +msgstr[1] "%s articoli cestinati nel tuo database." + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Commenti spam" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s commento spam nel tuo database." +msgstr[1] "%s commenti spam nel tuo database." + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Commenti cestinati" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s commento cestinato nel tuo database." +msgstr[1] "%s commenti cestinati nel tuo database." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Tutti i transient" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transient nel tuo database." +msgstr[1] "%s transient nel tuo database." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Ottimizza le tabelle" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] " %s tavola da ottimizzare nel tuo database." +msgstr[1] "%s tavole da ottimizzare nel tuo database." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Programma la pulizia automatica" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frequenza" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Giornaliera" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Settimanale" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensile" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integra la tua CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Tutti gli URL dei file statici (CSS, JS, immagini) verranno riscritti con i CNAME(s) indicati qui sotto." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Non è obbligatorio per servizi come Cloudflare e Sucuri. Verifica gli %1$sAdd-on%2$s disponibili." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Escludi file dalla CDN" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Abilita il Content Delivery Network" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(s) della CDN" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Specificare i CNAME(s) qui sotto" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Specifica gli URL dei file che non devono essere serviti attraverso il CDN (uno per linea)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "La porzione di URL relativa al dominio non verrà inserita.
    Puoi usare i caratteri jolly (.*) per escludere tutti i file della stessa tipologia che condividono un percorso comune." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Controlla l'API Heartbeat di WordPress" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Ridurre o disattivare l'attività dell'API Heartbeat può aiutarti a risparmiare le risorse del tuo server." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Riduci o disattiva l'attività di Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Ridurre l'attività cambierà la frequenza di Heartbeat da un hit al minuto a un hit ogni 2 minuti." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Disattivare completamente Heartbeat potrebbe compromettere la funzionalità di plugin e temi che usano questa API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Non limitare" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Riduci l'attività" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Disattiva" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Controlla Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Comportamento nel backend" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Comportamento nell'editor dei post" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Comportamento nel frontend" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Add-on" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Aggiungi più funzioni" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Rocket Add-on in 1-clic" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Gli Add-on in 1-clic sono componenti aggiuntivi che estendono opzioni già disponibili senza che sia necessaria alcuna configurazione. Passa l’opzione a ”on” per abilitarla da questa schermata." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket Add-on" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "I Rocket Add-on sono componenti aggiuntivi che estendono opzioni già disponibili." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integra il tuo account Cloudflare con questo componente aggiuntivo." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Fornisci il tuo account email, la chiave API globale e il dominio per usare opzioni come la cancellazione della cache Cloudflare e abilitare le impostazioni ottimali con WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Se il tuo server usa Varnish, devi attivare questo componente aggiuntivo." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "La cache Varnish verrà cancellata allo stesso tempo della cache WP Rocket così il contenuto del tuo sito sarà sempre aggiornato.
    %1$sMaggiori informazioni%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Cancella la cache Sucuri e la cache WP Rocket allo stesso tempo." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Inserisci la tua chiave API per cancellare la cache di Sucuri quando viene cancellata quella di WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sincronizza la cache di Sucuri con questo add-on." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Credenziali Clouflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Impostazioni Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Chiave API Globale:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Trova la tua Chiave API" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Account email" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Modalità sviluppo" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Attiva temporaneamente la modalità sviluppo sul tuo sito. Questa impostazione verrà disattivata automaticamente dopo 3 ore. %1$sMaggiori informazioni%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Impostazioni ottimali" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Migliora automaticamente la configurazione del tuo Cloudflare in termini di velocità, valutazione della performance e compatibilità." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Protocollo relativo" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Dovrebbe essere usato solo insieme all'opzione Flexible SSL di Cloudflare. Gli URL dei file statici (CSS, JS, immagini) verranno riscritti per usare // invece che http:// o https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Credenziali di accesso per Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Trova la tua Chiave API" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Carica il file e importa le impostazioni" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Add-on Sucuri: la chiave API per il firewall Sucuri deve essere in formato {32 caratteri}/{32 caratteri}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Impostazioni salvate." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Strumenti" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importa, Esporta, Rollback" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Ottimizzazione immagini" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Comprimi le tue immagini" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutorial" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Video tutorial per iniziare con WP Rocket (in inglese)" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: manca il parametro di identificazione." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: manca il token utente." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: l'API ha restituito un codice di risposta inaspettato." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: l'API ha restituito una risposta vuota." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: l'API ha restituito una risposta inaspettata." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "L'eliminazione della cache RocketCDN non è riuscita: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "La cache di RocketCDN è stata eliminata correttamente." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Prossima data di fatturazione" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Nessun abbonamento" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Il tuo abbonamento a RocketCDN è ora attivo." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Per usare RocketCDN sostituisci il CNAME con %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sPiù info%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN è attivo" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN non è attivo" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Cancella questa cache" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Valore di WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "La costante WP_CACHE deve essere impostata su true affinché la cache WP Rocket funzioni correttamente" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE è impostata su true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE non è impostata" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE è impostata su false" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Non è stato possibile generare il CSS critico per %1$s. Errore: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "Non è stato possibile generare il CSS critico mobile per %1$s. Errore: l'API ha restituito una risposta vuota." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Non è stato possibile generare il CSS critico per %1$s. Errore: l'API ha restituito una risposta vuota." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Non è stato possibile generare il CSS critico per mobile per%1$s." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Non è stato possibile generare il CSS critico per %1$s." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "Non è stato possibile generare il CSS critico mobile per %1$s. Errore: l'API ha restituito un codice di risposta non valido." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Non è stato possibile generare il CSS critico per %1$s. Errore: l'API ha restituito un codice di risposta non valido." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Errore: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Rigenera il percorso critico del CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Genera il percorso critico CSS specifico." + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Rigenera il CPCSS specifico" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l per usare questa funzionalità." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Pubblica il %s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "La generazione del CSS critico è in esecuzione." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Vai alla pagina %1$sImpostazioni WP Rocket%2$s per monitorare il progresso." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "La generazione del CSS critico è in corso: %1$d di %2$d tipi di pagina sono stati completati. (Aggiorna la pagina per vedere il progresso)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "La generazione del CSS critico è terminata per %1$d di %2$d tipi di pagina." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Si sono verificati uno o più errori nella generazione del CSS critico." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Maggiori informazioni." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Il file del CSS critico mobile non esiste" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Il file del CSS critico non esiste" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Non è possibile eliminare il file del CSS critico mobile" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Non è possibile eliminare il file del CSS critico" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Non è stato possibile generare il CSS critico mobile per %1$s. " + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Stiamo generando il CSS critico per %s." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Il CSS critico mobile per %s è stato generato." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Il CSS critico per %s è stato generato." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Il file del CSS critico è stato eliminato correttamente." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Il CSS critico mobile per %1$s è entrato in timeout. Riprova più tardi." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Il CSS critico per %1$s è entrato in timeout. Riprova più tardi." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "La generazione del CPCSS mobile non è abilitata." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "L'articolo richiesto non esiste." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Non è possibile generare il percorso critico del CSS per gli articoli non pubblicati." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Il seguenti evento programmato non è stato eseguito. Questo potrebbe indicare che il sistema CRON non stia funzionando correttamente, il che può impedire ad alcune funzionalità di WP Rocket di operare come previsto:" +msgstr[1] "I seguenti eventi programmati non sono stati eseguiti. Questo potrebbe indicare che il sistema CRON non stia funzionando correttamente, il che può impedire ad alcune funzionalità di WP Rocket di operare come previsto:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Contatta il tuo host per verificare se il CRON sta funzionando." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Eliminazione della cache programmata" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Ottimizzazione del database programmata" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Processo di ottimizzazione del database" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Precaricamento" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Processo di generazione del CSS critico" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "L'opzione di eliminazione automatica della cache Varnish verrà automaticamente abilitata non appena Varnish sarà attivo sul tuo server %s." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Disattiva la seguente %s opzione che entra in conflitto con WP Rocket:" +msgstr[1] "Disattiva le seguenti %s opzioni che entrano in conflitto con WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "L'opzione %2$sDisattiva emoji%3$s di %1$s entra in conflitto con l'opzione %2$sDisattiva emoji%3$s di WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "La %2$scompressione GZIP%3$s di %1$s entra in conflitto con la %2$sCompression GZIP%3$s di WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "La %2$scache del browser%3$s di %1$s entra in conflitto con la %2$scache del browser%3$s di WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "La %2$scache di pagina%3$s di %1$s entra in conflitto con la %2$scache di pagina%3$s di WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "L'%2$sottimizzazione degli asset%3$s di %1$s entra in conflitto con la sezione %2$sOttimizzazione File%3$s di WP Rocket." + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Supporto" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Docs" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Impostazioni" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "Tornare all'aggiornamento %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sTorna a WP Rocket%2$s o %3$svai alla pagina dei Plugin%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Importazione delle impostazioni non riuscito: non hai i permessi per compiere questa azione." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Importazione delle impostazioni non riuscito: nessun file caricato." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Importazione delle impostazioni: nome del file errato." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Importazione delle impostazioni: tipologia di file non corretta." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "L'importazione delle impostazioni non è andata a buon fine:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "L'importazione delle impostazioni non è andata a buon fine: contenuto del file inatteso." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Impostazioni importate e salvate." + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Il seguente pattern non è valido ed è stato rimosso:" +msgstr[1] "I seguenti pattern non sono validi e sono stati rimossi:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Cancella la cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Opzioni WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Non mettere in cache questa pagina" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Attiva le seguenti opzioni su questo articolo:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad per le immagini" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad per iframe e video" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Minifica/combina CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minifica/combina JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS differito" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Attiva prima l'opzione %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNota:%2$s Nessuna di queste opzioni verrà applicata se questo post è stato precedentemente escluso dalla cache nelle opzioni generali." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s non è stato disattivato perché mancano i permessi di scrittura necessari.
    \n" +"Rendi %2$s riscrivibile e riprova a disattivare, o forza la disattivazione ora:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Uno o più plugin sono stati abilitati o disabilitati: cancella la cache se vedi qualche problema di visualizzazione sul tuo sito." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: I seguenti plugin non sono compatibili con questo plugin e possono causare risultati indesiderati:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Disattiva" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "Il plugin WP Rocket Footer JS non è un add-on ufficiale di WP Rocket, e può impedire ad alcune opzioni di WP Rocket di funzionare correttamente: disattivalo in caso di problemi." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache è attivo, e questo crea un conflitto con la cache di WP Rocket. Per evitare problemi, imposta il livello di cache di Endurance Cache su Off (livello 0) nella pagina %1$sImpostazioni > Generali%2$s." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: È necessario impostare una struttura dei permalink personalizzata per far funzionare correttamente il plugin. %2$sVai alle impostazioni dei permalink%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s non ha potuto modificare il file .htaccess perché mancano i permessi di scrittura." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Risoluzione del problema: %1$sCome rendere riscrivibili i file di sistema?%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Non ti preoccupare, il caching di pagina di WP Rocket e le altre impostazioni funzioneranno correttamente." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Per una prestazione ottimale, ti raccomandiamo di aggiungere le seguenti linee nel file .htaccess (ma non è obbligatorio):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s è pronto a partire! %2$sFai un test della velocità di caricamento%4$s, o verifica le tue %3$simpostazioni%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Vuoi permettere a WP Rocket di raccogliere da questo sito web dei dati di diagnostica non sensibili?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Questo in futuro ci permetterà di migliorare WP Rocket per te." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Quali dati raccogliamo?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Qui sotto trovi una lista dettagliata dei dati che WP Rocket raccoglierà, se vorrai dargli il permesso di farlo. WP Rocket non trasmetterà nessun nome di dominio o indirizzo email (eccetto che per la validazione della licenza), indirizzi IP o le chiavi API di terze parti." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Si, ve lo permetto" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "No, grazie" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Grazie!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket ora collezionerà queste metriche dal tuo sito web:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Cache cancellata." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Cache dell'articolo cancellata." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Cache del termine cancellata." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Cache utente cancellata." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Interrompi il precaricamento" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Forza la disattivazione " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Sarebbe stato necessario scrivere il codice seguente su questo file:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s non può configurarsi perché mancano dei permessi di scrittura." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "File/cartella interessata: %s" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transient" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabelle" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Non è stato possibile eliminare il file di debug." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Per funzionare correttamente, %1$s %2$s richiede almeno:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Per usare questa versione di WP Rocket, chiedi al tuo host come aggiornare il tuo server a PHP %1$s o superiore." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Per usare questa versione di WP Rocket, aggiorna WordPress alla versione %1$s o superiore." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Se non ti è possibile fare l’aggiornamento, puoi ritornare alla versione precedente usando il pulsante qui sotto." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Reinstalla la versione %s" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Ogni %d minuti" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Il file di registro (log) non esiste." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Non è stato possibile leggere il file di registro (log)." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "I registri (log) non sono stati salvati in un file." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intervallo della cache WP Rocket scaduto" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "La cache WebP è stata disattivata tramite filtro." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Stai usando %1$sper convertire le immagini in formato WebP. Se vuoi che WP Rocket si occupi di servire questi file, attiva questa opzione. %2$sPiù info%3$s" +msgstr[1] "Stai usando %1$s per convertire le immagini in formato WebP. Se vuoi che WP Rocket si occupi di servire questi file, attiva questa opzione. %2$sPiù info%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Stai usando %1$s per convertire le immagini in formato WebP. WP Rocket creerà un file di cache separato per servire le tue immagini WebP. %2$sPiù info%3$s" +msgstr[1] "Stai usando %1$s per convertire le immagini in formato WebP. WP Rocket creerà un file di cache separato per servire le tue immagini WebP. %2$sPiù info%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket creerà dei file di cache separati per servire le tue immagini WebP." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Non siamo riusciuti a identificare il seguente requisito nel tuo tema: %1$s di chiusura." +msgstr[1] "Non siamo riusciuti a identificare i seguenti requisiti nel tuo tema: %1$s di chiusura." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensile" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Il processo di ottimizzazione del database è in corso" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Il processo di ottimizzazione del database è completo. Era già tutto ottimizzato!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Il processo di ottimizzazione del database è completo. Ecco la lista degli elementi ottimizzati:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s ottimizzati." + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Errore nell'eliminazione della cache Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Stiamo cancellando la cache Sucuri. Tieni in considerazione che questo processo di pulizia potrebbe durare fino a 2 minuti." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "La chiave API del firewall Sucuri non è stata trovata." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "La chiave API del firewall Sucuri non è valida." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "C'è stato un errore quando abbiamo provato a contattare l'API del firewall di Sucuri. Il messaggio di errore era: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Non è stato possibile avere una risposta dall'API del firewall di Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Abbiamo ricevuto una risposta non valida dall'API del firewall di Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "L'API del firewall di Sucuri ha restituito un errore sconosciuto." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "L'API del firewall di Sucuri ha restituito il seguente errore: %s" +msgstr[1] "L'API del firewall di Sucuri ha restituito i seguenti errori: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Si è verificato un errore imprevisto. Potrebbe esserci qualcosa che non va su wp-rocket.me o nella configurazione di questo server. Se il problema persiste, contatta il servizio di supporto." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Tutte le lingue" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Svuota la cache di questo articolo" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Elimina la cache per questo URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Elimina la cache di Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Elimina la cache di RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentazione" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "La pulizia di OPcache è fallita." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache è stata ripulita con successo" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Attiva Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Installa Imagify gratuitamente" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Velocizza il tuo sito web e dai un'accelerata al tuo SEO riducendo la dimensione dei file immagine senza perdere qualità grazie a Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Maggiori informazioni" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Precaricamento sitemap: è stata creata la cache per %d pagine." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Precaricamento sitemap: sono state precaricate %d pagine che non erano in cache. (Aggiorna per verificare il progresso)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Scegliere un dominio dalla lista" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Non ci sono domini disponibili nel tuo account CloudFlare" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl è disabilitato sul tuo server e dovresti chiedere al tuo host di abilitarlo: è necessario affinché l'Add-on di Cloudflare funzioni correttamente." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "L'email Cloudflare, la chiave API o il Zone ID non sono configurati. Leggi la %1$sdocumentazione%2$s per maggiori dettagli." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "L'email Cloudflare e la chiave API non sono configurati. Leggi la %1$sdocumentazione%2$s per maggiori dettagli." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Connessione a Cloudflare fallita" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "La classe chiamata %1$s è obsoleta a partire dalla versione %2$s! Usa invece la %3$s." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "La classe chiamata %1$s è obsoleta a partire dalla versione %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "File JS con caricamento JavaScript differito" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Aggiungi URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Prima di poter caricare il tuo file di importazione, è necessario correggere il seguente errore:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Scegliere un file dal computer (dimensione massima: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Le tue credenziali Clouflare sono valide." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Le tue credenziali CloudFlare non sono valide!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Salva e ottimizza" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Ottimizza" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Nota:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Suggerimento sulla performance:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Individuata funzione di un plugin di terzi:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Attenzione:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Scarica impostazioni" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Sostituisci il nome host del sito con:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "riservato per" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Tutti i file" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Immagini" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Aggiungi CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Guarda il video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Base" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "File statici" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avanzate" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s%2$s richiede almeno PHP %3$s per funzionare correttamente. Per usare questa versione, chiedi al tuo hosting di aggiornare il tuo server a PHP %3$s o superiore. Se non ti è possibile fare questo aggiornamento, puoi tornare alla versione precedente usando il bottone qui sotto." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Sembra ci sia un problema con la validazione della tua licenza. Puoi vedere il messaggio di errore qui di seguito:" +msgstr[1] "Sembra ci sia un problema con la validazione della tua licenza. Puoi vedere i messaggi di errore qui di seguito:" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Tipo di server:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Numero di versione PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Numero di versione WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "Multisito WordPress:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Tema corrente:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Lingua corrente del sito:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Plugin attivi:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Nome plugin di tutti i plugin attivi" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Impostazioni WP Rocket anonime:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Quali impostazioni WP Rocket sono attive" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "La validazione della licenza non è riuscita. Il nostro server non ha potuto risolvere la richiesta proveniente dal tuo sito web." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Prova a fare clic su %1$sSalva Modifiche%2$s. Se l'errore persiste, segui %3$squesta guida%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "La validazione della licenza non è riuscita. È possibile che tu stia usando una versione pirata del plugin. Fai quanto segue:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Connettiti al tuo %1$saccount%2$s WP Rocket" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Scarica il file zip" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstallare" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Se non hai un account WP Rocket, %1$scompra una licenza%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "La convalida della licenza non è riuscita. L'account dell'utente non esiste nel nostro database." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Per risolvere, contatta il supporto." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Convalida della licenza non riuscita. Questo account utente è bloccato." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Leggi %1$squesta guida%2$s per avere più informazioni." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "La tua licenza non è valida." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Assicurati di avere un %1$slicenza WP Rocket%2$s attiva." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Ha aggiunto il numero massimo di siti permessi dalla tua licenza." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Fai un upgrade del tuo %1$saccount%2$s o %3$strasferisci la tua licenza%2$s su questo dominio." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Questo sito web non è consentito." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Per favore %1$scontatta il supporto%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "La chiave della licenza non è stata riconosciuta." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Se il problema persiste, %1$scontatta il supporto%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "La convalida della licenza non è riuscita. %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Il plugin è stato installato con successo." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Non hai i permessi per installare plugin su questo sito." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Non hai permessi per farlo." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "L'installazione del plugin non è riuscita." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Torna indietro" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Il tuo sito web utilizza al momento lo stesso percorso di CSS critico sia per desktop che per mobile." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Fai clic sul pulsante per attivare sul tuo sito il percorso critico CSS specifico per mobile." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Questa è un'azione una tantum per cui questo pulsante verrà poi rimosso. %1$sPiù info%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Il tuo sito ora sta usando il percorso critico CSS specifico per mobile. %1$sPiù info%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Genera il percorso critico CSS specifico per mobile." + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Percorso critico del CSS " + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Genera il percorso critico CSS specifico per questo articolo. %1$sPiù info%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Questo articolo usa un percorso critico CSS specifico. %1$sPiù info%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Torna al CPCSS predefinito" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Annulla" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Abilita l'ottimizzazione dei font Google" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Migliora le prestazioni dei font e combina multiple richieste di font per ridurre il numero di richieste HTTP." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "L'ottimizzazione dei font Google è ora attiva sul tuo sito. %1$sPiù info%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Ottimizza Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Cancella la cache dopo" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importa le impostazioni" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Stato dei componenti aggiuntivi" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modifica le opzioni" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME della CDN" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Elimina la cache delle risorse su RocketCDN per il tuo sito web. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Maggiori informazioni" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Cancella tutti i file di cache di RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache Cloudflare" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Elimina le risorse del tuo sito memorizzate in cache. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Cancella tutti i file della cache Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Congratulazioni!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket è attivo e pronto a lavorare per te!" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Il tuo sito web dovrebbe già essere più veloce!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Attiviamo anche delle opzioni che garantiscono benefici immediati al tuo sito web." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Vai alle opzioni per continuare a ottimizzare il tuo sito!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Il mio account" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Aggiorna info" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Data di scadenza" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Visualizza il mio account" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Azioni rapide" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Rimuovi tutti i file di cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Rigenera il percorso critico del CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Domande più frequenti - FAQ" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Ancora non hai trovato la soluzione?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Invia un ticket e ottieni aiuto dai nostri amichevoli esperti Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Chiedi al supporto" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Fai un backup del tuo database prima di realizzare una pulizia!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Una volta che l'ottimizzazione del database è stata realizzata, non c'è modo di tornare indietro." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Salve le modifica e ottimizza" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$sha creato %3$sIMAGIFY%4$s%1$sper un'ottimizzazione immagini che è la migliore della categoria.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Comprimi le tue immagini per rendere il tuo sito web più veloce, mantenendo intatta la loro qualità." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Più info su Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Pagina del plugin Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Sito web Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Valutazione dei plugin di compressione immagini" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Installa Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket non è riuscito a validare automaticamente la tua licenza." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Segui questo %1$s o contatta il %2$s per accendere i motori." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssupporto%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Cancella tutti i file di cache di Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Dimensioni dei file: %1$s. Numero di voci: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sScarica il file%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sCancella il file%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Esporta le impostazioni" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Scarica un file di backup delle tue impostazioni" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Scarica impostazioni" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Rollback" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "La versione %1$s ha creato qualche problema sul tuo sito?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Da qui puoi tornare a una precedente versione principale del plugin.%sPoi inviaci una richiesta di supporto." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Reinstalla la versione %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Modalità debug" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Crea un file registro di debug." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Per iniziare" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Getting Started with WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Trova le migliori impostazioni per il tuo sito" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Come verificare se WP Rocket sta creando la cache per il tuo sito" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Come misurare la velocità del tuo sito" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Troubleshooting Display Issues with File Optimization" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Come trovare il corretto file JavaScript da escludere" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "How External Content Slows Your Site" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Come funziona il precaricamento" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configura l'Add-On Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Impostazioni WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "versione %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Mostra la barra laterale" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket non trasmetterà mai alcun nome di dominio o indirizzo email (eccetto che per la validazione della licenza), indirizzi IP o le chiavi API di terze parti." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Attiva Rocket Analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "È un ottimo punto di partenza per risolvere alcuni degli errori più comuni." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Leggi la documentazione" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Cosa fa WP Rocket per impostazione predefinita" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Come misurare correttamente il tempo di caricamento del tuo sito web" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Guarda il nostro tutorial e impara a misurare la velocità del tuo sito." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Leggi la nostra guida" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Leggi di più" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Non hai attivato la cache per gli utenti registrati." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Usa una finestra privata del browser per controllare la velocità del tuo sito e l’aspetto visuale." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Valido solo fino al %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Velocizza il tuo sito web grazie a:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Facile configurazione: le %1$smigliori impostazioni per la CDN%2$s sono applicate automaticamente" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Integrazione con WP Rocket: l'opzione CDN è %1$sconfigurata automaticamente%2$s nel nostro plugin" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Inizia" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Maggiori informazioni su RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Rimpicciolisci questo banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Velocizza il tuo sito web con RocketCDN, la Content Delivery Network di WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Maggiori informazioni" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN non è disponibile su domini locali e siti staging." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Ottieni RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Novità!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Velocizza il tuo sito web con RocketCDN, la Content Delivery Network di WP Rocket!" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Hai bisogno d’aiuto?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-ja_JP.mo b/languages/rocket-ja_JP.mo new file mode 100644 index 0000000..6dd6232 Binary files /dev/null and b/languages/rocket-ja_JP.mo differ diff --git a/languages/rocket-ja_JP.po b/languages/rocket-ja_JP.po new file mode 100644 index 0000000..cfb4c60 --- /dev/null +++ b/languages/rocket-ja_JP.po @@ -0,0 +1,3542 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Daiya MORITA, 2021\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/wp-media/teams/18133/ja_JP/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2021-09-29 09:15-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ja_JP\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "サイトは %s でホストされています。互換性のために Varnish の自動パージを有効にしました。" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML サイトマップ" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Jetpack プラグインからサイトマップをプリロード" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "%s プラグインで生成されたサイトマップを自動検出しました。プリロードするオプションをチェックすることができます。" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML サイトマップ" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML サイトマップ" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML サイトマップ" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML サイトマップ" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML サイトマップ" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare から返答はありませんでした。後でもう一度お試しください。" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Cloudflare のメールアドレスまたは API キーが正しくありません。" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "詳しい説明については、%1$sマニュアル%2$sをお読みください。" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Cloudflare Zone ID が正しくありません。" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare のメールアドレスおよび/または API キーが設定されていません。詳しい説明は、%1$sマニュアル%2$sをご覧ください。" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Cloudflare Zone ID がありません。" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Cloudflare にドメインが設定されていないようです。" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Cloudflare のキャッシュが正常に消去されました。" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare 開発モードエラー: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare 開発モード %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare キャッシュレベルエラー: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare キャッシュレベルは %s に設定" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare minification エラー: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare minification %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Cloudflare rocket loader エラー: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare ブラウザキャッシュエラー: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "リビジョン" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "自動ドラフト" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "削除済み投稿" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "スパムコメント" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "削除済みコメント" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transients" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "テーブル" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "週次" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "月次" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "データベースの最適化プロセスが実行中です" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "データベースの最適化処理が完了しました。すべてが最適化されています !" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "データベースの最適化処理が完了しました。最適化した項目の一覧は以下の通りです。" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s 最適化されました。" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "変更を保存" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "ライセンスを確認" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "利用不可" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "ライセンス" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API キー" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "メールアドレス" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "ダッシュボード" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "ヘルプ・アカウント情報を見る" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "マイステータス" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket アナリティクス" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "WP Rocket の改善のために、匿名のデータを開発チームと共有することに同意します。%1$sどのような情報を収集しますか?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "キャッシュ" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "基本的なキャッシュオプション" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "モバイル・キャッシュ" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "モバイルからの訪問者のために、サイトを高速化します。" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "モバイル用に別のキャッシュを必要とするプラグインを使用していることを検出し、互換性のためにこのオプションを自動的に有効にしました。" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "ユーザー・キャッシュ" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sユーザー・キャッシュ%2$sは、サイトにユーザー固有のコンテンツや制限のあるコンテンツがある場合に最適です。" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "キャッシュの有効期間" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "指定した有効期間よりも古いキャッシュファイルは削除します。
    %1$sプリローディング%2$sを有効にすると、有効期間が経過した後にキャッシュが自動的に再構築されるようになります。" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "WordPress にログインしているユーザーのキャッシュ機能を有効化" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "モバイルデバイス用のキャッシングを有効化" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "モバイルデバイス用のキャッシュファイルを分離" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "ほとんどの最新テーマはレスポンシブ対応で、個別のキャッシュがなくても動作します。モバイル専用テーマやプラグインを使用している場合のみ有効化してください。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "グローバルキャッシュがクリアされるまでの時間を指定
    (0 =無制限)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "定期的に問題が発生するようであれば、有効期間を10時間以下にしてください。%1$sその理由は ?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "時間" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "日数" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "ファイル最適化" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "CSS と JS を最適化" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS ファイル" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s 圧縮・軽量化が現在 Autoptimize で有効になっています。 %2$sの圧縮・軽量化を使用したい場合は、Autoptimize でそれらのオプションを無効化してください。" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript ファイル" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "CSS ファイル圧縮・軽量化" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "CSS ファイル圧縮・軽量化では、空白やコメントを削除してファイルサイズを小さくします。" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "これで壊れてしまうかもしれません !" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "この設定を有効化した後、サイト上でエラーが発生した場合は、再度無効化すれば、サイトは元通りになります。" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "CSS ファイル圧縮・軽量化を有効化" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "CSS ファイルの連結 (CSS ファイル圧縮・軽量化を選択可能にする)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "CSS の連結 は、すべてのファイルを1つにまとめ、HTTP リクエストを減らします。HTTP/2 を使用しているサイトでは推奨されません。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "CSS の連結を有効化" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "除外 CSS ファイル" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "圧縮・軽量化と連結から除外する CSS ファイルの URL を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "内部: URL のドメイン部分を自動的に取り除きます。ワイルドカード (.*).css を使うと、特定のパスにあるすべての CSS ファイルを除外できます。" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "サードパーティー: 外部 CSS を除外するには、URL のフルパスまたはドメイン名のみを使用します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "CSS 配信の最適化" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "CSS 配信の最適化では、サイトのレンダリングブロックとなる CSS を排除します。選択できる方法は1つだけです。最適なパフォーマンスを得るためには、未使用 CSS 削除を推奨します。" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "未使用 CSS 削除" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "未使用 CSS 削除の有効化" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "CSS セーフリスト" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "削除しない CSS のファイル名、ID、クラスを指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "CSS 非同期読込" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "CSS 非同期読込は、現在%1$sプラグインによって処理されています。WP Rocket の CSS 非同期読込オプションを使用したい場合は、%1$sプラグインを無効化してください。" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "クリティカルパス CSS を生成し、CSS を非同期で読み込みます。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "フォールバック・クリティカル CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "自動生成されたクリティカルパス CSS が不完全な場合のフォールバックを提供します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "JavaScript ファイル圧縮・軽量化" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "JavaScript 圧縮・軽量化では、空白やコメントを削除してファイルサイズを小さくします。" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "JavaScript 圧縮・軽量化を有効化" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "JavaScript ファイルの連結 (JavaScript ファイル圧縮・軽量化を選択可能にする)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "JavaScript ファイル連結は、サイト内部、サードパーティ、インラインの JS を結合し、HTTP リクエストを減らします。HTTP/2 を使用しているサイトでは推奨されません。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "JavaScript 実行の遅延が有効化されている場合は、互換性と最良の結果を得るために、このオプションは無効化されます。" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "JavaScript の連結を有効化" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "除外インライン JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "連結から除外するインライン JavaScript のパターンを指定 (1行に1つ) %1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "除外 JavaScript ファイル" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "圧縮・軽量化と連結から除外する JavaScript ファイルの URL を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "内部: URL のドメイン部分を自動的に取り除きます。ワイルドカード (.*).js を使うと、特定のパスにあるすべての JS ファイルを除外できます。" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "サードパーティー: 外部 JS を除外するには、URL のフルパスまたはドメイン名のみを使用します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "JavaScript 遅延読込" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "JavaScript 遅延読込では、サイトのレンダリングブロックとなる JS を排除し、読込時間を改善します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "遅延読込から除外する JavaScript ファイルの URL またはキーワードを指定 (1行に1つ) %1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "JavaScript の実行遅延" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "ユーザー操作(スクロールやクリックなど)が行われるまで、JavaScript ファイルの読込を遅らせることで、パフォーマンスを向上します。 %1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "実行遅延させる対象から除外するインラインおよび JavaScript ファイルを特定できる URL やキーワードを指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "メディア" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad、画像サイズ" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "画像、iframe、動画がビューポートに入る(入ろうとしている)ときにだけ読み込み、HTTP リクエストの数を減らして、実際の読込時間と体感読込時間を改善します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "現在、%2$sで LazyLoad が有効化されています。WP Rocket の LazyLoad を使用したい場合は、%2$sでこのオプションを無効化してください。" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "画像サイズ" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "画像に不足している width、height 属性を追加します。レイアウトのずれを防ぎ、訪問者の閲覧性向上に貢献します。 %1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "画像向け対策を有効化" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "画像の LazyLoad は、現在 %2$s で有効化されています。%1$s の LazyLoad を使用したい場合は、%2$s でこのオプションを無効化してください。" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "iframes とビデオ向け対策を有効化" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "YouTube の iframe をプレビュー画像へ置換" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "YouTube の iframe をプレビュー画像へ置換 は %2$sと互換性がありません。" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "これにより、1 つのページにたくさんの YouTube 動画がある場合、読込時間を大幅に改善します。" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "除外する画像または iframes" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "除外する画像や iframe のコードからキーワード(画像ファイル名、CSS クラス、ドメインなど)を指定 (1行に1つ) %1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "不足している画像サイズの追加" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "プリロード" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "キャッシュファイルの生成、フォントのプリロード" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "キャッシュのプリロード" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "リンクのプリロード" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "リンクのプリロードは、ユーザーがリンクにカーソルを置いたときにページをダウンロードすることで、体感読込時間を改善します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS リクエストのプリフェッチ" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "DNS のプリフェッチにより、特にモバイルネットワーク上での外部ファイル読み込みが速くなります。" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "フォントのプリロード" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "ブラウザが CSS ファイル内のフォントを検出できるようにすることで、パフォーマンスを向上します。%1$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "プリロードを有効化" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "プリフェッチ対象のURL" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "プリフェッチする外部ホストを指定 (http: は不要、1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "プリロードするフォント" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "プリロードするフォントファイルの URL を指定します。 (1行に1つ) フォントは、独自ドメイン、または CDN タブで指定したドメインでホストされている必要があります。" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "URL のドメイン部分を自動的に取り除きます。
    受付けるフォントの拡張子: otf, ttf, svg, woff, woff2" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "リンクのプリロードを有効化" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "高度なルール" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "キャッシュルールの詳細設定" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "カスタムログイン / ログアウト URL のような機密性の高いページは、キャッシュから除外する必要があります。" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "%1$s%2$s%3$sで設定された
    カート、チェックアウト、\"マイアカウント\" ページを検出し、デフォルトではキャッシュしません。" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "キャッシュしない URL" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "キャッシュしない Cookie" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "キャッシュしない User Agent" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "常に消去する URL" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "キャッシュするクエリ文字列" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sキャッシュするクエリ文字列%2$sでは、特定の GET パラメータのキャッシュを強制的に行うことができます。" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "キャッシュしないページや記事の URL を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "URL のドメイン部分を自動的に取り除きます。
    ワイルドカード (.*) を使うと、指定したパス以下にある URL を複数指定できます。" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "訪問者のブラウザに設定されたときに、ページのキャッシュを防止するクッキーの完全または部分的な ID を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "キャッシュされたページを見せない User Agent の文字列を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "ワイルドカード (.*) を使って、UA 文字列の一部を検出" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "記事やページを更新したときに、常にキャッシュから削除したいURLを指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "キャッシュするクエリ文字列を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "データベース" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "最適化、肥大化防止" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "投稿のクリーンアップ" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "投稿のリビジョンや下書きを永久に削除します。リビジョンや下書きを保持する必要がある場合は、このオプションを使用しないでください。" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "コメントのクリーンアップ" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "スパムや削除済みコメントを永久に消去します。" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Transients のクリーンアップ" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Transients は一時的なオプションであり、削除しても安全です。プラグインのリクエストに応じて自動的に再生成されます。" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "データベースのクリーンアップ" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "データベーステーブルのオーバーヘッドを軽減" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s : データベース内のリビジョン" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s : データベース内の下書き" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s : データベース内の削除済み投稿" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s : データベース内のスパムコメント" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s : データベース内の削除済みコメント" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "すべての Transients" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s : データベース内の Transients" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "テーブルの最適化" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "データベース内の %s 個のテーブルを最適化" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "自動クリーンアップのスケジュール" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "頻度" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "日次" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "週次" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "月次" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "CDN の統合" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "静的ファイル (CSS、JS、画像) の URL すべてを、指定の CNAME に書き換えます。" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Cloudflare や Sucuri などのサービスでは必要ありません。利用可能な %1$sアドオン%2$sをご覧ください。" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "CDN からファイルを除外" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l アドオン%3$s が現在有効になっています。サイトで %2$l を動作させるために、CDN 設定の構成は不要です。" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "コンテンツ・デリバリー・ネットワークの有効化" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "以下に CNAME を指定してください" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "CDN で配信しないファイルの URL を指定 (1行に1つ)" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "URL のドメイン部分を自動的に取り除きます。
    ワイルドカード (.*) を使うと、特定のパスにある特定のファイルタイプのファイルすべてを除外できます。" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "WordPress Heartbeat API の管理" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Heartbeat API のアクティビティを低減、または無効化することで、サーバーのリソースを節約できます。" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Heartbeat のアクティビティを低減、または無効化" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "アクティビティを減らすと、Heartbeat の頻度が 1 分に 1 回から 2 分に 1 回に変わります。" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Heartbeat を完全に無効化すると、この API を使用しているプラグインやテーマを破損する可能性があります。" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "制限しない" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "アクティビティを低減" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "無効化" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Heartbeat の管理" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "バックエンドでの挙動" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "投稿エディターでの挙動" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "フロントエンドでの挙動" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "アドオン" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "機能を追加" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "ワンクリック Rocket アドオン" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "ワンクリックアドオンは、設定を必要とせずに利用可能なオプションを拡張する機能です。この画面でオプションを「on」にすると有効化します。" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket アドオン" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket アドオンは、利用可能なオプションを拡張する補完的な機能です。" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Cloudflare アカウントをこのアドオンで統合" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Cloudflare キャッシュのクリアや WP Rocket での最適な設定の有効化などのオプションを使用するためには、アカウントのメールアドレス、グローバル API キー、ドメインを提供してください。" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Varnish がサーバーで動作している場合は、このアドオンを有効化する必要があります。" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnish のキャッシュは、WP Rocket がキャッシュをクリアするたびに消去し、コンテンツを常に最新の状態に保ちます。
    %1$sもっと詳しく%2$s " + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "WebP 対応" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "WebP 画像のブラウザ互換性を改善" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "互換性のあるブラウザに WebP 画像をWP Rocket で提供したい場合、このオプションを有効化します。WP Rocket では WebP 画像の作成はできませんのでご注意ください。WebP 画像を作成するには、%1$sImagify%2$s をお勧めします。%3$s詳細情報%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "WP Rocket のキャッシュをクリアすると、Sucuri のキャッシュもクリアします。" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "WP Rocket のキャッシュを消去するときに、Sucuri のキャッシュを消去するには API キーを提供してください。" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sucuri のキャッシュをこのアドオンで同期" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare 認証情報" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare 設定" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "グローバル API key:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "API キー検索" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "アカウントメールアドレス" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ゾーン ID" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "開発モード" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "サイトの開発モードを一時的に有効化します。この設定は、3 時間後に自動的にオフになります。%1$sもっと詳しく%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "最適な設定" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Cloudflare の構成を自動的に強化し、スピード、パフォーマンスグレード、互換性を向上させます。" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "相対プロトコル" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Cloudflare のフレキシブル SSL 機能でのみ使用してください。静的ファイル (CSS、JS、画像) のURLは、http:// や https:// の代わりに // を使うように書き換えます。" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri 認証情報" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "API キー検索" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "ファイルをアップロードして、設定をインポート" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Sucuri アドオン : Sucuri firewall 用の API キーは {32文字}/{32文字} の形式としてください。" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "設定を保存しました。" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "ツール" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "インポート、エクスポート、ロールバック" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "画像の最適化" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "画像の圧縮" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "チュートリアル" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "始め方とチュートリアル動画" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "RocketCDN キャッシュを消去できません : 識別パラメータがありません" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "RocketCDN キャッシュを消去できません : ユーザートークンがありません" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "RocketCDN キャッシュを消去できません : API が予期せぬレスポンスコードを返しました" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "RocketCDN キャッシュを消去できません : API が空のレスポンスを返しました" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "RocketCDN キャッシュを消去できません : API が予期せぬレスポンスを返しました" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN キャッシュを消去できません : %s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN キャッシュ消去が完了しました" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "次回の請求日" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "サブスクリプションなし" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "RocketCDN のサブスクリプションは現在有効" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "RocketCDN を使用するには、CNAME を %1$s%2$s%3$s に置き換えてください。" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$s詳細情報%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN が有効化されています" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN が無効化されています" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "%s まで有効です !" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "サイトのスピードアップに役立つ理由 : " + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "簡単設定 : %1$s最適な CDN 設定%2$sを自動的に適用" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "WP Rocket の統合 : CDN オプションは、私たちのプラグインで%1$s自動設定%2$s" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "始めてみましょう" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "RocketCDN についてもっと詳しく" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "このバナーを削減" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "WP Rocket のコンテンツ・デリバリー・ネットワークである RocketCDN で、サイトを高速化しましょう。" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "もっと詳しく" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN は、ローカルドメインとステージングサイトでは利用できません。" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "RocketCDN を利用しよう" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "New !" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "WP Rocket のコンテンツ・デリバリー・ネットワークである RocketCDN でウェブサイトを高速化しましょう !" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "このキャッシュを消去" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Rocket 期限切れキャッシュの間隔" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE 値" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "WP Rocket のキャッシュが正しく動作するためには、WP_CACHE 定数をtrue に設定する必要があります" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE は true に設定されています" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE が設定されていません" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE は false に設定されています" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "%1$s向けクリティカル CSS が生成されませんでした。エラー : %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "モバイルの%1$s向けクリティカル CSS が生成されませんでした。エラー : API は空の応答を返しました。" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "%1$s向けクリティカル CSS が生成されませんでした。エラー : API は空の応答を返しました。" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "モバイルの%1$s向けクリティカル CSS が生成されませんでした。" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "%1$s向けクリティカル CSS が生成されませんでした。" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "モバイルの%1$s向けクリティカル CSS が生成されませんでした。エラー : API は無効なレスポンスコードを返しました。" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "%1$s向けクリティカル CSS が生成されませんでした。エラー : API は無効なレスポンスコードを返しました。" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "エラー : %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "クリティカルパス CSS を再生成" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "特定の CPCSS を生成" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "特定の CPCSS を再生成" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "この機能を使用するには、%l" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "%sを公開" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "WP Rocket の設定で CSSの非同期読込 を有効化" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "上のオプションで CSS の非同期読込を有効化" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "クリティカル CSS 生成を現在実行中。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "%1$sWP Rocket 設定%2$sページにアクセスして、進捗状況を確認してください。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "クリティカル CSS の生成を現在実行中 : ページタイプ %2$d のうち %1$d を完了しました。(進行状況を見るには、このページを更新してください)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "ページタイプ %2$dのうち %1$d のクリティカル CSS 生成を完了" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "クリティカル CSS 生成で 1 つ以上のエラーが発生" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "もっと詳しく" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "モバイルの%1$s向けクリティカル CSS が生成されませんでした。エラー : 保存先フォルダを作成できませんでした。" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "%1$s向けクリティカル CSS が生成されませんでした。エラー : 保存先フォルダを作成できませんでした。" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "モバイル用クリティカル CSS ファイルが存在しません" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "クリティカル CSS ファイルが存在しません" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "モバイル用クリティカル CSS ファイルを削除できません" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "クリティカル CSS ファイルを削除できません" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "モバイルの%1$s向けクリティカル CSS ファイルが生成されませんでした。" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "%s向けクリティカル CSS が進行中。" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "モバイルの%s向けクリティカル CSS ファイルが生成されました。" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "%s向けクリティカル CSS が生成されました。" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "クリティカル CSS ファイルを問題なく削除しました。" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "モバイルの%1$s向けクリティカル CSS がタイムアウトしました。少し時間をおいて再試行してください。" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "%1$s向けクリティカル CSS がタイムアウトしました。少し時間をおいて再試行してください。" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "モバイル CPCSS 生成は有効化されていません。" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "リクエストされたポストは存在しません。" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "公開されていない記事に対して CPCSS を生成できません。" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "以下のスケジュールされたイベントの実行に失敗しました。これは、CRON システムが正常に動作していないことを示している可能性があり、WP Rocket の一部機能が意図した通りに動作しない可能性があります。" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "CRON が動作しているかどうかは、ご利用のホストにお問い合わせください。" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "キャッシュの定期的な消去" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "データベースの定期的な最適化" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "データベースの最適化プロセス" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "プリロード" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "クリティカルパス CSS 生成プロセス" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "より多くのサイトを高速化するために、%1$sを活用してください : %2$s%3$sでお持ちのライセンスを Infinite にアップグレードすると、%3$s%4$sオフの%5$sを受けられます!%5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "無制限" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%s オフ" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "%s プロモーションが開始されました !" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "急いで ! お得なキャンペーンが終了します :" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "分" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "秒" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "今すぐアップグレード" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "WP Rocket ライセンスが期限切れです !" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "今すぐ更新" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "手遅れになる前に、%1$s%2$sの割引%3$sで更新すると、お支払いは%1$s%4$s%3$sだけです !" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "より多くのサイトを高速化" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "ライセンスをアップグレードすることで、より多くのサイトで WP Rocket を使うことができます。アップグレードには、以下のように、現在のライセンスと新しいライセンスの%1$s料金差額%2$sを支払うだけです。" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$s注意%2$s : ライセンスをアップグレードしても、有効期限は変更されません" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "$%s を節約" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s サイト" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "%s にアップグレード" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "ライセンスをアップグレードすることで、より多くのサイトで WP Rocket を使うことができます。 (現在のライセンスと新しいライセンスの料金差額を支払うだけです)" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "使用済 CSS の消去" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Varnish auto-purge は、Varnish が %s サーバで有効化されると自動的に有効化されます。" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s : Mod PageSpeed はこのプラグインとは互換性がなく、予期しない結果を引き起こす可能性があります。 %2$sもっと詳しく%3$s " + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "WP Rocket の機能と競合する以下の %s オプションを無効化してください。: " + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s%2$s絵文字無効化%3$sは WP Rockets の%2$s絵文字無効化%3$s と競合します" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s%2$sGZIP 圧縮%3$sは WP Rockets の %2$sGZIP 圧縮%3$sと競合します" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s%2$sブラウザキャッシュ%3$sは WP Rockets の%2$sブラウザキャッシュ%3$sと競合します" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s%2$sページキャッシュ%3$sは WP Rockets の%2$sページキャッシュ%3$sと競合します" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s%2$sアセット最適化%3$sは WP Rockets の%2$sファイル最適化%3$sと競合します" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "JS 遅延読込は現在 %1$s で有効になっています。WP Rocket の JS 遅延読込を使用したい場合は、%1$s を無効化してください" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "サポート" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "ドキュメント" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "よくある質問" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "設定" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s ロールバックを更新" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sWP Rocket に戻る%2$s、もしくは%3$sプラグインページに移動%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "設定のインポートに失敗しました : 権限がありません。" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "設定のインポートに失敗しました : アップロードされたファイルがありません。" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "設定のインポートに失敗しました : ファイル名が正しくありません。" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "設定のインポートに失敗しました : ファイルタイプが正しくありません。" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "設定のインポートに失敗しました : " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "設定のインポートに失敗しました : 予期しないファイル内容です。" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "設定をインポートし、保存しました 。" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "以下のパターンは無効なので削除しました : " + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "キャッシュの消去" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket 設定" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "このページをキャッシュしない" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "この記事では、これらのオプションを有効化します : " + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "画像の LazyLoad" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "iframes/videos の LazyLoad" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "CSS 圧縮・軽量化 / 連結" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "JS 圧縮・軽量化 / 連結" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS の遅延読込" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "最初に %s オプションを有効化します。" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$s注意 : %2$s グローバルキャッシュ設定で、この投稿がキャッシュから除外されている場合、これらのオプションはいずれも適用されません。" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s は、書き込み権限がないために無効化されていません。
    \n" +"%2$s を書き込み可能にして、再度無効化を試すか、今すぐ強制的に無効化してください : " + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: 1 つまたは複数のプラグインが有効化または無効化されています。それらがサイトのフロントエンドに影響する場合は、キャッシュをクリアしてください。" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: 以下のプラグインは、このプラグインとの互換性がなく、予期しない結果を引き起こす可能性があります : " + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "無効化" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS は公式のアドオンではありません。WP Rocket の一部オプションが正常に動作しなくなります。問題がある場合は無効化してください。" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "現在、Endurance Cache が有効化されており、WP Rocket Cache と競合してしまいます。問題を防ぐためには、%1$s設定 > 一般%2$sページで Endurance Cache のキャッシュレベルを Off (Level 0) にしてください。" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: プラグインが正しく動作するためには、カスタムパーマリンク構造が必要です。 %2$sパーマリンク設定に移動%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "書き込み権限がないため、%sは .htaccess ファイルを変更できませんでした。" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "トラブルシュート: %1$sシステムファイルを書き込み可能にする方法%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "WP Rocket のページキャッシや設定は、そのまま正常に機能しますのでご安心ください。" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "最適なパフォーマンスを得るために、.htaccess に以下の行を追加することを推奨します (必須ではありません) : " + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s の準備が出来ました ! %2$s読込時間をテストする%4$s、もしくは、%3$s設定%4$sをご覧ください。" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "WP Rocket がこのサイトから機密性のない診断データを収集することを許可しますか ?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "これにより、今後の WP Rocket の改善に役立ちます。" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "どのような情報を収集するのでしょうか ? (クリックして表示)" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "許可を得た場合に WP Rocket が収集するデータすべての詳細は以下の通りです。WP Rocket では、ドメイン名やメールアドレス (ライセンス認証を除く)、IP アドレス、サードパーティの API キーを送信することはありません。" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "はい、許可します" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "いいえ、結構です" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "ありがとうございます !" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket では、これらの指標をお客様のサイトから収集するようになりました。" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: キャッシュを消去しました。" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: 投稿のキャッシュを消去しました。" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: タームのキャッシュを消去しました。" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: ユーザーのキャッシュを消去しました。" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "プリロードの停止" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "強制的に無効化" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "このファイルには、次のようなコードが書き込まれているはずです : " + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "書き込み権限がないため、%sは自身の設定ができません。" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "影響を受けるファイル / フォルダ: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "デバッグファイルを削除できませんでした。" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "正常に機能するために、%1$s %2$s には少なくとも必要です : " + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s です。この WP Rocket バージョンを使用するには、サーバーを PHP %1$s 以上にアップグレードする方法をウェブホストに確認してください。" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s です。この WP Rocket バージョンを使用するには、WordPress をバージョン %1$s 以上にアップグレードしてください。" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "アップグレードできない場合は、下記のボタンで前のバージョンにロールバックできます。" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "バージョン %s の再インストール" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "%d分ごと" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "ログファイルが存在しません。" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "ログファイルを読めませんでした。" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "ログはファイルに保存されません。" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "WebP 画像の配信に %1$s を使用しているので、このオプションを有効化する必要はありません。%2$s詳細情報%3$s %4$s 代わりにWP Rocket による WebP 配信を希望する場合は、%1$s で WebP 表示を無効化してください。" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP のキャッシュはフィルタで無効化されています。" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "画像の WebP への変換に %1$s を使用しています。WP Rocket による変換を希望する場合は、このオプションを有効化してください。%2$s詳細情報%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "画像の WebP への変換に %1$s を使用しています。WP Rocket は WebP 画像を配信するために別のキャッシュファイルを作成します。%2$s詳細情報%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "%5$s 互換性のある WebP プラグインを検出しませんでした ! %6$s%4$s WebP 画像をまだサイトで利用していない場合は、%3$sImagify%2$s またはサポートしている他のプラグインの利用を検討してください。%1$s詳細情報%2$s %4$s WebP を使用していない場合は、このオプションを有効化しないでください。" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket は、WebP 画像を配信するために別のキャッシュファイルを作成します。" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "テーマで次の要件を検出できませんでした : %1$s を閉じます。" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri キャッシュ消去エラー : %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Sucuri のキャッシュが消去されています。完全消去までには 2 分ほどかかることがありますのでご注意ください。" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Sucuri firewall の API キーが見つかりませんでした。" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucuri firewall の API キーが無効です。" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Sucuri firewall API への問い合わせ時にエラー。エラーメッセージ : %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Sucuri firewall API から応答を取得できませんでした。" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Sucuri firewall API から無効な応答がありました。" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri firewall API が未知のエラーを返しました。" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "Sucuri firewall API は次のエラーを返しました : %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "予期せぬエラーが発生しました。WP-Rocket.me またはこのサーバー’ の設定に問題があるかもしれません。それでも問題が解決しない場合は、サポートまでご連絡ください。" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "すべての言語" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "この記事を消去" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "この URL を消去" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Sucuri キャッシュを消去" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "RocketCDN キャッシュを消去" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "マニュアル" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "OPcache を消去できませんでした。" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache 消去が完了しました。" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Imagify を有効化" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Imagify を無料インストール" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Imagify を使えば、画質を落とさずに画像ファイルサイズを縮小でき、サイトのスピードアップやSEO対策になります。" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "詳細情報" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "サイトマップのプリロード : %dページをキャッシュしました。" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "サイトマップのプリロード : キャッシュされていない %dページをプリロードしました。(更新で進行状況を表示)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "リストからドメインを選択" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Cloudflare アカウントに利用可能なドメインがありません" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "お使いのサーバーでは Curl が無効化されています。ホストに有効化を依頼してください。Cloudflare アドオンが正しく動作するために必要です。" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare のメールアドレス、API キー、Zone ID が設定されていません。詳しい説明は、%1$sマニュアル%2$sをご覧ください。" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare のメールアドレスと API キーが設定されていません。詳しい説明は、%1$sマニュアル%2$sをご覧ください。" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Cloudflare へ接続できません" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "呼び出されたクラス%1$s は、バージョン %2$s から非推奨になっています ! 代わりに %3$s を使用してください。" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "呼び出されたクラス%1$s は、バージョン %2$s から非推奨になっています ! " + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS ファイルを JavaScript 遅延読込" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "URLを追加" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "インポートファイルをアップロードする前に、以下のエラーを修正してください : " + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "コンピュータからファイルを選択 (最大サイズ : %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Cloudflare の認証情報は有効です。" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Cloudflare の認証情報は無効です !" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "保存と最適化" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "最適化" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "注意 : " + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "パフォーマンスのヒント : " + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "サードパーティの機能を検出 : " + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "警告 : " + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "設定をダウンロード" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "サイトのホスト名を次と置換 : " + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "右に適用" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "すべてのファイル" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "画像" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "CNAME を追加" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "動画を見る" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "ベーシック" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "静的ファイル" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "アドバンスド" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s%2$s が正しく機能するためには、少なくとも PHP %3$s が必要です。このバージョンを使用するには、お使いのサーバーを PHP %3$s 以上にアップグレードする方法をウェブホストに確認してください。アップグレードできない場合は、下のボタンを使って前のバージョンにロールバックできます。" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "ライセンスの認証に問題があるようです。エラーメッセージが以下に表示されます。" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "サーバータイプ : " + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP バージョン番号 : " + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress バージョン番号 : " + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress マルチサイト : " + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "現在のテーマ : " + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "現在のサイト言語 : " + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "動作中のプラグイン : " + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "動作中のプラグイン名" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "匿名化された WP Rocket 設定 : " + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "有効化されている WP Rocket の設定" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "提供されたライセンスデータは有効ではありません。" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "解決するには、%1$sサポートまでご連絡ください%2$s。" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "ライセンス認証ができませんでした。サイトからのリクエストを当社サーバーが解決できませんでした。" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "以下の %1$s変更を保存%2$sをクリックしてみてください。それでもエラーが発生する場合は、%3$sこちらのガイド%4$sに従ってください。" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "ライセンス認証ができませんでした。無効なバージョンのプラグインを使用している可能性があります。以下のようにしてください : " + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "WP Rocket %1$sアカウント%2$sにログインしてください。" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "ZIP ファイルをダウンロード" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "再インストール" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "WP Rocket アカウントをお持ちでない方は、%1$sライセンスをご購入%2$sください。" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "ライセンス認証ができませんでした。このユーザーアカウントは、当社データベースに存在しません。" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "解決するには、サポートまでご連絡ください。" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "ライセンス認証ができませんでした。このユーザーアカウントはブロックされています。" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "詳しくは%1$sこちらのガイド%2$sをご覧ください。" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "ライセンスが有効ではありません。" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "有効な %1$sWP Rocket ライセンス%2$sを持っていることを確認してください。" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "現在のライセンスで許可されている数のサイトを追加しました。" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "%1$sアカウント%2$sをアップグレードするか、このドメインに%3$sライセンス を移行%2$sしてください。" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "このサイトは許可されていません。" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "%1$sサポートまでご連絡ください%2$s。" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "このライセンスキーは認識されません。" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "それでも問題が解決しない場合は、%1$sサポートまでご連絡ください%2$s。" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "ライセンス認証ができませんでした : %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "プラグインのインストールが正常に完了されました。" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "申し訳ありませんが、このサイトではプラグインをインストールできません。" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "申し訳ありませんが、それはできません。" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "プラグインのインストールができませんでした。" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "戻る" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "モバイル向け CSS 非同期読込" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "サイトは現在、デスクトップとモバイルの両方で同じクリティカルパス CSS を使用しています。" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "ボタンをクリックすると、サイトでモバイル専用 CPCSS が有効化されます。" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "これは 1 回限りのアクションで、このボタンはその後削除されます。%1$s詳細情報%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "サイトは現在、モバイル専用クリティカルパス CSS を使用しています。%1$s詳細情報%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "モバイル専用 CPCSS を生成" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "クリティカルパス CSS" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "この投稿のために専用クリティカルパス CSS を生成します。%1$s詳細情報%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "この投稿は専用クリティカルパス CSS を使用しています。%1$s詳細情報%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "デフォルトの CPCSS に戻す" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "キャンセル" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Google フォント最適化を有効化" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "フォントのパフォーマンスを向上させ、複数のフォントリクエストを連結して HTTP リクエストの数を減らすことができます。" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Google フォント最適化がサイトで有効化されました。 %1$s詳細情報%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Google フォントを最適化" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "の後にキャッシュを消去" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "設定のインポート" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "アドオンの状態" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "オプションを変更" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "サイト用に RocketCDN がキャッシュしたリソースを消去します。 %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "もっと詳しく" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "RocketCDN キャッシュファイルをすべて消去" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare キャッシュ" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "サイト用にキャッシュしたリソースを消去します。%s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Cloudflare キャッシュファイルをすべて消去" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "おめでとうございます ! " + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket が有効化され、もう稼働しています。" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "サイトの読み込みが速くなったはずです ! " + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "高速なサイトを保証するために、WP Rocket はウェブパフォーマンスにおけるベストプラクティスの 80% を自動的に適用します。" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "また、サイトにすぐに効果をもたらすオプションも有効化します。" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "サイトをさらに最適化するオプションを見てみましょう !" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "マイアカウント" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "情報を更新" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "利用期限" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "マイアカウントを表示" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "クイックアクション" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "キャッシュされたファイルをすべて削除" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Critical CSS を再生成" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "未使用 CSS キャッシュ削除" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "よくある質問" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "それでも解決できませんか ? " + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "質問をチケットで出してください。フレンドリーで知識豊富な Rocketeers がお助けします。" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "サポートを依頼" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "クリーンアップを実行する前に、データベースをバックアップしておきましょう !" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "一度行ったデータベースの最適化は、元に戻すことはできません。" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "変更を保存して最適化" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s は、%1$sクラス最高の画像最適化のため%2$sに、%3$sIMAGIFY%4$s を作成しました。" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "画像を圧縮して、画質を維持したままサイトを高速化します。" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Imagify の詳細 : " + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify プラグインページ" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify ウェブサイト" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "画像圧縮プラグインの比較レビュー" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Imagify をインストール" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket はライセンスを自動的に認証できませんでした。" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "この%1$sに沿うか、または%2$sに問い合わせて、始めてみましょう。" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$sチュートリアル%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$sサポート%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Sucuri キャッシュファイルをすべて消去" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "ファイルサイズ : %1$s。エントリー数 : %2$s。" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sファイルをダウンロード%2$s。" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sファイルを削除%2$s。" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "設定のエクスポート" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "設定のバックアップファイルをダウンロード" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "設定をダウンロード" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "ロールバック" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "バージョン %s でサイトに不具合が起きましたか ?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "ここで前のメジャーバージョンにロールバックできます。%s そして、サポート依頼をお送りください。" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "バージョン %s を再インストール" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "デバッグモード" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "デバッグログファイルを作成" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "始めてみましょう" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "WP Rocket を始めましょう" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "サイトに最適な設定を見つけましょう" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "WP Rocket がサイトをキャッシュしているかどうかを確認する方法" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "サイト速度を測定する方法" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "ファイル最適化による表示不具合のトラブルシューティング" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "除外する JavaScript の見つけ方" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "外部コンテンツがサイトを遅くする原因" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "プリロードのしくみ" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Cloudflare アドオンの設定" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket 設定" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "バージョン %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "サイドバーを表示" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "%1$s許可を得た場合に%2$s WP Rocket が収集するデータすべての詳細は以下の通りです。" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket では、ドメイン名やメールアドレス (ライセンス認証を除く)、IP アドレス、サードパーティの API キーを送信することはありません。" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Rocket analytics を有効化" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "よくある問題の解決に、こちらがお役に立つかもしれません。" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "マニュアルを読む" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "WP Rocket がデフォルトで行うこと" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "サイト読込時間を正しく測定するには ?" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "チュートリアルでは、サイトの速度を測定する方法をご紹介します。" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "モバイルに最適な WP Rocket の設定についてご紹介します。" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "ガイドを読む" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "WordPress を Google Core Web Vitals でテストして、改善しましょう。" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "もっと詳しく" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "ログインユーザーのキャッシュを有効化していません。" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "プライベートブラウザを使用して、サイトの速度と表示を確認してください。" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "お困りですか ? " + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" diff --git a/languages/rocket-ms.mo b/languages/rocket-ms.mo new file mode 100644 index 0000000..c6c5b5b Binary files /dev/null and b/languages/rocket-ms.mo differ diff --git a/languages/rocket-ms.po b/languages/rocket-ms.po new file mode 100644 index 0000000..29302a0 --- /dev/null +++ b/languages/rocket-ms.po @@ -0,0 +1,3540 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Adi Azudin , 2019\n" +"Language-Team: Malay (https://www.transifex.com/wp-media/teams/18133/ms/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Laman web anda dihoskan %s, kami telah membolehkan Varnish auto-purge untuk keserasian." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Peta laman Jetpack XML" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Pramuat peta laman daripada pemalam Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Kami secara automatik mengesan peta laman yang dihasilkan oleh pemalam %s. Anda boleh menyemak pilihan untuk pramuatnya." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Peta laman XML All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Peta laman XML Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Peta laman XML The SEO Framework" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Peta laman XML Yoast SEO" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Sokongan" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Tetapan" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Tetapan gagal diimport: anda tidak mempunyai keizinan untuk melakukan ini." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Tetapan gagal diimport: tiada fail dimuat naik." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Tetapan gagal diimport: kesalahan nama fail." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Tetapan gagal diimport: kesalahan jenis fail." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Tetapan gagal diimport:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Tetapan gagal diimport: kandungan fail yang tidak dijangka." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Tetapan telah diimport dan disimpan." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Adakah anda mengizinkan WP Rocket untuk mengumpul data diagnostik yang tidak sensitif daripada laman web ini?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Ini akan membantu kami memperbaiki WP Rocket untuk anda pada masa akan datang." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Apakah maklumat yang akan kami kumpulkan?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Ya, izinkan" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Tidak, terima kasih" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Terima kasih!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket kini mengumpul metrik ini daripada laman web anda:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Tambah lagi ciri-ciri" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Tetapan Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Lesen anda tidak sah." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Pastikan anda memiliki aktif %1$s lesen WP Rocket %2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Anda telah menambah banyak tapak seperti yang dibenarkan oleh lesen semasa anda." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Naik taraf %1$sakaun%2$s atau %3$smemindahkan lesen anda %2$s kepada domain ini." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Laman web ini tidak dibenarkan." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Sila %1$s hubungi sokongan %2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Kunci lesen ini tidak diiktiraf." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-nb_NO.mo b/languages/rocket-nb_NO.mo new file mode 100644 index 0000000..85e3462 Binary files /dev/null and b/languages/rocket-nb_NO.mo differ diff --git a/languages/rocket-nb_NO.po b/languages/rocket-nb_NO.po new file mode 100644 index 0000000..d158ada --- /dev/null +++ b/languages/rocket-nb_NO.po @@ -0,0 +1,3558 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: \n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/wp-media/teams/18133/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-nl_NL.mo b/languages/rocket-nl_NL.mo new file mode 100644 index 0000000..341f7c5 Binary files /dev/null and b/languages/rocket-nl_NL.mo differ diff --git a/languages/rocket-nl_NL.po b/languages/rocket-nl_NL.po new file mode 100644 index 0000000..08a28d5 --- /dev/null +++ b/languages/rocket-nl_NL.po @@ -0,0 +1,3560 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Noëll van Peppix Benelux , 2019\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/wp-media/teams/18133/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Je wordt gehost met %s, we hebben het automatisch legen van Varnish voor compatibiliteit ingeschakeld." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Sitemaps" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "De sitemap van de Jetpack-plugin preloaden" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "We hebben de gegeneerde sitemap door de %s-plugin automatisch gedetecteerd. Je kunt de optie om het te preloaden aanvinken." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML-sitemap" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML sitemap" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "De SEO Framework XML sitemap" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML-sitemap" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Ondersteuning" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Docs" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Instellingen" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Deze cache legen" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s-update terugdraaien" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Instellingen importeren mislukt: je hebt geen toestemming om dit te doen." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Instellingen importeren mislukt: geen bestand geüpload." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Instellingen importeren mislukt: onjuiste bestandsnaam." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Instellingen importeren mislukt: onjuist bestandstype." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Importeren van instellingen mislukt:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Importeren van instellingen mislukt: inhoud van het bestand is onjuist." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Instellingen geïmporteerd en opgeslagen." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Fout bij Cloudflare ontwikkelmodus: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare ontwikkelmodus %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Fout bij Cloudflare cache-level: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cache-level van Cloudflare ingesteld op %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Fout bij Cloudflare verkleining: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare verkleining %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Fout bij Cloudflare rocket loader: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Fout bij Cloudflare browser-cache: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Uitgesloten CSS-bestanden" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Uitgesloten inline JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Uitgesloten JavaScript-bestanden" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nooit URL(s) cachen" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Nooit user agent(s) cachen" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Altijd URL(s) legen" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Cache legen" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket opties" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Deze pagina nooit cachen" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Deze opties voor dit bericht activeren:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad voor afbeeldingen" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad voor iframes/video's" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "CSS verkleinen/combineren" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "JS verkleinen/combineren" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS uitstellen" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Activeer eerst de %s-optie." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sOpmerking:%2$s Geen van deze opties worden toegepast op het moment dat dit bericht is uitgesloten van caching in de globale instellingen." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s is door ontbrekende schrijfrechten niet gedeactiveerd.
    \n" +"Maak %2$s schrijfbaar en probeer deactivatie nogmaals of forceer deactivatie nu:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: één of meerdere plugins zijn in- of uitgeschakeld, leeg de cache als dit van invloed is op de frontend van je site." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: de volgende plugins zijn niet compatibel met deze plugin en kunnen onverwachte resultaten veroorzaken:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Deactiveren" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: een aangepaste permalinkstructuur is vereist door de plugin om juist te werken. %2$sGa naar permalink-instellingen%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Probleemoplossing: %1$shoe systeembestanden schrijfbaar te maken%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s is klaar voor gebruik! %2$sTest je laadtijd%4$s of bekijk je %3$sinstellingen%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Wil je toestaan dat WP Rocket niet-gevoelige diagnostische gegevens van deze website verzameld?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Dit helpt ons bij het verbeteren van WP Rocket in de toekomst." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Welke informatie zullen we verzamelen?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Hieronder is een gedetailleerd overzicht van alle gegevens die WP Rocket zal verzamelen na toestemming. WP Rocket zal nooit domeinnamen of e-mailadressen versturen (behalve voor validatie van licentie), IP-adressen of API-sleutels van derde partijen." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Ja, toestaan" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Nee, bedankt" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Bedankt!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket verzamelt nu deze gegevens van je website:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: cache geleegd." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: bericht-cache geleegd." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: term-cache geleegd." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: gebruiker-cache geleegd." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Stop Preload" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Deactivatie forceren" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "De volgende code moest naar dit bestand worden geschreven:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s kan zichzelf door ontbrekende schrijfrechten niet configureren." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Betreffend(e) bestand/map: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisies" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automatische concepten" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Verwijderde Berichten" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Spam Reacties" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Verwijderde Reacties" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transients" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabellen" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Het debug bestand kan niet verwijderd worden." + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Niet beschikbaar" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licentie" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API-sleutel" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "E-mailadres" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Dashboard" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Krijg hulp, accountinformatie" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Mijn status" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Ik ga ermee akkoord dat WP Rocket anoniem data met het development team deelt ter verbetering van de plug-in. %1$sWelke informatie verzamelt de plug-in? %2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Basis cache instellingen" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobiele cache" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Versnel je site voor mobiele bezoekers." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Gebruikers Cache" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Cache Levensduur" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Caching voor ingelogde WordPress-gebruikers inschakelen" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Caching voor mobiele apparaten inschakelen" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Cache-bestanden voor mobiele apparaten scheiden" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Specificeer de tijd waarna de volledige cache automatisch wordt geleegd
    (0 = onbeperkt, niet legen)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Verlaag de levensduur naar 10 uur of minder als je problemen ondervindt die soms voorkomen. %1$sWaarom?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minuten" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Uren" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dagen" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Bestandsoptimalisatie" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "CSS & JS optimaliseren" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS-bestanden" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript-bestanden" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "CSS-bestanden verkleinen" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "CSS verkleinen verwijdert witruimte en reacties om de bestandsgrootte te verminderen." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Dit kan dingen breken!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Als je fouten op je website opmerkt na het activeren van deze instelling, deactiveer het dan gewoon en je site zal weer als normaal zijn." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "CSS verkleinen activeren" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Combineer CSS bestanden (Schakel Minify CSS bestanden in om te selecteren) " + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Activeer het combineren van CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "CSS-levering optimaliseren" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Terugvallen op kritieke CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "JavaScript-bestanden verkleinen" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Activeer het verkleinen van JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Activeer het combineren van JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "JavaScript uitgesteld laden" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Media" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Voor afbeeldingen inschakelen" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Voor iframes en video's inschakelen" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "YouTube iframe met voorbeeldafbeelding vervangen" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Dit kan je laadtijd aanzienlijk verbeteren als je veel YouTube-video's op een pagina hebt." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Preloaden" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS verzoeken voorladen" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activeer preloading" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Specificeer externe hosts die geprefetched moeten worden (geen http:, één per regel)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Geavanceerde regels" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nooit cookies cachen" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Query string(s) cachen" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Specificeer user agent-strings die nooit gecachte pagina's moeten zien (één per regel)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Gebruikt (.*)-wildcards om delen van UA-strings te detecteren." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Specificeer URL's die je altijd uit de cache wilt legen als je een bericht of pagina bijwerkt (één per regel)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Specificeer query strings voor caching (één per regel)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Database" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Berichten Opschonen" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Reacties Opschonen" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Transients Opschonen" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Database opschonen" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Alle transients" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Tabellen optimaliseren" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frequentie" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Dagelijks" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Wekelijks" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Maandelijks" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Content Delivery Network inschakelen" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Uitschakelen" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Meer functies toevoegen" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket add-ons zijn aanvullende functies die beschikbare opties uitbreiden." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Als Varnish op je server draait, moet je deze add-on activeren." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare-instellingen" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globale API-sleutel:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Vind je API-code" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optimale instellingen" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Relatief protocol" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Vind je API-code" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Bestand uploaden en instellingen importeren" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Instellingen opgeslagen." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Versie %s opnieuw installeren" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Het log bestand bestaat niet." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Het log bestand kon niet gelezen worden." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "De logs zijn niet opgeslagen in een bestand." + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Kritieke CSS voor %1$s niet gegenereerd. Fout: %2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Kritieke CSS voor %s gegenereerd." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Genereren kritieke CSS draait momenteel: %1$d van %2$d paginatypes voltooid. (Ververs deze pagina om voortgang te bekijken)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Genereren kritieke CSS voor %1$d van %2$d paginatypes afgerond." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "wekelijks" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Proces voor optimalisatie database draait" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Proces voor optimalisatie database is voltooid. Alles was al geoptimaliseerd!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Proces voor optimalisatie database is voltooid. Lijst van geoptimaliseerde items hieronder:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s geoptimaliseerd." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Tools" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importeren, exporteren, terugzetten" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Afbeeldingsoptimalisatie" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Optimaliseer je afbeeldingen" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Er deed zich een onverwachte fout voor. Er kan iets mis zijn met WP-Rocket.me of de configuratie van deze server. Als je deze problemen blijft houden, neem dan contact op met onze ondersteuning." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Alle talen" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Dit bericht legen" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Deze URL legen" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Pad naar kritieke CSS opnieuw genereren" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentatie" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "maandelijks" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Imagify activeren" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Imagify gratis installeren" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Versnel je website en boost je SEO door het verkleinen van groottes van afbeeldingsbestanden zonder de kwaliteit te verliezen met Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Meer details" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Preloaden sitemap: %d pagina's zijn gecacht." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Preloaden sitemap: %d niet-gecachte pagina's zijn nu gepreload. (Ververs om voortgang te bekijken)" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS-bestanden met uitgesteld laden-JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "URL toevoegen" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Voordat je je importbestand kunt uploaden, moet je de volgende fout oplossen:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Kies een bestand van je computer (maximale grootte: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Je Cloudflare-gegevens zijn geldig." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Je Cloudflare-gegevens zijn ongeldig!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Opslaan en optimaliseren" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimaliseren" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Opmerking:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Prestatietip:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Functie van derde partij gedetecteerd:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Waarschuwing:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Instellingen downloaden" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Hostnaam site vervangen door:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "voorbehouden aan" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Alle bestanden" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Afbeeldingen" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "CNAME toevoegen" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Bekijk de video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Basis" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statische bestanden" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Geavanceerd" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s vereist minstens PHP %3$s om juist te functioneren. Om deze versie te gebruiken, moet je je webhost vragen hoe je je server naar PHP %3$s of hoger kunt upgraden. Als je niet kunt upgraden, kun je naar de vorige versie terugdraaien door de knop hieronder te gebruiken." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Type server:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP-versienummer:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress-versienummer:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Huidig thema:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Huidige taal site:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Actieve plugins:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Pluginnamen van alle actieve plugins" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Geanonimiseerde WP Rocket-instellingen:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Welke WP Rocket-instellingen zijn actief" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Lees de %1$sdocumentatie%2$s voor verdere begeleiding." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Verbinding naar Cloudflare mislukt" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Kies een domein uit de lijst" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Geen domein beschikbaar in je Cloudflare-account" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Download het zip bestand" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Herinstalleren" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Om op te lossen, gelieve support te contacteren." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Je licentie is niet geldig." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Deze website is niet toegestaan." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Neem contact op met %1$sde support%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Deze licentie code word niet herkend." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Validatie van de licentie is mislukt: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "De plugin is succesvol geïnstalleerd." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Sorry, je hebt niet de juiste rechten om een plugin te installeren op deze website." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Sorry, je hebt niet de juiste rechten om dit te doen." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Plugin installatie mislukt." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Ga terug" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Annuleren" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Cache legen na" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Instellingen importeren" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Status add-on" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Opties aanpassen" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Cache" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Leegt gecachte bronnen op je website. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Meer weten" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Alle Cloudflare cache bestanden legen" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Gefeliciteerd!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Mijn account" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Einddatum" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Mijn account bekijken" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Snelle acties" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Alle gecachte bestanden verwijderen" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Kritieke CSS opnieuw genereren" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Veelgestelde vragen" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Geen oplossing gevonden?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Vraag het de support" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Backup je database voordat je het opschonen begint!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Meer over Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify Plugin Pagina" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify Website" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Installeer Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket kon je licentie niet automatisch valideren." + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Verwijder alle Sucuri cache bestanden" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDownload het bestand%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sVerwijder het bestand%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Instellingen exporteren" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Download een back-upbestand van je instellingen" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Instellingen downloaden" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Terugdraaien" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Heeft versie %s voor problemen op je website gezorgd?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Versie %s opnieuw installeren" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Debug modus" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Creëer een debug log bestand." + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket-instellingen" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "versie %s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Wijzigingen opslaan" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Sidebar weergeven" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activeer Rocket analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Lees de documentatie" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Onze gids lezen" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Lees meer" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Hulp nodig?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-pl_PL.mo b/languages/rocket-pl_PL.mo new file mode 100644 index 0000000..e04fcdf Binary files /dev/null and b/languages/rocket-pl_PL.mo differ diff --git a/languages/rocket-pl_PL.po b/languages/rocket-pl_PL.po new file mode 100644 index 0000000..78fd90c --- /dev/null +++ b/languages/rocket-pl_PL.po @@ -0,0 +1,3597 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.12\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Dariusz Zielonka , 2023\n" +"Language-Team: Polish (Poland) (https://www.transifex.com/wp-media/teams/18133/pl_PL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2023-01-18 09:48-0500\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: pl_PL\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SearchPathExcluded-5: inc/Dependencies\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Twoja strona jest hostowana w %s, włączyliśmy funkcję Varnish auto-purge w celu zapewnienia kompatybilności." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare nie udzielił żadnej odpowiedzi. Proszę spróbować ponownie później." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Nieprawidłowy adres e-mail lub klucz API Cloudflare." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Przeczytaj %1$sdokumentację%2$s w celu uzyskania dalszych wskazówek." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Nieprawidłowy ID strefy Cloudflare." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "E-mail i klucz API Cloudflare nie są ustawione. Przeczytaj %1$sdokumentację%2$s w celu uzyskania dalszych wskazówek." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Brak ID strefy Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Wygląda na to, że twoja domena nie jest ustawiona na Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: Pamięć podręczna w Cloudflare została skutecznie oczyszczona." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Błąd trybu deweloperskiego CloudFlare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Tryb deweloperski CloudFlare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Błąd poziomu pamięci podręcznej CloudFlare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Poziom pamięci podręcznej CloudFlare ustawiono na %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Błąd minifikacji CloudFlare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Minifikacja CloudFlare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Błąd ładowania rocket loadera CloudFlare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Rocket loader CloudFlare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Błąd pamięci podręcznej przeglądarki CloudFlare: %s" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Błąd czyszczenia pamięci podręcznej Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Sucuri cache jest czyszczony. Należy pamiętać, że pełne czyszczenie może zająć do dwóch minut." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Nie znaleziono klucza API zapory sieciowej Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Klucz API zapory sieciowej Sucuri jest nieprawidłowy." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Błąd podczas kontaktu z interfejsem API zapory sieciowej Sucuri. Komunikat o błędzie to: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Nie udało się uzyskać odpowiedzi z API zapory sieciowej Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Otrzymał nieprawidłową odpowiedź od API zapory sieciowej Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API zapory sieciowej Sucuri zwróciło nieznany błąd." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API zapory Sucuri zwróciło następujący błąd: %s" +msgstr[1] "API zapory Sucuri zwróciło następujące błędy: %s" +msgstr[2] "API zapory Sucuri zwróciło następujące błędy: %s" +msgstr[3] "API zapory Sucuri zwróciło następujące błędy: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Wersje" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Automatyczne szkice" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Usunięte wpisy" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Spamowe komentarze" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Usunięte komentarze" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Tymczasowe wpisy" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabele" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "tygodniowo" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "miesięcznie" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Trwa proces optymalizacji bazy danych" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Proces optymalizacji bazy danych został zakończony. Wszystko było już zoptymalizowane!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Proces optymalizacji bazy danych został zakończony. Lista zoptymalizowanych elementów poniżej:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s zoptymalizowany." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Zapisz zmiany" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Weryfikuj licencję" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Niedostępne" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licencja" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Klucz API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Adres e-mail" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Kokpit" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Uzyskaj pomoc, informacje o koncie" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Mój status" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Wyrażam zgodę na udostępnienie anonimowych danych zespołowi rozwojowemu w celu ulepszenia WP Rocket. %1$sJakie informacje będziemy gromadzić%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Pamięć podręczna" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Podstawowe opcje pamięci podręcznej" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Pamięć podręczna dla urządzeń przenośnych" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Przyspiesz swoją stronę dla odwiedzających z urządzeń mobilnych." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Wykryliśmy, że używasz wtyczki, która wymaga oddzielnej pamięci podręcznej dla urządzeń przenośnych i automatycznie włączyliśmy tę opcję w celu zapewnienia zgodności." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Pamięć podręczna użytkownika" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sPamięć podręczna użytkowników%2$s jest świetna, gdy masz specyficzne dla użytkownika lub ograniczone treści na swojej stronie internetowej." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Cykl trwania pamięci podręcznej" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Pliki pamięci podręcznej starsze niż określony okres trwania zostaną usunięte.
    Włącz %1$swstępne ładowanie%2$s, aby pamięć podręczna była automatycznie odbudowywana po upływie okresu trwania." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Włącz przechowywanie w pamięci podręcznej dla zalogowanych użytkowników WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Włącz przechowywanie w pamięci podręcznej dla urządzeń mobilnych" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Przechowuj oddzielnie pliki cache dla urządzeń przenośnych" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Większość nowoczesnych motywów jest responsywna i powinna działać bez osobnej pamięci podręcznej. Włącz to tylko, jeśli masz dedykowany motyw mobilny lub wtyczkę. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Określ czas, po którym globalna pamięć podręczna zostanie oczyszczona
    (0 = bez ograniczeń)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Skróć cykl trwania do 10 godzin lub mniej, jeśli zauważysz problemy, które wydają się pojawiać okresowo. %1$sDlaczego?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Godziny" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dzień/Dni" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optymalizacja plików" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optymalizacja CSS i JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Pliki CSS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Minifikacja jest obecnie aktywowana w Autoptimize. Jeśli chcesz użyć minifikacji %2$s, wyłącz te opcje w Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Pliki JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minifikuj pliki CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Minifikacja CSS usuwa białą przestrzeń i komentarze, aby zmniejszyć rozmiar pliku." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "To może coś zepsuć!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Jeśli zauważysz jakiekolwiek błędy na swojej witrynie internetowej po aktywowaniu tego ustawienia, po prostu wyłącz je ponownie, a Twoja witryna powróci do normy." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Aktywuj minifikację CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Połącz pliki CSS (Włącz Minifikację CSS, aby wybrać)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Łączenie CSS konkantenuje wszystkie pliki w jeden, redukując żądania HTTP. Nie zalecane, jeśli witryna używa HTTP/2. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "Dla kompatybilności i najlepszych rezultatów, ta opcja jest wyłączona, gdy włączona jest opcja Usuń nieużywane CSS." + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Aktywuj łączenie CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Pomijane pliki CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Określ adresy URL plików CSS, które mają być wyłączone z minifikacji i łączenia (po jednym na linię)" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Wewnętrzny: Domenowa część adresu URL zostanie usunięta automatycznie. Użyj (.*).css wildcardów, aby wykluczyć wszystkie pliki CSS znajdujące się na określonej ścieżce." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Zewnętrzne: Użyj albo pełnej ścieżki URL albo tylko nazwy domeny, aby wykluczyć zewnętrzny CSS. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optymalizacja dostarczania CSS" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "Optymalizacja dostarczania CSS eliminuje blokowanie renderowania CSS na twojej stronie. Tylko jedna metoda może być wybrana. Usuń nieużywany CSS jest zalecany dla optymalnej wydajności, ale ograniczony tylko do użytkowników z aktywną licencją." + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "Optymalizacja dostarczania CSS eliminuje blokowanie renderowania CSS na twojej stronie. Tylko jedna metoda może być wybrana. Usuń nieużywany CSS jest zalecane dla optymalnej wydajności." + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "Optymalizuj CSS Funkcje dostarczania są wyłączone w środowiskach lokalnych. %1$sDowiedz się więcej%2$s" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "Usuń nieużywany CSS" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "Usuwa nieużywany CSS na stronie i pomaga zredukować rozmiar strony i żądania HTTP. Zalecane dla najlepszej wydajności. Przetestuj dokładnie! %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "Aktywuj usuwanie nieużywanego CSS" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "Bezpieczna lista CSS" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "Określ nazwy plików CSS, identyfikatory lub klasy, które nie powinny być usuwane (jedna na linię)." + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "Wczytaj CSS asynchronicznie" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "Ładowanie CSS asynchronicznie jest obecnie obsługiwane przez wtyczkę %1$s. Jeśli chcesz korzystać z opcji asynchronicznego ładowania CSS przez WP Rocket, wyłącz wtyczkę %1$s." + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "Generuje CSS ścieżki krytycznej i ładuje CSS asynchronicznie. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Krytyczne dla bezpieczeństwa CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Zapewnia bezpieczny fallback, jeśli automatycznie wygenerowana ścieżka krytyczna CSS jest niekompletna. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minifikuj pliki JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minifikacja JavaScript usuwa białą przestrzeń i komentarze, aby zmniejszyć rozmiar pliku." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Aktywuj minifikację JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Połącz pliki JavaScript (Włącz Minify JavaScript aby wybrać)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Łączenie plików JavaScript łączy w sobie wewnętrzne, zewnętrzne oraz inline JS, redukując żądania HTTP. Nie zalecane, jeśli witryna używa HTTP/2. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "Dla kompatybilności i najlepszych wyników, opcja ta jest wyłączona, gdy włączone jest opóźnienie wykonywania javascript." + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Aktywuj łączenie JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Pomijany inline JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Określa wzory inline JavaScript, które mają być wyłączone z konkatenacji (jeden na linię). %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Pomijane pliki JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Określ adresy URL plików JavaScript, które mają być wyłączone z minifikacji i konkatenacji (jeden na linię)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Część domeny adresu URL zostanie automatycznie usunięta.
    Użyj symboli wieloznacznych wildcard takich jak (.*).js, aby wykluczyć wszystkie pliki JS znajdujące się w określonej ścieżce." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Zewnętrzne: Użyj pełnej ścieżki URL lub tylko nazwy domeny, aby wykluczyć zewnętrzne JS. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Ładuj pliki JS metodą defer" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Opóźnione ładowanie JavaScript eliminuje blokowanie renderowania JS na Twojej stronie i może poprawić czas ładowania. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "Podaj adresy URL lub słowa kluczowe plików JavaScript, które mają być wyłączone z odroczenia (jeden na linię). %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Opóźnianie wykonywania skryptów JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Poprawia wydajność poprzez opóźnianie ładowania plików JavaScript do czasu interakcji użytkownika (np. przewijania, klikania). %1$s Więcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "Określ adresy URL lub słowa kluczowe, które mogą identyfikować pliki inline lub JavaScript, które mają być wyłączone z opóźniania wykonania (jeden na linię)." + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Media" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, wymiary obrazu" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Automatyczna optymalizacja" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Może to poprawić rzeczywisty i postrzegany czas ładowania obrazów, ramek iframe, a filmy wideo będą ładowane tylko w momencie ich widoczności (lub w trakcie przewijania) i zmniejsza liczbę żądań HTTP. %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad jest obecnie aktywowany w %2$s. Jeśli chcesz korzystać z LazyLoad WP Rocket, wyłącz tę opcję w %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "Wymiary Obrazu" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "Dodaj brakujące atrybuty szerokości i wysokości do obrazów. Pomaga zapobiegać przesunięciom układu i poprawić komfort czytania dla odwiedzających. %1$sWięcej informacji %2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Włącz dla obrazów" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad dla obrazów jest obecnie aktywowany w %2$s. Jeśli chcesz użyć LazyLoad dla %1$s, wyłącz tę opcję w %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Włącz dla iframe i wideo" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Wymień iframe YouTube, obrazem podglądu" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Zastępowanie YouTube iframe podglądem obrazu nie jest kompatybilne z %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Może to znacznie poprawić czas ładowania, jeśli masz dużo filmów YouTube w witrynie." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Wyłączone obrazy lub ramki iframe" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "Podaj słowa kluczowe (np. nazwa pliku obrazu, klasa CSS, domena) z obrazu lub kod iframe, który ma być wykluczony (jeden na linię). %1$s Więcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Dodaj brakujące wymiary obrazu" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Wstępne ładowanie" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Generowanie plików w pamięci podręcznej, wstępne ładowanie czcionek" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Wstępne ładowanie pamięci podręcznej" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "Po włączeniu wstępnego ładowania WP Rocket automatycznie wykryje twoje sitemapy i zapisze wszystkie adresy URL do bazy danych. Wtyczka upewni się, że twoja pamięć podręczna jest zawsze wstępnie załadowana." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Linki do wstępnego ładowania" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Wstępne ładowanie łączy poprawia postrzegany czas ładowania poprzez pobranie strony po najechaniu na nią przez użytkownika. %1$s Więcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Prefetch żądania DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Prefetch DNS może przyspieszyć ładowanie plików zewnętrznych, szczególnie w sieciach komórkowych" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Wstępne ładowanie czcionek" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Poprawia wydajność, pomagając przeglądarkom w odkrywaniu czcionek w plikach CSS. %1$s Więcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Aktywuj Wstępne Ładowanie" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "Wykluczanie adresów URL" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "Określ adresy URL, które mają być wykluczone z funkcji preload (jeden na linię). %1$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL do prefetch" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Określ zewnętrzne hosty, które mają być wstępnie ustawione metodą prefetch (nie dodawaj http:, po jednym na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Czcionki do wstępnego ładowania" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Określ urle plików z czcionkami, które mają być wgrane (jeden na linię). Czcionki muszą być hostowane we własnej domenie, lub domenie, którą podałeś w zakładce CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Domenowa część adresu URL zostanie usunięta automatycznie.
    Dozwolone rozszerzenia czcionki: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Włącz wstępne ładowanie łączy" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Zaawansowane reguły" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Dopasowanie zasad dotyczących pamięci podręcznej" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Wrażliwe strony, takie jak niestandardowe adresy URL logowania/wylogowywania powinny być wyłączone z pamięci podręcznej." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Strony koszyka, kasy i \"moje konto\" ustawione w %1$s%2$s%3$s zostaną wykryte i nigdy nie będą domyślnie buforowane." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nigdy nie używaj pamięci podręcznej dla URL(i)" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nigdy nie używaj pamięci podręcznej dla cookies" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Nigdy nie używaj pamięci podręcznej dla agenta(-ów) użytkowników" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Zawsze oczyścić adres(y) URL" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Przechowuj ciąg(i) zapytań w pamięci podręcznej" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sPrzechowywanie ciąg(-ów) zapytań w pamięci podręcznej%2$s umożliwia wymuszenie buforowania dla określonych parametrów GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Określ adresy URL stron lub wpisów, które nigdy nie powinny być przechowywane w pamięci podręcznej (po jednym na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Część domeny adresu URL zostanie automatycznie usunięta.
    Użyj symboli wieloznacznych wildcard (.*), w celu uwzględnienia wielu adresów URL w danej ścieżce." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "Podaj pełne lub częściowe identyfikatory plików cookie, które po ustawieniu w przeglądarce użytkownika powinny uniemożliwiać zbuforowanie strony (jeden na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Określ agentów użytkowników, którzy nigdy nie powinni otrzymywać stron z pamięci podręcznej (po jednej na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Użyj symboli wieloznacznych wildcard (.*) do wykrywania części łańcuchów UA." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Określ adresy URL, które zawsze chcesz usunąć z pamięci podręcznej przy każdej aktualizacji wpisu lub strony (po jednym na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Określ ciągi zapytań przeznaczonych do przechowywania w pamięci podręcznej (po jednym na linię)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Baza danych" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optymalizacja, redukcja nadmiaru" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Czyszczenie wpisów" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Wersje wpisów i szkice zostaną trwale usunięte. Nie używaj tej opcji, jeśli chcesz zachować poprzednie wersje w wpisach lub szkice." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Czyszczenie komentarzy" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Spam i komentarze znajdujące się w koszu zostaną trwale usunięte." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Czyszczenie tymczasowych wpisów" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Tymczasowe wpisy (transients) są opcjami tymczasowymi; można je bezpiecznie usunąć. Będą one automatycznie regenerowane zgodnie z wymaganiami dotyczącymi wtyczek." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Czyszczenie bazy danych" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Zmniejsza nadmiar danych w tabelach bazy danych" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Automatyczne czyszczenie" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s wersja w Twojej bazie danych." +msgstr[1] "%s wersje w Twojej bazie danych." +msgstr[2] "%s wersji w Twojej bazie danych." +msgstr[3] "%s wersji w Twojej bazie danych." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s szkic w Twojej bazie danych." +msgstr[1] "%s szkice w Twojej bazie danych." +msgstr[2] "%s szkicy w Twojej bazie danych." +msgstr[3] "%s szkicy w Twojej bazie danych." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s wpis w Twojej bazie danych znajdujący się w koszu." +msgstr[1] "%s wpisy w Twojej bazie danych znajdujące się w koszu." +msgstr[2] "%s wpisów w Twojej bazie danych znajdujących się w koszu." +msgstr[3] "%s wpisów w Twojej bazie danych znajdujących się w koszu." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s spamowy komentarz w Twojej bazie danych." +msgstr[1] "%s spamowe komentarze w Twojej bazie danych." +msgstr[2] "%s spamowych komentarzy w Twojej bazie danych." +msgstr[3] "%s spamowych komentarzy w Twojej bazie danych." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s komentarz w Twojej bazie danych znajdujący się w koszu." +msgstr[1] "%s komentarze w Twojej bazie danych znajdujące się w koszu." +msgstr[2] "%s komentarzy w Twojej bazie danych znajdujące się w koszu." +msgstr[3] "%s komentarzy w Twojej bazie danych znajdujące się w koszu." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Wszystkie tymczasowe wpisy" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s wpis tymczasowy w Twojej bazie danych." +msgstr[1] "%s wpisy tymczasowy w Twojej bazie danych." +msgstr[2] "%s wpisów tymczasowych w Twojej bazie danych." +msgstr[3] "%s wpisów tymczasowych w Twojej bazie danych." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optymalizacja tabel" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tabela do optymalizacji w Twojej bazie danych." +msgstr[1] "%s tabele do optymalizacji w Twojej bazie danych." +msgstr[2] "%s tabeli do optymalizacji w Twojej bazie danych." +msgstr[3] "%s tabeli do optymalizacji w Twojej bazie danych." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Zaplanuj automatyczne czyszczenie" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Częstotliwość" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Codziennie" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Co tydzień" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Co miesiąc" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Zintegruj swój CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Wszystkie adresy URL plików statycznych (CSS, JS, obrazy) zostaną przepisane do CNAME, które podasz." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Nie wymagane w przypadku usług takich jak Cloudflare i Sucuri. Proszę zobaczyć nasze dostępne %1$sDodatki%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Pomiń pliki z CDN" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l Dodatek%3$s jest obecnie włączony. Konfiguracja ustawień CDN nie jest wymagana, aby %2$l działał na twojej stronie." +msgstr[1] "%1$s%2$l Dodatki%3$s jest obecnie włączony. Konfiguracja ustawień CDN nie jest wymagana, aby %2$l działał na twojej stronie." +msgstr[2] "%1$s%2$l Dodatków%3$s jest obecnie włączony. Konfiguracja ustawień CDN nie jest wymagana, aby %2$l działał na twojej stronie." +msgstr[3] "%1$s%2$l Dodatków%3$s jest obecnie włączony. Konfiguracja ustawień CDN nie jest wymagana, aby %2$l działał na twojej stronie." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Włącz sieć dostarczania treści CDN" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME:" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Należy wymienić poniżej pozycje CNAME" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Podaj adres(y) URL plików, które nie powinny być obsługiwane przez CDN (jeden na linię)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Część domenowa adresu URL zostanie automatycznie usunięta.
    Użyj (.*) symboli wieloznacznych, aby wykluczyć wszystkie pliki danego typu pliku znajdującego się w określonej ścieżce." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Kontrola WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Ograniczenie lub wyłączenie aktywności Heartbeat API może pomóc w oszczędzaniu zasobów Twojego serwera." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Zmniejszenie lub wyłączenie aktywności Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Zmniejszenie aktywności spowoduje zmianę częstotliwości Heartbeat z jednego uruchomienia co minutę na jedno uruchomienie co 2 minuty." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Wyłączenie Heartbeat całkowicie może spowodować usterki wtyczek i motywów korzystających z tego API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Brak limitu" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Zmniejszenie aktywności" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Wyłącz" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Kontrola Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Zachowanie w backendzie" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Zachowanie w edytorze wpisu" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Zachowanie w frontend" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Dodatki" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Dodaj więcej funkcji" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Dodatki One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "One-Click Add-ons to funkcje rozszerzające dostępne opcje bez konieczności konfigurowania. Włączyć opcję \"on\", aby włączyć z tego ekranu." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Dodatki One-click Rocket Add-ons" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Rocket Add-ons to uzupełniające się funkcje rozszerzające dostępne opcje." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Zintegruj swoje konto CloudFlare dzięki temu dodatkowi." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Podaj swój adres e-mail konta, globalny klucz API i domenę, aby korzystać z opcji takich jak czyszczenie pamięci podręcznej Cloudflare i umożliwienie optymalnych ustawień z WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Jeśli Varnish działa na Twoim serwerze, musisz aktywować ten dodatek." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Pamięć podręczna Varnish będzie oczyszczana za każdym razem, gdy WP Rocket wyczyści pamięć podręczną, aby zapewnić, że zawartość jest zawsze aktualna.
    %1$sDowiedz się więcej%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "Zgodność z WebP" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "Poprawiono kompatybilność obrazów WebP z przeglądarkami." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Włącz tę opcję, jeśli chcesz, aby WP Rocket obsługiwał obrazy WebP dla kompatybilnych przeglądarek. Proszę zauważyć, że WP Rocket nie może tworzyć obrazów WebP dla Ciebie. Do tworzenia obrazów WebP polecamy %1$sImagify%2$s. %3$sWięcej informacji%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Wyczyść pamięć podręczną Sucuri, gdy pamięć podręczna WP Rocket jest czyszczona." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Podaj swój klucz API, aby wyczyścić pamięć podręczną Sucuri, gdy pamięć podręczna WP Rocket jest czyszczona." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Zsynchronizuj pamięć podręczną Sucuri, dzięki temu dodatkowi." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Dane uwierzytelniające CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Ustawienia CloudFlare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Globalny klucz API:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Znajdź swój klucz API" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "E-mail konta" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID strefy" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Tryb deweloperski" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Tymczasowo aktywuj tryb deweloperski w swojej witrynie. To ustawienie wyłączy się automatycznie po 3 godzinach. %1$sDowiedz się więcej%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Optymalne ustawienia" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Automatycznie poprawia konfigurację CloudFlare w celu zapewnienia szybkości, klasy wydajności i kompatybilności." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Protokół względny" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Powinien być używany tylko z elastyczną funkcją Cloudflare'a SSL. adresy URL plików statycznych (CSS, JS, obrazy) zostaną przepisane w celu użycia // zamiast http:// lub https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Dane uwierzytelniające Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Znajdź swój klucz API" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Wczytaj plik i zaimportuj ustawienia" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Dodatek Sucuri: Klucz API dla zapory sieciowej Sucuri musi być w formacie {32 znaki}/{32 znaki}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Ustawienia zostały zapisane." + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "Przepraszamy! Dodanie /(.*) w Regułach zaawansowanych > Nigdy nie buforuj URL(i) nie zostało zapisane, ponieważ wyłącza buforowanie i optymalizacje dla każdej strony w Twojej witrynie." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Narzędzia" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, Eksport, Wycofanie" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optymalizacja obrazków" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Kompresuj obrazy" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Poradniki" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Pierwsze kroki i szkolenia wideo" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "Nie mogliśmy pobrać aktualnej ceny, ponieważ API RocketCDN zwróciło nieoczekiwany kod błędu." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "RocketCDN nie jest w tej chwili dostępny. Proszę spróbować ponownie później." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: Brakujący parametr identyfikatora." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: Brakujący token użytkownika." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: API zwróciło nieoczekiwany kod odpowiedzi." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: API zwróciło pustą odpowiedź." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: API zwróciło nieoczekiwaną odpowiedź." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN: nie udało się oczyścić pamięci podręcznej: cache purge nie powiodło się: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN: pomyślnie oczyszczono pamięć podręczną." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Data wystawienia następnego rachunku" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Brak subskrypcji" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Twoja subskrypcja RocketCDN jest obecnie aktywna." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Aby użyć RocketCDN, zastąp CNAME wartością %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sWięcej informacji%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN włączony" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RakietaCDN wyłączony" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Ważny tylko do %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Dzięki temu przyspieszysz swoją stronę internetową:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "Wysokowydajna sieć dostarczania treści (CDN) z %1$snieograniczoną przepustowością%2$s" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Łatwa konfiguracja: najważniejsze %1$sustawienia CDN%2$s są stosowane automatycznie" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Integracja z WP Rocketem: opcja CDN jest %1$sautomatycznie skonfigurowana%2$s w naszej wtyczce" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Dowiedz się więcej o RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "*$%1$s/miesiąc przez 12 miesięcy, a następnie $%2$s/miesiąc. Możesz anulować subskrypcję w dowolnym momencie." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Rozliczane miesięcznie" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Rozpocznij" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Zredukuj ten baner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Przyspiesz swoją stronę internetową dzięki RocketCDN, dzięki sieci dostarczania treści WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Dowiedz się więcej" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN jest niedostępny na lokalnych domenach i stronach deweloperskich." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Zdobądź RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Nowość!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Przyspiesz swoją stronę internetową z pomocą RocketCDN, dzięki sieci dostarczania treści WP Rocket!" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Wyczyść tą pamięć podręczną" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Okres wygaśnięcia pamięci podręcznej WP Rocket" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Wartość WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "Stała WP_CACHE musi być ustawiona na wartość rzeczywistą, aby pamięć podręczna WP Rocket działała prawidłowo" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE jest ustawiony na true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE nie jest ustawiony" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE jest ustawiony na false" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "Co minutę" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Krytyczny CSS dla %1$s nie został wygenerowany. Błąd: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "Krytyczny CSS za %1$s na urządzeniach nie został wygenerowany. Błąd: API zwróciło pustą odpowiedź." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Krytyczny CSS dla %1$s nie został wygenerowany. Błąd: API zwróciło pustą odpowiedź." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Krytyczny CSS dla %1$s na urządzenia mobilne nie został wygenerowany." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Krytyczny CSS dla %1$s nie został wygenerowany." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "Krytyczny CSS za %1$s na urządzenia mobilne nie został wygenerowany. Błąd: API zwróciło nieprawidłowy kod odpowiedzi." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Krytyczny CSS dla %1$s nie został wygenerowany. Błąd: API zwróciło nieprawidłowy kod odpowiedzi." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Błąd: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Regeneruj CSS w krytycznej ścieżce" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Generuj specyficzny CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regeneruj określony CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "Ta funkcja nie jest dostępna dla niepublicznych typów wpisów." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l do korzystania z tej funkcji." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Opublikuj %s" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Włącz asynchroniczne ładowanie CSS w ustawieniach WP Rocket" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Włącz opcję Wczytaj CSS asynchronicznie w opcjach powyżej" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Generowanie krytycznych CSS jest obecnie uruchomione." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Przejdź do strony %1$sustawień WP Rocket%2$s, aby śledzić postęp." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Obecnie trwa generowanie krytycznego CSS: %1$d z %2$d typów stron zostało zakończonych. (Odśwież tę stronę, aby zobaczyć postęp)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Generowanie krytycznego CSS zakończone dla %1$d z %2$d typów stron." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Generowanie krytycznych CSS napotkało jeden lub więcej błędów." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Dowiedz się więcej." + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "Krytyczny CSS dla %1$s dla urządzeń mobilnych nie został wygenerowany. Błąd: Folder docelowy nie mógł zostać utworzony." + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "Krytyczny CSS dla %1$s nie został wygenerowany. Błąd: Folder docelowy nie mógł zostać utworzony." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Nie istnieje krytyczny plik CSS dla urządzeń mobilnych" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Nie istnieje krytyczny plik CSS" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Krytyczny plik CSS dla urządzeń mobilnych nie może zostać usunięty" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Krytyczny plik CSS nie może zostać usunięty" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Krytyczny CSS dla urządzeń mobilnych dla %1$s nie został wygenerowany." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Krytyczny CSS dla %s w toku." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Krytyczny CSS dla urządzeń mobilnych dla %s został wygenerowany." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Krytyczne CSS dla %s zostało wygenerowane." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Krytyczny plik CSS został pomyślnie usunięty." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Krytyczny CSS dla urządzeń mobilnych dla %1$s przekroczył limit czasu. Proszę spróbować ponownie trochę później." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Krytyczny CSS %1$s przekroczył limit czasu. Proszę spróbować ponownie trochę później." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Generowanie CPCSS dla urządzeń mobilnych nie jest włączone." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Żądany wpis nie istnieje." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Nie można wygenerować CPCSS dla nieopublikowanych postów." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Następujące zaplanowane zdarzenie zakończyło się niepowodzeniem. Może to wskazywać na to, że system CRON nie działa prawidłowo, co może uniemożliwić działanie niektórych funkcji WP Rocket zgodnie z przeznaczeniem:" +msgstr[1] "Następujące zaplanowane zdarzenia zakończyły się niepowodzeniem. Może to wskazywać na to, że system CRON nie działa prawidłowo, co może uniemożliwić działanie niektórych funkcji WP Rocket zgodnie z przeznaczeniem:" +msgstr[2] "Następujące zaplanowane zdarzenia zakończyły się niepowodzeniem. Może to wskazywać na to, że system CRON nie działa prawidłowo, co może uniemożliwić działanie niektórych funkcji WP Rocket zgodnie z przeznaczeniem:" +msgstr[3] "Następujące zaplanowane zdarzenia zakończyły się niepowodzeniem. Może to wskazywać na to, że system CRON nie działa prawidłowo, co może uniemożliwić działanie niektórych funkcji WP Rocket zgodnie z przeznaczeniem:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Prosimy o kontakt z dostawcą hostingu w celu sprawdzenia, czy usługa CRON działa." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Planowe oczyszczenie pamięci podręcznej" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Planowa optymalizacja bazy danych" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Proces optymalizacji bazy danych" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Wstępne ładowanie" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Proces generowania krytycznej ścieżki CSS" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "Odnów, zanim będzie za późno, bo zapłacisz %1$s%3$s%2$s." + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "Odnów z %1$s%2$s rabatem %3$s zanim będzie za późno, zapłacisz tylko %4$s%5$s%6$s!" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Odnów swoją licencję na 1 rok już teraz pod adresem %1$s%3$s%2$s." + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "Przedłuż swoją licencję na 1 rok już teraz i otrzymaj od razu %1$s%3$s zniżki%2$s: zapłacisz tylko %1$s%4$s%2$s!" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Odnów, zanim będzie za późno, bo zapłacisz %1$s%3$s%2$s." + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "Odnów z %1$s%2$s rabatem %3$s zanim będzie za późno, zapłacisz tylko %1$s%4$s%3$s!" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "Aby móc dalej korzystać z tej funkcji, trzeba mieć ważną licencję. %1$sProszę odnowić teraz%2$s przed utratą dostępu." + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "Aby włączyć tę opcję, musisz mieć aktywną licencję. %1$sOdnów teraz%2$s." + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "Aby włączyć tę opcję, trzeba mieć aktywną licencję. %1$sWięcej informacji%2$s." + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "Skorzystaj z zalety %1$s, by przyspieszyć działanie większej liczby stron internetowych:%2$s otrzymaj %3$s%4$s zniżkę%5$s przy %3$sulepszeniu do licencji Plus lub Infinite!%5$s" +msgstr[1] "Skorzystaj z zalety %1$s, by przyspieszyć działanie większej liczby stron internetowych:%2$s otrzymaj %3$s%4$s zniżkę%5$s przy %3$sulepszeniu do licencji Infinite!%5$s" +msgstr[2] "Skorzystaj z zalety %1$s, by przyspieszyć działanie większej liczby stron internetowych:%2$s otrzymaj %3$s%4$s zniżkę%5$s przy %3$sulepszeniu do licencji Infinite!%5$s" +msgstr[3] "Skorzystaj z zalety %1$s, by przyspieszyć działanie większej liczby stron internetowych:%2$s otrzymaj %3$s%4$s zniżkę%5$s przy %3$sulepszeniu do licencji Infinite!%5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Bez ograniczeń" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%s zniżki" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "%s promocja jest na aktywna!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Pospieszcie się! Okazja się kończy za:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minut(y)" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Sekundy" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Uaktualnij teraz" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Odrzuć to powiadomienie" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "Funkcja Optymalizacji dostarczania CSS jest wyłączona." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "Nie można już używać opcji Usuń nieużywany CSS lub Załaduj CSS asynchronicznie." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "Potrzebujesz %1$saktywnej licencji%2$s, aby kontynuować optymalizację dostarczania CSS, co odpowiada zaleceniom PageSpeed Insights i poprawia wydajność strony." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Odnów teraz" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Wkrótce stracisz dostęp do niektórych funkcji" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "Potrzebujesz %1$saktywnej licencji, aby kontynuować optymalizację dostarczania CSS%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "Funkcje Usuń nieużywany CSS i Załaduj CSS asynchronicznie są świetnymi opcjami, które pozwalają na uwzględnienie zaleceń PageSpeed Insights i poprawę wydajności Twojej strony." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Zostaną one %1$sautomatycznie wyłączone w dniu %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Twoja licencja WP Rocket wygasła!" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "Twoja strona może działać znacznie szybciej, jeśli skorzysta z naszych %1$snowych funkcji i ulepszeń%2$s. 🚀" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "Twoja %1$sLicencja WP Rocket wkrótce wygaśnie%2$s: wkrótce stracisz dostęp do aktualizacji produktu i pomocy technicznej." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Przyspiesz więcej stron internetowych" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "Możesz korzystać z WP Rocket na wielu stronach internetowych, uaktualniając swoją licencję. Aby uaktualnić, po prostu zapłać %1$sróżnicę w cenie%2$s pomiędzy aktualną a nową licencją, jak pokazano poniżej." + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sN.B.%2$s: Aktualizacja twojej licencji nie zmienia daty wygaśnięcia" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "Zapisz $%s" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s stron internetowych" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "Aktualizuj %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "Możesz korzystać z WP Rocket na większej liczbie stron internetowych, uaktualniając swoją licencję (płacisz tylko różnicę w cenie między aktualną a nową licencją)." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "Aby pobrać najnowszą wersję list z naszego serwera, musisz mieć aktywną licencję." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "Nie można pobrać z serwera zaktualizowanych list." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "Listy są aktualne." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "Nie można zaktualizować list." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "Listy zostały pomyślnie zaktualizowane." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Wyczyść używane CSS" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "%1$s: Proszę czekać %2$s sekund. Usługa Usuń nieużywany CSS przetwarza Twoje strony." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "%1$s: Używany CSS Państwa strony głównej został przetworzony. WP Rocket będzie kontynuował generowanie Używanego CSS dla maksymalnie %2$s adresów URL w ciągu %3$s sekund." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "Zalecamy włączenie opcji %1$sWstępnego ładowania%2$s w celu uzyskania najszybszych wyników." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "Aby dowiedzieć się więcej o procesie, proszę zapoznać się z naszą %1$sdokumentacją%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "Nie mogliśmy wygenerować użytego CSS, ponieważ używasz wersji nulled WP Rocket. Musisz posiadać aktywną licencję, aby móc korzystać z funkcji Usuń nieużywany CSS i dalej poprawiać wydajność swojej strony." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "Kliknij tutaj, aby otrzymać pojedynczą licencję WP Rocket z %1$s zniżki!" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "Nie można utworzyć tabeli %2$s w bazie danych, która jest niezbędna do działania funkcji Usuń nieużywany CSS. Skontaktuj się z naszym działem wsparcia." + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: Opcja Używanego CSS nie jest włączona!" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Pamięć podręczna używanego CSS została wyczyszczona!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "Wyczyść używane CSS dla tego adresu URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "Zadania oczekujące usuwania nieużywanego CSS" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Wystąpił nieoczekiwany błąd. Coś może być nie tak z WP-Rocket.me lub konfiguracją Twojego serwera. Jeśli nadal masz problemy, skontaktuj się z wsparciem technicznym." + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Wycofania aktualizacji" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sWróć do WP Rocket%2$s lub %3$s przejdź do strony Wtyczki%2$s" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "%1$s: Usługa wstępnego ładowania jest teraz aktywna. Po pierwszym załadowaniu wstępnym będzie on nadal buforował wszystkie Państwa strony, gdy tylko zostaną one oczyszczone. Nie ma potrzeby podejmowania dalszych działań." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "Nadchodzące zadania wstępnego ładowania" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Varnish auto-purge zostanie automatycznie włączony po włączeniu Varnish na Twoim serwerze %s." + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "Wydaje się, że w Pana instalacji brakuje podstawowych plików Kinsta zarządzających czyszczeniem Cache, co uniemożliwia prawidłowe działanie instalacji Kinsta i WP Rocket. Proszę skontaktować się z obsługą Kinsta poprzez swoje konto %1$sMyKinsta%2$s, aby rozwiązać ten problem." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "%1$s: Funkcja HTTP/2 Server Push firmy Cloudflare jest niekompatybilna z funkcjami usuwania nieużywanego CSS i łączenia plików CSS. Zdecydowanie zalecamy wyłączenie tej funkcji." + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s: Mod PageSpeed nie jest kompatybilny z tą wtyczką i może powodować nieoczekiwane rezultaty. %2$sWięcej informacji%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "%1$sWP Rocket: %2$sWykryliśmy, że funkcja Agregacji JavaScript w Autoptimize jest włączona. Opóźnienie wykonania skryptu JavaScript w WP Rocket nie zostanie zastosowane do pliku, który tworzy. Sugerujemy wyłączenie %1$sJavaScript Aggregation%2$s, aby w pełni wykorzystać Delay JavaScript Execution." + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "%1$sWP Rocket: %2$sWykryliśmy, że funkcja agregowania wewnętrznego CSS jest włączona. Asynchroniczne ładowanie CSS w WP Rocket nie będzie działać poprawnie. Sugerujemy wyłączenie %1$sagregowania wewnętrznego CSS%2$s aby w pełni wykorzystać asynchroniczne wykonanie ładowania CSS." + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "Ta wtyczka blokuje buforowanie i optymalizacje WP Rocket. Dezaktywuj ją i zamiast tego użyj %1$sEzoic's nameserver integration%2$s." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Proszę wyłączyć %s opcję, konfliktującą z funkcjami WP Rocket:" +msgstr[1] "Proszę wyłączyć %s opcje, konfliktujące z funkcjami WP Rocket:" +msgstr[2] "Proszę wyłączyć %s opcji, konfliktujących z funkcjami WP Rocket:" +msgstr[3] "Proszę wyłączyć %s opcji, konfliktujących z funkcjami WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$swyłączenie emocji%3$s konfliktuje z %2$swyłączeniem emoji%3$s WP Rockets" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$skompresja GZIP%3$s konfliktuje z %2$skompresją GZIP%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$spamięć podręczna przeglądarki%3$s konfliktuje z %2$spamięcią podręczną przeglądarki%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$spamięć podręczna stron%3$s konfliktuje z %2$spamięcią podręczną%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$soptymalizacja zasobów%3$s konfliktuje z %2$soptymalizacją plików%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "Opóźnienie JS jest obecnie włączone w %1$s. Jeśli chcesz używać opóźnionego ładowania WP Rocket, wyłącz %1$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Wsparcie techniczne" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentacja" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Ustawienia" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Importowanie ustawień nie powiodło się: nie masz uprawnień, aby to zrobić." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Import ustawień nie powiódł się: nie został przesłany żaden plik." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Import ustawień nie powiódł się: nieprawidłowa nazwa pliku." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Import ustawień nie powiódł się: nieprawidłowy typ pliku." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Import ustawień nie powiódł się: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Import ustawień nie powiódł się: nieoczekiwana zawartość pliku." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Ustawienia zostały zaimportowane i zapisane." + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "Odroczenie plików JavaScript" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "Wykluczenia opóźnionego ładowania JavaScript" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "%1$s%2$s" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Poniższy wzór jest nieprawidłowy i został usunięty:" +msgstr[1] "Poniższe wzory są nieprawidłowe i zostały usunięte:" +msgstr[2] "Poniższe wzory są nieprawidłowe i zostały usunięte:" +msgstr[3] "Poniższe wzory są nieprawidłowe i zostały usunięte:" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "Więcej informacji" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Wyczyść pamięć podręczną" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Opcje WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Nigdy nie przechowuj w pamięci podręcznej tej strony" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktywuj te opcje dla tego wpisu:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad dla obrazów" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad dla iframe/wideo" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify CSS" +msgstr "Minifikuj CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minifikuj/łącz JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Odroczony JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Aktywuj najpierw opcję %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sUwaga:%2$s Żadna z tych opcji nie zostanie zastosowana, jeśli post ten został wykluczony z pamięci podręcznej w ustawieniach globalnych pamięci podręcznej." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s nie został wyłączony z powodu braku uprawnień do zapisu.
    \n" +"Dodaj do %2$s możliwość zapisu i ponów dezaktywację lub wymuś dezaktywację teraz:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Jedna lub więcej wtyczek zostało włączonych lub wyłączonych, wyczyścić pamięć podręczną, jeśli sądzisz, że może mieć to wpływ na frontend witryny." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Następujące wtyczki nie są kompatybilne z tą wtyczką i mogą powodować nieoczekiwane rezultaty:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Dezaktywuj" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS nie jest oficjalnym dodatkiem. Wpływa on negatywnie na prawidłowe działanie niektórych opcji w WP Rocket. Jeśli masz problemy, wyłącz go." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache jest obecnie włączony, co spowoduje konflikt z WP Rocket Cache. Proszę ustawić poziom pamięci podręcznej Endurance Cache na Off (Level 0) na stronie %1$sUstawienia > Ogólne%2$s, aby zapobiec potencjalnym problemom." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Aby wtyczka działała poprawnie, wymagana jest niestandardowa struktura bezpośrednich odnośników. %2$sPrzejdź do ustawień bezpośrednich odnośników%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s nie mógł zmienić pliku .htaccess z powodu braku uprawnień do zapisu." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Rozwiązywanie problemów: %1$sJak sprawić, aby pliki systemowe mogły być zapisywane%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Nie martw się, pamięć podręczna stron WP Rocket i ustawienia nadal będą działać poprawnie." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "W celu zapewnienia optymalnej wydajności zaleca się dodanie następujących linii do pliku .htaccess (nie jest to wymagane):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s w gotowości! %2$sPrzetestuj swój czas ładowania%4$s lub odwiedź stronę %3$sustawień%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Czy zezwoliłbyś WP Rocket na gromadzenie niewrażliwych danych diagnostycznych z tej witryny internetowej?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Pomoże nam to w przyszłości ulepszyć WP Rocket dla Ciebie." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Jakie informacje będziemy gromadzić?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Poniżej znajduje się szczegółowy widok wszystkich danych gromadzonych przez WP Rocket po uzyskaniu zezwolenia. WP Rocket nigdy nie będzie transmitował nazw domen ani adresów e-mail (z wyjątkiem weryfikacji licencji), adresów IP lub kluczy API osób trzecich." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Tak, zezwalam" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Nie, dziękuję" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Dziękuje!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket zbiera teraz te wskaźniki z Twojej witryny internetowej:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: Oczyszczono pamięć podręczną." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: Oczyszczono pamięć podręczną wpisów." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Oczyszczono pamięć podręczną wyrażeń taksonomii." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: Oczyszczono pamięć podręczną użytkowników." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Zatrzymaj wstępne ładowanie" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Wymuś dezaktywację " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Do tego pliku należy wpisać następujący kod:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s nie może się skonfigurować z powodu braku uprawnień do zapisu." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Plik/folder, którego dotyczy problem: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Plik debugowania nie mógł zostać usunięty." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Aby poprawnie działać, %1$s %2$s wymaga co najmniej:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Aby użyć tej wersji WP Rocket, zapytaj swojego dostawcy hostingu jak uaktualnić serwer do PHP %1$s lub nowszej." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Aby użyć tej wersji WP Rocket, należy uaktualnić WordPress do wersji %1$s lub nowszej." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Jeśli nie możesz dokonać aktualizacji, możesz wrócić do poprzedniej wersji, korzystając z przycisku poniżej." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Ponowna instalacja wersji %s" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Co %d minut" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Plik dziennika nie istnieje." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Plik dziennika nie mógł być odczytany." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Dzienniki nie są zapisywane w pliku." + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "Używasz %1$s do serwowania obrazów WebP, więc nie musisz włączać tej opcji. %2$sWięcej informacji%3$s %4$s Jeśli wolisz, aby WP Rocket obsługiwał WebP dla Ciebie zamiast tego, wyłącz wyświetlanie WebP w %1$s." +msgstr[1] "Używasz %1$s do serwowania obrazów WebP, więc nie musisz włączać tej opcji. %2$sWięcej informacji%3$s %4$s Jeśli wolisz, aby WP Rocket obsługiwał WebP dla Ciebie zamiast tego, wyłącz wyświetlanie WebP w %1$s." +msgstr[2] "Używasz %1$s do serwowania obrazów WebP, więc nie musisz włączać tej opcji. %2$sWięcej informacji%3$s %4$s Jeśli wolisz, aby WP Rocket obsługiwał WebP dla Ciebie zamiast tego, wyłącz wyświetlanie WebP w %1$s." +msgstr[3] "Używasz %1$s do serwowania obrazów WebP, więc nie musisz włączać tej opcji. %2$sWięcej informacji%3$s %4$s Jeśli wolisz, aby WP Rocket obsługiwał WebP dla Ciebie zamiast tego, wyłącz wyświetlanie WebP w %1$s." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "Pamięć podręczna WebP jest wyłączona przez filtr." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Używasz %1$s do konwersji obrazów do WebP. Jeśli chcesz, aby WP Rocket obsługiwał WebP, aktywuj tę opcję. %2$sWięcej informacji%3$s" +msgstr[1] "Używasz %1$s do konwersji obrazów do WebP. Jeśli chcesz, aby WP Rocket obsługiwał WebP, aktywuj tę opcję. %2$sWięcej informacji%3$s" +msgstr[2] "Używasz %1$s do konwersji obrazów do WebP. Jeśli chcesz, aby WP Rocket obsługiwał WebP, aktywuj tę opcję. %2$sWięcej informacji%3$s" +msgstr[3] "Używasz %1$s do konwersji obrazów do WebP. Jeśli chcesz, aby WP Rocket obsługiwał WebP, aktywuj tę opcję. %2$sWięcej informacji%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Używasz %1$s do konwersji obrazów do WebP. WP Rocket utworzy osobne pliki pamięci podręcznej do obsługi obrazów WebP. %2$sWięcej informacji%3$s" +msgstr[1] "Używasz %1$s do konwersji obrazów do WebP. WP Rocket utworzy osobne pliki pamięci podręcznej do obsługi obrazów WebP. %2$sWięcej informacji%3$s" +msgstr[2] "Używasz %1$s do konwersji obrazów do WebP. WP Rocket utworzy osobne pliki pamięci podręcznej do obsługi obrazów WebP. %2$sWięcej informacji%3$s" +msgstr[3] "Używasz %1$s do konwersji obrazów do WebP. WP Rocket utworzy osobne pliki pamięci podręcznej do obsługi obrazów WebP. %2$sWięcej informacji%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "%5$sNie wykryliśmy żadnego kompatybilnego pluginu do WebP!%6$s%4$s Jeśli nie masz jeszcze obrazów WebP na swojej stronie rozważ użycie %3$sImagify%2$s lub innego wspieranego pluginu. %1$sWięcej informacji%2$s %4$s Jeśli nie używasz WebP nie włączaj tej opcji." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket utworzy osobne pliki pamięci podręcznej dla obsługi obrazów WebP." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Nie udało się wykryć wymaganej zależności w motywie: zamknięcie %1$s." +msgstr[1] "Nie udało się wykryć wymaganych zależności w motywie: zamknięcie %1$s." +msgstr[2] "Nie udało się wykryć wymaganych zależności w motywie: zamknięcie %1$s." +msgstr[3] "Nie udało się wykryć wymaganych zależności w motywie: zamknięcie %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Czyszczenie i wstępne ładowanie pamięci podręcznej" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Wszystkie języki" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Wyczyść ten wpis" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Oczyścić z tego adresu" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Oczyścić pamięć podręczną Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Oczyść pamięć podręczną RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentacja" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Oczyszczanie OPcache nie powiodło się." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache został skutecznie oczyszczony" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Mapa witryny XML wtyczki Yoast SEO" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Wykryto automatycznie mapę witryny wygenerowanę przez wtyczkę %s. Możesz zaznaczyć opcję, aby ją wstępnie wczytać metodą wstępnego ładowania." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Mapa witryny XML wtyczki All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Mapa witryny XML Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Mapa witryny XML SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Mapa witryny XML SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Mapa witryny XML wtyczki Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Załaduj wstępnie mapę witryny z wtyczki Jetpack" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktywuj Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Zainstaluj \"Imagify\" za darmo" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Przyspiesz swoją witrynę i popraw SEO poprzez zmniejszenie rozmiaru plików graficznych bez utraty jakości z Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Więcej szczegółów" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Ładowanie wstępne oparty o mapę witryny: %d stron(-y) zostało zachowanych do pamięci podręcznej." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Wstępne ładowanie oparte o mapę witryny: %d stron(-y), które nie zostały wczytane w pamięci podręcznej, zostały załadowane wstępnie. (Odśwież, aby zobaczyć postęp)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Wybierz domenę z listy" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Brak domeny dostępnej na koncie Cloudflare" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl się jest wyłączone na serwerze. Proszę poprosić obsługę hostingu, aby został aktywowany. Jest to wymagane, aby dodatek Cloudflare działał prawidłowo." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "E-mail Cloudflare , klucz API i ID strefy nie są ustawione. Przeczytaj %1$sdokumentację%2$s w celu uzyskania dalszych wskazówek." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "E-mail i klucz API Cloudflare nie są ustawione. Przeczytaj %1$sdokumentację%2$s w celu uzyskania dalszych wskazówek." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Nie powiodło się połączenie z Cloudflare" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "Tak zwana klasa %1$s jest przestarzała od wersji %2$s! Użyj zamiast tego %3$s." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "Tak zwana klasa %1$s jest przestarzała od wersji %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Pliki JS z odroczonym wczytywaniem JavaScript metodą defer" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Dodaj adres URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Zanim będzie można przesłać plik importu, trzeba rozwiązać następujący błąd:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Wybierz plik z komputera (maksymalny rozmiar: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Twoje uwierzytelnienie CloudFlare jest ważne." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Twoje uwierzytelnienie CloudFlare jest nieważne!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Zapisz i optymalizuj" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optymalizuj" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Uwaga:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Wskazówka dotycząca wydajności:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Wykryto zewnętrzne funkcje:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Ostrzeżenie:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Pobierz ustawienia" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Zastąp nazwę hosta witryny nazwą:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "zarezerwowane dla" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Wszystkie pliki" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Obrazy" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Dodaj CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Obejrzyj wideo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Podstawowe" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Statyczne pliki" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Zaawansowane" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s wymaga co najmniej PHP %3$s do prawidłowego działania. Aby użyć tej wersji, zapytaj swojego dostawcę hostingu, jak uaktualnić serwer do PHP %3$s lub nowszej. Jeśli nie możesz dokonać aktualizacji, możesz wrócić do poprzedniej wersji, korzystając z przycisku poniżej." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Wydaje się, że istnieje problem z walidacją licencji. Proszę zapoznać się z poniższym komunikatem o błędzie." +msgstr[1] "Wydaje się, że istnieje problem z walidacją licencji. Proszę zapoznać się z poniższymi komunikatami o błędzie." +msgstr[2] "Wydaje się, że istnieje problem z walidacją licencji. Proszę zapoznać się z poniższymi komunikatami o błędzie." +msgstr[3] "Wydaje się, że istnieją problemy z walidacją licencji. Proszę zapoznać się z poniższymi komunikatami o błędach." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Typ serwera:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Numer wersji PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Numer wersji WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Bieżący motyw:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Aktualny język strony:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Włączone wtyczki:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Nazwy wszystkich aktywnych wtyczek" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Anonimowe ustawienia WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Które ustawienia WP Rocket są aktywne" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Podane dane licencyjne są nieprawidłowe." + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Aby rozwiązać problem, należy %1$sskontaktować się z pomocą techniczną%2$s." + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Walidacja licencji nie powiodła się. Nasz serwer nie był w stanie zrealizować żądania z Twojej witryny internetowej." + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Proszę spróbować kliknąć %1$sWeryfikuj licencję%2$s poniżej. Jeżeli błąd nadal występuje, proszę postępować zgodnie z %3$stym przewodnikiem%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Walidacja licencji nie powiodła się. Możliwe jest, że używasz wersji nulled wtyczki. Proszę wykonać następujące czynności:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Zaloguj się do swojego %1$skonta WP Rocket%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Pobierz plik zip" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstalacja" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Jeśli nie posiadasz konta WP Rocket, proszę %1$szakupić licencję%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Weryfikacja licencji nie powiodła się. To konto użytkownika nie istnieje w naszej bazie danych." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Aby rozwiązać problem, prosimy o kontakt z działem pomocy technicznej." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Zatwierdzenie licencji nie powiodło się. To konto użytkownika jest zablokowane." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Zobacz %1$sten poradnik%2$s, aby uzyskać więcej informacji." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Spróbuj kliknąć %1$sZapisz zmiany%2$s poniżej. Jeśli błąd występuje nadal, postępuj zgodnie z %3$szaleceniami przewodnika%4$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Twoja licencja jest niepoprawna." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Upewnij się, że posiadasz aktywną licencję %1$sWP Rocket%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Dodałeś tyle witryn, na ile pozwala aktualna licencja." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Ulepsz swoje %1$skonto%2$s lub %3$stransferuj licencję%2$s do tej domeny." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ta witryna nie jest dozwolona." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Prosimy o %1$skontakt z działem pomocy technicznej%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Ten klucz licencyjny nie został rozpoznany." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Jeśli problem występuje nadal się, prosimy o %1$skontakt z działem pomocy technicznej%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Weryfikacja licencji nie powiodła się: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Wtyczka zainstalowana pomyślnie." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Przepraszamy, nie posiadasz uprawnień do instalowania wtyczek w tej witrynie." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Przepraszamy, nie wolno Ci tego robić." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Instalacja wtyczki nie powiodła się." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Wróć" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Wczytaj CSS asynchronicznie w urządzeniach mobilnych" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Twoja strona korzysta obecnie z tej samej ścieżki krytycznej CSS zarówno dla urządzeń stacjonarnych jak i mobilnych." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Kliknij przycisk, aby włączyć CPCSS specyficzny dla urządzeń przenośnych dla Twojej witryny." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Jest to jednorazowa czynność, a ten przycisk zostanie później usunięty. %1$s Więcej informacji%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Twoja strona używa teraz specyficznej dla urządzeń mobilnych ścieżki krytycznej CSS. %1$s Więcej informacji%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Generowanie CPCSS specyficznego dla urządzeń przenośnych" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Ścieżka krytyczna CSS" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Wygeneruj specyficzną ścieżkę krytyczną CSS dla tego wpisu. %1$s Więcej informacji%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Ten wpis wykorzystuje specyficzną ścieżkę krytyczną CSS. %1$s Więcej informacji%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Powrót do domyślnego CPCSS" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Masz problem?" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "Nie zawsze trzeba dezaktywować WP Rocket, gdy pojawiają się jakieś problemy. Większość z nich można naprawić, dezaktywując tylko niektóre opcje." + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "Nasza rada? Zamiast dezaktywować WP Rocket, proszę użyć naszego %1$sTrybu bezpiecznego%2$s, aby szybko wyłączyć opcje LazyLoadingu, Optymalizacji plików i CDN. Następnie proszę sprawdzić, czy Twój problem został rozwiązany." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "Czy chcesz skorzystać z naszego trybu bezpiecznego, aby rozwiązać problem z WP Rocket?" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Tak, zastosuj \"%1$s Tryb bezpieczny%2$s\"" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "i wyeksportuj ustawienia WP Rocket %1$s(zalecane, ponieważ bieżące ustawienia zostaną usunięte)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Nie, dezaktywuj i wycisz tę wiadomość na" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 dzień" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 dni" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 dni" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Na zawsze" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Anuluj" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Potwierdź" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Uaktualnij listy włączonych i wykluczonych" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "Listy kompatybilności są pobierane automatycznie co tydzień. Kliknij przycisk, jeśli chcesz aktualizować je ręcznie. %1$sWięcej informacji%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Aktualizacja list" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Włącz optymalizację czcionek Google" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Poprawia wydajność czcionek i łączy wiele żądań dotyczących czcionek, aby zmniejszyć liczbę żądań HTTP." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Optymalizacja czcionek Google jest teraz włączona dla Twojej witryny. %1$s Więcej informacji%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optymalizacja czcionek Google" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Wyczyść pamięć podręczną po" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS i JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Ustawienia importu" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Status dodatku" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modyfikuj opcje" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME CDN" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Czyści zasoby pamięci podręcznej RocketCDN dla Twojej witryny. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Dowiedz się więcej" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Wyczyść wszystkie pliki pamięci podręcznej RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Pamięci podręczna CloudFlare" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Oczyszcza przechowywane w pamięci podręcznej zasoby dla Twojej witryny internetowej. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Wyczyść wszystkie pliki pamięci podręcznej CloudFlare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Gratulacje!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket jest teraz aktywny i działa w tle." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Twoja witryna powinna ładować się teraz szybciej!" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "Aby zagwarantować szybkie strony internetowe, WP Rocket automatycznie stosuje 80% najlepszych praktyk dotyczących wydajności." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Oferujemy również opcje, które zapewniają natychmiastowe korzyści dla Twojej witryny internetowej." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Przejdź do opcji dalszej optymalizacji swojej witryny!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Moje konto" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Odśwież informacje" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "z" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Data wygaśnięcia" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Zobacz moje konto" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Szybkie działania" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Usuń wszystkie pliki pamięci podręcznej" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Regeneruj krytyczny CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Usuń pamięć podręczną używanego CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Najczęściej zadawane pytania" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Wciąż nie możesz znaleźć rozwiązania?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Wyślij zgłoszenie i uzyskaj pomoc od naszych przyjaznych i kompetentnych Rocketeersów." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Poproś o wsparcie" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Utwórz kopię zapasową swojej bazy danych przed uruchomieniem czyszczenia!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Po wykonaniu optymalizacji bazy danych nie ma możliwości jej cofnięcia." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Zapisz zmiany i optymalizuj" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s stworzył %3$sIMAGIFY%4$s %1$s dla najlepszej w swojej klasie optymalizacji obrazu.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Kompresuj obraz, aby uczynić Twoją witrynę szybszą, przy jednoczesnym zachowaniu jakości obrazu." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Więcej na temat Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Strona wtyczki Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Witryna Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Przegląd wtyczek do kompresji obrazów" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Zainstaluj Imagify za darmo" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket nie był w stanie automatycznie zatwierdzić Twojej licencji." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Postępuj zgodnie z tą instrukcją %1$s, lub skontaktuj się z %2$s, aby uruchomić to cacko." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$swsparcie%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Wyczyść wszystkie pliki pamięci podręcznej Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Wielkość plików: %1$s. Liczba wpisów: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sPobierz plik%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$s Usuń plik%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Ustawienia eksportu" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Pobierz plik kopii zapasowej ustawień" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Pobierz ustawienia" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Wycofanie" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Czy wersja %s spowodowała problem na Twojej witrynie?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Możesz powrócić do poprzedniej głównej wersji tutaj.%sNastępnie wyślij do nas zapytanie o wsparcie." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Wersja do ponownej instalacji %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Tryb debugowania" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Utwórz plik dziennika debugowania." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Pierwsze kroki" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Rozpoczęcie pracy z pakietem WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Określenie najlepszych ustawień dla Twojej strony internetowej" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Jak sprawdzić, czy WP Rocket buforuje Twoją witrynę" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Jak zmierzyć prędkość Twojej strony internetowej" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Jak działa wstępne ładowanie" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Zaliczenie testów Core Web Vitals" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Jak ulepszyć LCP za pomocą WP Rocket" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Jak poprawić FID za pomocą WP Rocket" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Jak poprawić CLS za pomocą WP Rocket" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Wsparcie" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Rozwiązywanie problemów z wyświetlaniem przy optymalizacji plików" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Jak znaleźć odpowiedni skrypt JavaScript, który należy wykluczyć" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Jak zawartość zewnętrzna spowalnia Twoją stronę internetową" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Skonfiguruj dodatek \"Cloudflare\"" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Ustawienia WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "wersja %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Pokaż boczny panel" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "Poniżej znajduje się szczegółowy widok wszystkich danych, które WP Rocket zgromadzi %1$sjeśli przyznano mu zezwolenie.%2$s" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket nigdy nie będzie transmitował nazw domen ani adresów e-mail (z wyjątkiem weryfikacji licencji), adresów IP lub kluczy API osób trzecich." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Aktywuj analitykę Rocket Analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Jest to świetny punkt wyjścia, aby naprawić niektóre z najbardziej powszechnych problemów." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Przeczytaj dokumentację" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Co WP Rocket robi dla Ciebie bez dodatkowej konfiguracji" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Jak prawidłowo zmierzyć czas ładowania witryny internetowej" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Sprawdź nasz samouczek i dowiedz się, jak mierzyć prędkość Twojej witryny." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Przeczytaj nasz przewodnik" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Dowiedz się o optymalnych ustawieniach WP Rocket dla urządzeń mobilnych." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Testuj i ulepszaj Google Core Web Vitals dla WordPressa." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Zobacz więcej" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Nie aktywowałeś pamięci podręcznej zalogowanego użytkownika." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Skorzystaj z trybu incognito przeglądarki, aby sprawdzić szybkość i wygląd swojej strony internetowej." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Potrzebujesz pomocy?" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" diff --git a/languages/rocket-pt_BR.mo b/languages/rocket-pt_BR.mo new file mode 100644 index 0000000..69fd636 Binary files /dev/null and b/languages/rocket-pt_BR.mo differ diff --git a/languages/rocket-pt_BR.po b/languages/rocket-pt_BR.po new file mode 100644 index 0000000..f16c2f5 --- /dev/null +++ b/languages/rocket-pt_BR.po @@ -0,0 +1,4661 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Dionizio Bonfim Bach , 2019 +# Rafael Funchal , 2019 +# Paulo Andraus , 2019 +# Romain • WP Rocket , 2022 +# Deblyn Prado, 2023 +# Fabio Fava , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15.1-alpha1\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-09-25T14:39:29+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Fabio Fava , 2023\n" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/wp-media/teams/18133/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Plugin Name of the plugin +msgid "WP Rocket" +msgstr "WP Rocket" + +#. Plugin URI of the plugin +msgid "https://wp-rocket.me" +msgstr "https://wp-rocket.me" + +#. Description of the plugin +msgid "The best WordPress performance plugin." +msgstr "O melhor plugin de desempenho para WordPress." + +#. Author of the plugin +msgid "WP Media" +msgstr "Mídia do WP" + +#. Author URI of the plugin +msgid "https://wp-media.me" +msgstr "https://wp-media.me" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"Seu site está hospedado em %s, habilitamos a auto-limpeza do Varnish para " +"compatibilidade." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "O Cloudflare não forneceu nenhuma resposta. Tente mais tarde." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Resposta inesperada do Cloudflare" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Faltando o resultado do Cloudflare" + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Endereço de e-mail ou chave da API incorretos do Cloudflare" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Leia a %1$sdocumentação%2$s para orientações adicionais." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "ID incorreto da Zona do Cloudflare" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"O e-mail e/ou chave da API do Cloudflare não estão definidos. Leia a " +"%1$sdocumentação%2$s para maior orientação." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Falta o ID da Zona do Cloudflare" + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Parece que o seu domínio não está configurado no Cloudflare" + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "dias" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "segundos" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "minutos" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "horas" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket:%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket:%2$s Cache do Cloudflare esvaziado com sucesso." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Erro no modo de desenvolvimento do Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Modo de desenvolvimento do Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Erro no nível de Cache do Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "padrão" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Nível de cache do Cloudflare definido para %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Erro de minificação do Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Minificação do Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Erro no rocket loader do Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Rocket loader do Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Erro do cache de navegador no Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cache do navegador do Cloudflare definido para %s" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" +"%1$sWP Rocket:%2$s Configurações otimizadas ativadas para o Cloudflare:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sWP Rocket:%2$s Configurações otimizadas desativadas para o Cloudflare, " +"revertidas para as configurações anteriores:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Erro esvaziando o cache Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"O cache Sucuri está sendo esvaziado. Note que pode levar até dois minutos " +"para ele estar totalmente vazio." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "A chave da API Sucuri não foi encontrada." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "A chave da API Sucuri é inválida." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Erro contactando a API de Firewall Sucuri. A mensagem de erro foi: %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Não foi possível obter resposta da API de Firewall Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Resposta inválida da API de Firewall Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "A API de Firewall Sucuri retornou um erro desconhecido." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "A API do firewall Sucuri retornou o seguinte erro: %s" +msgstr[1] "A API do firewall Sucuri retornou os seguintes erros: %s" +msgstr[2] "A API do firewall Sucuri retornou os seguintes erros: %s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"Você está usando %1$s para servir imagens WebP e por isso não precisa ativar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir usar o WP Rocket para" +" servir WebP para você, desative a exibição de WebP em %1$s." +msgstr[1] "" +"Você está usando %1$s para servir imagens WebP e por isso não precisa ativar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir usar o WP Rocket para" +" servir WebP para você, desative a exibição de WebP em %1$s." +msgstr[2] "" +"Você está usando %1$s para servir imagens WebP e por isso não precisa ativar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir usar o WP Rocket para" +" servir WebP para você, desative a exibição de WebP em %1$s." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "O cache de WebP está desativado por filtro." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"Você está usando %1$s para converter imagens para WebP. Se deseja que o WP " +"Rocket sirva elas para você, ative esta opção. %2$sMais informações%3$s" +msgstr[1] "" +"Você está usando %1$s para converter imagens para WebP. Se deseja que o WP " +"Rocket sirva elas para você, ative esta opção. %2$sMais informações%3$s" +msgstr[2] "" +"Você está usando %1$s para converter imagens para WebP. Se deseja que o WP " +"Rocket sirva elas para você, ative esta opção. %2$sMais informações%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"Você está usando %1$s para converter imagens para WebP. O WP Rocket irá " +"criar arquivos separados de cache para servir suas imagens WebP. %2$sMais " +"informações%3$s" +msgstr[1] "" +"Você está usando %1$s para converter imagens para WebP. O WP Rocket irá " +"criar arquivos separados de cache para servir suas imagens WebP. %2$sMais " +"informações%3$s" +msgstr[2] "" +"Você está usando %1$s para converter imagens para WebP. O WP Rocket irá " +"criar arquivos separados de cache para servir suas imagens WebP. %2$sMais " +"informações%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sNão detectamos nenhu plugin WebP compatível!%6$s%4$sSe você ainda não " +"tem imagens WebP no seu site, considere usar o %3$sImagify%2$s ou outro " +"plugin suportado. %1$sMais informações%2$s %4$sSe você não estiver usando " +"WebP não ative esta opção." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"O WP Rocket irá criar arquivos de cache separados para servir as suas " +"imagens WebP." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Suporte" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Documentação" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "Perguntas Frequentes" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Configurações" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "Limpar este cache" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" +"A importação das configurações falhou: você não tem permissões para fazer " +"isso." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "A importação das configurações falhou: nenhum arquivo foi enviado." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "A importação das configurações falhou: nome incorreto de arquivo." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "A importação das configurações falhou: tipo de arquivo incorreto." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "A importação das configurações falhou:" + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "" +"A importação das configurações falhou: arquivo com conteúdo inesperado." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "Configurações importadas e salvas." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "Arquivos CSS Excluídos" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript Inline Excluído" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "Arquivos JavaScript Excluídos" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "Adiar arquivos JavaScript" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "Arquivos JavaScript excluídos do retraso" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "URL(s) Jamais em Cache" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "User Agent(s) Jamais em Cache" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "Sempre Esvaziar URL(s)" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "Excluir arquivos da CDN" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "O seguinte padrão é inválido e foi removido:" +msgstr[1] "Os seguintes padrões são inválidos e foram removidos:" +msgstr[2] "Os seguintes padrões são inválidos e foram removidos:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "Mais informações" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Limpar o cache" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s não foi desativado por falta de permissões de escrita.
    \n" +"Ative a permissão de escrita para %2$s e tente novamente, ou forçe a desativação agora:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: Um ou mais plugins foram ativados ou desativados, limpe" +" o cache se eles afetam a interface do seu site." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: Os plugins a seguir não são compatíveis com este plugin" +" e podem causar resultados inesperados:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "Desativar" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"WP Rocket Footer JS não é um complemento oficial. Ele impede algumas opções " +"no WP Rocket de funcionarem corretamente. Por favor desative-o se tiver " +"problemas." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"O Cache Endurance está ativo no momento, e pode entrar em conflito com o WP " +"Rocket Cache. Por favor defina o nível de cache do Endurance Cache para " +"Inativo (Level 0) na página %1$sConfigurações > Geral%2$s para evitar " +"quaisquer problemas." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: É obrigatória uma estrutura personalizada de links permanentes para o " +"plugin funcionar corretamente. %2$sVá para as configurações de links " +"permanentes%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" +"%s não pôde alterar o arquivo .htaccess devido à falta de permissões de " +"escrita." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" +"Solução de Problemas: %1$sComo ativar a permissão escrita nos arquivos do " +"sistema%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "" +"Não se preocupe, o cache de páginas e as configurações do WP Rocket vão " +"continuar funcionando corretamente." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"Para um ótimo desempenho, é recomendado adicionar as linhas a seguir ao seu " +"arquivo .htaccess (não obrigatório):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"%1$s está pronto! %2$sTeste o seu tempo de carregamento%4$s ou visite as " +"suas %3$sconfigurações%4$s." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"Você permite que o WP Rocket colete dados não-sensíveis de diagnóstico deste" +" site?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Isto pode nos ajudar a melhorar o WP Rocket para você no futuro." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "Que informações iremos coletar?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"Abaixo está uma visão detalhada de todos os dados que WP Rocket irá coletar " +"se você der permissão. O WP Rocket nunca irá transmitir quaisquer nomes de " +"domínio ou endereços de e-mail (exceto para validação de licença), endereços" +" IP ou chaves de API de terceiros." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "Sim, permitir" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "Não, obrigado" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "Obrigado!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "O WP Rocket agora coleta estas métricas do seu website:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s: Cache limpo." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s: Cache do post limpo." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s: Cache de termos limpo." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s: Cache de usuário limpo." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Descartar essa notificação" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Limpar CSS usado" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "Parar o Pré-carregamento" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "Ativar Remoção do CSS Não Usado" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "Ativar \"Arquivos Separados de Cache para Dispositivos Móveis\" agora" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "Forçar desativação " + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "O código a seguir deveria ter sido escrito neste arquivo:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" +"%s não pode se auto-configurar devido à falta de permissões de escrita." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "Arquivo/pasta afetado: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Não foi possível excluir o arquivo de depuração." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Para funcionar corretamente o %1$s %2$s requer ao menos:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"PHP %1$s. Para usar esta versão do WP Rocket, pergunte ao seu provedor como " +"atualizar o seu servidor para o PHP %1$s ou acima." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"WordPress %1$s. Para usar esta versão do WP Rocket, por favor atualize seu " +"WordPress para a versão %1$s ou acima." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"Se não puder atualizar, você ainda pode voltar para a versão anterior usando" +" o botão abaixo." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "Reinstalar a versão %s" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "Reversão da Atualização %s" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Falha ao detectar o seguinte requisito no seu tema: fechando %1$s." +msgstr[1] "" +"Falha ao detectar os seguintes requisitos no seu tema: fechando %1$s." +msgstr[2] "" +"Falha ao detectar os seguintes requisitos no seu tema: fechando %1$s." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Limpar e pré-carregar o cache" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "Todos os idiomas" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "Limpar este Post" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "Esvaziar este URL" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "Limpar cache Sucuri" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Esvaziar o cache da RocketCDN" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentação" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Ativar o Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Instale Gratuitamente o Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"Acelere o seu site e turbine o seu SEO reduzindo o tamanho dos arquivos das " +"imagem sem perder qualidade com o Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Mais detalhes" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Pré-carregamento do sitemap: %d páginas foram armazenadas em cache." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"Pré-carregamento do sitemap: %d páginas sem cache foram pré-carregadas. " +"(atualize a página para ver o progresso)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"Ocorreu um erro inesperado. Algo pode estar errado com o WP-Rocket.me ou nas" +" configurações deste servidor. Se continuar a ter problemas contate o suporte." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Escolha um domínio da lista" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Nenhum domínio disponível na sua conta do Cloudflare" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"O Curl está desativado no seu servidor. Peça ao seu provedor para ativá-lo. " +"Isso é necessário para que o complemento do Cloudflare funcione " +"corretamente." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"O e-mail, chave da API e ID da Zona não foram definidos. Leia a " +"%1$sdocumentação%2$spara mais assistência." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"O e-mail e a chave da API do Cloudflare nào estão definidos. Leia a " +"%1$sdocumentação%2$s para mais assistência." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Falha na conexão com o Cloudflare" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" +"WP Rocket: O cache do Cloudflare foi limpo com sucesso." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"O seguinte evento agendado falhou em ser executado. Isso pode indicar que o " +"sistema CRON não está funcionando corretamente, o que pode impedir algumas " +"funções do WP Rocket de funcionarem como esperado:" +msgstr[1] "" +"Os seguintes eventos agendados falharam em ser executados. Isso pode indicar" +" que o sistema CRON não está funcionando corretamente, o que pode impedir " +"algumas funções do WP Rocket de funcionarem como esperado:" +msgstr[2] "" +"Os seguintes eventos agendados falharam em ser executados. Isso pode indicar" +" que o sistema CRON não está funcionando corretamente, o que pode impedir " +"algumas funções do WP Rocket de funcionarem como esperado:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "" +"Entre em contato com o seu host para verificar se o CRON está funcionando." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "A limpeza do OPcache falhou" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "O OPcache foi esvaziado com sucesso" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Sitemap XML do Yoast SEO" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"Detectamos automaticamente o sitemap gerado pelo plugin %s. Você pode marcar" +" a opção para pré-carregá-lo." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sRetorne ao%2$sdo WP Rocket ou %3$svá para a página de Plugins%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Sitemap XML do All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Sitemap XML do Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Sitemap XML do SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Sitemap XML do The SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Sitemaps XML do Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Pré-carregar o sitemap do plugin Jetpack" + +#: inc/deprecated/3.15.php:28 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:74 +msgid "WP Rocket Options" +msgstr "Opções do WP Rocket" + +#: inc/deprecated/3.15.php:57 views/metaboxes/post_edit_options.php:19 +msgid "Never cache this page" +msgstr "Nunca armazenar esta página em cache" + +#: inc/deprecated/3.15.php:61 views/metaboxes/post_edit_options.php:23 +msgid "Activate these options on this post:" +msgstr "Ativar estas opções neste post:" + +#. translators: %s is the name of the option. +#: inc/deprecated/3.15.php:81 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:121 +msgid "Activate first the %s option." +msgstr "Ative primeiro a opção %s." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/deprecated/3.15.php:97 views/metaboxes/post_edit_options.php:38 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sNota:%2$s Nenhuma destas opções será aplicada se este post tiver sido " +"excluido do cache nas configurações globais de cache." + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Arquivos JS com Carregamento Adiado de JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Adicionar URL" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "Configurações salvas." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "" +"Antes de poder enviar seu arquivo de importação você precisa corrigir o " +"seguinte erro:" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Escolha um arquivo do seu computador (tamanho máximo: %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "Enviar e importar configurações" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Suas credenciais do Cloudflare são válidas." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Suas credenciais do Cloudflare são inválidas!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Salvar e otimizar" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Otimizar" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Nota:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Dica de desempenho:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Recurso de terceiro detectado:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Alerta:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Baixar as configurações" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Substituir o nome do host do site por:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reservado para" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Todos os arquivos" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Imagens" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Adicionar CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Assista ao vídeo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Básico" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Arquivos Estáticos" + +#: inc/deprecated/deprecated.php:1773 inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/Engine/CDN/Admin/Subscriber.php:28 +msgid "CDN" +msgstr "CDN" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avançado" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "Banco de Dados" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "Pré-Carregar" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Ferramentas" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licença" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s requer pelo menos o PHP %3$s para funcionar corretamente. Para " +"usar esta versão, por favor pergunte ao seu provedor de hospedagem como " +"atualizar o seu servidor para o PHP %3$s ou acima. Se você não é capaz de " +"atualizar, pode reverter o plugin para a versão anterior usando o botão " +"abaixo." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"A classe solicitda %1$s está obsolet desde a versão %2$s! " +"Use %3$s ao invés dela." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "" +"A classe solicitada %1$s está obsoleta desde a versão %2$s!" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "semanalmente" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisões" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Rascunhos Automáticos" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Posts na Lixeira" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Comentários Spam" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Comentários na Lixeira" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transientes" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabelas" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensalmente" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "O processo de otimização do banco de dados está sendo executado" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "" +"O processo de otimização do banco de dados está concluído. Tudo já foi " +"otimizado!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"O processo de otimização de banco de dados está concluído. Abaixo a lista " +"dos itens otimizados:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s otimizado." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sWP Rocket:%2$s Detectamos que o domínio do site foi alterado. Os " +"arquivos de configuração precisam ser regenerados para que o cache de " +"páginas e todas as outras otimizações funcionem como esperado. %3$sSaiba " +"mais%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "Regenerar os arquivos de configuração do WP Rocket agora" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Salvar Alterações" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Validar a licença" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Indisponível" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Chave da API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Endereço de e-mail" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Painel" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Obter ajuda, informações da conta" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Meu Status" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Analytics do Rocket" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"Concordo em compartilhar informações anônimas com a equipe de " +"desenvolvimento para ajudar a melhorar o WP Rocket. %1$sQuais informações " +"iremos coletar?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Opções básica de cache" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache Móvel" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Acelera seu site em dispositivos móveis." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"Detectamos que você usa um plugin que requer um cache separado para " +"dispositivos móveis, e habilitamos esta opção para compatibilidade." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache de Usuário" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"O %1$scache de usuário%2$s é excelente quando você tem conteúdo específico " +"do usuário ou restrito no seu site." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Vida útil do cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"Arquivos de cache mais antigos do que a vida útil especificada serão " +"excluídos.
    Ative o %1$spré-carregamento%2$s para o cache ser " +"reconstruído automaticamente após a expiração da sua vida útil." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Ativar armazenamento em cache para usuários conectados no WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Ativar cache para dispositivos móveis" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Arquivos de cache separados para dispositivos móveis" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"A maioria dos temas modernos é responsiva e deveria funcionar sem um cache " +"separado. Habilite isso apenas se tem um tema ou plugin dedicado a " +"dispositivos móveis. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"Especifique o tempo após o qual o Cache Global é limpo
    (0=ilimitado)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"Reduza a vida útil para 10 horas ou menos se notar erros que parecem surgir " +"periodicamente. %1$sPor que?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Horas" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dias" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Otimizar Arquivos" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Otimizar CSS e JS" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"%1$s A Minificação está ativa no momento no Autoptimize. Se" +" deseja usar a minificação do , desative esta opção no Autoptimize.%2$s" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Arquivos CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Arquivos JavaScript" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"No momento a Minificação %1$s está ativada no Autoptimize. " +"Se deseja usar a minificação do %2$s, desabilite esta opção no Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"Se tiver problemas após ativar esta opção, copie e cole as exclusões padrão " +"para resolver problemas rapidamente:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"Verifique também a nossa %1$sdocumentação%2$s para uma lista de exclusões de" +" compatibilidade." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"Scripts internos são excluídos por padrão para evitar problemas. Remova-os " +"para tirar vantagem total desta opção." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"Se isso causar problemas, restaure as exclusões padrão, encontradas " +"%1$saqui%2$s" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minificar os arquivos CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" +"Minificar o CSS remove espaços em branco e comentários para reduzir o " +"tamanho do arquivo." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "Isto poderia quebrar coisas!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"Se notar quaisquer erros no seu site após ter ativado esta configuração, " +"basta desativá-la novamente e o seu site voltará ao normal." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Ativar minificar o CSS" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"Especifique os URLs dos arquivos de CSS a serem excluídos da minificação (um" +" por linha)." + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"Interno: A parte do domínio do URL será automaticamente " +"limpa. Use coringas (.*).css para excluir todos os arquivos CSS localizados " +"em um caminho específico." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"Terceiros: Use o caminho completo do URL ou apenas o nome " +"do domínio, para excluir CSS externo. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "Otimizar a entrega do CSS" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"Otimizar a entrega do CSS elimina o CSS que bloqueia a renderização no seu " +"site. Apenas um método pode ser selecionado. Remover o CSS não usado é " +"recomendado para um desempenho ótimo, mas limitado aos usuários com uma " +"licença ativa." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"Otimizar a entrega do CSS elimina CSS que bloqueia a renderizaçào no seu " +"site. Apenas um método pode ser selecionado. Remover o CSS não usado é " +"recomendado para um desempenho ótimo." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"Os recursos de otimização da entrega do CSS estão desativados em ambientes " +"locais. %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:736 +#: inc/Engine/Optimization/RUCSS/Admin/OptionSubscriber.php:74 +msgid "Remove Unused CSS" +msgstr "Remover CSS não utilizado" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"Remove o CSS não usado por página e ajuda a reduzir o tamanho das páginas e " +"as requisições HTTP. Recomendado para melhor desempenho. Teste " +"extensivamente! %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "Ativa a remoção do CSS não usado" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "Lista de CSS seguro" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"Especifique nomes de arquivos CSS, IDs ou classes que não deverão ser " +"removidos (um por linha)." + +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/CriticalPath/Admin/Subscriber.php:200 +msgid "Load CSS asynchronously" +msgstr "Carregar o CSS de forma assíncrona" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"No momento o carregar CSS de forma assíncrona está sendo manipulado pelo " +"plugin %1$s. Se deseja usar a opção de carregar o CSS de forma assíncrona do" +" WP Rocket, desative o plugin %1$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"Gera o CSS do caminho crítico e carrega o CSS de forma assíncrona. %1$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "CSS crítico opcional" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"Fornece uma opção se o caminho de CSS crítico gerado automaticamente estiver" +" incompleto. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "Minificar os arquivos JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" +"Minificar o JavaScript remove os espaços em branco e comentários para " +"reduzir o tamanho do arquivo." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "Ativar minificar o JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"Combinar os arquivos JavaScript (Ative Minificar arquivos JavaScript " +"para selecionar)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"Combinar arquivos JavaScript combina o JS interno, inline e de terceiros " +"reduzindo as chamadas HTTP. Não é recomendado se o seu site usa HTTP/2. " +"%1$sMais informações%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"Para compatibilidade e melhores resultados, esta opção está desativada " +"quando a execução retrasada de javascript estiver ativa." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "Ativar combinar o JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"Especifique padrões de JavaScript inline a serem excluídos da concatenação " +"(um por linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"Especifique URLs de arquivos JavaScript a serem excluídos da minificação e " +"concatenação (um por linha)." + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"Interno: A parte do domínio do URL será removida " +"automaticamente. Use wildcards (.*).js para excluir todos os arquivos JS " +"localizados em um caminho específico." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"Terceiros Use o caminho completo do URL ou apenas o " +"domínio, para excluir JS externo. %1$sMais Informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +#: inc/Engine/Optimization/DeferJS/AdminSubscriber.php:76 +msgid "Load JavaScript deferred" +msgstr "Adiar o carregamento do JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"Adiar o carregamento do JavaScript elimina JS bloqueando a renderização no " +"seu site e pode melhorar o tempo de carregamento. %1$sMais informações%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"Especifique URLs ou palavras-chave de arquivos JavaScript a serem excluídos " +"do atraso (um por linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:907 +#: inc/Engine/Optimization/DelayJS/Admin/Subscriber.php:210 +msgid "Delay JavaScript execution" +msgstr "Atrasa a execução do JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"Melhora o desempenho atrasando o carregamento dos arquivos JavaScript até a " +"interação com o usuário (como rolar ou clicar) %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "Exclusões de um clique" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"Ao usar Atrasar a Execução do JavaScript você pode experimentar um atraso no" +" carregamento dos elementos localizados na área de visualização que deveriam" +" aparecer imediatametne - por exemplo slider, header e menu." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"Se precisa de visualização instantânea, clique abaixo nos arquivos que NÃO " +"devem ser atrasados. Esta seleção irá ajudar os usuários a interagirem com " +"os elementos imediatamente." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"Especifique URLs ou palavras-chave que podem identificar arquivos inline ou " +"JavaScript a serem excluídos do adiamento da execução (um por linha)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "Mídia" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, dimensões da imagem" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "LazyLoad" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"Pode melhorar o tempo real e percebido de carregamento pois imagens, iframes" +" e vídeos serão carregados apenas quando entrarem (ou estiverem para entrar)" +" na área visualizada na tela, e reduz o número de requisições HTTP. %1$sMais" +" Informações%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"No momento o LazyLoad do %2$s está ativo. Se deseja usar o LazyLoad do WP " +"Rocket, desative esta opção no %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "Dimensões da imagem" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"Adicione atributos largura e altura faltando a imagens. Ajuda a evitar " +"mudanças de layout e melhora a experiência de leitura para os seus " +"visitantes %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "Habilitar para imagens" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"No momento o LazyLoad para imagens do %2$s está ativo. Se deseja usar o " +"LazyLoad de %1$s, desative esta opção no %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "Ativar para as imagens de fundo do CSS" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Habilitar para iframes e vídeos" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Substituir o iframe do YouTube pela imagem de pré-visualização" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" +"Substituir o iframe do YouTube com a imagem de pré-visualização não é " +"compatível com %2$s." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"Isso pode melhorar de forma significativa o tempo de carregamento se você " +"tem muitos vídeos do YouTube em uma página." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Imagens e iFrames excluídos" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"Especifique palavras-chave (ex: nomes de arquivo de imagens ou de CSS, " +"classes de CSS ou domínios) a serem excluídas do código da imagem ou do " +"iFrame (um por linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Adicionar dimensões de imagens faltando" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Gera os arquivos de cache, pré-carrega as fontes" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Pré-carregar o cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"Quando você ativa o pré-carregamento o WP Rocket irá detectar " +"automaticamente os seus sitemaps e salvar todos os URLs no banco de dados. O" +" plugin irá certificar-se que o seu cache será sempre pré-carregado." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Pré-carregar Links" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"O pré-carregamento de link melhora o tempo percebido de carregamento ao " +"carregar uma página quando um usuário passa o mouse sobre o link. %1$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Pré-captura das Requisições de DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"A pré-captura do DNS pode carregar mais rápido arquivos externos, " +"especialmente em redes móveis" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Pré-carregar as fontes" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"Melhora o desempenho ao ajudar os naveggadores a descobrirem fontes em " +"arquivos CSS. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Ativar o Pré-Carregamento" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "Excluir URLs" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"Especifique URLs a serem excluídos do recurso de pré-carregamento (um por " +"linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URLs a pré-capturar" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"Especifique os servidores externos a serem pré-carregados (sem " +"http:, um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Fontes a pré-carregar" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"Especifique URLs dos arquivos das fontes a serem pré-carregadas (um por " +"linha). As fontes devem ser hospedadas no seu próprio domínio, ou o domínio " +"especificado na aba CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"A parte do domínio do URL será automaticametne removida.
    Extensões de " +"fonte permitidas: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Ativar o pré-carregamento dos links" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Regras Avançadas" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Ajuste fino das regras de cache" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" +"URLs de páginas dinâmicas como personalizadas de login/logout devem ser " +"excluídas do cache." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    As páginas do carrinho, check-out e “minha conta” definidas no " +"%1$s%2$s%3$s serão detectadas e por padrão nunca serão " +"armazenadas em cache." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Cookies Jamais em Cache" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "String(s) de Consulta em Cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "" +"%1$sStrings de consulta em cache%2$s permite forçar o cache de certos " +"parâmetros GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"Especifique os URLs de páginas ou posts que deseja que jamais sejam " +"armazenados em cache (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"A parte do domínio do URL será removida automaticamente.
    Use wildcards " +"(.*) para se referir a múltiplos URLs em um dado caminho." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"Especifique ID's completas ou parciais de cookies que, quando vistos no " +"navegador do visitante, devem evitar uma página de ser armazenada em cache " +"(uma por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"Especifique strings de agentes de usuário que nunca devem ter páginas " +"armazenadas em cache (uma por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" +"Use wildcards (.*) para detectar partes de strings de agentes de usuário." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"Especifique os URLs que deseja esvaziar cache sempre que atualizar qualquer " +"post ou página (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" +"Especifique parâmetros de consulta para armazenamento em cache (um por " +"linha)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Otimize, reduza o excesso" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Limpeza de Post" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"As revisões e rascunhos de posts serão excluídos permanentemente. Não use " +"esta opção se precisa manter as revisões e rascunhos." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Limpeza de Comentários" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Os comentários spam e na lixeira serão excluídos permanentemente." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Limpeza de Transientes" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"Transientes são opções temporárias e é seguro removê-los. Serão regenerados " +"automaticamente quando seus plugins precisarem deles." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Limpeza do Banco de Dados" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Reduz o excesso de informações nas tabelas do banco de dados" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Limpeza automática" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s revisão no seu banco de dados." +msgstr[1] "%s revisões no seu banco de dados." +msgstr[2] "%s revisões no seu banco de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s rascunho no seu banco de dados." +msgstr[1] "%s rascunhos no seu banco de dados." +msgstr[2] "%s rascunhos no seu banco de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s post na lixeira no seu banco de dados." +msgstr[1] "%s posts na lixeira no seu banco de dados." +msgstr[2] "%s posts na lixeira no seu banco de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s comentário spam no seu banco de dados." +msgstr[1] "%s comentários spam no seu banco de dados:" +msgstr[2] "%s comentários spam no seu banco de dados:" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s comentário na lixeira no seu banco de dados." +msgstr[1] "%s comentários na lixeira no seu banco de dados." +msgstr[2] "%s comentários na lixeira no seu banco de dados." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Todos os transientes" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transiente no seu banco de dados." +msgstr[1] "%s transientes no seu banco de dados." +msgstr[2] "%s transientes no seu banco de dados." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Otimizar Tabelas" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tabela a otimizar no seu banco de dados." +msgstr[1] "%s tabelas a otimizar no seu banco de dados." +msgstr[2] "%s tabelas a otimizar no seu banco de dados." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Agendar Limpeza Automática" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frequência" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Diária" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Semanal" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensal" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integrar a sua CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"Todos os URLs de arquivos estáticos (CSS, JS, imagens) serão reescritos " +"no(s) CNAME(s) que você fornecer." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"Não necessário para serviços como Cloudflare e Sucuri. Por favor veja os " +"%1$scomplementos%2$s disponíveis." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"%1$sComplemento %2$l %3$s está ativo no momento. Não é necessário configurar" +" CDN para %2$l funcionar no seu site." +msgstr[1] "" +"%1$sComplementos %2$l %3$s estão ativos no momento. Não é necessário " +"configurar CDN para %2$l funcionar no seu site." +msgstr[2] "" +"%1$sComplementos %2$l %3$s estão ativos no momento. Não é necessário " +"configurar CDN para %2$l funcionar no seu site." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "Ativar a CDN" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(s) da CDN" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Especifique abaixo a(s) CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"Especifique URL(s) de arquivos que não devem ser servidos pela CDN (um por " +"linha)." + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"A parte do domínio do URL será removida automaticamente.
    Use wildcards " +"(.*) para excluir todos os arquivos de um dado tipo de arquivo localizado em" +" um caminho específico." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "Controla a API Heartbeat do WordPress" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"Reduzir ou desabilitar a atividade da API Hartbeat pode economizar alguns " +"recursos do seu servidor." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "Reduz ou desabilita a atividade Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"Reduzir a atividade modifica a frequência do Heartbeat de um hit por minuto " +"para um hit a cada 2 minutos." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"Desabilitar totalmente Heartbeat pode quebrar plugins e temas que usem esta " +"API." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "Não limitar" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "Reduzir atividade" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "Desativar" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "Controlar Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "Comportamento no painel" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "Comportamento no editor de post" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "Comportamento na interface" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Complementos" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "Adicione mais recursos" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "Complementos de um clique do Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"Complementos de um clique são recursos que extendem as opções disponíveis " +"sem a necessidade de configurações. Ative a opção para ativar a partir desta" +" tela." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Complementos do Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" +"Os Complementos do Rocket são recursos complementares extendendo as opções " +"disponíveis." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integre a sua conta Cloudflare com este complemento." + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"Forneça o e-mail, a chave global da API e o domínio da sua conta para usar " +"opções como esvaziar o cache do Cloudflare e ativar as configurações " +"otimizadas com o WP Rocket." + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sPlanejando usar a Otimização Automática da Plataforma (OAP)?%2$s Basta " +"ativar e configurar o plugin oficial do Cloudflare. O WP Rocket irá ativar a" +" compatibilidade automaticamente." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Você deve ativar este complemento se roda o Varnish no seu servidor." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"O cache Varnish será esvaziado sempre que o WP Rocket esvaziar o seu cache " +"para garantir que o conteúdo esteja sempre atualizado.
    %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "Compatibilidade com WebP" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "Melhora a compatibilidade com os navegadores para imagens WebP." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"Ative esta opção se desejar que o WP Rocket sirva imagens WebP aos " +"navegadores compatíveis. Note que o WP Rocket não pode criar imagens WebP " +"para você. Para criar imagens WebP nós recomendamos o %1$sImagify%2$s. " +"%3$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Esvazia o cache Sucuri quando o cache do WP Rocket é esvaziado." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"Forneça a sua chave da API para limpar o cache Sucuri quando o cache do WP " +"Rocket é limpo." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sincronize o cache Sucuri com este complemento." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Credenciais do Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Configurações do Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Chave global da API:" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Encontre a sua chave da API" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "E-mail da Conta" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID de Zona" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "Modo de desenvolvimento" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"Ativa temporariamente o modo de desenvolvimento no seu site. Esta opção se " +"desativa automaticamente após 3 horas. %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "Configurações ótimas" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "" +"Melhora automaticamente as suas configurações no Cloudflare para velocidade," +" desempenho e compatibilidade." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "Protocolo relativo" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"Só deve ser usado com a função de SSL flexível do Cloudflare. URLs de " +"arquivos estáticos (CSS, JS, imagens) serão reescritos para usar // ao invés" +" de http:// ou https://." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Credenciais Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"Chave da API de Firewall (para o plugin), deve ser no formato {32 " +"caracteres}/{32 caracteres}:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Encontre a sua chave da API" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"Complemento Sucuri. A chave da API para o firewall Sucuri precisa estar no " +"formato {32 caracteres}/{32 caracteres}." + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"Adicionando /(*) em Regras avançadas > Nunca armazenar URL(s) em cache não " +"foi salva porque ela desativa o armazenamento em cache e as otimizações para" +" cada página do seu site." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importar, Exportar, Reverter" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Otimizar Imagens" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Comprima as suas imagens" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriais" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Comece a usar e vídeos didáticos" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intervalo de cache expirado do WP Rocket" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Valor de WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "" +"A constante WP_Cache precisa ser definida como true para que o cache do WP " +"Rocket funcione corretamente" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE está definido como true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE não está definido" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE está definido como false" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Próxima data de cobrança" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Nenhuma assinatura" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "A sua assinatura da RocketCDN está ativa." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Para usar a RocketCDN, substitua seu CNAME com %1$s%2$s%3$s." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sMais informações%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"Não foi possível caoletar o preço atual porque a API do RocketCDN retornou " +"um código de erro inesperado." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" +"A RocketCDN não está disponível no momento. Tente novamente mais tarde." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" +"Falha esvaziando o cache da RocketCDN: faltando parâmetro identificador." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Falha esvaziando o cache da RocketCDN: token de usuário faltando." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" +"Falha esvaziando o cache da RocketCDN: a API retornou um código inesperado " +"de resposta." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" +"Falha esvaziando o cache da RocketCDN: a API retornou uma resposta vazia." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" +"Falha esvaziando o cache da RocketCDN: a API retornou uma resposta " +"inesperada." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "Falha esvaziando o cache da RocketCDN: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "O cache da RocketCDN foi esvaziado com suesso." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php:72 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerEnableRoute.php:302 +msgid "RocketCDN enabled" +msgstr "RocketCDN ativa" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php:31 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerDisableRoute.php:147 +msgid "RocketCDN disabled" +msgstr "RocketCDN inativa" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "Válido apenas até %s! " + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Acelere o seu site graças a:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "" +"Rede de Entrega de Conteúdo (CDN) de alto desempenho com %1$slargura de " +"banda ilimitada%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" +"Configuração fácil: as %1$smelhores configurações da CDN%2$s são aplicadas " +"automaticamente" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"Integração do WP Rocket: a opção da CDN é %1$sconfigurada " +"automaticamente%2$s no nosso plugin" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Saiba mais sobre a RocketCDN" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*$%1$s/mês por 12 meses e então $%2$s/mês. Você pode cancelar a sua " +"assinatura a qualquer momento." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Cobrados mensalmente" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Começar" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Reduzir este banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" +"Acelere o seu site com a RocketCDN, a Rede de Distribuição de Conteúdo do WP" +" Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Saiba mais" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "A RocketCDN não funciona em domínios locais e sites de staging." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Obtenha a RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Novidade!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" +"Acelere o seu site com a RocketCDN, a Rede de Distribuição de Conteúdo do WP" +" Rocket!" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:265 +msgid "Every minute" +msgstr "A cada minuto" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Regenerar o Caminho do CSS Crítico" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Gerar CPCSS específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regenerar CPCSS específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "Este recurso não está disponível para tipos não-públicos de post." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l para usar este recurso." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "Publicar o %s" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Ativa o carregamento assíncrono do CSS nas configurações do WP Rocket" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Ativa o carregamento assíncrono do CSS nas opções acima" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "O CSS crítico para %1$s não foi gerado. Erro: %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"O CSS crítico de %1$s para dispositivos móveis não foi gerado. Erro: a API " +"retornou uma resposta vazia." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "" +"O CSS crítico de %1$s não foi gerado. Erro: a API retornou uma resposta " +"vazia." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "O CSS crítico de %1$s para dispositivos móveis não foi gerado." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "O CSS crítico para %1$s não foi gerado. " + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"O CSS crítico de %1$s para dispositivos móveis não foi gerado. Erro: a API " +"retornou um código de resposta inválido." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"O CSS crítico para %1$snão foi gerado. Erro: a API retornou um código " +"inválido de resposta. " + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "Erro: %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "A geração do CSS crítico está sendo executada." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" +"Vá até as %1$sConfigurações do WP Rocket%2$s para acompanhar o progresso." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"A geração do CSS crítico está sendo executada: %1$d de %2$d tipos de páginas" +" concluídos. (Atualize a página para ver o progresso)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Geração de CSS crítico concluída para %1$d de %2$d tipos de página." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "A geração de CSS crítico encontrou um ou mais erros." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Saiba mais." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"Recomendamos o %1$sRemover o CSS não usado atualizado%2$s para uma melhor " +"otimização do CSS. Carregar o CSS de Forma Assíncrona sempre está disponível" +" como um backup." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "Ficar com a opoção antiga" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"O CSS crítico para %1$s para dispositivos móveis não foi gerado. Erro: o " +"diretório de destino não pôde ser criado." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"O CSS crítico para %1$s não foi gerado. Erro: o diretório de destino não " +"pôde ser criado." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "O arquivo de CSS crítico para dispositivos móveis não existe" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "O arquivo do CSS crítico não existe" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" +"O arquivo do CSS crítico para dispositivos móveis não pode ser excluído" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "O arquivo do CSS crítico não pode ser excluído" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "O CSS crítico de %1$s para dispositivos móveis não foi gerado" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "O CSS crítico para %s está em execução." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "Gerado o CSS crítico de %s para dispositivos móveis." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "Foi gerado o CSS crítico para %s." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "O arquivo de CSS crítico foi excluído com sucesso." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"O tempo de execução para o CSS crítico para dispositivos móveis de %1$s foi " +"ultrapassado. Tente um pouco mais tarde." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"O tempo de execução para o CSS crítico de %1$s foi ultrapassado. Tente um " +"pouco mais tarde." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "A geração do CPCSS para dispositivos móveis não está ativa." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "O post solicitado não existe." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Não foi possível erar o CPCSS para post não publicado." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Esvaziamento agendado do cache" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Otimização agendada do banco de dados" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Processo de otimização do banco de dados" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Pré-Carregar" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Processo de geração do CSS do caminho crítico" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "Renove antes que seja tarde, você irá pagar apenas %1$s%2$s%3$s!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"Renove com um desconto %1$s%2$s de %3$s antes que seja tarde, você irá pagar" +" apenas %4$s%5$s%6$s!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Renove agora a sua licença por 1 ano em%1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"Renove agora a sua licença por 1 ano e obtenha %1$s%3$sGRÁTIS%2$s " +"imediatamente: você irá pagar apenas %1$s%4$s%2$s!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Renove antes que seja tarde demais, você pagará %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"Renove com %1$s%2$s de desconto %3$s antes que seja tarde demais, você só " +"pagará %1$s%4$s%3$s!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"Você precisa de uma licença válida para continuar usando este recurso. " +"%1$sRenove agora%2$s antes de perder o acesso." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"Você precisa de uma licença ativa para ativar esta opção. %1$sRenove " +"agora%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"Você precisa de uma licença ativa para ativar esta opção. %1$sMais " +"informações%2$s." + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"Beneficie-se do %1$s para acelerar mais websites: %2$s te dá %3$s %4$s de " +"desconto %5$s para %3$s atualizando a sua licença para Infinita!%5$s" +msgstr[1] "" +"Beneficie-se do %1$s para acelerar mais websites:%2$s te dá %3$s%4$s de " +"desconto%5$s para %3$satualizando a sua licença para Infinita!%5$s" +msgstr[2] "" +"Beneficie-se do %1$s para acelerar mais websites:%2$s te dá %3$s%4$s de " +"desconto%5$s para %3$satualizando a sua licença para Infinita!%5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Ilimitado" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "%sdesligado" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "Promoção %sao vivo!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Corra! A oferta termina em:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minutos" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Segundos" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Atualize agora" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "O recurso de Otimizar a Entrega do CSS está desativado." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"Você não pode mais usar as opções de Remover o CSS Não Usado ou Carregar o " +"CSS de forma assíncrona." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"Você precisa de uma %1$slicença ativa%2$s para manter a otimização da " +"entrega do seu CSS, que aciona uma recomendação do PageSpeed Insights e " +"melhora o desempenho da sua página." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Renove agora" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Em breve você perderá acesso a alguns recursos" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"Você precisa de uma %1$slicença ativa para continuar otimizando a entrega do" +" seu CSS%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"Os recursos de Remover o CSS Não Usado e Carregar o CSS de forma assíncrona " +"são ótimas opções para acionar recomendações do PageSpeed Insights e " +"melhorar o desempenho do seu site." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Serão %1$sautomaticamente desativados em %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "A sua licença do WP Rocket está expirada!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"O seu site pode ser muito mais rápido ao tirar vantagem dos nossos %1$snovos" +" recursos e melhorias%2$s. 🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"A sua %1$slicença do WP Rocket está para expirar%2$s: em breve você perderá " +"o acesso às atualizações do produto e ao suporte." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Acelere mais websites" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"Você pode usar o WP Rocket em mais sites atualizando a sua licença. Para " +"atualizar, asta pagar a diferença de preço de %1$s para %2$s entre a sua " +"licença atual e a nova, como mostrado abaixo." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" +"%1$s N.B. %2$s: Atualizando a sua licença não altera a sua data de expiração" +" " + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "Salvar $ %s" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s websites" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "Atualize para %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"Você pode usar o WP Rocket em mais sites atualizando a sua licença (você só " +"paga a diferença de preço entre a sua licença atual e a nova)." + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:62 +msgid "LazyLoad for images" +msgstr "LazyLoad para imagens" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:63 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad para iframes/vídeos" + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:48 +msgid "LazyLoad CSS backgrounds" +msgstr "LazyLoad nos fundos do CSS" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "Analíticas e Anúncios" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "Plugins" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "Temas" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"Você precisa de uma licença ativa para obter a última versão das listas do " +"nosso servidor." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:116 +msgid "Could not get updated lists from server." +msgstr "Não foi possível obter as listas atualizadas do servidor." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:125 +msgid "Lists are up to date." +msgstr "As listas estão atualizadas." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:134 +msgid "Could not update lists." +msgstr "Não foi possível atualizar as listas." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:143 +msgid "Lists are successfully updated." +msgstr "As listas foram atualizadas com sucesso." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "Listas Padrão" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "Listas de Exclusão do Retraso na Execução do JavaScript" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "Lista de plugins incompatíveis" + +#: inc/Engine/Optimization/Minify/AdminSubscriber.php:65 +msgid "Minify/combine JavaScript" +msgstr "Minificar/combinar o JavaSCript" + +#: inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php:150 +msgid "Minify CSS" +msgstr "Minificar o CSS" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$s: Espere %2$s segundos. O serviço de remoção do CSS não usado está " +"processando as suas páginas." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: O CSS usado da sua página inicial foi processado. O WP Rocket " +"continuará gerando o CSS usado de até %2$s URLs a cada %3$s segundo(s)." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" +"Sugerimos ativar o %1$sPré-carregamento%2$s para resultados mais rápidos." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" +"Para aprender mais sobre o processo veja a nossa %1$sdocumentação%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"Não foi possível gerar o CSS não usado porque você está usando uma versão " +"anulada registrada do WP Rocket. Você precisa de uma licença ativa para usar" +" o recurso de Remover CSS Não Usado e melhorar ainda mais o desempenho do " +"seu site." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" +"Clique aqui para obter uma licença única do WP Rocket com %1$s de desconto!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"Parece que um plugin de segurança ou firewall de servidore está impedindo o " +"WP Rocket de acessar o gerador de Remoção de CSS não usado. IPs listados " +"%1$saqui na nossa documentação%2$s devem ser adicionados na sua lista de " +"permitidos:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- No plugin de segurança, se estiver usando um." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "" +"- No firewall do servidor. Sua compania de hospedagem poderá te ajudar com " +"isso" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: Não conseguiu criar a tabela %2$s no banco de dados, que é necessária " +"para que o recurso Remoção do CSS não usado possa funcionar. Entre em " +"contato com o %3$snosso suporte%4$s. " + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:286 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: A opção do CSS usado não está ativa!" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:308 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Cache do CSS usado limpo!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "Limpar o CSS usado deste URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "Remover trabalhos pendentes do CSS Não Usado do WP Rocket" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "Limpar o Remover o CSS Não Usado do WP Rocket" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s: O serviço de pré-carregamento está ativo agora. Após o pré-" +"carregamento inicial ele continuará a armazenar todas as suas páginas em " +"cache cada vez que ele for esvaziado. Nenhuma outra ação é necessária." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "Trabalhos pendentes do Pré-carregamento do WP Rocket" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "O pré-carregamento do WP Rocket reverte jobs empacados que falharam" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"Parece que houve um problema validando a sua licensa. Por favor veja as " +"mensagens de erro abaixo." +msgstr[1] "" +"Parece que houve um problema validando a sua licença. Por favor veja a " +"mensagem de erro abaixo." +msgstr[2] "" +"Parece que houve um problema validando a sua licença. Por favor veja a " +"mensagem de erro abaixo." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Tipo de servidor:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Número da versão do PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Número da versão do WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress Multisite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Tema atual:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Idioma atual do site:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Plugins ativos:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Nomes de todos os plugins ativos" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Configurações anonimizadas do WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Quais configurações do WP Rocket estão ativas" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Os dados fornecidos de licensa não são válidos." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Para resolver, %1$scontate o suporte%2$s." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"Falha na validação da licença. Nosso servidor não pôde resolver a " +"solicitação do seu website." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Experimente clicar em %1$sValidar a Licença%2$s abaixo. Se o erro persistir," +" siga %3$seste guia%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"Falha na validação da licença. Você pode estar usando uma versão " +"desatualizada do plugin. Faça o seguinte:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Conecte-se à sua %1$sconta%2$s do WP Rocket" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Baixe o arquivo zip" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstalar" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Se você não tem uma conta do WP Rocket, %1$scompre uma licença%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"A validação da licença falhou: Esta conta de usuário não existe em nosso " +"banco de dados." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Contacte o suporte para solucionar." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "A validação da licença falhou. Esta conta de usuário está bloqueada." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Veja %1$seste guia%2$spara mais informações." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Experimente clicar abaixo em %1$sSalvar Alterações%2$s. Se o erro persistir," +" siga %3$seste guia%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Sua licença não é válida." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Certifique-se de ter uma %1$slicença ativa do WP Rocket%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" +"Você já adicionou o máximo de sites permitidos para a sua licença atual." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"Atualize sua %1$sconta%2$s ou %3$stransfira a sua licença%2$s para este " +"domínio." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Este website não é permitido." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "Por favor %1$scontacte o suporte%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Esta chave de licença não foi reconhecida." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Se o problema persistir, %1$scontacte o suporte%2$s." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "A validação da licença falhou: %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "O arquivo de registro não existe." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "Não foi possível ler o arquivo de registro." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Os registros não foram salvos em um arquivo." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"O auto-esvaziamento do Varnish será ativado automaticamente quando o Varnish" +" for ativado no seu servidor %s." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"Alguns arquivos do núcleo do Kinsta responsáveis pela limpeza de Chache " +"parecem estar faltando na sua instalação, o que irá impedir que a sua " +"instalação no Kinsta e o WP Rocket funcionem corretamente. Entre em contato " +"com o suporte Kinsta em sua conta %1$sMyKinsta%2$s para resolver este " +"problema." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:127 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s: O Push do Servidor HTTP/2 do Cloudflare é incompatível com os recursos" +" de Remover o CSS Não Utilizado e Combinar arquivos de CSS. Recomendamos " +"desativá-los." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:170 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"Seu site está usando o plugin oficial do Cloudflare. Ativamos o esvaziamento" +" automático do Cloudflare para compatibilidade. Se você tem o OAP ativado, " +"ele também é compatível." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:171 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"O cache do Cloudflare será esvaziado sempre que o WP Rocket esvaziar o seu " +"cache, para garantir que o conteúdo está sempre atualizado." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:215 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sWP Rocket:%2$s Se estiver usando \"Cache Dinâmico de Cookies\", o OAP do" +" Cloudflare ainda não é compatível com este recurso." + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:221 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"Você deve ou desativar o OAP do Cloudflare, ou verificar com o desenvolvedor" +" do seu tema/plugin requerendo o uso de \"Cache Dinâmico de Cookies\" por " +"uma forma alternativa de ser amigável ao cache de páginas. %1$sMais " +"informações%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:272 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket:%2$s Você está usando \"arquivos de cache separados para " +"dispositivos móveis\". É preciso que ativee a %3$sconfiguração%5$s \"Cache " +"por Tipo de Dispositivo\" no OAP do Cloudflare para servir a versão correta " +"do cache. %4$sMais informações%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:293 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket:%2$s Você tem o \"Cache por Tipo de Dispositivo\" ativo no OAP" +" do Cloudflare. Se julgar necessário que o site tenha um cache separado para" +" dispositivos móveis e desktop, sugerimos que ative nosso \"Arquivos " +"Separados de Cache para Dispositivos Móveis\" para garantir que o cache " +"gerado é preciso." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: Mod PageSpeed não é compatível com este plugin e pode" +" causar resultados inesperados. %2$sMais informações%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket: %2$sDetectamos que o recurso de Agregação de JavaScript do " +"Autoptimize está ativo. O Retraso na execução de JavaScript do WP Rocket não" +" será aplicado ao arquivo que ele cria. Sugerimos desativar a %1$sAgregação " +"de JavaScript%2$s para tirar vantagem do Retraso na execução de JavaScript." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket: %2$sDetectamos que o Agregar o CSS inline do Autoptimize está" +" ativa. O Carregamento assíncrono de CSS do WP Rocket não irá funcionar " +"corretamente. Sugerimos desativar a %1$sAgregar o CSS inline%2$s para tirar " +"vantagem da Execução assíncrona do carregamento de CSS." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"Este plugin bloqueia o cache e otimizações do WP Rocket. Deative-o e use a " +"%1$sintegração Ezoic de nameserver%2$s ao invés dele." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "" +"Desative a seguinte opção %s que está causando conflitos com funções do WP " +"Rocket:" +msgstr[1] "" +"Desative as seguintes opções %s que estão causando conflitos com funções do " +"WP Rocket:" +msgstr[2] "" +"Desative as seguintes opções %s que estão causando conflitos com funções do " +"WP Rocket:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"A %3$s de desabilitar emojis do %1$s %2$s está gerando conflito com a %2$s " +"de desabilitar emoji %3$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"A %3$s de compressão GZIP do %1$s %2$s está gerando conflito com a %3$s de " +"compressão GZIP %2$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"A %3$s de cache do navegador do %1$s %2$s está gerando conflito com a %3$s " +"de cache do navegador %2$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" +"A %3$s de cache de páginas do %1$s %2$s está gerando conflito com a %3$s de " +"cache de páginas %2$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"A %3$s de otimização de recursos do %1$s %2$s está gerando conflito com a " +"%3$s de otimização de recursos %2$s do WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"Remover o CSS Não-Usado no momento está ativado no Perfmatters. Se deseja " +"usar o recurso de Remover o CSS Não-Usado do WP Rocket, desative esta opção " +"no Perfmatters." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"A remoção automatizada do CSS não usado no momento está ativada no RapidLoad" +" Power-Up para o Autoptimize. Se deseja usar o recurso de Remover o CSS Não-" +"Usado do WP Rocket, desative o plugin RapidLoad Power-Up para o Autoptimize." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"Atrasar o JS está ativo no momento em %1$s. Se deseja usar o atrasar JS do " +"WP Rocket, desative %1$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"Seu modelo Divi foi atualizado. Limpe o CSS Usado caso o layout, o design ou" +" os estilos CSS tiverem sido alterados." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Carrega o CSS de forma assíncrona em dispositivos móveis" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"O seu site atualmente usa o mesmo CSS de caminho crítico para desktop e " +"dispositivos móveis." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" +"Clique no botão para ativar o CPCSS específico para dispositivos móveis no " +"seu site." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "" +"Esta é uma ação única e este botão será removido em seguida. %1$sMais " +"informações%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"O seu site agora esta usando CSS de caminho crítico específico para " +"dispositivos móveis. %1$sMais informações%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Gerar CPCSS específico para dispositivos móveis" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "CSS do caminho crítico" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" +"Gera o CSS de caminho crítico específico para este post. %1$sMais " +"informações%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" +"Este post usa CSS de caminho crítico específico. %1$sMais informações%2$s " + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Reverter ao CPCSS padrão" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Está com um problema?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"Nem sempre é necessário desativar o WP Rocket ao encontrar problemas. A " +"maioria deles pode ser corrigida desativando apenas algumas opções." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"Nosso conselho? Ao invés de desativar o WP Rocket, use o nosso %1$sModo " +"Seguro%2$s para desativar rapidamente as opções de Lazy Load, a Otimização " +"de Arquivos e CDN. Verifique então se o seu problema foi resolvido." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "Deseja usar o Modo Seguro para resolver problemas com o WP Rocket?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Sim, aplique o \"%1$sModo Seguro%2$s\"" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"e exporte as configurações do WP Rocket %1$s (Recomendado já que as " +"configurações atuais serão apagadas) %2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Não, desative e não mostre esta mensagem por " + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 dia" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 dias" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 dias" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Para sempre" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Cancelar" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Confirmar" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +"O %1$sWP Rocket%2$s %3$s está disponível. %4$sSaiba mais%5$s sobre as " +"atualizações e melhorias nesta atualização de versão. Você precisa de uma " +"licença ativa para usá-la no seu website, não perca! %6$sRenove agora%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Atualizar as Listas de Inclusão e Exclusão" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"As listas de compatibilidade são baixadas automaticamente a cada semana. " +"Clique o botão se quiser atualizá-las manualmente. %1$sMais informações%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Atualizar as listas" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Ativar a otimização das Fontes Google" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"Melhora o desempenho das fontes e combina múltiplas requisições de fonte " +"para reduzir o número de requisições HTTP." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"A otimização das fontes Google está ativada neste site. %1$sMais " +"informações%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Otimizar Fontes Google" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Limpar o cache após" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS e JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importar configurações" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Status do complemento" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modificar opções" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME do CDN" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Esvazia os recursos no cache da RocketCDN para o seu site. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Saiba mais" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Limpar todos os arquivos do cache da RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache do Cloudflare" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "Esvazia os ítens em cache no seu site. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Limpar todos os arquivos do cache do Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Parabéns!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "O WP Rocket está ativo e já está trabalhando para você." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Seu site já deve estar carregando mais rápido!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"Para garantir sites rápidos o WP Rocket aplica automaticamente 80% das " +"melhores p'raticas de desempenho web." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"Também ativamos opções que permitem benefícios imediatos para o seu site." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Continue para as opções para otimizar ainda mais o seu site!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Minha Conta" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Atualizar informações" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "com" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Data de Expiração" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Ver a minha conta" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Ações Rápidas" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Remover todos os arquivos em cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Regenerar CSS Crítico" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Remover o cache de CSS usado" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Dúvidas Frequentes" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Ainda não consegue achar uma solução?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" +"Envie um ticket e obtenha ajuda dos nossos amigos Rocketeers experientes." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Solicite suporte" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Faça um backup do seu banco de dados antes de executar uma limpeza!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "" +"Uma vez que a otimização do banco de dados é feita, não há como desfazê-la." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Salvar alterações e otimizar" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"%1$sWP ROCKET%2$s criou %3$sIMAGIFY%4$s %1$spara melhor otimização de " +"imagens.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"Comprime imagens para tornar seu site mais rápido, mantendo a qualidade da " +"imagem." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Mais sobre o Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Página do Plugin Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Website do Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Análise dos Plugins de Compressão de Imagem" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instalar o Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "O WP Rocket não conseguiu validar automaticamente a sua licença." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Siga este %1$s, ou entre em contat com %2$s para iniciar o mecanismo." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssuporte%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Limpar todos os arquivos do cache Sucuri" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Tamanho do arquivo: %1$s. Número de entradas: %2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sBaixar o arquivo%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sExcluir o arquivo%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Exportar as configurações" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Baixar um backup das suas configurações" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Baixar as configurações" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Reverter" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "A versão %s causou algum problema no seu site?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"Você pode voltar atrás para a última versão estável aqui. %sEnvie em seguida" +" um pedido de suporte." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "Reinstalar a versão %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Módo de depuração" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Criar um arquivo de registro de depuração." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Comece a usar" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Começando a usar o WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Encontrando as melhores configurações para o seu site" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Como verificar se o WP Rocket está fazendo cache do seu site" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Como medir a velocidade do seu site" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Como funciona o pré-carregamento" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Passando os vitais do Core Web" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Como melhorar o LCP com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Como melhorar o FID com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Como melhorar o CLS com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Solução de problemas" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Resolvendo problemas de visualização com a otimização de arquivos" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Como encontrar o JavaScript correto a excluir" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Como o conteúdo externo deixa seus ite mais lento" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configure o complemento do Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Configurações do WP Rocket" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "versão %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Exibir Barra Lateral" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"Abaixo está uma visão detalhada de todos os dados que o WP Rocket irá " +"coletar %1$sse tiver a sua permissão%2$s" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"O WP Rocket jamais irá transmitir quaisquer nomes de domínio e endereços de " +"e-mail (exceto para a validação da licença), endereços IP ou chaves de API " +"de terceiros." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Ativar analytics do Rocket" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "É um excelente começo solucionar alguns dos problemas mais comuns." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Ler a documentação" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "O que o WP Rocket faz para você por padrão" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Como medir corretamente o tempo de carregamento do seu site" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Veja o nosso tutorial e aprenda como medir a velocidade do seu site." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Leia o nosso guia" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" +"Aprenda sobre as configurações ótimas do WP Rocket para dispositivos móveis." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Teste e melhore os Google Core Web Vitals para WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Leia mais" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Você não ativou o cache para usuários conectados." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"Use uma janela privativa do navegador para verificar a velocidade e " +"aparência visual do seu site." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Precisa de Ajuda?" diff --git a/languages/rocket-pt_PT.mo b/languages/rocket-pt_PT.mo new file mode 100644 index 0000000..d465106 Binary files /dev/null and b/languages/rocket-pt_PT.mo differ diff --git a/languages/rocket-pt_PT.po b/languages/rocket-pt_PT.po new file mode 100644 index 0000000..428b8e5 --- /dev/null +++ b/languages/rocket-pt_PT.po @@ -0,0 +1,4664 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Pedro Mendonça , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15.1-alpha1\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-09-25T14:39:29+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Pedro Mendonça , 2023\n" +"Language-Team: Portuguese (Portugal) (https://app.transifex.com/wp-media/teams/18133/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Plugin Name of the plugin +msgid "WP Rocket" +msgstr "WP Rocket" + +#. Plugin URI of the plugin +msgid "https://wp-rocket.me" +msgstr "https://wp-rocket.me" + +#. Description of the plugin +msgid "The best WordPress performance plugin." +msgstr "O melhor plugin de desempenho para WordPress." + +#. Author of the plugin +msgid "WP Media" +msgstr "WP Media" + +#. Author URI of the plugin +msgid "https://wp-media.me" +msgstr "https://wp-media.me" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"O seu site está alojado em %s, foi activada a limpeza automática do Varnish " +"para garantir a compatibilidade." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "A Cloudflare não forneceu nenhuma resposta. Tente mais tarde." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Resposta inesperada de Cloudflare" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Resultado do Cloudflare em falta." + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" +"O endereço de email ou a chave de API da Cloudflare estão incorrectos." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Leia a %1$sdocumentação%2$s para mais informações." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "O ID da zona da Cloudflare está incorrecto." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"O email e/ou a chave de API da Cloudflare não estão definidos. Leia a " +"%1$sdocumentação%2$s para mais informações." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Falta o ID da zona da Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Parece que o seu domínio não está configurado na Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "dias" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "segundos" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "minutos" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "horas" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket:%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket:%2$s Cache da Cloudflare limpa com sucesso." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Erro no modo de desenvolvimento da Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Modo de desenvolvimento da Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Erro no nível de cache da Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "padrão" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Nível de cache da Cloudflare definido para %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Erro na minificação da Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Minificação da Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Erro no Rocket Loader da Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Rocket Loader da Cloudflare %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Erro na cache do navegador da Cloudflare: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cache do navegador da Cloudflare definida como %s" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sWP Rocket:%2$s Opções ideais activadas para a Cloudflare:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sWP Rocket:%2$s Opções ideais desactivadas para a Cloudflare, foram " +"revertidas as opções anteriores:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Erro na limpeza da cache do Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"O cache do Sucuri está a ser limpa. Atenção que poderá demorar até dois " +"minutos a ser completamente limpa." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "A chave de API do Sucuri não foi encontrada." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "A chave de API do Sucuri é inválida." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Erro ao ligar à API da firewall do Sucuri. A mensagem de erro: %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Não foi possível obter uma resposta da API de firewall do Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Resposta inválida da API da firewall do Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "A API da firewall do Sucuri devolveu um erro desconhecido." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "A API da firewall do Sucuri devolveu o seguinte erro: %s" +msgstr[1] "A API da firewall do Sucuri devolveu os seguintes erros: %s" +msgstr[2] "A API da firewall do Sucuri devolveu os seguintes erros: %s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"Está a usar o %1$s para servir imagens WebP, pelo que não precisa de activar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir que seja o WP Rocket " +"a servir estas imagens, por favor desactive esta opção em %1$s." +msgstr[1] "" +"Está a usar o %1$s para servir imagens WebP, pelo que não precisa de activar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir que seja o WP Rocket " +"a servir estas imagens, por favor desactive esta opção em %1$s." +msgstr[2] "" +"Está a usar o %1$s para servir imagens WebP, pelo que não precisa de activar" +" esta opção. %2$sMais informações%3$s %4$s Se preferir que seja o WP Rocket " +"a servir estas imagens, por favor desactive esta opção em %1$s." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "A cache de WebP está desactivada através de um filtro." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"Está a usar %1$s para converter imagens para WebP. Se quiser que o WP Rocket" +" sirva estas imagens, active esta opção. %2$sMais informações%3$s" +msgstr[1] "" +"Está a usar %1$s para converter imagens para WebP. Se quiser que o WP Rocket" +" sirva estas imagens, active esta opção. %2$sMais informações%3$s" +msgstr[2] "" +"Está a usar %1$s para converter imagens para WebP. Se quiser que o WP Rocket" +" sirva estas imagens, active esta opção. %2$sMais informações%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"Está a usar %1$s para converter imagens para WebP. O WP Rocket irá criar " +"ficheiros separados de cache para servir as suas imagens WebP. %2$sMais " +"informações%3$s" +msgstr[1] "" +"Está a usar %1$s para converter imagens para WebP. O WP Rocket irá criar " +"ficheiros separados de cache para servir as suas imagens WebP. %2$sMais " +"informações%3$s" +msgstr[2] "" +"Está a usar %1$s para converter imagens para WebP. O WP Rocket irá criar " +"ficheiros separados de cache para servir as suas imagens WebP. %2$sMais " +"informações%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sNão foi detectado nenhum plugin de WebP compatível!%6$s%4$s Se ainda não" +" tiver imagens WebP no seu site, considere usar o %3$sImagify%2$s ou outro " +"plugin suportado. %1$sMais informações%2$s %4$s Se não estiver a usar WebP, " +"não active esta opção." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"O WP Rocket irá criar ficheiros separados de cache para servir as suas " +"imagens WebP." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Suporte" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Documentação" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "Perguntas frequentes" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Opções" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "Limpar esta cache" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Falhou ao importar as opções: Não tem permissões para fazer isto." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "Falhou ao importar as opções: Nenhum ficheiro carregado." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "Falhou ao importar as opções: Nome de ficheiro incorrecto." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "Falhou ao importar as opções: Tipo de ficheiro incorrecto." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "Falhou ao importar as opções: " + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "Falhou ao importar as opções: Ficheiro com conteúdo inesperado." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "As opções foram importadas e guardadas." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "Ficheiros de CSS excluídos" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript em linha excluído" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "Ficheiros de JavaScript excluídos" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "Diferir ficheiros de JavaScript" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "Ficheiros de JavaScript excluídos do diferimento" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "Nunca criar cache dos URL" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "Nunca criar cache de agentes de utilizador" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "Limpar sempre os URL" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "Excluir ficheiros da CDN" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Este padrão é inválido e foi removido:" +msgstr[1] "Estes padrões são inválidos e foram removidos:" +msgstr[2] "Estes padrões são inválidos e foram removidos:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "Mais informações" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Limpar cache" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"O %1$s não foi desactivado por falta de permissão de escrita.
    \n" +"Active a permissão de escrita para o %2$s e tente de novo, ou force a desativação agora:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: Um ou mais plugins foram activados ou desactivados, " +"caso afectem a interface do seu site, deve limpar a cache." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: Os seguintes plugins não são compatíveis com este " +"plugin e poderão causar resultados inesperados:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "Desactivar" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"O WP Rocket Footer JS não é um módulo oficial. Impede o funcionamento " +"correcto de algumas opções do WP Rocket. Deverá ser desactivado caso tenha " +"algum problema." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"O plugin Endurance Cache está activo de momento, e pode entrar em conflito " +"com o WP Rocket Cache. Por favor configure o nível de cache do Endurance " +"Cache para Inactivo (Level 0) na página %1$sConfigurações > Geral%2$s para " +"evitar quaisquer problemas." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: É obrigatória uma estrutura personalizada de ligações permanentes para" +" o plugin funcionar correctamente. %2$sVá para as opções das ligações " +"permanentes%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" +"O %s não pôde modificar o ficheiro .htaccess devido à falta de permissões de" +" escrita." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" +"Resolução de problemas: %1$sComo activar a permissão escrita nos ficheiros " +"do sistema%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "" +"Não se preocupe, a cache de páginas e as opções do WP Rocket continuarão a " +"funcionar correctamente." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"Para um óptimo desempenho, é recomendado adicionar estas linhas ao seu " +"ficheiro .htaccess (não obrigatório):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"O %1$s está pronto! %2$sTeste o tempo de carregamento%4$s ou consulte as " +"suas %3$sopções%4$s." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"Permite que o WP Rocket recolha dados não sensíveis de diagnóstico deste " +"site?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Isto ajuda-nos a melhorar o WP Rocket no futuro." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "Que informação vamos recolher?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"Abaixo está uma lista detalhada de todos os dados que o WP Rocket irá " +"recolher caso dê permissão. O WP Rocket nunca irá transmitir quaisquer nomes" +" de domínio ou endereços de email (excepto para validação de licença), " +"endereços de IP ou chaves de API de terceiros." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "Sim, permitir" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "Não, obrigado" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "Obrigado!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "O WP Rocket agora recolhe as seguintes métricas do seu site:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s: A cache foi limpa." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s: A cache do conteúdo foi limpa." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s: A cache do termo foi limpa." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s: A cache do utilizador foi limpa." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Descartar esta notificação" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Limpar CSS utilizado" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "Parar pré-carregamento" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "Ligar a remoção de CSS não utilizado" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "Active agora os \"Ficheiros de cache separados para dispositivos móveis\"" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "Forçar desactivação " + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "Deveria ter sido escrito neste ficheiro o seguinte código:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" +"Não é possível configurar o %s devido à falta de permissões de escrita." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "Ficheiro/pasta afectados: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Não foi possível eliminar o ficheiro de depuração." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Para funcionar correctamente, o %1$s %2$s requer pelo menos:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"PHP %1$s. Para usar esta versão do WP Rocket, por favor consulte o seu " +"serviço de alojamento para actualizar o seu servidor para o PHP %1$s ou " +"superior." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"WordPress %1$s. Para usar esta versão do WP Rocket, por favor actualize seu " +"WordPress para a versão %1$s ou superior." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"Se não puder actualizar, ainda pode reverter para a versão anterior através " +"do botão abaixo." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "Reinstalar a versão %s" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "Reversão da actualização do %s" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +"Falhou ao detectar o seguinte requisito no seu tema: fecho de %1$s." +msgstr[1] "" +"Falhou ao detectar os seguintes requisitos no seu tema: fecho de %1$s." +msgstr[2] "" +"Falhou ao detectar os seguintes requisitos no seu tema: fecho de %1$s." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Limpar e pré-carregar cache" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "Todos os idiomas" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "Limpar este conteúdo" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "Limpar este URL" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "Limpar cache do Sucuri" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Limpar a cache da RocketCDN" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentação" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Activar o Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Instale gratuitamente o Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"Acelere o seu site e melhore o seu SEO diminuindo o tamanho dos ficheiros " +"das imagem sem perder qualidade com o Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Mais detalhes" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Pré-carregamento do sitemap: %d páginas foram adicionadas à cache." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"Pré-carregamento do sitemap: %d páginas sem cache foram pré-carregadas. " +"(actualize a página para ver o progresso)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"Ocorreu um erro inesperado. Pode haver um problema no servidor WP-Rocker.me " +"ou na configuração deste servidor. Se o problema persistir, contacte o suporte." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Escolha um domínio da lista" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Nenhum domínio disponível na sua conta da Cloudflare" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"O Curl está desactivado no seu servidor. Peça ao seu serviço de alojamento " +"para activar. Isto é necessário para que o módulo da Cloudflare funcione " +"correctamente." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"O email, a chave de API e o ID da zona não estão definidos. Leia a " +"%1$sdocumentação%2$s para mais informações." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"O email e a chave de API da Cloudflare não estão definidos. Leia a " +"%1$sdocumentação%2$s para mais informações." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Falhou ao ligar a Cloudflare" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" +"WP Rocket: A cache da Cloudflare foi limpa com sucesso." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"Falhou a execução do evento agendado abaixo. Isto pode indicar que o sistema" +" CRON não está a funcionar correctamente, e impedir algumas funcionalidades " +"do WP Rocket de funcionarem como esperado:" +msgstr[1] "" +"Falhou a execução dos eventos agendados abaixo. Isto pode indicar que o " +"sistema CRON não está a funcionar correctamente, e impedir algumas " +"funcionalidades do WP Rocket de funcionarem como esperado:" +msgstr[2] "" +"Falhou a execução dos eventos agendados abaixo. Isto pode indicar que o " +"sistema CRON não está a funcionar correctamente, e impedir algumas " +"funcionalidades do WP Rocket de funcionarem como esperado:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "" +"Contacte com o seu serviço de alojamento para verificar se o CRON está a " +"funcionar." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Falhou ao limpar a OPcache." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "A OPcache foi limpa com sucesso" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Sitemap XML do Yoast SEO" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"Foi detectado automaticamente o sitemap gerado pelo plugin %s. Pode " +"seleccionar a opção para o pré-carregar." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sVolte para o WP Rocket%2$s ou %3$svá para a página de plugins%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Sitemap XML do All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Sitemap XML do Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Sitemap XML do SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Sitemap XML do The SEO Framework" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Sitemaps XML do Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Pré-carregar sitemap do plugin Jetpack" + +#: inc/deprecated/3.15.php:28 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:74 +msgid "WP Rocket Options" +msgstr "Opções do WP Rocket" + +#: inc/deprecated/3.15.php:57 views/metaboxes/post_edit_options.php:19 +msgid "Never cache this page" +msgstr "Nunca criar cache desta página" + +#: inc/deprecated/3.15.php:61 views/metaboxes/post_edit_options.php:23 +msgid "Activate these options on this post:" +msgstr "Activar estas opções neste conteúdo:" + +#. translators: %s is the name of the option. +#: inc/deprecated/3.15.php:81 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:121 +msgid "Activate first the %s option." +msgstr "Active primeiro a opção %s." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/deprecated/3.15.php:97 views/metaboxes/post_edit_options.php:38 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sAtenção:%2$s Nenhuma destas opções será aplicada se este conteúdo tiver " +"sido excluído da cache nas opções globais da cache." + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Ficheiros JS com carregamento diferido de JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Adicionar URL" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "Opções guardadas." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "" +"Antes de poder carregar o seu ficheiro de importação tem de corrigir o " +"seguinte erro:" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Escolha um ficheiro do seu computador (tamanho máximo: %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "Carregar ficheiro e importar opções" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "As suas credenciais da Cloudflare são válidas." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "As suas credenciais da Cloudflare são inválidas!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Guardar e optimizar" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimizar" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Atenção:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Dica de desempenho:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Foi detectada uma funcionalidade de terceiros:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Aviso:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Descarregar opções" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Substituir o nome do alojamento do site por:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reservado para" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Todos os ficheiros" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Imagens" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Adicionar CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Ver o vídeo" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Básico" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Ficheiros estáticos" + +#: inc/deprecated/deprecated.php:1773 inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/Engine/CDN/Admin/Subscriber.php:28 +msgid "CDN" +msgstr "CDN" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avançado" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "Base de dados" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "Pré-carregamento" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Ferramentas" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licença" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"O %1$s %2$s requer pelo menos o PHP %3$s para funcionar correctamente. Para " +"usar esta versão, por favor consulte o seu serviço de alojamento para " +"actualizar o seu servidor para o PHP %3$s ou superior. Se não for possível " +"actualizar, poderá reverter o plugin para a versão anterior através do botão" +" abaixo." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"A classe %1$s está obsoleta desde a versão %2$s! Utilize " +"%3$s em alternativa." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "A classe %1$s está obsoleta desde a versão %2$s!" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "semanalmente" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revisões" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Rascunhos automáticos" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Conteúdos no lixo" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Comentários de spam" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Comentários no lixo" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Transientes" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabelas" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mensalmente" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "O processo de optimização da base de dados está a decorrer" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "" +"O processo de optimização da base de dados foi concluído. Está tudo " +"optimizado!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"O processo de optimização da base de dados foi concluído. Lista de itens " +"optimizados:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sWP Rocket:%2$s Foi detectado que o domínio do seu site foi alterado. Os " +"ficheiros de configuração têm de ser regenerados para que a cache das " +"páginas e as restantes optimizações funcionem como pretendido. %3$sSaiba " +"mais%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "Regenere agora os ficheiros de configuração do WP Rocket" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Guardar alterações" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Validar licença" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Indisponível" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Chave de API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Endereço de email" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Painel" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Obter ajuda, informações da conta" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "O meu estado" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Analytics" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"Concordo em partilhar informações anónimas com a equipa de desenvolvimento " +"para ajudar a melhorar o WP Rocket. %1$sQue informações recolhemos?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Opções básicas de cache" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache de dispositivos móveis" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Acelere o seu site em dispositivos móveis." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"Foi detectada a utilização de um plugin que requer uma cache separada para " +"dispositivos móveis, e foi activada esta opção para garantir a " +"compatibilidade." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache de utilizadores" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"A %1$scache de utilizadores%2$s é óptima quando tem conteúdos específicos " +"para utilizadores ou conteúdos restritos no seu site." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Expiração da cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"Serão eliminados os ficheiros de cache mais antigos do que a expiração " +"especificada.
    Active o %1$spré-carregamento%2$s para a cache ser " +"reconstruída automaticamente após a sua expiração." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Activar cache para utilizadores do WordPress com sessão iniciada" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Activar cache para dispositivos móveis" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Ficheiros de cache separados para dispositivos móveis" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"A maioria dos temas modernos é responsiva e deverá funcionar sem uma cache " +"separada. Active isto apenas se tiver um tema ou plugin dedicado a " +"dispositivos móveis. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"Especifique o tempo após o qual a cache global é limpa
    (0 = ilimitado)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"Reduza a expiração para 10 horas ou menos se notar erros que parecem surgir " +"periodicamente. %1$sPorquê?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Horas" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Dias" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimizar ficheiros" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimize o CSS e JS" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"De momento a minificação do %1$s está activada no " +"Autoptimize. Se quiser usar a minificação do %2$s, " +"desactive esta opção no Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Ficheiros de CSS" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Ficheiros de JavaScript" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"De momento a minificação do %1$s está activada no " +"Autoptimize. Se quiser usar a minificação do %2$s, " +"desactive esta opção no Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"Se tiver algum problema depois de activar esta opção, copie e cole as " +"exclusões por omissão para corrigir os erros rapidamente:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"Além disto, por favor consulte a nossa %1$sdocumentação%2$s para uma lista " +"de exclusões compatíveis." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"Os scripts internos estão excluídos por omissão para evitar problems. " +"Remova-os para tirar total partido desta opção." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"Se isto criar algum problema, recupere as exclusões por omissão %1$saqui%2$s" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minificar ficheiros de CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" +"A minificação do CSS remove espaços em branco e comentários para reduzir o " +"tamanho do ficheiro." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "Isto poderá danificar alguma coisa!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"Se notar quaisquer erros no seu site depois de activar esta opção, basta " +"desactivar de novo para o seu site voltar ao normal." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Activar minificação do CSS" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"Especifique os URL de ficheiros de CSS a excluir da minificação (um por " +"linha)." + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"Interno: O domínio será removido automaticamente do URL. " +"Use wildcards (.*).css para excluir todos os ficheiros de CSS localizados " +"num caminho específico." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"Terceiros: Use o caminho completo do URL ou apenas o nome " +"do domínio, para excluir CSS externo. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "Optimizar entrega do CSS" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"A optimização de entrega do CSS elimina o CSS que bloqueia a apresentação do" +" seu site. Apenas pode seleccionar um método. Para um óptimo desempenho é " +"recomendado Remover CSS não utilizado, mas apenas para utilizadores com uma " +"licença activa." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"A optimização de entrega do CSS elimina o CSS que bloqueia a apresentação do" +" seu site. Apenas pode seleccionar um método. Para um óptimo desempenho é " +"recomendado Remover CSS não utilizado." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"As funcionalidades de optimizar entrega do CSS estão desactivadas em " +"ambientes locais. %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:736 +#: inc/Engine/Optimization/RUCSS/Admin/OptionSubscriber.php:74 +msgid "Remove Unused CSS" +msgstr "Remover CSS não utilizado" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"Remove CSS não utilizado por página, o que ajuda a reduzir o tamanho da " +"página e os pedidos HTTP. Recomendado para um melhor desempenho. Teste com " +"cuidado! %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "Activar a remoção de CSS não utilizado" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "CSS a não remover" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"Especifique os ficheiros, ID ou classes CSS que não devem ser removidos (um " +"por linha)." + +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/CriticalPath/Admin/Subscriber.php:200 +msgid "Load CSS asynchronously" +msgstr "Carregamento assíncrono de CSS" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"De momento o CSS é carregado de modo assíncrono pelo plugin %1$s. Se quiser " +"usar o carregamento assíncrono de CSS do WP Rocket, desactive o plugin %1$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"Gera CSS do caminho crítico e carrega o CSS de modo assíncrono. %1$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "Alternativa ao CSS crítico" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"Fornece uma alternativa caso o CSS do caminho crítico gerado automaticamente" +" esteja incompleto. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "Minificar ficheiros de JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" +"A minificação do JavaScript remove espaços em branco e comentários para " +"reduzir o tamanho do ficheiro." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "Activar minificação do JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"Combinar ficheiros de JavaScript (Active a minificação dos ficheiros de " +"JavaScript para poder seleccionar)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"A combinação de ficheiros de JavaScript combina o JS interno, em linha e de " +"terceiros, reduzindo os pedidos HTTP. Não é recomendado se o seu site " +"utilizar HTTP/2. %1$sMais informações%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"Para compatibilidade e melhores resultados, esta opção é desactivada ao " +"activar a opção de diferir a execução de JavaScript." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "Activar combinação do JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"Especifique padrões de JavaScript em linha a excluir da concatenação (um por" +" linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"Especifique os URL de ficheiros de JavaScript a excluir da minificação e " +"concatenação (um por linha)." + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"Interno: O domínio será removido automaticamente do URL. " +"Use wildcards (.*).js para excluir todos os ficheiros de JS localizados num " +"caminho específico." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"Terceiros: Use o caminho completo do URL ou apenas o nome " +"do domínio, para excluir JS externo. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +#: inc/Engine/Optimization/DeferJS/AdminSubscriber.php:76 +msgid "Load JavaScript deferred" +msgstr "Diferir carregamento de JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"O carregamento diferido de JavaScript elimina JS que bloqueia a apresentação" +" do seu site e pode melhorar o tempo de carregamento. %1$sMais " +"informações%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"Especifique os URL ou palavras-chave de ficheiros de JavaScript a excluir do" +" diferimento (um por linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:907 +#: inc/Engine/Optimization/DelayJS/Admin/Subscriber.php:210 +msgid "Delay JavaScript execution" +msgstr "Diferir execução de JavaScript" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"Melhore o desempenho diferindo o carregamento dos ficheiros de JavaScript " +"até interacção do utilizador (como scroll ou clique). %1$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "Exclusões com um clique" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"Ao usar o diferimento da execução do JavaScript, poderá ocorrer algum atraso" +" no carregamento de elementos localizados na área visível do ecrã que devam " +"ser mostrados de imediato, como por exemplo, slider, cabeçalho ou menu." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"Se precisar de visibilidade imediata, clique abaixo nos ficheiros que NÃO " +"devem ser diferidos. Esta selecção ajudará os utilizadores a interagir de " +"imediato com os elementos." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"Especifique os URL ou palavras-chave que possam identificar o JavaScript em " +"linha ou em ficheiros a excluir da execução em diferido (um por linha)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "Multimédia" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "Carregamento diferido, dimensões de imagens" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "Carregamento diferido" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"Pode melhorar o tempo real e percebido de carregamento, uma vez que as " +"imagens, iframes e vídeos só serão carregados se estiverem na área visível " +"do ecrã (ou próximos), e reduz o número de pedidos HTTP. %1$sMais " +"informações%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"De momento o carregamento diferido está activado em %2$s. Se quiser usar o " +"carregamento diferido do WP Rocket, desactive esta opção em %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "Dimensões das imagens" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"Adicione os atributos de largura e altura em falta nas imagens. Ajuda a " +"evitar alterações de layout e melhora a experiência de leitura dos seus " +"visitantes. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "Activar para imagens" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"De momento o carregamento diferido de imagens está activado em %2$s. Se " +"quiser usar o carregamento diferido do %1$s, desactive esta opção em %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "Activar para imagens de fundo CSS" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Activar para iframes e vídeos" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Substituir iframes do YouTube por imagens de pré-visualização" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" +"A substituição de iframes do YouTube por imagens de pré-visualização não é " +"compatível com %2$s." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"Isto pode melhorar significativamente o tempo de carregamento se tiver " +"muitos vídeos do YouTube numa só página." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Imagens ou iframes excluídos" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"Especifique palavras-chave (exemplo: nome do ficheiro de imagem, nome do " +"ficheiro CSS, classe CSS, domínio) das imagens ou dos códigos de iframe a " +"excluir (uma por linha). %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Adicionar dimensões em falta das imagens" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Crie ficheiros de cache, pré-carregue tipos de letra" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Pré-carregamento da cache" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"Ao activar o pré-carregamento o WP Rocket irá detectar automaticamente os " +"seus sitemaps e guardar todos os URL na base de dados. O plugin assegura que" +" a sua cache seja sempre pré-carregada." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Pré-carregamento das ligações" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"O pré-carregamento de ligações melhora o tempo percebido de carregamento, " +"através de descarregar a página assim que o utilizador passa com o rato " +"sobre a respectiva ligação. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Antecipar pedidos de DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"A antecipação do pedido de DNS pode acelerar o carregamento de ficheiros " +"externos, especialmente em redes móveis" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Pré-carregar tipos de letra" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"Melhora o desempenho ao ajudar os navegadores a descobrir tipos de letra em " +"ficheiros de CSS. %1$sMais informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activar pré-carregamento" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "Excluir estes URL" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"Especifique os URL a excluir do pré-carregamento (um por linha). %1$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "Os URL dos pedidos a antecipar" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"Especifique os servidores externos a antecipar os pedidos (sem " +"http:, um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Tipos de letra a pré-carregar" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"Especifique os URL dos ficheiros de tipos de letra a pré-carregar (um por " +"linha). Os tipos de letra devem ser alojados no seu domínio, ou no domínio " +"especificado no separador da CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"O domínio será removido automaticamente do URL.
    Extensões permitidas " +"para tipos de letra: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Activar o pré-carregamento de ligações" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Regras avançadas" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Configure as regras de cache em pormenor" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" +"Devem excluir-se da cache os URL personalizados de páginas dinâmicas como as" +" de início e terminar sessão." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    As páginas do carrinho, finalizar compra e “Minha conta” definidas no " +"%1$s%2$s%3$s serão detectadas e por omissão nunca serão " +"armazenadas em cache." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nunca criar cache de cookies" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Cache de parâmetros de consulta" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "" +"A %1$scache de parâmetros de consulta%2$s permite forçar a cache de " +"parâmetros GET específicos." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"Especifique os URL de páginas ou conteúdos que nunca deverão ser guardados " +"em cache (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"O domínio será removido automaticamente do URL.
    Utilize wildcards (.*) " +"para incluir múltiplos URL num determinado caminho." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"Especifique os ID completos ou parciais dos cookies que, quando definidos no" +" navegador do visitante, deverão impedir uma página de ser guardada em cache" +" (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"Especifique strings de agentes de utilizador que nunca devem obter páginas " +"em cache (uma por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" +"Utilize wildcards (.*) para detectar partes de strings de agentes de " +"utilizador." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"Especifique os URL a limpar da cache sempre que actualizar qualquer conteúdo" +" ou página (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Especifique parâmetros de consulta a adicionar à cache (um por linha)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimize, reduza a sobrecarga" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Limpeza de conteúdos" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"As revisões e rascunhos de conteúdos serão eliminados permanentemente. Não " +"use esta opção se precisar das revisões e dos rascunhos." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Limpeza de comentários" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Os comentários de spam e no lixo serão eliminados permanentemente." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Limpeza de transientes" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"Os transientes são opções temporárias, é seguro removê-los. Serão " +"regenerados automaticamente quando os seus plugins precisarem." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Limpeza da base de dados" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Reduz a sobrecarga das tabelas da base de dados" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Limpeza automática" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s revisão na sua base de dados." +msgstr[1] "%s revisões na sua base de dados." +msgstr[2] "%s revisões na sua base de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s rascunho na sua base de dados." +msgstr[1] "%s rascunhos na sua base de dados." +msgstr[2] "%s rascunhos na sua base de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s conteúdo no lixo na sua base de dados." +msgstr[1] "%s conteúdos no lixo na sua base de dados." +msgstr[2] "%s conteúdos no lixo na sua base de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s comentário de spam na sua base de dados." +msgstr[1] "%s comentários de spam na sua base de dados." +msgstr[2] "%s comentários de spam na sua base de dados." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s comentário no lixo na sua base de dados." +msgstr[1] "%s comentários no lixo na sua base de dados." +msgstr[2] "%s comentários no lixo na sua base de dados." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Todos os transientes" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s transiente na sua base de dados." +msgstr[1] "%s transientes na sua base de dados." +msgstr[2] "%s transientes na sua base de dados." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimizar tabelas" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tabela a optimizar na sua base de dados." +msgstr[1] "%s tabelas a optimizar na sua base de dados." +msgstr[2] "%s tabelas a optimizar na sua base de dados." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Agendar limpeza automática" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frequência" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Diariamente" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Semanalmente" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mensalmente" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integre a sua CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"Todos os URL de ficheiros estáticos (CSS, JS, imagens) serão reescritos " +"no(s) CNAME(s) que fornecer." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"Não é necessário para serviços como a Cloudflare e Sucuri. Por favor " +"consulte os nossos %1$smódulos%2$s disponíveis." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"O %1$smódulo %2$l%3$s está activo de momento. Não é necessário configurar a " +"CDN para o módulo %2$l funcionar no seu site." +msgstr[1] "" +"Os %1$smódulos %2$l%3$s estão activos de momento. Não é necessário " +"configurar a CDN para os módulos %2$l funcionarem no seu site." +msgstr[2] "" +"Os %1$smódulos %2$l%3$s estão activos de momento. Não é necessário " +"configurar a CDN para os módulos %2$l funcionarem no seu site." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "Activar CDN" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME(s) da CDN" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Especifique o(s) CNAME(s) abaixo" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"Especifique os URL dos ficheiros que não devem ser servidos pela CDN (um por" +" linha)." + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"O domínio será removido automaticamente do URL.
    Utilize wildcards (.*) " +"para excluir todos os ficheiros de um determinado tipo, localizados num " +"caminho específico." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "Controle a Heartbeat API do WordPress" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"Reduzir ou desactivar a actividade da Hartbeat API pode economizar alguns " +"recursos do seu servidor." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "Reduzir ou desactivar a actividade do Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"A redução de actividade altera a frequência do Heartbeat de um acesso por " +"minuto para um acesso a cada 2 minutos." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"Desactivar completamente o Heartbeat pode prejudicar os plugins e temas que " +"usem esta API." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "Não limitar" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "Reduzir actividade" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "Desactivar" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "Controlar Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "Comportamento no painel de administração" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "Comportamento no editor de conteúdos" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "Comportamento na interface do site" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Módulos" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "Adicione mais funcionalidades" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "Módulos do Rocket com um clique" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"Os módulos disponíveis com um clique são funcionalidades que aumentam as " +"opções disponíveis sem necessidade de configuração. Ligue as opções para " +"activar os módulos neste mesmo ecrã." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Módulos do Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" +"Os módulos do Rocket são funcionalidades complementares que aumentam as " +"opções disponíveis." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integre a sua conta da Cloudflare com este módulo." + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"Forneça o email, a chave global de API e o domínio da sua conta para usar " +"opções tais como limpar a cache da Cloudflare e permitir a configuração " +"ideal com o WP Rocket." + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sEstá a pensar usar a Automatic Platform Optimization (APO)?%2$s Basta " +"activar e o plugin oficial da Cloudflare e configurar. O WP Rocket activará " +"a compatibilidade automaticamente." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Se utilizar o Varnish no seu servidor, deve activar este módulo." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"O cache do Varnish será limpa sempre que limpar a cache do WP Rocket para " +"garantir que o conteúdo está sempre actualizado.
    %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "Compatibilidade com WebP" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "Melhorar a compatibilidade dos navegadores para imagens WebP." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"Active esta opção se quiser que o WP Rocket sirva imagens WebP aos " +"navegadores compatíveis. Atenção que o WP Rocket não pode criar imagens WebP" +" por si. Para criar imagens WebP recomendamos o %1$sImagify%2$s. %3$sMais " +"informações%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Limpar a cache do Sucuri ao limpar a cache do WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"Forneça a sua chave de API para limpar a cache do Sucuri ao limpar a cache " +"do WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sincronize a cache do Sucuri com este módulo." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Credenciais da Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Opções da Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Chave global de API:" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Consulte a sua chave de API" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Email da conta" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID da zona" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "Modo de desenvolvimento" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"Active temporariamente o modo de desenvolvimento no seu site. Esta opção " +"desactiva-se automaticamente após 3 horas. %1$sSaiba mais%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "Configuração ideal" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "" +"Melhore automaticamente a sua configuração da Cloudflare para melhor " +"velocidade, grau de desempenho e compatibilidade." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "Protocolo relativo" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"Só deve ser usado com a função de SSL flexível da Cloudflare. Os URL de " +"ficheiros estáticos (CSS, JS, imagens) serão reescritos para usar // em vez " +"de http:// ou https://." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Credenciais do Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"A chave de API da firewall (do plugin) tem de estar no formato {32 " +"caracteres}/{32 caracteres}:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Consulte a sua chave de API" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"Módulo do Sucuri. A chave de API para a firewall do Sucuri tem de estar no " +"formato {32 caracteres}/{32 caracteres}." + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"Desculpe! Não foi guardado /(.*) em Regras avançadas > Nunca criar cache dos" +" URL porque isto desactiva o armazenamento de cache e as optimizações para " +"cada página do seu site." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Importar, exportar, reverter" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimizar imagens" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Comprima as suas imagens" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriais" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Vídeos de introdução e aprendizagem" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Intervalo de expiração da cache do WP Rocket" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Valor de WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "" +"A constante WP_Cache tem de estar definida como 'true' para que a cache do " +"WP Rocket funcione correctamente" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE está definida como true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE não está definida" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE está definida como false" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Data da próxima facturação" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Sem subscrição" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "A sua assinatura da RocketCDN está activa." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Para usar a RocketCDN, substitua o seu CNAME por %1$s%2$s%3$s." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sMais informações%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"Não foi possível obter o preço actual porque a RocketCDN API devolveu um " +"código de erro inesperado." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "A RocketCDN não está disponível de momento. Tente mais tarde." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" +"Falhou ao limpar a cache da RocketCDN: Parâmetro identificador em falta." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Falhou ao limpar a cache da RocketCDN: Token de utilizador em falta." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" +"Falhou ao limpar a cache da RocketCDN: A API devolveu um código de resposta " +"inesperado." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" +"Falhou ao limpar a cache da RocketCDN: A API devolveu uma resposta vazia." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" +"Falhou ao limpar a cache da RocketCDN: A API devolveu uma resposta " +"inesperada." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "Falhou ao limpar a cache da RocketCDN: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "A cache da RocketCDN foi limpa com sucesso." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php:72 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerEnableRoute.php:302 +msgid "RocketCDN enabled" +msgstr "RocketCDN activada" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php:31 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerDisableRoute.php:147 +msgid "RocketCDN disabled" +msgstr "RocketCDN desactivada" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "Válido apenas até %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Acelere o seu site com o seguinte:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "" +"Content Delivery Network (CDN) de alto desempenho com %1$slargura de banda " +"ilimitada%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" +"Fácil configuração: As %1$smelhores configurações de CDN%2$s aplicadas " +"automaticamente" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"Integração do WP Rocket: A opção da CDN é %1$sconfigurada " +"automaticamente%2$s no nosso plugin" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Saiba mais sobre a RocketCDN" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*$%1$s por mês durante 12 meses, depois $%2$s por mês. Pode cancelar a sua " +"subscrição a qualquer momento." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Facturado mensalmente" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Começar" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Reduzir este banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" +"Acelere o seu site com a RocketCDN, a Content Delivery Network do WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Saiba mais" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "A RocketCDN não funciona em domínios locais e em sites de staging." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Obter RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Novo!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" +"Acelere o seu site com a RocketCDN, a Content Delivery Network do WP Rocket!" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:265 +msgid "Every minute" +msgstr "A cada minuto" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Regenerar CSS do caminho crítico" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Gerar CSS crítico específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regenerar CSS crítico específico" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" +"Esta funcionalidade não está disponível para tipos de conteúdo não públicos." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l para usar esta funcionalidade." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "Publique o(a) %s" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "Active o carregamento assíncrono do CSS nas opções do WP Rocket" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Active o carregamento assíncrono do CSS nas opções acima" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "O CSS crítico de %1$s não foi gerado. Erro: %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"O CSS crítico de %1$s para dispositivos móveis não foi gerado. Erro: A API " +"devolveu uma resposta vazia." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "" +"O CSS crítico de %1$s não foi gerado. Erro: A API devolveu uma resposta " +"vazia." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "O CSS crítico de %1$s para dispositivos móveis não foi gerado." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "O CSS crítico de %1$s não foi gerado." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"O CSS crítico de %1$s para dispositivos móveis não foi gerado. Erro: A API " +"devolveu um código de resposta inválido." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"O CSS crítico de %1$s não foi gerado. Erro: A API devolveu um código de " +"resposta inválido." + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "Erro: %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "A geração do CSS crítico está em curso." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Vá às %1$sopções do WP Rocket%2$s para acompanhar o progresso." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"A geração do CSS crítico está em curso: %1$d de %2$d páginas concluídas. " +"(Actualize a página para ver o progresso)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "A geração de CSS crítico foi concluída para %1$d de %2$d páginas." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Foram encontrados um ou mais erros ao gerar o CSS crítico." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Saiba mais." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"É altamente recomendada a funcionalidade actualizada de %1$sremoção de CSS " +"não utilizado%2$s para uma melhor optimização do CSS. Em alternativa, o " +"carregamento assíncrono de CSS está sempre disponível." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "Manter a opção antiga" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"O CSS crítico de %1$s para dispositivos móveis não foi gerado. Erro: Não foi" +" possível criar o directório de destino." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"O CSS crítico de %1$s não foi gerado. Erro: Não foi possível criar o " +"directório de destino." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "O ficheiro de CSS crítico para dispositivos móveis não existe" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "O ficheiro de CSS crítico não existe" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" +"Não foi possível eliminar o ficheiro de CSS crítico para dispositivos móveis" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Não foi possível eliminar o ficheiro de CSS crítico" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "O CSS crítico de %1$s para dispositivos móveis não foi gerado." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "Está em curso a geração do CSS crítico de %s." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "O CSS crítico de %s para dispositivos móveis foi gerado." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "O CSS crítico de %s foi gerado." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Ficheiro de CSS crítico eliminado com sucesso." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Foi ultrapassado o tempo de execução da geração do CSS crítico de %1$s para " +"dispositivos móveis. Tente de novo pouco mais tarde." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"Foi ultrapassado o tempo de execução da geração do CSS crítico de %1$s. " +"Tente de novo pouco mais tarde." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "A geração de CSS crítico para dispositivos móveis não está activada." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "O conteúdo solicitado não existe." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Não é possível gerar o CSS crítico de conteúdos não publicados." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Limpeza de cache agendada" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Optimização agendada da base de dados" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Processo de optimização da base de dados" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Pré-carregamento" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Processo de geração do CSS do caminho crítico" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "Renove antes que seja tarde demais, pagará apenas %1$s%2$s%3$s!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"Renove com %1$s%2$s de desconto%3$s antes que seja tarde demais, por apenas " +"%4$s%5$s%6$s!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Renove agora a sua licença por 1 ano por %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"Renove agora a sua licença por 1 ano e obtenha de imediato %1$s%3$s de " +"desconto%2$s: apenas pagará %1$s%4$s%2$s!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Renove antes que seja tarde demais, pagará %1$s%3$s%2$s." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"Renove com %1$s%2$s de desconto%3$s antes que seja tarde demais, por apenas " +"%1$s%4$s%3$s!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"Precisa de uma licença válida para continuar a usar esta funcionalidade. " +"%1$sRenove agora%2$s antes de perde o acesso." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"Precisa de uma licença válida para activar esta opção. %1$sRenove agora%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"Precisa de uma licença válida para activar esta opção. %1$sMais " +"informações%2$s." + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"Aproveite a promoção %1$s para acelerar mais sites:%2$sObtenha " +"%3$s%4$s de desconto%5$s ao %3$sactualizar a sua licença para Plus ou " +"Infinite!%5$s" +msgstr[1] "" +"Aproveite a promoção %1$s para acelerar mais sites:%2$sObtenha " +"%3$s%4$s de desconto%5$s ao %3$sactualizar a sua licença para Infinite!%5$s" +msgstr[2] "" +"Aproveite a promoção %1$s para acelerar mais sites:%2$sObtenha " +"%3$s%4$s de desconto%5$s ao %3$sactualizar a sua licença para Infinite!%5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Sem limite de" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "%s de desconto" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "Promoção %s!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Rápido! A oferta termina em:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minutos" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Segundos" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Actualize agora" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "A funcionalidade de optimizar entrega do CSS está desactivada." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"As opções de remoção de CSS não utilizado e de carregamento assíncrono de " +"CSS já não podem ser utilizadas." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"Precisa de uma %1$slicença activa%2$s para continuar a optimizar a entrega " +"de CSS, para cumprir a recomendação do PageSpeed Insights e melhorar o " +"desempenho da sua página." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Renove agora" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Em breve irá perder acesso a algumas funcionalidades" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"Precisa de uma %1$slicença activa para continuar a optimizar a entrega do " +"CSS%2$s." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"As funcionalidades de remoção de CSS não utilizado e de carregamento " +"assíncrono de CSS são óptimas para cumprir as recomendações do PageSpeed " +"Insights e melhorar o desempenho do seu site." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "Serão %1$sautomaticamente desactivadas em %3$s%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "A sua licença do WP Rocket está expirada!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"O seu site poderá ser muito mais rápido se tirar partido das nossas " +"%1$snovas funcionalidades e melhorias%2$s. 🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"A %1$slicença do WP Rocket está prestes a expirar%2$s: em breve deixará de " +"ter acesso às actualizações e suporte do produto." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Acelere mais sites" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"Pode usar o WP Rocket em mais sites ao actualizar a sua licença. Para " +"actualizar, basta pagar a %1$sdiferença de preço%2$s de entre a sua licença " +"actual e a nova, como demostrado abaixo." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" +"%1$sAtenção%2$s: Actualizar a licença não altera a sua data de expiração" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "Poupe $%s" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s sites" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "Actualizar para %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"Pode usar o WP Rocket em mais sites ao actualizar a sua licença (apenas paga" +" a diferença de preço entre a sua licença actual e a nova)." + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:62 +msgid "LazyLoad for images" +msgstr "Carregar imagens em diferido" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:63 +msgid "LazyLoad for iframes/videos" +msgstr "Carregar iframes/vídeos em diferido" + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:48 +msgid "LazyLoad CSS backgrounds" +msgstr "Carregar fundos CSS em diferido" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "Dados analíticos e anúncios" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "Plugins" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "Temas" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"Precisa de uma licença activa para obter a última versão das listas do nosso" +" servidor." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:116 +msgid "Could not get updated lists from server." +msgstr "Não foi possível obter as listas actualizadas do servidor." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:125 +msgid "Lists are up to date." +msgstr "As listas estão actualizadas." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:134 +msgid "Could not update lists." +msgstr "Não foi possível actualizar as listas." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:143 +msgid "Lists are successfully updated." +msgstr "As listas foram actualizadas com sucesso." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "Listas por omissão" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "Listas de exclusão do diferimento da execução de JavaScript" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "Listas de plugins incompatíveis" + +#: inc/Engine/Optimization/Minify/AdminSubscriber.php:65 +msgid "Minify/combine JavaScript" +msgstr "Minificar/combinar JavaScript" + +#: inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php:150 +msgid "Minify CSS" +msgstr "Minificar CSS" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$s: Por favor aguarde %2$s segundos. O serviço de remoção de CSS não " +"utilizado está a processar as suas páginas." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: O CSS utilizado da sua página inicial foi processado. O WP Rocket " +"continuará a gerar o CSS utilizado até %2$s URL a cada %3$s segundo(s)." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" +"Sugerimos activar o %1$spré-carregamento%2$s para resultados mais rápidos." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" +"Para saber mais sobre o processo consulte a nossa %1$sdocumentação%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"Não foi possível gerar o CSS utilizado porque está a usar uma versão " +"cancelada do WP Rocket. Precisa de uma licença activa para usar a " +"funcionalidade de Remover CSS não utilizado e melhorar ainda mais o " +"desempenho do seu site." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" +"Clique aqui para obter uma licença Single do WP Rocket com %1$s de desconto!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"Parece que um plugin de segurança ou o firewall do servidor está a impedir o" +" acesso do WP Rocket ao gerador de remoção de CSS não utilizado. Os IP " +"listados %1$saqui na nossa documentação%2$s devem ser adicionados às suas " +"listas de permissões:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- No plugin de segurança, se estiver a utilizar algum" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "" +"- Na firewall do servidor. O seu serviço de alojamento pode ajudar nesta " +"tarefa" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: Não foi possível criar a tabela %2$s na base de dados, necessária para" +" o funcionamento da opção de Remover CSS não utilizado. Por favor contacte o" +" %3$snosso suporte%4$s." + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:286 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: A opção do CSS utilizado não está activa!" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:308 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: A cache do CSS utilizado foi limpa!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "Limpar CSS utilizado deste URL" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "Tarefas pendentes do WP Rocket de remoção de CSS não utilizado" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "Limpar tarefas falhadas do WP Rocket de remoção de CSS não utilizado" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s: O serviço de pré-carregamento está agora activo. Após o pré-" +"carregamento inicial, continuará a ser criada a cache de todas as suas " +"páginas, sempre que as respectivas caches forem limpas. Não é necessária " +"qualquer outra acção." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "Tarefas pendentes do pré-carregamento do WP Rocket" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "Reverter tarefas falhadas de pré-carregamento do WP Rocket" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"Parece haver um problema ao validar a sua licença. Por favor, veja a " +"mensagem de erro abaixo." +msgstr[1] "" +"Parece haver um problema ao validar a sua licença. Por favor, veja as " +"mensagens de erro abaixo." +msgstr[2] "" +"Parece haver um problema ao validar a sua licença. Por favor, veja as " +"mensagens de erro abaixo." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Tipo de servidor:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Versão do PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Versão do WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress multissite:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Tema actual:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Idioma actual do site:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Plugins activos:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Nomes de todos os plugins activos" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Opções do WP Rocket anonimizadas:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Quais as opções activadas no WP Rocket" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Os dados de licença fornecidos não são válidos." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Para resolver o problema, por favor %1$scontacte o suporte%2$s." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"Falhou ao validar a licença. O nosso servidor não conseguiu resolver o " +"pedido do seu site." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Tente clicar em %1$sValidar licença%2$s abaixo. Se o erro persistir, siga " +"%3$seste guia%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"Falhou ao validar a licença. Pode estar a usar uma versão cancelada do " +"plugin. Faça o seguinte:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Inicie sessão na sua %1$sconta%2$s do WP Rocket" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Descarregue o ficheiro zip" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstalar" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Se não tiver uma conta WP Rocket, %1$scompre uma licença%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"Falhou ao validar a licença. Esta conta de utilizador não existe na nossa " +"base de dados." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Para resolver o problema, por favor contacte o suporte." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Falhou ao validar a licença. Esta conta de utilizador está bloqueada." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Consulte %1$seste guia%2$s para mais informações." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Tente clicar em %1$sGuardar alterações%2$s abaixo. Se o erro persistir, siga" +" %3$seste guia%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "A sua licença não é válida." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Certifique-se de que tem uma %1$slicença do WP Rocket%2$s activa." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Já alcançou o máximo de sites permitidos pela sua licença actual." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"Actualize a sua %1$sconta%2$s ou %3$stransfira a sua licença%2$s para este " +"domínio." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Este site não é permitido." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "Por favor %1$scontacte o suporte%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Esta chave de licença não é reconhecida." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Se o problema persistir, %1$scontacte o suporte%2$s." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "A validação da licença falhou: %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "O ficheiro de registo não existe." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "Não foi possível ler o ficheiro de registo." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Os registos não foram guardados num ficheiro." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"O limpeza automática do Varnish será activada automaticamente ao activar o " +"Varnish no seu servidor %s." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"A sua instalação parece não ter ficheiros essenciais do Kinsta que gerem a " +"limpeza de cache, o que impedirá o funcionamento correcto da sua instalação " +"Kinsta e do WP Rocket. Para corrigir o problema, por favor entre em contacto" +" com o suporte do Kinsta através da sua conta %1$sMyKinsta%2$s." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:127 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s: HTTP/2 Server Push do Cloudflare é incompatível com as funcionalidades" +" de Remover CSS não utilizado e de Combinar ficheiros de CSS. Recomendamos " +"vivamente a sua desactivação." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:170 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"O seu site está a usar o plugin oficial da Cloudflare. Foi activada a " +"limpeza automática da Cloudflare para compatibilidade. Se tiver activado a " +"APO, também é compatível." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:171 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"A cache da Cloudflare será limpa sempre que limpar a cache do WP Rocket para" +" garantir que o conteúdo está sempre actualizado." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:215 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sWP Rocket:%2$s Está a usar \"Cache de cookies dinâmicos\". A Cloudflare " +"APO ainda não é compatível com esta funcionalidade." + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:221 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"Deve desactivar a Cloudflare APO ou verificar com os programadores do " +"tema/plugin que requerem a utilização da \"Cache de cookies dinâmicos\" se " +"existe uma forma alternativa para criar cache de páginas facilmente. " +"%1$sMais informações%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:272 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket:%2$s Está a usar \"Ficheiros de cache separados para " +"dispositivos móveis\". Deve activar a %3$sopção%5$s \"Cache by Device Type\"" +" na Cloudflare APO para fornecer a versão correcta da cache. %4$sMais " +"informações%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:293 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket:%2$s A \"Cache by Device Type\" está activada na Cloudflare " +"APO. Se considerar necessário o site ter uma cache diferente no telemóvel e " +"no computador, sugerimos que active os \"Ficheiros de cache separados para " +"dispositivos móveis\" para garantir que a cache gerada é a correcta." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: O Mod PageSpeed não é compatível com este plugin e " +"pode causar resultados inesperados. %2$sMais informações%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket: %2$sFoi detectado que está activa a funcionalidade de agregar" +" JavaScript do Autoptimize. O diferimento da execução de JavaScript do WP " +"Rocket não será aplicado ao ficheiro criado. Sugerimos que desactive a opção" +" %1$sAgregar ficheiros JS%2$s para tirar partido das vantagens de diferir a " +"execução do JavaScript." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket: %2$sFoi detectado que está activa a funcionalidade de agregar" +" CSS integrado em linha do Autoptimize. O carregamento assíncrono de CSS do " +"WP Rocket não funcionará correctamente. Sugerimos que desactive a opção " +"%1$sAgregar CSS integrado em linha%2$s para tirar partido das vantagens de " +"carregar CSS de modo assíncrono." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"Este plugin bloqueia a cache e as optimizações do WP Rocket. Desactive-o e " +"em alternativa utilize a %1$sintegração de nameservers da Ezoic%2$s." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "" +"Desactive esta opção do %s que está em conflito com funcionalidades do WP " +"Rocket:" +msgstr[1] "" +"Desactive estas opções do %s que estão em conflito com funcionalidades do WP" +" Rocket:" +msgstr[2] "" +"Desactive estas opções do %s que estão em conflito com funcionalidades do WP" +" Rocket:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"A opção de %2$sdesactivar emojis%3$s do %1$s está em conflito com a " +"%2$sdesactivar emojis%3$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"A opção de %2$scompressão GZIP%3$s do %1$s está em conflito com a " +"%2$scompressão GZIP%3$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"A opção de %2$scache do navegador%3$s do %1$s está em conflito com a " +"%2$scache do navegador%3$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" +"A opção de %2$scache de páginas%3$s do %1$s está em conflito com a %2$scache" +" de páginas%3$s do WP Rocket" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"A opção de %2$soptimização de recursos%3$s do %1$s está em conflito com a " +"%2$soptimização de ficheiros%3$s do WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"A opção de Remover CSS não utilizado está de momento activada no " +"Perfmatters. Se quiser usar a remoção de CSS não utilizado do WP Rocket, " +"desactive esta opção no Perfmatters." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"A automação de Remover CSS não utilizado está de momento activada no " +"RapidLoad Power-Up for Autoptimize. Se quiser usar a remoção de CSS não " +"utilizado do WP Rocket, desactive o plugin RapidLoad Power-Up for " +"Autoptimize." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"De momento o diferimento da execução do JS está activado em %1$s. Se quiser " +"usar o diferimento de execução do JS do WP Rocket, desactive o %1$s." + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"O seu modelo Divi foi actualizado. Limpe o CSS utilizado se tiver alterado o" +" layout, design ou os estilos do CSS." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Carregamento assíncrono de CSS em dispositivos móveis" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"De momento o seu site usa o mesmo CSS de caminho crítico para computadores e" +" dispositivos móveis." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" +"Clique no botão para activar o CSS crítico específico para dispositivos " +"móveis no seu site." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "" +"Esta uma acção única e este botão será removido de seguida. %1$sMais " +"informações%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"O seu site está agora a usar CSS de caminho crítico específico para " +"dispositivos móveis. %1$sMais informações%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Gerar CSS crítico específico para dispositivos móveis" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "CSS do caminho crítico" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" +"Pode gerar o CSS do caminho crítico específico para este conteúdo. %1$sMais " +"informações%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" +"Este conteúdo utiliza CSS do caminho crítico específico. %1$sMais " +"informações%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Reverter p/ CSS crítico por omissão" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Enfrentou um problema?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"Nem sempre é necessário desactivar o WP Rocket quando enfrenta problemas. A " +"maioria dos casos pode ser resolvida através de desactivar apenas algumas " +"opções." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"Quer um conselho? Em vez de desactivar o WP Rocket, utilize o nosso %1$sModo" +" de segurança%2$s para rapidamente desactivar o carregamento diferido, " +"optimização de ficheiros, e opções de CDN. Depois confirme se o seu problema" +" está resolvido." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" +"Gostaria de usar o nosso Modo de segurança para resolver problemas com o WP " +"Rocket?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Sim, aplicar o \"%1$sModo de segurança%2$s\"" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"e exportar as opções do WP Rocket %1$s(Recomendado porque as opções actuais " +"serão eliminadas)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Não, desactivar e adiar esta mensagem por" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 dia" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 dias" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 dias" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Para sempre" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Cancelar" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Confirmar" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +" Está disponível o %1$sWP Rocket %2$s%3$s. %4$sSaiba mais%5$s sobre as " +"actualizações e melhorias desta nova versão. É necessária uma licença activa" +" para as utilizar no seu site, não perca! %6$sRenove agora%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Actualização das listas de inclusão e exclusão" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"As listas de compatibilidade são automaticamente descarregadas todas as " +"semanas. Clique no botão se quiser actualizá-las manualmente. %1$sMais " +"informações%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Actualizar listas" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Activar a optimização das Google Fonts" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"Melhora o desempenho dos tipos de letra e combina múltiplos pedidos de fonte" +" para reduzir o número de pedidos HTTP." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"A optimização das Google Fonts está activada neste site. %1$sMais " +"informações%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimizar Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Limpar a cache após" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS e JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Importar opções" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Estado do módulo" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modificar opções" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME da CDN" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Limpa os recursos na cache da RocketCDN para o seu site. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Saiba mais" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Limpe todos os ficheiros da cache da RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache da Cloudflare" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "Limpa os recursos da cache do seu site. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Limpar todos os ficheiros da cache da Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Parabéns!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "O WP Rocket já está activo e a funcionar." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "O seu site já deve estar a carregar mais rapidamente!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"Para garantir sites mais rápidos o WP Rocket aplica automaticamente 80% das " +"melhores práticas de desempenho da web." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"Também activamos opções que permitem benefícios imediatos para o seu site." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Continue para as opções para optimizar ainda mais o seu site!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "A minha conta" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Actualizar informações" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "com" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Data de expiração" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Ver a minha conta" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Acções rápidas" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Remover todos os ficheiros em cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Regenerar CSS crítico" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Remover cache do CSS utilizado" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Perguntas frequentes" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Ainda não conseguiu encontrar uma solução?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" +"Submeta um ticket e obtenha ajuda dos nossos simpáticos e experientes " +"Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Pedir suporte" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" +"Faça uma cópia de segurança da sua base de dados antes de executar uma " +"limpeza!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "" +"Uma vez realizada a optimização de uma base de dados, não há forma de a " +"reverter." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Guardar alterações e optimizar" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"O %1$sWP ROCKET%2$s criou o %3$sIMAGIFY%4$s %1$spara obter a melhor " +"optimização de imagens.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"Comprima as imagens para tornar o seu site mais rápido, sem comprometer a " +"sua qualidade." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Mais sobre o Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Página do plugin Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Site do Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Comparativo de plugins de compressão de imagens" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instalar Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "O WP Rocket não conseguiu validar automaticamente a sua licença." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Consulte este %1$s, ou entre em contacto com %2$s para começar." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssuporte%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Limpar todos os ficheiros da cache do Sucuri" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Tamanho dos ficheiros: %1$s. Número de registos: %2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDescarregue o ficheiro%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sElimine o ficheiro%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Exportar opções" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Descarregue uma cópia de segurança das suas opções" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Descarregar opções" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Reverter" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "A versão %s causou algum problema no seu site?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"Pode reverter para a última versão estável aqui.%sDe seguida envie-nos um " +"pedido de suporte." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "Reinstalar a versão %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Módo de depuração" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Crie um ficheiro de registo para depuração." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Começar" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Comece a usar o WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Conheça as melhores configurações para o seu site" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Como verificar se o WP Rocket está a manter a cache do seu site" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Como medir a velocidade do seu site" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Como funciona o pré-carregamento" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Como passar nas métricas essenciais da web" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "Como melhorar o LCP com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "Como melhorar o FID com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "Como melhorar o CLS com o WP Rocket" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Resolução de problemas" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Resolver problemas de visualização com a optimização de ficheiros" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Saiba que JavaScript deve excluir" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Como o conteúdo externo deixa torna o seu site mais lento" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Configure o módulo da Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Opções do WP Rocket" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "versão %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Mostrar barra lateral" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"Abaixo está uma lista detalhada de todos os dados que o WP Rocket irá " +"recolher %1$scaso dê permissão.%2$s" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"O WP Rocket nunca irá transmitir quaisquer nomes de domínio ou endereços de " +"email (excepto para validação de licença), endereços de IP ou chaves de API " +"de terceiros." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activar Rocket Analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" +"É um óptimo ponto de partida para resolver algumas das questões mais comuns." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Ler a documentação" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "O que faz por omissão o WP Rocket" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Como medir corretamente o tempo de carregamento do seu site" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Consulte nosso tutorial e saiba como medir a velocidade do seu site." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Ler o nosso guia" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Conheça as opões ideais do WP Rocket para dispositivos móveis." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" +"Teste e melhore as métricas essenciais da web do Google para o WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Ler mais" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Não activou a cache para utilizadores com sessão iniciada." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"Utilize uma janela de navegação privada para verificar a velocidade e a " +"aparência do seu site." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Precisa de ajuda?" diff --git a/languages/rocket-ro_RO.mo b/languages/rocket-ro_RO.mo new file mode 100644 index 0000000..286ac55 Binary files /dev/null and b/languages/rocket-ro_RO.mo differ diff --git a/languages/rocket-ro_RO.po b/languages/rocket-ro_RO.po new file mode 100644 index 0000000..0f38ac9 --- /dev/null +++ b/languages/rocket-ro_RO.po @@ -0,0 +1,3578 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Dan Caragea , 2020\n" +"Language-Team: Romanian (Romania) (https://www.transifex.com/wp-media/teams/18133/ro_RO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-08-17 15:20-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ro_RO\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Site-ul tău este găzduit pe %s, am activat ștergerea automată Varnish pentru compatibilitate." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Hărți site XML Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Pre-încarcă hărțile site din modulul Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Am detectat automat hărțile site generate de modulul %s. Poți bifa opțiunea de a le pre-încărca." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Hărți site XML All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Hărți site XML Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Hărți site SEOPress" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Hărți site XML The SEO Framework" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Hărți site XML Yoast SEO" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Adresă email sau cheie API Cloudflare incorectă." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Citește %1$sdocumentația%2$s pentru îndrumări suplimentare." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "ID zonă Cloudflare incorect." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Emailul și/sau cheia API Cloudflare nu sunt setate. Pentru îndrumări suplimentare, citește %1$sdocumentația%2$s." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Lipsește ID-ul zonei Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Se pare că domeniul tău nu este configurat pe Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: cache-ul Cloudflare a fost șters cu succes." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Eroare mod dezvoltare Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Mod dezvoltare Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Eroare nivel de cache Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Nivel de cache Cloudflare setat la %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Eroare de minificare Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Minificare Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Eroare rocket loader Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Rocket loader Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Eroare cache navigator Cloudflare: %s" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "săptămânal" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Salvează modificările" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Validează licența" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Indisponibilă" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licență" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Cheie API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Adresă email" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Panou control" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Primești ajutor, informații despre cont" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Starea mea" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Analitice Rocket" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Sunt de acord să partajez date anonime cu echipa de dezvoltare pentru a ajuta la îmbunătățirea WP Rocket. %1$sCe informații vom colecta?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Cache" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Opțiuni de bază pentru cache" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Cache pentru mobil" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Îți accelerează site-ul pentru vizitatorii care folosesc dispozitive mobile." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Am detectat că folosești un modul care solicită un cache separat pentru mobil și s-a activat automat această opțiune pentru compatibilitate." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Cache utilizatori" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sCache utilizatori%2$s este foarte bun când ai conținut specific pentru utilizatori sau conținut restricționat pe site-ul tău web." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Durată de viață cache" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Fișierele cache mai vechi decât durata de viață specificată vor fi șterse.
    Activează %1$spre-încărcarea%2$s pentru cache-ul care să fie reconstruit automat după expirarea duratei de viață." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Activează cache pentru utilizatorii WordPress autentificați" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Activează cache pentru dispozitivele mobile" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Separă fișierele cache pentru dispozitivele mobile" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Majoritatea temelor moderne sunt responsive și ar trebui să funcționeze fără un cache separat. Activează asta numai dacă ai o temă sau un modul dedicat pentru dispozitive mobile. %1$sMai multe informații%2$s." + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Specifică timpul după care cache-ul global este șters
    (0 = nelimitat)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Reduci durata de viață la 10 ore sau mai puțin dacă remarci probleme care par să apară periodic. %1$sDe ce?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Minute" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Ore" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Zile" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Optimizare fișiere" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Optimizează CSS și JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "Fișiere CSS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$sMinificarea este activată acum în Autoptimize. Dacă vrei să folosești minificarea %2$s, dezactivează acele opțiuni în Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Fișiere JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Minifică fișierele CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Minifică CSS înlătură spațiile goale și comentariile pentru a reduce dimensiunea fișierului." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Asta ar putea strica unele lucruri!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Dacă după activarea acestei setări observi erori pe site-ul tău, trebuie doar s-o dezactivezi și site-ul va reveni la normal." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Activează minifică CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Combină fișierele CSS (activează Minifică fișierele CSS pentru a selecta)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Combină CSS îmbină toate fișierele tale într-unul singur, reducând cererile HTTP. Nu este recomandată dacă site-ul tău folosește HTTP/2. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Activează combină CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Fișiere CSS excluse" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Specifică URL-urile fișierelor CSS care să fie excluse din minificare și concatenare (câte unul pe un rând)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Interne: Partea din URL care conține domeniul va fi eliminată automat. Folosește metacaracterele (.*).css pentru a exclude toate fișierele CSS localizate pe o anumită cale." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Parte terță: pentru a exclude CSS-ul extern, folosește calea completă a URL-ului sau doar numele de domeniu. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Optimizează livrarea CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "CSS critic de rezervă" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Oferă o alternativă dacă CSS-ul de cale critic generat automat este incomplet. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Minifică fișierele JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Minifică JavaScript înlătură spațiile goale și comentariile pentru a reduce dimensiunea fișierului." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Activează minifică JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Combină fișierele JavaScript (activează Minifică fișierele JavaScript pentru a selecta)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Combină fișierele JavaScript îmbină resursele interne ale site-ului, resursele terțe și JS-ul în-line, reducând cererile HTTP. Nu este recomandat dacă site-ul tău folosește HTTP/2. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Activează combină JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "JavaScript în-linie exclus" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Specifică structurile JavaScript în-line care să fie excluse din concatenare (câte una pe un rând). %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Fișiere JavaScript excluse" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Specifică URL-urile fișierelor JavaScript care să fie excluse din minificare și concatenare (câte unul pe un rând)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Interne: Partea din URL care conține domeniul va fi eliminată automat. Folosește metacaracterele (.*).js pentru a exclude toate fișierele JS localizate pe o anumită cale." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Părți terțe: pentru a exclude JS-ul extern, folosește fie calea completă a URL-ului ori fie numai numele de domeniu. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Încarcă JavaScript întârziat" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Încarcă JavaScript întârziat elimină JS-ul care blochează randarea pe site-ul tău și poate îmbunătăți timpul de încărcare. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Întârzie executarea JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Îmbunătățește performanța prin întârzierea încărcării fișierelor JavaScript până la interacțiunea cu utilizatorul (de exemplu: derulează, dă clic). %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Media" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "Încărcare lentă" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Acesta poate îmbunătăți timpul de încărcare real și perceput, deoarece imaginile, iframe-urile și videourile vor fi încărcate numai în momentul în care intră (sau urmează să intre) în fereastra de vizualizare, astfel se reduce numărul de cereri HTTP. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "Încărcarea lentă este activată acum în %2$s. Dacă vrei să folosești încărcarea lentă a imaginilor de la WP Rocket, dezactivează această opțiune în %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Activează această opțiune dacă vrei ca WP Rocket să servească imagini WebP în navigatoarele compatibile. Reține că WP Rocket nu poate crea imagini WebP pentru tine. Pentru a crea imagini WebP recomandăm %1$sImagify%2$s. %3$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Activează pentru imagini" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "Încărcarea lentă a imaginilor este activată acum în %2$s. Dacă vrei să folosești încărcarea lentă a imaginilor de la %1$s, dezactivează această opțiune în %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Activează pentru iframe-uri și videouri" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Înlocuiește iframe-ul YouTube cu imaginea de previzualizare" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Îți poate îmbunătăți semnificativ timpul de încărcare dacă ai o mulțime de videouri YouTube pe o pagină." + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Înlocuiește iframe-ul YouTube cu imaginea de previzualizare nu este o acțiune compatibilă cu %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Pre-încărcare" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Generează fișiere cache, pre-încarcă fonturi" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Pre-încarcă cache" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Pre-aduce cereri DNS" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Pre-aducerea DNS poate face ca fișierele externe să se încarce mai rapid, în special în rețelele pentru mobil" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Pre-încarcă fonturi" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Îmbunătățește performanța ajutând navigatoarele să descopere fonturi în fișierele CSS. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Pre-încarcă legături" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Pre-încărcarea legăturilor îmbunătățește timpul de încărcare perceput prin descărcarea unei pagini atunci când un utilizator trece peste legătură. %1$sMai multe informații%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Activează pre-încărcarea" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL-uri de pre-adus" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Specifică gazdele externe care să fie pre-aduse (fără http:, una pe linie)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Fonturi pentru pre-încărcat" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Specifică URL-urile fișierelor cu fonturi care trebuie preîncărcate (câte unul pe o linie). Fonturile trebuie să fie găzduite pe propriu domeniu sau pe domeniul specificat în fila CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Partea din URL care conține domeniul va fi eliminată automat.
    Extensii de font permise: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Activează pre-încărcarea legăturilor" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Reguli avansate" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Ajustează fin regulile cache" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Paginile sensibile, cum ar fi URL-urile personalizate de autentificare/dezautentificare, ar trebui să fie excluse din cache." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Paginile coș de cumpărături, finalizare comandă și „contul meu” setate în %1$s%2$s%3$s vor fi detectate și implicit nu sunt memorate niciodată în cache." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Nu memora niciodată în cache URL-uri" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Nu memora niciodată în cache cookie-uri" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Nu memora niciodată în cache agentul (agenții) utilizator" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Curăță întotdeauna URL-ul (URL-urile)" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Memorează în cache șirul (șirurile) de interogare" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sCache pentru șiruri de interogare%2$s îți permite să forțezi cache-ul pentru parametrii GET specifici." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Specifică URL-urile paginilor sau articolelor care nu ar trebui să fie niciodată memorate în cache (unul pe linie)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Partea din URL care conține domeniul va fi eliminată automat.
    Folosește metacaracterele (.*) pentru a scrie adresa mai multor URL-uri pentru o cale dată." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Specifică șirurile de agenți utilizator care nu ar trebui să vadă niciodată pagini memorate în cache (unul pe linie)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Folosește metacaractere (.*) pentru a detecta părți din șirurile UA." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Specifică URL-urile care vrei să fie curățate întotdeauna din cache ori de câte ori actualizezi un articol sau o pagină (unul pe linie)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Specifică șirurile de interogare pentru memorare în cache (unul pe linie)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Bază de date" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Optimizează, reduce dimensiunea" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Curățare articole" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Reviziile și ciornele articolelor vor fi șterse definitiv. Nu folosi această opțiune dacă trebuie să păstrezi reviziile sau ciornele." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Curățare comentarii" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Comentariile spam și comentariile aruncate la gunoi vor fi șterse definitiv." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Curățare tranzienți" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Tranzienții sunt opțiuni temporare; pot fi înlăturați fără probleme. Vor fi regenerați automat pe măsură ce modulele tale îi cer." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Curățare bază de date" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Reduce costul de funcționare a tabelelor din baza de date" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revizii" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s revizie în baza ta de date." +msgstr[1] "%s revizii în baza ta de date." +msgstr[2] "%s de revizii în baza ta de date." + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Ciorne automate" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s ciornă în baza ta de date." +msgstr[1] "%s ciorne în baza ta de date." +msgstr[2] "%s de ciorne în baza ta de date." + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Articole aruncate la gunoi" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s articol aruncat la gunoi în baza ta de date." +msgstr[1] "%s articole aruncate la gunoi în baza ta de date." +msgstr[2] "%s de articole aruncate la gunoi în baza ta de date." + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Comentarii spam" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s comentariu spam în baza ta de date." +msgstr[1] "%s comentarii spam în baza ta de date." +msgstr[2] "%s de comentarii spam în baza ta de date." + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Comentarii aruncate la gunoi" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s comentariu aruncat la gunoi în baza ta de date." +msgstr[1] "%s comentarii aruncate la gunoi în baza ta de date." +msgstr[2] "%s de comentarii aruncate la gunoi în baza ta de date." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Toți tranzienții" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s tranzient în baza ta de date." +msgstr[1] "%s tranzienți în baza ta de date." +msgstr[2] "%s de tranzienți în baza ta de date." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Optimizează tabelele" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s tabel de optimizat în baza ta de date." +msgstr[1] "%s tabele de optimizat în baza ta de date." +msgstr[2] "%s de tabele de optimizat în baza ta de date." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Programează ștergerea automată" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Frecvență" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Zilnic" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Săptămânal" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Lunar" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Integrează-ți CDN-ul" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Toate URL-urile fișierelor statice (CSS, JS, imagini) vor fi rescrise în CNAME-ul furnizat (CNAME-urile furnizate)." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Nu este necesar pentru servicii cum ar fi Cloudflare și Sucuri. Te rog vezi %1$ssuplimentele%2$s noastre disponibile." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Exclude fișiere din CDN" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Activează rețeaua de livrare a conținutului" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CNAME (CNAME-uri) CDN" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Specifică CNAME-ul (CNAME-urile) mai jos" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Specifică URL-urile fișierelor care nu ar trebui să fie servite prin CDN (unul pe linie)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Partea din URL care conține domeniul va fi eliminată automat.
    Folosește metacaracterele (.*) pentru a exclude toate fișierele unui tip de fișier dat localizate pe o anumită cale." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Controlează WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Reducând sau dezactivând activitățile API-ului Heartbeat te poate ajuta să nu mai folosești o parte din resursele serverului tău." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Reduce sau dezactivează activitățile Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Reducerea activității va modifica frecvența Heartbeat de la o vizită în fiecare minut la o vizită la fiecare 2 minute." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Dezactivarea completă a Heartbeat poate întrerupe funcționarea modulelor și temelor când de folosește acest API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Nu limita" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Reduce activitatea" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Dezactivează" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Controlează Heartbeat" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Comportament în partea administrativă a sitului" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Comportament în editor de articole" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Comportament în partea din față a sitului" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Suplimente" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Adaugă mai multe funcționalități" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Suplimente Rocket cu un singur clic" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Suplimentele cu un singur clic sunt funcționalități care extind opțiunile disponibile fără a fi necesară o configurare. Comută opțiunea pe „pornit” pentru a le activa din acest ecran." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Suplimente Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Suplimentele Rocket sunt funcționalități complementare care extind opțiunile disponibile." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Integrează-ți contul Cloudflare cu acest supliment." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Furnizează emailul contului, cheia API globală și domeniul pentru a folosi câteva opțiuni, cum ar fi ștergerea cache-ului Cloudflare și activarea setărilor optime cu WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Dacă Varnish rulează pe serverul tău, trebuie să activezi acest supliment." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Cache-ul Varnish va fi șters de fiecare dată când WP Rocket își șterge cache-ul, astfel conținutul este întotdeauna actualizat.
    %1$sAflă mai mult%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Șterge cache-ul Sucuri când cache-ul WP Rocket este șters." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Furnizează cheia ta API pentru a șterge cache-ul Sucuri când cache-ul WP Rocket este șters." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Sincronizează cache-ul Sucuri cu acest supliment." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Date de conectare Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Setări Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Cheie API globală:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Găsește-ți cheia API" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Email cont" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID zonă" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Mod dezvoltare" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Activează temporar modul dezvoltare pe site-ul tău web. Această setare va fi oprită automat după 3 ore. %1$sAflă mai mult%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Setări optime" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Îți îmbunătățește automat configurarea Cloudflare pentru viteză, grad de performanță și compatibilitate." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Protocol relativ" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Ar trebui să fie folosit numai cu funcționalitatea SSL flexibil de la Cloudflare. URL-urile fișierelor statice (CSS, JS, imagini) vor fi rescrise pentru a folosi // în loc de http:// sau https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Date de conectare Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Găsește-ți cheia API" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Încarcă fișierul și importă setările" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Supliment Sucuri: cheia API pentru firewall-ul Sucuri trebuie să fie în formatul {32 de caractere}/{32 de caractere}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Setări salvate." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Unelte" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Import, export, restaurare" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Optimizare imagini" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Comprimă-ți imaginile" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Tutoriale" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Noțiuni de bază și cum să vezi videourile" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: lipsește parametrul de identificare." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: lipsește tokenul utilizatorului." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: API-ul a returnat un cod de răspuns neașteptat." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: API-ul a returnat un răspuns gol." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: API-ul a returnat un răspuns neașteptat." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "Ștergerea cache-ului RocketCDN a eșuat: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Ștergerea cache-ului RocketCDN s-a făcut cu succes." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Următoarea dată de facturare" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Niciun abonament" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Abonamentul tău RocketCDN este în prezent activ." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Pentru a folosi RocketCDN, înlocuiește CNAME cu %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sMai multe informații%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN activat" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN dezactivat" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Șterge acest cache" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Valoare WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "Pentru ca WP Rocket să funcționeze așa cum trebuie, constanta WP_CACHE trebuie să fie setată la „true”." + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE este setată la „true”" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE nu este setată" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE este setată la „false”" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "CSS-ul critic pentru %1$s nu a fost generat. Eroare: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "CSS-ul critic pentru %1$s nu a fost generat pentru dispozitive mobile. Eroare: API-ul a returnat un răspuns gol." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "CSS-ul critic pentru %1$s nu a fost generat. Eroare: API-ul a returnat un răspuns gol." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "CSS-ul critic pentru %1$s nu a fost generat pentru dispozitive mobile." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "CSS-ul critic pentru %1$s nu a fost generat." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "CSS-ul critic pentru %1$s nu a fost generat pentru dispozitive mobile. Eroare: API-ul a returnat un cod de răspuns invalid." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "CSS-ul critic pentru %1$s nu a fost generat. Eroare: API-ul a returnat un cod de răspuns invalid." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Eroare: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Regenerează CSS-ul de cale critic" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Generează un anumit CSS de cale critic" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Regenerează un anumit CSS de cale critic" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l pentru a folosi această funcționalitate." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Publică %s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Generarea CSS-ului critic rulează acum." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Mergi la pagina %1$sSetări WP Rocket%2$s pentru a urmări progresul." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Generarea CSS-ului critic rulează acum: %1$d din %2$d tipuri de pagină au fost finalizate. (Reîmprospătează această pagină pentru a vedea progresul.)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Generarea CSS-ului critic s-a terminat pentru %1$d din %2$d tipuri de pagină." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Generarea CSS-ului critic a întâmpinat una sau mai multe erori." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Află mai mult." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Fișierul CSS critic pentru dispozitive mobile nu există" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Fișierul CSS critic nu există" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Fișierul CSS critic pentru dispozitive mobile nu poate fi șters" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Fișierul CSS critic nu poate fi șters" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "CSS-ul critic mobil pentru %1$s nu a fost generat." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "CSS-ul critic pentru %s este în desfășurare." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "CSS-ul critic mobil pentru %s a fost generat." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "CSS-ul critic pentru %s a fost generat." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Fișierul CSS critic a fost șters cu succes." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "CSS-ul critic mobil pentru %1$s a expirat. Te rog încearcă un pic mai târziu." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "CSS-ul critic pentru %1$s a expirat. Te rog încearcă un pic mai târziu." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Generarea CSS-ului de cale critic pentru dispozitive mobile nu este activată." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Articolul cerut nu există." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Nu pot genera CSS-ul de cale critic pentru articole nepublicate." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Următorul eveniment programat a eșuat în timpul rulării. Acest lucru poate indica că sistemul CRON nu funcționează corect și poate împiedica unele funcționalități WP Rocket să lucreze așa cum ar trebui:" +msgstr[1] "Următoarele evenimente programate au eșuat în timpul rulării. Acest lucru poate indica că sistemul CRON nu funcționează corect și poate împiedica unele funcționalități WP Rocket să lucreze așa cum ar trebui:" +msgstr[2] "Următoarele evenimente programate au eșuat în timpul rulării. Acest lucru poate indica că sistemul CRON nu funcționează corect și poate împiedica unele funcționalități WP Rocket să lucreze așa cum ar trebui:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Te rog contactează serviciul tău de găzduire pentru a verifica dacă CRON funcționează." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Ștergere cache programată" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Optimizare bază de date programată" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Proces de optimizare a bazei de date" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Pre-încărcare" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Proces de generare CSS de cale critic" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Ștergerea automată Varnish va fi activată automat pe serverul tău %s după ce Varnish este activat. " + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Te rog dezactivează %s opțiune care intră în conflict cu funcționalitățile WP Rocket:" +msgstr[1] "Te rog dezactivează următoarele %s opțiuni care intră în conflict cu funcționalitățile WP Rocket:" +msgstr[2] "Te rog dezactivează următoarele %s de opțiuni care intră în conflict cu funcționalitățile WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%2$sDezactivează emoticoanele%3$s %1$s intră în conflict cu %2$sdezactivează emoticoanele%3$s WP Rockets" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%2$sCompresia GZIP%3$s %1$s intră în conflict cu %2$scompresia GZIP%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%2$scache-ul navigatorului%3$s %1$s intră în conflict cu %2$scache-ul navigatorului%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%2$sCache-ul paginilor%3$s %1$s intră în conflict cu %2$scache-ul paginilor%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%2$sOptimizarea resurselor%3$s %1$s intră în conflict cu %2$soptimizarea resurselor%3$s WP Rocket" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Suport" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Documentații" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Întrebări frecvente" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Setări" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "Actualizează restaurarea %s" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sÎntoarce-te la WP Rocket%2$s sau %3$smergi la pagina Module%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Importul setărilor a eșuat: nu ai permisiunea de a face asta." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Importul setărilor a eșuat: niciun fișier încărcat." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Importul setărilor a eșuat: nume fișier incorect." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Importul setărilor a eșuat: tip de fișier incorect." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Importul setărilor a eșuat: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Importul setărilor a eșuat: conținut neașteptat pentru fișier." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Setările au fost importate și salvate." + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Următorul model este invalid și a fost înlăturat:" +msgstr[1] "Următoarele modele sunt invalide și au fost înlăturate:" +msgstr[2] "Următoarele modele sunt invalide și au fost înlăturate:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Șterge cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Opțiuni WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Nu memora niciodată în cache această pagină" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Activează aceste opțiuni pentru acest articol:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "Încărcare lentă pentru imagini" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "Încărcare lentă pentru iframe-uri/videouri" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Minifică/combină CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Minifică/combină JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Amână JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Activează mai întâi opțiunea %s." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNotă:%2$s niciuna dintre aceste opțiuni nu va fi aplicată dacă acest articol a fost exclus din cache în setările globale privind cache-ul." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s nu a fost dezactivat deoarece lipsesc permisiunile de scriere.
    \n" +"Fă ca %2$s să poată fi scris și reîncearcă dezactivarea sau forțează dezactivarea acum:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: unul sau mai multe module au fost activate sau dezactivate, șterge cache-ul dacă ele afectează partea din față a site-ului." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: următoarele module nu sunt compatibile cu acest modul și pot duce la rezultate neașteptate:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Dezactivează" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS nu este un supliment oficial. El împiedică unele opțiuni din WP Rocket să funcționeze corect. Te rog dezactivează-l dacă ai probleme." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "În prezent, Endurance Cache este activat și va intra în conflict cu cache-ul WP Rocket. Te rog setează nivelul de cache la Oprit (nivel 0) pentru Endurance Cache în pagina %1$sSetări > Generale%2$s pentru a nu avea probleme." + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: pentru ca modulul să funcționeze cum trebuie, este necesară o structură personalizată pentru legăturile permanente. %2$sDu-te la setări Legături permanente%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s nu a putut modifica fișierul .htaccess deoarece lipsesc permisiunile de scriere." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Depanare: %1$scum să faci ca fișierele de sistem să poată fi scrise%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Nu-ți face griji, cache-ul paginilor și setările WP Rocket vor funcționa corect." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Pentru o performanță optimă, se recomandă adăugarea următoarelor linii în fișierul .htaccess (dat nu sunt obligatorii):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s este un început bun! %2$sTestează timpul de încărcare%4$ssau mergi la %3$sSetări%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Vrei să-i permiți modulului WP Rocket să colecteze de pe acest site date de diagnosticare care nu sunt sensibile?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Acest lucru ne ajută să îmbunătățim WP Rocket în viitor." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Ce informații vom colecta?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Mai jos este o listă detaliată a tuturor datelor pe care WP Rocket le va colecta dacă îți dai acceptul. WP Rocket nu va divulga niciodată nume de domenii sau adrese de email (cu excepția validării licenței), adrese IP sau chei API de la părți terțe." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Da, permit" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Nu, mulțumesc" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Îți mulțumim!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "Acum WP Rocket colectează aceste valori de pe site-ul tău web:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: cache șters." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: cache articol șters." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: cache termen șters." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: cache utilizator șters." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Oprește pre-încărcarea" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Forțează dezactivarea" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Codul următor ar fi trebuit să poată fi scris în acest fișier:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s nu se poate configura singur deoarece lipsesc permisiunile de scriere." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Fișier/dosar afectat: %s" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Tranzienți" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tabele" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Fișierul de depanare nu a putut fi șters." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Pentru a funcționa cum trebuie, %1$s%2$s necesită cel puțin:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Pentru a folosi această versiune a WP Rocket, întreabă-ți gazda web cum să actualizezi serverul la PHP %1$s sau la o versiune ulterioară. " + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Pentru a folosi această versiune a WP Rocket, te rog actualizează WordPress la versiunea %1$s sau la una ulterioară." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Dacă nu reușești să faci actualizarea, poți restaura o versiune anterioară folosind butonul de mai jos." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Reinstalează versiunea %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Fișierul jurnal nu există." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Fișierul jurnal nu a putut fi citit." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Jurnalele nu sunt salvate într-un fișier." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Interval de cache expirat WP Rocket" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "Cache-ul WebP este dezactivat printr-un filtru." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Folosești %1$s pentru a converti imaginile în WebP. Dacă vrei ca WP Rocket să le servească pentru tine, activează această opțiune. %2$sMai multe informații%3$s" +msgstr[1] "Folosești %1$s pentru a converti imaginile în WebP. Dacă vrei ca WP Rocket să le servească pentru tine, activează această opțiune. %2$sMai multe informații%3$s" +msgstr[2] "Folosești %1$s pentru a converti imaginile în WebP. Dacă vrei ca WP Rocket să le servească pentru tine, activează această opțiune. %2$sMai multe informații%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Folosești %1$s pentru a converti imaginile în WebP. WP Rocket va crea fișiere cache separate pentru a-ți servi imaginile WebP. %2$sMai multe informații%3$s" +msgstr[1] "Folosești %1$s pentru a converti imaginile în WebP. WP Rocket va crea fișiere cache separate pentru a-ți servi imaginile WebP. %2$sMai multe informații%3$s" +msgstr[2] "Folosești %1$s pentru a converti imaginile în WebP. WP Rocket va crea fișiere cache separate pentru a-ți servi imaginile WebP. %2$sMai multe informații%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket va crea separat fișiere cache pentru a-ți servi imaginile WebP." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Detectarea următoarei cerințe în tema ta a eșuat: închid %1$s." +msgstr[1] "Detectarea următoarele cerințe în tema ta a eșuat: închid %1$s." +msgstr[2] "Detectarea următoarele cerințe în tema ta a eșuat: închid %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "lunar" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Procesul de optimizare a bazei de date rulează acum" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Procesul de optimizare a bazei de date s-a finalizat. Totul a fost deja optimizat!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Procesul de optimizare a bazei de date s-a finalizat. Mai jos este lista elementelor optimizate:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d (de) %2$s optimizate (optimizați)." + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Eroare ștergere cache Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Cache-ul Sucuri este șters acum. Reține că s-ar putea să dureze până la două minute pentru a fi șters complet." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Cheia API pentru firewall-ul Sucuri nu a fost găsită." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Cheia API pentru firewall-ul Sucuri este invalidă." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Eroare la stabilirea contactului cu API-ul firewall-ului Sucuri. Mesajul de eroare a fost: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Nu am primit un răspuns de la API-ului firewall-ului Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Am primit un răspuns invalid de la API-ului firewall-ului Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API-ului firewall-ului Sucuri a returnat o eroare necunoscută." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API-ului firewall-ului Sucuri a returnat următoarea eroare: %s" +msgstr[1] "API-ului firewall-ului Sucuri a returnat următoarele erori: %s" +msgstr[2] "API-ului firewall-ului Sucuri a returnat următoarele erori: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "A apărut o eroare neașteptată. Este posibil să fie ceva greșit la WP-Rocket.me sau la configurarea acestui server. Dacă ai probleme în continuare, contactează suportul." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Toate limbile" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Șterge acest articol" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Curăță acest URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Șterge cache-ul Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Șterge cache-ul RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Documentație" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Ștergerea OPcache a eșuat." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache șters cu succes" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Activează Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Instalează Imagify gratuit" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Cu Imagify îți accelerezi site-ul și îmbunătățești SEO prin reducerea dimensiunilor fișierelor imagine fără a pierde calitatea imaginilor." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Mai multe detalii" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Pre-încărcare hărți site: %d de pagini au fost memorate în cache." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Pre-încărcare hărți site: %d de pagini nememorate în cache au fost pre-încărcate acum. (reîmprospătează pentru a vedea progresul)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Alege un domeniu din listă" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Nu este disponibil niciun domeniu în contul tău Cloudflare" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "curl este dezactivat pe serverul tău. Te rog cere-i serviciului tău de găzduire să-l activeze. El este necesar pentru ca suplimentul Cloudflare să funcționeze corect." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Emailul, cheia API și ID-ul zonei Cloudflare nu sunt setate. Pentru îndrumări suplimentare, citește %1$sdocumentația%2$s." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Emailul și cheia API Cloudflare nu sunt setate. Pentru îndrumări suplimentare, citește %1$sdocumentația%2$s." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Conectarea la Cloudflare a eșuat" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "Clasa numită %1$s este învechită începând cu versiunea %2$s! Folosește în schimb %3$s. " + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "Clasa numită %1$s este învechită începând cu versiunea %2$s! " + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Fișiere JS cu încărcare JavaScript întârziată" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Adaugă URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Înainte de a-ți putea încărca fișierul de import, trebuie să corectezi următoarea eroare:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Alege un fișier din computer (dimensiune maximă: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Datele tale de conectare Cloudflare sunt valide." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Datele tale de conectare Cloudflare sunt invalide!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Salvează și optimizează" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimizează" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Notă:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Tip de performanță" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Funcționalitate terță detectată: " + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Avertizare:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Descarcă setările" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Înlocuiește numele gazdei site-ului cu:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "rezervat pentru" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Toate fișierele" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Imagini" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Adaugă CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Urmărește videoul" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "De bază" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Fișiere statice" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Avansat" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Pentru a funcționa cum trebuie, %1$s%2$s necesită cel puțin PHP %3$s. Pentru a folosi această versiune, te rog întreabă gazda ta web cum poți actualiza serverul la PHP %3$s sau la o versiune ulterioară. Dacă nu reușești să faci actualizarea, poți restaura o versiune anterioară folosind butonul de mai jos." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Se pare că există o problemă de validare cu licența ta. Te rog vezi mai jos mesajul de eroare." +msgstr[1] "Se pare că există o problemă de validare cu licența ta. Poți vedea mai jos mesajele de eroare." +msgstr[2] "Se pare că există o problemă de validare cu licența ta. Poți vedea mai jos mesajele de eroare." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Tip de server:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Număr versiune PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Număr versiune WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "Multi-site WordPress:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Tema actuală:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Limba actuală a site-ului:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Module active:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Numele tuturor modulelor active" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Setări WP Rocket făcute anonime:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Care setări WP Rocket sunt active" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Validarea licenței a eșuat. Serverul nostru nu a putut rezolva cererea de pe site-ul tău web." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Încearcă să dai clic pe %1$sSalvează modificările%2$s mai jos. Dacă eroarea persistă, urmează %3$sacest ghid%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Validarea licenței a eșuat. Probabil folosești o versiune a modulului nevalidă. Te rog să faci următoarele:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Autentifică-te în %1$scontul%2$s tău WP Rocket" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Descarcă fișierul zip" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Reinstalează" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Dacă nu ai un cont WP Rocket, te rog %1$scumpără o licență%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Validarea licenței a eșuat. Acest cont de utilizator nu există în baza noastră de date." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Pentru a rezolva, te rog contactează suportul." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Validarea licenței a eșuat. Acest cont de utilizator este blocat." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Pentru mai multe informații, te rog vezi %1$sacest ghid%2$s." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Licența ta nu este validă." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Asigură-te că ai o %1$slicență WP Rocket%2$s activă." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Ai adăugat numărul de site-uri pe care le permite licența ta actuală." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Actualizează-ți %1$scontul%2$s sau %3$stransferă-ți licența%2$s la acest domeniu." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Acest site web nu este permis." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Te rog %1$scontactează suportul%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Această cheie de licență nu este recunoscută." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Dacă problema persistă, te rog %1$scontactează suportul%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Validarea licenței a eșuat: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Modul instalat cu succes." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Regret, nu ai voie să instalezi module pe acest site." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Regret, nu voie să faci asta." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Instalarea modulului a eșuat." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Du-te înapoi" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "În prezent, site-ul tău folosește același CSS de cale critic atât pentru desktop cât și pentru dispozitive mobile." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Dă clic pe buton pentru a activa CSS-ul de cale critic specific pentru dispozitive mobile pe site-ul tău." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Aceasta este o acțiune unică și acest buton va fi înlăturat ulterior. %1$sMai multe informații%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Acum site-ul tău folosește CSS-ul de cale critic specific pentru dispozitive mobile. %1$sMai multe informații%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Generează CSS-ul de cale critic specific pentru dispozitive mobile" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "CSS de cale critic" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Generează un anumit CSS de cale critic pentru acest articol. %1$sMai multe informații%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Acest articol folosește un anumit CSS de cale critic. %1$sMai multe informații%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Revino la CSS-ul de cale critic" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Anulează" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Activează optimizarea Fonturilor Google" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Îmbunătățește performanța fonturilor și combină mai multe cereri de fonturi pentru a reduce numărul de cereri HTTP." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Optimizarea Fonturilor Google este activată acum pentru site-ul tău. %1$sMai multe informații%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Optimizează fonturile Google" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Șterge cache după" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS și JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Setări import" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Stare supliment" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Modifică opțiunile" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CNAME CDN" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Șterge resursele memorate în cache-ul RocketCDN pentru site-ul tău web. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Află mai mult" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Șterge toate fișierele cache RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cache Cloudflare" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Șterge resursele memorate în cache pentru site-ul tău web. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Șterge toate fișierele cache Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Felicitări!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "Acum WP Rocket este activat și deja lucrează pentru tine." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Site-ul tău web ar trebui să se încarce mai rapid acum!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "De asemenea, avem opțiuni care oferă avantaje imediate pentru site-ul tău web." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Continuă cu opțiunile pentru a-ți optimiza în continuare site-ul!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Contul meu" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Reîmprospătează informațiile" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Data expirării" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Vezi contul meu" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Acțiuni rapide" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Înlătură toate fișierele cache" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Regenerează CSS critic" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Întrebări frecvente" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Încă nu poți găsi o soluție?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Trimite un tichet și primești ajutor de la membrii prietenoși și pricepuți WP Rocket." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Contactează suportul" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Fă o copie de siguranță a bazei de date înainte de a rula o curățare!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "După ce a fost efectuată o optimizare a bazei de date, nu există nicio modalitate de a o anula." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Salvează modificările și optimizează" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s a creat %3$sIMAGIFY%4$s %1$spentru optimizarea de înaltă clasă a imaginilor.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Comprimă imaginile pentru a-ți face site-ul mai rapid, menținând calitatea imaginilor." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Mai multe despre Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Pagină modul Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Site web Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Examinează modulele care comprimă imagini" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Instalează Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket nu a putut să-ți valideze automat licența." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Vezi acest %1$ssau contactează %2$s pentru a porni motorul." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$stutorial%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$ssuport%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Șterge toate fișierele cache Sucuri" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Dimensiune fișier: %1$s. Număr de intrări: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDescarcă fișierul%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sȘterge fișierul%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Setări export" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Descarcă un fișier cu copia de siguranță a setărilor" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Descarcă setările" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Restaurează" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Versiunea %s a provocat o problemă pe site-ul tău?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Aici poți restaura la o versiune majoră anterioară.%sApoi trimite-ne o cerere de suport." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Reinstalează versiune %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Mod depanare" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Creează un fișier jurnal de depanare." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Noțiuni de bază" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Începe cu WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Îți găsește cele mai bune setări pentru site" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Cum să verifici dacă WP Rocket îți memorează în cache site-ul" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Cum să măsori viteza site-ului" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Depanarea problemelor de afișare cu optimizarea fișierelor" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Cum să găsești JavaScript-ul care poate fi exclus" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Cum îți încetinește site-ul conținutul extern" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Cum funcționează pre-încărcarea" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Inițializează suplimentele Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Setări WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "versiunea %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Arată bara laterală" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket nu va divulga niciodată nume de domenii sau adrese de email (cu excepția validării licenței), adrese IP sau chei API de la părți terțe." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Activează analitice Rocket" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Este un punct de plecare bun pentru a rezolva unele dintre cele mai frecvente probleme." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Citește documentația" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Ce face implicit WP Rocket pentru tine" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Cum să măsori corect timpul de încărcare al site-ului tău web" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Vezi tutorialul nostru și învață cum să măsori viteza site-ului." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Citește ghidul nostru" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Citește mai mult" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Nu ai activat cache-ul pentru utilizatorii autentificați." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Folosește un navigator privat pentru a verifica viteza și aspectul vizual pentru site-ul tău web." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Valid numai până la %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Accelerează-ți site-ul web cu ajutorul:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Configurare ușoară: %1$scele mai bune setări pentru CDN%2$s sunt aplicate automat" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Integrare WP Rocket: opțiunea CDN este %1$sconfigurată automat%2$s în modulul nostru" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Începe" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Află mai multe despre RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Micșorează acest banner" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Accelerează-ți site-ul web cu RocketCDN, rețeaua de livrare conținut oferită de WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Află mai mult" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN nu este disponibil pentru domenii locale și site-uri în pregătire sau în testare." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Ia RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Nou!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Accelerează-ți site-ul web cu RocketCDN, rețeaua de livrare conținut oferită de WP Rocket!" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Ai nevoie de ajutor?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-ru.mo b/languages/rocket-ru.mo new file mode 100644 index 0000000..39fdb9b Binary files /dev/null and b/languages/rocket-ru.mo differ diff --git a/languages/rocket-ru.po b/languages/rocket-ru.po new file mode 100644 index 0000000..a04810b --- /dev/null +++ b/languages/rocket-ru.po @@ -0,0 +1,3594 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: \n" +"Language-Team: Russian (https://www.transifex.com/wp-media/teams/18133/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-ru_RU.mo b/languages/rocket-ru_RU.mo new file mode 100644 index 0000000..c78d330 Binary files /dev/null and b/languages/rocket-ru_RU.mo differ diff --git a/languages/rocket-ru_RU.po b/languages/rocket-ru_RU.po new file mode 100644 index 0000000..1141e5c --- /dev/null +++ b/languages/rocket-ru_RU.po @@ -0,0 +1,3596 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Bogdan Gerasymenko , 2021\n" +"Language-Team: Russian (Russia) (https://www.transifex.com/wp-media/teams/18133/ru_RU/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2021-07-16 11:30-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: ru_RU\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Ваш сайт размещён на %s, поэтому мы включили автоочистку Varnish." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Карта сайта Jetpack" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Кэшировать карту сайта от Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Карта сайта автоматически генерируется плагином %s. Можно активировать её кэширование." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "Карта сайта All in One SEO" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Карта сайта Rank Math" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Карта сайта SEOPress XML" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "Карта сайта SEO Framework" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Карта сайта Yoast SEO" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare не отвечает, попробуйте чуть позже." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Неправильный email или API ключ от Cloudflare." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Читайте %1$sдокументацию%2$s для лучшего понимания." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Неверный Zone ID от Cloudflare." + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Не указаны API ключ и email от аккаунта Cloudflare. Прочитайте %1$sдокументацию%2$s по настройке." + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Отсутствует Zone ID для Cloudflare." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Похоже, что ваш сайт не обслуживается Cloudflare." + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: кэш Cloudflare успешно очищен." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Ошибка в режиме разработчика Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Режим разработчика Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Ошибка уровня кэширования Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Уровень кэширования Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Ошибка минификации Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Минификация Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Ошибка загрузки Cloudflare:%s " + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Загрузчик Cloudflare%s " + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Ошибка кэша браузера Cloudflare: %s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Сохранить изменения" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Валидация Лицензии" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Недоступно" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Лицензия" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API ключ" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "E-mail" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Панель управления" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Информация и помощь" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Ваш статус" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Сбор аналитики" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Я разрешаю сбор анонимной информации для улучшения WP Rocket. %1$sКакие данные собираются?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Кэш" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Настройки кэша" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Мобильный кэш" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Ускорить сайт для мобильных пользователей." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Мы обнаружили плагин, который требует раздельное кэширование для мобильных устройств, поэтому включили эту опцию автоматически." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Пользовательский кэш" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sПользовательский кэш%2$s хорош, когда вы разделяете контент для гостей и пользователей." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Время жизни кэша" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Файлы кеша, старше установленного срока жизни, будут удалены.
    Включите %1$sпредзагрузку%2$s, чтобы кеш создавался автоматически после очистки. " + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Кэшировать авторизированных пользователей" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Включить кэширование для мобильных устройств" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Разделять файлы для мобильных устройств" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Большинство современных тем работают без раздельного кэша. Включайте эту настройку только если используете мобильную тему или плагины. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Укажите, через какое время очищать весь кэш (0 - отключает очистку)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Укажите время жизни до 10 часов и меньше, если на сайте возникают периодические ошибки. %1$sПочему?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Часов" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Дней" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Файлы" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Оптимизация CSS и JS" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS файлы" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Сжатие файлов в данный момент активировано в плагине Autoptimize. Если хотите использовать настройки %2$s, отключите плагин Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript файлы" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Сжимать стили CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Сжатие CSS убирает лишние пробелы и комментарии." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Это может навредить сайту!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Если вы заметили визуальные неполадки на сайте после активации этой опции - просто отключите её, и сайт снова заработает." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Включить сжатие CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Объединять CSS файлы (Включите сначала CSS сжатие)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Объединение CSS файлов уменьшает количество HTTP запросов. Не рекомендуется для сайтов с HTTP/2. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Включить объединение CSS" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Исключить CSS файлы" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Укажите URL на CSS файлы, которые не нужно сжимать и объединять (по одному в строке)." + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "Внутренние: Доменная часть будет обрезана автоматически. Используйте маску (.*).css для исключения всех CSS файлов в папке." + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "Сторонние: Используйте полный путь или доменное имя для исключения сторонних CSS. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Оптимизация доставки CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Запасной критичный CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Нужно на случай если автоматически созданный критичный CSS не полный. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "Включить удаление неиспользуемых CSS" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "Безопасный список CSS" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "Укажите имена файлов CSS, их ID или классы, которые не нужно удалять (по одному в строке)." + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Сжатие JavaScript файлов" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Сжатие JavaScript убирает лишние пробелы и комментарии." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Включить сжатие JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Объединять JavaScript файлы (сначала включите сжатие JavaScript)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Объединение JavaScript файлов уменьшает количество запросов к HTTP серверу. Не рекомендуется для сайтов на HTTP/2. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "Для лучшей совместимости данная функция была отключена, когда включена отложенная загрузка JavaScript." + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Включить объединение JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Исключенный код JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Задайте шаблон для исключения JavaScript из объединения (по одному в строке). %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Исключаемые JavaScript файлы" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Укажите URL на JavaScript файлы, которые не нужно сжимать и объединять (по одному в строке)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Примечание: доменное имя будет удалено автоматически. Используйте маску (.*).js для исключения всех JS файлов в заданном пути." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Сторонние плагины: Используйте полный путь либо доменное имя чтобы исключить внешние JS. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Асинхронная загрузка JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Асинхронная загрузка JavaScript устраняет проблему рендеринга страницы и ускоряет время загрузки. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "Укажите URL или ключевые слова для JavaScript файлов, которые не нужно включать в асинхронную загрузку (по одному в строке). %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "Отложить загрузку JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "Ускоряет сайт за счет откладывания загрузки JavaScript файлов, пока пользователь не произведёт действия (скрол, клик). %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "Укажите ссылки или ключевые слова для идентификации скриптов и файлов JavaScript, загрузка которых не будет откладываться (по одному в ряд)." + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Медиа" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Ускоряет сайт за счёт отложенной загрузки изображений, фреймов и видео по мере их появления в области видимости и уменьшает количество HTTP запросов. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad активирован в %2$s. Если хотите использовать WP Rocket’s LazyLoad, отключите его в %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "Размеры изображения" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "Добавить параметры ширины и высоты для изображений. Помогает избежать скачков дизайна при загрузке сайта. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Включите эту настройку, чтобы WP Rocket предлагал WebP изображения совместимым браузерам. Учтите, что WP Rocket не создаёт WebP изображения. Для этого используйте %1$sImagify%2$s. %3$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Включить для изображений" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "LazyLoad для изображений активирован в %2$s. Если хотите использовать %1$s’s LazyLoad, отключите его в %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Включить для фреймов и видео" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Заменять видео YouTube превью картинкой" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "Замена YouTube фреймов на картинку не работает с %2$s." + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Эта функция ускорит загрузку страницы, если на ней много YouTube видео." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Исключаемые изображения и фреймы" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "Укажите ключевые слова (например, название файла, CSS класс, домен) для изображений и фреймов, которые не требуется оптимизировать (по одному в строке). %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Добавить отсутствующие параметры" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Предзагрузка" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Создать файлы кэша, предзагрузить шрифты" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Презагрузка кэша" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Предзагрузка ссылок" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "Предзагрузка ссылок начинает загружать страницу уже когда пользователь наводит курсор на ссылку. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Оптимизация DNS запросов" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "DNS кэширование ускоряет загрузку удаленных файлов, особенно в мобильных сетях." + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Предзагрузка шрифтов" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "Улучшает производительность помогая браузерам обнаруживать шрифты в CSS файлах. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Активировать предзагрузку" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL для кэширования" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Укажите удаленные хосты для кэширования (без http:, по одному в строке)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Шрифты для предзагрузки" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "Укажите ссылки на шрифты для предзагрузки (по одной в строке). Файлы должны находиться на вашем сервере либо на домене, указанном во вкладке CDN." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "Доменная часть будет удалена автоматически.
    Допустимые файлы: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Включить предзагрузку ссылок" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Расширенные" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Расширенные правила" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Чувствительные страницы по типу ссылок на вход/выход нужно исключать из кэширования." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Корзина, оформление заказа и кабинет покупателя в %1$s%2$s%3$s определяются автоматически, их указывать не нужно." + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Некэшируемые URL" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Некэшируемые Cookies" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Некэшируемые User-Agent" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Всегда очищаемые страницы" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Кэшируемые запросы" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sКэширование запросов%2$s ускоряет работу GET параметров." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Укажите ссылки на страницы или записи которые не нужно кэшировать (по одному в строке)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Доменное имя будет автоматически убрано.
    Используйте маску (.*) для указания нескольких URLs в текущем пути." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "Укажите полные или частичные ID cookie, при наличии которых не будет кэшироваться страница (по одному в строке)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Укажите User-agent которые не должны видеть кэшированные страницы (по одному в ряд)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Используйте маску (.*) для определения UA строк." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Укажите URL страниц которые нужно всегда очищать от кэша (по одной в ряд)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Укажите запросы для кэширования (по одному в ряд)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "База данных" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Оптимизация и очистка" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Очистка записей" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Очистка устаревших ревизий и черновиков. Не используйте эту функцию, если вам важны черновики и ревизии." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Очистка комментариев" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Спам и комментарии в корзине будут удалены сразу." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Очистка транзакций" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Транзакции это временные настройки, их можно смело удалять. Они будут созданы автоматически, если потребуются плагину." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Очистка базы данных" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Уменьшает переполнение таблиц базы данных" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Ревизии" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s ревизия в базе данных." +msgstr[1] "%s ревизии в базе данных." +msgstr[2] "%s ревизий в базе данных." +msgstr[3] "%s ревизий в базе данных." + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Авто-черновики" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s черновик в вашей базе данных." +msgstr[1] "%s черновика в вашей базе данных." +msgstr[2] "%s черновиков в вашей базе данных." +msgstr[3] "%s черновик в вашей базе данных." + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Удалённые записи" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s удаленная запись в базе данных." +msgstr[1] "%s удаленные записи в базе данных." +msgstr[2] "%s удаленных записей в базе данных." +msgstr[3] "%s удалённых записей в базе данных." + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Спам" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s спамный комментарий в базе данных." +msgstr[1] "%s спамных комментария в базе данных." +msgstr[2] "%s спамных комментариев в базе данных." +msgstr[3] "%s спамных комментариев в базе данных." + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Удалённые комментарии" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s удаленный комментарий в базе данных." +msgstr[1] "%s удаленных комментария в базе данных." +msgstr[2] "%s удаленных комментариев в базе данных." +msgstr[3] "%s удаленных комментариев в базе данных." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Все транзакции" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "%s транзакция в базе данных." +msgstr[1] "%s транзакции в базе данных." +msgstr[2] "%s транзакций в базе данных." +msgstr[3] "%s транзакций в базе данных." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Оптимизация таблиц" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s таблица нуждается в оптимизации." +msgstr[1] "%s таблиц нуждаются в оптимизации." +msgstr[2] "%s таблиц нуждаются в оптимизации." +msgstr[3] "%s таблиц нуждаются в оптимизации." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Очистка по расписанию" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "очищать мусор в базе данных" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Ежедневно" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Еженедельно" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Ежемесячно" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Интеграция с CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Все ссылки на статические файлы (CSS, JS, изображения) будут заменены на указанные CNAME." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Не нужно для сервисов по типу Cloudflare или Sucuri. Смотрите наши %1$sдополнения%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Исключить файлы из CDN" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$l дополнение%3$s включено. Настройка CDN для работы %2$l на вашем сайте не требуется." +msgstr[1] "%1$s%2$l дополнения%3$s включено. Настройка CDN для работы %2$l на вашем сайте не требуется." +msgstr[2] "%1$s%2$l дополнений%3$s включено. Настройка CDN для работы %2$l на вашем сайте не требуется." +msgstr[3] "%1$s%2$l дополнений%3$s включено. Настройка CDN для работы %2$l на вашем сайте не требуется." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Включить сети доставки контента (CDN)" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Укажите CNAME ниже" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Укажите URL которые не нужно направлять через CDN (по одной в строке)" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Доменное имя будет автоматически убрано.
    Используйте маску (.*) для исключения всех файлов в данном пути." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Пульсация" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Управлять WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Уменьшить или отключить периодический опрос сервера на предмет новых данных." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Уменьшить или отключить Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Уменьшение активности позволяет изменить частоту пульсации с минуты до двух минут." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Отключение пульсации может навредить некоторым плагинам и темам использующим Heartbeat API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Не ограничивать" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Уменьшить активность" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Отключить" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Управлять пульсацией" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Поведение в админке" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Поведение в редакторе" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Поведение во фронтенде" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Дополнения" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Новые возможности" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Быстрые Rocket дополнения" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Следующие дополнения не требуют настройки. Просто активируйте их переключив выключатель." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Дополнения Rocket" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Дополнения Rocket расширяют функционал плагина." + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Интеграция с Cloudflare аккаунтом" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Укажите ваш email, глобальный API ключ и домен для интеграции Cloudflare с WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Если вы используете Varnish на сервере включите эту опцию." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnish кэш очищается вместе с остальным кэшем, чтобы поддерживать актуальность контента.
    %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Очищать Sucuri кэш вместе с очисткой кэша WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Укажите API ключ для очистки Sucuri кэша вместе с кэшом WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Синхронизировать Sucuri кэш с этими дополнениями." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare авторизация" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare настройки" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Глобальный API ключ:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Найти API ключ" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "E-mail" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID зоны" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Режим разработчика" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "На вашем сайте временно включён режим разработчика. Он будет отключен автоматически через 3 часа. %1$sПодробнее%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Оптимальные настройки" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Автоматическая настройка Cloudflare на быструю работу, производительность и совместимость." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Относительный протокол" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Будет использоваться относительный протокол // для CSS, JS и изображений вместо http:// или https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Разрешения Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Найти API ключ" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Загрузить файл и импортировать настройки" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Брандмауэр Sucuri: API ключ должен быть в формате {32 символа}/{32 символа}." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Настройки сохранены." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Инструменты" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Импорт, экспорт и откат" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Оптимизация фото" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Сожмите ваши фото" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Инструкции" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Обучающие видео" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "Ошибка очистки кэша RocketCDN: отсутствует индификатор параметра." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "Ошибка очистки кэша RocketCDN: отсутствует токен." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "Ошибка очистки кэша RocketCDN: API вернул неправильный код ответа." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "Ошибка очистки кэша RocketCDN: API вернул пустой ответ." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "Ошибка очистки кэша RocketCDN: API вернул неизвестный ответ." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "Ошибка очистки кэша RocketCDN: %s." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "Кэш RocketCDN успешно очищен." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Дата следующей оплаты" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Нет подписки" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "Ваша подписка на RocketCDN активна." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "Для использования RocketCDN измените CNAME на %1$s%2$s%3$s." + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "%1$sПодробнее%2$s" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN включен" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN отключен" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "Действительно только до %s!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Ваш сайт ускорится благодаря:" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "Легкая настройка: лучшие %1$sпараметры CDN%2$s применяются автоматически" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "Поддержка WP Rocket: CDN %1$sавтоматически настраивается%2$s с помощью этого плагина" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Начать" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "Узнать больше о RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Уменьшить баннер" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "Ускорьте свой сайт с помощью RocketCDN - службы доставки контента от WP Rocket." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Подробнее" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN не доступен на локальных сайтах и платформах." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "Получить RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Новинка!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "Ускорьте свой сайт с помощью RocketCDN - службы доставки контента от WP Rocket!" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Очистить этот кэш" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Интервал истёкшего кэша WP Rocket" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "Значение WP_CACHE" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "Для работы WP Rocket константа WP_CACHE должна быть установлена в true" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE установлена в true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE не задана" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE установлена в false" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Критические CSS для %1$sне созданы. Причина: %2$s" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "Критические CSS для %1$s для мобильных устройств не созданы: API вернуло пустой ответ." + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "Критические CSS для %1$s не созданы: API вернуло пустой ответ." + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Критические CSS для %1$s для мобильных устройств не созданы." + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "Критические CSS для %1$s не созданы." + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "Критические CSS для %1$s для мобильных устройств не созданы: API вернуло неправильный ответ." + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "Критические CSS для %1$s не созданы. Ошибка: API вернуло не верный код ответа." + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "Ошибка: %1$s" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Пересоздать критические CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Создать особые критические CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Пересоздать особые критические CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l для использования этой настройки." + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "Опубликуйте %s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Критическая генерация CSS в настоящее время работает." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Перейдите в %1$sнастройки WP Rocket%2$s для отслеживания процесса." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Создание критических CSS запущено: %1$d из %2$d страниц уже создано (обновите, чтобы увидеть процесс)." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Создание критических CSS завершено: %1$d из %2$d страниц." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Создание критических CSS вызвала ошибку." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Подробнее." + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "Критические CSS для %1$s для мобильных устройств не созданы. Ошибка: невозможно создать указанную папку." + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "Критические CSS для %1$s не созданы. Ошибка: невозможно создать указанную папку." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Критические CSS для мобильных не созданы" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Файл критических CSS не создан" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Невозможно удалить критические CSS для мобильных" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Невозможно удалить критические CSS" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "Мобильные критические CSS для %1$s не созданы." + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "Критические CSS для %s в процессе создания." + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "Мобильные критические CSS для %s созданы." + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Критические CSS для %s созданы." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Критические CSS успешно удалены." + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Мобильные критические CSS для %1$s истекли. Повторите позже." + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "Критические CSS для %1$s истекли. Повторите попытку позже." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Мобильные критические CSS не включены." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "Запрошенная запись не существует." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Невозможно создать критические CSS для неопубликованной записи." + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "еженедельно" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Не удалось запустить запланированное задание. Это может указывать на то, что система CRON не работает корректно, и соответвенно, функционал WP Rocket, который от неё зависит, не функционирует:" +msgstr[1] "Не удалось запустить запланированные задания. Это может указывать на то, что система CRON не работает корректно, и соответвенно, функционал WP Rocket, который от неё зависит, не функционирует:" +msgstr[2] "Не удалось запустить запланированные задания. Это может указывать на то, что система CRON не работает корректно, и соответвенно, функционал WP Rocket, который от неё зависит, не функционирует:" +msgstr[3] "Не удалось запустить запланированные задания. Это может указывать на то, что система CRON не работает корректно, и соответвенно, функционал WP Rocket, который от неё зависит, не функционирует:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Пожалуйста, свяжитесь с вашим хостом, чтобы проверить, работает ли CRON." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Запланированная очистка кэша" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Запланированная оптимизация базы данных" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Процесс оптимизации базы данных" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Предзагрузка" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Процесс создания критических CSS" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "Извлеките выгоду от %1$s ускорив больше сайтов: %2$s получите %3$s%4$s скидки%5$s для %3$s обновления лицензии до Plus или Пожизненной.%5$s" +msgstr[1] "Извлеките выгоду от %1$s ускорив больше сайтов: %2$s получите %3$s%4$s скидки%5$s для %3$s обновления лицензии до Plus или Пожизненной.%5$s" +msgstr[2] "Извлеките выгоду от %1$s ускорив больше сайтов: %2$s получите %3$s%4$s скидки%5$s для %3$s обновления лицензии до Plus или Пожизненной.%5$s" +msgstr[3] "Извлеките выгоду от %1$s ускорив больше сайтов: %2$s получите %3$s%4$s скидки%5$s для %3$sполучения пожизненной лицензии!%5$s" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Без ограничений" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "%s скидка" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "%s акций доступно!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Поспешите! Акция закончится:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Минут" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Секунд" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Обновить сейчас" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "Ваша лицензия WP Rocket истекла!" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Продлить сейчас" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "Продлите с %1$s%2$s скидкой%3$s до конца срока, вы платите только %1$s%4$s%3$s!" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Ускорить больше сайтов" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "Вы можете использовать WP Rocket на нескольких сайтах обновив свою лицензию. Оплатите %1$sразницу в цене%2$s между текущей и расширенной лицензиями." + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$sПримечание:%2$s обновление не изменяет срок истечения лицензии" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "Сэкономить %s$" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "%s сайтов" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "Обновить до %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "Вы можете использовать WP Rocket на нескольких сайтах обновив свою лицензию (вы оплачиваете только разницу в цене)." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Очистить неиспользуемые CSS" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "Очистка кэша Varnish будет включена автоматически, когда станет доступен Varnish кэш на %s сервере." + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s: Мод PageSpeed не совместим с нашим плагином и может вызывать ошибки. %2$sПодробнее%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Пожалуйста, отключите %s настройку которая конфликтует с WP Rocket:" +msgstr[1] "Пожалуйста, отключите %s настройки которые конфликтуют с WP Rocket:" +msgstr[2] "Пожалуйста, отключите %s настроек которые конфликтуют с WP Rocket:" +msgstr[3] "Пожалуйста, отключите %s настроек которые конфликтуют с WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s%2$sотключение смайликов%3$s конфликтует с %2$sаналогичной настройкой%3$s в WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s%2$sGZIP сжатие%3$s конфликтует с %2$sаналогичной настройкой%3$s в WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s%2$sбраузерное кэширование%3$s конфликтует с %2$sаналогичной настройкой%3$s в WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s%2$sкэширование страниц%3$s конфликтует с %2$sаналогичной настройкой%3$s в WP Rocket." + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s%2$sоптимизация%3$s конфликтует с %2$sаналогичной настройкой%3$s в WP Rocket." + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Поддержка" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Документация" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "FAQ" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Настройки" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%sотменить обновление" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sВернитесь в WP Rocket%2$s или на %3$sстраницу плагинов%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Ошибка импорта: у вас нет прав для совершения данной операции." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Ошибка импортирования настроек: файл не загружен." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Ошибка импортирования настроек: неверное название файла." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Ошибка импортирования настроек: неверный тип файла." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Ошибка импорта настроек:" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Ошибка импорта настроек: неверное содержимое файла." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Настройки импортированы и сохранены." + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Следующий паттерн ошибочный и был удалены:" +msgstr[1] "Следующие паттерны ошибочны и были удалены:" +msgstr[2] "Следующие паттерны ошибочны и были удалены:" +msgstr[3] "Следующие паттерны ошибочны и были удалены:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Очистить кэш" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "Настройки WP Rocket" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Не кэшировать эту страницу" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Применить к этой записи:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad для изображений" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad для фреймов и видео" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Сжатие и объединение CSS" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "Убрать неиспользуемые CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Сжатие и объединение JS" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Асинхронный JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Активируйте сначала %s" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sПримечание:%2$s данные настройки не применяются, если запись исключена из кэширования в общих настройках." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$sне может быть отключено из-за ошибки прав записи CHMOD.
    \n" +"Позвольте запись в %2$s и повторите попытку, либо отключите насильно:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Один или несколько плагинов были отключены или удалены. Очистите кэш, чтобы стереть их следы." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Следующие плагины не совместимы с WP Rocket и могут вызывать ошибки:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Отключить" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS - неофициальное дополнение, поэтому может нарушать работу WP Rocket. Отключите его, если на сайте возникают ошибки." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Endurance Cache сейчас включен и создает конфликты с кешем WP Rocket. Пожалуйста, установите отключите кеширование в Endurance Cache (режим Off или Level 0) на странице %1$sНастройки > Общие%2$s, чтобы избежать проблем. " + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Активируйте постоянные ссылки для работы WP Rocket. %2$sЭто можно сделать в меню настроек%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s не может изменить файл .htaccess из-за отсутствующих прав записи." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Решение проблем: %1$sКак разрешить запись файлов%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Не волнуйтесь, кэширование страниц и настройки WP Rocket продолжают работать." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Для лучшей производительности, рекомендуется добавить эти строки в файл .htaccess (не обязательно):" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s работает отлично! %2$sПроверьте скорость загрузки%4$s, или перейдите в %3$sнастройки%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Вы разрешаете WP Rocket собирать анонимные данные с вашего сайта?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Это позволит улучшить WP Rocket в будущем." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Какую информацию мы собираем?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Ниже представлен список данных, собираемых плагином WP Rocket, если вы это позволили. Мы никогда не передаем названия доменов, электронные адреса (кроме проверки лицензии), IP или любые API ключи." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Да, разрешаю" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Нет, спасибо" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Спасибо!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket собирает такие данные с вашего сайта:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: кэш успешно очищен." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: кэш записей очищен." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: очистка кэша категорий." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: очистка кэша пользователей." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Оставновить предзагрузку" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Полная деактивация" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Нужно записать следующий код в этот файл:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%sнельзя настроить автоматически из-за ошибки записи в файл." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Проблемная папка/файл: %s" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Транзакции" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Таблицы" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Невозможно удалить файл отладки." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Для корректной работы %1$s %2$s требуется хотя бы" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s. Для использования WP Rocket попросите своего хостинг-провайдера установить версию PHP %1$s и выше." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Для использования WP Rocket обновите версию WordPress до %1$s и выше." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Если вы не можете этого сделать, попробуйте использовать более старую версию WP Rocket." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Установить версию %s" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "Каждые %d минут" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Журнал ошибок не существует." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Невозможно прочитать журнал ошибок." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Журнал ошибок не записывается в файл." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "Кэш WebP отключен фильтром." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Вы используете %1$s для конвертации изображений в WebP. Если Вы хотите включить поддержку WebP, включите эту настройку. %2$sПодробнее%3$s" +msgstr[1] "Вы используете %1$s для конвертации изображений в WebP. Если Вы хотите включить поддержку WebP, включите эту настройку. %2$sПодробнее%3$s" +msgstr[2] "Вы используете %1$s для конвертации изображений в WebP. Если Вы хотите включить поддержку WebP, включите эту настройку. %2$sПодробнее%3$s" +msgstr[3] "Вы используете %1$s для конвертации изображений в WebP. Если Вы хотите включить поддержку WebP, включите эту настройку. %2$sПодробнее%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Вы используете %1$s для конвертации изображений в WebP. WP Rocket включит раздельное кэширование для работы WebP изображений. %2$sПодробнее%3$s" +msgstr[1] "Вы используете %1$s для конвертации изображений в WebP. WP Rocket включит раздельное кэширование для работы WebP изображений. %2$sПодробнее%3$s" +msgstr[2] "Вы используете %1$s для конвертации изображений в WebP. WP Rocket включит раздельное кэширование для работы WebP изображений. %2$sПодробнее%3$s" +msgstr[3] "Вы используете %1$s для конвертации изображений в WebP. WP Rocket включит раздельное кэширование для работы WebP изображений. %2$sПодробнее%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket создаст раздельный кэш для поддержки WebP изображений." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Ошибка определения следующего требования в теме: %1$s." +msgstr[1] "Ошибка определения следующих требований в теме: %1$s." +msgstr[2] "Ошибка определения следующих требований в теме: %1$s." +msgstr[3] "Ошибка определения следующих требований в теме: %1$s." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "ежемесячно" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Оптимизация базы данных в процессе" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Оптимизация базы данных завершена. Все неполадки устранены." + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Оптимизация базы данных завершена. Список выполненных задач:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d%2$s исправлено." + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Ошибка очистки кэша Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Кэш Sucuri очищен. Учтите, что может потребоваться около двух минут для полного сброса." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "API ключ безопасности Sucuri не найден." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "API ключ безопасности Sucuri не верный." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Ошибка связи с Sucuri firewall API. Ответа сервера: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Не удалось получить ответ от Sucuri firewall API." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Ошибочный ответ от Sucuri firewall API." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri firewall API вернул неизвестную ошибку." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "Брандмауэр Sucuri вернул следующую ошибку: %s" +msgstr[1] "Брандмауэр Sucuri вернул следующие ошибки: %s" +msgstr[2] "Брандмауэр Sucuri вернул следующие ошибки: %s" +msgstr[3] "Брандмауэр Sucuri вернул следующие ошибки: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Непредвиденная ошибка. Что-то пошло не так с сайтом WP-Rocket.me или сервером. Если ошибка появляется часто, свяжитесь с нами." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Все языки" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Очистить этот пост" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Очистить данный URL" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Очистить кэш Sucuri" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "Очистить кэш RocketCDN" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Документация" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Ошибка очистки OPcache" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache успешно очищен" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Включить Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Установить Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Ускорьте свой сайт и показатели SEO установив бесплатный плагин Imagify для сжатия фото без потери качества." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Подробнее" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Кэширование по карте сайта: %d страниц закэшировано." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Кэширование по карте сайта: %d страниц закэшировано." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Выберите домен из списка" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Нет доступных доменов в Cloudflare аккаунте" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl отключен на вашем сервере. Попросите техподдержку хостинга включить его. Это нужно для работы дополнения Cloudflare." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email, API ключ и Zone ID не установлены. Прочитайте %1$sдокументацию%2$s для лучшего понимания." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare email и API ключ не установлены. Прочитайте %1$sдокументацию%2$s для лучшего понимания." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Ошибка подключения к Cloudflare" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "Класс %1$s уже устарел с версии %2$s! Используйте %3$s взамен." + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "Класс %1$s уже устарел с версии %2$s!" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS файлы с отложенной загрузкой" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Добавить URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Прежде чем вы сможете загрузить файл импорта, вам необходимо исправить такие ошибки:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Выберите файл на компьютере (максимальный размер: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Ваши данные от Cloudflare верны." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Вы указали не верные данные от Cloudflare!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Сохранить и очистить" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Начать оптимизацию" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Примечание:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Совет:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Обнаружен сторонний плагин:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Внимание:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Скачать настройки" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Заменить адреса сайта на:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "использовать для" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Всех файлов" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Изображений" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Добавить CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Посмотреть видео" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Основное" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Файлы" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Расширенное" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s%2$sтребует наличия версии PHP не ниже %3$s. Чтобы использовать эту функцию, обратитесь к хостеру с просьбой повысить версию PHP до %3$s и выше. В противном случае, используйте старую версию плагина." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Произошла ошибка с проверкой вашей лицензии. Ниже содержится текст ошибки." +msgstr[1] "Произошли ошибки с проверкой вашей лицензии. Ниже содержится текст ошибки." +msgstr[2] "Произошли ошибки с проверкой вашей лицензии. Ниже содержится текст ошибки." +msgstr[3] "Произошли ошибки с проверкой вашей лицензии. Ниже содержится текст ошибки." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Тип сервера:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Версия PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Версия WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress сеть:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Текущая тема:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Текущий язык сайта:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Активные плагины:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Названия всех активных плагинов" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Анонимные данные WP Rocket:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Какие настройки WP Rocket активны" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Предоставленная лицензия не действительна." + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Для решения проблемы %1$sсвяжитесь с техподдержкой%2$s." + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Ошибка проверки лицензии. Наш сервер на распознал запрос с вашего сайта." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Нажмите %1$sСохранить изменения%2$s ниже. Если ошибка повториться, следуйте %3$sэтой инструкции%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Ошибка подтверждения лицензии. Возможно, вы используете взломанный плагин. Сделайте следующее:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "%1$sВойдите%2$s в свой аккаунт WP Rocket." + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Скачать zip-архив" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Переустановить" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Если у вас нет аккаунта WP Rocket, вы можете %1$sкупить лицензию%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Ошибка регистрации. Такого аккаунта нет в нашей базе данных." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Для решения свяжитесь с техподдержкой." + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Ваша лицензия не прошла проверку. Аккаунт заблокирован." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Посмотрите %1$sэту справку%2$s для подробной информации." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Ваша лицензия не валидна." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Убедитесь, что у вас есть %1$sактивная лицензия%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Вы добавили максимальное допустимое число сайтов." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Обновите %1$sтарифный план%2$s либо %3$sперенесите лицензию%2$s на этот домен." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Этот сайт не разрешен." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Свяжитесь со %1$sслужбой поддержки%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Лицензионный ключ не распознан." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "В этом случае свяжитесь со %1$sслужбой поддержки%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Ошибка лицензирования: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Плагин установлен успешно." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "Извините, вы не можете устанавливать плагины на этом сайте." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "Извините, у вас нет прав для этого действия." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Ошибка установки плагина." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Назад" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "Ваш сайт использует общие критические CSS для компьютерной и мобильной версий." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "Нажмите на кнопку для включения раздельных критических CSS." + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "Это единоразовое действие и после выполнения кнопка исчезнет. %1$sПодробнее%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "Ваш сайт использует мобильные критические CSS. %1$sПодробнее%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Создать Мобильные CPCSS" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Критические CSS:" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "Создать специфические критические CSS для этой записи. %1$sПодробнее%2$s" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "Эта запись использует специфические критические CSS. %1$sПодробнее%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Откатиться к обычным критическим CSS" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Отмена" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Включить оптимизацию Google Шрифтов" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "Оптимизирует подключаемые шрифты и объединяет их в один запрос для уменьшения HTTP запросов." + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Оптимизация Google Шрифтов включена. %1$sПодробнее%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Оптимизация Google Fonts" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Очистить кэш после" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS и JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Импорт настроек" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Состояние" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Настройка" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Очищает кэш RocketCDN для вашего сайта. %s" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Подробнее" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Очистить все файлы RocketCDN" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare кэш" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Очистка кэшированых ресурсов. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Удалить кэш Cloudflare" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Поздравляем!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket активирован и уже работает на Вас." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Теперь Ваш сайт будет грузиться быстрее!" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "Для ускорения сайтов WP Rocket автоматически применяет 80% проверенных наработок." + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Мы также активировали настройки, которые гарантированно ускорят сайт." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Для лучшего ускорения используйте ручную настройку." + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Мой профиль" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Обновить" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Действительно до" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Просмотр профиля" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Быстрые действия" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Удалить все файлы кэша" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Пересоздать критический CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Убрать кэш неиспользуемых CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Часто задаваемые вопросы" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Не нашли ответа на вопрос?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Создайте тикет и получите помощь от нашего дружелюбного сообщества." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Поддержка" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Сделайте резервную копию базы данных перед очисткой!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Отменить результаты очистки и оптимизации базы данных невозможно." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Сохранить и оптимизировать" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s создали %3$sIMAGIFY%4$s%1$s для лучшей оптимизации изображений.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Сожмите фото для ускорения сайта, не теряя качество изображений." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Больше о Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Страница плагина Imagify" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Веб-сайт Imagify" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Обзор на плагины для сжатия фото" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Установить Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket не смог проверить вашу лицензию автоматически." + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "Следуйте этой %1$s либо напишите в %2$s для запуска." + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$sиструкции%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$sподдержку%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Очистить все файлы Sucuri кэша" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Размер файлов: %1$s. Количество записей: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sСкачать файл%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sУдалить файл%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Экспорт настроек" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Скачать файл настроек для использования на другом сайте" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Скачать настройки" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Восстановление" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Возникли проблемы с версией %s?" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "Вы можете откатиться к предыдущей версии здесь.%sПосле этого отправьте нам отчёт об ошибке." + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Установить версию %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Режим отладки" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Создать отладочный файл." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Начало работы" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Начало работы с WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Поиск лучших настроек для вашего сайта" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Как убедиться, что WP Rocket кэширует сайт" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Как измерить скорость работы сайта" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Ошибки отображения из-за файловой оптимизации" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Какие JavaScript файлы исключить" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Как внешний контент замедляет ваш сайт" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Как работает предзагрузка" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Установка Cloudflare дополнения" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "Настройки WP Rocket" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "Версия %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Показывать панель" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "Вот список данных, которые собирает WP Rocket если %1$sна это дано разрешение%2$s." + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket никогда не передает имя домена, email (кроме проверки лицензии), IP адреса и API ключи сторонним людям." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Включить сбор данных" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Большинство проблем описаны в нашей документации." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Читать документацию" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Что WP Rocket делает по умолчанию" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Как правильно измерить скорость работы сайта" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Посмотрите видео как измерить скорость работы сайта." + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "Изучите оптимальные настройки WP Rocket для мобильных устройств." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Читать статью" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "Проверить и улучшить Google Core Web Vitals для WordPress." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Читать статью" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Вы не включили кэширование для пользователей." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Перейдите в режим инкогнито для проверки скорости сайта и внешнего вида." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Нужна помощь?" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" diff --git a/languages/rocket-sr.mo b/languages/rocket-sr.mo new file mode 100644 index 0000000..498d937 Binary files /dev/null and b/languages/rocket-sr.mo differ diff --git a/languages/rocket-sr.po b/languages/rocket-sr.po new file mode 100644 index 0000000..6c006e3 --- /dev/null +++ b/languages/rocket-sr.po @@ -0,0 +1,3576 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Marko Nikolic , 2019\n" +"Language-Team: Serbian (https://www.transifex.com/wp-media/teams/18133/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "JetPack XML mape sajta" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Mi automatski detektujemo mapu sajta kreiranu od strane %s dodatka. Možete da izaberete opcije za preload." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All In One SEO XML mapa sajta" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML mapa sajta" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Podrška" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokumentacija" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Česta pitanja" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Podešavanja" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Očisti ovu keš memoriju" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Vraćanje Ažuriranja" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Увоз подешавања није успео: датотека није увезена." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Увоз подешавања није успео: погрешно име датотеке." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Увоз подешавања није успео: погрешан тип датотеке." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Podešavanja su uvezena i snimljena." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare грешка развојног мода: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Cloudflare развојни мод %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare грешка нивоа кеширања: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare ниво кеширања: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare грешка приликом минификације: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Cloudflare минификацијa: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Грешка Cloudflare-овог Rocket Loader-а: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare-ов Rocket Loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Грешка Cloudflare-овог кеширања претраживача: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Očisti keš memoriju" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ne keširaj ovu stranu" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktiviraj sledeće opcije na ovom postu:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad слика" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad iframe-а/видеа" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Умањи/комбинуј CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Умањи/комбинуј ЈS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Одложено учитавање JS кода" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Prvo aktiviraj %s opciju." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Deaktiviraj" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Revizije" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Auto Nacrti" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licenca" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Емаил адреса" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Ово би могло да ... ствари" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Уколико приметите било какву грешку на Вашем сајту након активирања овог подешавања, исклјучите га и Ваш сајт ће бити враћен у нормално стање." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Preload" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "Baza podataka" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Svi tranzijenti" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Učestalost" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Dnevno" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Nedeljno" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Mesečno" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Upload datoteke i uvoz podešavanja" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Podešavanja snimljena." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "nedeljno" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Alati" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Svi jezici" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Poništite ovaj članak" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Očistite ovaj URL" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentacija" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "mesečno" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Aktiviraj Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Besplatno instaliraj Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Ubrzajte Vaš sajt i poboljšajte SEO redukovanjem veličine slika bez gubitka na kvalitetu pomoću Imagify-a." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Dodaj URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Pre nego što možete otpremiti svoju datoteku za uvoz, trebate popraviti sledeću grešku:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Изаберите датотеку са Вашег компјутера (максимална величина: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Ваши Cloudflare подаци су тачни." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Ваши Cloudflare подаци нису тачни!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Snimi i optimizuj" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Optimizuj" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Напомена:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Савет:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Упозорење:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Преузми подешавања" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Zamenite hostname naziv stranice sa:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "rezervisano za" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Sve datoteke" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Slike" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Dodaj CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Pogledajte video" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Основно" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Статични фајлови" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Напредно" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Izaberite domen sa liste" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Vaša licenca nije validna." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Ova web stranica nije dozvoljena." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Otkaži" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Преузми подешавања" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-sv_SE.mo b/languages/rocket-sv_SE.mo new file mode 100644 index 0000000..45f4607 Binary files /dev/null and b/languages/rocket-sv_SE.mo differ diff --git a/languages/rocket-sv_SE.po b/languages/rocket-sv_SE.po new file mode 100644 index 0000000..173fcc9 --- /dev/null +++ b/languages/rocket-sv_SE.po @@ -0,0 +1,3558 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Malin Andersson, 2019\n" +"Language-Team: Swedish (Sweden) (https://www.transifex.com/wp-media/teams/18133/sv_SE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: sv_SE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Support" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Dokument" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Frågor och svar" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Inställningar" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Radera denna cache" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Uppdatera återställning" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Inställningar importerade och sparade." + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Radera cache" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Aktivera följande alternativ för detta inlägg:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Aktivera först %s alternativet." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Inaktivera" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Licens" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Ladda upp fil och importera inställningar" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Inställningar sparade." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Verktyg" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Alla språk" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Rensa det här inlägget" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Rensa webbadressen" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Dokumentation" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Ange URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Innan du kan ladda upp din importfil, måste du åtgärda följande fel:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Byt domänens värdnamn med:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "reserverad för" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Alla filer" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Bilder" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Ange CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Titta på videon" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Din licens är inte giltig." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Denna webbplats är inte tillåten." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Avbryt" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-tr_TR.mo b/languages/rocket-tr_TR.mo new file mode 100644 index 0000000..e2fbdbd Binary files /dev/null and b/languages/rocket-tr_TR.mo differ diff --git a/languages/rocket-tr_TR.po b/languages/rocket-tr_TR.po new file mode 100644 index 0000000..8e9d3c0 --- /dev/null +++ b/languages/rocket-tr_TR.po @@ -0,0 +1,4639 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Romain • WP Rocket , 2019 +# Muhittin Sahilli , 2021 +# Abdullah Pazarbasi , 2023 +# BouRock, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15.1-alpha1\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-09-25T14:39:29+03:00\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: BouRock, 2023\n" +"Language-Team: Turkish (Turkey) (https://app.transifex.com/wp-media/teams/18133/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Plugin Name of the plugin +msgid "WP Rocket" +msgstr "WP Rocket" + +#. Plugin URI of the plugin +msgid "https://wp-rocket.me" +msgstr "https://wp-rocket.me" + +#. Description of the plugin +msgid "The best WordPress performance plugin." +msgstr "En iyi WordPress performans eklentisi." + +#. Author of the plugin +msgid "WP Media" +msgstr "WP Media" + +#. Author URI of the plugin +msgid "https://wp-media.me" +msgstr "https://wp-media.me" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "" +"Siteniz %s üzerinde barındırılıyor, uyumluluk için Varnish oto-temizle’yi " +"etkinleştirdik." + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare hiçbir yanıt vermedi. Lütfen daha sonra tekrar deneyin." + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Cloudflare beklenmedik yanıtı" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Eksik Cloudflare sonucu." + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Yanlış Cloudflare e-posta adresi veya API anahtarı." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "İleriki rehberlik için %1$sbelgeleri%2$s okuyun." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Yanlış Cloudflare Bölge Kimliği." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "" +"Cloudflare e-posta adresi ve/veya API anahtarı ayarlı değil. Daha fazla " +"rehberlik için %1$sbelgeleri%2$s okuyun." + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Eksik Cloudflare Bölge Kimliği." + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Etki alanınız Cloudflare’de ayarlanmamış gibi görünüyor." + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "gün" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "saniye" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "dakika" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "saat" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket:%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket:%2$s Cloudflare önbelleği başarılı olarak temizlendi." + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Cloudflare geliştirme kipi hatası: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Cloudflare geliştirme kipi %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Cloudflare önbellek seviyesi hatası: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "standart" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Cloudflare önbellek seviyesi %s olarak ayarlandı" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare küçültme hatası: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Cloudflare küçültme %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Cloudflare rocket yükleyici hatası: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare rocket yükleyici %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare tarayıcı önbelleği hatası: %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cloudflare tarayıcı önbelleği %s olarak ayarlandı" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sWP Rocket:%2$s Cloudflare için en uygun ayarlar aktif edildi:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "" +"%1$sWP Rocket:%2$s Cloudflare için en uygun ayarlar devre dışı bırakıldı, " +"önceki ayarlara geri döndürüldü:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket: " + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri önbellek temizleme hatası: %s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "" +"Sucuri önbelleği temizlenmekte. Tamamen temizlenmesinin iki dakika kadar " +"sürebileceğini unutmayın." + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "Sucuri güvenlik duvarı API anahtarı bulunamadı." + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucuri güvenlik duvarı API anahtarı geçersiz." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" +"Sucuri güvenlik duvarı API’si ile iletişime geçerken hata oldu. Hata " +"iletisi: %s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Sucuri güvenlik duvarı API’sinden bir yanıt alınamadı." + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Sucuri güvenlik duvarı API’sinden geçersiz bir yanıt alındı." + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri güvenlik duvarı API’si bilinmeyen bir hata döndürdü." + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +"Sucuri güvenlik duvarı API’si şurada belirtilen hatayı döndürdü: %s" +msgstr[1] "" +"Sucuri güvenlik duvarı API’si şurada belirtilen hataları döndürdü: %s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"WebP resimlerini sunmak için %1$s kullanıyorsunuz bu yüzden bu seçeneği " +"etkinleştirmeniz gerekmiyor. %2$sDaha fazla bilgi%3$s %4$s Bu hizmeti " +"WebP’nin yerine sizin için WP Rocket’in sunmasını tercih ederseniz, lütfen " +"%1$s içinde WebP görüntülemeyi etkisizleştirin." +msgstr[1] "" +"WebP resimlerini sunmak için %1$s kullanıyorsunuz bu yüzden bu seçeneği " +"etkinleştirmeniz gerekmiyor. %2$sDaha fazla bilgi%3$s %4$s Bu hizmeti " +"WebP’nin yerine sizin için WP Rocket’in sunmasını tercih ederseniz, lütfen " +"%1$s içinde WebP görüntülemeyi etkisizleştirin." + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP önbelleği, süzgeç tarafından etkisizleştirildi." + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +"Resimleri WebP’ye dönüştürmek için %1$s kullanıyorsunuz. WP Rocket’in " +"bunları sizin için sunmasını istiyorsanız, bu seçeneği aktif edin. %2$sDaha " +"fazla bilgi%3$s" +msgstr[1] "" +"Resimleri WebP’ye dönüştürmek için %1$s kullanıyorsunuz. WP Rocket’in " +"bunları sizin için sunmasını istiyorsanız, bu seçeneği aktif edin. %2$sDaha " +"fazla bilgi%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +"Resimleri WebP’ye dönüştürmek için %1$s kullanıyorsunuz. WP Rocket, WebP " +"resimlerinizi sunmak için ayrı önbellek dosyaları oluşturacak. %2$sDaha " +"fazla bilgi%3$s" +msgstr[1] "" +"Resimleri WebP’ye dönüştürmek için %1$s kullanıyorsunuz. WP Rocket, WebP " +"resimlerinizi sunmak için ayrı önbellek dosyaları oluşturacak. %2$sDaha " +"fazla bilgi%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$sHerhangi bir uyumlu WebP eklentisi tespit etmedik!%6$s%4$s Eğer " +"sitenizde zaten WebP resimleriniz yoksa, %3$sImagify%2$s veya desteklenen " +"başka bir eklenti kullanmayı düşünün. %1$sDaha fazla bilgi%2$s %4$s Eğer " +"WebP kullanmıyorsanız, bu seçeneği etkinleştirmeyin." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" +"WP Rocket, WebP resimlerinizi sunmak için ayrı önbellek dosyaları " +"oluşturacak." + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Destek" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Belgeler" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "SSS" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Ayarlar" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "Bu önbelleği temizle" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Ayarları içe aktarma başarısız oldu: bunu yapmak için izniniz yok." + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "Ayarları içe aktarma başarısız oldu: gönderilen dosya yok." + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "Ayarları içe aktarma başarısız oldu: yanlış dosya adı." + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "Ayarları içe aktarma başarısız oldu: yanlış dosya türü." + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "Ayarları içe aktarma başarısız oldu:" + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "Ayarları içe aktarma başarısız oldu: beklenmeyen dosya içeriği." + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "Ayarlar içe aktarıldı ve kaydedildi." + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "Hariç Tutulan CSS Dosyaları" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "Hariç Tutulan Satır İçi JavaScript" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "Hariç Tutulan JavaScript Dosyaları" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "JavaScript Dosyalarını Ertele" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "Hariç Tutulan JavaScript Dosyalarını Geciktirme" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "Asla Önbelleklenmeyen URL(ler)" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "Asla Önbelleklenmeyen Kullanıcı Tanıtıcı(ları)sı" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "Her Zaman Temizlenen URL(ler)" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "CDN’den hariç tutulan dosyalar" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Aşağıdaki desen geçersizdir ve kaldırıldı:" +msgstr[1] "Aşağıdaki desenler geçersizdir ve kaldırıldı:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "Daha fazla bilgi" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Önbelleği temizle" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s, eksik yazma izinlerinden dolayı devre dışı bırakılmadı.
    \n" +"%2$s yazılabilir yapın ve devre dışı bırakmayı yeniden deneyin, ya da şimdi devre dışı bırakmaya zorlayın:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "" +"%s: Bir ya da daha fazla eklenti etkinleştirildi veya " +"etkisizleştirildi, sitenizin ön ucunu etkilerse önbelleği temizleyin." + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "" +"%s: Aşağıdaki eklentiler bu eklenti ile uyumlu değil ve " +"beklenmeyen sonuçlara neden olabilir:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "Devre Dışı Bırak" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" +"WP Rocket Footer JS resmi bir eklenti değildir. WP Rocket içindeki bazı " +"seçeneklerin doğru olarak çalışmasını önler. Eğer sorunlar yaşarsanız lütfen" +" devre dşı bırakın." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"WP Rocket Önbelleği ile çakışacak olan Endurance Önbelleği şu anda " +"etkinleştirildi. Herhangi bir sorunu önlemek için lütfen %1$sAyarlar > " +"Genel%2$s sayfasında Endurance Önbelleğinin önbellek seviyesini Kapalı " +"(Seviye 0) olarak ayarlayın." + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "" +"%1$s: Özel bir kalıcı bağlantı yapısı eklentinin düzgün bir şekilde " +"çalışması için gereklidir. %2$sKalıcı bağlantılar ayarlarına gidin%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" +"Eksik yazma izinlerinden dolayı %s .htaccess dosyasını yapılandıramadı." + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" +"Sorun giderme: %1$sSistem dosyalarını nasıl yazılabilir yaparsınız%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "" +"Endişelenmeyin, WP Rocket’in sayfa önbelleklemesi ve ayarları hala düzgün " +"çalışacaktır." + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "" +"En iyi performans için .htaccess dosyanıza aşağıdaki satırları eklemeniz " +"önerilir (gerekli değil):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "" +"%1$s gitmeye hazır! %2$sYükleme sürenizi deneyin%4$s, ya da " +"%3$sayarlarınızı%4$s ziyaret edin." + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "" +"WP Rocket’in hassas olmayan tanılama verilerini bu web sitesinden " +"toplamasına izin verir misiniz?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" +"Bu bize gelecekte WP Rocket’i sizin için iyileştirmemize yardımcı olacak." + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "Ne tür bilgi toplayacağız?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"Aşağıdakiler, izin verildiği takdirde WP Rocket’in toplayacağı tüm verilerin" +" ayrıntılı bir görünümüdür. WP Rocket asla herhangi bir etki alanı adı veya " +"e-posta adresini (lisans doğrulaması hariç), IP adresini ya da üçüncü taraf " +"API anahtarını iletmez." + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "Evet, izin ver" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "Hayır, teşekkürler" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "Teşekkür ederiz!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket web sitenizden şimdi şu ölçümleri toplar:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s: Önbellek temizlendi." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s: Yazı önbelleği temizlendi." + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s: Terim önbelleği temizlendi." + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s: Kullanıcı önbelleği temizlendi." + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "Bu bildirimi anımsatma" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "Kullanılan CSS’yi Temizle" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "Önyüklemeyi durdur" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "Kullanılmayan CSS’yi Kaldır’ı Aç" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "“Mobil Cihazlar İçin Önbellek Dosyalarını Ayır”ı şimdi etkinleştir" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "Devre dışı bırakmaya zorla" + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "Aşağıdaki kod bu dosyaya yazılmalıdır:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "Eksik yazma izinlerinden dolayı %s kendini yapılandıramıyor." + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "Etkilenen dosya/klasör: %s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Hata ayıklama dosyası silinemedi." + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Düzgün bir şekilde işlemesi için %1$s %2$s en az gerektirdiği:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "" +"PHP %1$s. Bu WP Rocket sürümünü kullanmak için lütfen web barındırıcınıza " +"sunucunuzu PHP %1$s veya daha yükseğine nasıl yükselteceğinizi sorun." + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "" +"WordPress %1$s. Bu WP Rocket sürümünü kullanmak için lütfen WordPress’i %1$s" +" sürümü veya daha yükseğine yükseltin." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "" +"Eğer yükseltemiyorsanız, aşağıdaki düğmeyi kullanarak önceki sürüme geri " +"alabilirsiniz." + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "%s sürümünü yeniden yükle" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "%s Güncellemesi Geri Alma" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +"Temanızdaki şurada belirtilen gereksinimi algılama başarısız: %1$s " +"kapatılıyor." +msgstr[1] "" +"Temanızdaki şurada belirtilen gereksinimleri algılama başarısız: %1$s " +"kapatılıyor." + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "Önbelleği temizle ve önyükle" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "Tüm diller" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "Bu yazıyı temizle" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "Bu URL’yi temizle" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "Sucuri önbelleğini temizle" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "RocketCDN önbelleğini temizle" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Belgeler" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Imagify’ı Etkinleştir" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Imagify’ı Ücretsiz Yükleyin" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "" +"Imagify ile resim dosyası boyutlarını kalite kaybetmeden küçülterek web " +"sitenizi hızlandırın ve SEO’nuzu yükseltin." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Daha fazla ayrıntı" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Site haritası önyükleme: %d sayfa önbelleklendi." + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "" +"Site haritası önyükleme: %d önbelleklenmeyen sayfanın şimdi önyüklemesi " +"yapıldı. (ilerlemeyi görmek için yenileyin)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "" +"Beklenmeyen bir hata meydana geldi. WP-Rocket.me veya bu sunucunun " +"yapılandırması ile ilgili birşey yanlış gitmiş olabilir. Eğer sorunlar " +"yaşamaya devam ederseniz, destekle iletişime geçin." + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Listeden bir etki alanı seçin" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Cloudflare hesabınızda hiç etki alanı mevcut değil" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "" +"Curl, sunucunuzda etkisizleştirilmiş. Lütfen barındırıcınızdan bunu " +"etkinleştirmesini isteyin. Bu, Cloudflare Eklentisinin doğru çalışması için " +"gereklidir." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "" +"Cloudflare e-posta adresi, API anahtarı ve Bölge Kimliği ayarlı değil. Daha " +"fazla rehberlik için %1$sbelgeleri%2$s okuyun." + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "" +"Cloudflare e-posta adresi ve API anahtarı ayarlı değil. Daha fazla rehberlik" +" için %1$sbelgeleri%2$s okuyun." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Cloudflare’a bağlantı başarısız oldu" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" +"WP Rocket: Cloudflare önbelleği başarılı olarak temizlendi." + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "" +"Aşağıdaki zamanlanan olayın çalıştırılması başarısız oldu. Bu, CRON " +"sisteminin düzgün bir şekilde çalışmadığını gösterebilir ve bu da bazı WP " +"Rocket özelliklerinin beklendiği gibi çalışmasını engelleyebilir:" +msgstr[1] "" +"Aşağıdaki zamanlanan olayların çalıştırılması başarısız oldu. Bu, CRON " +"sisteminin düzgün bir şekilde çalışmadığını gösterebilir ve bu da bazı WP " +"Rocket özelliklerinin beklendiği gibi çalışmasını engelleyebilir:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "" +"CRON’un çalışıp çalışmadığını denetlemek için lütfen barındırıcınız ile " +"iletişime geçin." + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "OPcache temizleme başarısız oldu." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache başarılı olarak temizlendi" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML site haritası" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "" +"%s eklentisi tarafından üretilen site haritasını otomatik olarak algıladık. " +"Önyüklemek için seçeneği işaretleyebilirsiniz." + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" +"%1$sWP Rocket’a geri dönün%2$s ya da %3$sEklentiler sayfasına gidin%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML site haritası" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML site haritası" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML site haritası" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "SEO Framework XML site haritası" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Site Haritaları" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Jetpack eklentisinden site haritasını önyükleme yap" + +#: inc/deprecated/3.15.php:28 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:74 +msgid "WP Rocket Options" +msgstr "WP Rocket Seçenekleri" + +#: inc/deprecated/3.15.php:57 views/metaboxes/post_edit_options.php:19 +msgid "Never cache this page" +msgstr "Bu sayfayı asla önbellekleme" + +#: inc/deprecated/3.15.php:61 views/metaboxes/post_edit_options.php:23 +msgid "Activate these options on this post:" +msgstr "Şu seçenekleri bu yazıda aktif et:" + +#. translators: %s is the name of the option. +#: inc/deprecated/3.15.php:81 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:121 +msgid "Activate first the %s option." +msgstr "Önce %s seçeneğini aktif edin." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/deprecated/3.15.php:97 views/metaboxes/post_edit_options.php:38 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "" +"%1$sNot:%2$s Bu yazı genel önbellek ayarlarındaki önbellekten hariç " +"tutulduysa, bu seçeneklerden hiçbiri uygulanmayacaktır." + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "Yüklemesi Ertelenmiş JavaScript’i olan JS dosyaları" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "URL ekle" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "Ayarlar kaydedildi." + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "" +"İçe aktarma dosyanızı göndermeden önce, şurada belirtilen hatayı düzeltmeniz" +" gerekecek:" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Bilgisayarınızdan bir dosya seçin (en fazla boyut: %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "Dosyayı gönder ve ayarları içe aktar" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Cloudflare kimlik bilgileriniz geçerli." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Cloudflare kimlik bilgileriniz geçersiz!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Kaydet ve iyileştir" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "İyileştir" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Not:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Performans ipucu:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Üçüncü taraf özellik algılandı:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Uyarı:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Ayarları indir" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Sitenin anamakine adını şununla değiştir:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "şunun için ayrıldı:" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Tüm dosyalar" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Resimler" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "CNAME ekle" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Görüntüyü izleyin" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Temel" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Sabit Dosyalar" + +#: inc/deprecated/deprecated.php:1773 inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/Engine/CDN/Admin/Subscriber.php:28 +msgid "CDN" +msgstr "CDN" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Gelişmiş" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "Veritabanı" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "Önyükleme" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Araçlar" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Lisans" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s, düzgün bir şekilde işlemesi için en az PHP %3$s gerektirir. Bu " +"sürümü kullanmak için lütfen web barındırıcınıza sunucunuzu PHP %3$s veya " +"daha yüksek sürümüne nasıl yükselteceğinizi sorun. Eğer yükseltemiyorsanız, " +"aşağıdaki düğmeyi kullanarak önceki sürüme geri döndürebilirsiniz." + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "" +"Çağrılan %1$s sınıfı, %2$s sürümünden bu yana kullanım " +"dışıdır! Bunun yerine %3$s kullanın." + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "" +"Çağrılan %1$s sınıfı, %2$s sürümünden bu yana kullanım " +"dışıdır!" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "haftalık" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Düzeltmeler" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Otomatik Taslaklar" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Çöpe Atılmış Yazılar" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "İstenmeyen Yorumlar" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Çöpe Atılmış Yorumlar" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Geçiciler" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Tablolar" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "aylık" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Veritabanı iyileştirme işlemi çalışıyor" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "Veritabanı iyileştirme işlemi tamamlandı. Herşey zaten iyileştirildi!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "" +"Veritabanı iyileştirme işlemi tamamlandı. İyileştirilen öğelerin listesi " +"aşağıdadır:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s iyi hale getirildi." + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" +"%1$sWP Rocket:%2$s Web sitesi etki alanının değiştiğini tespit ettik. Sayfa " +"önbelleği ve diğer tüm iyileştirmelerin amaçlandığı gibi çalışması için " +"yapılandırma dosyaları yeniden oluşturulmak zorundadır. %3$sDaha fazla bilgi" +" edinin%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "WP Rocket yapılandırma dosyalarını şimdi yeniden oluştur" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Değişiklikleri Kaydet" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Lisansı Doğrula" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Mevcut değil" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API anahtarı" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "E-posta adresi" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Panel" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Yardım alın, hesap bilgisi" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Durumum" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket Çözümsel" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" +"WP Rocket’i iyileştirmeye yardımcı olmak için geliştirme ekibiyle isimsiz " +"verileri paylaşmayı kabul ediyorum. %1$sNe tür bilgi toplayacağız?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Önbellek" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Temel önbellek seçenekleri" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Mobil Önbelleği" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Mobil ziyaretçiler için sitenizi hızlandırın." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "" +"Mobil için ayrı önbellek gerektiren bir eklenti kullandığınızı saptadık ve " +"uyumluluk için bu seçeneği otomatik olarak etkinleştirdik." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Kullanıcı Önbelleği" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "" +"Web sitenizde kullanıcıya özgü ya da kısıtlı içeriğe sahip olduğunuzda " +"%1$skullanıcı önbelleği%2$s mükemmeldir." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Önbellek Geçerlilik Süresi" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "" +"Belirtilen geçerlilik süresinden eski önbellek dosyaları " +"silinecektir.
    Geçerlilik süresi sona erdikten sonra otomatik olarak " +"yeniden oluşturulması için önbellek %1$sönyüklemeyi%2$s etkinleştirin." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Oturum açmış WordPress kullanıcıları için önbelleklemeyi etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Mobil cihazlar için önbelleklemeyi etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Mobil cihazlar için önbellek dosyalarını ayır" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "" +"Çoğu modern temalar hassastır ve ayrı bir önbellek olmadan çalışmalıdır. " +"Bunu sadece tahsis edilmiş bir mobil temanız veya eklentiniz varsa " +"etkinleştirin. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" +"Genel önbelleğin ne kadar süre sonra temizleneceği zamanı belirtin
    (0 = " +"sınırsız)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "" +"Eğer belirli aralıklarla görünen sorunları fark ederseniz geçerlilik " +"süresini 10 saat veya daha azına düşürün. %1$sNeden?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Saat" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Gün" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Dosyaları İyileştirme" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "CSS ve JS kodlarını iyileştirin" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" +"%1$s Küçültme şu anda Autoptimize içinde aktif edildi. Eğer" +" %2$s’in küçültmesini kullanmak istiyorsanız, Autoptimize içindeki bu " +"seçeneği etkisizleştirin." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS Dosyaları" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript Dosyaları" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" +"%1$s Küçültme şu anda Autoptimize içinde aktif edildi. Eğer" +" %2$s’in küçültmesini kullanmak istiyorsanız, Autoptimize içindeki bu " +"seçenekleri etkisizleştirin." + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "" +"Eğer bu seçeneği etkinleştirdikten sonra sorun yaşarsanız, sorunları hızlı " +"bir şekilde çözmek için varsayılan hariç tutulanları kopyalayın ve " +"yapıştırın:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "" +"Ayrıca, uyumluluk istisnaları listesi için lütfen %1$sbelgelerimizi%2$s " +"gözden geçirin." + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "" +"Sorunları önlemek için dahili betikler varsayılan olarak hariç tutulur. Bu " +"seçenekten tam olarak yararlanmak için bunları kaldırın." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" +"Eğer bu, soruna neden olursa, %1$sburada%2$s bulunan varsayılan hariç " +"tutulanları geri yükleyin" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "CSS dosyalarını küçült" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" +"CSS’yi küçültme, dosya boyutunu düşürmek için boşlukları ve açıklamaları " +"kaldırır." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "Bu birşeyleri bozabilir!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "" +"Bu ayarı aktif ettikten sonra web sitenizde herhangi bir hata fark " +"ederseniz, sadece tekrar devre dışı bırakın, ve siteniz normale dönecektir." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "CSS küçültmeyi aktif et" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "" +"Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" +"Küçültmeden hariç tutulacak CSS dosyalarının URL’lerini belirtin (her satıra" +" bir tane)." + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "" +"Dahili: URL’nin etki alanı kısmı otomatik olarak " +"sadeleştirilecektir. Belirli bir yolda bulunan tüm CSS dosyalarını hariç " +"tutmak için (.*).css joker karakterlerini kullanın." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" +"3. Taraf: Harici CSS dosyalarını dahil etmemek için ya URL " +"tam yolunu ya da sadece etki alanı adını kullanın. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "CSS teslimini iyileştir" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "" +"CSS teslimini en iyi hale getirmek, web sitenizde işleme engelleyici CSS’yi " +"ortadan kaldırır. Sadece bir yöntem seçilebilir. En iyi performans için " +"Kullanılmayan CSS’yi Kaldır önerilir, ancak sadece aktif lisansa sahip " +"kullanıcılarla sınırlıdır." + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "" +"CSS teslimini en iyi hale getirmek, web sitenizde işleme engelleyici CSS’yi " +"ortadan kaldırır. Sadece bir yöntem seçilebilir. En iyi performans için " +"Kullanılmayan CSS’yi Kaldır önerilir." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "" +"CSS teslimini iyileştir özellikleri yerel ortamlarda etkisizleştirilir. " +"%1$sDaha fazla bilgi edinin%2$s" + +#: inc/Engine/Admin/Settings/Page.php:736 +#: inc/Engine/Optimization/RUCSS/Admin/OptionSubscriber.php:74 +msgid "Remove Unused CSS" +msgstr "Kullanılmayan CSS’yi Kaldır" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" +"Kullanılmayan CSS’yi sayfa başına kaldırır ve sayfa boyutunu ve HTTP " +"isteklerini azaltmaya yardımcı olur. Daha iyi performans için önerilir. " +"İyice deneyin! %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "Kullanılmayan CSS’yi Kaldır’ı aktif et" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "CSS güvenli listesi" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "" +"Kaldırılmaması gereken CSS dosya adlarını, kimliklerini veya sınıfları " +"belirtin (her satıra bir tane)." + +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/CriticalPath/Admin/Subscriber.php:200 +msgid "Load CSS asynchronously" +msgstr "CSS’yi eşzamanlı olmadan yükle" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" +"CSS’yi eşzamanlı olmadan yükleme, şu anda %1$s eklentisi tarafından " +"işlenmektedir. WP Rocket’in CSS’yi eşzamanlı olmadan yükleme seçeneğini " +"kullanmak istiyorsanız, %1$s eklentisini etkisizleştirin." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" +"Önemli Yol CSS’yi oluşturur ve CSS’yi eşzamanlı olmadan yükler. %1$sDaha " +"fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "Son çare önemli CSS" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "" +"Otomatik oluşturulmuş önemli yol CSS tamamlanmazsa son bir çare sağlar. " +"%1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "JavaScript dosyalarını küçült" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" +"JavaScript’i küçültme, dosya boyutunu düşürmek için boşlukları ve " +"açıklamaları kaldırır." + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "JavaScript küçültmeyi aktif et" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" +"JavaScript dosyalarını birleştir (Seçmek için JavaScript dosyalarını " +"küçült’ü etkinleştirin)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "" +"JavaScript dosyalarını birleştirme, sitenizin dahili, 3. taraf ve satır içi " +"JS dosyalarını birleştirir, HTTP isteklerini azaltır. Siteniz HTTP/2 " +"kullanıyorsa önerilmez. %1$sDaha fazla bilgi%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "" +"Uyumluluk ve en iyi sonuçlar için javascript’i geciktir yürütmesi " +"etkinleştirildiğinde bu seçenek etkisizleştirilir." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "JavaScript birleştirmeyi aktif et" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "" +"Birleştirmeden hariç tutulacak satır içi JavaScript dosyalarının örneklerini" +" belirtin (her satıra bir tane). %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "" +"Küçültmeden ve birleştirmeden hariç tutulacak JavaScript dosyalarının " +"URL’lerini belirtin (her satıra bir tane)." + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "" +"Dahili: URL’nin etki alanı kısmı otomatik olarak " +"sadeleştirilecektir. Belirli bir yolda bulunan tüm JS dosyalarını hariç " +"tutmak için (.*).js joker karakterlerini kullanın." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "" +"3. Taraf: Harici JS dosyalarını dahil etmemek için ya URL " +"tam yolunu ya da sadece etki alanı adını kullanın. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:876 +#: inc/Engine/Optimization/DeferJS/AdminSubscriber.php:76 +msgid "Load JavaScript deferred" +msgstr "Ertelenmiş JavaScript yükle" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "" +"Ertelenmiş JavaScript yüklemek, yükleme süresini iyileştirebilir ve " +"sitenizdeki işleyişi engelleyen JS’yi aradan kaldırır. %1$sDaha fazla " +"bilgi%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "" +"Ertelenmeden hariç tutulacak JavaScript dosyalarının URL’lerini ya da " +"anahtar kelimelerini belirtin (her satıra bir tane). %1$sDaha fazla " +"bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:907 +#: inc/Engine/Optimization/DelayJS/Admin/Subscriber.php:210 +msgid "Delay JavaScript execution" +msgstr "JavaScript’i Geciktir yürütmesi" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"JavaScript dosyalarının yüklenmesini, kullanıcı etkileşimine (örn. kaydırma," +" tıklama) kadar geciktirerek performansı artırır. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "Tek tıkla hariç tutmalar" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "" +"JavaScript’i Geciktir Yürütmesini kullanırken, görünüm alanında bulunan ve " +"hemen görünmesi gereken öğelerin yüklenmesinde gecikme yaşayabilirsiniz - " +"örn. kaydırıcı, başlık, menü." + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "" +"Eğer anında görünürlüğe ihtiyacınız varsa, geciktirilmemesi gereken " +"dosyalara aşağıdan tıklayın. Bu seçim, kullanıcıların öğelerle hemen " +"etkileşim kurmasına yardımcı olacak." + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "" +"Yürütmeyi geciktirmenin dışında bırakılacağı satır içi veya JavaScript " +"dosyalarını tanımlayabilecek URL’leri veya anahtar kelimeleri belirtin (her " +"satıra bir tane)." + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "Ortam" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "LazyLoad, resim boyutları" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "Otoiyileştir" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "LazyLoad" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"Resimlerin, iframe’lerin, ve görüntülerin sadece görüntü alanına girmesiyle " +"(ya da girmek üzereyken) yükleneceği gibi asıl ve farkedilir yükleme " +"süresini iyileştirebilir ve HTTP isteklerinin sayısını azaltır. %1$sDaha " +"Fazla Bilgi%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "" +"LazyLoad şu anda %2$s içinde aktif edildi. Eğer WP Rocket’in LazyLoad’ını " +"kullanmak istiyorsanız, %2$s içindeki bu seçeneği etkisizleştirin." + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "Resim Boyutları" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "" +"Resimlere eksik genişlik ve yükseklik özniteliklerini ekleyin. Düzen " +"değişimlerini önlemeye ve ziyaretçileriniz için okuma deneyimini " +"iyileştirmeye yardımcı olur. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "Resimler için etkinleştir" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "" +"Resimler için LazyLoad şu anda %2$s içinde aktif edildi. Eğer %1$s’in " +"LazyLoad’ını kullanmak istiyorsanız, %2$s içindeki bu seçeneği " +"etkisizleştirin." + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "CSS arka plan resimleri için etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Iframe’ler ve görüntüler için etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Önizleme resmi ile YouTube iframe’ini değiştir" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" +"Önizleme resmi ile değiştirilen YouTube iframe’i %2$s ile uyumlu değil." + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "" +"Bir sayfada çok sayıda YouTube görüntüsüne sahipseniz bu önemli ölçüde " +"yükleme sürenizi iyileştirebilir." + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "Hariç tutulan resimler veya iframe’ler" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from" +" the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" +"Resim veya iframe kodundan hariç tutulacak anahtar kelimeleri (örn. resim " +"dosya adı, CSS dosya adı, CSS sınıfı, etki alanı) belirtin (her satıra bir " +"tane). %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "Eksik resim boyutlarını ekle" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "Önbellek dosyalarını oluşturun, yazı tiplerini önyükleyin" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "Önbelleği Önyükle" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "" +"Önceden yüklemeyi etkinleştirdiğinizde WP Rocket, site haritalarınızı " +"otomatik olarak algılayacak ve tüm URL’leri veritabanına kaydedecek. " +"Eklenti, önbelleğinizin her zaman önceden yüklendiğinden emin olacak." + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "Bağlantıları Önyükle" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "" +"Bağlantı önyükleme, kullanıcı bağlantının üzerine geldiğinde bir sayfa " +"indirerek algılanan yükleme süresini iyileştirir. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS İsteklerini Önceden Getirme" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "" +"Önceden DNS getirme, harici dosyaları daha hızlı yüklemeyi sağlayabilir, " +"özellikle de mobil ağlarda" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "Yazı Tiplerini Önyükle" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "" +"Tarayıcıların CSS dosyalarındaki yazı tiplerini keşfetmelerine yardımcı " +"olarak performansı artırır. %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Önyüklemeyi aktif et" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "Hariç tutulan URL’ler" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "" +"Önyükleme özelliğinden hariç tutulacak URL’leri belirtin (her satıra bir " +"tane). %1$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "Önceden gertirmek için URL’ler" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "" +"Önceden getirilecek olan harici anamakineleri belirtin (http: " +"olmadan, her satıra bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "Önyüklenecek yazı tipleri" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" +"Önyüklenecek yazı tipi dosyalarının URL’lerini belirtin (her satıra bir " +"tane). Yazı tipleri kendi etki alanınızda veya CDN sekmesinde belirttiğiniz " +"etki alanında barındırılmak zorundadır." + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "" +"URL’nin etki alanı kısmı otomatik olarak sadeleştirilecektir.
    İzin " +"verilen yazı tipi uzantıları: otf, ttf, svg, woff, woff2." + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "Bağlantı önyüklemeyi etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Gelişmiş Kurallar" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Önbellek kurallarına ince ayar yapın" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" +"Özel oturum açma/oturum kapatma URL’leri gibi hassas sayfalar önbellekten " +"hariç tutulmalıdır." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "" +"
    %1$s%2$s%3$s içinde ayarlanan sepet, ödeme ve " +"\"hesabım\" sayfaları algılanacak ve varsayılan olarak asla " +"önbelleklenmeyecektir." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Asla Önbelleklenmeyen Tanımlama Bilgileri" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Önbelleklenen Sorgu Dizgi(leri)si" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "" +"%1$sSorgu dizgilerini önbelleklemek%2$s belirli GET parametreleri için " +"önbelleklemeye zorlamanızı etkinleştirir." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" +"Asla önbelleklenmemesi gereken sayfa ve yazıların URL’lerini belirtin (her " +"satıra bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "" +"URL’nin etki alanı kısmı otomatik olarak sadeleştirilecektir.
    Verilen yol" +" altında çoklu URL’leri adreslemek için (.*) joker karakterlerini kullanın." + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "" +"Ziyaretçinin tarayıcısında ayarlandığında, bir sayfanın önbelleklenmesine " +"engel olması gereken, tanımlama bilgilerinin tam ya da kısmi kimliklerini " +"belirtin (satır başına bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "" +"Önbelleklenmiş sayfaları asla görmemesi gereken kullanıcı tanıtıcı dizgisini" +" belirtin (her satıra bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" +"UA dizgilerinin parçalarını algılamak için (.*) joker karakterlerini " +"kullanın." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "" +"Herhangi bir yazıyı veya sayfayı her güncellediğinizde daima önbellekten " +"temizlenmesini istediğiniz URL’leri belirtin (her satıra bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Önbellekleme için sorgu dizgilerini belirtin (her satıra bir tane)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "İyileştirin, şişmeyi azaltın" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Yazı Temizleme" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "" +"Yazı incelemeleri ve taslaklar kalıcı olarak silinecektir. İncelemeleri ya " +"da taslakları tutmanız gerekiyorsa bu seçeneği kullanmayın." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Yorumları Temizleme" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "İstenmeyen mesaj ve çöpe atılmış yorumlar kalıcı olarak silinecektir." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Geçicileri Temizleme" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "" +"Geçiciler geçici seçeneklerdir; kaldırması güvenlidir. Eklentilerinizin " +"gerektirdiklerini otomatik olarak oluşturacaklardır." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Veritabanı Temizleme" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Veritabanı tablolarının ek yükünü azaltır" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "Otomatik Temizleme" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "Veritabanınızda %s düzeltme." +msgstr[1] "Veritabanınızda %s düzeltme." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "Veritabanınızda %s taslak." +msgstr[1] "Veritabanınızda %s taslak." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "Veritabanınızda %s çöpe atılmış yazı." +msgstr[1] "Veritabanınızda %s çöpe atılmış yazı." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "Veritabanınızda %s istenmeyen yorum." +msgstr[1] "Veritabanınızda %s istenmeyen yorum." + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "Veritabanınızda %s çöpe atılmış yorum." +msgstr[1] "Veritabanınızda %s çöpe atılmış yorum." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Tüm geçiciler" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "Veritabanınızda %s geçici." +msgstr[1] "Veritabanınızda %s geçici." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Tabloları iyileştir" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "Veritabanınızda iyileştirmek için %s tablo." +msgstr[1] "Veritabanınızda iyileştirmek için %s tablo." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Otomatik Temizlemeyi Zamanla" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Sıklıkla" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Günlük" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Haftalık" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Aylık" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "CDN’nizi bütünleştirin" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "" +"Sabit dosyaların (CSS, JS, resimler) tüm URL’leri, verdiğiniz CNAME(lere)e " +"yeniden yazılacaktır." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "" +"Cloudflare ve Sucuri gibi hizmetler için gerekmez. Lütfen mevcut " +"%1$sEklentilerimize%2$s bakın." + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "" +"%1$s%2$l Eklentisi%3$s şu anda etkinleştirildi. CDN ayarlarının " +"yapılandırması, sitenizde çalışması amacıyla %2$l için gerekmez." +msgstr[1] "" +"%1$s%2$l Eklentileri%3$s şu anda etkinleştirildi. CDN ayarlarının " +"yapılandırması, sitenizde çalışması amacıyla %2$l için gerekmez." + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "İçerik Dağıtım Ağını (CDN) etkinleştir" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(ler)" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Aşağıda CNAME(leri) belirtin" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" +"CDN aracılığıyla sunulmaması gereken dosyaların URL(lerini)sini belirtin " +"(her satıra bir tane)." + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "" +"URL’nin etki alanı kısmı otomatik olarak sadeleştirilecektir.
    Belirli bir" +" yolda bulunan verilen bir dosya türünün tüm dosyalarını hariç tutmak için " +"(.*) joker karakterlerini kullanın." + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "Kalp Atışı" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "WordPress Kalp Atışı API’sini denetleyin" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "" +"Kalp Atışı API’si etkinliğini azaltmak veya etkisizleştirmek, sunucunuzun " +"kaynaklarının bazılarını kurtarmasına yardımcı olabilir." + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "Kalp Atışı etkinliğini azaltma veya etkisizleştirme" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "" +"Etkinliği azaltmak Kalp Atışı sıklığını, her dakikada bir vuruştan her 2 " +"dakikada bir vuruşa değiştirecektir." + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" +"Kalp Atışı’nın tamamen etkisizleştirilmesi bu API’yi kullanan eklentileri ve" +" temaları bozabilir." + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "Sınırlandırma" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "Etkinliği azalt" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "Etkisizleştir" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "Kalp Atışı’nı denetle" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "Arka uçtaki davranış" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "Yazı düzenleyicideki davranış" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "Ön uçtaki davranış" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Eklentiler" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "Daha fazla özellik ekleyin" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "Tek Tık Rocket Eklentileri" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" +"Tek Tık Eklentiler, yapılandırma gerekmeden mevcut seçenekleri genişleten " +"özelliklerdir. Etkinleştirmek için seçeneği bu ekrandan \"açık\" olarak " +"değiştirin." + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Rocket Eklentileri" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" +"Rocket Eklentileri mevcut seçenekleri genişleten tamamlayıcı özelliklerdir." + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Bu eklenti ile Cloudflare hesabınızı bütünleştirin." + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "" +"Cloudflare önbelleğini temizlemek ve WP Rocket ile en uygun ayarları " +"etkinleştirmek gibi seçenekleri kullanmak için hesap e-postanızı, genel API " +"anahtarını ve etki alanını sağlar." + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$sOtomatik Platform İyileştirmesini (APO) kullanmayı mı " +"planlıyorsunuz?%2$s Sadece resmi Cloudflare eklentisini aktif edin ve " +"yapılandırın. WP Rocket uyumluluğu otomatik olarak etkinleştirecektir." + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" +"Varnish sunucunuzda çalışıyorsa, bu eklentiyi aktif etmek zorundasınız." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" +"Varnish önbelleği, WP Rocket önbelleğini her temizlediğinde içeriğin her " +"zaman güncel olmasını sağlamak için temizlenecektir.
    %1$sDaha fazla bilgi" +" edinin%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "WebP Uyumluluğu" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "WebP resimleri için tarayıcı uyumluluğunu iyileştirin." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"WP Rocket’in WebP resimlerini uyumlu tarayıcılara sunmasını istiyorsanız bu " +"seçeneği etkinleştirin. WP Rocket’in sizin için WebP resimlerini " +"oluşturamayacağını lütfen unutmayın. WebP resimleri oluşturmak için " +"%1$sImagify%2$s öneriyoruz. %3$sDaha fazla bilgi%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "WP Rocket’in önbelleği temizlendiğinde Sucuri önbelleğini temizler." + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "" +"WP Rocket’in önbelleği temizlendiğinde Sucuri önbelleğini temizlemek için " +"API anahtarınızı verin." + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Bu eklenti ile Sucuri önbelleğini eşitleyin." + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Cloudflare kimlik bilgileri" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Cloudflare ayarları" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Genel API anahtarı" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "API anahtarınızı bulun" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Hesap e-postası" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Bölge Kimliği - Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "Geliştirme kipi" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" +"Web sitenizde geçici olarak geliştirme kipini aktif edin. Bu ayar otomatik " +"olarak 3 saat sonra kapanacak. %1$sDaha fazla bilgi edinin%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "En uygun ayarlar" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "" +"Hız, performans puanı ve uyumluluk için Cloudflare yapılandırmanızı otomatik" +" olarak iyileştirir." + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "Göreli protokol" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"Sadece Cloudflare’in esnek SSL özelliği ile kullanılmalıdır. Sabit " +"dosyaların (CSS, JS, resimler) URL’leri, http:// veya https:// yerine // " +"kullanmak için yeniden yazılacaktır." + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Sucuri kimlik bilgileri" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "" +"Güvenlik Duvarı API anahtarı (eklenti için), {32 karakter}/{32 karakter} " +"biçiminde olmak zorundadır:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "API anahtarınızı bulun" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "" +"Sucuri Eklentisi: Sucuri güvenlik duvarı için API anahtarı, {32 " +"karakter}/{32 karakter} biçiminde olmak zorundadır." + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "" +"Üzgünüz! Gelişmiş Kurallar > URL’(leri)yi Asla Önbellekleme içine /(.*) " +"eklemek, sitenizdeki her sayfa için önbelleğe almayı ve iyileştirmeleri " +"etkisizleştirdiğinden kaydedilmedi." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "İçe aktarın, Dışa aktarın, Geri alın" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Resim İyileştirme" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Resimlerinizi sıkıştırın" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Eğitimler" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Başlarken ve nasıl yapılır videoları" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Roket Süresi Dolmuş Önbellek Aralığı" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE değeri" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "" +"WP Rocket önbelleğinin düzgün çalışması için WP_CACHE sabitinin true olarak " +"ayarlanması gerekir" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE, true olarak ayarlı" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE ayarlı değil" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE, false olarak ayarlı" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "Sonraki Fatura Tarihi" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "Abonelik Yok" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "RocketCDN aboneliğiniz şu anda etkin." + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "RocketCDN’yi kullanmak için CNAME’nizi %1$s%2$s%3$s ile değiştirin." + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$sDaha Fazla Bilgi%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "" +"RocketCDN API beklenmeyen bir hata kodu döndürdüğünden şu anki fiyatı " +"getiremedik." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" +"RocketCDN şu anda kullanılabilir değil. Lütfen daha sonra yeniden deneyin." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" +"RocketCDN önbellek temizleme başarısız oldu: Eksik tanımlayıcı parametresi." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" +"RocketCDN önbellek temizleme başarısız oldu: Eksik kullanıcı belirteci." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" +"RocketCDN önbellek temizleme başarısız oldu: API beklenmeyen bir yanıt kodu " +"döndürdü." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" +"RocketCDN önbellek temizleme başarısız oldu: API boş bir yanıt döndürdü." + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" +"RocketCDN önbellek temizleme başarısız oldu: API beklenmeyen bir yanıt " +"döndürdü." + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN önbellek temizleme başarısız oldu: %s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN önbellek temizleme başarılı." + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php:72 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerEnableRoute.php:302 +msgid "RocketCDN enabled" +msgstr "RocketCDN etkinleştirildi" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php:31 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerDisableRoute.php:147 +msgid "RocketCDN disabled" +msgstr "RocketCDN etkisizleştirildi" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "Sadece %s tarihine kadar geçerli!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "Şunlar sayesinde web sitenizi hızlandırın:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "" +"%1$sSınırsız bant genişliği%2$s ile yüksek performanslı İçerik Dağıtım Ağı " +"(CDN)" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" +"Kolay yapılandırma: %1$sen iyi CDN ayarları%2$s otomatik olarak uygulanır" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "" +"WP Rocket bütünleştirmesi: CDN seçeneği eklentimizde %1$sotomatik olarak " +"yapılandırılır%2$s" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "RocketCDN hakkında daha fazla bilgi edinin" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "" +"*12 ay için $%1$s/ay ardından $%2$s/ay. Aboneliğinizi istediğiniz zaman " +"iptal edebilirsiniz." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "Aylık faturalandırılır" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "Başlayın" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "Bu afişi küçült" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" +"RocketCDN, WP Rocket’in İçerik Dağıtım Ağı ile web sitenizi hızlandırın." + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "Daha Fazla Bilgi Edinin" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" +"RocketCDN yerel etki alanlarında ve hazırlık sitelerinde kullanılamaz." + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "RocketCDN’yi Al" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "Yeni!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" +"RocketCDN, WP Rocket’in İçerik Dağıtım Ağı ile web sitenizi hızlandırın!" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:265 +msgid "Every minute" +msgstr "Her dakika" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Önemli Yol CSS’yi yeniden oluştur" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "Belirli ÖYCSS’yi Oluştur" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "Belirli ÖYCSS’yi Yeniden Oluştur" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" +"Bu özellik ortak olmayan gönderi türleri için kullanılabilir değildir." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "Bu özelliği kullanmak için %l." + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "%s Yayınla" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "WP Rocket ayarlarında CSS’yi eşzamanlı olmadan yükle’yi etkinleştir" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "Yukarıdaki seçeneklerde CSS’yi eşzamanlı olmadan yükle’yi etkinleştir" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "%1$s için Önemli CSS oluşturulmadı. Hata: %2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "" +"Mobil üzerinde %1$s için Önemli CSS oluşturulmadı. Hata: API boş bir yanıt " +"döndürdü." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "%1$s için Önemli CSS oluşturulmadı. Hata: API boş bir yanıt döndürdü." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "Mobil üzerinde %1$s için Önemli CSS oluşturulmadı." + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "%1$s için Önemli CSS oluşturulmadı." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "" +"Mobil üzerinde %1$s için Önemli CSS oluşturulmadı. Hata: API geçersiz bir " +"yanıt kodu döndürdü." + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "" +"%1$s için Önemli CSS oluşturulmadı. Hata: API geçersiz bir yanıt kodu " +"döndürdü." + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "Hata: %1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Önemli CSS üretimi şu anda çalışıyor." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "İlerlemeyi izlemek için %1$sWP Rocket ayarları%2$s sayfasına gidin." + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "" +"Önemli CSS oluşturma şu anda çalışıyor: %1$d / %2$d sayfa türü tamamlandı. " +"(İlerlemeyi görmek için bu sayfayı yenileyin)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Önemli CSS oluşturma, %1$d / %2$d sayfa türü için bitti." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Önemli CSS oluşturma, bir ya da daha fazla hata ile karşılaştı." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Daha fazla bilgi edinin." + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" +"Daha iyi bir CSS iyileştirmesi için %1$sgüncellenmiş Kullanılmayan CSS’yi " +"Kaldır’ı%2$s şiddetle tavsiye ederiz. CSS’yi Eşzamanlı Olmadan Yükle, her " +"zaman yedek olarak kullanılabilir." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "Eski seçenekle kal" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "" +"Mobil üzerinde %1$s için Önemli CSS oluşturulmadı. Hata: Hedef klasör " +"oluşturulamadı." + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "" +"%1$s için Önemli CSS oluşturulmadı. Hata: Hedef klasör oluşturulamadı." + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "Mobil için Önemli CSS dosyası yok" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Önemli CSS dosyası yok" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "Mobil için Önemli CSS dosyası silinemez" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Önemli CSS dosyası silinemez" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "%1$s için Mobil Önemli CSS oluşturulmadı." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "%s için Önemli CSS devam ediyor." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "%s için Mobil Önemli CSS oluşturuldu." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "%s için Önemli CSS oluşturuldu." + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Önemli CSS dosyası başarılı olarak silindi." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"%1$s için Mobil Önemli CSS zaman aşımına uğradı. Lütfen biraz sonra yeniden " +"deneyin." + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" +"%1$s için Önemli CSS zaman aşımına uğradı. Lütfen biraz sonra yeniden " +"deneyin." + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "Mobil ÖYCSS oluşturma etkinleştirilmedi." + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "İstenen yazı yok." + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "Yayınlanmamış yazı için ÖYCSS oluşturulamıyor." + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "Zamanlanmış Önbellek Temizleme" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "Zamanlanmış Veritabanı İyileştirme" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "Veritabanı İyileştirme İşlemi" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "Önyükleme" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Önemli Yol CSS’yi Oluşturma İşlemi" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "Çok geç olmadan yenileyin, sadece %1$s%2$s%3$s ödeyeceksiniz!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "" +"Çok geç olmadan %1$s%2$s indirim%3$s ile yenileyin, sadece %4$s%5$s%6$s " +"ödeyeceksiniz!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "Lisansınızı şimdi %1$s%3$s%2$s adresinden 1 yıllığına yenileyin." + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "" +"Lisansınızı 1 yıllığına hemen yenileyin ve %1$s%3$s İNDİRİM%2$s alın: sadece" +" %1$s%4$s%2$s ödeyeceksiniz!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "Çok geç olmadan yenileyin, %1$s%3$s%2$s ödeyeceksiniz." + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "" +"Çok geç olmadan %1$s%2$s indirim%3$s ile yenileyin, sadece %1$s%4$s%3$s " +"ödeyeceksiniz!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "" +"Bu özelliği kullanmaya devam etmek için geçerli bir lisansa ihtiyacınız var." +" Erişimi kaybetmeden önce %1$sşimdi yenileyin%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" +"Bu seçeneği etkinleştirmek için aktif bir lisansa ihtiyacınız var. %1$sŞimdi" +" yenile%2$s." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" +"Bu seçeneği etkinleştirmek için aktif bir lisansa ihtiyacınız var. %1$sDaha " +"fazla bilgi%2$s." + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +"Daha fazla web sitesini hızlandırmak için %1$s avantajından yararlanın:%2$s " +"%3$slisansınızı Infinite’e veya Plus’a yükseltmek%5$s için %3$s%4$s " +"indirim%5$s alın!" +msgstr[1] "" +"Daha fazla web sitesini hızlandırmak için %1$s avantajından yararlanın:%2$s " +"%3$slisansınızı Infinite’e yükseltmek%5$s için %3$s%4$s indirim%5$s alın!" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "Sınırsız" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "%s indirim" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "%s promosyonu geçerli!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "Acele Edin! Anlaşmanın bitiş zamanı:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Dakika" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "Saniye" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "Şimdi yükselt" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "CSS teslimini iyileştir özelliği etkisizleştirildi." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "" +"Artık Kullanılmayan CSS’yi Kaldır veya CSS’yi eşzamansız olarak yükle " +"seçeneklerini kullanamazsınız." + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"CSS teslimini iyileştirmeye devam etmek için bir PageSpeed ​​Insights " +"önerisini ele alan ve sayfa performansınızı iyileştiren %1$saktif bir " +"lisansa%2$s ihtiyacınız var." + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "Şimdi yenile" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "Yakında bazı özelliklere erişiminizi kaybedeceksiniz" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" +"%1$sCSS teslimini iyileştirmeye devam etmek için aktif bir lisansa%2$s " +"ihtiyacınız var." + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "" +"Kullanılmayan CSS’yi Kaldır veya CSS’yi eşzamansız olarak yükle özellikleri," +" PageSpeed ​​Insights önerilerini ele almak ve web sitenizin performansını " +"artırmak için harika seçeneklerdir." + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "%1$s%3$s tarihinde otomatik olarak etkisizleştirileceklerdir%2$s." + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "WP Rocket lisansınızın süresi doldu!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "" +"%1$sYeni özelliklerimizden ve geliştirmelerimizden%2$s yararlanabilseydi web" +" siteniz çok daha hızlı olabilirdi.🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "" +"%1$sWP Rocket lisansınızın süresi dolmak üzere%2$s: yakında ürün " +"güncellemelerine ve desteğine erişiminizi kaybedeceksiniz." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "Daha Fazla Web Sitesini Hızlandırın" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "" +"WP Rocket’ı lisansınızı yükselterek daha fazla web sitesinde " +"kullanabilirsiniz. Yükseltmek için sadece şu anki ve yeni lisanslarınız " +"arasındaki %1$sfiyat farkını%2$s, aşağıda gösterildiği gibi ödeyin." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" +"%1$sLütfen Dikkat%2$s: Lisansınızı yükseltmek, geçerlilik sonu tarihinizi " +"değiştirmez" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "$%s dolar tasarruf edin" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s web sitesi" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "%s olarak yükselt" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "" +"WP Rocket’ı lisansınızı yükselterek daha fazla web sitesinde " +"kullanabilirsiniz (sadece şu anki ve yeni lisanslarınız arasındaki fiyat " +"farkını ödeyeceksiniz)." + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:62 +msgid "LazyLoad for images" +msgstr "Resimler için LazyLoad" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:63 +msgid "LazyLoad for iframes/videos" +msgstr "Iframe’ler ve görüntüler için LazyLoad" + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:48 +msgid "LazyLoad CSS backgrounds" +msgstr "LazyLoad CSS arka planları" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "Çözümsel ve Reklamlar" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "Eklentiler" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "Temalar" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "" +"Listelerin en son sürümünü sunucumuzdan almak için aktif bir lisansa " +"ihtiyacınız var." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:116 +msgid "Could not get updated lists from server." +msgstr "Sunucudan güncellenmiş listeler alınamadı." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:125 +msgid "Lists are up to date." +msgstr "Listeler güncel." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:134 +msgid "Could not update lists." +msgstr "Listeler güncellenemedi." + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:143 +msgid "Lists are successfully updated." +msgstr "Listeler başarılı olarak güncellendi." + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "Varsayılan Listeler" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "JavaScript’i Geciktir Yürütmesi Hariç Tutma Listeleri" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "Uyumsuz eklenti Listeleri" + +#: inc/Engine/Optimization/Minify/AdminSubscriber.php:65 +msgid "Minify/combine JavaScript" +msgstr "JavaScript’i küçült/birleştir" + +#: inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php:150 +msgid "Minify CSS" +msgstr "CSS’yi küçült" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "" +"%1$s: Lütfen %2$s saniye bekleyin. Kullanılmayan CSS’yi Kaldır hizmeti " +"sayfalarınızı işliyor." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" +"%1$s: Ana sayfanızın Kullanılan CSS’si işlendi. WP Rocket, her %3$s saniyede" +" %2$s URL’ye kadar Kullanılan CSS oluşturmaya devam edecek." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" +"En hızlı sonuçlar için %1$sÖnyükleme%2$s’nin etkinleştirilmesini öneririz." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" +"İşlem hakkında daha fazla bilgi edinmek için %1$sbelgelerimizi%2$s gözden " +"geçirin." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "" +"WP Rocket’in nulled bir sürümünü kullandığınız için kullanılan CSS’yi " +"oluşturamadık. Kullanılmayan CSS’yi Kaldır özelliğini kullanmak ve web " +"sitenizin performansını daha da iyileştirmek için aktif bir lisansa " +"ihtiyacınız var." + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "%1$s indirimle WP Rocket tekli lisansı almak için burayı tıklayın!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "" +"Görünüşe göre bir güvenlik eklentisi veya sunucunun güvenlik duvarı, WP " +"Rocket’in Kullanılmayan CSS’yi Kaldır oluşturucusuna erişmesini engelliyor. " +"%1$sBurada belgelerimizde%2$s listelenen IP’ler, izinli listelerinize " +"eklenmelidir:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "- Güvenlik eklentisinde, eğer bir eklenti kullanıyorsanız" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "" +"- Sunucunun güvenlik duvarında. Barındırıcınız bu konuda size yardımcı " +"olabilir" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "" +"%1$s: Kullanılmayan CSS'yi Kaldır özelliğinin çalışması için gerekli olan " +"%2$s tablosu veritabanında oluşturulamadı. Lütfen %3$sdestek birimimize%4$s " +"ulaşın." + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:286 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: Kullanılan CSS seçeneği etkinleştirilmedi!" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:308 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: Kullanılan CSS önbelleği temizlendi!" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "Bu URL’nin Kullanılan CSS’sini Temizle" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "WP Rocket Kullanılmayan CSS’yi Kaldır bekleyen işleri" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "WP Rocket, Kullanılmayan CSS’yi Kaldır başarısız işlerini temizler" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "" +"%1$s: Önyükleme hizmeti artık etkin. İlk önyüklemeden sonra, tüm " +"sayfalarınızı her temizlendiklerinde önbelleğe almaya devam edecek. Başka " +"bir işlem yapılmasına gerek yoktur." + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "WP Rocket Önyükleme bekleyen işleri" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "WP Rocket Önyükleme, sıkışmış başarısız işleri geri alır" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "" +"Lisansınızı doğrularken bir sorun oldu gibi görünüyor. Lütfen aşağıdaki hata" +" iletisine bakın." +msgstr[1] "" +"Lisansınızı doğrularken bir sorun oldu gibi görünüyor. Aşağıda hata " +"iletilerini görebilirsiniz." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Sunucu türü:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP sürüm numarası:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress sürüm numarası:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress çoklu site:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Şu anki tema:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Şu anki site dili:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Aktif eklentiler:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Tüm aktif eklentilerin eklenti adları" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "İsimsizleştirilmiş WP Rocket ayarları:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Hangi WP Rocket ayarları aktif" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "Verilen lisans verileri geçerli değil." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "Çözmek için lütfen %1$sdestek ile iletişime geçin%2$s." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "" +"Lisans doğrulama başarısız oldu. Sunucumuz web sitenizden gelen isteği " +"çözemedi." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Aşağıda %1$sLisansı Doğrula%2$s düğmesine tıklamaya çalışın. Eğer hata devam" +" ederse, %3$sbu kılavuzu%4$s takip edin." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "" +"Lisans doğrulama başarısız oldu. Eklentinin nulled sürümünü kullanıyorsunuz." +" Lütfen aşağıdakini yapın:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "WP Rocket %1$shesabınıza%2$s oturum açın" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Zip dosyasını indir" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Yeniden Yükle" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" +"Eğer bir WP Rocket hesabınız yoksa, lütfen %1$sbir lisans satın alın%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "" +"Lisans doğrulama başarısız oldu. Bu kullanıcı veritabanımızda mevcut değil." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Çözmek için lütfen destek ile iletişime geçin." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "Lisans doğrulama başarısız oldu. Bu kullanıcı hesabı engellendi." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Daha fazla bilgi için lütfen %1$sbu kılavuza%2$s bakın." + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "" +"Aşağıda %1$sDeğişiklikleri Kaydet%2$s düğmesine tıklamaya çalışın. Eğer hata" +" devam ederse, %3$sbu kılavuzu%4$s takip edin." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Lisansınız geçerli değil." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Aktif bir %1$sWP Rocket lisansına%2$s sahip olduğunuzdan emin olun." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Şu anki lisansınızın izin verdiği kadar çok site eklediniz." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "" +"%1$sHesabınızı%2$s yükseltin ya da %3$slisansınızı bu etki alanına " +"aktarın%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Bu web sitesine izin verilmedi." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "Lütfen %1$sdestek ile iletişime geçin%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Bu lisans anahtarı tanınmadı." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Eğer sorun devam ederse, lütfen %1$sdestek ile iletişime geçin%2$s." + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "Lisans doğrulama başarısız oldu: %s" + +#: inc/Logger/Logger.php:260 inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "Günlük dosyası mevcut değil." + +#: inc/Logger/Logger.php:266 inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "Günlük dosyası okunamadı." + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Günlükler bir dosya içine kaydedilmedi." + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "" +"%s sunucunuzda Varnish etkinleştirildikten sonra Varnish otomatik temizleme," +" otomatik olarak etkinleştirilecektir." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"Kurulumunuzda, Kinsta kurulumunuzu ve WP Rocket’in doğru bir şekilde " +"çalışmasını önleyecek, Önbellek temizlemeyi yöneten çekirdek Kinsta " +"dosyalarının eksik olduğu görülüyor. Lütfen bu sorunu çözmek için " +"%1$sMyKinsta%2$s hesabınız aracılığıyla Kinsta desteği ile temasa geçin." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:127 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s: Cloudflare’in HTTP/2 Sunucu Yollaması, Kullanılmayan CSS’yi Kaldır ve " +"CSS Dosyalarını Birleştir’in özellikleriyle uyumlu değil. " +"Etkisizleştirmenizi şiddetle öneririz." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:170 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"Siteniz resmi Cloudflare eklentisini kullanıyor. Uyumluluk için Cloudflare " +"otomatik temizlemeyi etkinleştirdik. Eğer APO’nuzu aktif ettiyseniz, o da " +"uyumludur." + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:171 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "" +"Cloudflare önbelleği, WP Rocket önbelleğini her temizlediğinde içeriğin her " +"zaman güncel olmasını sağlamak için temizlenecektir." + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:215 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "" +"%1$sWP Rocket:%2$s \"Değişken Tanımlama Bilgileri Önbelleği\"ni " +"kullanıyorsunuz. Cloudflare APO henüz bu özellikle uyumlu değil." + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:221 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"Sayfa önbelleği dostu olmanın alternatif bir yolu için ya Cloudflare APO’yu " +"etkisizleştirmeli ya da “Değişken Tanımlama Bilgileri Önbelleği” " +"geliştiricilerinin kullanımını gerektiren temayı/eklentiyi " +"işaretlemelisiniz. %1$sDaha fazla bilgi%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:272 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket:%2$s \"Mobil cihazlar için önbellek dosyalarını ayır\"ı " +"kullanıyorsunuz. Önbelleğin doğru sürümünü sunmak için Cloudflare APO’da " +"\"Cihaz Türüne Göre Önbellekle\" %3$sayarını%5$s aktif etmeniz " +"gerek.%4$sDaha fazla bilgi%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:293 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket:%2$s Cloudflare APO’da \"Cihaz Türüne Göre Önbellekle\"yi " +"etkinleştirdiniz. Eğer web sitesi için mobil ve masaüstünde farklı bir " +"önbelleğe sahip olmasının gerekli olduğuna karar verirseniz, oluşturulan " +"önbelleğin doğru olduğundan emin olmak için \"Mobil Cihazlar için Önbellek " +"Dosyalarını Ayır\" seçeneğimizi etkinleştirmenizi öneririz." + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "" +"%1$s: Mod PageSpeed bu eklenti ile uyumlu değil ve " +"beklenmeyen sonuçlara neden olabilir. %2$sDaha Fazla Bilgi%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket: %2$sAutoptimize’ın JavaScript Toplama özelliğinin " +"etkinleştirildiğini tespit ettik. WP Rocket’in JavaScript’i Geciktir " +"Yürütmesi, oluşturduğu dosyaya uygulanmayacaktır. JavaScript’i Geciktir " +"Yürütmesi’nden tam olarak yararlanmak için %1$sJavaScript Toplama%2$s " +"özelliğinin etkisizleştirilmesini öneririz." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket: %2$sAutoptimize’ın Satır İçi CSS Topla özelliğinin " +"etkinleştirildiğini tespit ettik. WP Rocket’in CSS’yi Eşzamanlı Olmadan " +"Yükle özelliği düzgün olarak çalışmayacaktır. CSS’yi Eşzamanlı Olmadan Yükle" +" Yürütmesi’nden tam olarak yararlanmak için %1$sSatır İçi CSS Topla%2$s " +"özelliğinin etkisizleştirilmesini öneririz." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"Bu eklenti, WP Rocket’in önbelleğe alınmasını ve iyileştirmelerini engeller." +" Bunu devre dışı bırakın ve bunun yerine %1$sEzoic’in ad sunucusu " +"bütünleştirmesi%2$s'ni kullanın." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "" +"Lütfen WP Rocket özellikleri ile çakışan aşağıdaki %s seçeneği devre dışı " +"bırakın:" +msgstr[1] "" +"Lütfen WP Rocket özellikleri ile çakışan aşağıdaki %s seçeneği devre dışı " +"bırakın:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" +"%1$s %2$semoji etkisizleştirmesi%3$s WP Rockets %2$semoji " +"etkisizleştirmesi%3$s ile çakışıyor" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "" +"%1$s %2$sGZIP sıkıştırması%3$s WP Rockets %2$sGZIP sıkıştırması%3$s ile " +"çakışıyor" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "" +"%1$s %2$starayıcı önbelleklemesi%3$s WP Rockets %2$starayıcı " +"önbelleklemesi%3$s ile çakışıyor" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" +"%1$s %2$ssayfa önbelleklemesi%3$s WP Rockets %2$ssayfa önbelleklemesi%3$s " +"ile çakışıyor" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "" +"%1$s %2$svarlık iyileştirmesi%3$s WP Rockets %2$sdosya iyileştirmesi%3$s ile" +" çakışıyor" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"Kullanılmayan CSS’yi Kaldır şu anda Perfmatters’ta aktif edildi. Eğer WP " +"Rocket’in Kullanılmayan CSS’yi Kaldır özelliğini kullanmak istiyorsanız, " +"Perfmatters’ta bu seçeneği etkisizleştirin." + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"Otomatikleştirilmiş kullanılmayan CSS kaldırma şu anda RapidLoad Power-Up " +"for Autoptimize’da aktif edildi. Eğer WP Rocket’in Kullanılmayan CSS’yi " +"Kaldır özelliğini kullanmak istiyorsanız, RapidLoad Power-Up for Autoptimize" +" eklentisini etkisizleştirin." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "" +"JS’yi geciktir, şu anda %1$s içinde aktif edildi. Eğer WP Rocket’in JS’yi " +"geciktir’ini kullanmak istiyorsanız, %1$s etkisizleştirin." + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "" +"Divi şablonunuz güncellendi. Düzen, tasarım veya CSS stilleri " +"değiştirilmişse, Kullanılan CSS’yi temizleyin." + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "Mobil için CSS’yi eşzamanlı olmadan yükle" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "" +"Web siteniz şu anda hem masaüstü hem de mobil cihazlar için aynı Önemli Yol " +"CSS’yi kullanıyor." + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" +"Siteniz için mobile özgü ÖYCSS’yi etkinleştirmek için düğmeye tıklayın." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "" +"Bu tek seferlik bir eylemdir ve daha sonra bu düğme kaldırılacaktır. " +"%1$sDaha fazla bilgi%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" +"Bu site artık mobile özgü önemli yol CSS’yi kullanıyor. %1$sDaha fazla " +"bilgi%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "Mobile Özgü ÖYCSS’yi Oluştur" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "Önemli Yol CSS" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" +"Bu yazı için belirli bir Önemli Yol CSS’yi oluşturun. %1$sDaha fazla " +"bilgi%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" +"Bu yazı belirli bir Önemli Yol CSS’yi kullanır. %1$sDaha fazla bilgi%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "Varsayılan ÖYCSS’ye geri dön" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "Bir sorunla mı karşılaşıyorsunuz?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "" +"Herhangi bir sorunla karşılaştığınızda WP Rocket’i devre dışı bırakmak her " +"zaman gerekli değildir. Bunların çoğu, yalnızca bazı seçenekler devre dışı " +"bırakılarak düzeltilebilir." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"Bizim tavsiyemiz mi? WP Rocket’i devre dışı bırakmak yerine, LazyLoad, Dosya" +" İyileştirmesi ve CDN seçeneklerini hızla devre dışı bırakmak için " +"%1$sGüvenli Kip%2$s’imizi kullanın. Ardından, sorununuzun çözülüp " +"çözülmediğini denetleyin." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" +"WP Rocket sorunlarını gidermek için Güvenli Kip’imizi kullanmak istiyor " +"musunuz?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "Evet, \"%1$sGüvenli Kip%2$s\"i uygula" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "" +"ve WP Rocket ayarlarını dışa aktarın %1$s(Şu anki ayarlar silineceği için " +"önerilir)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "Hayır, bu iletiyi devre dışı bırak ve şu süre kadar ertele" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 gün" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 gün" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 gün" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "Sürekli" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "İptal" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "Onayla" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +" %1$sWP Roket %2$s%3$s kullanılabilir. Bu ana sürümün güncellemeleri ve " +"geliştirmeleri hakkında %4$sdaha fazla bilgi edinin%5$s. Bunları web " +"sitenizde kullanmak için aktif bir lisansa ihtiyacınız var, kaçırmayın! " +"%6$sŞimdi Yenile%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "Dahil Etme ve Hariç Tutma Listelerini güncelleyin" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "" +"Uyumluluk listeleri her hafta otomatik olarak indirilir. Bunları el ile " +"güncellemek istiyorsanız düğmeye tıklayın. %1$sDaha fazla bilgi%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "Listeleri güncelle" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "Google Yazı Tipi İyileştirmesini etkinleştirin" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "" +"Yazı tipi performansını artırır ve HTTP isteklerinin sayısını azaltmak için " +"birden çok yazı tipi isteğini birleştirir." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" +"Google Yazı Tipleri İyileştirme artık siteniz için etkinleştirildi. %1$sDaha" +" fazla bilgi%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "Google Yazı Tiplerini iyileştir" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Şu süreden sonra önbelleği temizle" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS ve JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Ayarları içe aktarın" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Eklenti durumu" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Seçenekleri değiştir" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "Web siteniz için RocketCDN önbelleklenmiş kaynaklarını temizler. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Daha fazla bilgi edinin" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "Tüm RocketCDN önbellek dosyalarını temizle" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Önbelleği" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "Web sitenizin önbelleklenmiş kaynaklarını temizler. %s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Tüm Cloudflare önbellek dosyalarını temizle" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Tebrikler!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket şu an aktif edildi ve halen sizin için çalışıyor." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Web siteniz artık daha hızlı yüklenmelidir!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "" +"Hızlı web sitelerini garantilemek için en iyi WP Rocket web performans " +"uygulamalarının %80’ini otomatik olarak uygular." + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "" +"Ayrıca web sitenize anında fayda sağlayan seçenekleri etkinleştiriyoruz." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Sitenizi daha da iyileştirmek için seçeneklere devam edin!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Hesabım" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Bilgiyi yenile" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "birlikte" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Bitiş Tarihi" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Hesabımı göster" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Hızlı Eylemler" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Tüm önbelleklenen dosyaları kaldırın" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Önemli CSS’yi yeniden oluştur" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "Kullanılan CSS Önbelleğini Kaldır" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Sıkça Sorulan Sorular" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Hala bir çözüm bulamadınız mı?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" +"Bir çağrı gönderin ve arkadaş yanlısı ve bilgili Roketçilerimizden yardım " +"alın." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Destek iste" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Temizlemeyi çalıştırmadan önce veritabanınızı yedekleyin!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "" +"Bir kere bir veritabanı iyileştirme yapıldı mı, bunu geri almanın hiç yolu " +"yoktur." + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "Değişiklikleri Kaydet ve İyileştir" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "" +"%1$sWP ROCKET%2$s, resim iyileştirme için sınıfının en iyisi %3$sIMAGIFY%4$s" +" %1$seklentisini yarattı.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "" +"Tüm resim kalitesini korurken, web sitenizin daha hızlı hale getirmek için " +"resmi sıkıştırın." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Imagify’da daha fazlası:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify Eklenti Sayfası" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify Web Sitesi" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Resim Sıkıştırma Eklentileri İncelemesi" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Imagify’ı Yükle" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket, lisansınızı otomatik olarak doğrulayamadı." + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" +"Motoru çalıştırmak için bu %1$s takip edin ya da %2$s ile iletişime geçin." + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$seğitimi%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$sdestek%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Tüm Sucuri önbellek dosyalarını temizle" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Dosyaların boyutu: %1$s. Giriş sayısı: %2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$sDosyayı indir%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$sDosyayı sil%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Ayarları dışa aktarın" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Ayarlarınızın bir yedekleme dosyasını indirin" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Ayarları indir" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Geri alın" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "%s sürümü web sitenizde bir soruna mı neden oldu?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "" +"Burada önceki büyük sürüme geri alabilirsiniz.%sArdından bize bir destek " +"isteği gönderin." + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "%s sürümünü yeniden yükle" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Hata ayıklama kipi" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Hata ayıklama günlük dosyası oluşturun." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Başlarken" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "WP Rocket ile Başlarken" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Siteniz için En İyi Ayarları Bulma" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "WP Rocket’in Sitenizi Önbelleklediği Nasıl Denetlenir" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Sitenizin Hızı Nasıl Ölçülür" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Önyükleme Nasıl Çalışır" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "Core Web vitals bilgilerini geçme" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "WP Rocket ile LCP nasıl geliştirilir" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "WP Rocket ile FID nasıl geliştirilir" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "WP Rocket ile CLS nasıl geliştirilir" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "Sorun Giderme" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Dosya İyileştirme ile Görüntü Sorunlarının Sorununu Giderme" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Hariç Tutmak için Doğru JavaScript Nasıl Bulunur" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Dış İçerik Sitenizi Nasıl Yavaşlatır" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Cloudflare Eklentisini Ayarlama" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket Ayarları" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "sürüm %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Kenar Çubuğunu Göster" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "" +"Aşağıdakiler, %1$sizin verildiği takdirde%2$s WP Rocket’in toplayacağı tüm " +"verilerin ayrıntılı bir görünümüdür." + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "" +"WP Rocket asla herhangi bir etki alanı adı veya e-posta adresini (lisans " +"doğrulaması hariç), IP adreslerini, ya da üçüncü taraf API anahtarlarını " +"iletmeyecek." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Rocket çözümseli aktif et" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" +"En yaygın sorunların bazılarını düzeltmek için harika bir başlangıç " +"noktasıdır." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Belgeleri okuyun" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "WP Roket Varsayılan Olarak Sizin İçin Ne Yapar" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Web sitenizin yükleme süresini nasıl doğru olarak ölçersiniz" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" +"Eğitimimizi gözden geçirin ve sitenizin hızının nasıl ölçüldüğünü öğrenin." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Rehberimizi okuyun" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" +"Mobil için en uygun WP Roket ayarları hakkında daha fazla bilgi edinin." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "WordPress için Google Core Web Vitals’ı Deneyin ve Geliştirin." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Daha fazla bilgi edinin" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Oturum açmış kullanıcı önbelleğini aktif etmediniz." + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "" +"Web sitenizin hızını ve görsel görünümünü kontrol etmek için özel bir " +"tarayıcı kullanın." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Yardım Mı Gerekli?" diff --git a/languages/rocket-uk.mo b/languages/rocket-uk.mo new file mode 100644 index 0000000..569b4c4 Binary files /dev/null and b/languages/rocket-uk.mo differ diff --git a/languages/rocket-uk.po b/languages/rocket-uk.po new file mode 100644 index 0000000..4656798 --- /dev/null +++ b/languages/rocket-uk.po @@ -0,0 +1,3596 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Sabrina Zeidan , 2020\n" +"Language-Team: Ukrainian (Ukraine) (https://www.transifex.com/wp-media/teams/18133/uk_UA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-01-15 16:02+0200\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: uk_UA\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"X-Generator: Poedit 2.2.4\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Ваш сайт розміщено на %s, ми включили Varnish автоочищення для сумісності." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Sitemaps" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Презавантаження карти сайту з плагіна Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Ми автоматично визначили карту сайту, створену плагіном %s. Ви можете перевірити можливість попередньої завантаження." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML sitemap" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Ранг Math XML карти сайту" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Мапа сайту SEOPress XML" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "SEO Framework XML карта сайту" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML sitemap" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Підтримка" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Документи" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Часті питання" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Налаштування" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Очистити цей кеш" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Відкат оновлення" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sПовернутися до WP Rocket%2$s або %3$sперейти на сторінку плагінів%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Помилка імпорту параметрів: у вас немає прав для цього." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Помилка імпорту параметрів: файл не завантажено." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Помилка імпорту параметрів: неправильне ім'я файлу." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Помилка імпорту параметрів: неправильний тип файлу." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Помилка імпорту налаштувань: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Помилка імпорту параметрів: несподіваний вміст файлу." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Параметри імпортовані та збережені." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket:" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Помилка режиму розробки Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Режим розробки Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Помилка рівня кешу Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Рівень кешу Cloudflare встановлено на %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Помилка мініфікації Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Мініфікація Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Помилка ракетного завантажувача Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare ракетний завантажувач %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Помилка кешу браузера Cloudflare: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Виключені CSS файли" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Виключені Inline JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Виключені JavaScript файли" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Ніколи не кешувати URL(и)" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Некешуємі User-Agent(и)" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Always Purge URL(и)" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Виключити файли з CDN" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Цей шаблон не працює, його було видалено:" +msgstr[1] "Ці шаблони не працюють, їх було видалено:" +msgstr[2] "Ці шаблони не працюють, їх було видалено:" +msgstr[3] "Ці шаблони не працюють, їх було видалено:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Очистити кеш" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket опції" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ніколи не кешуйте цю сторінку" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Активувати ці параметри в цьому записі:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad для зображень" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad для iframes/відео" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Зменшити/об'єднати CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Зменшити/об'єднати JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Defer JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Активуйте спочатку %s параметр." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNote:%2$s Жоден з цих параметрів не буде застосовано, якщо цю публікацію виключено з кешу в налаштуваннях глобального кешу." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s не може бути відключено через помилку прав запису.
    \n" +"Дозвольте запис в %2$s і повторіть спробу, або відключіть насильно:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Один або кілька плагінів були відключені або видалені. Очистіть кеш, щоб стерти їх залишки." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Наступні плагіни несумісні з цим плагіном і можуть призвести до несподіваних результатів:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Вимкнути" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS не є офіційним доповненням. Це запобігає правильній роботі деяких опцій WP Rocket. Вимкніть його, якщо у вас виникли проблеми." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Зараз активовано Endurance Cache, це викличе конфлікти з WP Rocket Cache. Щоб цьому запобігти, будь ласка, переключіть Endurance Cache на Off (Level 0) на сторінці %1$sSettings > General%2$s. " + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Для нормальної роботи плагіна потрібна власна структура постійних посилань. %2$sПерейдіть до налаштувань permalinks%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s не вдалося внести зміни до файлу .htaccess через відсутність прав запису." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Виправлення неполадок:%1$sЯк зробити системні файли для запису%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Не хвилюйтеся, кешування сторінок та налаштування WP Rocket будуть і надалі працювати коректно." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Для покращення роботи, ми рекомендуємо (це не вимагається) додати наступні рядки до .htaccess:" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s працює відмінно! %2$sПеревірте швидкість завантаження%4$s, або перейдіть в %3$sнастройки%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Чи дозволили б WP Rocket збирати нечутливі діагностичні дані з цього сайту?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Це допоможе нам у майбутньому поліпшити роботу WP Rocket." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Яку інформацію ми збираємо?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Нижче наведено детальний перегляд всіх даних, які WP Rocket збиратиме, якщо надано дозвіл. WP Rocket ніколи не передаватиме будь-які доменні імена або адреси електронної пошти (крім перевірки ліцензії), IP-адреси або сторонні ключі API." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Так, дозволити" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Ні, дякую" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Дякую!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "Зараз WP Rocket збирає такі дані з вашого веб-сайту:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: кеш очищено." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: кеш записів очищено." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Term кеш очищено." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: кеш користувачів очищено." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Нижчезазначене заплановане завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[1] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[2] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[3] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Будь ласка, зв'яжіться з вашим хостером, щоб перевірити, чи працює CRON." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Зупинити попереднє завантаження" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Примусова деактивація " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Наступний код повинен був бути написаний у цьому файлі:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%sне можна налаштувати автоматично через відсутність дозволів на запис." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Проблемний файл/папка: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Редакції" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Авто чернетки" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Видалені записи" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Спам коментарі" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Видалені коментарі" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Транзакції" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Таблиці" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Файл налагодження неможливо видалити." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Зберегти Зміни" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Перевірити Ліцензію" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Невідомо" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Ліцензія" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Ключ API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Електронна пошта" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Майстерня" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Довідка, інфо про аккаунт" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Мій статус" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket аналітика" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Я згоден поділитися анонімними даними з командою розробників, для поліпшення WP Rocket. %1$sЯку інформацію ми збираємо?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Кеш" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Основні опції кешу" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Мобільний кеш" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Прискорити свій сайт для мобільних відвідувачів." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Ми виявили, що ви використовуєте плагін, для якого потрібен окремий кеш для мобільних пристроїв, і автоматично включений цей параметр для сумісності." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Кеш користувача" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sКеш користувачів%2$s корисний, коли зміст сайту для користувачів відрізняється від гостьового." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Термін дії кешу" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Закешовані файли, які старіші за Термін дії кешу, буде видалено.
    Включіть %1$sПрелоадінг%2$s, щоб кеш створювався заново автоматично після того, як закінчиться термін його дії." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Увімкніть кешування для зареєстрованих користувачів WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Увімкнути кешування для мобільних пристроїв" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Окремі файли кешу для мобільних пристроїв" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Більшість сучасних тем є адаптивними і повинні працювати без окремого кешу. Активуйте це тільки, якщо ви використовуєте окрему тему або плагін для мобільних пристроїв. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Вкажіть час, після якого глобальний кеш буде очищено
    (0 = необмежений)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Скоротіть термін служби до 10 годин або менше, якщо ви помітите, що на сайті періодично виникають проблеми. %1$sЧому?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Хвилини" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Години" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Дні" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Оптимізація файлів" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Оптимізуйте CSS & JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Minification зараз активовано в режимі Autoptimize. Якщо ви хочете використовувати %2$s minification, вимкніть ці параметри у параметрі Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS Файли" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Файли JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Зменшення CSS файли" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Зменшення CSS видаляє пробіли та коментарі, щоб зменшити розмір файлу." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Це може зламати речі!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Якщо ви помітили помилки на своєму веб-сайті після активації цього налаштування, просто деактивуйте його знову, і ваш сайт повернеться до нормального стану." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Активувати мінімізацію CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Об'єднати файли CSS (увімкнути мінімізацію файлів CSS для вибору)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Об'єднати CSS об'єднує всі ваші файли в 1, зменшуючи HTTP-запити. Не рекомендується, якщо ваш сайт використовує HTTP/2. %1$sБольше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Активувати об`єднати CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Вкажіть URL-адреси CSS-файлів, які потрібно виключити з мінімізації та об'єднання (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Оптимізуйте доставку CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Резервний критичний CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Забезпечує запасний варіант, якщо автоматично створений критичний шлях CSS є неповним. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Зменшити файли JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Зменшити JavaScript видаляє пробіли та коментарі, щоб зменшити розмір файлу." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Активувати стиснення JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Об'єднати файли JavaScript (Увімкнути Мінімізацію файлів JavaScript для вибору)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Об'єднати файли JavaScript поєднує внутрішні, треті сторони та вбудовані JS, що знижують HTTP-запити. Не рекомендується, якщо ваш сайт використовує HTTP / 2. %1$sБольше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Активувати об`єднати JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Вкажіть шаблони вбудованого JavaScript, які будуть виключені з об'єднання (по одному на рядок). %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Вкажіть URL-адреси файлів JavaScript, які потрібно виключити зі зменшення та об'єднання (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Примітка: Доменне ім'я буде видалено автоматично. Використовуйте маску (.*).js для виключення всіх JS файлів в заданому шляху." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Сторонні модулі: Використовуйте повний шлях або доменне ім'я щоб виключити зовнішні JS. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Відкладене завантаження JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Відкладене завантаження JavaScript усуває можливість блокування JS на вашому сайті та покращує час завантаження. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Медіафайли" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Вона може покращити фактичний і сприйнятий час завантаження - зображення, фрейми, та відео буде завантажено лише після того, як вони ввійдуть до вікна перегляду та скоротять кількість запитів HTTP. %1$sБільше інформації %2$s" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Активуйте цю опцію, якщо ви хочете, щоб WP Rocket виводив зображення WebP у браузерах, які підтримують цей формат. Зверніть увагу, що WP Rocket не може створити WebP зображення для вас. Для їх безпосереднього створення ми рекомендуємо %1$sImagify%2$s. %3$sБільше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Увімкнути для зображень" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Увімкнути iframes і відео" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Замініть YouTube iframe попереднім зображенням" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Це може значно поліпшити час завантаження, якщо на сторінці є багато відео YouTube." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Презавантаження" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Оптимізація DNS запитів" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Попередня вибірка DNS може прискорювати завантаження зовнішніх файлів, особливо в мобільних мережах" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Активувати Презавантаження" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL для кешування" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Вкажіть зовнішні вузли, які потрібно попередньо завантажувати (не http: один на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Розширені правила" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Розширені кеш правила" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Чутливі сторінки, такі як користувацькі URL-адреси для входу/виходу, повинні бути виключені з кешу." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Магазин" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Кошик, оформлення замовлення і кабінет покупця встановлюються в %1$s%2$s%3$s визначаються автоматично, їх вказувати не потрібно." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Ніколи не кешувати файли cookie" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Строки запиту кешу" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sCache для запитів%2$s дозволяє примусово кешувати певні параметри GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Вкажіть URL-адреси сторінок або публікацій, які ніколи не повинні кешуватися (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Частина URL домену буде видалена автоматично.
    Використовуйте символи (. *) Для адреси декількох URL-адрес у заданому шляху." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Вкажіть рядки агента користувача, які ніколи не повинні бачити кешовані сторінки (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Використовуйте символи (. *) Для виявлення частин рядків UA." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Вкажіть URL-адреси, які завжди потрібно очищати від кешу, коли ви оновлюєте будь-яку публікацію або сторінку (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Вкажіть рядки запитів для кешування (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "База даних" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Оптимізуйте, зменшіть розмір" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Очистка записів" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Перевірки публікації та чернетки видаляються назавжди. Не використовуйте цей параметр, якщо потрібно зберегти зміни або чернетки." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Очищення коментарів" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Спам та видалені коментарі буде видалено назавжди." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Очищення транзакцій" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Транзакції це тимчасові налаштування, їх можна смело удалять. Вони будуть створені автоматично, якщо потребуються плагину." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Очищення бази даних" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Зменшує накладні витрати на таблиці бази даних" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s ревізія у вашій базі даних." +msgstr[1] "%s ревізій у вашій базі даних." +msgstr[2] "%s ревізій у вашій базі даних." +msgstr[3] "%s ревізій у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s чернетка у вашій базі даних." +msgstr[1] "%s чернеток у вашій базі даних." +msgstr[2] "%s чернеток у вашій базі даних." +msgstr[3] "%s чернеток у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s видалений запис у вашій базі даних." +msgstr[1] "%s видалених записів у вашій базі даних." +msgstr[2] "%s видалених записів у вашій базі даних." +msgstr[3] "%s видалених записів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s спамний коментар у вашій базі даних." +msgstr[1] "%s спамних коментарів у вашій базі даних." +msgstr[2] "%s спамних коментарів у вашій базі даних." +msgstr[3] "%s спамних коментарів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s видалений коментар у вашій базі даних." +msgstr[1] "%s видалених коментарів у вашій базі даних." +msgstr[2] "%s видалених коментарів у вашій базі даних." +msgstr[3] "%s видалених коментарів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Всі перехідні" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "У вашій базі даних %s тимчасові дані." +msgstr[1] "У вашій базі даних %s тимчасових даних." +msgstr[2] "У вашій базі даних %s тимчасових даних." +msgstr[3] "У вашій базі даних %s тимчасових даних." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Оптимізувати таблиці" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s таблиця, яку можна оптимізувати, у вашій базі даних." +msgstr[1] "%s таблиць, які можна оптимізувати, у вашій базі даних." +msgstr[2] "%s таблиць, які можна оптимізувати, у вашій базі даних." +msgstr[3] "%s таблиць, які можна оптимізувати, у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Розклад автоматичного очищення" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Частота" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Щоденно" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Щотижня" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Щомісяця" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Інтегруйте свій CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Всі URL(и) статичних файлів (CSS, JS, images) будуть переписані на надані вами CNAME-адреси." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Не потрібен для таких послуг, як Cloudflare і Sucuri. Перегляньте наші доступні %1$sДодатки%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Увімкнути мережу доставки вмісту" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(и)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Укажіть нижче CNAME(и)" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Вкажіть URL-адреси файлів, які не можна подавати за допомогою CDN (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Частина URL домену буде видалена автоматично.
    Використовуйте символи (. *) Для виключення всіх файлів певного типу файлів, розташованих на певному шляху." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Серцебиття" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Керуйте WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Зменшення або вимкнення активності API Heartbeat може допомогти зберегти деякі ресурси вашого сервера." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Зменшити або відключити Серцебиття активність" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Зменшення активності змінить частоту серцевих скорочень з одного удару кожну хвилину на один удар кожні 2 хвилини." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Вимкнення функції Heartbeat цілком може призвести до порушення плагінів і тем за допомогою цього API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Не обмежується" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Знизити активність" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Відключити" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Контроль серцебиття" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Поведінка в бекенд" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Поведінка в редакторі записів" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Поведінка в фронтенд" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Додатки" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Додайте інші функції" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Швидкі Rocket Додатки" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Додатки з одним натисканням - це функції, що розширюють доступні опції без необхідної конфігурації. Щоб увімкнути цей екран, увімкніть \"on\" параметр." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket Надбудови" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Ракетні Додатки доповнюють додаткові можливості." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Якщо на вашому сервері запускається Varnish, необхідно активувати цей додаток." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnish кеш очищується разом з іншим кешем, щоб підтримувати актуальність контенту.
    %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Інтегруйте свій обліковий запис Cloudflare з цим додатком." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Надайте електронну пошту облікового запису, глобальний ключ API та домен для використання таких параметрів, як очищення кешу Cloudflare та забезпечення оптимальних параметрів за допомогою WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Очистіть кеш Sucuri, коли WP Rocket кеш буде очищено." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Надайте ключ API, щоб очистити кеш Sucuri, коли кеш WP Rocket очищено." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Синхронізуйте кеш Sucuri з цим додатком." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare облікові дані" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare опції" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Глобальний API ключ:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Знайдіть ваш API ключ" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Email облікового запису" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID Зони" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Режим розробки" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Тимчасово активуйте режим розробки на своєму веб-сайті. Ця настройка автоматично вимкнеться через 3 години. %1$sДокладніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Оптимальні опції" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Автоматично покращує вашу конфігурацію Cloudflare для швидкості, якості продуктивності та сумісності." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Відносний протокол" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Потрібно використовувати тільки Cloudflare's flexible SSL. URL адреси статичних файлів (CSS, JS, зображення) будуть переписані для використання // замість http:// або https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri облікові дані" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Знайдіть ваш API ключ" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Завантажити налаштування файлу та імпортувати" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Додаток Sucuri: Ключ API для брандмауера Sucuri повинен мати формат {32 characters}/{32 characters} ." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Налаштування збережено." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Щоб правильно функціонувати,%1$s %2$s вимагає принаймні:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s Щоб скористатися цією версією WP Rocket, зверніться до веб-хосту, як оновити ваш сервер до PHP %1$s або вище." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Щоб використовувати цю версію WP Rocket, оновіть WordPress версії%1$s або вище." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Якщо ви не можете оновити, можна повернутись до попередньої версії за допомогою кнопки нижче." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Перевстановіть версію %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Файл журналу не існує." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Файл журналу неможливо прочитати." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Журнали не зберігаються у файл." + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Критичний CSS для %1$s не створено. Помилка:%2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Створено критичний CSS для %s." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Строк збереження кешу WP Rocket" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP кеш деактивовано фільтром." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[1] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[2] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[3] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[1] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[2] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[3] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Зараз іде генерація Критичного CSS." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Перейдіть на сторнінку %1$sНалаштування WP Rocket %2$s, щоб слідкувати за прогресом. " + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Виконується створення критичних CSS: %1$d з %2$d типів сторінок уже створено. (Оновити сторінку, щоб побачити процес)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Створення критичних CSS завершено для %1$d з %2$d типів сторінок." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Критичне CSS генерування зіткнулося з однією або декількома помилками." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Вивчити більше." + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "щотижня" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Не вдалося виявити наступну вимогу вашої теми: закриваємо %1$s." +msgstr[1] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." +msgstr[2] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." +msgstr[3] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Прочитайте %1$sдокументацію%2$s для подальших вказівок." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "щомісячно" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Процес оптимізації баз даних працює" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Процес оптимізації баз даних завершено. Все вже було оптимізовано!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Процес оптимізації баз даних завершено. Список оптимізованих елементів нижче:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s оптимізовано." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Інструменти" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Імпорт, Експорт, Відкат" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Оптимізація зображень" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Стиснути зображення" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Підручники" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Початок роботи та допоміжні відео" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Будь ласка, деактивуйте таку %s опцію, яка конфліктує з функціоналом WP Rocket:" +msgstr[1] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" +msgstr[2] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" +msgstr[3] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$sвідключення emoji%3$s конфліктує з функцією WP Rocket %2$sвідключення emoji%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP-компресія%3$s конфліктує з WP Rocket %2$sGZIP-компресією%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$s браузерне кешування %3$s конфліктує з WP Rocket %2$s браузерним кешуванням %3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$s кешування сторінок %3$s конфліктує з WP Rocket %2$s кешуванням сторінок %3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$s оптимізація ресурсів %3$s конфліктує з Оптимізацією файлів %2$s WP Rocket %3$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Помилка видалення кешу Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Кеш Sucuri очищається. Зверніть увагу, що для заповнення може знадобитися до двох хвилин." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Ключ API брандмауера Sucuri не знайдено." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Ключ API брандмауера Sucuri недійсний." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Помилка під час звернення до API брандмауера Sucuri. Повідомлення про помилку було: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Не вдалося отримати відповідь від API брандмауера Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Отримано недійсний відповідь від API брандмауера Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API брандмауера Sucuri повернув невідома помилка." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API файєрволлу Sucuri видав таку помилку: %s" +msgstr[1] "API файєрволлу Sucuri видав такі помилки: %s" +msgstr[2] "API файєрволлу Sucuri видав такі помилки: %s" +msgstr[3] "API файєрволлу Sucuri видав такі помилки: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Виникла несподівана помилка. Щось може бути неправильним з WP-Rocket.me або конфігурацією цього сервера. Якщо у вас виникнуть проблеми, зверніться до служби підтримки ." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Всі мови" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Очистити цей запис" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Очистіть цю URL-адресу" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Перестворити критичні CSS" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Purge Sucuri кеш" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Документація" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Не вдалося оновити OPcache кеш." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache успішно оновлено" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: кеш Cloudflare успішно очищено." + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Активувати Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Установіть Imagify безкоштовно" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Прискорити ваш сайт і збільшити ваш SEO за рахунок зменшення розмірів файлів зображень без втрати якості за допомогою Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Детальніше" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Попереднє завантаження мапи сайту: %d сторінок було закешовано." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Попереднє завантаження Sitemap: попередньо закешовано %d сторінок. (оновити, щоб побачити прогрес)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Виберіть домен зі списку" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Домен недоступний у вашому Cloudflare записі" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS файли з Відкладеного завантаження JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Додати URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Перш ніж ви зможете завантажити файл імпорту, необхідно буде виправити наступну помилку:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Виберіть файл з вашого пк (максимальний розмір: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Ваші облікові дані Cloudflare дійсні." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Ваші облікові дані Cloudflare недійсні!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Зберегти та оптимізувати" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Оптимізувати" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Примітка:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Продуктивність поради:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Виявлено сторонній плагін:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Увага:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Завантажити налаштування" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Замінити ім'я хосту сайту на:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "зарезервовано для" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Усі файли" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Зображення" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Додати CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Переглянути відео" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Основний" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Статичні файли" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Розширений" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s треба наявності версії PHP не нижче %3$s Щоб скористатися цією функцією, зверніться до хостера з проханням підвищити версію PHP до %3$s і вище. В іншому випадку, використовуйте стару версію плагіна." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Здається, виникла проблема з валідацією вашої ліцензії. Помилку зазначено нижче." +msgstr[1] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." +msgstr[2] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." +msgstr[3] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Тип сервера:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Номер версії PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Номер версії WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress мультисайт:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Поточна тема:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Мова поточного сайту:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Активні плагіни:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Імена плагінів всіх активних плагінів" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Анонімні WP Rocket опції:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Які настройки WP Rocket є активні" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl деактивовано на вашому сервері. Будь ласка, попросіть вашого хостера ввімкнути його. Це потрібно, щоб Додаток Cloudflare працював коректно." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Імейл, зареєстрований в Cloudflare, API key та Zone ID не вказані. Читайте %1$sдокументацію%2$s для подальших інструкцій." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Не вказано Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Невірний імейл або API ключ Cloudflare." + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Невірне значення Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Здається, що ваш домен не налаштовано у Cloudflare." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Імейл, зареєстрований в Cloudflare, API key та Zone ID не вказані. Читайте %1$sдокументацію%2$s для подальших інструкцій." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Не вдалося підключитися до Cloudflare" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Помилка перевірки ліцензії. Наш сервер не може вирішити запит з вашого веб-сайту." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Спробуйте натиснути%1$sSave Changes %2$s нижче. Якщо помилка не зникає, перейдіть %3$sв цю інструкцію%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Помилка перевірки ліцензії. Можливо, ви використовуєте нульову версію плагіна. Будь ласка, виконайте такі дії:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Увійдіть у свій WP Rocket%1$sаккаунт%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Завантажте zip файл" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Перевстановити" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Якщо у вас немає облікового запису WP Rocket, будь ласка,%1$sкупіть ліцензію%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Помилка перевірки ліцензії. Цей обліковий запис користувача не існує в нашій базі даних." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Щоб вирішити, зверніться до служби підтримки." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Дивіться %1$sце керівництво%2$s для отримання додаткової інформації." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Ваша ліцензія недійсна." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Переконайтеся, що у вас є активна %1$sWP Rocket ліцензія%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Ви додали стільки сайтів, скільки дозволяє поточна ліцензія." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Оновлення %1$sаккаунту%2$s або %3$sтрансфер ліцензії%2$s до цього домену." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Цей веб-сайт заборонений." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Будь ласка,%1$sзверніться в службу підтримки%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Цей ліцензійний ключ не розпізнається." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Якщо проблема не зникне,%1$sзверніться до служби підтримки%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Помилка перевірки ліцензії: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Плагін встановлений успішно." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "На жаль, вам не дозволяється встановлювати плагіни на цьому сайті." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "На жаль, вам не дозволено це робити." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Не вдалося встановити плагін." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Повернутися назад" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Скасувати" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Очистити кеш після" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Імпорт опції" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Стан Додатку" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Змінити параметри" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Кеш" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Очищає кешовані ресурси для вашого веб-сайту. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Дізнатись більше" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Видалити всі файли Cloudflare кешу" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Вітаю!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket тепер активована і вже працює для вас." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Ваш веб-сайт зараз завантажується швидше!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Ми також активуємо варіанти, які надають негайні вигоди для вашого веб-сайту." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Перейдіть до опцій для подальшої оптимізації свого сайту!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Мій аккаунт" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Оновити інфо" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Дата закінчення" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Переглянути Мій аккаунт" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Швидкі дії" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Видалити всі кешовані файли" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Перестворити критичні CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Часті Питання" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Ще не можете знайти рішення?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Надішліть тікет і отримайте допомогу від наших дружніх і обізнаних Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Запитайте підтримку" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Резервує вашу базу даних перед тим, як запустити очищення!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Після того, як оптимізація бази даних була виконана, її неможливо скасувати." + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s створено%3$sIMAGIFY%4$s %1$sдля найкращої оптимізації зображень.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Стисніть зображення, щоб зробити ваш веб-сайт швидшим, зберігаючи якість зображення." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Більше про Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify сторінка плагіна" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify вебсайт" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Огляд плагінів Стиснення зображень" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Встановити Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket не зміг автоматично перевірити вашу ліцензію." + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Видалити всі файли Sucuri кешу" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Розмір файлів: %1$s. Кількість записів: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sЗавантажити файл%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sВидалити файл%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Експортувати налаштування" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Завантажте резервну копію Ваших налаштувань" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Завантажити налаштування" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Відкат" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Чи є проблема з версією %s на вашому веб-сайті?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Перевстановити версію %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Режим налагодження" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Створіть файл журналу налагодження." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Розпочнемо" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Розпочнемо з WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Пошук найкращих налаштувань для Вашого сайту" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Як перевірити, чи WP Rocket кешує ваш сайт" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Як виміряти швидкість вашого сайту" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Вирішення проблем з відображенням через Оптимізацію файлів" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Як знайти правильний JavaScript для виключення" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Як зовнішній контент уповільнює Ваш сайт" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Як працює Предзавантаження" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Налаштувати Додаток Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket Налаштування" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "версія %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Показати сайдбар" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket ніколи не буде передавати будь-які доменні імена або адреси електронної пошти (крім перевірки ліцензії), IP-адреси або ключі API сторонніх виробників." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Активувати Rocket analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Це чудова відправна точка для виправлення деяких найбільш поширених проблем." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Прочитайте документацію" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Що WP Rocket для вас робить одразу після активації:" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Як правильно виміряти час завантаження веб-сайту" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Перегляньте наш підручник і дізнайтеся, як виміряти швидкість вашого сайту." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Прочитайте наш гід" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Читати далі" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Ви не активували кеш для зареєстрованих користувачів." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Використовуйте приватний веб-переглядач, щоб перевірити швидкість і візуальність вашої веб-сторінки." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Потрібна допомога?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-uk_UA.mo b/languages/rocket-uk_UA.mo new file mode 100644 index 0000000..569b4c4 Binary files /dev/null and b/languages/rocket-uk_UA.mo differ diff --git a/languages/rocket-uk_UA.po b/languages/rocket-uk_UA.po new file mode 100644 index 0000000..4656798 --- /dev/null +++ b/languages/rocket-uk_UA.po @@ -0,0 +1,3596 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: Sabrina Zeidan , 2020\n" +"Language-Team: Ukrainian (Ukraine) (https://www.transifex.com/wp-media/teams/18133/uk_UA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2020-01-15 16:02+0200\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: uk_UA\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"X-Generator: Poedit 2.2.4\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "Ваш сайт розміщено на %s, ми включили Varnish автоочищення для сумісності." + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML Sitemaps" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "Презавантаження карти сайту з плагіна Jetpack" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "Ми автоматично визначили карту сайту, створену плагіном %s. Ви можете перевірити можливість попередньої завантаження." + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML sitemap" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Ранг Math XML карти сайту" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "Мапа сайту SEOPress XML" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "SEO Framework XML карта сайту" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML sitemap" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "Підтримка" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "Документи" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "Часті питання" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "Налаштування" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "Очистити цей кеш" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s Відкат оновлення" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$sПовернутися до WP Rocket%2$s або %3$sперейти на сторінку плагінів%2$s" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "Помилка імпорту параметрів: у вас немає прав для цього." + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "Помилка імпорту параметрів: файл не завантажено." + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "Помилка імпорту параметрів: неправильне ім'я файлу." + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "Помилка імпорту параметрів: неправильний тип файлу." + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "Помилка імпорту налаштувань: " + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "Помилка імпорту параметрів: несподіваний вміст файлу." + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "Параметри імпортовані та збережені." + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket:" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "Помилка режиму розробки Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "Режим розробки Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "Помилка рівня кешу Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "Рівень кешу Cloudflare встановлено на %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "Помилка мініфікації Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "Мініфікація Cloudflare %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "Помилка ракетного завантажувача Cloudflare: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare ракетний завантажувач %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "Помилка кешу браузера Cloudflare: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "Виключені CSS файли" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "Виключені Inline JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "Виключені JavaScript файли" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "Ніколи не кешувати URL(и)" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "Некешуємі User-Agent(и)" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "Always Purge URL(и)" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "Виключити файли з CDN" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "Цей шаблон не працює, його було видалено:" +msgstr[1] "Ці шаблони не працюють, їх було видалено:" +msgstr[2] "Ці шаблони не працюють, їх було видалено:" +msgstr[3] "Ці шаблони не працюють, їх було видалено:" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "Очистити кеш" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket опції" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "Ніколи не кешуйте цю сторінку" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "Активувати ці параметри в цьому записі:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "LazyLoad для зображень" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "LazyLoad для iframes/відео" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "Зменшити/об'єднати CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "Зменшити/об'єднати JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "Defer JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "Активуйте спочатку %s параметр." + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "%1$sNote:%2$s Жоден з цих параметрів не буде застосовано, якщо цю публікацію виключено з кешу в налаштуваннях глобального кешу." + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s не може бути відключено через помилку прав запису.
    \n" +"Дозвольте запис в %2$s і повторіть спробу, або відключіть насильно:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: Один або кілька плагінів були відключені або видалені. Очистіть кеш, щоб стерти їх залишки." + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s: Наступні плагіни несумісні з цим плагіном і можуть призвести до несподіваних результатів:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "Вимкнути" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS не є офіційним доповненням. Це запобігає правильній роботі деяких опцій WP Rocket. Вимкніть його, якщо у вас виникли проблеми." + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "Зараз активовано Endurance Cache, це викличе конфлікти з WP Rocket Cache. Щоб цьому запобігти, будь ласка, переключіть Endurance Cache на Off (Level 0) на сторінці %1$sSettings > General%2$s. " + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: Для нормальної роботи плагіна потрібна власна структура постійних посилань. %2$sПерейдіть до налаштувань permalinks%3$s" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s не вдалося внести зміни до файлу .htaccess через відсутність прав запису." + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "Виправлення неполадок:%1$sЯк зробити системні файли для запису%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "Не хвилюйтеся, кешування сторінок та налаштування WP Rocket будуть і надалі працювати коректно." + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "Для покращення роботи, ми рекомендуємо (це не вимагається) додати наступні рядки до .htaccess:" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s працює відмінно! %2$sПеревірте швидкість завантаження%4$s, або перейдіть в %3$sнастройки%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "Чи дозволили б WP Rocket збирати нечутливі діагностичні дані з цього сайту?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "Це допоможе нам у майбутньому поліпшити роботу WP Rocket." + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "Яку інформацію ми збираємо?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "Нижче наведено детальний перегляд всіх даних, які WP Rocket збиратиме, якщо надано дозвіл. WP Rocket ніколи не передаватиме будь-які доменні імена або адреси електронної пошти (крім перевірки ліцензії), IP-адреси або сторонні ключі API." + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "Так, дозволити" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "Ні, дякую" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "Дякую!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "Зараз WP Rocket збирає такі дані з вашого веб-сайту:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: кеш очищено." + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: кеш записів очищено." + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: Term кеш очищено." + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: кеш користувачів очищено." + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "Нижчезазначене заплановане завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[1] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[2] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" +msgstr[3] "Нижчезазначені заплановані завдання не було виконано. Причиною можуть бути проблеми в системі СRON, які блокують роботу деяких функцій WP Rocket:" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "Будь ласка, зв'яжіться з вашим хостером, щоб перевірити, чи працює CRON." + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "Зупинити попереднє завантаження" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "Примусова деактивація " + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "Наступний код повинен був бути написаний у цьому файлі:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%sне можна налаштувати автоматично через відсутність дозволів на запис." + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "Проблемний файл/папка: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "Редакції" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "Авто чернетки" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "Видалені записи" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "Спам коментарі" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "Видалені коментарі" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "Транзакції" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "Таблиці" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "Файл налагодження неможливо видалити." + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "Зберегти Зміни" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "Перевірити Ліцензію" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "Невідомо" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "Ліцензія" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "Ключ API" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "Електронна пошта" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "Майстерня" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "Довідка, інфо про аккаунт" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "Мій статус" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket аналітика" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "Я згоден поділитися анонімними даними з командою розробників, для поліпшення WP Rocket. %1$sЯку інформацію ми збираємо?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "Кеш" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "Основні опції кешу" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "Мобільний кеш" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "Прискорити свій сайт для мобільних відвідувачів." + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "Ми виявили, що ви використовуєте плагін, для якого потрібен окремий кеш для мобільних пристроїв, і автоматично включений цей параметр для сумісності." + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "Кеш користувача" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$sКеш користувачів%2$s корисний, коли зміст сайту для користувачів відрізняється від гостьового." + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "Термін дії кешу" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "Закешовані файли, які старіші за Термін дії кешу, буде видалено.
    Включіть %1$sПрелоадінг%2$s, щоб кеш створювався заново автоматично після того, як закінчиться термін його дії." + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "Увімкніть кешування для зареєстрованих користувачів WordPress" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "Увімкнути кешування для мобільних пристроїв" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "Окремі файли кешу для мобільних пристроїв" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "Більшість сучасних тем є адаптивними і повинні працювати без окремого кешу. Активуйте це тільки, якщо ви використовуєте окрему тему або плагін для мобільних пристроїв. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "Вкажіть час, після якого глобальний кеш буде очищено
    (0 = необмежений)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "Скоротіть термін служби до 10 годин або менше, якщо ви помітите, що на сайті періодично виникають проблеми. %1$sЧому?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "Хвилини" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "Години" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "Дні" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "Оптимізація файлів" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "Оптимізуйте CSS & JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s Minification зараз активовано в режимі Autoptimize. Якщо ви хочете використовувати %2$s minification, вимкніть ці параметри у параметрі Autoptimize." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS Файли" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "Файли JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "Зменшення CSS файли" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "Зменшення CSS видаляє пробіли та коментарі, щоб зменшити розмір файлу." + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "Це може зламати речі!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "Якщо ви помітили помилки на своєму веб-сайті після активації цього налаштування, просто деактивуйте його знову, і ваш сайт повернеться до нормального стану." + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "Активувати мінімізацію CSS" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "Об'єднати файли CSS (увімкнути мінімізацію файлів CSS для вибору)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Об'єднати CSS об'єднує всі ваші файли в 1, зменшуючи HTTP-запити. Не рекомендується, якщо ваш сайт використовує HTTP/2. %1$sБольше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "Активувати об`єднати CSS" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "Вкажіть URL-адреси CSS-файлів, які потрібно виключити з мінімізації та об'єднання (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "Оптимізуйте доставку CSS" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "Резервний критичний CSS" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "Забезпечує запасний варіант, якщо автоматично створений критичний шлях CSS є неповним. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "Зменшити файли JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "Зменшити JavaScript видаляє пробіли та коментарі, щоб зменшити розмір файлу." + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "Активувати стиснення JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "Об'єднати файли JavaScript (Увімкнути Мінімізацію файлів JavaScript для вибору)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "Об'єднати файли JavaScript поєднує внутрішні, треті сторони та вбудовані JS, що знижують HTTP-запити. Не рекомендується, якщо ваш сайт використовує HTTP / 2. %1$sБольше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "Активувати об`єднати JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "Вкажіть шаблони вбудованого JavaScript, які будуть виключені з об'єднання (по одному на рядок). %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "Вкажіть URL-адреси файлів JavaScript, які потрібно виключити зі зменшення та об'єднання (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "Примітка: Доменне ім'я буде видалено автоматично. Використовуйте маску (.*).js для виключення всіх JS файлів в заданому шляху." + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "Сторонні модулі: Використовуйте повний шлях або доменне ім'я щоб виключити зовнішні JS. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "Відкладене завантаження JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "Відкладене завантаження JavaScript усуває можливість блокування JS на вашому сайті та покращує час завантаження. %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "Медіафайли" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "Autoptimize" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "LazyLoad" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "Вона може покращити фактичний і сприйнятий час завантаження - зображення, фрейми, та відео буде завантажено лише після того, як вони ввійдуть до вікна перегляду та скоротять кількість запитів HTTP. %1$sБільше інформації %2$s" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "Активуйте цю опцію, якщо ви хочете, щоб WP Rocket виводив зображення WebP у браузерах, які підтримують цей формат. Зверніть увагу, що WP Rocket не може створити WebP зображення для вас. Для їх безпосереднього створення ми рекомендуємо %1$sImagify%2$s. %3$sБільше інформації%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "Увімкнути для зображень" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "Увімкнути iframes і відео" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "Замініть YouTube iframe попереднім зображенням" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "Це може значно поліпшити час завантаження, якщо на сторінці є багато відео YouTube." + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "Презавантаження" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "Оптимізація DNS запитів" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "Попередня вибірка DNS може прискорювати завантаження зовнішніх файлів, особливо в мобільних мережах" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "Активувати Презавантаження" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "URL для кешування" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "Вкажіть зовнішні вузли, які потрібно попередньо завантажувати (не http: один на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "Розширені правила" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "Розширені кеш правила" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "Чутливі сторінки, такі як користувацькі URL-адреси для входу/виходу, повинні бути виключені з кешу." + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Магазин" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    Кошик, оформлення замовлення і кабінет покупця встановлюються в %1$s%2$s%3$s визначаються автоматично, їх вказувати не потрібно." + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "Ніколи не кешувати файли cookie" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "Строки запиту кешу" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$sCache для запитів%2$s дозволяє примусово кешувати певні параметри GET." + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "Вкажіть URL-адреси сторінок або публікацій, які ніколи не повинні кешуватися (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "Частина URL домену буде видалена автоматично.
    Використовуйте символи (. *) Для адреси декількох URL-адрес у заданому шляху." + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "Вкажіть рядки агента користувача, які ніколи не повинні бачити кешовані сторінки (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "Використовуйте символи (. *) Для виявлення частин рядків UA." + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "Вкажіть URL-адреси, які завжди потрібно очищати від кешу, коли ви оновлюєте будь-яку публікацію або сторінку (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "Вкажіть рядки запитів для кешування (по одному на рядок)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "База даних" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "Оптимізуйте, зменшіть розмір" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "Очистка записів" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "Перевірки публікації та чернетки видаляються назавжди. Не використовуйте цей параметр, якщо потрібно зберегти зміни або чернетки." + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "Очищення коментарів" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "Спам та видалені коментарі буде видалено назавжди." + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "Очищення транзакцій" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "Транзакції це тимчасові налаштування, їх можна смело удалять. Вони будуть створені автоматично, якщо потребуються плагину." + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "Очищення бази даних" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "Зменшує накладні витрати на таблиці бази даних" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "%s ревізія у вашій базі даних." +msgstr[1] "%s ревізій у вашій базі даних." +msgstr[2] "%s ревізій у вашій базі даних." +msgstr[3] "%s ревізій у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "%s чернетка у вашій базі даних." +msgstr[1] "%s чернеток у вашій базі даних." +msgstr[2] "%s чернеток у вашій базі даних." +msgstr[3] "%s чернеток у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "%s видалений запис у вашій базі даних." +msgstr[1] "%s видалених записів у вашій базі даних." +msgstr[2] "%s видалених записів у вашій базі даних." +msgstr[3] "%s видалених записів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "%s спамний коментар у вашій базі даних." +msgstr[1] "%s спамних коментарів у вашій базі даних." +msgstr[2] "%s спамних коментарів у вашій базі даних." +msgstr[3] "%s спамних коментарів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "%s видалений коментар у вашій базі даних." +msgstr[1] "%s видалених коментарів у вашій базі даних." +msgstr[2] "%s видалених коментарів у вашій базі даних." +msgstr[3] "%s видалених коментарів у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "Всі перехідні" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "У вашій базі даних %s тимчасові дані." +msgstr[1] "У вашій базі даних %s тимчасових даних." +msgstr[2] "У вашій базі даних %s тимчасових даних." +msgstr[3] "У вашій базі даних %s тимчасових даних." + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "Оптимізувати таблиці" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "%s таблиця, яку можна оптимізувати, у вашій базі даних." +msgstr[1] "%s таблиць, які можна оптимізувати, у вашій базі даних." +msgstr[2] "%s таблиць, які можна оптимізувати, у вашій базі даних." +msgstr[3] "%s таблиць, які можна оптимізувати, у вашій базі даних." + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "Розклад автоматичного очищення" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "Частота" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "Щоденно" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "Щотижня" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "Щомісяця" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "Інтегруйте свій CDN" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "Всі URL(и) статичних файлів (CSS, JS, images) будуть переписані на надані вами CNAME-адреси." + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "Не потрібен для таких послуг, як Cloudflare і Sucuri. Перегляньте наші доступні %1$sДодатки%2$s." + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "Увімкнути мережу доставки вмісту" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(и)" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "Укажіть нижче CNAME(и)" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "Вкажіть URL-адреси файлів, які не можна подавати за допомогою CDN (по одному на рядок)." + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "Частина URL домену буде видалена автоматично.
    Використовуйте символи (. *) Для виключення всіх файлів певного типу файлів, розташованих на певному шляху." + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "Серцебиття" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "Керуйте WordPress Heartbeat API" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "Зменшення або вимкнення активності API Heartbeat може допомогти зберегти деякі ресурси вашого сервера." + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "Зменшити або відключити Серцебиття активність" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "Зменшення активності змінить частоту серцевих скорочень з одного удару кожну хвилину на один удар кожні 2 хвилини." + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "Вимкнення функції Heartbeat цілком може призвести до порушення плагінів і тем за допомогою цього API." + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "Не обмежується" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "Знизити активність" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "Відключити" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "Контроль серцебиття" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "Поведінка в бекенд" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "Поведінка в редакторі записів" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "Поведінка в фронтенд" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "Додатки" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "Додайте інші функції" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "Швидкі Rocket Додатки" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "Додатки з одним натисканням - це функції, що розширюють доступні опції без необхідної конфігурації. Щоб увімкнути цей екран, увімкніть \"on\" параметр." + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "Rocket Надбудови" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "Ракетні Додатки доповнюють додаткові можливості." + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "Якщо на вашому сервері запускається Varnish, необхідно активувати цей додаток." + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "Varnish кеш очищується разом з іншим кешем, щоб підтримувати актуальність контенту.
    %1$sДетальніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "Інтегруйте свій обліковий запис Cloudflare з цим додатком." + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "Надайте електронну пошту облікового запису, глобальний ключ API та домен для використання таких параметрів, як очищення кешу Cloudflare та забезпечення оптимальних параметрів за допомогою WP Rocket." + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Очистіть кеш Sucuri, коли WP Rocket кеш буде очищено." + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "Надайте ключ API, щоб очистити кеш Sucuri, коли кеш WP Rocket очищено." + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "Sucuri" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "Синхронізуйте кеш Sucuri з цим додатком." + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr "Cloudflare облікові дані" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "Cloudflare опції" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "Глобальний API ключ:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "Знайдіть ваш API ключ" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "Email облікового запису" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "ID Зони" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "Режим розробки" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "Тимчасово активуйте режим розробки на своєму веб-сайті. Ця настройка автоматично вимкнеться через 3 години. %1$sДокладніше%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "Оптимальні опції" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "Автоматично покращує вашу конфігурацію Cloudflare для швидкості, якості продуктивності та сумісності." + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "Відносний протокол" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "Потрібно використовувати тільки Cloudflare's flexible SSL. URL адреси статичних файлів (CSS, JS, зображення) будуть переписані для використання // замість http:// або https://." + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "Sucuri облікові дані" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "Знайдіть ваш API ключ" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "Завантажити налаштування файлу та імпортувати" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "Додаток Sucuri: Ключ API для брандмауера Sucuri повинен мати формат {32 characters}/{32 characters} ." + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "Налаштування збережено." + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "Щоб правильно функціонувати,%1$s %2$s вимагає принаймні:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s Щоб скористатися цією версією WP Rocket, зверніться до веб-хосту, як оновити ваш сервер до PHP %1$s або вище." + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress %1$s. Щоб використовувати цю версію WP Rocket, оновіть WordPress версії%1$s або вище." + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "Якщо ви не можете оновити, можна повернутись до попередньої версії за допомогою кнопки нижче." + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "Перевстановіть версію %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "Файл журналу не існує." + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "Файл журналу неможливо прочитати." + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "Журнали не зберігаються у файл." + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "Критичний CSS для %1$s не створено. Помилка:%2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr "Створено критичний CSS для %s." + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "Строк збереження кешу WP Rocket" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP кеш деактивовано фільтром." + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[1] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[2] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" +msgstr[3] "Ви використовуєте %1$s для конвертації зображень в WebP формат. Якщо ви хочете, щоб WP Rocket забезпечував їх, активуйте цю опцію. %2$sДетальніше%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[1] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[2] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" +msgstr[3] "Ви використовуєте %1$s для конвертації зображень в WebP формат. WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень. %2$sДетальніше%3$s" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket створить окремий кеш, щоб забезпечити використання WebP зображень." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "Зараз іде генерація Критичного CSS." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "Перейдіть на сторнінку %1$sНалаштування WP Rocket %2$s, щоб слідкувати за прогресом. " + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "Виконується створення критичних CSS: %1$d з %2$d типів сторінок уже створено. (Оновити сторінку, щоб побачити процес)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Створення критичних CSS завершено для %1$d з %2$d типів сторінок." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "Критичне CSS генерування зіткнулося з однією або декількома помилками." + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "Вивчити більше." + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "щотижня" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "Не вдалося виявити наступну вимогу вашої теми: закриваємо %1$s." +msgstr[1] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." +msgstr[2] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." +msgstr[3] "Не вдалося виявити наступні вимоги вашої теми: закриваємо %1$s." + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "Прочитайте %1$sдокументацію%2$s для подальших вказівок." + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "щомісячно" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "Процес оптимізації баз даних працює" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "Процес оптимізації баз даних завершено. Все вже було оптимізовано!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "Процес оптимізації баз даних завершено. Список оптимізованих елементів нижче:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s оптимізовано." + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "Інструменти" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "Імпорт, Експорт, Відкат" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "Оптимізація зображень" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "Стиснути зображення" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "Підручники" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "Початок роботи та допоміжні відео" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "Будь ласка, деактивуйте таку %s опцію, яка конфліктує з функціоналом WP Rocket:" +msgstr[1] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" +msgstr[2] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" +msgstr[3] "Будь ласка, деактивуйте такі %s опції, які конфліктують з функціоналом WP Rocket:" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s %2$sвідключення emoji%3$s конфліктує з функцією WP Rocket %2$sвідключення emoji%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "%1$s %2$sGZIP-компресія%3$s конфліктує з WP Rocket %2$sGZIP-компресією%3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "%1$s %2$s браузерне кешування %3$s конфліктує з WP Rocket %2$s браузерним кешуванням %3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s %2$s кешування сторінок %3$s конфліктує з WP Rocket %2$s кешуванням сторінок %3$s" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "%1$s %2$s оптимізація ресурсів %3$s конфліктує з Оптимізацією файлів %2$s WP Rocket %3$s" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "Помилка видалення кешу Sucuri: %s" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "Кеш Sucuri очищається. Зверніть увагу, що для заповнення може знадобитися до двох хвилин." + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "Ключ API брандмауера Sucuri не знайдено." + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "Ключ API брандмауера Sucuri недійсний." + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "Помилка під час звернення до API брандмауера Sucuri. Повідомлення про помилку було: %s" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Не вдалося отримати відповідь від API брандмауера Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "Отримано недійсний відповідь від API брандмауера Sucuri." + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "API брандмауера Sucuri повернув невідома помилка." + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "API файєрволлу Sucuri видав таку помилку: %s" +msgstr[1] "API файєрволлу Sucuri видав такі помилки: %s" +msgstr[2] "API файєрволлу Sucuri видав такі помилки: %s" +msgstr[3] "API файєрволлу Sucuri видав такі помилки: %s" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "Виникла несподівана помилка. Щось може бути неправильним з WP-Rocket.me або конфігурацією цього сервера. Якщо у вас виникнуть проблеми, зверніться до служби підтримки ." + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "Всі мови" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "Очистити цей запис" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "Очистіть цю URL-адресу" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "Перестворити критичні CSS" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "Purge Sucuri кеш" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "Документація" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "Не вдалося оновити OPcache кеш." + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache успішно оновлено" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: кеш Cloudflare успішно очищено." + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "Активувати Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "Установіть Imagify безкоштовно" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "Прискорити ваш сайт і збільшити ваш SEO за рахунок зменшення розмірів файлів зображень без втрати якості за допомогою Imagify." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "Детальніше" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "Попереднє завантаження мапи сайту: %d сторінок було закешовано." + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "Попереднє завантаження Sitemap: попередньо закешовано %d сторінок. (оновити, щоб побачити прогрес)" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "Виберіть домен зі списку" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "Домен недоступний у вашому Cloudflare записі" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "JS файли з Відкладеного завантаження JavaScript" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "Додати URL" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "Перш ніж ви зможете завантажити файл імпорту, необхідно буде виправити наступну помилку:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "Виберіть файл з вашого пк (максимальний розмір: %s)" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "Ваші облікові дані Cloudflare дійсні." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "Ваші облікові дані Cloudflare недійсні!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "Зберегти та оптимізувати" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "Оптимізувати" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "Примітка:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "Продуктивність поради:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "Виявлено сторонній плагін:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "Увага:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "Завантажити налаштування" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "Замінити ім'я хосту сайту на:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "зарезервовано для" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "Усі файли" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "Зображення" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "Додати CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "Переглянути відео" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "Основний" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "Статичні файли" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "Розширений" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s треба наявності версії PHP не нижче %3$s Щоб скористатися цією функцією, зверніться до хостера з проханням підвищити версію PHP до %3$s і вище. В іншому випадку, використовуйте стару версію плагіна." + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "Здається, виникла проблема з валідацією вашої ліцензії. Помилку зазначено нижче." +msgstr[1] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." +msgstr[2] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." +msgstr[3] "Здається, виникла проблема з валідацією вашої ліцензії. Помилки зазначені нижче." + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "Тип сервера:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "Номер версії PHP:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "Номер версії WordPress:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress мультисайт:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "Поточна тема:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "Мова поточного сайту:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "Активні плагіни:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "Імена плагінів всіх активних плагінів" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "Анонімні WP Rocket опції:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "Які настройки WP Rocket є активні" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "Curl деактивовано на вашому сервері. Будь ласка, попросіть вашого хостера ввімкнути його. Це потрібно, щоб Додаток Cloudflare працював коректно." + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Імейл, зареєстрований в Cloudflare, API key та Zone ID не вказані. Читайте %1$sдокументацію%2$s для подальших інструкцій." + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Не вказано Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Невірний імейл або API ключ Cloudflare." + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Невірне значення Cloudflare Zone ID." + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "Здається, що ваш домен не налаштовано у Cloudflare." + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "Імейл, зареєстрований в Cloudflare, API key та Zone ID не вказані. Читайте %1$sдокументацію%2$s для подальших інструкцій." + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Не вдалося підключитися до Cloudflare" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "Помилка перевірки ліцензії. Наш сервер не може вирішити запит з вашого веб-сайту." + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "Спробуйте натиснути%1$sSave Changes %2$s нижче. Якщо помилка не зникає, перейдіть %3$sв цю інструкцію%4$s." + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "Помилка перевірки ліцензії. Можливо, ви використовуєте нульову версію плагіна. Будь ласка, виконайте такі дії:" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "Увійдіть у свій WP Rocket%1$sаккаунт%2$s" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "Завантажте zip файл" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "Перевстановити" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "Якщо у вас немає облікового запису WP Rocket, будь ласка,%1$sкупіть ліцензію%2$s." + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "Помилка перевірки ліцензії. Цей обліковий запис користувача не існує в нашій базі даних." + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "Щоб вирішити, зверніться до служби підтримки." + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "Дивіться %1$sце керівництво%2$s для отримання додаткової інформації." + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "Ваша ліцензія недійсна." + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "Переконайтеся, що у вас є активна %1$sWP Rocket ліцензія%2$s." + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "Ви додали стільки сайтів, скільки дозволяє поточна ліцензія." + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "Оновлення %1$sаккаунту%2$s або %3$sтрансфер ліцензії%2$s до цього домену." + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "Цей веб-сайт заборонений." + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "Будь ласка,%1$sзверніться в службу підтримки%2$s." + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "Цей ліцензійний ключ не розпізнається." + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "Якщо проблема не зникне,%1$sзверніться до служби підтримки%2$s." + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "Помилка перевірки ліцензії: %s" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "Плагін встановлений успішно." + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "На жаль, вам не дозволяється встановлювати плагіни на цьому сайті." + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "На жаль, вам не дозволено це робити." + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "Не вдалося встановити плагін." + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "Повернутися назад" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "Скасувати" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "Очистити кеш після" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "Імпорт опції" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "Стан Додатку" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "Змінити параметри" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare Кеш" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "Очищає кешовані ресурси для вашого веб-сайту. %s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "Дізнатись більше" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "Видалити всі файли Cloudflare кешу" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "Вітаю!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket тепер активована і вже працює для вас." + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "Ваш веб-сайт зараз завантажується швидше!" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "Ми також активуємо варіанти, які надають негайні вигоди для вашого веб-сайту." + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "Перейдіть до опцій для подальшої оптимізації свого сайту!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "Мій аккаунт" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "Оновити інфо" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "Дата закінчення" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "Переглянути Мій аккаунт" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "Швидкі дії" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "Видалити всі кешовані файли" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "Перестворити критичні CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "Часті Питання" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "Ще не можете знайти рішення?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "Надішліть тікет і отримайте допомогу від наших дружніх і обізнаних Rocketeers." + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "Запитайте підтримку" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "Резервує вашу базу даних перед тим, як запустити очищення!" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "Після того, як оптимізація бази даних була виконана, її неможливо скасувати." + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s створено%3$sIMAGIFY%4$s %1$sдля найкращої оптимізації зображень.%2$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "Стисніть зображення, щоб зробити ваш веб-сайт швидшим, зберігаючи якість зображення." + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "Більше про Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify сторінка плагіна" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify вебсайт" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Огляд плагінів Стиснення зображень" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "Встановити Imagify" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket не зміг автоматично перевірити вашу ліцензію." + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "Видалити всі файли Sucuri кешу" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "Розмір файлів: %1$s. Кількість записів: %2$s." + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "%1$sЗавантажити файл%2$s." + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "%1$sВидалити файл%2$s." + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "Експортувати налаштування" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "Завантажте резервну копію Ваших налаштувань" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "Завантажити налаштування" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "Відкат" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "Чи є проблема з версією %s на вашому веб-сайті?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "Перевстановити версію %s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "Режим налагодження" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "Створіть файл журналу налагодження." + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "Розпочнемо" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "Розпочнемо з WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "Пошук найкращих налаштувань для Вашого сайту" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "Як перевірити, чи WP Rocket кешує ваш сайт" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "Як виміряти швидкість вашого сайту" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "Вирішення проблем з відображенням через Оптимізацію файлів" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "Як знайти правильний JavaScript для виключення" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "Як зовнішній контент уповільнює Ваш сайт" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "Як працює Предзавантаження" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "Налаштувати Додаток Cloudflare" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket Налаштування" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "версія %s" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "Показати сайдбар" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket ніколи не буде передавати будь-які доменні імена або адреси електронної пошти (крім перевірки ліцензії), IP-адреси або ключі API сторонніх виробників." + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "Активувати Rocket analytics" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "Це чудова відправна точка для виправлення деяких найбільш поширених проблем." + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "Прочитайте документацію" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "Що WP Rocket для вас робить одразу після активації:" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "Як правильно виміряти час завантаження веб-сайту" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "Перегляньте наш підручник і дізнайтеся, як виміряти швидкість вашого сайту." + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "Прочитайте наш гід" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "Читати далі" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "Ви не активували кеш для зареєстрованих користувачів." + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "Використовуйте приватний веб-переглядач, щоб перевірити швидкість і візуальність вашої веб-сторінки." + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "Потрібна допомога?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket-zh_CN.mo b/languages/rocket-zh_CN.mo new file mode 100644 index 0000000..3be5f0a Binary files /dev/null and b/languages/rocket-zh_CN.mo differ diff --git a/languages/rocket-zh_CN.po b/languages/rocket-zh_CN.po new file mode 100644 index 0000000..e3e42b2 --- /dev/null +++ b/languages/rocket-zh_CN.po @@ -0,0 +1,4069 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +# Translators: +# Romain • WP Rocket , 2019 +# Kurumi Tokisaki, 2021 +# 码农志 , 2021 +# Tony Tong , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.14.4\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"POT-Creation-Date: 2023-08-07 15:45-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Last-Translator: Tony Tong , 2023\n" +"Language-Team: Chinese (China) (https://app.transifex.com/wp-media/teams/18133/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Domain: rocket\n" +"X-Generator: WP-CLI 2.7.1\n" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "" +"Your site is hosted on %s, we have enabled Varnish auto-purge for " +"compatibility." +msgstr "您的网站托管在 %s。为确保兼容性, 我们已为您启用了Varnish自动缓存刷新功能。" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "Cloudflare 未响应,请稍后重试。" + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "Cloudflare 出现未知错误" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "Cloudflare 未返回结果" + +#: inc/Addon/Cloudflare/API/Client.php:194 inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "Cloudflare 邮箱 或 API key 不正确哦。" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "查阅 %1$s 文档 %2$s 获取帮助。" + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 inc/deprecated/3.5.php:208 +msgid "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" +"https://docs.wp-rocket.me/article/18-using-wp-rocket-with-" +"cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" + +#: inc/Addon/Cloudflare/API/Client.php:208 inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "Cloudflare Zone ID 不正确。" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "" +"Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s " +"for further guidance." +msgstr "Cloudflare 邮箱 和/或 API Key 未设置。更多信息请查阅%1$s文档%2$s。" + +#: inc/Addon/Cloudflare/Cloudflare.php:71 inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "Cloudflare Zone ID 缺失。" + +#: inc/Addon/Cloudflare/Cloudflare.php:104 inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "貌似Cloudflare里您的域名未正确设置。" + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "天" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "秒" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "分钟" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "小时" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return +#. message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "%1$sWP Rocket:%2$s %3$s" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "%1$sWP Rocket:%2$s Cloudflare 缓存已成功清除。" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "Cloudfare 开发者模式错误:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "Cloudfare 开发者模式 %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "Cloudfare 缓存级别错误:%s" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "标准" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "Cloudfare 缓存级别已设置为:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "Cloudflare 压缩错误:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "Cloudflare 压缩:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "Cloudflare 火箭加载错误:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "Cloudflare 火箭加载 %s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "Cloudflare 浏览器缓存错误:%s" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "Cloudflare 浏览器缓存已被设为 %s" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "%1$sWP Rocket:%2$s 已为 Cloudflare 启用优化设置:" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "" +"%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to " +"previous settings:" +msgstr "%1$sWP Rocket:%2$s Cloudflare 优化设置已禁用, 已回滚至上个版本的设置:" + +#: inc/Addon/Cloudflare/Subscriber.php:661 inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "WP Rocket:" + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "Sucuri 缓存清理错误:%s" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "" +"The Sucuri cache is being cleared. Note that it may take up to two minutes " +"for it to be fully flushed." +msgstr "正在清除 Sucuri 缓存。 请注意,缓存完全刷新可能需要两分钟。" + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "未找到 Sucuri 防火墙 API key。" + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "Sucuri 防火墙 API key无效。" + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "连接 Sucuri 防火墙API 时出错。错误信息:%s" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "Sucuri 防火墙 API未响应。" + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "从Sucuri 防火墙 API 中获得了一个无效响应。" + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "Sucuri 防火墙 API 返回未知错误。" + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "Sucuri 防火墙 API 返回以下错误:%s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgid_plural "" +"You are using %1$s to serve WebP images so you do not need to enable this " +"option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP " +"for you instead, please disable WebP display in %1$s." +msgstr[0] "" +"您正在使用 %1$s的WebP 图片相关功能,因此无需开启该选项。%2$s更多信息%3$s %4$s如您想换用 WP Rocket, " +"请转到%1$s禁用相关选项。" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "WebP 缓存被过滤器禁用。" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. If you want WP Rocket to serve" +" them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "您正在使用 %1$s 将图片转换成WebP格式。如您想换用 WP Rocket,请启用该选项。%2$s更多信息%3$s" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing +#. tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "" +"You are using %1$s to convert images to WebP. WP Rocket will create separate" +" cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "您正在使用%1$s将图片转换成WebP格式。WP Rocket将为您的WebP 图片生成单独的缓存文件。%2$s更多信息%3$s" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "" +"%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t " +"already have WebP images on your site consider using %3$sImagify%2$s or " +"another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP " +"do not enable this option." +msgstr "" +"%5$s未检测到兼容 WebP 插件 !%6$s%4$s如果您的网站内没有WebP图片可考虑使用 %3$sImagify%2$s 或其他支持的插件. " +"%1$s更多信息%2$s %4$s如果您没有使用 WebP, 请勿开启该选项." + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "WP Rocket 将为您的 WebP 图片创建单独的缓存文件。" + +#: inc/admin/admin.php:18 inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "支持" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "文档" + +#: inc/admin/admin.php:22 inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "常见问题" + +#: inc/admin/admin.php:24 inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "设置" + +#: inc/admin/admin.php:96 inc/admin/admin.php:118 inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:133 +msgid "Clear this cache" +msgstr "清除该缓存" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "设置导入失败:无权限。" + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "导入配置失败:未上传文件。" + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "导入配置失败:文件名无效。" + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "导入配置失败:文件类型无效。" + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "导入配置失败:" + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "导入配置失败: 文件内容有误。" + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "已导入并保存配置。" + +#: inc/admin/options.php:84 inc/Engine/Admin/Settings/Page.php:708 +msgid "Excluded CSS Files" +msgstr "排除CSS" + +#: inc/admin/options.php:85 inc/Engine/Admin/Settings/Page.php:862 +msgid "Excluded Inline JavaScript" +msgstr "排除内联的JavaScript" + +#: inc/admin/options.php:86 inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +msgid "Excluded JavaScript Files" +msgstr "排除JavaScript文件" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "延迟加载 JavaScript 文件" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "已排除的 延迟 JavaScript 文件" + +#: inc/admin/options.php:89 inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "永不缓存(URL):" + +#: inc/admin/options.php:90 inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "永不缓存(User Agents):" + +#: inc/admin/options.php:91 inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "总是清除以下URL缓存:" + +#: inc/admin/options.php:92 inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "从CDN中排除文件" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "%1$s: %2$s" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "以下模式无效且已被删除:" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "更多信息" + +#: inc/admin/ui/meta-boxes.php:37 inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "清除缓存" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "WP Rocket 设置" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "永不缓存此页面" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "在当前文章中启用这些选项:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "图片延迟加载" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "框架 / 视频 延迟加载" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "压缩 / 合并 CSS" + +#: inc/admin/ui/meta-boxes.php:106 inc/Engine/Admin/Settings/Page.php:760 +msgid "Remove Unused CSS" +msgstr "移除未使用的 CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "压缩 / 合并 JS" + +#: inc/admin/ui/meta-boxes.php:108 inc/deprecated/deprecated.php:1773 +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:109 inc/Engine/Admin/Settings/Page.php:789 +msgid "Load CSS asynchronously" +msgstr "异步加载CSS文件" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "JS 延迟加载" + +#: inc/admin/ui/meta-boxes.php:111 inc/Engine/Admin/Settings/Page.php:931 +msgid "Delay JavaScript execution" +msgstr "JavaScript 延迟执行" + +#. translators: %s is the name of the option. +#: inc/admin/ui/meta-boxes.php:117 +msgid "Activate first the %s option." +msgstr "请先启用 %s 选项。" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/admin/ui/meta-boxes.php:133 +msgid "" +"%1$sNote:%2$s None of these options will be applied if this post has been " +"excluded from cache in the global cache settings." +msgstr "%1$s注意:%2$s如该文章已在全局缓存设置中被设为排除,这些选项将不会生效。" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s 未被禁用:无写入权限。
    \n" +"将 %2$s 设为可写并重试,或立即强制禁用:" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "" +"%s: One or more plugins have been enabled or disabled, " +"clear the cache if they affect the front end of your site." +msgstr "%s:监测到插件被启用/禁用,如插件影响网站前台页面,请清除缓存。" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "" +"%s: The following plugins are not compatible with this " +"plugin and may cause unexpected results:" +msgstr "%s:下列插件与WP Rocket不兼容,可能导致出错:" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "停用" + +#: inc/admin/ui/notices.php:189 +msgid "" +"WP Rocket Footer JS is not an official add-on. It prevents some options in " +"WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "WP Rocket Footer JS 为非官方插件,会阻碍 WP Rocket 中某些选项的正常工作。如有问题请禁用哦。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "" +"Endurance Cache is currently enabled, which will conflict with WP Rocket " +"Cache. Please set the Endurance Cache cache level to Off (Level 0) on the " +"%1$sSettings > General%2$s page to prevent any issues." +msgstr "" +"Endurance Cache目前已启用,这将与WP Rocket Cache冲突。请在%1$s设置>一般%2$s页面设置Endurance " +"Cache的缓存级别为关闭(Level 0)以防止出现任何问题。" + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = +#. closing link +#: inc/admin/ui/notices.php:250 +msgid "" +"%1$s: A custom permalink structure is required for the plugin to work " +"properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s:必须先启用固定链接,插件才能正常工作。%2$s进入固定链接设置%3$s" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "" +"%s could not modify the .htaccess file due to missing writing permissions." +msgstr "%s 无法修改 .htaccess 文件:无写入权限。" + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "故障解决:%1$s如何将系统文件设为可写%2$s" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL +#. if applicable +#: inc/admin/ui/notices.php:305 inc/admin/ui/notices.php:790 +msgid "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-" +"config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:311 +msgid "" +"Don’t worry, WP Rocket’s page caching and settings will still function " +"correctly." +msgstr "不用担心,WP Rocket 的页面缓存和设置仍将正常工作。" + +#: inc/admin/ui/notices.php:311 +msgid "" +"For optimal performance, adding the following lines into your .htaccess is " +"recommended (not required):" +msgstr "为了优化性能,建议添加下列代码到您的 .htaccess 文件(非必须):" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = +#. closing link +#: inc/admin/ui/notices.php:458 +msgid "" +"%1$s is good to go! %2$sTest your load time%4$s, or visit your " +"%3$ssettings%4$s." +msgstr "%1$s准备好啦!%2$s测试您的加载时间%4$s,或访问您的%3$s设置%4$s。" + +#: inc/admin/ui/notices.php:499 +msgid "" +"Would you allow WP Rocket to collect non-sensitive diagnostic data from this" +" website?" +msgstr "您是否愿意 WP Rocket 收集此网站的脱敏诊断数据?" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "这将有助于将来我们为您持续改进 WP Rocket 。" + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "我们收集何种信息?" + +#: inc/admin/ui/notices.php:511 +msgid "" +"Below is a detailed view of all data WP Rocket will collect if granted " +"permission. WP Rocket will never transmit any domain names or email " +"addresses (except for license validation), IP addresses, or third-party API " +"keys." +msgstr "" +"以下详细列出了 WP Rocket 在获得许可后将收集的所有数据。WP Rocket 绝不会传输任何域名、邮箱(授权验证除外),IP地址或第三方API " +"key。" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "是,允许" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "不,谢谢" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "谢谢!" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket 现在从您的网站收集这些指标:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "%s:缓存已清除。" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "%s:文章缓存已清除。" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "%s:分类缓存已清除。" + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "%s:用户缓存已清除。" + +#: inc/admin/ui/notices.php:662 inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "忽略通知" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "清理已使用的 CSS" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "停止预缓存" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "开启 移除未使用CSS 功能" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "开启 “移动端单独缓存” 功能" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "强制停用 " + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "下列代码应写入到此文件:" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s 无法完成配置:无写入权限。" + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "受影响的文件/文件夹:%s" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "这个调试文件无法被删除。" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "为确保正常工作,%1$s %2$s 需要至少:" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "" +"PHP %1$s. To use this WP Rocket version, please ask your web host how to " +"upgrade your server to PHP %1$s or higher." +msgstr "PHP %1$s。要使用当前 WP Rocket 版本,请联系您的主机服务商将 PHP 升级至 %1$s 或更高版本。" + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "" +"WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to " +"version %1$s or higher." +msgstr "WordPress %1$s. 要使用当前 WP Rocket 版本,请升级 WordPress 至 %1$s 或更高版本。" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "" +"If you are not able to upgrade, you can rollback to the previous version by " +"using the button below." +msgstr "如无法升级,您可使用下方按钮还原至旧版本。" + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "重新安装 %s 版本" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "%s回滚更新" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "日志文件不存在。" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "日志文件不可读。" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "日志未保存到文件中。" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "" +"Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "" +"Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "检测失败:关闭%1$s。" + +#. translators: Documentation exists in EN, FR; use localized URL if +#. applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" +"https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-" +"working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" + +#: inc/common/admin-bar.php:84 inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "清空并预缓存" + +#: inc/common/admin-bar.php:135 inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "所有语言" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "清除此文章" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "清除此URL" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "清除 Sucuri 缓存" + +#: inc/common/admin-bar.php:229 views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "清除 RocketCDN 缓存" + +#: inc/common/admin-bar.php:242 views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "文档" + +#: inc/deprecated/3.2.php:52 views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "启用 Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "免费安装 Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "" +"Speed up your website and boost your SEO by reducing image file sizes " +"without losing quality with Imagify." +msgstr "在不损失质量的前提下,尽可能减小图片文件体积以加速网站和改善SEO。" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "更多详情" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "Sitemap预缓存:已预缓存 %d 个页面。" + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "" +"Sitemap preload: %d uncached pages have now been preloaded. (refresh to see " +"progress)" +msgstr "Sitemap预缓存:已预缓存 %d 个未缓存页面。(刷新以查看进度)" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "" +"An unexpected error occurred. Something may be wrong with WP-Rocket.me or " +"this server’s configuration. If you continue to have problems, contact support." +msgstr "出现未知错误。WP-Rocket.me 或当前系统配置有问题。如果持续出现这些问题,请联系客服。" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "从列表选择域名" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "您的Cloudflare账户中未找到可用域名" + +#: inc/deprecated/3.5.php:71 inc/deprecated/3.5.php:195 +msgid "" +"Curl is disabled on your server. Please ask your host to enable it. This is " +"required for the Cloudflare Add-on to work correctly." +msgstr "Curl已被禁用。请联系主机服务商开启该功能,否则Cloudflare扩展无法正常工作哦。" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "" +"Cloudflare email, API key and Zone ID are not set. Read the " +"%1$sdocumentation%2$s for further guidance." +msgstr "Cloudflare 邮箱、API key 和 Zone ID 未设置。阅读%1$s文档%2$s 可获取更多信息。" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "" +"Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for" +" further guidance." +msgstr "Cloudflare 邮箱、API key 未设置。阅读%1$s文档%2$s可获取更多信息。" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "Cloudflare连接失败" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "WP Rocket: %s" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "WP Rocket: 成功刷新 Cloudflare 缓存。" + +#: inc/deprecated/3.5.php:858 inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "" +"The following scheduled event failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgid_plural "" +"The following scheduled events failed to run. This may indicate the CRON " +"system is not running properly, which can prevent some WP Rocket features " +"from working as intended:" +msgstr[0] "以下调度的事件运行失败。这可能是CRON系统运行不正常,导致它可能会阻止某些WP Rocket功能按预期工作:" + +#: inc/deprecated/3.5.php:867 inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "请检查您的主机以确认 CRON (定时计划) 是否正常工作。" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "OPcache 清除失败。" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "OPcache 成功清除。" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML 网站地图" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 inc/deprecated/3.12.php:342 +msgid "" +"We automatically detected the sitemap generated by the %s plugin. You can " +"check the option to preload it." +msgstr "已自动监测到 %s 插件生成的sitemap。 您可查看相关选项来预缓存。" + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "%1$s返回 WP Rocket %2$s或 %3$s转到插件页%2$s" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML 网站地图" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "Rank Math XML 网站地图" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "SEOPress XML sitemap" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "The SEO Framework XML 网站地图" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML 网站地图" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "从Jetpack插件预缓存网站地图" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "异步加载JS文件" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "添加URL" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:452 +msgid "Settings saved." +msgstr "设置已保存。" + +#: inc/deprecated/deprecated.php:1277 views/settings/fields/import-form.php:22 +msgid "" +"Before you can upload your import file, you will need to fix the following " +"error:" +msgstr "在上传配置文件前,你必须先修复以下错误:" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "从您的电脑选择文件(≤ %s)" + +#: inc/deprecated/deprecated.php:1294 inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "上传文件并导入配置" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "您的Cloudflare授权已验证。" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "您的Cloudflare授权无效!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "保存并优化" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "优化" + +#: inc/deprecated/deprecated.php:1464 inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "注意:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "性能优化小窍门:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "检测到第三方功能:" + +#: inc/deprecated/deprecated.php:1488 inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "警告:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "下载配置" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "将站点主机名重设为:" + +#: inc/deprecated/deprecated.php:1550 inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "套用到" + +#: inc/deprecated/deprecated.php:1552 inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "所有文件" + +#: inc/deprecated/deprecated.php:1564 inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "图片" + +#: inc/deprecated/deprecated.php:1635 views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "添加" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "观看视频" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "基础设置" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "静态文件" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "高级" + +#: inc/deprecated/deprecated.php:1775 inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "数据库" + +#: inc/deprecated/deprecated.php:1776 inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "预缓存" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "工具" + +#: inc/deprecated/deprecated.php:1789 inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "授权" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version +#. required. +#: inc/deprecated/deprecated.php:1944 +msgid "" +"%1$s %2$s requires at least PHP %3$s to function properly. To use this " +"version, please ask your web host how to upgrade your server to PHP %3$s or " +"higher. If you are not able to upgrade, you can rollback to the previous " +"version by using the button below." +msgstr "" +"%1$s %2$s 需要PHP %3$s 以上版本才能正常运行。要使用该版本,请联系您的主机服务商升级PHP至 %3$s " +"或更高版本。如无法升级,您可使用下方按钮还原至旧版本。" + +#. translators: 1: PHP class name, 2: version number, 3: replacement class +#. name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "" +"The called class %1$s is deprecated since version %2$s! Use" +" %3$s instead." +msgstr "从版本%2$s开始,被调用的类%1$s已弃用!请使用%3$s替代。" + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "" +"The called class %1$s is deprecated since version %2$s!" +msgstr "从版本%2$s开始,调用类%1$s已弃用。" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "每周" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "修订版本" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "自动草稿" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "回收站文章" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "垃圾评论" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "回收站评论" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "临时数据" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "表" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "每月" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "数据库优化正在运行" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "" +"Database optimization process is complete. Everything was already optimized!" +msgstr "数据库优化完成。已为您优化所有数据!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "" +"Database optimization process is complete. List of optimized items below:" +msgstr "数据库优化完成。优化项列表如下:" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s 已优化。" + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:158 +msgid "" +"%1$sWP Rocket:%2$s We detected that the website domain has changed. The " +"configuration files must be regenerated for the page cache and all other " +"optimizations to work as intended. %3$sLearn More%4$s" +msgstr "%1$sWP Rocket:%2$s 检测到域名变更。请重新生成设置文件,以确保页面缓存和所有其他优化正常工作。 %3$s了解更多%4$s" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:186 +msgid "Regenerate WP Rocket configuration files now" +msgstr "立即重新生成 WP Rocket 设置文件" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "保存更改" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "验证授权" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "不可用" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API key" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "邮箱" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "仪表盘" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "获取帮助、账户信息" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "我的状态" + +#: inc/Engine/Admin/Settings/Page.php:430 views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket 分析" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "" +"I agree to share anonymous data with the development team to help improve WP" +" Rocket. %1$sWhat info will we collect?%2$s" +msgstr "我同意向开发团队分享匿名数据以帮助改进 WP Rocket。%1$s我们搜集何种信息?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "缓存" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "基础缓存选项" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "移动端缓存" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "为您网站的移动端访客加速。" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "" +"We detected you use a plugin that requires a separate cache for mobile, and " +"automatically enabled this option for compatibility." +msgstr "我们监测到您正在使用其他的移动端缓存插件,并已自动启用该选项以确保兼容性。" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "用户端缓存" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "" +"%1$sUser cache%2$s is great when you have user-specific or restricted " +"content on your website." +msgstr "%1$s用户端缓存%2$s适用于您的网站有些内容仅指定用户才能查看或有限制内容时。" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "缓存有效期" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "" +"Cache files older than the specified lifespan will be deleted.
    Enable " +"%1$spreloading%2$s for the cache to be rebuilt automatically after lifespan " +"expiration." +msgstr "指定生命周期外的缓存文件将被删除。
    启用 %1$s预缓存%2$s 功能,缓存将在过期时自动重建。" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "为已登录的 WordPress 用户启用缓存" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "启用" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "移动端单独缓存" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "" +"Most modern themes are responsive and should work without a separate cache. " +"Enable this only if you have a dedicated mobile theme or plugin. %1$sMore " +"info%2$s" +msgstr "现在大部分主题都是响应式的,并不需要单独缓存。只有当你正在使用移动端专用的主题或插件时才建议开启该功能。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "" +"Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "指定全局缓存刷新间隔
    (0 = 无限制)" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "" +"Reduce lifespan to 10 hours or less if you notice issues that seem to appear" +" periodically. %1$sWhy?%2$s" +msgstr "如您注意到某些问题周期性出现,请将时间间隔改为10小时或更短。%1$s为什么?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "小时" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "天" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "文件优化" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "优化 CSS 和 JS" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP +#. Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "" +"%1$s Minification is currently activated in Autoptimize. If" +" you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "自动优化中已启用%1$s压缩。 如您想使用 %2$s 的压缩功能,请禁用自动优化中的相关选项。" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS 文件" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript 文件" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "" +"If you have problems after activating this option, copy and paste the " +"default exclusions to quickly resolve issues:" +msgstr "如果开启该选项后遇到问题, 可尝试复制粘贴默认的排除设置来快速解决。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "" +"Also, please check our %1$sdocumentation%2$s for a list of compatibility " +"exclusions." +msgstr "同时,请参考 %1$s参考文档%2$s中的兼容排除项列表。" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "" +"Internal scripts are excluded by default to prevent issues. Remove them to " +"take full advantage of this option." +msgstr "默认已经排除了内部脚本已避免出错,您可视情况删除。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "" +"If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "如果遇到问题, 请尝试还原至%1$s默认排除项%2$s" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "压缩 CSS 文件" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "删除空格和注释以减小文件大小。" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "可能导致页面出错!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "" +"If you notice any errors on your website after having activated this " +"setting, just deactivate it again, and your site will be back to normal." +msgstr "如启用该设置后网站出错,直接禁用即可恢复正常。" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "启用 CSS 压缩" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "合并 CSS 文件(需先勾选上方的\"压缩CSS文件\")" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "" +"Combine CSS merges all your files into 1, reducing HTTP requests. Not " +"recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "将所有文件合并成一个文件以减少 HTTP 请求数。不推荐用于已使用 HTTP/2 的站点。%1$s更多信息%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "" +"For compatibility and best results, this option is disabled when Remove " +"unused CSS is enabled." +msgstr "为确保兼容性和最佳效果, 当您启用了 \"移除未使用CSS\" 时, 当前选项将被禁用." + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "启用 CSS 合并" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "" +"Specify URLs of CSS files to be excluded from minification and concatenation" +" (one per line)." +msgstr "指定不启用压缩 & 合并的 CSS 文件 URL(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).css wildcards to exclude all CSS files located at a " +"specific path." +msgstr "内部: URL 的域名部分将被自动删除。可用 (.*).css 通配符来匹配所有相似文件。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:712 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external CSS. %1$sMore info%2$s" +msgstr "第三方:使用完整的 URL 路径或仅使用域名来排除外部 CSS。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "CSS 递送优化" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance, but limited only to the users with active license." +msgstr "CSS 交付优化可以消除网站上的 CSS 渲染阻塞。只能选择一种方式哦。如您是授权用户,推荐选择 移除未使用 CSS。" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "" +"Optimize CSS delivery eliminates render-blocking CSS on your website. Only " +"one method can be selected. Remove Unused CSS is recommended for optimal " +"performance." +msgstr "CSS递送优化可以去除网站中阻塞渲染的CSS. 只能选择一种方式. 建议移除未使用的CSS." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:740 +msgid "" +"Optimize CSS Delivery features are disabled on local environments. %1$sLearn" +" more%2$s" +msgstr "本地环境默认禁用 \"优化CSS递送\" 功能. %1$s更多信息%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:763 +msgid "" +"Removes unused CSS per page and helps to reduce page size and HTTP requests." +" Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "移除每个页面未使用的CSS, 减少页面大小和HTTP请求数. 建议使用以获得最佳性能. 请谨慎测试 ! %1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "启用移除未使用的 CSS" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "CSS 安全列表" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "" +"Specify CSS filenames, IDs or classes that should not be removed (one per " +"line)." +msgstr "指定无需移除的CSS文件名、ID 或 class 值(每行一个)。" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:792 +msgctxt "WP Critical CSS compatibility" +msgid "" +"Load CSS asynchronously is currently handled by the %1$s plugin. If you want" +" to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr " CSS 异步加载当前由%1$s扩展接管。如您想使用 WP Rocket 的 CSS 异步加载选项,请禁用%1$s扩展。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "" +"Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "生成关键路径 CSS 并异步加载.%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "关键路径 CSS 备用代码" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:802 +msgid "" +"Provides a fallback if auto-generated critical path CSS is incomplete. " +"%1$sMore info%2$s" +msgstr "输入备用代码,以供自动生成关键路径 CSS 操作无法完成时使用。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "压缩 JS 文件" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "" +"Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "移除空白字符和注释以减小文件体积。" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "启用 JavaScript 压缩" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "" +"Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "合并 JavaScript 文件(需先勾选上方的\"压缩JS文件\")" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "" +"Combine JavaScript files combines your site’s internal, 3rd party and inline" +" JS reducing HTTP requests. Not recommended if your site uses HTTP/2. " +"%1$sMore info%2$s" +msgstr "合并您网站内的内部、第三方以及内联 JS 文件,以减少 HTTP 请求数。不推荐用于已使用 HTTP/2 的站点。%1$s更多信息%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "" +"For compatibility and best results, this option is disabled when delay " +"javascript execution is enabled." +msgstr "考虑到兼容性和最佳效果,如您已开启延迟执行 Javascript,该选项会被禁用。" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "启用 JavaScript 合并" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:864 +msgid "" +"Specify patterns of inline JavaScript to be excluded from concatenation (one" +" per line). %1$sMore info%2$s" +msgstr "指定不启用压缩 & 合并的 JS 文件 URL(每行一个)%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "" +"Specify URLs of JavaScript files to be excluded from minification and " +"concatenation (one per line)." +msgstr "指定不启用压缩 & 合并的 JS 文件 URL(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "" +"Internal: The domain part of the URL will be stripped " +"automatically. Use (.*).js wildcards to exclude all JS files located at a " +"specific path." +msgstr "内部: URL 的域名部分将被自动删除。可用 (.*).js 通配符来匹配所有相似文件。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:884 +msgid "" +"3rd Party: Use either the full URL path or only the domain " +"name, to exclude external JS. %1$sMore info%2$s" +msgstr "第三方:使用完整的 URL 路径或仅使用域名来排除外部 JS。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "JavaScript 异步加载" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:902 +msgid "" +"Load JavaScript deferred eliminates render-blocking JS on your site and can " +"improve load time. %1$sMore info%2$s" +msgstr "可以消除您网站阻塞渲染的 JS 以改善加载时间。%1$s更多信息%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:915 +msgid "" +"Specify URLs or keywords of JavaScript files to be excluded from defer (one " +"per line). %1$sMore info%2$s" +msgstr "指定无需延迟的 URL 或 JavaScript 文件的关键词(每行一个)。%1$s更多信息%2$s" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:933 +msgid "" +"Improves performance by delaying the loading of JavaScript files until user " +"interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" +"在页面加载时延迟加载JaveScript文件, 只在用户需要时(如滚动、点击)才加载这些非关键资源,可以优化网页性能。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "一键排除" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "" +"When using the Delay JavaScript Execution, you might experience delay " +"loading elements located in the viewport that need to appear immediately - " +"e.g. slider, header, menu." +msgstr "当使用 JavaScript 延迟执行功能时, 视觉窗口内有些需要即时显示的元素(如幻灯片、页眉、菜单)可能会被延迟加载。" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "" +"If you need instant visibility, click below on files that should NOT be " +"delayed. This selection will help users interact with the elements straight " +"away." +msgstr "如您需要保持即时可见,请点选下方要排除的文件。" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "" +"Specify URLs or keywords that can identify inline or JavaScript files to be " +"excluded from delaying execution (one per line)." +msgstr "指定用于识别内联或 JavaScript 文件的 URL 或关键词(每行一个)。" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "媒体" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "懒加载, 图片尺寸" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "自动优化" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "懒加载" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1051 +msgid "" +"It can improve actual and perceived loading time as images, iframes, and " +"videos will be loaded only as they enter (or about to enter) the viewport " +"and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" +"它可帮您改善加载时间(例如: 图片, 内嵌框架和视频将仅在进入或即将进入可视区域时才加载)和减少 HTTP 请求数.%1$s更多信息%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1058 +msgid "" +"LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s " +"LazyLoad, disable this option in %2$s." +msgstr "延迟加载已在 %2$s 中启用。若您想要使用 WP Rocket 的延迟加载功能,请先在 %2$s 中禁用此选项。" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "图片尺寸" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1064 +msgid "" +"Add missing width and height attributes to images. Helps prevent layout " +"shifts and improve the reading experience for your visitors. %1$sMore " +"info%2$s" +msgstr "为图片添加缺失的宽高属性。这有助于防止布局偏移,并能提升访客阅读体验。 %1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "为图片开启" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1095 +msgid "" +"LazyLoad for images is currently activated in %2$s. If you want to use " +"%1$s’s LazyLoad, disable this option in %2$s." +msgstr "延迟加载图像已在 %2$s 中启用。若您想要使用 %1$s 的延迟加载功能,请先在 %2$s 中禁用此选项。" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "框架 & 视频" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "用预览图替换 Youtube 框架" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "用预览图替换Youtube 框架 不兼容于%2$s" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "" +"This can significantly improve your loading time if you have a lot of " +"YouTube videos on a page." +msgstr "如页面含有多个 Youtube 视频,可以极大改善页面加载时间。" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "排除图片或 iframe 框架" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "" +"Specify keywords (e.g. image filename, CSS class, domain) from the image or " +"iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "指定要排除的图片或 iframe 框架代码的关键词(如图片文件名、CSS类、域名),每行一个。 %1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "添加缺失的图像宽高属性" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "生成缓存文件、预加载字体" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "预加载缓存" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "" +"When you enable preloading WP Rocket will automatically detect your sitemaps" +" and save all URLs to the database. The plugin will make sure that your " +"cache is always preloaded." +msgstr "当您启用预加载功能时,WP Rocket 将自动检测您的站点地图并将所有 URL 保存到数据库中。该插件将确保您的缓存始终被预先加载。" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "链接预取" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "" +"Link preloading improves the perceived load time by downloading a page when " +"a user hovers over the link. %1$sMore info%2$s" +msgstr "链接预取是指当用户的鼠标经过某个链接时,预先下载对应网页,所以当用户点击链接时会觉得加载速度非常快。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "DNS 预读取" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "" +"DNS prefetching can make external files load faster, especially on mobile " +"networks" +msgstr "DNS 预读取能更快地加载外部文件,特别是移动网络" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "预加载字体" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "" +"Improves performance by helping browsers discover fonts in CSS files. " +"%1$sMore info%2$s" +msgstr "帮助浏览器在 CSS 文件中发现字体来提高性能。%1$s了解详情%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "开启预缓存" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "排除的URL" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "" +"Specify URLs to be excluded from the preload feature (one per line). " +"%1$sMore info%2$s" +msgstr "指定要排除的URL(每行一个)。%1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "预读取的URL" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "" +"Specify external hosts to be prefetched (no http:, one per " +"line)" +msgstr "指定要预读取的外部主机名(不带 http:,每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "要预加载的字体" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "" +"Specify urls of the font files to be preloaded (one per line). Fonts must be" +" hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "指定要预加载的字体文件的URL(每行一个)。字体必须托管在您自己的域名中,或者在CDN标签页中指定这个域名。" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "" +"The domain part of the URL will be stripped automatically.
    Allowed font " +"extensions: otf, ttf, svg, woff, woff2." +msgstr "URL的域名部分将被自动删除。
    允许的字体扩展为:otf,ttf,svg,woff,woff2。" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "启用链接预取" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "高级规则" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "微调缓存规则" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "" +"Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "某些特殊页面不建议缓存,如自定义的登录/注销URL。" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "简易数字下载" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes 交易" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing +#. tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "" +"
    Cart, checkout and \"my account\" pages set in " +"%1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    默认将自动监测并永不缓存%1$s%2$s%3$s中设置的购物车、收银台和”我的账户“页面。" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "永不缓存(Cookies)" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "缓存查询字符串:" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "" +"%1$sCache for query strings%2$s enables you to force caching for specific " +"GET parameters." +msgstr "%1$s查询字符串缓存%2$s 可强制缓存指定GET参数。" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "" +"Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "指定永不缓存的页面或文章URL (每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to address multiple URLs under a given path." +msgstr "URL的域名部分将被自动删除。
    可使用 (.*) 通配符来匹配多个相似URL。" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "" +"Specify full or partial IDs of cookies that, when set in the visitor's " +"browser, should prevent a page from getting cached (one per line)" +msgstr "指定部分或完整的Cookies ID(每行一个),用于阻止访客浏览器缓存页面" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "" +"Specify user agent strings that should never see cached pages (one per line)" +msgstr "指定永不缓存的 user agent 字符串(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "可用 (.*) 通配符来匹配部分 UA 字符串。" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "" +"Specify URLs you always want purged from cache whenever you update any post " +"or page (one per line)" +msgstr "指定当更新任何文章或页面时,要清除缓存的 URL(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "指定要缓存的查询字符串(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "优化,减少冗余" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "文章清理" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "" +"Post revisions and drafts will be permanently deleted. Do not use this " +"option if you need to retain revisions or drafts." +msgstr "永久删除文章的修订版本和草稿。如您需要保留修订版本或草稿, 请勿使用该选项。" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "评论清理" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "永久删除垃圾评论和回收站评论。" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "临时数据清理" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "" +"Transients are temporary options; they are safe to remove. They will be " +"automatically regenerated as your plugins require them." +msgstr "可安全清除。插件需要时将会自动重新生成。" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "数据库清理" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "优化数据库表" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "自动清理" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "检测到 %s 个修订版本。" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "检测到 %s 篇草稿。" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "检测到 %s 篇回收站文章。" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "检测到 %s 条垃圾评论。" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "检测到 %s 条回收站评论。" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "所有临时数据" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "检测到 %s 条过期的临时数据。" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "优化数据表" + +#. translators: %s is the number of revisions found in the database. It's a +#. formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "检测到 %s 张表可被优化。" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "自动清理计划任务" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "频率" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "每日" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "每周" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "每月" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "CDN整合" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "" +"All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s)" +" you provide." +msgstr "所有静态文件 URL(CSS、JS和图片)将被重写至下方您提供的 CNAME。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "" +"Not required for services like Cloudflare and Sucuri. Please see our " +"available %1$sAdd-ons%2$s." +msgstr "Cloudflare 和 Sucuri 等服务不需要。请参考我们的可用%1$s扩展%2$s。" + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = +#. closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "" +"%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings " +"is not required for %2$l to work on your site." +msgid_plural "" +"%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN " +"settings is not required for %2$l to work on your site." +msgstr[0] "%1$s%2$s 扩展%3$s已启用。CDN设置对于%2$s正常工作来说不是必须的哦。" + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "启用CDN" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME:" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "指定 CNAME" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "" +"Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "指定不启用 CDN 的文件 URL(每行一个)" + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "" +"The domain part of the URL will be stripped automatically.
    Use (.*) " +"wildcards to exclude all files of a given file type located at a specific " +"path." +msgstr "URL 的域名部分将被自动删除。
    可用 (.*) 通配符来匹配所有相似文件。" + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "心跳监测" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "控制 WordPress 心跳监测的 API" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "" +"Reducing or disabling the Heartbeat API’s activity can help save some of " +"your server’s resources." +msgstr "降低其频率或禁用 API 可帮您节省部分服务器资源。" + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "减少心跳监测频率或禁用心跳监测" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Reducing activity will change Heartbeat frequency from one hit each minute " +"to one hit every 2 minutes." +msgstr "减少活动:将心跳监测频率从每分钟一次改为每2分钟一次。" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "" +"Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "完全禁用:可能会破坏使用此 API 的插件和主题。" + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "不限制" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "减少活动" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "禁用" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "心跳控制" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "后端行为监测" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "文章编辑器行为监测" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "前端行为监测" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "扩展功能" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "提供更多设置" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "Rocket 一键扩展功能" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "" +"One-Click Add-ons are features extending available options without " +"configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "额外的功能选项。设为 “on” 即可启用,无需另外配置。" + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "Rocket 扩展功能" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "现有功能的补充。" + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "使用该扩展整合您的Cloudflare账户。" + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "" +"Provide your account email, global API key, and domain to use options such " +"as clearing the Cloudflare cache and enabling optimal settings with WP " +"Rocket." +msgstr "提供您的账户邮箱、全局 API key 和域名以开启相关优化选项并使用清除 Cloudflare 缓存等功能。" + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "" +"%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just " +"activate the official Cloudflare plugin and configure it. WP Rocket will " +"automatically enable compatibility." +msgstr "" +"%1$s准备好使用 自动平台优化(APO)功能了吗?%2$s 您只需启用 Cloudflare 官方插件并配置即可。WP Rocket 将自动为您优化。" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "Varnish" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "如服务器已启用 Varnish,该功能必须开启。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "" +"Varnish cache will be purged each time WP Rocket clears its cache to ensure " +"content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "当 WP Rocket 每次清除缓存时,自动清除 Varnish 缓存以使内容保持最新。
    %1$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "WebP 兼容" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "让浏览器兼容WebP图片格式." + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "" +"Enable this option if you would like WP Rocket to serve WebP images to " +"compatible browsers. Please note that WP Rocket cannot create WebP images " +"for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore " +"info%2$s" +msgstr "" +"如您想使用 WP Rocket 来增加 WebP 图片支持,可开启此选项。请注意 WP Rocket 无法为您 创建 WebP 图片。要创建 WebP " +"图片 我们推荐使用 %1$sImagify%2$s 。%3$s更多信息%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "在 WP Rocket 的缓存被清理时,清理 Sucuri 缓存。" + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "" +"Provide your API key to clear the Sucuri cache when WP Rocket’s cache is " +"cleared." +msgstr "提供 Sucuri 的 API Key 以便用于当 WP Rocket 的缓存被清理时, 清理 Sucuri 缓存。" + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "Sucuri ( 一家CDN服务商 )" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "使用此扩展同步 Sucuri 缓存。" + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "Cloudflare授权" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "Cloudflare设置" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "全局 API key:" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "查找我的 API Key" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "账户邮箱" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "Zone ID" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "开发者模式" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "" +"Temporarily activate development mode on your website. This setting will " +"automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "暂时在您的网站上激活开发模式。 该设置将在3小时后自动关闭。%1$s更多%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "优化设置" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "" +"Automatically enhances your Cloudflare configuration for speed, performance " +"grade and compatibility." +msgstr "自动优化 Cloudflare 设置(基于速度,性能等级和兼容性)。" + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "相对协议" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "" +"Should only be used with Cloudflare's flexible SSL feature. URLs of static " +"files (CSS, JS, images) will be rewritten to use // instead of http:// or " +"https://." +msgstr "" +"仅适用于 Cloudflare的 flexible SSL 功能。静态文件(CSS, JS和图片)URL的 http:// 或 https:// " +"将被重写为 // 。" + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "Sucuri 凭证" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "" +"Firewall API key (for plugin), must be in format {32 characters}/{32 " +"characters}:" +msgstr "防火墙 API Key (插件用) 的格式必须是 {32个字符}/{32个字符}:" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "查找我的 API Key" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "" +"Sucuri Add-on: The API key for the Sucuri firewall must be in format " +"{32 characters}/{32 characters}." +msgstr "Sucuri 扩展: Sucuri 防火墙的 API key 长度应为{32个字符}/{32个字符}." + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "" +"Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved " +"because it disables caching and optimizations for every page on your site." +msgstr "您在 \"高级规则 > 从不缓存 URL\" 中添加的 /(.*) 未被保存, 因为它会禁用所有页面的缓存和优化." + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "导入、导出和还原" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "图片优化" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "压缩您的图片" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "指南" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "新手指南 和 How To 视频" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "WP Rocket 过期缓存间隔" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "WP_CACHE 值" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "" +"The WP_CACHE constant needs to be set to true for WP Rocket cache to work " +"properly" +msgstr "为确保 WP Rocket 正常工作,WP_CACHE 常量需设为 true" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "WP_CACHE 已设为 true" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "WP_CACHE 未设置" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "WP_CACHE 已设为 false" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "下个付款日" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "未订阅" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "您的 RocketCDN 订阅已激活。" + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing +#. tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "要使用 RocketCDN,请替换您的 CNAME 为 %1$s%2$s%3$s。" + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "%1$s更多信息%2$s" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "" +"We could not fetch the current price because RocketCDN API returned an " +"unexpected error code." +msgstr "RocketCDN API 返回未知错误,无法获取实时价格。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "RocketCDN 暂时不可用,请稍后重试。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "RocketCDN 缓存清除失败:识别参数缺失。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "RocketCDN 缓存清除失败:用户 token 缺失。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "" +"RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "RocketCDN 缓存清除失败:API 返回未知状态码。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "RocketCDN 缓存清除失败:API 返回为空。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "RocketCDN 缓存清除失败:API 返回未知状态码。" + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "RocketCDN 缓存清除失败:%s。" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "RocketCDN 缓存已成功清除。" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "RocketCDN 已启用" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "RocketCDN 已禁用" + +#. Translators: %s = date formatted using date_i18n() and get_option( +#. 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr " %s 即将到期!" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "致谢为您加速网站的贡献者:" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "" +"High performance Content Delivery Network (CDN) with %1$sunlimited " +"bandwidth%2$s" +msgstr "高性能CDN,%1$s无限带宽%2$s" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "" +"Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "轻松设置:已自动为您启用了 %1$sCDN 最佳设置%2$s " + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "" +"WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in" +" our plugin" +msgstr "WP Rocket 整合: 我们的插件已为您%1$s自动配置%2$sCDN 选项" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "了解 RocketCDN 的更多信息" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "" +"*$%1$s/month for 12 months then $%2$s/month. You can cancel your " +"subscription at any time." +msgstr "*$%1$s/月, 一年后 $%2$s/月. 您可以随时取消订阅哦." + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "月付" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "新手指南" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "不想看" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "用 RocketCDN 加速您的网站,是 WP Rocket 开发的哦 ~" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "了解详情" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "RocketCDN 无法用于本地域名或模拟环境。" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "获取 RocketCDN" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "New!" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "" +"Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "用 RocketCDN 加速您的网站,是 WP Rocket 开发的哦 ~" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "每分钟" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "重新生成关键路径CSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "生成特定的CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "重新生成特定的CPCSS" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "此功能不可用于私密文章类型." + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "%l 使用这个特性" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "发布%s" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "在WP Rocket 设置中开启 CSS 异步加载" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "在以上选项中启用 CSS 异步加载" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "%1$s的关键路径CSS未生成。错误:%2$s" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"empty response." +msgstr "移动端的%1$s关键CSS没有被生成。原因:API返回一个了空的响应报文" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an empty " +"response." +msgstr "%1$s的关键CSS 没有生成。原因:API返回了一个空的响应报文。" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "移动端的关键CSS%1$s没有被生成" + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "%1$s的Critical CSS没有被生成" + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The API returned an " +"invalid response code." +msgstr "移动端的%1$sCritical CSS没有被生成。原因:API返回一个了无效的响应编码" + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "" +"Critical CSS for %1$s not generated. Error: The API returned an invalid " +"response code." +msgstr "%1$s的Critical CSS没有被生成。原因:API返回一个了无效的响应编码" + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "错误:%1$s" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "关键CSS生成 正在运行中。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "查看进展请访问 %1$sWP Rocket 设置%2$s页面。" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "" +"Critical CSS generation is currently running: %1$d of %2$d page types " +"completed. (Refresh this page to view progress)" +msgstr "正在生成关键路径CSS:已完成 %1$d / %2$d 页。(刷新以查看进度)" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number +#. of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "生成关键路径CSS进度:%1$d / %2$d种页面类型。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "关键CSS生成出错。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "了解更多。" + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "" +"We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS " +"optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "我们强烈推荐您采用最新的 %1$s移除未使用 CSS%2$s功能以获得最佳性能。异步加载 CSS 仅作为备选项。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "仍然选择之前的方式" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "" +"Critical CSS for %1$s on mobile not generated. Error: The destination folder" +" could not be created." +msgstr "移动端的 %1$s 关键CSS 未生成。原因:目标文件夹无法创建。" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "" +"Critical CSS for %1$s not generated. Error: The destination folder could not" +" be created." +msgstr "%1$s的关键 CSS 未生成。原因:目标文件夹无法创建。" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "移动设备的Critical CSS文件不存在。Critical CSS指的是渲染首屏的最小 CSS 集合。" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "Critical CSS文件不存在" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "移动端的Critical CSS文件无法删除" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "Critical CSS 文件无法删除" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "移动端的Critical CSS%1$s没有被生成" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "%s的Critical CSS进行中" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "移动端Critical CSS文件%s已生成" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "已为 %s 生成关键路径CSS。" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "Critical CSS 文件已删除" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "移动端%1$s的Critical CSS 超时。请稍后再试。" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "%1$s的Critical CSS超时,请稍后再试。" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "移动端CPCSS生成未开启" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "您访问的文章不存在" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "无法为未发布的文章生成CPCSS" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "定期清除缓存" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "定期数据库优化" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "数据库优化过程" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "预缓存" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "Critical CSS 路径生成过程" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "尽快续费哦,您只需支付 %1$s%2$s%3$s!" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = +#. , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%4$s%5$s%6$s!" +msgstr "限时 %1$s%2$s折%3$s续费,您只需要支付 %4$s%5$s%6$s 哦!" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "续费1年仅需 %1$s%3$s%2$s。" + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, +#. %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "" +"Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you " +"will only pay %1$s%4$s%2$s!" +msgstr "续费可享 %1$s%3$s折立减%2$s:您仅需支付 %1$s%4$s%2$s哦!" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "赶快续费吧,您将支付 %1$s%3$s%2$s。" + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , +#. %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "" +"Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay " +"%1$s%4$s%3$s!" +msgstr "立享 %1$s%2$s 折扣,您只需支付 %3$s %1$s%4$s%3$s!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "" +"You need a valid license to continue using this feature. %1$sRenew now%2$s " +"before losing access." +msgstr "该功能仅有效授权可用。%1$s立刻续费%2$s吧。" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "开启该选项需要有效授权哦。%1$s立刻续费%2$s吧。" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "开启该选项需要有效授权哦。%1$s更多信息%2$s。" + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = +#. promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "" +"Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s" +" for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "利用 %1$s 来加速更多网站:%2$s 获取 %3$s%4$s 于%5$s 以%3$s升级为无限授权!%5$s" + +#: inc/Engine/License/Upgrade.php:382 inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "无限" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "立减 %s" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "%s 促销活动正在进行!" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "速度上车!促销倒计时:" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "分" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "秒" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "立即升级" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "CSS 交付优化已禁用。" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "" +"You can no longer use the Remove Unused CSS or Load CSS asynchronously " +"options." +msgstr "您不能再使用 移除未使用CSS 或 CSS异步加载 功能" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "" +"You need an %1$sactive license%2$s to keep optimizing your CSS delivery, " +"which addresses a PageSpeed Insights recommendation and improves your page " +"performance." +msgstr "" +"使用 CSS 交付优化功能需要%1$s有效授权%2$s哦~ 开启这个 PageSpeed Insight 推荐的功能, 可以改善您的页面性能。" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "立即续期" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "您将很快无法再使用某些功能" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "" +"You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "您需要一个%1$s有效授权来继续优化您的CSS交付%2$s。" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "" +"The Remove Unused CSS and Load CSS asynchronously features are great options" +" to address the PageSpeed Insights recommendations and improve your website " +"performance." +msgstr "PageSpeed Insights 极力推荐 移除未使用 CSS 和 CSS异步加载 这两个功能, 它们可以改善您的网站性能。" + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "%3$s%2$s 它们将被%1$s自动禁用。" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "您的 WP Rocket 许可证已过期!" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "" +"Your website could be much faster if it could take advantage of our %1$snew " +"features and enhancements%2$s. 🚀" +msgstr "如果能用好我们的%1$s新功能%2$s,您的网站会变得更快哦。🚀" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "" +"Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access" +" to product updates and support." +msgstr "您的%1$sWP Rocket授权即将到期%2$s: 届时您将无法获得产品更新和售后支持." + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "加速更多网站" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "" +"You can use WP Rocket on more websites by upgrading your license. To " +"upgrade, simply pay the %1$sprice difference%2$s between your current and " +"new licenses, as shown below." +msgstr "如您想升级授权,仅需补齐%1$s差价%2$s 。升级后,即可在多个网站使用 WP Rocket。" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "" +"%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "%1$s注意%2$s:升级授权并不会延长有效期" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "立省 $%s" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "%s 个网站" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "升级到 %s" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "" +"You can use WP Rocket on more websites by upgrading your license (you will " +"only pay the price difference between your current and new licenses)." +msgstr "升级授权即可将 WP Rocket 用于多个网站。(仅需补齐%1$s差价%2$s )" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "分析 & 广告" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "插件" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "主题" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "" +"You need an active license to get the latest version of the lists from our " +"server." +msgstr "您需要一个有效授权来获取服务器上的最新列表。" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "无法从服务器获取最新列表。" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "列表已是最新版本。" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "无法更新列表" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "列表已成功更新。" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "默认列表" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "JavaScript 延迟执行的排除列表" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "不兼容的插件列表" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "" +"%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing " +"your pages." +msgstr "%1$s: 请稍等 %2$s 秒. \"移除未使用CSS服务\" 正在处理您的页面." + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of +#. seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "" +"%1$s: The Used CSS of your homepage has been processed. WP Rocket will " +"continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "%1$s: 您首页的已使用CSS已处理. WP Rocket 会持续处理已使用CSS, 当前速度: %2$sURL / %3$s 秒." + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "我们建议开启 %1$s预缓存%2$s以获得最快的结果。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "更多处理详情, 请查阅我们的 %1$s文档%2$s." + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:491 +msgid "" +"We couldn't generate the used CSS because you're using a nulled version of " +"WP Rocket. You need an active license to use the Remove Unused CSS feature " +"and further improve your website's performance." +msgstr "Ummm... 由于您使用的是盗版 WP Rocket,我们无法生成已使用CSS。您需要一个有效授权来使用 移除未使用CSS 功能。" + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:494 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "点我购买单用户授权,可享%1$s折立减哦!" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:547 +msgid "" +"It seems a security plugin or the server's firewall prevents WP Rocket from " +"accessing the Remove Unused CSS generator. IPs listed %1$shere in our " +"documentation%2$s should be added to your allowlists:" +msgstr "访问 移除未使用CSS生成器 的请求被安全插件或服务器防火墙阻止。请将%1$s参考文档%2$s中的 IP 添加到允许列表:" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:552 +msgid "- In the security plugin, if you are using one" +msgstr "- 在安全插件内,如果您在使用一个" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:553 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "- 在服务器防火墙内。请联系您的主机商" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, +#. %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:593 +msgid "" +"%1$s: Could not create the %2$s table in the database which is necessary for" +" the Remove Unused CSS feature to work. Please reach out to %3$sour " +"support%4$s." +msgstr "%1$s:无法创建%2$s移除未使用 CSS功能所必须的数据库表。请联系%3$s我们的客服%4$s。" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:315 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "%1$s: 已使用CSS 选项未启用 !" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:337 +msgid "%1$s: Used CSS cache cleared!" +msgstr "%1$s: 已使用CSS 缓存已清除 !" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "清除该URL的已使用CSS" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "WP Rocket 移除未使用 CSS 的挂起作业" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "WP Rocket 清除 移除未使用CSS功能 的失败作业" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "" +"%1$s: The preload service is now active. After the initial preload it will " +"continue to cache all your pages whenever they are purged. No further action" +" is needed." +msgstr "%1$s:预缓存服务已启用。初次预缓存后,它会自动缓存被清除的任何页面,无需其他操作" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "WP Rocket 预缓存的挂起作业" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "WP Rocket Preload 的失败作业" + +#: inc/functions/admin.php:21 +msgid "" +"There seems to be an issue validating your license. Please see the error " +"message below." +msgid_plural "" +"There seems to be an issue validating your license. You can see the error " +"messages below." +msgstr[0] "验证您的许可证时似乎有问题。" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "服务器类型:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP版本号:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress版本号:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress多站点:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "当前主题:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "当前站点语言:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "已启用插件:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "所有已启用的插件名" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "WP Rocket设置(匿名):" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "WP Rocket中已启用的选项" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "提供的授权信息无效。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "如需解决问题,请%1$s联系客服%2$s。" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 inc/functions/options.php:530 +msgid "" +"License validation failed. Our server could not resolve the request from " +"your website." +msgstr "验证授权失败. 我们的服务器无法处理来自您网站的请求" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "" +"Try clicking %1$sValidate License%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "点击下方的%1$s验证授权%2$s试试. 如果还是出错, 请参考%3$s这个指南%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"License validation failed. You may be using a nulled version of the plugin. " +"Please do the following:" +msgstr "授权验证失败. 您可能在使用破解版本. 请按以下操作:" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "登录您的 WP Rocket %1$s账户%2$s" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "下载 zip 文件" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 inc/functions/options.php:549 +msgid "Reinstall" +msgstr "重新安装" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "" +"If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "如您没有 WP Rocket 账号, 请%1$s购买授权%2$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "" +"License validation failed. This user account does not exist in our database." +msgstr "验证授权失败。用户不存在。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "如需解决问题请联系客服。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "验证授权失败。该用户已被锁定。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "更多信息请参考%1$s这个文档%2$s。" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening +#. link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "" +"Try clicking %1$sSave Changes%2$s below. If the error persists, follow " +"%3$sthis guide%4$s." +msgstr "尝试点击下方的%1$s保存更改%2$s. 如问题仍然存在, 参考%3$s这个文档%4$s." + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "您的授权无效。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "请确保您有已激活的%1$sWP Rocket 授权%2$s。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "您的网站数已超出授权限制。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = +#. opening link tag. +#: inc/functions/options.php:545 +msgid "" +"Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this " +"domain." +msgstr "升级您的%1$s账号%2$s或%3$s转移授权%2$s至当前域名。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "此网站未被允许。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "请%1$s联系客服%2$s。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "该授权码无法识别。" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "如问题仍然存在, 请%1$s联系客服%2$s。" + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "授权验证失败:%s" + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "" +"Varnish auto-purge will be automatically enabled once Varnish is enabled on " +"your %s server." +msgstr "在您的%s服务器上启用Varnish后,将自动启用Varnish自动清除功能。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "" +"Your installation seems to be missing core Kinsta files managing Cache " +"clearing, which will prevent your Kinsta installation and WP Rocket from " +"working correctly. Please get in touch with Kinsta support through your " +"%1$sMyKinsta%2$s account to resolve this issue." +msgstr "" +"您安装的Kinsta可能缺失用于清除缓存的核心文件, 这会导致 Kinsta 和 WP Rocket 工作异常. \n" +"请通过您的%1$sMyKinsta%2$s账户联系 Kinsta 客服来解决问题." + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:125 +msgid "" +"%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of " +"Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" +"%1$s:Cloudflare 的 HTTP/2 Server Push 功能 与 移除未使用CSS、合并CSS功能不兼容。强烈建议您禁用它。" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:168 +msgid "" +"Your site is using the official Cloudflare plugin. We have enabled " +"Cloudflare auto-purge for compatibility. If you have APO activated, it is " +"also compatible." +msgstr "" +"您的网站正在使用 Cloudflare 官方插件。为确保兼容性,我们已经开启了 Cloudflare 的自动清除功能。如果开启了APO, 也没有问题。" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:169 +msgid "" +"Cloudflare cache will be purged each time WP Rocket clears its cache to " +"ensure content is always up-to-date." +msgstr "为确保内容是最新的,当 WP Rocket 清除缓存时,Cloudflare 缓存也将被清空。" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:213 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO " +"is not yet compatible with that feature." +msgstr "%1$sWP Rocket:%2$s 您正在使用 “动态 Cookies 缓存” 功能。Cloudflare APO 与该功能不再兼容。" + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:219 +msgid "" +"You should either disable Cloudflare APO or check with the theme/plugin " +"requiring the use of “Dynamic Cookies Cache” developers for an alternative " +"way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" +"您可禁用 Cloudflare APO 或询问您的主题/插件开发者是否有使用 “动态 Cookies 缓存” 的解决方案。%1$s更多信息%2$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = +#. opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:270 +msgid "" +"%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile " +"devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on " +"Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" +"%1$sWP Rocket:%2$s 您正在使用 “移动端单独缓存” 功能。 为确保缓存正常工作,您需要启用 Cloudflare APO 设置中的 " +"“按设备类型缓存” %3$s选项%5$s 。%4$s更多信息%5$s" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:291 +msgid "" +"%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare " +"APO. If you judge it necessary for the website to have a different cache on " +"mobile and desktop, we suggest you enable our “Separate Cache Files for " +"Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" +"%1$sWP Rocket:%2$s 您启用了 Cloudflare APO 中的 “按设备类型缓存” 功能。如果您觉得有必要把电脑端和移动端分别缓存," +" 我们建议您开启 “移动端单独缓存”功能。" + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s +#. is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "" +"%1$s: Mod PageSpeed is not compatible with this plugin and " +"may cause unexpected results. %2$sMore Info%3$s" +msgstr "%1$s:Mod PageSpeed与本插件不兼容,可能导致出错。%2$s更多信息%3$s" + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript " +"Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will " +"not be applied to the file it creates. We suggest disabling %1$sJavaScript " +"Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" +"%1$sWP Rocket: %2$s我们检测到您已启用 Autoptimize 的 \"JavaScript 合并\" 功能. WP Rocket 的" +" \"JavaScript 延迟执行\" 功能将不被应用于它所创建的文件. 如您想充分利用 \"JavaScript 延迟执行\" 功能, " +"我们建议您禁用%1$sJavaScript 合并%2$s." + +#. Translators: %1$s is an opening tag; %2$s is a closing +#. tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "" +"%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS " +"feature is enabled. WP Rocket's Load CSS Asynchronously will not work " +"correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full " +"advantage of Load CSS Asynchronously Execution." +msgstr "" +"%1$sWP Rocket: %2$s检测到您已启用 Autoptimize 的 \"合并内联CSS\" 功能. WP Rocket 的 \" " +"CSS异步加载\" 可能工作异常. 如您想充分利用 \" CSS异步加载\" 功能, 我们建议您禁用 %1$s合并内联CSS%2$s." + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "" +"This plugin blocks WP Rocket's caching and optimizations. Deactivate it and " +"use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" +"该插件阻止了 WP Rocket 的缓存和优化. 请禁用并使用%1$sEzoic 的Nameserver Intergration%2$s作为替代." + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "" +"Please deactivate the following %s option which conflicts with WP Rocket " +"features:" +msgid_plural "" +"Please deactivate the following %s options which conflict with WP Rocket " +"features:" +msgstr[0] "请禁用与 WP Rocket 功能相冲突的下列%s选项:" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "%1$s%2$s禁用Emoji%3$s与 WP Rocket 的 %2$s禁用Emoji%3$s相冲突" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP " +"compression%3$s" +msgstr "%1$s%2$sGZIP压缩%3$s与WP Rocket的%2$sGZIP压缩%3$s冲突" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser " +"caching%3$s" +msgstr "%1$s%2$s浏览器缓存%3$s与WP Rocket的%2$s浏览器缓存%3$s冲突" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "%1$s%2$s页面缓存%3$s与WP Rocket的%2$s页面缓存%3$s冲突" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "" +"%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile " +"optimization%3$s" +msgstr "%1$s%2$s资源优化%3$s与WP Rocket的%2$s文件优化%3$s相冲突" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "" +"Remove Unused CSS is currently activated in Perfmatters. If you want to use " +"WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" +"您已开启了 Perfmatters 中的 移除未使用CSS 功能, 如果你想换成 WP Rocket, 请先去 Perfmatters 内禁用掉哦。" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "" +"Automated unused CSS removal is currently activated in RapidLoad Power-Up " +"for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, " +"disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" +"您已开启了 RapidLoad Power-Up for Autoptimize 中的 自动移除未使用CSS 功能, 如果你想换成 WP Rocket," +" 请先去禁用掉哦。" + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "" +"Delay JS is currently activated in %1$s. If you want to use WP Rocket’s " +"delay JS, disable %1$s" +msgstr "JS 延迟加载已在 %1$s 中启用。若您想要使用 WP Rocket 的延迟加载 JS 功能,请先禁用 %1$s 。" + +#: inc/ThirdParty/Plugins/Smush.php:108 inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "Smush" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "Avada" + +#: inc/ThirdParty/Themes/Divi.php:341 +msgid "" +"Your Divi template was updated. Clear the Used CSS if the layout, design or " +"CSS styles were changed." +msgstr "您的 Divi 模版已更新。如果网站布局、设计或CSS样式有更改,请清空已使用CSS。" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "移动端异步加载 CSS 文件" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "" +"Your website currently uses the same Critical Path CSS for both desktop and " +"mobile." +msgstr "您的网站当前针对台式机和移动设备使用相同的Critical CSS路径。" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "单击该按钮为您的站点启用特定于移动设备的CPCSS。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "" +"This is a one-time action and this button will be removed afterwards. " +"%1$sMore info%2$s" +msgstr "这是一次性操作,点击按钮此后将被删除。%1$s更多信息%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "" +"Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "您的站点现在已经使用了移动端特定的Critical Path CSS。%1$s更多信息%2$s" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "生成移动专用CPCSS" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "关键的CSS路径:" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "为文章生成特定的Critical Path CSS。%1$s更多信息%2$s" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "文章使用了特定的Critical Path CSS。%1$s更多信息%2$s" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "恢复为默认的CPCSS" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "遇到问题了吗?" + +#: views/deactivation-intent/form.php:24 +msgid "" +"It is not always necessary to deactivate WP Rocket when facing any issues. " +"Most of them can be fixed by deactivating only some options." +msgstr "当遇到问题的时候, 没必要禁用 WP Rocket. 大部分情况下, 只需要禁用某些选项就行." + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "" +"Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to " +"quickly disable LazyLoad, File Optimization, and CDN options. Then check to " +"see if your issue is resolved." +msgstr "" +"我们的建议? 其实不用禁用 WP Rocket 啦~ 您可以先通过 %1$s安全模式%2$s 来快速禁用 延迟加载、文件优化和 CDN 选项, " +"然后再看看问题是否解决." + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "是否使用 \"安全模式\" 来排查 WP Rocket 故障?" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "是, 应用 \"%1$s安全模式%2$s\"" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "" +"and export WP Rocket settings %1$s(Recommended as current settings will be " +"deleted)%2$s" +msgstr "并导出 WP Rocket 设置 %1$s (推荐操作,当前设置将被删除)%2$s" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "否, 禁用并在指定天数内跳过通知: " + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "1 天" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "7 天" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "30 天" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "永久" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "取消" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "确认" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s +#. = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid "" +" %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates " +"and enhancements of this major version. You need an active license to use " +"them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" +"发现 %1$sWP Rocket %2$s%3$s 新版本. %4$s点我了解更多详情%5$s 新版本需要有效授权才能使用哦! %6$s立即续费%5$s" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "更新包含和排除列表" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "" +"Compatibility lists are downloaded automatically every week. Click the " +"button if you want to update them manually. %1$sMore info%2$s" +msgstr "兼容列表每周会自动下载。点击按钮可手动更新。%1$s更多信息%2$s" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "更新列表" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "启用 Google 字体优化" + +#: views/settings/enable-google-fonts.php:14 +msgid "" +"Improves font performance and combines multiple font requests to reduce the " +"number of HTTP requests." +msgstr "优化字体性能并合并多个字体请求以减少 HTTP请求数。" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "" +"Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "Google 字体优化已启用。%1$s更多信息%2$s" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "优化 Google 字体" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "清空缓存间隔" + +#: views/settings/fields/cnames.php:58 views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "导入配置" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "扩展功能状态" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "修改设置" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "CDN CNAME" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "清除 RocketCDN 缓存资源。%s" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "更多信息" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "清除所有的 RocketCDN 缓存文件" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudfare缓存" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "从您的网站清除缓存资源。%s" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "清除所有Cloudflare缓存文件" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "恭喜!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "WP Rocket 已激活并开始工作。" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "您的网站应该变快啦 !" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"To guarantee fast websites, WP Rocket automatically applies 80% of web " +"performance best practices." +msgstr "为达到加速效果,WP Rocket 已自动帮您开启了80%的加速最佳操作。" + +#: views/settings/page-sections/dashboard.php:44 +msgid "" +"We also enable options that provide immediate benefits to your website." +msgstr "我们同时也帮您的网站启用了能带来实时效果的选项。" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "继续调整设置来进一步优化您的网站吧!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "我的账户" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "刷新信息" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "与" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "过期时间" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "查看我的账户" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "快捷操作" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "清除所有缓存" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "重新生成关键路径 CSS" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "清除已使用CSS缓存" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "FAQ" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "仍未找到解决方案?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "" +"Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "请发送工单以寻求帮助。我们的火箭工程师非常友好并且知识渊博哦 ~" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "请求帮助" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "清理前请务必备份数据库!" + +#: views/settings/page-sections/database.php:26 +msgid "" +"Once a database optimization has been performed, there is no way to undo it." +msgstr "优化操作一旦运行无法撤销。" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "保存并优化" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "" +"%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image " +"optimization.%2$s" +msgstr "%1$sWP ROCKET%2$s创建了%1$s图片优化神器%2$s %3$sIMAGIFY %4$s" + +#: views/settings/page-sections/imagify.php:24 +msgid "" +"Compress image to make your website faster, all while maintaining image " +"quality." +msgstr "在确保图片质量的同时压缩图片,让您的网站加载更快。" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "更多尽在 Imagify:" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "Imagify 插件介绍页" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "Imagify 网站" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "Imagify 评价" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "安装 Imagify 插件" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket无法自动验证您的授权。" + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "请参考%1$s,或联系%2$s来开启WP Rocket引擎吧 ~" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "%1$s%2$s%3$s教程%4$s" + +#: views/settings/page-sections/license.php:34 +msgid "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" +"https://docs.wp-rocket.me/article/100-resolving-problems-with-license-" +"validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "%1$s%2$s%3$s支持%4$s" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "清除所有的Sucuri缓存文件" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries +#. (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "文件大小:%1$s。数据行数:%2$s。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "%1$s下载文件%2$s。" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "%1$s删除文件%2$s。" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "导出配置" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "下载您的设置备份文件" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "下载配置" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "还原" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "%s 版本有问题?" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "" +"You can rollback to the previous major version here.%sThen send us a support" +" request." +msgstr "您可在此回滚到上个主流版本。%s然后寻求我们的帮助。" + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "重新安装 %s 版本" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "调试模式" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "创建一个调试日志文件。" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "新手指南" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "玩转 WP Rocket" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "找到适用您网站的最佳设置" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "如何确认 WP Rocket 缓存已正常工作" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "如何测试网站加载速度" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "预缓存工作原理" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "搞定谷歌核心算法" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "如何用 WP Rocket 优化 LCP" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "如何用 WP Rocket 优化 FID" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "如何用 WP Rocket 优化 CLS" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "故障排除" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "排查文件优化引起的显示问题" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "如何找到要排除的 JavaScript" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "外部内容是怎么拖慢您的网站的" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "设置 Cloudflare 扩展" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket设置" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "%s 版本" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "显示侧边栏" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "" +"Below is a detailed view of all data WP Rocket will collect %1$sif granted " +"permission.%2$s" +msgstr "以下详细列出了 WP Rocket 在%1$s获得许可后%2$s将收集的所有数据。" + +#: views/settings/page.php:87 +msgid "" +"WP Rocket will never transmit any domain names or email addresses (except " +"for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket 绝不会传输任何域名、邮箱(授权验证除外),IP地址或第三方 API key。" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "启用 Rocket 分析" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "解决常见问题的好去处。" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "查看文档" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "WP Rocket 默认情况下都为您做了些什么?" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "如何正确测试网站加载时间" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "查看我们的教程并学习如何测试网站加载时间。" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "阅读指南" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "学习移动端的 WP Rocket 最佳设置." + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "为 WordPress 测试和改善谷歌网站核心指标 ( Google Core Web Vitals )." + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "阅读更多" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "您尚未启用已登录用户缓存。" + +#: views/settings/partials/sidebar.php:34 +msgid "" +"Use a private browser to check your website's speed and visual appearance." +msgstr "请使用浏览器的隐私模式来检查网站速度和外观变化。" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "需要帮助吗?" diff --git a/languages/rocket-zh_TW.mo b/languages/rocket-zh_TW.mo new file mode 100644 index 0000000..adc6297 Binary files /dev/null and b/languages/rocket-zh_TW.mo differ diff --git a/languages/rocket-zh_TW.po b/languages/rocket-zh_TW.po new file mode 100644 index 0000000..2bd4ace --- /dev/null +++ b/languages/rocket-zh_TW.po @@ -0,0 +1,3542 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.3.7\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: m615926 , 2019\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/wp-media/teams/18133/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2019-08-26 11:14-0400\n" +"PO-Revision-Date: 2019-08-26 15:14+0000\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: assets\n" +"X-Poedit-SearchPathExcluded-1: src\n" +"X-Poedit-SearchPathExcluded-2: vendor\n" +"X-Poedit-SearchPathExcluded-3: node_modules\n" +"X-Poedit-SearchPathExcluded-4: tests\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Textdomain-Support: yes\n" + +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#, php-format +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "你的網站托管於 %s,為了最佳相容性我們已經開啟 Varnish 自動清理功能。" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "Jetpack XML 網站地圖" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "從 Jetpack 預先載入網站地圖" + +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +#, php-format +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "我們已自動偵測到網站地圖是由 %s 外掛產生。你可以選取此欄位來預先載入它。" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "All in One SEO XML 網站地圖" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "Yoast SEO XML 網站地圖" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:255 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "支援" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "說明文件" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:243 +msgid "FAQ" +msgstr "常見問題" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "設定" + +#: inc/Engine/Cache/AdminSubscriber.php:118 +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +msgid "Clear this cache" +msgstr "清除快取" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:472 +#: inc/Engine/Plugin/UpdaterSubscriber.php:486 +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#, php-format +msgid "%s Update Rollback" +msgstr "%s 更新還原" + +#: inc/Engine/Plugin/UpdaterSubscriber.php:509 +#: inc/deprecated/3.11.php:279 +#, php-format +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/admin/admin.php:458 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "設定匯入錯誤:你沒有權限這麼做。" + +#: inc/admin/admin.php:462 +msgid "Settings import failed: no file uploaded." +msgstr "匯入設定錯誤:無上傳檔案" + +#: inc/admin/admin.php:466 +msgid "Settings import failed: incorrect filename." +msgstr "匯入設定錯誤:不正確的檔案名稱" + +#: inc/admin/admin.php:477 +msgid "Settings import failed: incorrect filetype." +msgstr "匯入設定錯誤:不正確的檔案類型" + +#: inc/admin/admin.php:487 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:503 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:533 +msgid "Settings imported and saved." +msgstr "已匯入設定並儲存。" + +#: inc/Addon/Cloudflare/Subscriber.php:297 +#, php-format +msgid "Cloudflare development mode error: %s" +msgstr "CloudFlare 開發者模式錯誤: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:304 +#, php-format +msgid "Cloudflare development mode %s" +msgstr "CloudFlare 開發者模式: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:321 +#, php-format +msgid "Cloudflare cache level error: %s" +msgstr "CloudFlare 快取層級錯誤: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:334 +#, php-format +msgid "Cloudflare cache level set to %s" +msgstr "CloudFlare 快取層級設定為: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:350 +#, php-format +msgid "Cloudflare minification error: %s" +msgstr "CloudFlare 壓縮錯誤: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:357 +#, php-format +msgid "Cloudflare minification %s" +msgstr "CloudFlare 壓縮: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:373 +#, php-format +msgid "Cloudflare rocket loader error: %s" +msgstr "CloudFlare rocket loader 錯誤: %s" + +#: inc/Addon/Cloudflare/Subscriber.php:380 +#, php-format +msgid "Cloudflare rocket loader %s" +msgstr "CloudFlare rocket loader %s" + +#: inc/Addon/Cloudflare/Subscriber.php:396 +#, php-format +msgid "Cloudflare browser cache error: %s" +msgstr "CloudFlare 瀏覽器快取錯誤: %s" + +#: inc/Engine/Admin/Settings/Page.php:708 +#: inc/admin/options.php:124 +msgid "Excluded CSS Files" +msgstr "排除 CSS 檔" + +#: inc/Engine/Admin/Settings/Page.php:862 +#: inc/admin/options.php:125 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:880 +#: inc/Engine/Admin/Settings/Page.php:913 +#: inc/Engine/Admin/Settings/Page.php:960 +#: inc/admin/options.php:126 +msgid "Excluded JavaScript Files" +msgstr "排除 JavaScript 檔" + +#: inc/Engine/Admin/Settings/Page.php:1329 +#: inc/admin/options.php:129 +msgid "Never Cache URL(s)" +msgstr "不快取的網址" + +#: inc/Engine/Admin/Settings/Page.php:1343 +#: inc/admin/options.php:130 +msgid "Never Cache User Agent(s)" +msgstr "不快取的裝置" + +#: inc/Engine/Admin/Settings/Page.php:1349 +#: inc/admin/options.php:131 +msgid "Always Purge URL(s)" +msgstr "總是清除快的取網址" + +#: inc/Engine/Admin/Settings/Page.php:1616 +#: inc/admin/options.php:132 +msgid "Exclude files from CDN" +msgstr "排除來自 CDN 的檔案" + +#: inc/admin/options.php:160 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:748 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "清除快取" + +#: inc/admin/ui/meta-boxes.php:67 +msgid "WP Rocket Options" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:96 +msgid "Never cache this page" +msgstr "永不快取此頁面" + +#: inc/admin/ui/meta-boxes.php:100 +msgid "Activate these options on this post:" +msgstr "在這篇文章啟用這些選項:" + +#: inc/admin/ui/meta-boxes.php:103 +msgid "LazyLoad for images" +msgstr "針對圖片啟用延遲載入" + +#: inc/admin/ui/meta-boxes.php:104 +msgid "LazyLoad for iframes/videos" +msgstr "針對 iFrame 與影片使用延遲載入" + +#: inc/admin/ui/meta-boxes.php:105 +msgid "Minify/combine CSS" +msgstr "壓縮/合併 CSS" + +#: inc/admin/ui/meta-boxes.php:107 +msgid "Minify/combine JS" +msgstr "壓縮/合併 JS" + +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/admin/ui/meta-boxes.php:108 +#: inc/deprecated/deprecated.php:1773 +msgid "CDN" +msgstr "CDN" + +#: inc/admin/ui/meta-boxes.php:110 +msgid "Defer JS" +msgstr "延遲載入 JS" + +#: inc/admin/ui/meta-boxes.php:117 +#, php-format +msgid "Activate first the %s option." +msgstr "先啟用 %s 選項。" + +#: inc/admin/ui/meta-boxes.php:133 +#, php-format +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/admin/ui/notices.php:31 +#: inc/admin/ui/notices.php:44 +#, php-format +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" +"%1$s 因為缺少寫入權限所以被停用了。
    \n" +"%2$s 請開啟寫入權限後再停用,或是立刻強制停用:" + +#: inc/admin/ui/notices.php:97 +#, php-format +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "%s: 一個或多個外掛已啟用或停用,必要時別忘了清除快取。" + +#: inc/admin/ui/notices.php:218 +#, php-format +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "%s:以下外掛與此外掛不相容,且可能造成意外的結果:" + +#: inc/admin/ui/notices.php:224 +msgid "Deactivate" +msgstr "停用" + +#: inc/admin/ui/notices.php:266 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#: inc/admin/ui/notices.php:306 +#, php-format +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#: inc/admin/ui/notices.php:327 +#, php-format +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "%1$s: 為了使外掛能正常運作,自訂固定網址結構是必須的。請前往%2$s固定網址%3$s設定" + +#: inc/admin/ui/notices.php:374 +#, php-format +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#: inc/admin/ui/notices.php:380 +#: inc/admin/ui/notices.php:843 +#, php-format +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "解決辦法: %1$s如何讓系統檔案可寫入?%2$s" + +#: inc/admin/ui/notices.php:382 +#: inc/admin/ui/notices.php:845 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: inc/admin/ui/notices.php:388 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:388 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#: inc/admin/ui/notices.php:535 +#, php-format +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "%1$s 已設定為成! %2$s測試一下載入時間%4$s,或是前往 %3$s設定%4$s." + +#: inc/admin/ui/notices.php:576 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "您介意 WP Rocket 從您的網站蒐集非敏感性資料嗎?" + +#: inc/admin/ui/notices.php:577 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "這些資料將有助於未來我們改善 WP Rocket。" + +#: inc/admin/ui/notices.php:583 +msgid "What info will we collect?" +msgstr "我們會蒐集什麼資料?" + +#: inc/admin/ui/notices.php:588 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "如果您允允許我們,下方是 WP Rocket 會蒐集的資料清單。我們絕對不會傳送任何網域名稱或是電子郵件(除非是為了驗證註冊)、IP 位址或是第三方的 API 金鑰。" + +#: inc/admin/ui/notices.php:597 +msgid "Yes, allow" +msgstr "OK,我允許" + +#: inc/admin/ui/notices.php:600 +msgid "No, thanks" +msgstr "不用了,謝謝" + +#: inc/admin/ui/notices.php:639 +msgid "Thank you!" +msgstr "謝謝您!" + +#: inc/admin/ui/notices.php:644 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "WP Rocket 現在開始從您的網站蒐集使用資料:" + +#: inc/admin/ui/notices.php:682 +#, php-format +msgid "%s: Cache cleared." +msgstr "%s: 快取已清除。" + +#: inc/admin/ui/notices.php:689 +#, php-format +msgid "%s: Post cache cleared." +msgstr "%s: 文章快取已清除。" + +#: inc/admin/ui/notices.php:696 +#, php-format +msgid "%s: Term cache cleared." +msgstr "%s: 分類快取已清除。" + +#: inc/admin/ui/notices.php:703 +#, php-format +msgid "%s: User cache cleared." +msgstr "%s: 帳號快取已清除。" + +#: inc/Engine/HealthCheck/HealthCheck.php:82 +#: inc/deprecated/3.5.php:858 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" + +#: inc/Engine/HealthCheck/HealthCheck.php:88 +#: inc/deprecated/3.5.php:867 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/admin/ui/notices.php:751 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:781 +msgid "Force deactivation " +msgstr "強制停用" + +#: inc/admin/ui/notices.php:800 +msgid "The following code should have been written to this file:" +msgstr "下方這些程式碼應該被寫入到此檔案中:" + +#: inc/admin/ui/notices.php:831 +#, php-format +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "%s 因為缺少寫入權限所以無法自動設定。" + +#: inc/admin/ui/notices.php:837 +#, php-format +msgid "Affected file/folder: %s" +msgstr "影響的檔案 / 資料夾: %s" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "文章版本" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "自動草稿" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "回收桶文章" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "垃圾迴響" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "回收桶迴響" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "臨時選項" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "資料表" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "無法使用" + +#: inc/Engine/Admin/Settings/Page.php:352 +#: inc/deprecated/deprecated.php:1789 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "註冊碼" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "API 金鑰" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "電子郵件地址" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "控制台" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "獲得幫助、帳號資訊" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "我的狀態" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "Rocket 分析" + +#: inc/Engine/Admin/Settings/Page.php:432 +#, php-format +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "我同意將匿名資訊分享給開發團隊以協助改進 WP Rocket。%1$s我們會收集那些資訊?%2$s" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "快取" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "基本快取選項" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "行動裝置快取" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "為行動裝置訪客加速你的網站。" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "我們偵測到你使用了需要為行動裝置分隔快取的外掛,為了相容性已經自動開啟此選項。" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "使用者快取" + +#: inc/Engine/Admin/Settings/Page.php:478 +#, php-format +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "%1$s使用者快取%2$s非常適合當你的網站有提供特定內容給當下訪客的情況下使用。" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "快取生命週期" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "為已登入使用者建立快取" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "啟用行動裝置快取" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "針對行動裝置建立獨立的快取檔案" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "指定全站快取的存活時間 (0 = 永久)" + +#: inc/Engine/Admin/Settings/Page.php:546 +#, php-format +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "如果你有注意到某些問題持續性的出現,把快取週期降低至十小時或更少。%1$s原因是?%2$s" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "分" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "小時" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "天" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "檔案最佳化" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "最佳化 CSS 與 JS" + +#: inc/Engine/Admin/Settings/Page.php:611 +#: inc/Engine/Admin/Settings/Page.php:637 +#, php-format +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "%1$s已將資源自動最佳化,如果你想使用%2$s壓縮工具,請先停用其它的壓縮工具." + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "CSS 檔案" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "JavaScript 檔案" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "壓縮 CSS" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "壓縮 CSS 會移除檔案裡所有空白和註解來減少檔案尺寸。" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/Admin/Settings/Page.php:831 +#: inc/Engine/Admin/Settings/Page.php:855 +msgid "This could break things!" +msgstr "這可能會造成錯誤!" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:702 +#: inc/Engine/Admin/Settings/Page.php:766 +#: inc/Engine/Admin/Settings/Page.php:832 +#: inc/Engine/Admin/Settings/Page.php:856 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "如果在啟用此設定後有發現網站異常,只要停用它就能恢復正常。" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "啟用 CSS 壓縮" + +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Combine CSS files (Enable Minify CSS files to select)" +msgstr "合併 CSS 檔案(啟後壓縮以選取該功能)" + +#: inc/Engine/Admin/Settings/Page.php:686 +#, php-format +msgid "Combine CSS merges all your files into 1, reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "將 CSS 檔案合併為一個可以減少 HTTP 請求。如果你的網站是 HTTP/2 不建議使用該功能。%1$s更多資訊%2$s" + +#: inc/Engine/Admin/Settings/Page.php:703 +msgid "Activate combine CSS" +msgstr "啟用 CSS 合併" + +#: inc/Engine/Admin/Settings/Page.php:709 +msgid "Specify URLs of CSS files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:725 +#: inc/Engine/Admin/Settings/Page.php:747 +msgid "Optimize CSS delivery" +msgstr "最佳化 CSS 分派" + +#: inc/Engine/Admin/Settings/Page.php:800 +msgid "Fallback critical CSS" +msgstr "可視範圍的 CSS 回調" + +#: inc/Engine/Admin/Settings/Page.php:802 +#, php-format +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "如果自動產生可視範圍的 CSS 未完成,將提供一個回調事件。%1$s更多資訊%2$s" + +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "Minify JavaScript files" +msgstr "壓縮 JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:818 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "壓縮 JavaScript 會移除檔案裡所有空白和註解來減少檔案尺寸。" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate minify JavaScript" +msgstr "啟用 JavaScript 壓縮" + +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "合併 JavaScript 檔案(啟後壓縮以選取該功能)" + +#: inc/Engine/Admin/Settings/Page.php:840 +#, php-format +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Activate combine JavaScript" +msgstr "啟用 JavaScript 合併" + +#: inc/Engine/Admin/Settings/Page.php:864 +#, php-format +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:881 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:882 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:884 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:900 +msgid "Load JavaScript deferred" +msgstr "非同步載入 JavaScript" + +#: inc/Engine/Admin/Settings/Page.php:902 +#, php-format +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "優化網站中清除前幾行內容中的禁止轉譯 JavaScript,讓網站載入更快速。%1$s更多資訊%2$s" + +#: inc/Engine/Admin/Settings/Page.php:993 +msgid "Media" +msgstr "媒體" + +#: inc/Engine/Admin/Settings/Page.php:1048 +msgid "LazyLoad" +msgstr "延遲載入" + +#: inc/Engine/Admin/Settings/Page.php:1051 +#, php-format +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1083 +msgid "Enable for images" +msgstr "針對圖片使用延遲載入" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "針對 iFrame 與影片使用延遲載入" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "使用預覽圖片取代 YouTube 的播放器" + +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "如果你有大量 YouTube 影片在單一頁面中,這可以顯著地改善載入時間。" + +#: inc/Engine/Admin/Settings/Page.php:1164 +#: inc/deprecated/deprecated.php:1776 +msgid "Preload" +msgstr "預先載入" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "預先取得 DNS 請求" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "預先取得 DNS 請求可以讓外部檔案載入更快速,特別是行動網路" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "預先取得的 URL" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "指定外部主機網址來預先請求 DNS (輸入網址不需要打http:,每行一個)" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "進階規則" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "調整快取規則" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "較為敏感的頁面像是登入/登出頁的網址應該被排除在快取檔案外。" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "WooCommerce" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "Easy Digital Downloads" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "iThemes Exchange" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "Jigoshop" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "WP-Shop" + +#: inc/Engine/Admin/Settings/Page.php:1319 +#, php-format +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "
    購物車、結帳頁以及「我的帳號」頁面%1$s%2$s%3$s在預設情況下永遠不會被加入快取。" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "不快取的 Cookies" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "快取參數" + +#: inc/Engine/Admin/Settings/Page.php:1358 +#, php-format +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "%1$s快取參數%2$s讓你可以強制快取某些由 GET 方法所傳遞的參數。" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "指定不使用快取的頁面或文章網址。(每行一個)" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "將自動截取網址中主網域的部份。
    使用 (.*) 來排除在指定路徑下所有的 網址。" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "指定當在以下裝置造訪網站時,不進行快取。(每行一個)" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "使用 (.*) 來選取字串中要被排除的部份" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "當文章或頁面更新時,自動清除此頁面中的快取(每行一個)" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "列出可以被快取的查詢字串 (每行一個)" + +#: inc/Engine/Admin/Settings/Page.php:1431 +#: inc/deprecated/deprecated.php:1775 +msgid "Database" +msgstr "資料庫" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "優化減少資料肥大" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "文章清理" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "文章版本與草稿將會被刪除。如果你需要還原版本或草稿,不要使用此功能。" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "迴響清理" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "垃圾留言將被刪除。" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "臨時選項清理" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "臨時選項可以安心移除,他們是由外掛所自動產生的。" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "資料庫清理" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "減少過大的資料表" + +#: inc/Engine/Admin/Settings/Page.php:1477 +#, php-format +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1487 +#, php-format +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1497 +#, php-format +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1507 +#, php-format +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1517 +#, php-format +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "所有臨時選項" + +#: inc/Engine/Admin/Settings/Page.php:1527 +#, php-format +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "最佳化資料表" + +#: inc/Engine/Admin/Settings/Page.php:1537 +#, php-format +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "排程自動清理" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "頻率" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "每天" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "每週" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "每月" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "整合你的 CDN 服務" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "所有靜態資源(CSS, JS, 圖片)的網址將會被下方的 CNAME 所覆寫。" + +#: inc/Engine/Admin/Settings/Page.php:1601 +#, php-format +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1667 +msgid "Enable Content Delivery Network" +msgstr "啟用內容傳遞網路 CDN" + +#: inc/Engine/Admin/Settings/Page.php:1676 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "CDN CNAME(S):" + +#: inc/Engine/Admin/Settings/Page.php:1677 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "在下方指定 CNAME(s)" + +#: inc/Engine/Admin/Settings/Page.php:1684 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1685 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "將自動截取網址中主網域的部份。
    使用(.*)來排除在指定路徑下的特定檔案類型。" + +#: inc/Engine/Admin/Settings/Page.php:1708 +#: inc/Engine/Admin/Settings/Page.php:1716 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1709 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1717 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1724 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1738 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1739 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1740 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1748 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1757 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1764 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1787 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "附加功能" + +#: inc/Engine/Admin/Settings/Page.php:1788 +msgid "Add more features" +msgstr "新增更多功能" + +#: inc/Engine/Admin/Settings/Page.php:1795 +msgid "One-click Rocket Add-ons" +msgstr "一鍵安裝 WP Rocket 附加功能" + +#: inc/Engine/Admin/Settings/Page.php:1796 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "一鍵安裝可以在不用額外設定就能取得更多功能。在此畫面中選擇「啟用」。" + +#: inc/Engine/Admin/Settings/Page.php:1806 +msgid "Rocket Add-ons" +msgstr "WP Rocket 附加功能" + +#: inc/Engine/Admin/Settings/Page.php:1807 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "WP Rocket 附加功能可以增強更多設定內容。" + +#: inc/Engine/Admin/Settings/Page.php:1875 +msgid "Varnish" +msgstr "Varnish 快取" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "如果你的伺服器正在使用 Varnish 快取,你必須啟用此選項。" + +#: inc/Engine/Admin/Settings/Page.php:1883 +#, php-format +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "當 WP Rocket 快取需要清除時,Varnish 快取將同時被清除以確保最新內容。
    %1$s了解更多%2$s" + +#: inc/Engine/Admin/Settings/Page.php:1817 +#: inc/Engine/Admin/Settings/Page.php:1986 +msgid "Cloudflare" +msgstr "Cloudflare" + +#: inc/Engine/Admin/Settings/Page.php:1823 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "使用此工具整合 Cloudflare 設定" + +#: inc/Engine/Admin/Settings/Page.php:1824 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "請提供 Cloudflare 的帳戶電子郵件、API 金鑰以及網址來整合相關設定至 WP Rocket。" + +#: inc/Engine/Admin/Settings/Page.php:1948 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1951 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1959 +#: inc/Engine/Admin/Settings/Page.php:2103 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2003 +msgid "Cloudflare credentials" +msgstr " CloudFlare 授權" + +#: inc/Engine/Admin/Settings/Page.php:2012 +msgid "Cloudflare settings" +msgstr "CloudFlare 設定" + +#: inc/Engine/Admin/Settings/Page.php:2026 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "全域 API 金鑰:" + +#: inc/Engine/Admin/Settings/Page.php:2027 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "尋找 API 金鑰" + +#: inc/Engine/Admin/Settings/Page.php:2039 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "CloudFlare 帳號:" + +#: inc/Engine/Admin/Settings/Page.php:2048 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2058 +msgid "Development mode" +msgstr "開發模式" + +#: inc/Engine/Admin/Settings/Page.php:2060 +#, php-format +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "你的網站暫時進入維護模式,如果不手動調整的話,3小時後會自動結束維護模式。%1$s了解更多%2$s" + +#: inc/Engine/Admin/Settings/Page.php:2068 +msgid "Optimal settings" +msgstr "最佳化設定" + +#: inc/Engine/Admin/Settings/Page.php:2069 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "在速度、效能以及穩定性上,自動最佳化你的 Cloudflare 設定。" + +#: inc/Engine/Admin/Settings/Page.php:2077 +msgid "Relative protocol" +msgstr "相對協定" + +#: inc/Engine/Admin/Settings/Page.php:2078 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "僅可使用 Cloudflare 中的 Flexible SSL 加密協定, 靜態資源( CSS、JS、圖片 )的網址將會使用 // 來取代 http:// 或是 https://。" + +#: inc/Engine/Admin/Settings/Page.php:2116 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2130 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "尋找 API 金鑰" + +#: inc/Engine/Admin/Settings/Render.php:422 +#: inc/deprecated/deprecated.php:1294 +msgid "Upload file and import settings" +msgstr "上傳檔案並匯入設定" + +#: inc/Engine/Admin/Settings/Settings.php:362 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:452 +#: inc/deprecated/deprecated.php:1245 +msgid "Settings saved." +msgstr "設定已儲存。" + +#: inc/classes/class-wp-rocket-requirements-check.php:147 +#, php-format +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "為了能運作正常,%1$s%2$s至少一個必填:" + +#: inc/classes/class-wp-rocket-requirements-check.php:151 +#, php-format +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "PHP%1$s。要使用這個版本的 WP Rocket,請先聯絡你的網站主機商將 PHP 版本升級為%1$s或更高。" + +#: inc/classes/class-wp-rocket-requirements-check.php:156 +#, php-format +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "WordPress%1$s。要使用這個版本的 WP Rocket,請將 WordPress 版本升級到%1$s或更高。" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "如果你無法升級,你可以使用下方的按鈕來還原先前的版本。" + +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +#, php-format +msgid "Re-install version %s" +msgstr "重新安裝版本 %s" + +#: inc/classes/logger/class-logger.php:260 +#: inc/classes/logger/class-logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/classes/logger/class-logger.php:266 +#: inc/classes/logger/class-logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/classes/logger/class-logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:64 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr " %1$s的 Critical CSS 未產生。錯誤訊息:%2$s" + +#: inc/Engine/CriticalPath/ProcessorService.php:273 +#, php-format +msgid "Critical CSS for %s generated." +msgstr " %s 的 Critical CSS 已產生。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +#, php-format +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "產生 Critical CSS 目前正在執行 : %1$d 之 %2$d 已完成(重整頁面以查看進度)" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +#, php-format +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "Critical CSS 已產生完畢。 %1$d 之 %2$d 頁面。" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:79 +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +msgid "weekly" +msgstr "每週" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "資料庫最佳化程序正在執行..." + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "資料庫最佳化已完成。所有內容已被最佳化!" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "資料庫最佳化已完成。已優化清單如下:" + +#: inc/Engine/Admin/Database/Subscriber.php:235 +#, php-format +msgid "%1$d %2$s optimized." +msgstr "%1$d %2$s 最佳化。" + +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: inc/deprecated/deprecated.php:1786 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "工具" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "匯入、匯出、還原" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +#, php-format +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +#, php-format +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:95 +#, php-format +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:100 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:217 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:230 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:285 +#, php-format +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:300 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:315 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:329 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:333 +#, php-format +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" + +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#, php-format +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "發生意料之外的錯誤。WP-Rocket.me 或此伺服器設定可能有誤。如果問題持續發生,請尋求支援。" + +#: inc/common/admin-bar.php:124 +#: inc/functions/i18n.php:41 +#: inc/functions/i18n.php:51 +msgid "All languages" +msgstr "所有語言" + +#: inc/common/admin-bar.php:160 +msgid "Clear this post" +msgstr "清除這篇文章" + +#: inc/common/admin-bar.php:174 +msgid "Purge this URL" +msgstr "清除這個網址" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "重新產生 Critical Path CSS" + +#: inc/common/admin-bar.php:231 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "說明文件" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "每月" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "啟用 Imagify" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "免費安裝 Imagify" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "使用 Imagify 自動壓縮圖片容量." + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "了解更多" + +#: inc/deprecated/3.2.php:228 +#, php-format +msgid "Sitemap preload: %d pages have been cached." +msgstr "預先載入網站地圖: %d 頁面已加入快取。" + +#: inc/deprecated/3.2.php:261 +#, php-format +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "預先載入網站地圖: %d 尚未被快取的頁面現在已被預先加載。(重整頁面檢視進度)" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "延遲載入JavaScript 檔案" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "新增網址" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "在上傳你的設定檔前,你必須先修復以下問題:" + +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +#, php-format +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "從你的電腦選擇一個檔案 (檔案上限為 %s )" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "您的 CloudFlare 授權已認證通過." + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "您的 CloudFlare 授權認證失敗!" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "儲存並最佳化" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "最佳化" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "注意:" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "效能優化小秘訣:" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "檢測到第三方功能:" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "警告:" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "下載設定" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "將網站網址重新設定為:" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "套用到" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "所有檔案" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "圖片" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "新增 CNAME" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "觀看影片" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "基本" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "靜態資源" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "進階" + +#: inc/deprecated/deprecated.php:1944 +#, php-format +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "%1$s %2$s 至少要求 PHP %3$s 來正常運作。為使用此版本,請聯絡您的網站主機商並升級為 PHP %3$s 或是更高版本。如果您無法升級,請使用下方按鈕來恢復較早的 WP Rocket 版本。" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "伺服器類型:" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "PHP 版本號:" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "WordPress 版本號:" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "WordPress 網誌網路:" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "目前佈景主題:" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "目前網站語系:" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "啟用外掛:" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "所有啟用的外掛名稱" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "隱藏 WP Rocket 設定:" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "WP Rocket 設定已啟用" + +#: inc/Addon/Cloudflare/API/Client.php:190 +#: inc/Addon/Cloudflare/API/Client.php:204 +#: inc/Addon/Cloudflare/Cloudflare.php:74 +#: inc/Addon/Cloudflare/Cloudflare.php:109 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +#, php-format +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "查看 %1$s文件%2$s 以取得更多說明。" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "連結 CloudFlare 失敗" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "從清單中選擇網址" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "在您的 CloudFlare 帳戶中沒有網址可供選擇" + +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#: inc/functions/options.php:530 +#, php-format +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +#, php-format +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#: inc/functions/options.php:507 +#, php-format +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#: inc/functions/options.php:523 +#, php-format +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "你的註冊碼無效。" + +#: inc/functions/options.php:543 +#, php-format +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#: inc/functions/options.php:545 +#, php-format +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "這個網站是不允許的。" + +#: inc/functions/options.php:547 +#, php-format +msgid "Please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#: inc/functions/options.php:549 +#, php-format +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:555 +#, php-format +msgid "License validation failed: %s" +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:531 +msgid "Plugin installed successfully." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:532 +msgid "Sorry, you are not allowed to install plugins on this site." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:533 +msgid "Sorry, you are not allowed to do that." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:534 +msgid "Plugin install failed." +msgstr "" + +#: inc/vendors/classes/class-imagify-partner.php:535 +msgid "Go back" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "取消" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "在...之後清除快取" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "CSS & JavaScript" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "JavaScript" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "CSS" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "匯入設定" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "附加功能狀態" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "修改選項" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "Cloudflare 快取" + +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +#, php-format +msgid "Purges cached resources for your website. %s" +msgstr "立即為你的網站清除快取資源。%s" + +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "https://support.cloudflare.com/hc/en-us/articles/200169246" + +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "了解更多" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "清除所有 CloudFlare 快取檔案" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "恭喜!" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "繼續更多設定調整優化你的網站!" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "我的帳號" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "重新整理資訊" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "過期時間" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "檢視我的帳號" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "快速操作" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "移除所有快取檔案" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "重新產生 Critical CSS" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "常見問題" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "仍然無法找到解決方案?" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "提送支援單或是在我們友善的知識庫中獲得幫助。" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "尋求支援" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "在清理前請先備份你的資料庫" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "一旦開始執行資料庫清理,是沒有辦法恢復的。" + +#: views/settings/page-sections/imagify.php:21 +#, php-format +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "WP Rocket 不會自動驗證你的授權。" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#: views/settings/page-sections/tools.php:20 +#, php-format +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:23 +#, php-format +msgid "%1$sDownload the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:26 +#, php-format +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "匯出設定" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "下載你的設定備份檔" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "下載設定" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "還原" + +#: views/settings/page-sections/tools.php:64 +#, php-format +msgid "Has version %s caused an issue on your website?" +msgstr "版本%s在你的網站上發生問題嗎?" + +#: views/settings/page-sections/tools.php:80 +#, php-format +msgid "Reinstall version %s" +msgstr "重新安裝版本%s" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "WP Rocket 設定" + +#: views/settings/page.php:30 +#, php-format +msgid "version %s" +msgstr "版本 %s" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "儲存修改" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "WP Rocket 絕對不會傳送任何網域名稱或是電子郵件(除非是為了驗證註冊)、IP 地址以及第三方的 API 金鑰。" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "啟用 Rocket 分析" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "如要修復一些常見問題這是一個很好的起點。" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "閱讀說明文件" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "如何正確的測量網站載入時間" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "閱讀我們的指南" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "閱讀更多" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "你沒有啟用登入會員的快取。" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "使用瀏覽器的無痕模式來檢查網站速度以及版面。" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "需要幫助嗎?" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:186 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:192 +#: inc/Addon/Cloudflare/API/Client.php:206 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:76 +#: inc/Addon/Cloudflare/Cloudflare.php:111 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +#, php-format +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:70 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:105 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:208 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:210 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:212 +msgid "hours" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:224 +#: inc/Addon/Cloudflare/Subscriber.php:253 +#, php-format +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:242 +#, php-format +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:328 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:403 +#, php-format +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:512 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:521 +#, php-format +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:632 +#: inc/admin/options.php:184 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:93 +#, php-format +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +#, php-format +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +#, php-format +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" + +#: inc/Addon/WebP/AdminSubscriber.php:173 +#, php-format +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:489 +#, php-format +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:528 +#, php-format +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:646 +#, php-format +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:654 +#, php-format +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:687 +msgid "For compatibility and best results, this option is disabled when Remove unused CSS is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:710 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:712 +#, php-format +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:730 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:740 +#, php-format +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:760 +#: inc/admin/ui/meta-boxes.php:106 +msgid "Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:763 +#, php-format +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:767 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:773 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:774 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:789 +#: inc/admin/ui/meta-boxes.php:109 +msgid "Load CSS asynchronously" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:792 +#, php-format +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +#, php-format +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:841 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:915 +#, php-format +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:931 +#: inc/admin/ui/meta-boxes.php:111 +msgid "Delay JavaScript execution" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:933 +#, php-format +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:942 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:943 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:944 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:961 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:994 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1003 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1058 +#, php-format +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1061 +msgid "Image Dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1064 +#, php-format +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1095 +#, php-format +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1120 +#, php-format +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1137 +#, php-format +msgid "Specify keywords (e.g. image filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1191 +#, php-format +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1209 +#, php-format +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1239 +#, php-format +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1642 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" + +#: inc/Engine/Admin/Settings/Page.php:1827 +#, php-format +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1918 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1928 +#, php-format +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2129 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:668 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +#, php-format +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +#, php-format +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +#, php-format +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +msgid "RocketCDN disabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +#, php-format +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +#, php-format +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +#, php-format +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +#, php-format +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +#, php-format +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:253 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:170 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:173 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:185 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +#, php-format +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:195 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:197 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +#, php-format +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:222 +#, php-format +msgid "Publish the %s" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +#, php-format +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +#, php-format +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:68 +#, php-format +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:71 +#, php-format +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:187 +#, php-format +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:228 +#, php-format +msgid "Critical CSS for %s in progress." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:262 +#, php-format +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:317 +#, php-format +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:330 +#, php-format +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#: inc/Engine/License/Renewal.php:76 +#, php-format +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:85 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:139 +#, php-format +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:152 +#, php-format +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:218 +#, php-format +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:227 +#, php-format +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#: inc/Engine/License/Renewal.php:546 +#, php-format +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#: inc/Engine/License/Renewal.php:567 +#, php-format +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#: inc/Engine/License/Renewal.php:595 +#, php-format +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#: inc/Engine/License/Upgrade.php:252 +#, php-format +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:16 +#, php-format +msgid "%s off" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:21 +#, php-format +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: inc/admin/ui/notices.php:739 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +#, php-format +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +#, php-format +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +#, php-format +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:18 +#, php-format +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#: inc/Engine/License/views/renewal-soon-banner.php:22 +#, php-format +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:19 +#, php-format +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:25 +#, php-format +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:35 +#, php-format +msgid "Save $%s" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:48 +#, php-format +msgid "%s websites" +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:54 +#, php-format +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:115 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:124 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:133 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:142 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:52 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:58 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:219 +#, php-format +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:264 +#, php-format +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:273 +#, php-format +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +#, php-format +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:481 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:484 +#, php-format +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:521 +#, php-format +msgid "Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to our support." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:322 +#, php-format +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:343 +#, php-format +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:776 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#: inc/Engine/Preload/Admin/Settings.php:57 +#, php-format +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/ThirdParty/Hostings/Cloudways.php:82 +#, php-format +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#: inc/ThirdParty/Hostings/Kinsta.php:158 +#, php-format +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:114 +#, php-format +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:157 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:158 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:202 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:208 +#, php-format +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:259 +#, php-format +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:280 +#, php-format +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +#, php-format +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:76 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:131 +#, php-format +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +#, php-format +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +#, php-format +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/admin/options.php:127 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:128 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:150 +#, php-format +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:176 +msgid "More info" +msgstr "" + +#: inc/admin/ui/notices.php:757 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:763 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/classes/dependencies/wp-media/background-processing/wp-background-process.php:447 +#, php-format +msgid "Every %d Minutes" +msgstr "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +#, php-format +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" + +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:136 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:194 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:218 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#: inc/deprecated/3.5.php:79 +#, php-format +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:206 +#, php-format +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:587 +#, php-format +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:54 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#: inc/deprecated/DeprecatedClassTrait.php:65 +#, php-format +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#: inc/functions/options.php:432 +#, php-format +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#: inc/functions/options.php:491 +#, php-format +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +#, php-format +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:30 +#, php-format +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#: views/cpcss/metabox/generate.php:23 +#, php-format +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:33 +#, php-format +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#: views/deactivation-intent/form.php:29 +#, php-format +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#: views/deactivation-intent/form.php:55 +#, php-format +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#: views/deactivation-intent/form.php:68 +#, php-format +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#: views/settings/dynamic-lists-update.php:19 +#, php-format +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#: views/settings/enable-google-fonts.php:29 +#, php-format +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:62 +#, php-format +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +#, php-format +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#: views/settings/page-sections/license.php:29 +#, php-format +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#: views/settings/page-sections/license.php:32 +#, php-format +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:40 +#, php-format +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/tools.php:69 +#, php-format +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:82 +#, php-format +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" diff --git a/languages/rocket.pot b/languages/rocket.pot new file mode 100644 index 0000000..efb8f70 --- /dev/null +++ b/languages/rocket.pot @@ -0,0 +1,3612 @@ +# Copyright (C) 2023 WP Media +# This file is distributed under the same license as the WP Rocket plugin. +msgid "" +msgstr "" +"Project-Id-Version: WP Rocket 3.15.1-alpha1\n" +"Report-Msgid-Bugs-To: http://wp-rocket.me/\n" +"Last-Translator: WP Media (http://wp-rocket.me/)\n" +"Language-Team: WP Media (http://www.transifex.com/projects/p/wp-media/) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2023-09-25T14:39:29+03:00\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"X-Generator: WP-CLI 2.7.1\n" +"X-Domain: rocket\n" + +#. Plugin Name of the plugin +msgid "WP Rocket" +msgstr "" + +#. Plugin URI of the plugin +msgid "https://wp-rocket.me" +msgstr "" + +#. Description of the plugin +msgid "The best WordPress performance plugin." +msgstr "" + +#. Author of the plugin +msgid "WP Media" +msgstr "" + +#. Author URI of the plugin +msgid "https://wp-media.me" +msgstr "" + +#. Translators: %s = Hosting name. +#: inc/3rd-party/hosting/flywheel.php:18 +#: inc/3rd-party/hosting/pressidium.php:18 +#: inc/3rd-party/hosting/wp-serveur.php:27 +#: inc/deprecated/3.6.php:697 +#: inc/deprecated/3.6.php:997 +#: inc/deprecated/3.9.php:22 +#: inc/ThirdParty/Hostings/Cloudways.php:90 +#: inc/ThirdParty/Hostings/Dreampress.php:44 +#: inc/ThirdParty/Hostings/Godaddy.php:63 +#: inc/ThirdParty/Hostings/O2Switch.php:49 +#: inc/ThirdParty/Hostings/OneCom.php:137 +#: inc/ThirdParty/Hostings/ProIsp.php:51 +#: inc/ThirdParty/Hostings/Savvii.php:50 +#: inc/ThirdParty/Hostings/WPEngine.php:47 +#: inc/ThirdParty/Hostings/WPXCloud.php:51 +msgid "Your site is hosted on %s, we have enabled Varnish auto-purge for compatibility." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:129 +msgid "Cloudflare did not provide any reply. Please try again later." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:135 +msgid "Cloudflare unexpected response" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:143 +msgid "Missing Cloudflare result." +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:194 +#: inc/deprecated/3.5.php:112 +#: inc/deprecated/3.5.php:169 +msgid "Incorrect Cloudflare email address or API key." +msgstr "" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/API/Client.php:198 +#: inc/Addon/Cloudflare/API/Client.php:212 +#: inc/Addon/Cloudflare/Cloudflare.php:75 +#: inc/Addon/Cloudflare/Cloudflare.php:108 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:157 +#: inc/deprecated/3.5.php:92 +#: inc/deprecated/3.5.php:116 +#: inc/deprecated/3.5.php:129 +#: inc/deprecated/3.5.php:157 +#: inc/deprecated/3.5.php:173 +msgid "Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#. translators: Documentation exists in EN, FR; use localized URL if applicable. +#: inc/Addon/Cloudflare/API/Client.php:200 +#: inc/Addon/Cloudflare/API/Client.php:214 +#: inc/Addon/Cloudflare/Auth/APIKey.php:63 +#: inc/Addon/Cloudflare/Cloudflare.php:77 +#: inc/Addon/Cloudflare/Cloudflare.php:110 +#: inc/deprecated/3.5.php:81 +#: inc/deprecated/3.5.php:94 +#: inc/deprecated/3.5.php:118 +#: inc/deprecated/3.5.php:131 +#: inc/deprecated/3.5.php:159 +#: inc/deprecated/3.5.php:175 +#: inc/deprecated/3.5.php:208 +msgid "https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare/?utm_source=wp_plugin&utm_medium=wp_rocket#add-on" +msgstr "" + +#: inc/Addon/Cloudflare/API/Client.php:208 +#: inc/deprecated/3.5.php:125 +msgid "Incorrect Cloudflare Zone ID." +msgstr "" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/Addon/Cloudflare/Auth/APIKey.php:61 +msgid "Cloudflare email and/or API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:71 +#: inc/deprecated/3.5.php:88 +msgid "Missing Cloudflare Zone ID." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:104 +#: inc/deprecated/3.5.php:153 +msgid "It looks like your domain is not set up on Cloudflare." +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:200 +msgid "days" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:203 +msgid "seconds" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:205 +msgid "minutes" +msgstr "" + +#: inc/Addon/Cloudflare/Cloudflare.php:207 +msgid "hours" +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = CloudFare API return message. +#: inc/Addon/Cloudflare/Subscriber.php:232 +#: inc/Addon/Cloudflare/Subscriber.php:261 +msgid "%1$sWP Rocket:%2$s %3$s" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Addon/Cloudflare/Subscriber.php:250 +msgid "%1$sWP Rocket:%2$s Cloudflare cache successfully purged." +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:311 +msgid "Cloudflare development mode error: %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:318 +msgid "Cloudflare development mode %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:337 +msgid "Cloudflare cache level error: %s" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:344 +msgctxt "Cloudflare caching level" +msgid "standard" +msgstr "" + +#. translators: %s is the caching level returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:350 +msgid "Cloudflare cache level set to %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:368 +msgid "Cloudflare minification error: %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:375 +msgid "Cloudflare minification %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:393 +msgid "Cloudflare rocket loader error: %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:400 +msgid "Cloudflare rocket loader %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:418 +msgid "Cloudflare browser cache error: %s" +msgstr "" + +#. translators: %s is the message returned by the CloudFlare API. +#: inc/Addon/Cloudflare/Subscriber.php:425 +msgid "Cloudflare browser cache set to %s" +msgstr "" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:536 +msgid "%1$sWP Rocket:%2$s Optimal settings activated for Cloudflare:" +msgstr "" + +#. translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/Addon/Cloudflare/Subscriber.php:545 +msgid "%1$sWP Rocket:%2$s Optimal settings deactivated for Cloudflare, reverted to previous settings:" +msgstr "" + +#: inc/Addon/Cloudflare/Subscriber.php:661 +#: inc/admin/options.php:144 +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:148 +msgid "WP Rocket: " +msgstr "" + +#. translators: %s is the error message returned by the API. +#: inc/Addon/Sucuri/Subscriber.php:96 +msgid "Sucuri cache purge error: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:101 +msgid "The Sucuri cache is being cleared. Note that it may take up to two minutes for it to be fully flushed." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:218 +msgid "Sucuri firewall API key was not found." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:231 +msgid "Sucuri firewall API key is invalid." +msgstr "" + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:286 +msgid "Error when contacting Sucuri firewall API. Error message was: %s" +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:301 +msgid "Could not get a response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:316 +msgid "Got an invalid response from the Sucuri firewall API." +msgstr "" + +#: inc/Addon/Sucuri/Subscriber.php:330 +msgid "The Sucuri firewall API returned an unknown error." +msgstr "" + +#. translators: %s is an error message. +#: inc/Addon/Sucuri/Subscriber.php:334 +msgid "The Sucuri firewall API returned the following error: %s" +msgid_plural "The Sucuri firewall API returned the following errors: %s" +msgstr[0] "" +msgstr[1] "" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:93 +msgid "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgid_plural "You are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s." +msgstr[0] "" +msgstr[1] "" + +#: inc/Addon/WebP/AdminSubscriber.php:105 +msgid "WebP cache is disabled by filter." +msgstr "" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:115 +#: inc/Addon/WebP/AdminSubscriber.php:141 +msgid "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. If you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#. Translators: %1$s = plugin name(s), %2$s = opening tag, %3$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:127 +#: inc/Addon/WebP/AdminSubscriber.php:153 +msgid "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgid_plural "You are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve your WebP images. %2$sMore info%3$s" +msgstr[0] "" +msgstr[1] "" + +#. Translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Addon/WebP/AdminSubscriber.php:173 +msgid "%5$sWe have not detected any compatible WebP plugin!%6$s%4$s If you don’t already have WebP images on your site consider using %3$sImagify%2$s or another supported plugin. %1$sMore info%2$s %4$s If you are not using WebP do not enable this option." +msgstr "" + +#: inc/Addon/WebP/AdminSubscriber.php:185 +msgid "WP Rocket will create separate cache files to serve your WebP images." +msgstr "" + +#: inc/admin/admin.php:18 +#: inc/common/admin-bar.php:266 +#: inc/deprecated/deprecated.php:1787 +msgid "Support" +msgstr "" + +#: inc/admin/admin.php:20 +msgid "Docs" +msgstr "" + +#: inc/admin/admin.php:22 +#: inc/common/admin-bar.php:254 +msgid "FAQ" +msgstr "" + +#: inc/admin/admin.php:24 +#: inc/common/admin-bar.php:63 +msgid "Settings" +msgstr "" + +#: inc/admin/admin.php:96 +#: inc/admin/admin.php:118 +#: inc/deprecated/3.5.php:898 +#: inc/Engine/Cache/AdminSubscriber.php:134 +msgid "Clear this cache" +msgstr "" + +#: inc/admin/admin.php:397 +msgid "Settings import failed: you do not have the permissions to do this." +msgstr "" + +#: inc/admin/admin.php:401 +msgid "Settings import failed: no file uploaded." +msgstr "" + +#: inc/admin/admin.php:405 +msgid "Settings import failed: incorrect filename." +msgstr "" + +#: inc/admin/admin.php:416 +msgid "Settings import failed: incorrect filetype." +msgstr "" + +#: inc/admin/admin.php:426 +msgid "Settings import failed: " +msgstr "" + +#: inc/admin/admin.php:442 +msgid "Settings import failed: unexpected file content." +msgstr "" + +#: inc/admin/admin.php:472 +msgid "Settings imported and saved." +msgstr "" + +#: inc/admin/options.php:84 +#: inc/Engine/Admin/Settings/Page.php:684 +msgid "Excluded CSS Files" +msgstr "" + +#: inc/admin/options.php:85 +#: inc/Engine/Admin/Settings/Page.php:838 +msgid "Excluded Inline JavaScript" +msgstr "" + +#: inc/admin/options.php:86 +#: inc/Engine/Admin/Settings/Page.php:856 +#: inc/Engine/Admin/Settings/Page.php:889 +#: inc/Engine/Admin/Settings/Page.php:936 +msgid "Excluded JavaScript Files" +msgstr "" + +#: inc/admin/options.php:87 +msgid "Defer JavaScript Files" +msgstr "" + +#: inc/admin/options.php:88 +msgid "Excluded Delay JavaScript Files" +msgstr "" + +#: inc/admin/options.php:89 +#: inc/Engine/Admin/Settings/Page.php:1329 +msgid "Never Cache URL(s)" +msgstr "" + +#: inc/admin/options.php:90 +#: inc/Engine/Admin/Settings/Page.php:1343 +msgid "Never Cache User Agent(s)" +msgstr "" + +#: inc/admin/options.php:91 +#: inc/Engine/Admin/Settings/Page.php:1349 +msgid "Always Purge URL(s)" +msgstr "" + +#: inc/admin/options.php:92 +#: inc/Engine/Admin/Settings/Page.php:1616 +msgid "Exclude files from CDN" +msgstr "" + +#. translators: 1 and 2 can be anything. +#: inc/admin/options.php:110 +msgid "%1$s: %2$s" +msgstr "" + +#: inc/admin/options.php:120 +msgid "The following pattern is invalid and has been removed:" +msgid_plural "The following patterns are invalid and have been removed:" +msgstr[0] "" +msgstr[1] "" + +#: inc/admin/options.php:136 +msgid "More info" +msgstr "" + +#: inc/admin/ui/meta-boxes.php:37 +#: inc/admin/ui/notices.php:671 +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear cache" +msgstr "" + +#. translators: %1$s WP Rocket plugin name; %2$s = file name. +#: inc/admin/ui/notices.php:30 +#: inc/admin/ui/notices.php:43 +msgid "" +"%1$s has not been deactivated due to missing writing permissions.
    \n" +"Make %2$s writeable and retry deactivation, or force deactivation now:" +msgstr "" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:97 +msgid "%s: One or more plugins have been enabled or disabled, clear the cache if they affect the front end of your site." +msgstr "" + +#. translators: %s is WP Rocket plugin name. +#: inc/admin/ui/notices.php:141 +msgid "%s: The following plugins are not compatible with this plugin and may cause unexpected results:" +msgstr "" + +#: inc/admin/ui/notices.php:147 +msgid "Deactivate" +msgstr "" + +#: inc/admin/ui/notices.php:189 +msgid "WP Rocket Footer JS is not an official add-on. It prevents some options in WP Rocket from working correctly. Please deactivate it if you have problems." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/admin/ui/notices.php:229 +msgid "Endurance Cache is currently enabled, which will conflict with WP Rocket Cache. Please set the Endurance Cache cache level to Off (Level 0) on the %1$sSettings > General%2$s page to prevent any issues." +msgstr "" + +#. translators: %1$s WP Rocket plugin name; %2$s = opening link; %3$s = closing link +#: inc/admin/ui/notices.php:250 +msgid "%1$s: A custom permalink structure is required for the plugin to work properly. %2$sGo to permalinks settings%3$s" +msgstr "" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:297 +msgid "%s could not modify the .htaccess file due to missing writing permissions." +msgstr "" + +#. translators: This is a doc title! %1$s = opening link; %2$s = closing link +#: inc/admin/ui/notices.php:303 +#: inc/admin/ui/notices.php:788 +msgid "Troubleshoot: %1$sHow to make system files writeable%2$s" +msgstr "" + +#. translators: Documentation exists in EN, DE, FR, ES, IT; use loaclised URL if applicable +#: inc/admin/ui/notices.php:305 +#: inc/admin/ui/notices.php:790 +msgid "https://docs.wp-rocket.me/article/626-how-to-make-system-files-htaccess-wp-config-writeable/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#: inc/admin/ui/notices.php:311 +msgid "Don’t worry, WP Rocket’s page caching and settings will still function correctly." +msgstr "" + +#: inc/admin/ui/notices.php:311 +msgid "For optimal performance, adding the following lines into your .htaccess is recommended (not required):" +msgstr "" + +#. translators: %1$s = plugin name, %2$s + %3$s = opening links, %4$s = closing link +#: inc/admin/ui/notices.php:458 +msgid "%1$s is good to go! %2$sTest your load time%4$s, or visit your %3$ssettings%4$s." +msgstr "" + +#: inc/admin/ui/notices.php:499 +msgid "Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?" +msgstr "" + +#: inc/admin/ui/notices.php:500 +msgid "This would help us to improve WP Rocket for you in the future." +msgstr "" + +#. translators: button text, click will expand data collection preview +#: inc/admin/ui/notices.php:506 +msgid "What info will we collect?" +msgstr "" + +#: inc/admin/ui/notices.php:511 +msgid "Below is a detailed view of all data WP Rocket will collect if granted permission. WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:520 +msgid "Yes, allow" +msgstr "" + +#. translators: button text for data collection opt-in +#: inc/admin/ui/notices.php:523 +msgid "No, thanks" +msgstr "" + +#: inc/admin/ui/notices.php:562 +msgid "Thank you!" +msgstr "" + +#: inc/admin/ui/notices.php:567 +msgid "WP Rocket now collects these metrics from your website:" +msgstr "" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:605 +msgid "%s: Cache cleared." +msgstr "" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:612 +msgid "%s: Post cache cleared." +msgstr "" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:619 +msgid "%s: Term cache cleared." +msgstr "" + +#. translators: %s = plugin name). +#: inc/admin/ui/notices.php:626 +msgid "%s: User cache cleared." +msgstr "" + +#: inc/admin/ui/notices.php:662 +#: inc/Engine/License/views/promo-banner.php:36 +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:32 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:42 +#: inc/Engine/License/views/renewal-expired-banner.php:30 +#: views/settings/page-sections/dashboard.php:46 +msgid "Dismiss this notice" +msgstr "" + +#: inc/admin/ui/notices.php:682 +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:131 +#: views/settings/page-sections/dashboard.php:188 +msgid "Clear Used CSS" +msgstr "" + +#: inc/admin/ui/notices.php:685 +msgid "Stop Preload" +msgstr "" + +#: inc/admin/ui/notices.php:691 +msgid "Turn on Remove Unused CSS" +msgstr "" + +#: inc/admin/ui/notices.php:697 +msgid "Enable “Separate Cache Files for Mobile Devices” now" +msgstr "" + +#: inc/admin/ui/notices.php:715 +msgid "Force deactivation " +msgstr "" + +#: inc/admin/ui/notices.php:745 +msgid "The following code should have been written to this file:" +msgstr "" + +#. translators: %s = plugin name. +#: inc/admin/ui/notices.php:776 +msgid "%s cannot configure itself due to missing writing permissions." +msgstr "" + +#. translators: %s = file/folder name +#: inc/admin/ui/notices.php:782 +msgid "Affected file/folder: %s" +msgstr "" + +#: inc/classes/admin/class-logs.php:124 +msgid "The debug file could not be deleted." +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:147 +msgid "To function properly, %1$s %2$s requires at least:" +msgstr "" + +#. Translators: %1$s = PHP version required. +#: inc/classes/class-wp-rocket-requirements-check.php:151 +msgid "PHP %1$s. To use this WP Rocket version, please ask your web host how to upgrade your server to PHP %1$s or higher." +msgstr "" + +#. Translators: %1$s = WordPress version required. +#: inc/classes/class-wp-rocket-requirements-check.php:156 +msgid "WordPress %1$s. To use this WP Rocket version, please upgrade WordPress to version %1$s or higher." +msgstr "" + +#: inc/classes/class-wp-rocket-requirements-check.php:159 +msgid "If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#. Translators: %s = Previous plugin version. +#: inc/classes/class-wp-rocket-requirements-check.php:161 +#: inc/deprecated/deprecated.php:1947 +msgid "Re-install version %s" +msgstr "" + +#. translators: %s is the plugin name. +#: inc/classes/class-wp-rocket-requirements-check.php:203 +#: inc/classes/class-wp-rocket-requirements-check.php:214 +#: inc/deprecated/3.11.php:236 +#: inc/deprecated/3.11.php:251 +#: inc/Engine/Plugin/UpdaterSubscriber.php:483 +#: inc/Engine/Plugin/UpdaterSubscriber.php:497 +msgid "%s Update Rollback" +msgstr "" + +#. translators: %1$s = missing tags; +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:151 +msgid "Failed to detect the following requirement in your theme: closing %1$s." +msgid_plural "Failed to detect the following requirements in your theme: closing %1$s." +msgstr[0] "" +msgstr[1] "" + +#. translators: Documentation exists in EN, FR; use localized URL if applicable. +#: inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php:159 +msgid "https://docs.wp-rocket.me/article/99-pages-not-cached-or-minify-cssjs-not-working/?utm_source=wp_plugin&utm_medium=wp_rocket#theme" +msgstr "" + +#: inc/common/admin-bar.php:84 +#: inc/common/admin-bar.php:147 +#: views/settings/page-sections/dashboard.php:150 +msgid "Clear and preload cache" +msgstr "" + +#: inc/common/admin-bar.php:135 +#: inc/functions/i18n.php:40 +#: inc/functions/i18n.php:50 +msgid "All languages" +msgstr "" + +#: inc/common/admin-bar.php:171 +msgid "Clear this post" +msgstr "" + +#: inc/common/admin-bar.php:185 +msgid "Purge this URL" +msgstr "" + +#: inc/common/admin-bar.php:205 +msgid "Purge Sucuri cache" +msgstr "" + +#: inc/common/admin-bar.php:229 +#: views/settings/fields/rocket-cdn.php:55 +msgid "Purge RocketCDN cache" +msgstr "" + +#: inc/common/admin-bar.php:242 +#: views/settings/partials/documentation.php:14 +msgid "Documentation" +msgstr "" + +#: inc/deprecated/3.2.php:52 +#: views/settings/page-sections/imagify.php:36 +msgid "Activate Imagify" +msgstr "" + +#: inc/deprecated/3.2.php:52 +msgid "Install Imagify for Free" +msgstr "" + +#: inc/deprecated/3.2.php:67 +msgid "Speed up your website and boost your SEO by reducing image file sizes without losing quality with Imagify." +msgstr "" + +#: inc/deprecated/3.2.php:72 +msgid "More details" +msgstr "" + +#. translators: %d is the number of pages preloaded. +#: inc/deprecated/3.2.php:228 +msgid "Sitemap preload: %d pages have been cached." +msgstr "" + +#. translators: %d = Number of pages preloaded. +#: inc/deprecated/3.2.php:261 +msgid "Sitemap preload: %d uncached pages have now been preloaded. (refresh to see progress)" +msgstr "" + +#. translators: %s is an URL. +#: inc/deprecated/3.3.php:761 +#: inc/deprecated/3.3.php:770 +#: inc/Engine/Plugin/UpdaterApiTools.php:32 +msgid "An unexpected error occurred. Something may be wrong with WP-Rocket.me or this server’s configuration. If you continue to have problems, contact support." +msgstr "" + +#: inc/deprecated/3.4.php:18 +msgid "Choose a domain from the list" +msgstr "" + +#: inc/deprecated/3.4.php:31 +msgid "No domain available in your Cloudflare account" +msgstr "" + +#: inc/deprecated/3.5.php:71 +#: inc/deprecated/3.5.php:195 +msgid "Curl is disabled on your server. Please ask your host to enable it. This is required for the Cloudflare Add-on to work correctly." +msgstr "" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:79 +msgid "Cloudflare email, API key and Zone ID are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#. translators: %1$s = opening link; %2$s = closing link +#: inc/deprecated/3.5.php:206 +msgid "Cloudflare email and API key are not set. Read the %1$sdocumentation%2$s for further guidance." +msgstr "" + +#: inc/deprecated/3.5.php:271 +msgid "Connection to Cloudflare failed" +msgstr "" + +#. translators: %s = CloudFare API return message. +#: inc/deprecated/3.5.php:587 +msgid "WP Rocket: %s" +msgstr "" + +#: inc/deprecated/3.5.php:592 +msgid "WP Rocket: Cloudflare cache successfully purged." +msgstr "" + +#: inc/deprecated/3.5.php:858 +#: inc/Engine/HealthCheck/HealthCheck.php:81 +msgid "The following scheduled event failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgid_plural "The following scheduled events failed to run. This may indicate the CRON system is not running properly, which can prevent some WP Rocket features from working as intended:" +msgstr[0] "" +msgstr[1] "" + +#: inc/deprecated/3.5.php:867 +#: inc/Engine/HealthCheck/HealthCheck.php:88 +msgid "Please contact your host to check if CRON is working." +msgstr "" + +#: inc/deprecated/3.10.php:163 +msgid "OPcache purge failed." +msgstr "" + +#: inc/deprecated/3.10.php:168 +msgid "OPcache successfully purged" +msgstr "" + +#: inc/deprecated/3.11.php:81 +msgid "Yoast SEO XML sitemap" +msgstr "" + +#. translators: %s = Name of the plugin. +#. translators: %s = plugin name, e.g. Yoast SEO. +#: inc/deprecated/3.11.php:83 +#: inc/deprecated/3.12.php:58 +#: inc/deprecated/3.12.php:87 +#: inc/deprecated/3.12.php:186 +#: inc/deprecated/3.12.php:253 +#: inc/deprecated/3.12.php:342 +msgid "We automatically detected the sitemap generated by the %s plugin. You can check the option to preload it." +msgstr "" + +#. translators: 1 and 3 are link openings, 2 is a link closing. +#: inc/deprecated/3.11.php:279 +#: inc/Engine/Plugin/UpdaterSubscriber.php:520 +msgid "%1$sReturn to WP Rocket%2$s or %3$sgo to Plugins page%2$s" +msgstr "" + +#: inc/deprecated/3.12.php:56 +msgid "All in One SEO XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:85 +msgid "Rank Math XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:184 +msgid "SEOPress XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:251 +msgid "The SEO Framework XML sitemap" +msgstr "" + +#: inc/deprecated/3.12.php:332 +msgid "Jetpack XML Sitemaps" +msgstr "" + +#: inc/deprecated/3.12.php:334 +msgid "Preload the sitemap from the Jetpack plugin" +msgstr "" + +#: inc/deprecated/3.15.php:28 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:74 +msgid "WP Rocket Options" +msgstr "" + +#: inc/deprecated/3.15.php:57 +#: views/metaboxes/post_edit_options.php:19 +msgid "Never cache this page" +msgstr "" + +#: inc/deprecated/3.15.php:61 +#: views/metaboxes/post_edit_options.php:23 +msgid "Activate these options on this post:" +msgstr "" + +#. translators: %s is the name of the option. +#: inc/deprecated/3.15.php:81 +#: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php:121 +msgid "Activate first the %s option." +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/deprecated/3.15.php:97 +#: views/metaboxes/post_edit_options.php:38 +msgid "%1$sNote:%2$s None of these options will be applied if this post has been excluded from cache in the global cache settings." +msgstr "" + +#: inc/deprecated/deprecated.php:240 +msgid "JS files with Deferred Loading JavaScript" +msgstr "" + +#: inc/deprecated/deprecated.php:293 +msgid "Add URL" +msgstr "" + +#: inc/deprecated/deprecated.php:1245 +#: inc/Engine/Admin/Settings/Settings.php:451 +msgid "Settings saved." +msgstr "" + +#: inc/deprecated/deprecated.php:1277 +#: views/settings/fields/import-form.php:22 +msgid "Before you can upload your import file, you will need to fix the following error:" +msgstr "" + +#. translators: %s is the maximum upload size set on the current server. +#: inc/deprecated/deprecated.php:1288 +#: views/settings/fields/import-form.php:35 +msgid "Choose a file from your computer (maximum size: %s)" +msgstr "" + +#: inc/deprecated/deprecated.php:1294 +#: inc/Engine/Admin/Settings/Render.php:422 +msgid "Upload file and import settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1385 +msgid "Your Cloudflare credentials are valid." +msgstr "" + +#: inc/deprecated/deprecated.php:1389 +msgid "Your Cloudflare credentials are invalid!" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Save and optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1453 +msgid "Optimize" +msgstr "" + +#: inc/deprecated/deprecated.php:1464 +#: inc/deprecated/deprecated.php:1666 +msgctxt "screen-reader-text" +msgid "Note:" +msgstr "" + +#: inc/deprecated/deprecated.php:1470 +msgctxt "screen-reader-text" +msgid "Performance tip:" +msgstr "" + +#: inc/deprecated/deprecated.php:1476 +msgctxt "screen-reader-text" +msgid "Third-party feature detected:" +msgstr "" + +#: inc/deprecated/deprecated.php:1488 +#: inc/deprecated/deprecated.php:1672 +msgctxt "screen-reader-text" +msgid "Warning:" +msgstr "" + +#: inc/deprecated/deprecated.php:1501 +msgctxt "button text" +msgid "Download settings" +msgstr "" + +#: inc/deprecated/deprecated.php:1531 +msgid "Replace site's hostname with:" +msgstr "" + +#: inc/deprecated/deprecated.php:1550 +#: inc/deprecated/deprecated.php:1587 +#: inc/deprecated/deprecated.php:1615 +#: views/settings/fields/cnames.php:41 +#: views/settings/fields/cnames.php:75 +#: views/settings/fields/cnames.php:105 +msgid "reserved for" +msgstr "" + +#: inc/deprecated/deprecated.php:1552 +#: inc/deprecated/deprecated.php:1589 +#: inc/deprecated/deprecated.php:1617 +#: views/settings/fields/cnames.php:44 +#: views/settings/fields/cnames.php:78 +#: views/settings/fields/cnames.php:108 +msgid "All files" +msgstr "" + +#: inc/deprecated/deprecated.php:1564 +#: inc/deprecated/deprecated.php:1594 +#: inc/deprecated/deprecated.php:1622 +#: views/settings/fields/cnames.php:56 +#: views/settings/fields/cnames.php:90 +#: views/settings/fields/cnames.php:120 +msgid "Images" +msgstr "" + +#: inc/deprecated/deprecated.php:1635 +#: views/settings/fields/cnames.php:132 +msgid "Add CNAME" +msgstr "" + +#: inc/deprecated/deprecated.php:1706 +msgid "Watch the video" +msgstr "" + +#: inc/deprecated/deprecated.php:1771 +msgid "Basic" +msgstr "" + +#: inc/deprecated/deprecated.php:1772 +msgid "Static Files" +msgstr "" + +#: inc/deprecated/deprecated.php:1773 +#: inc/Engine/Admin/Settings/Page.php:1586 +#: inc/Engine/Admin/Settings/Page.php:1597 +#: inc/Engine/CDN/Admin/Subscriber.php:28 +msgid "CDN" +msgstr "" + +#: inc/deprecated/deprecated.php:1774 +msgid "Advanced" +msgstr "" + +#: inc/deprecated/deprecated.php:1775 +#: inc/Engine/Admin/Settings/Page.php:1431 +msgid "Database" +msgstr "" + +#: inc/deprecated/deprecated.php:1776 +#: inc/Engine/Admin/Settings/Page.php:1164 +msgid "Preload" +msgstr "" + +#: inc/deprecated/deprecated.php:1786 +#: inc/Engine/Admin/Settings/Subscriber.php:168 +#: views/settings/page-sections/tools.php:33 +msgid "Tools" +msgstr "" + +#: inc/deprecated/deprecated.php:1789 +#: inc/Engine/Admin/Settings/Page.php:352 +#: views/settings/page-sections/dashboard.php:80 +msgid "License" +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = Plugin version, %3$s = PHP version required. +#: inc/deprecated/deprecated.php:1944 +msgid "%1$s %2$s requires at least PHP %3$s to function properly. To use this version, please ask your web host how to upgrade your server to PHP %3$s or higher. If you are not able to upgrade, you can rollback to the previous version by using the button below." +msgstr "" + +#. translators: 1: PHP class name, 2: version number, 3: replacement class name. +#: inc/deprecated/DeprecatedClassTrait.php:54 +msgid "The called class %1$s is deprecated since version %2$s! Use %3$s instead." +msgstr "" + +#. translators: 1: PHP class name, 2: version number. +#: inc/deprecated/DeprecatedClassTrait.php:65 +msgid "The called class %1$s is deprecated since version %2$s!" +msgstr "" + +#: inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php:92 +#: inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php:137 +#: inc/Engine/Admin/Database/Subscriber.php:79 +msgid "weekly" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:30 +#: inc/Engine/Admin/Settings/Page.php:1475 +msgid "Revisions" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:31 +#: inc/Engine/Admin/Settings/Page.php:1485 +msgid "Auto Drafts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:32 +#: inc/Engine/Admin/Settings/Page.php:1495 +msgid "Trashed Posts" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:33 +#: inc/Engine/Admin/Settings/Page.php:1505 +msgid "Spam Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:34 +#: inc/Engine/Admin/Settings/Page.php:1515 +msgid "Trashed Comments" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:35 +msgid "Transients" +msgstr "" + +#: inc/Engine/Admin/Database/Optimization.php:36 +msgid "Tables" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:85 +msgid "monthly" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:194 +msgid "Database optimization process is running" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:224 +msgid "Database optimization process is complete. Everything was already optimized!" +msgstr "" + +#: inc/Engine/Admin/Database/Subscriber.php:227 +msgid "Database optimization process is complete. List of optimized items below:" +msgstr "" + +#. translators: %1$d = number of items optimized, %2$s = type of optimization +#: inc/Engine/Admin/Database/Subscriber.php:235 +msgid "%1$d %2$s optimized." +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: inc/Engine/Admin/DomainChange/Subscriber.php:143 +msgid "%1$sWP Rocket:%2$s We detected that the website domain has changed. The configuration files must be regenerated for the page cache and all other optimizations to work as intended. %3$sLearn More%4$s" +msgstr "" + +#: inc/Engine/Admin/DomainChange/Subscriber.php:171 +msgid "Regenerate WP Rocket configuration files now" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Save Changes" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:201 +msgid "Validate License" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:257 +#: inc/Engine/Admin/Settings/Page.php:258 +msgid "Unavailable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:369 +msgid "API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:384 +msgid "Email address" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:410 +msgid "Dashboard" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:411 +msgid "Get help, account info" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:420 +msgid "My Status" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:430 +#: views/settings/page.php:75 +msgid "Rocket Analytics" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:432 +msgid "I agree to share anonymous data with the development team to help improve WP Rocket. %1$sWhat info will we collect?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:456 +#: inc/Engine/Cache/WPCache.php:354 +msgid "Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:457 +msgid "Basic cache options" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:464 +msgid "Mobile Cache" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:466 +msgid "Speed up your site for mobile visitors." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:471 +msgid "We detected you use a plugin that requires a separate cache for mobile, and automatically enabled this option for compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:475 +msgid "User Cache" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:478 +msgid "%1$sUser cache%2$s is great when you have user-specific or restricted content on your website." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:486 +msgid "Cache Lifespan" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:489 +msgid "Cache files older than the specified lifespan will be deleted.
    Enable %1$spreloading%2$s for the cache to be rebuilt automatically after lifespan expiration." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:503 +msgid "Enable caching for logged-in WordPress users" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:511 +msgid "Enable caching for mobile devices" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:526 +msgid "Separate cache files for mobile devices" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:528 +msgid "Most modern themes are responsive and should work without a separate cache. Enable this only if you have a dedicated mobile theme or plugin. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:544 +msgid "Specify time after which the global cache is cleared
    (0 = unlimited )" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:546 +msgid "Reduce lifespan to 10 hours or less if you notice issues that seem to appear periodically. %1$sWhy?%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:552 +#: inc/Engine/License/views/promo-banner.php:30 +#: inc/Engine/License/views/renewal-soon-banner.php:13 +msgid "Hours" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:553 +#: inc/Engine/License/views/promo-banner.php:29 +#: inc/Engine/License/views/renewal-soon-banner.php:12 +msgid "Days" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:602 +msgid "File Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:603 +msgid "Optimize CSS & JS" +msgstr "" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP Rocket”. +#: inc/Engine/Admin/Settings/Page.php:611 +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable this option in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:621 +msgid "CSS Files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:630 +msgid "JavaScript Files" +msgstr "" + +#. translators: %1$s = type of minification (HTML, CSS or JS), %2$s = “WP Rocket”. +#: inc/Engine/Admin/Settings/Page.php:637 +msgid "%1$s Minification is currently activated in Autoptimize. If you want to use %2$s’s minification, disable those options in Autoptimize." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:642 +msgid "If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues:" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:646 +msgid "Also, please check our %1$sdocumentation%2$s for a list of compatibility exclusions." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:651 +msgid "Internal scripts are excluded by default to prevent issues. Remove them to take full advantage of this option." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:654 +msgid "If this causes trouble, restore the default exclusions, found %1$shere%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:663 +msgid "Minify CSS files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:664 +msgid "Minify CSS removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:677 +#: inc/Engine/Admin/Settings/Page.php:741 +#: inc/Engine/Admin/Settings/Page.php:807 +#: inc/Engine/Admin/Settings/Page.php:831 +msgid "This could break things!" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:678 +#: inc/Engine/Admin/Settings/Page.php:742 +#: inc/Engine/Admin/Settings/Page.php:808 +#: inc/Engine/Admin/Settings/Page.php:832 +msgid "If you notice any errors on your website after having activated this setting, just deactivate it again, and your site will be back to normal." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:679 +msgid "Activate minify CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:685 +msgid "Specify URLs of CSS files to be excluded from minification (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:686 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).css wildcards to exclude all CSS files located at a specific path." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:688 +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external CSS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:701 +#: inc/Engine/Admin/Settings/Page.php:723 +msgid "Optimize CSS delivery" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance, but limited only to the users with active license." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:706 +msgid "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:716 +msgid "Optimize CSS Delivery features are disabled on local environments. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:736 +#: inc/Engine/Optimization/RUCSS/Admin/OptionSubscriber.php:74 +msgid "Remove Unused CSS" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:739 +msgid "Removes unused CSS per page and helps to reduce page size and HTTP requests. Recommended for best performance. Test thoroughly! %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:743 +msgid "Activate Remove Unused CSS" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:749 +msgid "CSS safelist" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:750 +msgid "Specify CSS filenames, IDs or classes that should not be removed (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:765 +#: inc/Engine/CriticalPath/Admin/Subscriber.php:200 +msgid "Load CSS asynchronously" +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/Engine/Admin/Settings/Page.php:768 +msgctxt "WP Critical CSS compatibility" +msgid "Load CSS asynchronously is currently handled by the %1$s plugin. If you want to use WP Rocket’s load CSS asynchronously option, disable the %1$s plugin." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:770 +msgid "Generates critical path CSS and loads CSS asynchronously. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:776 +msgid "Fallback critical CSS" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:778 +msgid "Provides a fallback if auto-generated critical path CSS is incomplete. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:793 +msgid "Minify JavaScript files" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:794 +msgid "Minify JavaScript removes whitespace and comments to reduce the file size." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:809 +msgid "Activate minify JavaScript" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:814 +msgid "Combine JavaScript files (Enable Minify JavaScript files to select)" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:816 +msgid "Combine JavaScript files combines your site’s internal, 3rd party and inline JS reducing HTTP requests. Not recommended if your site uses HTTP/2. %1$sMore info%2$s" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:817 +msgid "For compatibility and best results, this option is disabled when delay javascript execution is enabled." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:833 +msgid "Activate combine JavaScript" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:840 +msgid "Specify patterns of inline JavaScript to be excluded from concatenation (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:857 +msgid "Specify URLs of JavaScript files to be excluded from minification and concatenation (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:858 +msgid "Internal: The domain part of the URL will be stripped automatically. Use (.*).js wildcards to exclude all JS files located at a specific path." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:860 +msgid "3rd Party: Use either the full URL path or only the domain name, to exclude external JS. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:876 +#: inc/Engine/Optimization/DeferJS/AdminSubscriber.php:76 +msgid "Load JavaScript deferred" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:878 +msgid "Load JavaScript deferred eliminates render-blocking JS on your site and can improve load time. %1$sMore info%2$s" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:891 +msgid "Specify URLs or keywords of JavaScript files to be excluded from defer (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:907 +#: inc/Engine/Optimization/DelayJS/Admin/Subscriber.php:210 +msgid "Delay JavaScript execution" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:909 +msgid "Improves performance by delaying the loading of JavaScript files until user interaction (e.g. scroll, click). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:918 +msgid "One-click exclusions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:919 +msgid "When using the Delay JavaScript Execution, you might experience delay loading elements located in the viewport that need to appear immediately - e.g. slider, header, menu." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:920 +msgid "If you need instant visibility, click below on files that should NOT be delayed. This selection will help users interact with the elements straight away." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:937 +msgid "Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:969 +msgid "Media" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:970 +msgid "LazyLoad, image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:979 +msgid "Autoptimize" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1033 +msgid "LazyLoad" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1036 +msgid "It can improve actual and perceived loading time as images, iframes, and videos will be loaded only as they enter (or about to enter) the viewport and reduces the number of HTTP requests. %1$sMore Info%2$s" +msgstr "" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1043 +msgid "LazyLoad is currently activated in %2$s. If you want to use WP Rocket’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1046 +msgid "Image Dimensions" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1049 +msgid "Add missing width and height attributes to images. Helps prevent layout shifts and improve the reading experience for your visitors. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1068 +msgid "Enable for images" +msgstr "" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin names. +#: inc/Engine/Admin/Settings/Page.php:1080 +msgid "LazyLoad for images is currently activated in %2$s. If you want to use %1$s’s LazyLoad, disable this option in %2$s." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1088 +msgid "Enable for CSS background images" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1103 +msgid "Enable for iframes and videos" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1118 +msgid "Replace YouTube iframe with preview image" +msgstr "" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "Replace YouTube iframe with preview image is not compatible with %2$s." +msgstr "" + +#. translators: %1$s = “WP Rocket”, %2$s = a list of plugin or themes names. +#: inc/Engine/Admin/Settings/Page.php:1120 +msgid "This can significantly improve your loading time if you have a lot of YouTube videos on a page." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1135 +msgid "Excluded images or iframes" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1137 +msgid "Specify keywords (e.g. image filename, CSS filename, CSS class, domain) from the image or iframe code to be excluded (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1145 +msgid "Add missing image dimensions" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1165 +msgid "Generate cache files, preload fonts" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1177 +msgid "Preload Cache" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1180 +msgid "When you enable preloading WP Rocket will automatically detect your sitemaps and save all URLs to the database. The plugin will make sure that your cache is always preloaded." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1188 +msgid "Preload Links" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1191 +msgid "Link preloading improves the perceived load time by downloading a page when a user hovers over the link. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1199 +msgid "Prefetch DNS Requests" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1201 +msgid "DNS prefetching can make external files load faster, especially on mobile networks" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1206 +msgid "Preload Fonts" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1209 +msgid "Improves performance by helping browsers discover fonts in CSS files. %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1223 +msgid "Activate Preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1234 +msgid "Exclude URLs" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1239 +msgid "Specify URLs to be excluded from the preload feature (one per line). %1$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1250 +msgid "URLs to prefetch" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1251 +msgid "Specify external hosts to be prefetched (no http:, one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1260 +msgid "Fonts to preload" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1261 +msgid "Specify urls of the font files to be preloaded (one per line). Fonts must be hosted on your own domain, or the domain you have specified on the CDN tab." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1262 +msgid "The domain part of the URL will be stripped automatically.
    Allowed font extensions: otf, ttf, svg, woff, woff2." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1271 +msgid "Enable link preloading" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1290 +msgid "Advanced Rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1291 +msgid "Fine-tune cache rules" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1302 +msgid "Sensitive pages like custom login/logout URLs should be excluded from cache." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1305 +msgctxt "plugin name" +msgid "WooCommerce" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1307 +msgctxt "plugin name" +msgid "Easy Digital Downloads" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1309 +msgctxt "plugin name" +msgid "iThemes Exchange" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1311 +msgctxt "plugin name" +msgid "Jigoshop" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1313 +msgctxt "plugin name" +msgid "WP-Shop" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = plugin name, %3$s closing tag. +#: inc/Engine/Admin/Settings/Page.php:1319 +msgid "
    Cart, checkout and \"my account\" pages set in %1$s%2$s%3$s will be detected and never cached by default." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1337 +msgid "Never Cache Cookies" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1355 +msgid "Cache Query String(s)" +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1358 +msgid "%1$sCache for query strings%2$s enables you to force caching for specific GET parameters." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1369 +msgid "Specify URLs of pages or posts that should never be cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1370 +#: inc/Engine/Admin/Settings/Page.php:1398 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to address multiple URLs under a given path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1379 +msgid "Specify full or partial IDs of cookies that, when set in the visitor's browser, should prevent a page from getting cached (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1387 +msgid "Specify user agent strings that should never see cached pages (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1388 +msgid "Use (.*) wildcards to detect parts of UA strings." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1397 +msgid "Specify URLs you always want purged from cache whenever you update any post or page (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1406 +msgid "Specify query strings for caching (one per line)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1432 +msgid "Optimize, reduce bloat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1439 +msgid "Post Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1441 +msgid "Post revisions and drafts will be permanently deleted. Do not use this option if you need to retain revisions or drafts." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1446 +msgid "Comments Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1448 +msgid "Spam and trashed comments will be permanently deleted." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1452 +msgid "Transients Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1454 +msgid "Transients are temporary options; they are safe to remove. They will be automatically regenerated as your plugins require them." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1458 +msgid "Database Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1460 +msgid "Reduces overhead of database tables" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1464 +msgid "Automatic Cleanup" +msgstr "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1477 +msgid "%s revision in your database." +msgid_plural "%s revisions in your database." +msgstr[0] "" +msgstr[1] "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1487 +msgid "%s draft in your database." +msgid_plural "%s drafts in your database." +msgstr[0] "" +msgstr[1] "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1497 +msgid "%s trashed post in your database." +msgid_plural "%s trashed posts in your database." +msgstr[0] "" +msgstr[1] "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1507 +msgid "%s spam comment in your database." +msgid_plural "%s spam comments in your database." +msgstr[0] "" +msgstr[1] "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1517 +msgid "%s trashed comment in your database." +msgid_plural "%s trashed comments in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1525 +msgid "All transients" +msgstr "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1527 +msgid "%s transient in your database." +msgid_plural "%s transients in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1535 +msgid "Optimize Tables" +msgstr "" + +#. translators: %s is the number of revisions found in the database. It's a formatted number, don't use %d. +#: inc/Engine/Admin/Settings/Page.php:1537 +msgid "%s table to optimize in your database." +msgid_plural "%s tables to optimize in your database." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1548 +msgid "Schedule Automatic Cleanup" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1560 +msgid "Frequency" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1568 +msgid "Daily" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1569 +msgid "Weekly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1570 +msgid "Monthly" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1587 +msgid "Integrate your CDN" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1599 +msgid "All URLs of static files (CSS, JS, images) will be rewritten to the CNAME(s) you provide." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Admin/Settings/Page.php:1601 +msgid "Not required for services like Cloudflare and Sucuri. Please see our available %1$sAdd-ons%2$s." +msgstr "" + +#. translators: %1$s = opening em tag, %2$l = list of add-on name(s), %3$s = closing em tag. +#: inc/Engine/Admin/Settings/Page.php:1647 +msgid "%1$s%2$l Add-on%3$s is currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgid_plural "%1$s%2$l Add-ons%3$s are currently enabled. Configuration of the CDN settings is not required for %2$l to work on your site." +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/Admin/Settings/Page.php:1673 +msgid "Enable Content Delivery Network" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1682 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:159 +msgid "CDN CNAME(s)" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1683 +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:160 +msgid "Specify the CNAME(s) below" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1690 +msgid "Specify URL(s) of files that should not get served via CDN (one per line)." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1691 +msgid "The domain part of the URL will be stripped automatically.
    Use (.*) wildcards to exclude all files of a given file type located at a specific path." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1714 +#: inc/Engine/Admin/Settings/Page.php:1722 +msgid "Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1715 +msgid "Control WordPress Heartbeat API" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1723 +msgid "Reducing or disabling the Heartbeat API’s activity can help save some of your server’s resources." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1729 +msgid "Reduce or disable Heartbeat activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "Reducing activity will change Heartbeat frequency from one hit each minute to one hit every 2 minutes." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1730 +msgid "Disabling Heartbeat entirely may break plugins and themes using this API." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1744 +msgid "Do not limit" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1745 +msgid "Reduce activity" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1746 +msgid "Disable" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1754 +msgid "Control Heartbeat" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1763 +msgid "Behavior in backend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1770 +msgid "Behavior in post editor" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1776 +msgid "Behavior in frontend" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1793 +#: views/settings/page-sections/tutorials.php:39 +msgid "Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1794 +msgid "Add more features" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1801 +msgid "One-click Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1802 +msgid "One-Click Add-ons are features extending available options without configuration needed. Switch the option \"on\" to enable from this screen." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1812 +msgid "Rocket Add-ons" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1813 +msgid "Rocket Add-ons are complementary features extending available options." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1823 +#: inc/Engine/Admin/Settings/Page.php:1992 +msgid "Cloudflare" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1829 +msgid "Integrate your Cloudflare account with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1830 +msgid "Provide your account email, global API key, and domain to use options such as clearing the Cloudflare cache and enabling optimal settings with WP Rocket." +msgstr "" + +#. translators: %1$s = opening span tag, %2$s = closing span tag. +#: inc/Engine/Admin/Settings/Page.php:1833 +msgid "%1$sPlanning on using Automatic Platform Optimization (APO)?%2$s Just activate the official Cloudflare plugin and configure it. WP Rocket will automatically enable compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1881 +msgid "Varnish" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1887 +msgid "If Varnish runs on your server, you must activate this add-on." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1889 +msgid "Varnish cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date.
    %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1924 +msgid "WebP Compatibility" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1930 +msgid "Improve browser compatibility for WebP images." +msgstr "" + +#. translators: %1$s and %3$s = opening tag, %2$s = closing tag. +#: inc/Engine/Admin/Settings/Page.php:1934 +msgid "Enable this option if you would like WP Rocket to serve WebP images to compatible browsers. Please note that WP Rocket cannot create WebP images for you. To create WebP images we recommend %1$sImagify%2$s. %3$sMore info%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1954 +msgid "Clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1957 +msgid "Provide your API key to clear the Sucuri cache when WP Rocket’s cache is cleared." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1965 +#: inc/Engine/Admin/Settings/Page.php:2109 +msgid "Sucuri" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:1971 +msgid "Synchronize Sucuri cache with this add-on." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2009 +msgid "Cloudflare credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2018 +msgid "Cloudflare settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2032 +msgctxt "Cloudflare" +msgid "Global API key:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2033 +msgctxt "Cloudflare" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2045 +msgctxt "Cloudflare" +msgid "Account email" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2054 +msgctxt "Cloudflare" +msgid "Zone ID" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2064 +msgid "Development mode" +msgstr "" + +#. translators: %1$s = link opening tag, %2$s = link closing tag. +#: inc/Engine/Admin/Settings/Page.php:2066 +msgid "Temporarily activate development mode on your website. This setting will automatically turn off after 3 hours. %1$sLearn more%2$s" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2074 +msgid "Optimal settings" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2075 +msgid "Automatically enhances your Cloudflare configuration for speed, performance grade and compatibility." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2083 +msgid "Relative protocol" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2084 +msgid "Should only be used with Cloudflare's flexible SSL feature. URLs of static files (CSS, JS, images) will be rewritten to use // instead of http:// or https://." +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2122 +msgid "Sucuri credentials" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2135 +msgctxt "Sucuri" +msgid "Firewall API key (for plugin), must be in format {32 characters}/{32 characters}:" +msgstr "" + +#: inc/Engine/Admin/Settings/Page.php:2136 +msgctxt "Sucuri" +msgid "Find your API key" +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:361 +msgid "Sucuri Add-on: The API key for the Sucuri firewall must be in format {32 characters}/{32 characters}." +msgstr "" + +#: inc/Engine/Admin/Settings/Settings.php:667 +msgid "Sorry! Adding /(.*) in Advanced Rules > Never Cache URL(s) was not saved because it disables caching and optimizations for every page on your site." +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:169 +msgid "Import, Export, Rollback" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:194 +#: views/settings/page-sections/imagify.php:14 +msgid "Image Optimization" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:195 +msgid "Compress your images" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:212 +#: views/settings/page-sections/tutorials.php:48 +msgid "Tutorials" +msgstr "" + +#: inc/Engine/Admin/Settings/Subscriber.php:213 +msgid "Getting started and how to videos" +msgstr "" + +#: inc/Engine/Cache/PurgeExpired/Subscriber.php:75 +msgid "WP Rocket Expired Cache Interval" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:337 +msgid "WP_CACHE value" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:358 +msgid "The WP_CACHE constant needs to be set to true for WP Rocket cache to work properly" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:367 +msgid "WP_CACHE is set to true" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:375 +msgid "WP_CACHE is not set" +msgstr "" + +#: inc/Engine/Cache/WPCache.php:383 +msgid "WP_CACHE is set to false" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:90 +msgid "Next Billing Date" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:99 +msgid "No Subscription" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:135 +msgid "Your RocketCDN subscription is currently active." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = CDN URL, %3$s = closing tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:141 +msgid "To use RocketCDN, replace your CNAME with %1$s%2$s%3$s." +msgstr "" + +#. translators: %1$is = opening link tag, %2$s = closing link tag. +#: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php:152 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:230 +#: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php:334 +msgid "%1$sMore Info%2$s" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:134 +msgid "We could not fetch the current price because RocketCDN API returned an unexpected error code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:140 +msgid "RocketCDN is not available at the moment. Please retry later." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:177 +msgid "RocketCDN cache purge failed: Missing identifier parameter." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:186 +msgid "RocketCDN cache purge failed: Missing user token." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:212 +msgid "RocketCDN cache purge failed: The API returned an unexpected response code." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:221 +msgid "RocketCDN cache purge failed: The API returned an empty response." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:230 +msgid "RocketCDN cache purge failed: The API returned an unexpected response." +msgstr "" + +#. translators: %s = message returned by the API. +#: inc/Engine/CDN/RocketCDN/APIClient.php:239 +msgid "RocketCDN cache purge failed: %s." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/APIClient.php:247 +msgid "RocketCDN cache purge successful." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:137 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php:72 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerEnableRoute.php:302 +msgid "RocketCDN enabled" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/RESTSubscriber.php:160 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php:31 +#: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/registerDisableRoute.php:147 +msgid "RocketCDN disabled" +msgstr "" + +#. Translators: %s = date formatted using date_i18n() and get_option( 'date_format' ). +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:27 +msgid "Valid until %s only!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:36 +msgid "Speed up your website thanks to:" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:42 +msgid "High performance Content Delivery Network (CDN) with %1$sunlimited bandwidth%2$s" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:48 +msgid "Easy configuration: the %1$sbest CDN settings%2$s are automatically applied" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:54 +msgid "WP Rocket integration: the CDN option is %1$sautomatically configured%2$s in our plugin" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:58 +msgid "Learn more about RocketCDN" +msgstr "" + +#. translators: %1$s = discounted price, %2$s = regular price. +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:65 +msgid "*$%1$s/month for 12 months then $%2$s/month. You can cancel your subscription at any time." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:86 +msgid "Billed monthly" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:87 +msgid "Get Started" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-big.php:92 +msgid "Reduce this banner" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:17 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/cta-small.php:20 +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:13 +msgid "Learn More" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:23 +msgid "RocketCDN is unavailable on local domains and staging sites." +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/dashboard-status.php:32 +msgid "Get RocketCDN" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:11 +msgid "New!" +msgstr "" + +#: inc/Engine/CDN/RocketCDN/views/promote-notice.php:12 +msgid "Speed up your website with RocketCDN, WP Rocket’s Content Delivery Network!" +msgstr "" + +#: inc/Engine/Common/Queue/RUCSSQueueRunner.php:265 +msgid "Every minute" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Admin.php:264 +msgid "Regenerate Critical Path CSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:144 +#: views/cpcss/metabox/generate.php:47 +msgid "Generate Specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:145 +#: views/cpcss/metabox/generate.php:45 +msgid "Regenerate specific CPCSS" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:216 +msgid "This feature is not available for non-public post types." +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:219 +msgid "%l to use this feature." +msgstr "" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:222 +msgid "Publish the %s" +msgstr "" + +#. translators: %s = post type. +#: inc/Engine/CriticalPath/Admin/Post.php:223 +msgid "Enable Load CSS asynchronously in WP Rocket settings" +msgstr "" + +#: inc/Engine/CriticalPath/Admin/Post.php:224 +msgid "Enable Load CSS asynchronously in the options above" +msgstr "" + +#. translators: %1$s = type of content, %2$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:64 +msgid "Critical CSS for %1$s not generated. Error: %2$s" +msgstr "" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:170 +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an empty response." +msgstr "" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:173 +msgid "Critical CSS for %1$s not generated. Error: The API returned an empty response." +msgstr "" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/APIClient.php:185 +msgid "Critical CSS for %1$s on mobile not generated." +msgstr "" + +#. translators: %s = item URL. +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/APIClient.php:187 +#: inc/Engine/CriticalPath/ProcessorService.php:194 +msgid "Critical CSS for %1$s not generated." +msgstr "" + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:195 +msgid "Critical CSS for %1$s on mobile not generated. Error: The API returned an invalid response code." +msgstr "" + +#. translators: %s = URL. +#: inc/Engine/CriticalPath/APIClient.php:197 +msgid "Critical CSS for %1$s not generated. Error: The API returned an invalid response code." +msgstr "" + +#. translators: %1$s = error message. +#: inc/Engine/CriticalPath/APIClient.php:205 +#: inc/Engine/CriticalPath/ProcessorService.php:201 +msgid "Error: %1$s" +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:176 +msgid "Critical CSS generation is currently running." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:181 +msgid "Go to the %1$sWP Rocket settings%2$s page to track progress." +msgstr "" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:396 +msgid "Critical CSS generation is currently running: %1$d of %2$d page types completed. (Refresh this page to view progress)" +msgstr "" + +#. Translators: %1$d = number of critical CSS generated, %2$d = total number of critical CSS to generate. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:472 +msgid "Critical CSS generation finished for %1$d of %2$d page types." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Critical CSS generation encountered one or more errors." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:479 +msgid "Learn more." +msgstr "" + +#. translators: %1$ = opening bold tag, %2$ = closing bold tag. +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:840 +msgid "We highly recommend the %1$supdated Remove Unused CSS%2$s for a better CSS optimization. Load CSS Asynchronously is always available as a back-up." +msgstr "" + +#: inc/Engine/CriticalPath/CriticalCSSSubscriber.php:845 +msgid "Stay with the old option" +msgstr "" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:68 +msgid "Critical CSS for %1$s on mobile not generated. Error: The destination folder could not be created." +msgstr "" + +#. translators: %s = item URL. +#: inc/Engine/CriticalPath/DataManager.php:71 +msgid "Critical CSS for %1$s not generated. Error: The destination folder could not be created." +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:106 +msgid "Critical CSS file for mobile does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:108 +msgid "Critical CSS file does not exist" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:120 +msgid "Critical CSS file for mobile cannot be deleted" +msgstr "" + +#: inc/Engine/CriticalPath/DataManager.php:122 +msgid "Critical CSS file cannot be deleted" +msgstr "" + +#. translators: %1$s = item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:187 +msgid "Mobile Critical CSS for %1$s not generated." +msgstr "" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:228 +msgid "Critical CSS for %s in progress." +msgstr "" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:262 +msgid "Mobile Critical CSS for %s generated." +msgstr "" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:273 +msgid "Critical CSS for %s generated." +msgstr "" + +#: inc/Engine/CriticalPath/ProcessorService.php:295 +msgid "Critical CSS file deleted successfully." +msgstr "" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:317 +msgid "Mobile Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#. translators: %1$s = Item URL or item type. +#: inc/Engine/CriticalPath/ProcessorService.php:330 +msgid "Critical CSS for %1$s timeout. Please retry a little later." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWP.php:141 +msgid "Mobile CPCSS generation not enabled." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:36 +#: inc/Engine/CriticalPath/RESTWPPost.php:69 +msgid "Requested post does not exist." +msgstr "" + +#: inc/Engine/CriticalPath/RESTWPPost.php:46 +msgid "Cannot generate CPCSS for unpublished post." +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:142 +msgid "Scheduled Cache Purge" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:143 +msgid "Scheduled Database Optimization" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:144 +msgid "Database Optimization Process" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:145 +msgctxt "noun" +msgid "Preload" +msgstr "" + +#: inc/Engine/HealthCheck/HealthCheck.php:146 +msgid "Critical Path CSS Generation Process" +msgstr "" + +#. translators: %1$s = , %2$s = price, %3$s = . +#: inc/Engine/License/Renewal.php:76 +msgid "Renew before it is too late, you will only pay %1$s%2$s%3$s!" +msgstr "" + +#. translators: %1$s = , %2$s = discount, %3$s = ,%4$s = , %5$s = price, %6$s=. +#: inc/Engine/License/Renewal.php:85 +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %4$s%5$s%6$s!" +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = price. +#: inc/Engine/License/Renewal.php:139 +msgid "Renew your license for 1 year now at %1$s%3$s%2$s." +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = discount percentage, %4$s = price. +#: inc/Engine/License/Renewal.php:152 +msgid "Renew your license for 1 year now and get %1$s%3$s OFF%2$s immediately: you will only pay %1$s%4$s%2$s!" +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = discount price. +#: inc/Engine/License/Renewal.php:218 +msgid "Renew before it is too late, you will pay %1$s%3$s%2$s." +msgstr "" + +#. translators: %1$s = , %2$s = discount percentage, %3$s = , %4$s = discount price. +#: inc/Engine/License/Renewal.php:227 +msgid "Renew with a %1$s%2$s discount%3$s before it is too late, you will only pay %1$s%4$s%3$s!" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:546 +msgid "You need a valid license to continue using this feature. %1$sRenew now%2$s before losing access." +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:567 +msgid "You need an active license to enable this option. %1$sRenew now%2$s." +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/Renewal.php:595 +msgid "You need an active license to enable this option. %1$sMore info%2$s." +msgstr "" + +#. translators: %1$s = promotion name, %2$s =
    , %3$s = , %4$s = promotion discount percentage, %5$s = . +#: inc/Engine/License/Upgrade.php:251 +msgid "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Plus or Infinite!%5$s" +msgid_plural "Take advantage of %1$s to speed up more websites:%2$s get a %3$s%4$s off%5$s for %3$supgrading your license to Infinite!%5$s" +msgstr[0] "" +msgstr[1] "" + +#: inc/Engine/License/Upgrade.php:382 +#: inc/Engine/License/Upgrade.php:405 +msgid "Unlimited" +msgstr "" + +#. translators: %s = promotion discount percentage. +#: inc/Engine/License/views/promo-banner.php:16 +msgid "%s off" +msgstr "" + +#. translators: %s = promotion name. +#: inc/Engine/License/views/promo-banner.php:21 +msgid "%s promotion is live!" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:27 +msgid "Hurry Up! Deal ends in:" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:31 +#: inc/Engine/License/views/renewal-soon-banner.php:14 +msgid "Minutes" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:32 +#: inc/Engine/License/views/renewal-soon-banner.php:15 +msgid "Seconds" +msgstr "" + +#: inc/Engine/License/views/promo-banner.php:34 +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "Upgrade now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:11 +msgid "The Optimize CSS Delivery feature is disabled." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:15 +msgid "You can no longer use the Remove Unused CSS or Load CSS asynchronously options." +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:20 +msgid "You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd-disabled.php:29 +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:39 +#: inc/Engine/License/views/renewal-expired-banner.php:27 +#: inc/Engine/License/views/renewal-soon-banner.php:31 +msgid "Renew now" +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:11 +msgid "You will soon lose access to some features" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:18 +msgid "You need an %1$sactive license to continue optimizing your CSS delivery%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:24 +msgid "The Remove Unused CSS and Load CSS asynchronously features are great options to address the PageSpeed Insights recommendations and improve your website performance." +msgstr "" + +#. translators: %1$s = , %2$s = , %3$s = date. +#: inc/Engine/License/views/renewal-expired-banner-ocd.php:29 +msgid "They will be %1$sautomatically disabled on %3$s%2$s." +msgstr "" + +#: inc/Engine/License/views/renewal-expired-banner.php:11 +msgid "Your WP Rocket license is expired!" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-expired-banner.php:18 +msgid "Your website could be much faster if it could take advantage of our %1$snew features and enhancements%2$s. 🚀" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: inc/Engine/License/views/renewal-soon-banner.php:22 +msgid "Your %1$sWP Rocket license is about to expire%2$s: you will soon lose access to product updates and support." +msgstr "" + +#: inc/Engine/License/views/upgrade-popin.php:12 +msgid "Speed Up More Websites" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:19 +msgid "You can use WP Rocket on more websites by upgrading your license. To upgrade, simply pay the %1$sprice difference%2$s between your current and new licenses, as shown below." +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: inc/Engine/License/views/upgrade-popin.php:25 +msgid "%1$sN.B.%2$s: Upgrading your license does not change your expiration date" +msgstr "" + +#. translators: %s = price. +#: inc/Engine/License/views/upgrade-popin.php:35 +msgid "Save $%s" +msgstr "" + +#. translators: %s = number of websites. +#: inc/Engine/License/views/upgrade-popin.php:48 +msgid "%s websites" +msgstr "" + +#. translators: %s = license name. +#: inc/Engine/License/views/upgrade-popin.php:54 +msgid "Upgrade to %s" +msgstr "" + +#: inc/Engine/License/views/upgrade-section.php:11 +msgid "You can use WP Rocket on more websites by upgrading your license (you will only pay the price difference between your current and new licenses)." +msgstr "" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:62 +msgid "LazyLoad for images" +msgstr "" + +#: inc/Engine/Media/Lazyload/AdminSubscriber.php:63 +msgid "LazyLoad for iframes/videos" +msgstr "" + +#: inc/Engine/Media/Lazyload/CSS/Admin/Subscriber.php:48 +msgid "LazyLoad CSS backgrounds" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:195 +msgid "Analytics & Ads" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:200 +msgid "Plugins" +msgstr "" + +#: inc/Engine/Optimization/DelayJS/Admin/SiteList.php:205 +msgid "Themes" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:101 +msgid "You need an active license to get the latest version of the lists from our server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:116 +msgid "Could not get updated lists from server." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:125 +msgid "Lists are up to date." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:134 +msgid "Could not update lists." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/DynamicLists.php:143 +msgid "Lists are successfully updated." +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:60 +msgid "Default Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:66 +msgid "Delay JavaScript Execution Exclusion Lists" +msgstr "" + +#: inc/Engine/Optimization/DynamicLists/ServiceProvider.php:72 +msgid "Incompatible plugins Lists" +msgstr "" + +#: inc/Engine/Optimization/Minify/AdminSubscriber.php:65 +msgid "Minify/combine JavaScript" +msgstr "" + +#: inc/Engine/Optimization/Minify/CSS/AdminSubscriber.php:150 +msgid "Minify CSS" +msgstr "" + +#. translators: %1$s = plugin name, %2$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:224 +msgid "%1$s: Please wait %2$s seconds. The Remove Unused CSS service is processing your pages." +msgstr "" + +#. translators: %1$s = plugin name, %2$s = number of URLs, %3$s = number of seconds. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:274 +msgid "%1$s: The Used CSS of your homepage has been processed. WP Rocket will continue to generate Used CSS for up to %2$s URLs per %3$s second(s)." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:283 +msgid "We suggest enabling %1$sPreload%2$s for the fastest results." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:293 +msgid "To learn more about the process check our %1$sdocumentation%2$s." +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:443 +msgid "We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance." +msgstr "" + +#. translators: %1$s = promo percentage. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:446 +msgid "Click here to get a WP Rocket single license at %1$s off!" +msgstr "" + +#. translators: %1$s = open tag, %2$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:499 +msgid "It seems a security plugin or the server's firewall prevents WP Rocket from accessing the Remove Unused CSS generator. IPs listed %1$shere in our documentation%2$s should be added to your allowlists:" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:504 +msgid "- In the security plugin, if you are using one" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:505 +msgid "- In the server's firewall. Your host can help you with this" +msgstr "" + +#. translators: %1$s = plugin name, %2$s = table name, %3$s = open tag, %4$s = closing tag. +#: inc/Engine/Optimization/RUCSS/Admin/Settings.php:545 +msgid "%1$s: Could not create the %2$s table in the database which is necessary for the Remove Unused CSS feature to work. Please reach out to %3$sour support%4$s." +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:286 +msgid "%1$s: Used CSS option is not enabled!" +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php:308 +msgid "%1$s: Used CSS cache cleared!" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php:787 +msgid "Clear Used CSS of this URL" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:160 +msgid "WP Rocket Remove Unused CSS pending jobs" +msgstr "" + +#: inc/Engine/Optimization/RUCSS/Cron/Subscriber.php:174 +msgid "WP Rocket clear Remove Unused CSS failed jobs" +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/Engine/Preload/Admin/Settings.php:57 +msgid "%1$s: The preload service is now active. After the initial preload it will continue to cache all your pages whenever they are purged. No further action is needed." +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:138 +msgid "WP Rocket Preload pending jobs" +msgstr "" + +#: inc/Engine/Preload/Cron/Subscriber.php:166 +msgid "WP Rocket Preload revert stuck failed jobs" +msgstr "" + +#: inc/functions/admin.php:21 +msgid "There seems to be an issue validating your license. Please see the error message below." +msgid_plural "There seems to be an issue validating your license. You can see the error messages below." +msgstr[0] "" +msgstr[1] "" + +#: inc/functions/admin.php:361 +msgid "Server type:" +msgstr "" + +#: inc/functions/admin.php:370 +msgid "PHP version number:" +msgstr "" + +#: inc/functions/admin.php:379 +msgid "WordPress version number:" +msgstr "" + +#: inc/functions/admin.php:388 +msgid "WordPress multisite:" +msgstr "" + +#: inc/functions/admin.php:397 +msgid "Current theme:" +msgstr "" + +#: inc/functions/admin.php:406 +msgid "Current site language:" +msgstr "" + +#: inc/functions/admin.php:415 +msgid "Active plugins:" +msgstr "" + +#: inc/functions/admin.php:418 +msgid "Plugin names of all active plugins" +msgstr "" + +#: inc/functions/admin.php:424 +msgid "Anonymized WP Rocket settings:" +msgstr "" + +#: inc/functions/admin.php:427 +msgid "Which WP Rocket settings are active" +msgstr "" + +#: inc/functions/options.php:429 +msgid "The provided license data are not valid." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:432 +msgid "To resolve, please %1$scontact support%2$s." +msgstr "" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +#: inc/functions/options.php:530 +msgid "License validation failed. Our server could not resolve the request from your website." +msgstr "" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening link tag, %4$s closing link tag. +#: inc/functions/options.php:491 +msgid "Try clicking %1$sValidate License%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "License validation failed. You may be using a nulled version of the plugin. Please do the following:" +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Login to your WP Rocket %1$saccount%2$s" +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Download the zip file" +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +#: inc/functions/options.php:549 +msgid "Reinstall" +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:507 +msgid "If you do not have a WP Rocket account, please %1$spurchase a license%2$s." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "License validation failed. This user account does not exist in our database." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:515 +msgid "To resolve, please contact support." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "License validation failed. This user account is blocked." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:523 +msgid "Please see %1$sthis guide%2$s for more info." +msgstr "" + +#. Translators: %1$s = opening em tag, %2$s = closing em tag, %3$s = opening link tag, %4$s closing link tag. +#: inc/functions/options.php:530 +msgid "Try clicking %1$sSave Changes%2$s below. If the error persists, follow %3$sthis guide%4$s." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Your license is not valid." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:543 +msgid "Make sure you have an active %1$sWP Rocket license%2$s." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = opening link tag. +#: inc/functions/options.php:545 +msgid "You have added as many sites as your current license allows." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag, %3$s = opening link tag. +#: inc/functions/options.php:545 +msgid "Upgrade your %1$saccount%2$s or %3$stransfer your license%2$s to this domain." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "This website is not allowed." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:547 +msgid "Please %1$scontact support%2$s." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "This license key is not recognized." +msgstr "" + +#. Translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/functions/options.php:549 +msgid "If the issue persists, please %1$scontact support%2$s." +msgstr "" + +#. Translators: %s = error message returned. +#: inc/functions/options.php:555 +msgid "License validation failed: %s" +msgstr "" + +#: inc/Logger/Logger.php:260 +#: inc/Logger/Logger.php:292 +msgid "The log file does not exist." +msgstr "" + +#: inc/Logger/Logger.php:266 +#: inc/Logger/Logger.php:298 +msgid "The log file could not be read." +msgstr "" + +#: inc/Logger/Logger.php:285 +msgid "The logs are not saved into a file." +msgstr "" + +#. Translators: %s = Hosting name. +#: inc/ThirdParty/Hostings/Cloudways.php:82 +msgid "Varnish auto-purge will be automatically enabled once Varnish is enabled on your %s server." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: inc/ThirdParty/Hostings/Kinsta.php:158 +msgid "Your installation seems to be missing core Kinsta files managing Cache clearing, which will prevent your Kinsta installation and WP Rocket from working correctly. Please get in touch with Kinsta support through your %1$sMyKinsta%2$s account to resolve this issue." +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:127 +msgid "%1$s: Cloudflare's HTTP/2 Server Push is incompatible with the features of Remove Unused CSS and Combine CSS files. We strongly recommend disabling it." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:170 +msgid "Your site is using the official Cloudflare plugin. We have enabled Cloudflare auto-purge for compatibility. If you have APO activated, it is also compatible." +msgstr "" + +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:171 +msgid "Cloudflare cache will be purged each time WP Rocket clears its cache to ensure content is always up-to-date." +msgstr "" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:215 +msgid "%1$sWP Rocket:%2$s You are using \"Dynamic Cookies Cache\". Cloudflare APO is not yet compatible with that feature." +msgstr "" + +#. Translators:%1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:221 +msgid "You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly. %1$sMore info%2$s" +msgstr "" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag, %3$s = opening tag, %4$s = closing tag, %5$s = opening tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:272 +msgid "%1$sWP Rocket:%2$s You are using \"Separate cache files for mobile devices\". You need to activate \"Cache by Device Type\" %3$ssetting%5$s on Cloudflare APO to serve the right version of the cache. %4$sMore info%5$s" +msgstr "" + +#. Translators: %1$s = strong opening tag, %2$s = strong closing tag. +#: inc/ThirdParty/Plugins/CDN/Cloudflare.php:293 +msgid "%1$sWP Rocket:%2$s You have \"Cache by Device Type\" enabled on Cloudflare APO. If you judge it necessary for the website to have a different cache on mobile and desktop, we suggest you enable our “Separate Cache Files for Mobiles Devices” to ensure the generated cache is accurate." +msgstr "" + +#. translators: %1$s is WP Rocket plugin name, %2$s is opening tag, %3$s is closing tag. +#: inc/ThirdParty/Plugins/ModPagespeed.php:102 +msgid "%1$s: Mod PageSpeed is not compatible with this plugin and may cause unexpected results. %2$sMore Info%3$s" +msgstr "" + +#. Translators: %1$s is an opening tag; %2$s is a closing tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:75 +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's JavaScript Aggregation feature is enabled. WP Rocket's Delay JavaScript Execution will not be applied to the file it creates. We suggest disabling %1$sJavaScript Aggregation%2$s to take full advantage of Delay JavaScript Execution." +msgstr "" + +#. Translators: %1$s is an opening tag; %2$s is a closing tag +#: inc/ThirdParty/Plugins/Optimization/Autoptimize.php:130 +msgid "%1$sWP Rocket: %2$sWe have detected that Autoptimize's Aggregate Inline CSS feature is enabled. WP Rocket's Load CSS Asynchronously will not work correctly. We suggest disabling %1$sAggregate Inline CSS%2$s to take full advantage of Load CSS Asynchronously Execution." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: inc/ThirdParty/Plugins/Optimization/Ezoic.php:45 +msgid "This plugin blocks WP Rocket's caching and optimizations. Deactivate it and use %1$sEzoic's nameserver integration%2$s instead." +msgstr "" + +#. Translators: %s = Plugin name. +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:78 +msgctxt "Hummingbird notice" +msgid "Please deactivate the following %s option which conflicts with WP Rocket features:" +msgid_plural "Please deactivate the following %s options which conflict with WP Rocket features:" +msgstr[0] "" +msgstr[1] "" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:151 +msgctxt "Hummingbird notice" +msgid "%1$s %2$sdisable emoji%3$s conflicts with WP Rockets %2$sdisable emoji%3$s" +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:187 +msgctxt "Hummingbird notice" +msgid "%1$s %2$sGZIP compression%3$s conflicts with WP Rocket %2$sGZIP compression%3$s" +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:223 +msgctxt "Hummingbird notice" +msgid "%1$s %2$sbrowser caching%3$s conflicts with WP Rocket %2$sbrowser caching%3$s" +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:255 +msgctxt "Hummingbird notice" +msgid "%1$s %2$spage caching%3$s conflicts with WP Rocket %2$spage caching%3$s" +msgstr "" + +#. Translators: %1$s = Plugin name, %2$s = , %3$s = . +#: inc/ThirdParty/Plugins/Optimization/Hummingbird.php:289 +msgctxt "Hummingbird notice" +msgid "%1$s %2$sasset optimization%3$s conflicts with WP Rocket %2$sfile optimization%3$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/Perfmatters.php:38 +msgid "Remove Unused CSS is currently activated in Perfmatters. If you want to use WP Rocket's Remove Unused CSS feature, disable this option in Perfmatters." +msgstr "" + +#: inc/ThirdParty/Plugins/Optimization/RapidLoad.php:39 +msgid "Automated unused CSS removal is currently activated in RapidLoad Power-Up for Autoptimize. If you want to use WP Rocket's Remove Unused CSS feature, disable the RapidLoad Power-Up for Autoptimize plugin." +msgstr "" + +#. translators: %1$s = plugin name. +#: inc/ThirdParty/Plugins/Optimization/WPMeteor.php:42 +msgid "Delay JS is currently activated in %1$s. If you want to use WP Rocket’s delay JS, disable %1$s" +msgstr "" + +#: inc/ThirdParty/Plugins/Smush.php:108 +#: inc/ThirdParty/Plugins/Smush.php:126 +msgid "Smush" +msgstr "" + +#: inc/ThirdParty/Themes/Avada.php:116 +msgid "Avada" +msgstr "" + +#: inc/ThirdParty/Themes/Divi.php:315 +msgid "Your Divi template was updated. Clear the Used CSS if the layout, design or CSS styles were changed." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:13 +msgid "Load CSS asynchronously for mobile" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:14 +msgid "Your website currently uses the same Critical Path CSS for both desktop and mobile." +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:15 +msgid "Click the button to enable mobile-specific CPCSS for your site." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:20 +#: views/settings/enable-google-fonts.php:19 +msgid "This is a one-time action and this button will be removed afterwards. %1$sMore info%2$s" +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/activate-cpcss-mobile.php:30 +msgid "Your site is now using mobile-specific critical path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/activate-cpcss-mobile.php:39 +msgid "Generate Mobile Specific CPCSS" +msgstr "" + +#: views/cpcss/metabox/container.php:19 +msgid "Critical Path CSS" +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:23 +msgid "Generate specific Critical Path CSS for this post. %1$sMore info%2$s" +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/cpcss/metabox/generate.php:33 +msgid "This post uses specific Critical Path CSS. %1$sMore info%2$s" +msgstr "" + +#: views/cpcss/metabox/generate.php:56 +msgid "Revert back to the default CPCSS" +msgstr "" + +#: views/deactivation-intent/form.php:21 +msgid "Facing an issue?" +msgstr "" + +#: views/deactivation-intent/form.php:24 +msgid "It is not always necessary to deactivate WP Rocket when facing any issues. Most of them can be fixed by deactivating only some options." +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:29 +msgid "Our advice? Instead of deactivating WP Rocket, use our %1$sSafe Mode%2$s to quickly disable LazyLoad, File Optimization, and CDN options. Then check to see if your issue is resolved." +msgstr "" + +#: views/deactivation-intent/form.php:35 +msgid "Do you want to use our Safe Mode to troubleshoot WP Rocket?" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:55 +msgid "Yes, apply \"%1$sSafe Mode%2$s\"" +msgstr "" + +#. translators: %1$s = opening strong tag, %2$s = closing strong tag. +#: views/deactivation-intent/form.php:68 +msgid "and export WP Rocket settings %1$s(Recommended as current settings will be deleted)%2$s" +msgstr "" + +#: views/deactivation-intent/form.php:76 +msgid "No, deactivate and snooze this message for" +msgstr "" + +#: views/deactivation-intent/form.php:78 +msgid "1 day" +msgstr "" + +#: views/deactivation-intent/form.php:79 +msgid "7 days" +msgstr "" + +#: views/deactivation-intent/form.php:80 +msgid "30 days" +msgstr "" + +#: views/deactivation-intent/form.php:81 +msgid "Forever" +msgstr "" + +#: views/deactivation-intent/form.php:87 +msgid "Cancel" +msgstr "" + +#: views/deactivation-intent/form.php:88 +msgid "Confirm" +msgstr "" + +#. translators: %1$s = , %2$s = plugin version, %3$s = , %4$s = , %5$s = , %6$s = . +#: views/plugins/update-renewal-expired-notice.php:27 +msgid " %1$sWP Rocket %2$s%3$s is available. %4$sLearn more%5$s about the updates and enhancements of this major version. You need an active license to use them on your website, don’t miss out! %6$sRenew Now%5$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:14 +msgid "Update Inclusion and Exclusion Lists" +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/dynamic-lists-update.php:19 +msgid "Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s" +msgstr "" + +#: views/settings/dynamic-lists-update.php:29 +msgid "Update lists" +msgstr "" + +#: views/settings/enable-google-fonts.php:13 +msgid "Enable Google Font Optimization" +msgstr "" + +#: views/settings/enable-google-fonts.php:14 +msgid "Improves font performance and combines multiple font requests to reduce the number of HTTP requests." +msgstr "" + +#. translators: %1$s = opening link tag, %2$s = closing link tag. +#: views/settings/enable-google-fonts.php:29 +msgid "Google Fonts Optimization is now enabled for your site. %1$sMore info%2$s" +msgstr "" + +#: views/settings/enable-google-fonts.php:38 +msgid "Optimize Google Fonts" +msgstr "" + +#: views/settings/fields/cache-lifespan.php:26 +msgid "Clear cache after" +msgstr "" + +#: views/settings/fields/cnames.php:58 +#: views/settings/fields/cnames.php:92 +#: views/settings/fields/cnames.php:122 +msgid "CSS & JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:59 +#: views/settings/fields/cnames.php:93 +#: views/settings/fields/cnames.php:123 +msgid "JavaScript" +msgstr "" + +#: views/settings/fields/cnames.php:60 +#: views/settings/fields/cnames.php:94 +#: views/settings/fields/cnames.php:124 +msgid "CSS" +msgstr "" + +#: views/settings/fields/import-form.php:29 +msgid "Import settings" +msgstr "" + +#: views/settings/fields/one-click-addon.php:43 +#: views/settings/fields/rocket-addon.php:43 +msgid "Add-on status" +msgstr "" + +#: views/settings/fields/rocket-addon.php:72 +msgid "Modify options" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:29 +#: views/settings/fields/rocket-cdn.php:41 +msgid "CDN CNAME" +msgstr "" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:62 +msgid "Purges RocketCDN cached resources for your website. %s" +msgstr "" + +#. translators: %s is a "Learn more" link. +#: views/settings/fields/rocket-cdn.php:63 +#: views/settings/page-sections/cloudflare.php:36 +#: views/settings/page-sections/sucuri.php:37 +msgid "Learn more" +msgstr "" + +#: views/settings/fields/rocket-cdn.php:72 +msgid "Clear all RocketCDN cache files" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:27 +msgid "Cloudflare Cache" +msgstr "" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:35 +#: views/settings/page-sections/sucuri.php:36 +msgid "Purges cached resources for your website. %s" +msgstr "" + +#. translators: %s is a "Learn more" link. +#: views/settings/page-sections/cloudflare.php:36 +msgid "https://support.cloudflare.com/hc/en-us/articles/200169246" +msgstr "" + +#: views/settings/page-sections/cloudflare.php:45 +msgid "Clear all Cloudflare cache files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:38 +msgid "Congratulations!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:40 +msgid "WP Rocket is now activated and already working for you." +msgstr "" + +#: views/settings/page-sections/dashboard.php:42 +msgid "Your website should be loading faster now!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "To guarantee fast websites, WP Rocket automatically applies 80% of web performance best practices." +msgstr "" + +#: views/settings/page-sections/dashboard.php:44 +msgid "We also enable options that provide immediate benefits to your website." +msgstr "" + +#: views/settings/page-sections/dashboard.php:45 +msgid "Continue to the options to further optimize your site!" +msgstr "" + +#: views/settings/page-sections/dashboard.php:62 +msgid "My Account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:68 +msgid "Refresh info" +msgstr "" + +#: views/settings/page-sections/dashboard.php:86 +msgid "with" +msgstr "" + +#: views/settings/page-sections/dashboard.php:100 +msgid "Expiration Date" +msgstr "" + +#: views/settings/page-sections/dashboard.php:110 +msgid "View my account" +msgstr "" + +#: views/settings/page-sections/dashboard.php:137 +msgid "Quick Actions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:144 +msgid "Remove all cached files" +msgstr "" + +#: views/settings/page-sections/dashboard.php:164 +#: views/settings/page-sections/dashboard.php:170 +msgid "Regenerate Critical CSS" +msgstr "" + +#: views/settings/page-sections/dashboard.php:182 +msgid "Remove Used CSS Cache" +msgstr "" + +#: views/settings/page-sections/dashboard.php:205 +msgid "Frequently Asked Questions" +msgstr "" + +#: views/settings/page-sections/dashboard.php:219 +msgid "Still cannot find a solution?" +msgstr "" + +#: views/settings/page-sections/dashboard.php:220 +msgid "Submit a ticket and get help from our friendly and knowledgeable Rocketeers." +msgstr "" + +#: views/settings/page-sections/dashboard.php:228 +msgid "Ask support" +msgstr "" + +#: views/settings/page-sections/database.php:25 +msgid "Backup your database before you run a cleanup!" +msgstr "" + +#: views/settings/page-sections/database.php:26 +msgid "Once a database optimization has been performed, there is no way to undo it." +msgstr "" + +#: views/settings/page-sections/database.php:28 +msgid "Save Changes and Optimize" +msgstr "" + +#. Translators: %1$s = , %2$s = , %3$s = , %4$s = . +#: views/settings/page-sections/imagify.php:21 +msgid "%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s" +msgstr "" + +#: views/settings/page-sections/imagify.php:24 +msgid "Compress image to make your website faster, all while maintaining image quality." +msgstr "" + +#: views/settings/page-sections/imagify.php:25 +msgid "More on Imagify:" +msgstr "" + +#: views/settings/page-sections/imagify.php:27 +msgid "Imagify Plugin Page" +msgstr "" + +#: views/settings/page-sections/imagify.php:28 +msgid "Imagify Website" +msgstr "" + +#: views/settings/page-sections/imagify.php:29 +msgid "Review of Image Compression Plugins" +msgstr "" + +#: views/settings/page-sections/imagify.php:38 +msgid "Install Imagify" +msgstr "" + +#: views/settings/page-sections/license.php:22 +msgid "WP Rocket was not able to automatically validate your license." +msgstr "" + +#. translators: %1$s = tutorial URL, %2$s = support URL. +#: views/settings/page-sections/license.php:29 +msgid "Follow this %1$s, or contact %2$s to get the engine started." +msgstr "" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:32 +msgid "%1$s%2$s%3$stutorial%4$s" +msgstr "" + +#: views/settings/page-sections/license.php:34 +msgid "https://docs.wp-rocket.me/article/100-resolving-problems-with-license-validation/?utm_source=wp_plugin&utm_medium=wp_rocket" +msgstr "" + +#. translators: %1$s = , %4$s = . +#: views/settings/page-sections/license.php:40 +msgid "%1$s%2$s%3$ssupport%4$s" +msgstr "" + +#: views/settings/page-sections/sucuri.php:46 +msgid "Clear all Sucuri cache files" +msgstr "" + +#. translators: %1$s = formatted file size, %2$s = formatted number of entries (don't use %2$d). +#: views/settings/page-sections/tools.php:20 +msgid "Files size: %1$s. Number of entries: %2$s." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:23 +msgid "%1$sDownload the file%2$s." +msgstr "" + +#. translators: %1$s = opening tag, %2$s = closing tag. +#: views/settings/page-sections/tools.php:26 +msgid "%1$sDelete the file%2$s." +msgstr "" + +#: views/settings/page-sections/tools.php:37 +msgid "Export settings" +msgstr "" + +#: views/settings/page-sections/tools.php:38 +msgid "Download a backup file of your settings" +msgstr "" + +#: views/settings/page-sections/tools.php:46 +msgid "Download settings" +msgstr "" + +#: views/settings/page-sections/tools.php:60 +msgid "Rollback" +msgstr "" + +#. translators: %s = WP Rocket version number. +#: views/settings/page-sections/tools.php:64 +msgid "Has version %s caused an issue on your website?" +msgstr "" + +#. translators: %s =
    . +#: views/settings/page-sections/tools.php:69 +msgid "You can rollback to the previous major version here.%sThen send us a support request." +msgstr "" + +#. translators: %s = WP Rocket previous version. +#: views/settings/page-sections/tools.php:80 +msgid "Reinstall version %s" +msgstr "" + +#: views/settings/page-sections/tools.php:106 +msgid "Debug mode" +msgstr "" + +#: views/settings/page-sections/tools.php:111 +msgid "Create a debug log file." +msgstr "" + +#: views/settings/page-sections/tutorials.php:13 +#: views/settings/partials/getting-started.php:18 +msgid "Getting Started" +msgstr "" + +#: views/settings/page-sections/tutorials.php:15 +msgid "Getting Started with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:16 +#: views/settings/partials/getting-started.php:12 +msgid "Finding the Best Settings for Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:17 +#: views/settings/partials/getting-started.php:13 +msgid "How to Check if WP Rocket is Caching Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:18 +#: views/settings/partials/getting-started.php:14 +msgid "How to Measure the Speed of Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:19 +msgid "How Preloading Works" +msgstr "" + +#: views/settings/page-sections/tutorials.php:23 +msgid "Passing the Core Web vitals" +msgstr "" + +#: views/settings/page-sections/tutorials.php:25 +msgid "How to improve LCP with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:26 +msgid "How to improve FID with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:27 +msgid "How to improve CLS with WP Rocket" +msgstr "" + +#: views/settings/page-sections/tutorials.php:31 +msgid "Troubleshooting" +msgstr "" + +#: views/settings/page-sections/tutorials.php:33 +msgid "Troubleshooting Display Issues with File Optimization" +msgstr "" + +#: views/settings/page-sections/tutorials.php:34 +msgid "How to Find the Right JavaScript to Exclude" +msgstr "" + +#: views/settings/page-sections/tutorials.php:35 +msgid "How External Content Slows Your Site" +msgstr "" + +#: views/settings/page-sections/tutorials.php:41 +msgid "Set Up the Cloudflare Add-on" +msgstr "" + +#: views/settings/page.php:16 +msgid "WP Rocket Settings" +msgstr "" + +#. translators: %s = Plugin version number. +#: views/settings/page.php:30 +msgid "version %s" +msgstr "" + +#: views/settings/page.php:60 +msgid "Show Sidebar" +msgstr "" + +#. translators: %1$s = , %2$s = . +#: views/settings/page.php:82 +msgid "Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s" +msgstr "" + +#: views/settings/page.php:87 +msgid "WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys." +msgstr "" + +#: views/settings/page.php:89 +msgid "Activate Rocket analytics" +msgstr "" + +#: views/settings/partials/documentation.php:15 +msgid "It is a great starting point to fix some of the most common issues." +msgstr "" + +#: views/settings/partials/documentation.php:22 +msgid "Read the documentation" +msgstr "" + +#: views/settings/partials/getting-started.php:11 +msgid "What WP Rocket Does For You By Default" +msgstr "" + +#: views/settings/partials/sidebar.php:12 +msgid "How to correctly measure your website’s loading time" +msgstr "" + +#: views/settings/partials/sidebar.php:14 +msgid "Check our tutorial and learn how to measure the speed of your site." +msgstr "" + +#: views/settings/partials/sidebar.php:15 +#: views/settings/partials/sidebar.php:24 +msgid "Read our guide" +msgstr "" + +#: views/settings/partials/sidebar.php:18 +msgid "Learn about optimal WP Rocket settings for mobile." +msgstr "" + +#: views/settings/partials/sidebar.php:27 +msgid "Test and Improve Google Core Web Vitals for WordPress." +msgstr "" + +#: views/settings/partials/sidebar.php:28 +msgid "Read more" +msgstr "" + +#: views/settings/partials/sidebar.php:33 +msgid "You have not activated logged-in user cache." +msgstr "" + +#: views/settings/partials/sidebar.php:34 +msgid "Use a private browser to check your website's speed and visual appearance." +msgstr "" + +#: views/settings/sections/addons-container.php:24 +#: views/settings/sections/fields-container.php:28 +msgid "Need Help?" +msgstr "" diff --git a/uninstall.php b/uninstall.php new file mode 100644 index 0000000..cfa6442 --- /dev/null +++ b/uninstall.php @@ -0,0 +1,37 @@ +uninstall(); diff --git a/vendor/autoload.php b/vendor/autoload.php new file mode 100644 index 0000000..18bc688 --- /dev/null +++ b/vendor/autoload.php @@ -0,0 +1,12 @@ +=5.3.0" + }, + "autoload": { + "psr-0": { + "CloudFlare\\": "src/" + } + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "squizlabs/php_codesniffer": "2.*" + } +} diff --git a/vendor/cloudflare/cf-ip-rewrite/composer.lock b/vendor/cloudflare/cf-ip-rewrite/composer.lock new file mode 100644 index 0000000..9541e7d --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/composer.lock @@ -0,0 +1,1214 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "content-hash": "e9a6fb32abac8d89674cef520b820139", + "packages": [], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2015-06-14T21:17:01+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2017-09-11T18:02:19+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "4.1.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2d3d238c433cf69caeb4842e97a3223a116f94b2", + "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2", + "shasum": "" + }, + "require": { + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.4.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2017-08-30T18:51:59+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.4.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", + "shasum": "" + }, + "require": { + "php": "^5.5 || ^7.0", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2017-07-14T14:27:02+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.7.2", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", + "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", + "sebastian/comparator": "^1.1|^2.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.5|^3.2", + "phpunit/phpunit": "^4.8 || ^5.6.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.7.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2017-09-04T11:05:03+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979", + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "phpunit/php-file-iterator": "~1.3", + "phpunit/php-text-template": "~1.2", + "phpunit/php-token-stream": "~1.3", + "sebastian/environment": "^1.3.2", + "sebastian/version": "~1.0" + }, + "require-dev": { + "ext-xdebug": ">=2.1.4", + "phpunit/phpunit": "~4" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.2.1", + "ext-xmlwriter": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2015-10-06T15:47:00+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.4.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2016-10-03T07:40:28+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2015-06-21T13:50:34+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.9", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2017-02-26T11:10:40+00:00" + }, + { + "name": "phpunit/php-token-stream", + "version": "1.4.11", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2017-02-27T10:12:30+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "4.8.36", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "46023de9a91eec7dfb06cc56cb4e260017298517" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517", + "reference": "46023de9a91eec7dfb06cc56cb4e260017298517", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=5.3.3", + "phpspec/prophecy": "^1.3.1", + "phpunit/php-code-coverage": "~2.1", + "phpunit/php-file-iterator": "~1.4", + "phpunit/php-text-template": "~1.2", + "phpunit/php-timer": "^1.0.6", + "phpunit/phpunit-mock-objects": "~2.3", + "sebastian/comparator": "~1.2.2", + "sebastian/diff": "~1.2", + "sebastian/environment": "~1.3", + "sebastian/exporter": "~1.2", + "sebastian/global-state": "~1.0", + "sebastian/version": "~1.0", + "symfony/yaml": "~2.1|~3.0" + }, + "suggest": { + "phpunit/php-invoker": "~1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.8.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2017-06-21T08:07:12+00:00" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "2.3.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983", + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": ">=5.3.3", + "phpunit/php-text-template": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "time": "2015-10-02T06:51:40+00:00" + }, + { + "name": "sebastian/comparator", + "version": "1.2.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2 || ~2.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2017-01-29T09:50:25+00:00" + }, + { + "name": "sebastian/diff", + "version": "1.4.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2017-05-22T07:24:03+00:00" + }, + { + "name": "sebastian/environment", + "version": "1.3.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8 || ^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2016-08-18T05:49:44+00:00" + }, + { + "name": "sebastian/exporter", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2016-06-17T09:04:28+00:00" + }, + { + "name": "sebastian/global-state", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2015-10-12T03:26:01+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7", + "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2016-10-03T07:41:43+00:00" + }, + { + "name": "sebastian/version", + "version": "1.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", + "shasum": "" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2015-06-21T13:59:46+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "2.9.1", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62", + "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "bin": [ + "scripts/phpcs", + "scripts/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "classmap": [ + "CodeSniffer.php", + "CodeSniffer/CLI.php", + "CodeSniffer/Exception.php", + "CodeSniffer/File.php", + "CodeSniffer/Fixer.php", + "CodeSniffer/Report.php", + "CodeSniffer/Reporting.php", + "CodeSniffer/Sniff.php", + "CodeSniffer/Tokens.php", + "CodeSniffer/Reports/", + "CodeSniffer/Tokenizers/", + "CodeSniffer/DocGenerators/", + "CodeSniffer/Standards/AbstractPatternSniff.php", + "CodeSniffer/Standards/AbstractScopeSniff.php", + "CodeSniffer/Standards/AbstractVariableSniff.php", + "CodeSniffer/Standards/IncorrectPatternException.php", + "CodeSniffer/Standards/Generic/Sniffs/", + "CodeSniffer/Standards/MySource/Sniffs/", + "CodeSniffer/Standards/PEAR/Sniffs/", + "CodeSniffer/Standards/PSR1/Sniffs/", + "CodeSniffer/Standards/PSR2/Sniffs/", + "CodeSniffer/Standards/Squiz/Sniffs/", + "CodeSniffer/Standards/Zend/Sniffs/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "http://www.squizlabs.com/php-codesniffer", + "keywords": [ + "phpcs", + "standards" + ], + "time": "2017-05-22T02:43:20+00:00" + }, + { + "name": "symfony/yaml", + "version": "v3.3.10", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46", + "reference": "8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2017-10-05T14:43:42+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2016-11-23T20:04:58+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=5.3.0" + }, + "platform-dev": [] +} diff --git a/vendor/cloudflare/cf-ip-rewrite/phpunit.xml.dist b/vendor/cloudflare/cf-ip-rewrite/phpunit.xml.dist new file mode 100644 index 0000000..ed7bfec --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/phpunit.xml.dist @@ -0,0 +1,15 @@ + + + + + + ./tests/ + + + + + + ./src + + + \ No newline at end of file diff --git a/vendor/cloudflare/cf-ip-rewrite/readme.md b/vendor/cloudflare/cf-ip-rewrite/readme.md new file mode 100644 index 0000000..6b824e5 --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/readme.md @@ -0,0 +1,63 @@ +# Cloudflare PHP IP Rewriting + +This module makes it easy for developers to add rewrite Cloudflare IP Addresses for actual end-user IP Addresses at the application layer. It is recommended to either install mod_cloudflare for Apache or use nginx rewrite rules () if possible. + +For those cases, where the IP can not be guaranteed to be rewritten by one of these alternate means, this module can be used to rewrite the IP address. + +### How it works +```php + $ipRewrite = new CloudFlare\IpRewrite(); + $is_cf = $ipRewrite->isCloudFlare(); + $rewritten_ip = $ipRewrite->getRewrittenIP(); + $original_ip = $ipRewrite->getOriginalIP(); +``` +The class exposes three methods for interaction and a constructor. + +Initializing `IpRewrite()` object will try to rewrite the IP. If the IP is rewritten, `$_SERVER["REMOTE_ADDR"]` will be updated to reflect the end-user's IP address. + +`isCloudFlare();` returns `true` if the `CF_CONNECTING_IP` header is present in the request and the request originates from a Cloudflare IP. + +`getRewrittenIP()` Returns the rewritten ip address if a rewrite occurs, otherwise it will return `null`. + +`getOriginalIP()` returns the saved original ip address from `$_SERVER["REMOTE_ADDR"]`. + +### Best Pratice + +```php + // Initialize object to rewrite the headers + try { + $ipRewrite = new CloudFlare\IpRewrite(); + } catch (RuntimeException $e) { + // PHP configurations does not support IPv6 + } + + // Check if the request is from Cloudflare + $is_cf = $ipRewrite->isCloudFlare(); + if ($is_cf) { + // Get original or rewritten ip + // Order does not matter + ... + $rewritten_ip = $ipRewrite->getRewrittenIP(); + ... + $original_ip = $ipRewrite->getOriginalIP(); + ... + } +``` + +#### Caution + +Rewrite action is triggered only once in constructor. If `getRewrittenIP()` or `getOriginalIP()` is called multiple times it'll return the first result regardless if a change happened after the first call. Since rewrite action was not triggered. + +To get the newest changes a new `IpRewrite` object should be used. + +### Testing this module + +This module comes with a set of tests that can be run using phpunit. To run the tests, run `composer install` on the package and then one of the following commands: + +#### Basic Tests + + composer test + +#### With code coverage report in `coverage` folder + + vendor/bin/phpunit -c phpunit.xml.dist --coverage-html coverage diff --git a/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpRewrite.php b/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpRewrite.php new file mode 100644 index 0000000..319660b --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpRewrite.php @@ -0,0 +1,134 @@ +rewrite(); + } + + /** + * Is a request from CloudFlare? + * @return bool + */ + public function isCloudFlare() + { + if (!isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { + return false; + } else { + // Check if original ip has already been restored, e.g. by nginx - assume it was from cloudflare then + if ($_SERVER['REMOTE_ADDR'] === $_SERVER['HTTP_CF_CONNECTING_IP']) { + return true; + } + } + + return $this->isCloudFlareIP(); + } + + /** + * Check if a request comes from a CloudFlare IP. + * @return bool + */ + public function isCloudFlareIP() + { + // Store original remote address in $original_ip + $this->original_ip = $this->getOriginalIP(); + if (!isset($this->original_ip)) { + return false; + } + + // Process original_ip if on cloudflare + $ip_ranges = $this->cf_ipv4; + if (IpUtils::isIpv6($this->original_ip)) { + $ip_ranges = $this->cf_ipv6; + } + + foreach ($ip_ranges as $range) { + if (IpUtils::checkIp($this->original_ip, $range)) { + return true; + } + } + + return false; + } + + /** + * Get the original IP Address of a given request. + * @return IP Address or null on error + */ + public function getOriginalIP() + { + // If $original_ip is not set, return the REMOTE_ADDR + if (!isset($this->original_ip)) { + $this->original_ip = $_SERVER['REMOTE_ADDR']; + } + + return $this->original_ip; + } + + /** + * Gets the re-written IP after rewrite() is run. + * @return IP Address or null on error + */ + public function getRewrittenIP() + { + return $this->rewritten_ip; + } + + /** + * Handle the rewriting of CloudFlare IP Addresses to end-user IP Addresses. + * NOTE: This function will ultimately rewrite $_SERVER["REMOTE_ADDR"] if the site is on CloudFlare + * @return bool + * @ + */ + public function rewrite() + { + // only should be run once per page load + if ($this->is_loaded) { + return false; + } + $this->is_loaded = true; + + $is_cf = $this->isCloudFlare(); + if (!$is_cf) { + return false; + } + + $this->rewritten_ip = $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; + return true; + } +} diff --git a/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpUtils.php b/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpUtils.php new file mode 100644 index 0000000..9c1870d --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpUtils.php @@ -0,0 +1,146 @@ + 1) { + return false; + } + + return true; + } + + /** + * Checks if the ip is v6. + * + * @param string $ip IP to check + * + * @return bool return true if ipv6 + */ + public static function isIpv6($ip) + { + return !self::isIpv4($ip); + } + + /** + * Compares two IPv4 addresses. + * In case a subnet is given, it checks if it contains the request IP. + * + * @param string $requestIp IPv4 address to check + * @param string $ip IPv4 address or subnet in CIDR notation + * + * @return bool Whether the request IP matches the IP, or whether the request IP is within the CIDR subnet. + */ + public static function checkIp4($requestIp, $ip) + { + if (false !== strpos($ip, '/')) { + list($address, $netmask) = explode('/', $ip, 2); + + if ($netmask === '0') { + // Ensure IP is valid - using ip2long below implicitly validates, but we need to do it manually here + return filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4); + } + + if ($netmask < 0 || $netmask > 32) { + return false; + } + } else { + $address = $ip; + $netmask = 32; + } + + return 0 === substr_compare(sprintf('%032b', ip2long($requestIp)), sprintf('%032b', ip2long($address)), 0, $netmask); + } + + /** + * Compares two IPv6 addresses. + * In case a subnet is given, it checks if it contains the request IP. + * + * @author David Soria Parra + * + * @see https://github.com/dsp/v6tools + * + * @param string $requestIp IPv6 address to check + * @param string $ip IPv6 address or subnet in CIDR notation + * + * @return bool Whether the IP is valid + * + * @throws \RuntimeException When IPV6 support is not enabled + */ + public static function checkIp6($requestIp, $ip) + { + if (!((extension_loaded('sockets') && defined('AF_INET6')) || @inet_pton('::1'))) { + throw new \RuntimeException('Unable to check Ipv6. Check that PHP was not compiled with option "disable-ipv6".'); + } + + if (false !== strpos($ip, '/')) { + list($address, $netmask) = explode('/', $ip, 2); + + if ($netmask < 1 || $netmask > 128) { + return false; + } + } else { + $address = $ip; + $netmask = 128; + } + + $bytesAddr = unpack('n*', @inet_pton($address)); + $bytesTest = unpack('n*', @inet_pton($requestIp)); + + if (!$bytesAddr || !$bytesTest) { + return false; + } + + for ($i = 1, $ceil = ceil($netmask / 16); $i <= $ceil; ++$i) { + $left = $netmask - 16 * ($i - 1); + $left = ($left <= 16) ? $left : 16; + $mask = ~(0xffff >> $left) & 0xffff; + if (($bytesAddr[$i] & $mask) != ($bytesTest[$i] & $mask)) { + return false; + } + } + + return true; + } +} diff --git a/vendor/cloudflare/cf-ip-rewrite/tests/IpUtilsTest.php b/vendor/cloudflare/cf-ip-rewrite/tests/IpUtilsTest.php new file mode 100644 index 0000000..5f97e41 --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/tests/IpUtilsTest.php @@ -0,0 +1,42 @@ +assertTrue(IpUtils::checkIp($addr, '192.168.1.1')); + $this->assertTrue(IpUtils::checkIp($addr, '192.168.1.1/1')); + $this->assertTrue(IpUtils::checkIp($addr, '192.168.1.0/24')); + $this->assertFalse(IpUtils::checkIp($addr, '1.2.3.4/1')); + $this->assertFalse(IpUtils::checkIp($addr, '192.168.1.1/33')); // invalid subnet + $this->assertTrue(IpUtils::checkIp($addr, array('1.2.3.4/1', '192.168.1.0/24'))); + $this->assertTrue(IpUtils::checkIp($addr, array('192.168.1.0/24', '1.2.3.4/1'))); + $this->assertFalse(IpUtils::checkIp($addr, array('1.2.3.4/1', '4.3.2.1/1'))); + $this->assertTrue(IpUtils::checkIp($addr, '0.0.0.0/0')); + $this->assertTrue(IpUtils::checkIp($addr, '192.168.1.0/0')); + $this->assertFalse(IpUtils::checkIp($addr, '256.256.256/0')); // invalid CIDR notation + } + + public function testIpv6() + { + if (!defined('AF_INET6')) { + $this->markTestSkipped('Only works when PHP is compiled without the option "disable-ipv6".'); + } + + $this->assertTrue(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', '2a01:198:603:0::/65')); + $this->assertFalse(IpUtils::checkIp('2a00:198:603:0:396e:4789:8e99:890f', '2a01:198:603:0::/65')); + $this->assertFalse(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', '::1')); + $this->assertTrue(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', array('::1', '2a01:198:603:0::/65'))); + $this->assertTrue(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', array('2a01:198:603:0::/65', '::1'))); + $this->assertFalse(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', array('::1', '1a01:198:603:0::/65'))); + $this->assertFalse(IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', 'unknown')); + $this->assertTrue(IpUtils::checkIp('0:0:0:0:0:0:0:1', '::1')); + $this->assertFalse(IpUtils::checkIp('0:0:603:0:396e:4789:8e99:0001', '::1')); + $this->assertFalse(IpUtils::checkIp('}__test|O:21:"JDatabaseDriverMysqli":3:{s:2', '::1')); + IpUtils::checkIp('2a01:198:603:0:396e:4789:8e99:890f', '2a01:198:603:0::/65'); + } +} diff --git a/vendor/cloudflare/cf-ip-rewrite/tests/RewriteTest.php b/vendor/cloudflare/cf-ip-rewrite/tests/RewriteTest.php new file mode 100644 index 0000000..fef6e54 --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/tests/RewriteTest.php @@ -0,0 +1,147 @@ +ipRewrite = new IpRewrite(); + + $this->assertTrue($this->ipRewrite->isCloudFlare()); + $this->assertTrue($this->ipRewrite->isCloudFlareIP()); + $this->assertEquals($this->ipRewrite->getRewrittenIP(), $connecting_ip); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + + public function testRequestFromCloudFlareNoConnectingIPHeader() + { + $remote_addr = '103.21.244.2'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + + $this->ipRewrite = new IpRewrite(); + + $this->assertFalse($this->ipRewrite->isCloudFlare()); + $this->assertTrue($this->ipRewrite->isCloudFlareIP()); + $this->assertNull($this->ipRewrite->getRewrittenIP()); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testOffCloudFlareIPv4() + { + $remote_addr = '8.8.8.8'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + + $this->ipRewrite = new IpRewrite(); + + $this->assertFalse($this->ipRewrite->isCloudFlare()); + $this->assertFalse($this->ipRewrite->isCloudFlareIP()); + $this->assertNull($this->ipRewrite->getRewrittenIP()); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testOffCloudFlareIPv4FakeModCloudflare() + { + $remote_addr = '8.8.8.8'; + $connecting_ip = '8.8.4.4'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + $_SERVER['HTTP_CF_CONNECTING_IP'] = $connecting_ip; + + $this->ipRewrite = new IpRewrite(); + + $this->assertFalse($this->ipRewrite->isCloudFlare()); + $this->assertFalse($this->ipRewrite->isCloudFlareIP()); + $this->assertNull($this->ipRewrite->getRewrittenIP()); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testOnlyProcessOnce() + { + $remote_addr = '108.162.192.2'; + $connecting_ip = '8.8.8.8'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + $_SERVER['HTTP_CF_CONNECTING_IP'] = $connecting_ip; + + $this->ipRewrite = new IpRewrite(); + + $this->assertTrue($this->ipRewrite->isCloudFlare()); + $this->assertTrue($this->ipRewrite->isCloudFlareIP()); + $this->assertEquals($this->ipRewrite->getRewrittenIP(), $connecting_ip); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + + // swap values and expect the original still, since it only allows one run per load + $remote_addr2 = '103.21.244.2'; + $connecting_ip2 = '8.8.4.4'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr2; + $_SERVER['HTTP_CF_CONNECTING_IP'] = $connecting_ip2; + + $this->assertTrue($this->ipRewrite->isCloudFlare()); + $this->assertEquals($this->ipRewrite->getRewrittenIP(), $connecting_ip); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testOnCloudFlareIPv6() + { + $remote_addr = '2803:f800::23'; + $connecting_ip = '2001:4860:4860::8888'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + $_SERVER['HTTP_CF_CONNECTING_IP'] = $connecting_ip; + + $this->ipRewrite = new IpRewrite(); + + $this->assertTrue($this->ipRewrite->isCloudFlare()); + $this->assertTrue($this->ipRewrite->isCloudFlareIP()); + $this->assertEquals($this->ipRewrite->getRewrittenIP(), $connecting_ip); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testOffCloudFlareIPv6() + { + $remote_addr = '2001:4860:4860::8888'; + + $_SERVER['REMOTE_ADDR'] = $remote_addr; + + $this->ipRewrite = new IpRewrite(); + + $this->assertFalse($this->ipRewrite->isCloudFlare()); + $this->assertFalse($this->ipRewrite->isCloudFlare()); + $this->assertNull($this->ipRewrite->getRewrittenIP()); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $remote_addr); + } + + public function testRequestFromCloudflareNginxRealIp() + { + $connecting_ip = '8.8.8.8'; + + // REMOTE_ADDR already rewritten by Nginx + $_SERVER['REMOTE_ADDR'] = $connecting_ip; + $_SERVER['HTTP_CF_CONNECTING_IP'] = $connecting_ip; + + $this->ipRewrite = new IpRewrite(); + + $this->assertTrue($this->ipRewrite->isCloudFlare()); + $this->assertEquals($this->ipRewrite->getRewrittenIP(), $connecting_ip); + $this->assertEquals($this->ipRewrite->getOriginalIP(), $connecting_ip); + } +} diff --git a/vendor/cloudflare/cf-ip-rewrite/tests/bootstrap.php b/vendor/cloudflare/cf-ip-rewrite/tests/bootstrap.php new file mode 100644 index 0000000..991ea43 --- /dev/null +++ b/vendor/cloudflare/cf-ip-rewrite/tests/bootstrap.php @@ -0,0 +1,3 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + /** @var ?string */ + private $vendorDir; + + // PSR-4 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixLengthsPsr4 = array(); + /** + * @var array[] + * @psalm-var array> + */ + private $prefixDirsPsr4 = array(); + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr4 = array(); + + // PSR-0 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixesPsr0 = array(); + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr0 = array(); + + /** @var bool */ + private $useIncludePath = false; + + /** + * @var string[] + * @psalm-var array + */ + private $classMap = array(); + + /** @var bool */ + private $classMapAuthoritative = false; + + /** + * @var bool[] + * @psalm-var array + */ + private $missingClasses = array(); + + /** @var ?string */ + private $apcuPrefix; + + /** + * @var self[] + */ + private static $registeredLoaders = array(); + + /** + * @param ?string $vendorDir + */ + public function __construct($vendorDir = null) + { + $this->vendorDir = $vendorDir; + } + + /** + * @return string[] + */ + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); + } + + return array(); + } + + /** + * @return array[] + * @psalm-return array> + */ + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + /** + * @return string[] Array of classname => path + * @psalm-return array + */ + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param string[] $classMap Class to filename map + * @psalm-param array $classMap + * + * @return void + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 base directories + * + * @return void + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + * + * @return void + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + * + * @return void + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + * + * @return void + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + * + * @return void + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + + if (null === $this->vendorDir) { + return; + } + + if ($prepend) { + self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; + } else { + unset(self::$registeredLoaders[$this->vendorDir]); + self::$registeredLoaders[$this->vendorDir] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + * + * @return void + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + + if (null !== $this->vendorDir) { + unset(self::$registeredLoaders[$this->vendorDir]); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return true|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + + return null; + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders indexed by their corresponding vendor directories. + * + * @return self[] + */ + public static function getRegisteredLoaders() + { + return self::$registeredLoaders; + } + + /** + * @param string $class + * @param string $ext + * @return string|false + */ + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + * @private + */ +function includeFile($file) +{ + include $file; +} diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php new file mode 100644 index 0000000..c6b54af --- /dev/null +++ b/vendor/composer/InstalledVersions.php @@ -0,0 +1,352 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer; + +use Composer\Autoload\ClassLoader; +use Composer\Semver\VersionParser; + +/** + * This class is copied in every Composer installed project and available to all + * + * See also https://getcomposer.org/doc/07-runtime.md#installed-versions + * + * To require its presence, you can require `composer-runtime-api ^2.0` + * + * @final + */ +class InstalledVersions +{ + /** + * @var mixed[]|null + * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null + */ + private static $installed; + + /** + * @var bool|null + */ + private static $canGetVendors; + + /** + * @var array[] + * @psalm-var array}> + */ + private static $installedByVendor = array(); + + /** + * Returns a list of all package names which are present, either by being installed, replaced or provided + * + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackages() + { + $packages = array(); + foreach (self::getInstalled() as $installed) { + $packages[] = array_keys($installed['versions']); + } + + if (1 === \count($packages)) { + return $packages[0]; + } + + return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); + } + + /** + * Returns a list of all package names with a specific type e.g. 'library' + * + * @param string $type + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackagesByType($type) + { + $packagesByType = array(); + + foreach (self::getInstalled() as $installed) { + foreach ($installed['versions'] as $name => $package) { + if (isset($package['type']) && $package['type'] === $type) { + $packagesByType[] = $name; + } + } + } + + return $packagesByType; + } + + /** + * Checks whether the given package is installed + * + * This also returns true if the package name is provided or replaced by another package + * + * @param string $packageName + * @param bool $includeDevRequirements + * @return bool + */ + public static function isInstalled($packageName, $includeDevRequirements = true) + { + foreach (self::getInstalled() as $installed) { + if (isset($installed['versions'][$packageName])) { + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); + } + } + + return false; + } + + /** + * Checks whether the given package satisfies a version constraint + * + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: + * + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') + * + * @param VersionParser $parser Install composer/semver to have access to this class and functionality + * @param string $packageName + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * @return bool + */ + public static function satisfies(VersionParser $parser, $packageName, $constraint) + { + $constraint = $parser->parseConstraints($constraint); + $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); + + return $provided->matches($constraint); + } + + /** + * Returns a version constraint representing all the range(s) which are installed for a given package + * + * It is easier to use this via isInstalled() with the $constraint argument if you need to check + * whether a given version of a package is installed, and not just whether it exists + * + * @param string $packageName + * @return string Version constraint usable with composer/semver + */ + public static function getVersionRanges($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + $ranges = array(); + if (isset($installed['versions'][$packageName]['pretty_version'])) { + $ranges[] = $installed['versions'][$packageName]['pretty_version']; + } + if (array_key_exists('aliases', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); + } + if (array_key_exists('replaced', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); + } + if (array_key_exists('provided', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); + } + + return implode(' || ', $ranges); + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['version'])) { + return null; + } + + return $installed['versions'][$packageName]['version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getPrettyVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['pretty_version'])) { + return null; + } + + return $installed['versions'][$packageName]['pretty_version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference + */ + public static function getReference($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['reference'])) { + return null; + } + + return $installed['versions'][$packageName]['reference']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. + */ + public static function getInstallPath($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @return array + * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} + */ + public static function getRootPackage() + { + $installed = self::getInstalled(); + + return $installed[0]['root']; + } + + /** + * Returns the raw installed.php data for custom implementations + * + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. + * @return array[] + * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} + */ + public static function getRawData() + { + @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = include __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + + return self::$installed; + } + + /** + * Returns the raw data of all installed.php which are currently loaded for custom implementations + * + * @return array[] + * @psalm-return list}> + */ + public static function getAllRawData() + { + return self::getInstalled(); + } + + /** + * Lets you reload the static array from another file + * + * This is only useful for complex integrations in which a project needs to use + * this class but then also needs to execute another project's autoloader in process, + * and wants to ensure both projects have access to their version of installed.php. + * + * A typical case would be PHPUnit, where it would need to make sure it reads all + * the data it needs from this class, then call reload() with + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure + * the project in which it runs can then also use this class safely, without + * interference between PHPUnit's dependencies and the project's dependencies. + * + * @param array[] $data A vendor/composer/installed.php data set + * @return void + * + * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $data + */ + public static function reload($data) + { + self::$installed = $data; + self::$installedByVendor = array(); + } + + /** + * @return array[] + * @psalm-return list}> + */ + private static function getInstalled() + { + if (null === self::$canGetVendors) { + self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); + } + + $installed = array(); + + if (self::$canGetVendors) { + foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { + if (isset(self::$installedByVendor[$vendorDir])) { + $installed[] = self::$installedByVendor[$vendorDir]; + } elseif (is_file($vendorDir.'/composer/installed.php')) { + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; + if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + self::$installed = $installed[count($installed) - 1]; + } + } + } + } + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = require __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + $installed[] = self::$installed; + + return $installed; + } +} diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE new file mode 100644 index 0000000..f27399a --- /dev/null +++ b/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php new file mode 100644 index 0000000..0b9baef --- /dev/null +++ b/vendor/composer/autoload_classmap.php @@ -0,0 +1,59 @@ + $vendorDir . '/composer/InstalledVersions.php', + 'Imagify_Partner' => $baseDir . '/inc/vendors/classes/class-imagify-partner.php', + 'Minify_CSS_UriRewriter' => $baseDir . '/inc/vendors/classes/class-minify-css-urirewriter.php', + 'Minify_HTML' => $baseDir . '/inc/deprecated/vendors/classes/class-minify-html.php', + 'WP_Rocket\\Abstract_Render' => $baseDir . '/inc/classes/class-abstract-render.php', + 'WP_Rocket\\Addon\\Busting\\BustingFactory' => $baseDir . '/inc/deprecated/Engine/Addon/Busting/BustingFactory.php', + 'WP_Rocket\\Addon\\Busting\\FileBustingTrait' => $baseDir . '/inc/deprecated/Engine/Addon/Busting/FileBustingTrait.php', + 'WP_Rocket\\Addon\\FacebookTracking\\Subscriber' => $baseDir . '/inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php', + 'WP_Rocket\\Addon\\GoogleTracking\\GoogleAnalytics' => $baseDir . '/inc/deprecated/Engine/Addon/GoogleTracking/GoogleAnalytics.php', + 'WP_Rocket\\Addon\\GoogleTracking\\GoogleTagManager' => $baseDir . '/inc/deprecated/Engine/Addon/GoogleTracking/GoogleTagManager.php', + 'WP_Rocket\\Addon\\GoogleTracking\\Subscriber' => $baseDir . '/inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php', + 'WP_Rocket\\Admin\\Abstract_Options' => $baseDir . '/inc/classes/admin/class-abstract-options.php', + 'WP_Rocket\\Admin\\Logs' => $baseDir . '/inc/classes/admin/class-logs.php', + 'WP_Rocket\\Admin\\Options' => $baseDir . '/inc/classes/admin/class-options.php', + 'WP_Rocket\\Admin\\Options_Data' => $baseDir . '/inc/classes/admin/class-options-data.php', + 'WP_Rocket\\Buffer\\Abstract_Buffer' => $baseDir . '/inc/classes/Buffer/class-abstract-buffer.php', + 'WP_Rocket\\Buffer\\Cache' => $baseDir . '/inc/classes/Buffer/class-cache.php', + 'WP_Rocket\\Buffer\\Config' => $baseDir . '/inc/classes/Buffer/class-config.php', + 'WP_Rocket\\Buffer\\Tests' => $baseDir . '/inc/classes/Buffer/class-tests.php', + 'WP_Rocket\\Busting\\Abstract_Busting' => $baseDir . '/inc/deprecated/classes/busting/class-abstract-busting.php', + 'WP_Rocket\\Busting\\Facebook_Pickles' => $baseDir . '/inc/deprecated/classes/busting/class-facebook-pickles.php', + 'WP_Rocket\\Busting\\Facebook_SDK' => $baseDir . '/inc/deprecated/classes/busting/class-facebook-sdk.php', + 'WP_Rocket\\Engine\\Optimization\\QueryString\\Remove' => $baseDir . '/inc/deprecated/Engine/Optimization/QueryString/Remove.php', + 'WP_Rocket\\Engine\\Optimization\\QueryString\\RemoveSubscriber' => $baseDir . '/inc/deprecated/Engine/Optimization/QueryString/RemoveSubscriber.php', + 'WP_Rocket\\Event_Management\\Event_Manager' => $baseDir . '/inc/classes/event-management/class-event-manager.php', + 'WP_Rocket\\Event_Management\\Event_Manager_Aware_Subscriber_Interface' => $baseDir . '/inc/classes/event-management/event-manager-aware-subscriber-interface.php', + 'WP_Rocket\\Event_Management\\Subscriber_Interface' => $baseDir . '/inc/classes/event-management/subscriber-interface.php', + 'WP_Rocket\\Interfaces\\Render_Interface' => $baseDir . '/inc/classes/interfaces/class-render-interface.php', + 'WP_Rocket\\ServiceProvider\\Common_Subscribers' => $baseDir . '/inc/classes/ServiceProvider/class-common-subscribers.php', + 'WP_Rocket\\ServiceProvider\\Options' => $baseDir . '/inc/classes/ServiceProvider/class-options.php', + 'WP_Rocket\\Subscriber\\Admin\\Settings\\Beacon_Subscriber' => $baseDir . '/inc/deprecated/subscriber/admin/Settings/class-beacon-subscriber.php', + 'WP_Rocket\\Subscriber\\Optimization\\Dequeue_JQuery_Migrate_Subscriber' => $baseDir . '/inc/deprecated/subscriber/Optimization/class-dequeue-jquery-migrate-subscriber.php', + 'WP_Rocket\\Subscriber\\Optimization\\Minify_HTML_Subscriber' => $baseDir . '/inc/deprecated/subscriber/admin/Optimization/class-minify-html-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\EWWW_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-ewww-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Imagify_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-imagify-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Optimus_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-optimus-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\ShortPixel_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-shortpixel-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Webp_Common' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/trait-webp-common.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Webp_Interface' => $baseDir . '/inc/classes/subscriber/third-party/plugins/Images/Webp/webp-interface.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Mobile_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/class-mobile-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\NGG_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/class-ngg-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\SyntaxHighlighter_Subscriber' => $baseDir . '/inc/classes/subscriber/third-party/plugins/class-syntaxhighlighter-subscriber.php', + 'WP_Rocket\\Subscriber\\Tools\\Detect_Missing_Tags_Subscriber' => $baseDir . '/inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php', + 'WP_Rocket\\Traits\\Config_Updater' => $baseDir . '/inc/classes/traits/trait-config-updater.php', + 'WP_Rocket\\Traits\\Memoize' => $baseDir . '/inc/classes/traits/trait-memoize.php', + 'WP_Rocket\\deprecated\\DeprecatedClassTrait' => $baseDir . '/inc/deprecated/DeprecatedClassTrait.php', + 'WP_Rocket\\deprecated\\Engine\\Media\\Embeds\\EmbedsSubscriber' => $baseDir . '/inc/deprecated/Engine/Media/Embeds/EmbedsSubscriber.php', + 'WP_Rocket_Mobile_Detect' => $baseDir . '/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php', + 'WP_Rocket_WP_Async_Request' => $baseDir . '/inc/classes/dependencies/wp-media/background-processing/wp-async-request.php', + 'WP_Rocket_WP_Background_Process' => $baseDir . '/inc/classes/dependencies/wp-media/background-processing/wp-background-process.php', +); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php new file mode 100644 index 0000000..084f2e5 --- /dev/null +++ b/vendor/composer/autoload_namespaces.php @@ -0,0 +1,10 @@ + array($vendorDir . '/cloudflare/cf-ip-rewrite/src'), +); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php new file mode 100644 index 0000000..d0b2c7c --- /dev/null +++ b/vendor/composer/autoload_psr4.php @@ -0,0 +1,12 @@ + array($baseDir . '/inc'), + 'WPMedia\\Cloudflare\\' => array($baseDir . '/inc/Addon/Cloudflare'), + 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'), +); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php new file mode 100644 index 0000000..57dbe08 --- /dev/null +++ b/vendor/composer/autoload_real.php @@ -0,0 +1,38 @@ +register(true); + + return $loader; + } +} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php new file mode 100644 index 0000000..54facbb --- /dev/null +++ b/vendor/composer/autoload_static.php @@ -0,0 +1,109 @@ + + array ( + 'WP_Rocket\\' => 10, + 'WPMedia\\Cloudflare\\' => 19, + ), + 'C' => + array ( + 'Composer\\Installers\\' => 20, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'WP_Rocket\\' => + array ( + 0 => __DIR__ . '/../..' . '/inc', + ), + 'WPMedia\\Cloudflare\\' => + array ( + 0 => __DIR__ . '/../..' . '/inc/Addon/Cloudflare', + ), + 'Composer\\Installers\\' => + array ( + 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers', + ), + ); + + public static $prefixesPsr0 = array ( + 'C' => + array ( + 'CloudFlare\\' => + array ( + 0 => __DIR__ . '/..' . '/cloudflare/cf-ip-rewrite/src', + ), + ), + ); + + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + 'Imagify_Partner' => __DIR__ . '/../..' . '/inc/vendors/classes/class-imagify-partner.php', + 'Minify_CSS_UriRewriter' => __DIR__ . '/../..' . '/inc/vendors/classes/class-minify-css-urirewriter.php', + 'Minify_HTML' => __DIR__ . '/../..' . '/inc/deprecated/vendors/classes/class-minify-html.php', + 'WP_Rocket\\Abstract_Render' => __DIR__ . '/../..' . '/inc/classes/class-abstract-render.php', + 'WP_Rocket\\Addon\\Busting\\BustingFactory' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/Busting/BustingFactory.php', + 'WP_Rocket\\Addon\\Busting\\FileBustingTrait' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/Busting/FileBustingTrait.php', + 'WP_Rocket\\Addon\\FacebookTracking\\Subscriber' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/FacebookTracking/Subscriber.php', + 'WP_Rocket\\Addon\\GoogleTracking\\GoogleAnalytics' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/GoogleTracking/GoogleAnalytics.php', + 'WP_Rocket\\Addon\\GoogleTracking\\GoogleTagManager' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/GoogleTracking/GoogleTagManager.php', + 'WP_Rocket\\Addon\\GoogleTracking\\Subscriber' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Addon/GoogleTracking/Subscriber.php', + 'WP_Rocket\\Admin\\Abstract_Options' => __DIR__ . '/../..' . '/inc/classes/admin/class-abstract-options.php', + 'WP_Rocket\\Admin\\Logs' => __DIR__ . '/../..' . '/inc/classes/admin/class-logs.php', + 'WP_Rocket\\Admin\\Options' => __DIR__ . '/../..' . '/inc/classes/admin/class-options.php', + 'WP_Rocket\\Admin\\Options_Data' => __DIR__ . '/../..' . '/inc/classes/admin/class-options-data.php', + 'WP_Rocket\\Buffer\\Abstract_Buffer' => __DIR__ . '/../..' . '/inc/classes/Buffer/class-abstract-buffer.php', + 'WP_Rocket\\Buffer\\Cache' => __DIR__ . '/../..' . '/inc/classes/Buffer/class-cache.php', + 'WP_Rocket\\Buffer\\Config' => __DIR__ . '/../..' . '/inc/classes/Buffer/class-config.php', + 'WP_Rocket\\Buffer\\Tests' => __DIR__ . '/../..' . '/inc/classes/Buffer/class-tests.php', + 'WP_Rocket\\Busting\\Abstract_Busting' => __DIR__ . '/../..' . '/inc/deprecated/classes/busting/class-abstract-busting.php', + 'WP_Rocket\\Busting\\Facebook_Pickles' => __DIR__ . '/../..' . '/inc/deprecated/classes/busting/class-facebook-pickles.php', + 'WP_Rocket\\Busting\\Facebook_SDK' => __DIR__ . '/../..' . '/inc/deprecated/classes/busting/class-facebook-sdk.php', + 'WP_Rocket\\Engine\\Optimization\\QueryString\\Remove' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Optimization/QueryString/Remove.php', + 'WP_Rocket\\Engine\\Optimization\\QueryString\\RemoveSubscriber' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Optimization/QueryString/RemoveSubscriber.php', + 'WP_Rocket\\Event_Management\\Event_Manager' => __DIR__ . '/../..' . '/inc/classes/event-management/class-event-manager.php', + 'WP_Rocket\\Event_Management\\Event_Manager_Aware_Subscriber_Interface' => __DIR__ . '/../..' . '/inc/classes/event-management/event-manager-aware-subscriber-interface.php', + 'WP_Rocket\\Event_Management\\Subscriber_Interface' => __DIR__ . '/../..' . '/inc/classes/event-management/subscriber-interface.php', + 'WP_Rocket\\Interfaces\\Render_Interface' => __DIR__ . '/../..' . '/inc/classes/interfaces/class-render-interface.php', + 'WP_Rocket\\ServiceProvider\\Common_Subscribers' => __DIR__ . '/../..' . '/inc/classes/ServiceProvider/class-common-subscribers.php', + 'WP_Rocket\\ServiceProvider\\Options' => __DIR__ . '/../..' . '/inc/classes/ServiceProvider/class-options.php', + 'WP_Rocket\\Subscriber\\Admin\\Settings\\Beacon_Subscriber' => __DIR__ . '/../..' . '/inc/deprecated/subscriber/admin/Settings/class-beacon-subscriber.php', + 'WP_Rocket\\Subscriber\\Optimization\\Dequeue_JQuery_Migrate_Subscriber' => __DIR__ . '/../..' . '/inc/deprecated/subscriber/Optimization/class-dequeue-jquery-migrate-subscriber.php', + 'WP_Rocket\\Subscriber\\Optimization\\Minify_HTML_Subscriber' => __DIR__ . '/../..' . '/inc/deprecated/subscriber/admin/Optimization/class-minify-html-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\EWWW_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-ewww-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Imagify_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-imagify-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Optimus_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-optimus-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\ShortPixel_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/class-shortpixel-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Webp_Common' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/trait-webp-common.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Images\\Webp\\Webp_Interface' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/Images/Webp/webp-interface.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\Mobile_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/class-mobile-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\NGG_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/class-ngg-subscriber.php', + 'WP_Rocket\\Subscriber\\Third_Party\\Plugins\\SyntaxHighlighter_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/third-party/plugins/class-syntaxhighlighter-subscriber.php', + 'WP_Rocket\\Subscriber\\Tools\\Detect_Missing_Tags_Subscriber' => __DIR__ . '/../..' . '/inc/classes/subscriber/Tools/class-detect-missing-tags-subscriber.php', + 'WP_Rocket\\Traits\\Config_Updater' => __DIR__ . '/../..' . '/inc/classes/traits/trait-config-updater.php', + 'WP_Rocket\\Traits\\Memoize' => __DIR__ . '/../..' . '/inc/classes/traits/trait-memoize.php', + 'WP_Rocket\\deprecated\\DeprecatedClassTrait' => __DIR__ . '/../..' . '/inc/deprecated/DeprecatedClassTrait.php', + 'WP_Rocket\\deprecated\\Engine\\Media\\Embeds\\EmbedsSubscriber' => __DIR__ . '/../..' . '/inc/deprecated/Engine/Media/Embeds/EmbedsSubscriber.php', + 'WP_Rocket_Mobile_Detect' => __DIR__ . '/../..' . '/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php', + 'WP_Rocket_WP_Async_Request' => __DIR__ . '/../..' . '/inc/classes/dependencies/wp-media/background-processing/wp-async-request.php', + 'WP_Rocket_WP_Background_Process' => __DIR__ . '/../..' . '/inc/classes/dependencies/wp-media/background-processing/wp-background-process.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInit9c93096f8f0f6cbdf6a8a07d86e90a92::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit9c93096f8f0f6cbdf6a8a07d86e90a92::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInit9c93096f8f0f6cbdf6a8a07d86e90a92::$prefixesPsr0; + $loader->classMap = ComposerStaticInit9c93096f8f0f6cbdf6a8a07d86e90a92::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json new file mode 100644 index 0000000..4a4f0d7 --- /dev/null +++ b/vendor/composer/installed.json @@ -0,0 +1,206 @@ +{ + "packages": [ + { + "name": "cloudflare/cf-ip-rewrite", + "version": "1.0.4", + "version_normalized": "1.0.4.0", + "source": { + "type": "git", + "url": "https://github.com/cloudflare/cf-ip-rewrite.git", + "reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/48e2ce52e87d3d27cdb662584fccf82efa898bf1", + "reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "squizlabs/php_codesniffer": "2.*" + }, + "time": "2017-10-10T15:44:33+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "CloudFlare\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CloudFlare", + "homepage": "http://www.cloudflare.com/" + } + ], + "description": "Library to rewrite CloudFlare IP Addresses to the end-user IP address", + "homepage": "https://github.com/cloudflare/cf-ip-rewrite", + "keywords": [ + "cloudflare", + "ip rewrite" + ], + "support": { + "issues": "https://github.com/cloudflare/cf-ip-rewrite/issues", + "source": "https://github.com/cloudflare/cf-ip-rewrite/tree/master" + }, + "install-path": "../cloudflare/cf-ip-rewrite" + }, + { + "name": "composer/installers", + "version": "v2.2.0", + "version_normalized": "2.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "c29dc4b93137acb82734f672c37e029dfbd95b35" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/c29dc4b93137acb82734f672c37e029dfbd95b35", + "reference": "c29dc4b93137acb82734f672c37e029dfbd95b35", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan-phpunit": "^0.12.16", + "symfony/phpunit-bridge": "^5.3", + "symfony/process": "^5" + }, + "time": "2022-08-20T06:45:11+00:00", + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "https://composer.github.io/installers/", + "keywords": [ + "Dolibarr", + "Eliasis", + "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", + "MODX Evo", + "MantisBT", + "Mautic", + "Maya", + "OXID", + "Plentymarkets", + "Porto", + "RadPHP", + "SMF", + "Starbug", + "Thelia", + "Whmcs", + "WolfCMS", + "agl", + "annotatecms", + "attogram", + "bitrix", + "cakephp", + "chef", + "cockpit", + "codeigniter", + "concrete5", + "croogo", + "dokuwiki", + "drupal", + "eZ Platform", + "elgg", + "expressionengine", + "fuelphp", + "grav", + "installer", + "itop", + "known", + "kohana", + "laravel", + "lavalite", + "lithium", + "magento", + "majima", + "mako", + "matomo", + "mediawiki", + "miaoxing", + "modulework", + "modx", + "moodle", + "osclass", + "pantheon", + "phpbb", + "piwik", + "ppi", + "processwire", + "puppet", + "pxcms", + "reindex", + "roundcube", + "shopware", + "silverstripe", + "sydes", + "sylius", + "tastyigniter", + "wordpress", + "yawik", + "zend", + "zikula" + ], + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "install-path": "./installers" + } + ], + "dev": false, + "dev-package-names": [] +} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php new file mode 100644 index 0000000..eae5e46 --- /dev/null +++ b/vendor/composer/installed.php @@ -0,0 +1,41 @@ + array( + 'name' => 'wp-media/wp-rocket', + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'reference' => NULL, + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'dev' => false, + ), + 'versions' => array( + 'cloudflare/cf-ip-rewrite' => array( + 'pretty_version' => '1.0.4', + 'version' => '1.0.4.0', + 'reference' => '48e2ce52e87d3d27cdb662584fccf82efa898bf1', + 'type' => 'library', + 'install_path' => __DIR__ . '/../cloudflare/cf-ip-rewrite', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'composer/installers' => array( + 'pretty_version' => 'v2.2.0', + 'version' => '2.2.0.0', + 'reference' => 'c29dc4b93137acb82734f672c37e029dfbd95b35', + 'type' => 'composer-plugin', + 'install_path' => __DIR__ . '/./installers', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'wp-media/wp-rocket' => array( + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'reference' => NULL, + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'dev_requirement' => false, + ), + ), +); diff --git a/vendor/composer/installers/.github/workflows/continuous-integration.yml b/vendor/composer/installers/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..0378257 --- /dev/null +++ b/vendor/composer/installers/.github/workflows/continuous-integration.yml @@ -0,0 +1,62 @@ +name: "Continuous Integration" + +on: + - push + - pull_request + +env: + COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" + SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: "1" + +jobs: + tests: + name: "CI" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + - "7.2" + - "7.3" + - "7.4" + - "8.0" + - "8.1" + dependencies: [locked] + include: + - php-version: "7.2" + dependencies: lowest + - php-version: "8.1" + dependencies: lowest + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + tools: composer:snapshot + + - name: Get composer cache directory + id: composercache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.composercache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-composer- + + - name: "Handle lowest dependencies update" + if: "contains(matrix.dependencies, 'lowest')" + run: "echo \"COMPOSER_FLAGS=$COMPOSER_FLAGS --prefer-lowest\" >> $GITHUB_ENV" + + - name: "Install latest dependencies" + run: "composer update ${{ env.COMPOSER_FLAGS }}" + + - name: "Run tests" + run: "vendor/bin/simple-phpunit --verbose" diff --git a/vendor/composer/installers/.github/workflows/lint.yml b/vendor/composer/installers/.github/workflows/lint.yml new file mode 100644 index 0000000..843ac35 --- /dev/null +++ b/vendor/composer/installers/.github/workflows/lint.yml @@ -0,0 +1,30 @@ +name: "PHP Lint" + +on: + - push + - pull_request + +jobs: + tests: + name: "Lint" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + - "7.2" + - "latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + + - name: "Lint PHP files" + run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f" diff --git a/vendor/composer/installers/.github/workflows/phpstan.yml b/vendor/composer/installers/.github/workflows/phpstan.yml new file mode 100644 index 0000000..559fae1 --- /dev/null +++ b/vendor/composer/installers/.github/workflows/phpstan.yml @@ -0,0 +1,49 @@ +name: "PHPStan" + +on: + - push + - pull_request + +env: + COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" + SYMFONY_PHPUNIT_VERSION: "" + +jobs: + tests: + name: "PHPStan" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + - "8.0" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + + - name: Get composer cache directory + id: composercache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.composercache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-composer- + + - name: "Install latest dependencies" + run: "composer update ${{ env.COMPOSER_FLAGS }}" + + - name: Run PHPStan + run: | + composer require --dev phpunit/phpunit:^8.5.18 --with-all-dependencies ${{ env.COMPOSER_FLAGS }} + vendor/bin/phpstan analyse diff --git a/vendor/composer/installers/LICENSE b/vendor/composer/installers/LICENSE new file mode 100644 index 0000000..85f97fc --- /dev/null +++ b/vendor/composer/installers/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012 Kyle Robinson Young + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/vendor/composer/installers/composer.json b/vendor/composer/installers/composer.json new file mode 100644 index 0000000..5745d3b --- /dev/null +++ b/vendor/composer/installers/composer.json @@ -0,0 +1,116 @@ +{ + "name": "composer/installers", + "type": "composer-plugin", + "license": "MIT", + "description": "A multi-framework Composer library installer", + "keywords": [ + "installer", + "AGL", + "AnnotateCms", + "Attogram", + "Bitrix", + "CakePHP", + "Chef", + "Cockpit", + "CodeIgniter", + "concrete5", + "Croogo", + "DokuWiki", + "Dolibarr", + "Drupal", + "Elgg", + "Eliasis", + "ExpressionEngine", + "eZ Platform", + "FuelPHP", + "Grav", + "Hurad", + "ImageCMS", + "iTop", + "Kanboard", + "Known", + "Kohana", + "Lan Management System", + "Laravel", + "Lavalite", + "Lithium", + "Magento", + "majima", + "Mako", + "MantisBT", + "Matomo", + "Mautic", + "Maya", + "MODX", + "MODX Evo", + "MediaWiki", + "Miaoxing", + "OXID", + "osclass", + "MODULEWork", + "Moodle", + "Pantheon", + "Piwik", + "pxcms", + "phpBB", + "Plentymarkets", + "PPI", + "Puppet", + "Porto", + "ProcessWire", + "RadPHP", + "ReIndex", + "Roundcube", + "shopware", + "SilverStripe", + "SMF", + "Starbug", + "SyDES", + "Sylius", + "TastyIgniter", + "Thelia", + "WHMCS", + "WolfCMS", + "WordPress", + "YAWIK", + "Zend", + "Zikula" + ], + "homepage": "https://composer.github.io/installers/", + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "autoload": { + "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" } + }, + "autoload-dev": { + "psr-4": { "Composer\\Installers\\Test\\": "tests/Composer/Installers/Test" } + }, + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true + }, + "require": { + "php": "^7.2 || ^8.0", + "composer-plugin-api": "^1.0 || ^2.0" + }, + "require-dev": { + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "symfony/phpunit-bridge": "^5.3", + "phpstan/phpstan": "^0.12.55", + "symfony/process": "^5", + "phpstan/phpstan-phpunit": "^0.12.16" + }, + "scripts": { + "test": "vendor/bin/simple-phpunit", + "phpstan": "vendor/bin/phpstan analyse" + } +} diff --git a/vendor/composer/installers/phpstan.neon.dist b/vendor/composer/installers/phpstan.neon.dist new file mode 100644 index 0000000..b15782a --- /dev/null +++ b/vendor/composer/installers/phpstan.neon.dist @@ -0,0 +1,12 @@ +parameters: + level: 8 + paths: + - src + - tests + excludes_analyse: + - tests/Composer/Installers/Test/PolyfillTestCase.php + ignoreErrors: + - '~Test::[a-zA-Z0-9]+Provider\(\) return type~' + +includes: + - vendor/phpstan/phpstan-phpunit/extension.neon diff --git a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php new file mode 100644 index 0000000..b0996a6 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php @@ -0,0 +1,29 @@ + */ + protected $locations = array( + 'module' => 'More/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $name = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) { + return strtoupper($matches[1]); + }, $vars['name']); + + if (null === $name) { + throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error()); + } + + $vars['name'] = $name; + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php b/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php new file mode 100644 index 0000000..c504c70 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php @@ -0,0 +1,23 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php new file mode 100644 index 0000000..58a0f66 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'module' => 'addons/modules/{$name}/', + 'component' => 'addons/components/{$name}/', + 'service' => 'addons/services/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php new file mode 100644 index 0000000..f01b399 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php @@ -0,0 +1,58 @@ + */ + protected $locations = array( + 'module' => 'Modules/{$name}/', + 'theme' => 'Themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type asgard-module, cut off a trailing '-plugin' if present. + * + * For package type asgard-theme, cut off a trailing '-theme' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'asgard-module') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'asgard-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectPluginVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php new file mode 100644 index 0000000..bd7dd8d --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php new file mode 100644 index 0000000..663ec2a --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php @@ -0,0 +1,137 @@ + */ + protected $locations = array(); + /** @var Composer */ + protected $composer; + /** @var PackageInterface */ + protected $package; + /** @var IOInterface */ + protected $io; + + /** + * Initializes base installer. + */ + public function __construct(PackageInterface $package, Composer $composer, IOInterface $io) + { + $this->composer = $composer; + $this->package = $package; + $this->io = $io; + } + + /** + * Return the install path based on package type. + */ + public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string + { + $type = $this->package->getType(); + + $prettyName = $this->package->getPrettyName(); + if (strpos($prettyName, '/') !== false) { + list($vendor, $name) = explode('/', $prettyName); + } else { + $vendor = ''; + $name = $prettyName; + } + + $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type')); + + $extra = $package->getExtra(); + if (!empty($extra['installer-name'])) { + $availableVars['name'] = $extra['installer-name']; + } + + $extra = $this->composer->getPackage()->getExtra(); + if (!empty($extra['installer-paths'])) { + $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor); + if ($customPath !== false) { + return $this->templatePath($customPath, $availableVars); + } + } + + $packageType = substr($type, strlen($frameworkType) + 1); + $locations = $this->getLocations($frameworkType); + if (!isset($locations[$packageType])) { + throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type)); + } + + return $this->templatePath($locations[$packageType], $availableVars); + } + + /** + * For an installer to override to modify the vars per installer. + * + * @param array $vars This will normally receive array{name: string, vendor: string, type: string} + * @return array + */ + public function inflectPackageVars(array $vars): array + { + return $vars; + } + + /** + * Gets the installer's locations + * + * @return array map of package types => install path + */ + public function getLocations(string $frameworkType) + { + return $this->locations; + } + + /** + * Replace vars in a path + * + * @param array $vars + */ + protected function templatePath(string $path, array $vars = array()): string + { + if (strpos($path, '{') !== false) { + extract($vars); + preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches); + if (!empty($matches[1])) { + foreach ($matches[1] as $var) { + $path = str_replace('{$' . $var . '}', $$var, $path); + } + } + } + + return $path; + } + + /** + * Search through a passed paths array for a custom install path. + * + * @param array $paths + * @return string|false + */ + protected function mapCustomInstallPaths(array $paths, string $name, string $type, ?string $vendor = null) + { + foreach ($paths as $path => $names) { + $names = (array) $names; + if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) { + return $path; + } + } + + return false; + } + + protected function pregReplace(string $pattern, string $replacement, string $subject): string + { + $result = preg_replace($pattern, $replacement, $subject); + if (null === $result) { + throw new \RuntimeException('Failed to run preg_replace with '.$pattern.': '.preg_last_error()); + } + + return $result; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php new file mode 100644 index 0000000..705ecb4 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php @@ -0,0 +1,123 @@ +.`. + * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`. + * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`. + * + * You can set custom path to directory with Bitrix kernel in `composer.json`: + * + * ```json + * { + * "extra": { + * "bitrix-dir": "s1/bitrix" + * } + * } + * ``` + * + * @author Nik Samokhvalov + * @author Denis Kulichkin + */ +class BitrixInstaller extends BaseInstaller +{ + /** @var array */ + protected $locations = array( + 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/', + 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/', + 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/', + ); + + /** + * @var string[] Storage for informations about duplicates at all the time of installation packages. + */ + private static $checkedDuplicates = array(); + + public function inflectPackageVars(array $vars): array + { + /** @phpstan-ignore-next-line */ + if ($this->composer->getPackage()) { + $extra = $this->composer->getPackage()->getExtra(); + + if (isset($extra['bitrix-dir'])) { + $vars['bitrix_dir'] = $extra['bitrix-dir']; + } + } + + if (!isset($vars['bitrix_dir'])) { + $vars['bitrix_dir'] = 'bitrix'; + } + + return parent::inflectPackageVars($vars); + } + + /** + * {@inheritdoc} + */ + protected function templatePath(string $path, array $vars = array()): string + { + $templatePath = parent::templatePath($path, $vars); + $this->checkDuplicates($templatePath, $vars); + + return $templatePath; + } + + /** + * Duplicates search packages. + * + * @param array $vars + */ + protected function checkDuplicates(string $path, array $vars = array()): void + { + $packageType = substr($vars['type'], strlen('bitrix') + 1); + $localDir = explode('/', $vars['bitrix_dir']); + array_pop($localDir); + $localDir[] = 'local'; + $localDir = implode('/', $localDir); + + $oldPath = str_replace( + array('{$bitrix_dir}', '{$name}'), + array($localDir, $vars['name']), + $this->locations[$packageType] + ); + + if (in_array($oldPath, static::$checkedDuplicates)) { + return; + } + + if ($oldPath !== $path && file_exists($oldPath) && $this->io->isInteractive()) { + $this->io->writeError(' Duplication of packages:'); + $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . ''); + + while (true) { + switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) { + case 'y': + $fs = new Filesystem(); + $fs->removeDirectory($oldPath); + break 2; + + case 'n': + break 2; + + case '?': + default: + $this->io->writeError(array( + ' y - delete package ' . $oldPath . ' and to continue with the installation', + ' n - don\'t delete and to continue with the installation', + )); + $this->io->writeError(' ? - print help'); + break; + } + } + } + + static::$checkedDuplicates[] = $oldPath; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php new file mode 100644 index 0000000..ab022d9 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'package' => 'Packages/{$vendor}/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php new file mode 100644 index 0000000..df45895 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php @@ -0,0 +1,67 @@ + */ + protected $locations = array( + 'plugin' => 'Plugin/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + return $vars; + } + + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + + return $vars; + } + + /** + * Change the default plugin location when cakephp >= 3.0 + */ + public function getLocations(string $frameworkType): array + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/'; + } + return $this->locations; + } + + /** + * Check if CakePHP version matches against a version + * + * @phpstan-param Constraint::STR_OP_* $matcher + */ + protected function matchesCakeVersion(string $matcher, string $version): bool + { + $repositoryManager = $this->composer->getRepositoryManager(); + /** @phpstan-ignore-next-line */ + if (!$repositoryManager) { + return false; + } + + $repos = $repositoryManager->getLocalRepository(); + /** @phpstan-ignore-next-line */ + if (!$repos) { + return false; + } + + return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php new file mode 100644 index 0000000..b0d3c5f --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'cookbook' => 'Chef/{$vendor}/{$name}/', + 'role' => 'Chef/roles/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php new file mode 100644 index 0000000..1c52e0c --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'ext' => 'ext/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php new file mode 100644 index 0000000..2c943b2 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'ship' => 'CCF/orbit/{$name}/', + 'theme' => 'CCF/app/themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php new file mode 100644 index 0000000..d3fcdf7 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php @@ -0,0 +1,36 @@ + */ + protected $locations = array( + 'module' => 'cockpit/modules/addons/{$name}/', + ); + + /** + * Format module name. + * + * Strip `module-` prefix from package name. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] == 'cockpit-module') { + return $this->inflectModuleVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + public function inflectModuleVars(array $vars): array + { + $vars['name'] = ucfirst($this->pregReplace('/cockpit-/i', '', $vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php new file mode 100644 index 0000000..a183e07 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'library' => 'application/libraries/{$name}/', + 'third-party' => 'application/third_party/{$name}/', + 'module' => 'application/modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php new file mode 100644 index 0000000..2f5fecb --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php @@ -0,0 +1,15 @@ + */ + protected $locations = array( + 'core' => 'concrete/', + 'block' => 'application/blocks/{$name}/', + 'package' => 'packages/{$name}/', + 'theme' => 'application/themes/{$name}/', + 'update' => 'updates/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php new file mode 100644 index 0000000..31d4939 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php @@ -0,0 +1,23 @@ + */ + protected $locations = array( + 'plugin' => 'Plugin/{$name}/', + 'theme' => 'View/Themed/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name'])); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php new file mode 100644 index 0000000..88f53f7 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'app' => 'app/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php b/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php new file mode 100644 index 0000000..196f60e --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'module' => 'modules/{$vendor}/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php new file mode 100644 index 0000000..aa3a2e6 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php @@ -0,0 +1,57 @@ + */ + protected $locations = array( + 'plugin' => 'lib/plugins/{$name}/', + 'template' => 'lib/tpl/{$name}/', + ); + + /** + * Format package name. + * + * For package type dokuwiki-plugin, cut off a trailing '-plugin', + * or leading dokuwiki_ if present. + * + * For package type dokuwiki-template, cut off a trailing '-template' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'dokuwiki-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'dokuwiki-template') { + return $this->inflectTemplateVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectPluginVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-plugin$/', '', $vars['name']); + $vars['name'] = $this->pregReplace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectTemplateVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-template$/', '', $vars['name']); + $vars['name'] = $this->pregReplace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php new file mode 100644 index 0000000..c583619 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php @@ -0,0 +1,18 @@ + + */ +class DolibarrInstaller extends BaseInstaller +{ + //TODO: Add support for scripts and themes + /** @var array */ + protected $locations = array( + 'module' => 'htdocs/custom/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php new file mode 100644 index 0000000..7690f30 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php @@ -0,0 +1,24 @@ + */ + protected $locations = array( + 'core' => 'core/', + 'module' => 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + 'library' => 'libraries/{$name}/', + 'profile' => 'profiles/{$name}/', + 'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/', + 'drush' => 'drush/{$name}/', + 'custom-theme' => 'themes/custom/{$name}/', + 'custom-module' => 'modules/custom/{$name}/', + 'custom-profile' => 'profiles/custom/{$name}/', + 'drupal-multisite' => 'sites/{$name}/', + 'console' => 'console/{$name}/', + 'console-language' => 'console/language/{$name}/', + 'config' => 'config/sync/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php new file mode 100644 index 0000000..48ef2ec --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'plugin' => 'mod/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php new file mode 100644 index 0000000..d7dd9a9 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'component' => 'components/{$name}/', + 'module' => 'modules/{$name}/', + 'plugin' => 'plugins/{$name}/', + 'template' => 'templates/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php new file mode 100644 index 0000000..fe1d468 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php @@ -0,0 +1,31 @@ + */ + private $ee2Locations = array( + 'addon' => 'system/expressionengine/third_party/{$name}/', + 'theme' => 'themes/third_party/{$name}/', + ); + + /** @var array */ + private $ee3Locations = array( + 'addon' => 'system/user/addons/{$name}/', + 'theme' => 'themes/user/{$name}/', + ); + + public function getLocations(string $frameworkType): array + { + if ($frameworkType === 'ee2') { + $this->locations = $this->ee2Locations; + } else { + $this->locations = $this->ee3Locations; + } + + return $this->locations; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php new file mode 100644 index 0000000..1f5b84e --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'meta-assets' => 'web/assets/ezplatform/', + 'assets' => 'web/assets/ezplatform/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php new file mode 100644 index 0000000..5948572 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'module' => 'fuel/app/modules/{$name}/', + 'package' => 'fuel/packages/{$name}/', + 'theme' => 'fuel/app/themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php new file mode 100644 index 0000000..b4d80ed --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'component' => 'components/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php new file mode 100644 index 0000000..f5792e3 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php @@ -0,0 +1,29 @@ + */ + protected $locations = array( + 'plugin' => 'user/plugins/{$name}/', + 'theme' => 'user/themes/{$name}/', + ); + + /** + * Format package name + */ + public function inflectPackageVars(array $vars): array + { + $restrictedWords = implode('|', array_keys($this->locations)); + + $vars['name'] = strtolower($vars['name']); + $vars['name'] = $this->pregReplace( + '/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui', + '$1', + $vars['name'] + ); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php new file mode 100644 index 0000000..dd76c5b --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php @@ -0,0 +1,27 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + 'theme' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php new file mode 100644 index 0000000..4157cec --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'template' => 'templates/{$name}/', + 'module' => 'application/modules/{$name}/', + 'library' => 'application/libraries/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/Installer.php b/vendor/composer/installers/src/Composer/Installers/Installer.php new file mode 100644 index 0000000..67a73e9 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/Installer.php @@ -0,0 +1,280 @@ + + */ + private $supportedTypes = array( + 'akaunting' => 'AkauntingInstaller', + 'asgard' => 'AsgardInstaller', + 'attogram' => 'AttogramInstaller', + 'agl' => 'AglInstaller', + 'annotatecms' => 'AnnotateCmsInstaller', + 'bitrix' => 'BitrixInstaller', + 'bonefish' => 'BonefishInstaller', + 'cakephp' => 'CakePHPInstaller', + 'chef' => 'ChefInstaller', + 'civicrm' => 'CiviCrmInstaller', + 'ccframework' => 'ClanCatsFrameworkInstaller', + 'cockpit' => 'CockpitInstaller', + 'codeigniter' => 'CodeIgniterInstaller', + 'concrete5' => 'Concrete5Installer', + 'croogo' => 'CroogoInstaller', + 'dframe' => 'DframeInstaller', + 'dokuwiki' => 'DokuWikiInstaller', + 'dolibarr' => 'DolibarrInstaller', + 'decibel' => 'DecibelInstaller', + 'drupal' => 'DrupalInstaller', + 'elgg' => 'ElggInstaller', + 'eliasis' => 'EliasisInstaller', + 'ee3' => 'ExpressionEngineInstaller', + 'ee2' => 'ExpressionEngineInstaller', + 'ezplatform' => 'EzPlatformInstaller', + 'fuel' => 'FuelInstaller', + 'fuelphp' => 'FuelphpInstaller', + 'grav' => 'GravInstaller', + 'hurad' => 'HuradInstaller', + 'tastyigniter' => 'TastyIgniterInstaller', + 'imagecms' => 'ImageCMSInstaller', + 'itop' => 'ItopInstaller', + 'kanboard' => 'KanboardInstaller', + 'known' => 'KnownInstaller', + 'kodicms' => 'KodiCMSInstaller', + 'kohana' => 'KohanaInstaller', + 'lms' => 'LanManagementSystemInstaller', + 'laravel' => 'LaravelInstaller', + 'lavalite' => 'LavaLiteInstaller', + 'lithium' => 'LithiumInstaller', + 'magento' => 'MagentoInstaller', + 'majima' => 'MajimaInstaller', + 'mantisbt' => 'MantisBTInstaller', + 'mako' => 'MakoInstaller', + 'matomo' => 'MatomoInstaller', + 'maya' => 'MayaInstaller', + 'mautic' => 'MauticInstaller', + 'mediawiki' => 'MediaWikiInstaller', + 'miaoxing' => 'MiaoxingInstaller', + 'microweber' => 'MicroweberInstaller', + 'modulework' => 'MODULEWorkInstaller', + 'modx' => 'ModxInstaller', + 'modxevo' => 'MODXEvoInstaller', + 'moodle' => 'MoodleInstaller', + 'october' => 'OctoberInstaller', + 'ontowiki' => 'OntoWikiInstaller', + 'oxid' => 'OxidInstaller', + 'osclass' => 'OsclassInstaller', + 'pxcms' => 'PxcmsInstaller', + 'phpbb' => 'PhpBBInstaller', + 'piwik' => 'PiwikInstaller', + 'plentymarkets'=> 'PlentymarketsInstaller', + 'ppi' => 'PPIInstaller', + 'puppet' => 'PuppetInstaller', + 'radphp' => 'RadPHPInstaller', + 'phifty' => 'PhiftyInstaller', + 'porto' => 'PortoInstaller', + 'processwire' => 'ProcessWireInstaller', + 'quicksilver' => 'PantheonInstaller', + 'redaxo' => 'RedaxoInstaller', + 'redaxo5' => 'Redaxo5Installer', + 'reindex' => 'ReIndexInstaller', + 'roundcube' => 'RoundcubeInstaller', + 'shopware' => 'ShopwareInstaller', + 'sitedirect' => 'SiteDirectInstaller', + 'silverstripe' => 'SilverStripeInstaller', + 'smf' => 'SMFInstaller', + 'starbug' => 'StarbugInstaller', + 'sydes' => 'SyDESInstaller', + 'sylius' => 'SyliusInstaller', + 'tao' => 'TaoInstaller', + 'thelia' => 'TheliaInstaller', + 'tusk' => 'TuskInstaller', + 'userfrosting' => 'UserFrostingInstaller', + 'vanilla' => 'VanillaInstaller', + 'whmcs' => 'WHMCSInstaller', + 'winter' => 'WinterInstaller', + 'wolfcms' => 'WolfCMSInstaller', + 'wordpress' => 'WordPressInstaller', + 'yawik' => 'YawikInstaller', + 'zend' => 'ZendInstaller', + 'zikula' => 'ZikulaInstaller', + 'prestashop' => 'PrestashopInstaller' + ); + + /** + * Disables installers specified in main composer extra installer-disable + * list + */ + public function __construct( + IOInterface $io, + Composer $composer, + string $type = 'library', + ?Filesystem $filesystem = null, + ?BinaryInstaller $binaryInstaller = null + ) { + parent::__construct($io, $composer, $type, $filesystem, $binaryInstaller); + $this->removeDisabledInstallers(); + } + + /** + * {@inheritDoc} + */ + public function getInstallPath(PackageInterface $package) + { + $type = $package->getType(); + $frameworkType = $this->findFrameworkType($type); + + if ($frameworkType === false) { + throw new \InvalidArgumentException( + 'Sorry the package type of this package is not yet supported.' + ); + } + + $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + $installer = new $class($package, $this->composer, $this->getIO()); + + $path = $installer->getInstallPath($package, $frameworkType); + if (!$this->filesystem->isAbsolutePath($path)) { + $path = getcwd() . '/' . $path; + } + + return $path; + } + + public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) + { + $installPath = $this->getPackageBasePath($package); + $io = $this->io; + $outputStatus = function () use ($io, $installPath) { + $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted' : 'not deleted')); + }; + + $promise = parent::uninstall($repo, $package); + + // Composer v2 might return a promise here + if ($promise instanceof PromiseInterface) { + return $promise->then($outputStatus); + } + + // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async) + $outputStatus(); + + return null; + } + + /** + * {@inheritDoc} + */ + public function supports($packageType) + { + $frameworkType = $this->findFrameworkType($packageType); + + if ($frameworkType === false) { + return false; + } + + $locationPattern = $this->getLocationPattern($frameworkType); + + return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1; + } + + /** + * Finds a supported framework type if it exists and returns it + * + * @return string|false + */ + protected function findFrameworkType(string $type) + { + krsort($this->supportedTypes); + + foreach ($this->supportedTypes as $key => $val) { + if ($key === substr($type, 0, strlen($key))) { + return substr($type, 0, strlen($key)); + } + } + + return false; + } + + /** + * Get the second part of the regular expression to check for support of a + * package type + */ + protected function getLocationPattern(string $frameworkType): string + { + $pattern = null; + if (!empty($this->supportedTypes[$frameworkType])) { + $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + /** @var BaseInstaller $framework */ + $framework = new $frameworkClass(new Package('dummy/pkg', '1.0.0.0', '1.0.0'), $this->composer, $this->getIO()); + $locations = array_keys($framework->getLocations($frameworkType)); + if ($locations) { + $pattern = '(' . implode('|', $locations) . ')'; + } + } + + return $pattern ?: '(\w+)'; + } + + private function getIO(): IOInterface + { + return $this->io; + } + + /** + * Look for installers set to be disabled in composer's extra config and + * remove them from the list of supported installers. + * + * Globals: + * - true, "all", and "*" - disable all installers. + * - false - enable all installers (useful with + * wikimedia/composer-merge-plugin or similar) + */ + protected function removeDisabledInstallers(): void + { + $extra = $this->composer->getPackage()->getExtra(); + + if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) { + // No installers are disabled + return; + } + + // Get installers to disable + $disable = $extra['installer-disable']; + + // Ensure $disabled is an array + if (!is_array($disable)) { + $disable = array($disable); + } + + // Check which installers should be disabled + $all = array(true, "all", "*"); + $intersect = array_intersect($all, $disable); + if (!empty($intersect)) { + // Disable all installers + $this->supportedTypes = array(); + return; + } + + // Disable specified installers + foreach ($disable as $key => $installer) { + if (is_string($installer) && key_exists($installer, $this->supportedTypes)) { + unset($this->supportedTypes[$installer]); + } + } + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php new file mode 100644 index 0000000..06af068 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'extension' => 'extensions/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php new file mode 100644 index 0000000..bca954b --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php @@ -0,0 +1,20 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php b/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php new file mode 100644 index 0000000..61910a8 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'plugin' => 'IdnoPlugins/{$name}/', + 'theme' => 'Themes/{$name}/', + 'console' => 'ConsolePlugins/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php new file mode 100644 index 0000000..2505ac6 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'plugin' => 'cms/plugins/{$name}/', + 'media' => 'cms/media/vendor/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php new file mode 100644 index 0000000..b6aa809 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php new file mode 100644 index 0000000..7fe9d9b --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php @@ -0,0 +1,27 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + 'template' => 'templates/{$name}/', + 'document-template' => 'documents/templates/{$name}/', + 'userpanel-module' => 'userpanel/modules/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php new file mode 100644 index 0000000..a69dc88 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'library' => 'libraries/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php new file mode 100644 index 0000000..e4a7c7d --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'package' => 'packages/{$vendor}/{$name}/', + 'theme' => 'public/themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php new file mode 100644 index 0000000..b24bea2 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'library' => 'libraries/{$name}/', + 'source' => 'libraries/_source/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php new file mode 100644 index 0000000..369e8b4 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php new file mode 100644 index 0000000..062a839 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php @@ -0,0 +1,18 @@ + */ + protected $locations = array( + 'snippet' => 'assets/snippets/{$name}/', + 'plugin' => 'assets/plugins/{$name}/', + 'module' => 'assets/modules/{$name}/', + 'template' => 'assets/templates/{$name}/', + 'lib' => 'assets/lib/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php new file mode 100644 index 0000000..ec07cd6 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'theme' => 'app/design/frontend/{$name}/', + 'skin' => 'skin/frontend/default/{$name}/', + 'library' => 'lib/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php new file mode 100644 index 0000000..6fc3089 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php @@ -0,0 +1,46 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Transforms the names + * + * @param array $vars + * @return array + */ + public function inflectPackageVars(array $vars): array + { + return $this->correctPluginName($vars); + } + + /** + * Change hyphenated names to camelcase + * + * @param array $vars + * @return array + */ + private function correctPluginName(array $vars): array + { + $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + if (null === $camelCasedName) { + throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error()); + } + + $vars['name'] = ucfirst($camelCasedName); + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php new file mode 100644 index 0000000..cbe3760 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'package' => 'app/packages/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php b/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php new file mode 100644 index 0000000..98e230f --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php @@ -0,0 +1,25 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php new file mode 100644 index 0000000..57fdb03 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php @@ -0,0 +1,28 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php new file mode 100644 index 0000000..e48c133 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php @@ -0,0 +1,43 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + 'theme' => 'themes/{$name}/', + 'core' => 'app/', + ); + + private function getDirectoryName(): string + { + $extra = $this->package->getExtra(); + if (!empty($extra['install-directory-name'])) { + return $extra['install-directory-name']; + } + + return $this->toCamelCase($this->package->getPrettyName()); + } + + private function toCamelCase(string $packageName): string + { + return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName)))); + } + + /** + * Format package name of mautic-plugins to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') { + $directoryName = $this->getDirectoryName(); + $vars['name'] = $directoryName; + } + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php new file mode 100644 index 0000000..df486da --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php @@ -0,0 +1,38 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); + + /** + * Format package name. + * + * For package type maya-module, cut off a trailing '-module' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'maya-module') { + return $this->inflectModuleVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectModuleVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php new file mode 100644 index 0000000..8e9d771 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php @@ -0,0 +1,58 @@ + */ + protected $locations = array( + 'core' => 'core/', + 'extension' => 'extensions/{$name}/', + 'skin' => 'skins/{$name}/', + ); + + /** + * Format package name. + * + * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform + * to CamelCase keeping existing uppercase chars. + * + * For package type mediawiki-skin, cut off a trailing '-skin' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'mediawiki-extension') { + return $this->inflectExtensionVars($vars); + } + + if ($vars['type'] === 'mediawiki-skin') { + return $this->inflectSkinVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectExtensionVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-extension$/', '', $vars['name']); + $vars['name'] = str_replace('-', ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectSkinVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-skin$/', '', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php b/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php new file mode 100644 index 0000000..0254177 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php new file mode 100644 index 0000000..a4d97ab --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php @@ -0,0 +1,145 @@ + */ + protected $locations = array( + 'module' => 'userfiles/modules/{$install_item_dir}/', + 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/', + 'template' => 'userfiles/templates/{$install_item_dir}/', + 'element' => 'userfiles/elements/{$install_item_dir}/', + 'vendor' => 'vendor/{$install_item_dir}/', + 'components' => 'components/{$install_item_dir}/' + ); + + /** + * Format package name. + * + * For package type microweber-module, cut off a trailing '-module' if present + * + * For package type microweber-template, cut off a trailing '-template' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($this->package->getTargetDir() !== null && $this->package->getTargetDir() !== '') { + $vars['install_item_dir'] = $this->package->getTargetDir(); + } else { + $vars['install_item_dir'] = $vars['name']; + if ($vars['type'] === 'microweber-template') { + return $this->inflectTemplateVars($vars); + } + if ($vars['type'] === 'microweber-templates') { + return $this->inflectTemplatesVars($vars); + } + if ($vars['type'] === 'microweber-core') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-adapter') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-module') { + return $this->inflectModuleVars($vars); + } + if ($vars['type'] === 'microweber-modules') { + return $this->inflectModulesVars($vars); + } + if ($vars['type'] === 'microweber-skin') { + return $this->inflectSkinVars($vars); + } + if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') { + return $this->inflectElementVars($vars); + } + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectTemplateVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-template$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/template-$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectTemplatesVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-templates$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/templates-$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectCoreVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-providers$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/-provider$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/-adapter$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectModuleVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-module$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/module-$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectModulesVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-modules$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/modules-$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectSkinVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-skin$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/skin-$/', '', $vars['install_item_dir']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectElementVars(array $vars): array + { + $vars['install_item_dir'] = $this->pregReplace('/-elements$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/elements-$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/-element$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = $this->pregReplace('/element-$/', '', $vars['install_item_dir']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php new file mode 100644 index 0000000..e2dddec --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'extra' => 'core/packages/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php new file mode 100644 index 0000000..d9babb3 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php @@ -0,0 +1,67 @@ + */ + protected $locations = array( + 'mod' => 'mod/{$name}/', + 'admin_report' => 'admin/report/{$name}/', + 'atto' => 'lib/editor/atto/plugins/{$name}/', + 'tool' => 'admin/tool/{$name}/', + 'assignment' => 'mod/assignment/type/{$name}/', + 'assignsubmission' => 'mod/assign/submission/{$name}/', + 'assignfeedback' => 'mod/assign/feedback/{$name}/', + 'antivirus' => 'lib/antivirus/{$name}/', + 'auth' => 'auth/{$name}/', + 'availability' => 'availability/condition/{$name}/', + 'block' => 'blocks/{$name}/', + 'booktool' => 'mod/book/tool/{$name}/', + 'cachestore' => 'cache/stores/{$name}/', + 'cachelock' => 'cache/locks/{$name}/', + 'calendartype' => 'calendar/type/{$name}/', + 'customfield' => 'customfield/field/{$name}/', + 'fileconverter' => 'files/converter/{$name}/', + 'format' => 'course/format/{$name}/', + 'coursereport' => 'course/report/{$name}/', + 'contenttype' => 'contentbank/contenttype/{$name}/', + 'customcertelement' => 'mod/customcert/element/{$name}/', + 'datafield' => 'mod/data/field/{$name}/', + 'dataformat' => 'dataformat/{$name}/', + 'datapreset' => 'mod/data/preset/{$name}/', + 'editor' => 'lib/editor/{$name}/', + 'enrol' => 'enrol/{$name}/', + 'filter' => 'filter/{$name}/', + 'gradeexport' => 'grade/export/{$name}/', + 'gradeimport' => 'grade/import/{$name}/', + 'gradereport' => 'grade/report/{$name}/', + 'gradingform' => 'grade/grading/form/{$name}/', + 'local' => 'local/{$name}/', + 'logstore' => 'admin/tool/log/store/{$name}/', + 'ltisource' => 'mod/lti/source/{$name}/', + 'ltiservice' => 'mod/lti/service/{$name}/', + 'media' => 'media/player/{$name}/', + 'message' => 'message/output/{$name}/', + 'mnetservice' => 'mnet/service/{$name}/', + 'paygw' => 'payment/gateway/{$name}/', + 'plagiarism' => 'plagiarism/{$name}/', + 'portfolio' => 'portfolio/{$name}/', + 'qbehaviour' => 'question/behaviour/{$name}/', + 'qformat' => 'question/format/{$name}/', + 'qtype' => 'question/type/{$name}/', + 'quizaccess' => 'mod/quiz/accessrule/{$name}/', + 'quiz' => 'mod/quiz/report/{$name}/', + 'report' => 'report/{$name}/', + 'repository' => 'repository/{$name}/', + 'scormreport' => 'mod/scorm/report/{$name}/', + 'search' => 'search/engine/{$name}/', + 'theme' => 'theme/{$name}/', + 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', + 'profilefield' => 'user/profile/field/{$name}/', + 'webservice' => 'webservice/{$name}/', + 'workshopallocation' => 'mod/workshop/allocation/{$name}/', + 'workshopeval' => 'mod/workshop/eval/{$name}/', + 'workshopform' => 'mod/workshop/form/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php new file mode 100644 index 0000000..524f17d --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php @@ -0,0 +1,57 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/', + 'theme' => 'themes/{$vendor}-{$name}/' + ); + + /** + * Format package name. + * + * For package type october-plugin, cut off a trailing '-plugin' if present. + * + * For package type october-theme, cut off a trailing '-theme' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'october-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'october-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectPluginVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^oc-|-plugin$/', '', $vars['name']); + $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^oc-|-theme$/', '', $vars['name']); + $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php new file mode 100644 index 0000000..fd20c1a --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php @@ -0,0 +1,26 @@ + */ + protected $locations = array( + 'extension' => 'extensions/{$name}/', + 'theme' => 'extensions/themes/{$name}/', + 'translation' => 'extensions/translations/{$name}/', + ); + + /** + * Format package name to lower case and remove ".ontowiki" suffix + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($vars['name']); + $vars['name'] = $this->pregReplace('/.ontowiki$/', '', $vars['name']); + $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']); + $vars['name'] = $this->pregReplace('/-translation$/', '', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php new file mode 100644 index 0000000..e61d61f --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'plugin' => 'oc-content/plugins/{$name}/', + 'theme' => 'oc-content/themes/{$name}/', + 'language' => 'oc-content/languages/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php new file mode 100644 index 0000000..6e1e862 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php @@ -0,0 +1,49 @@ +.+)\/.+/'; + + /** @var array */ + protected $locations = array( + 'module' => 'modules/{$name}/', + 'theme' => 'application/views/{$name}/', + 'out' => 'out/{$name}/', + ); + + public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string + { + $installPath = parent::getInstallPath($package, $frameworkType); + $type = $this->package->getType(); + if ($type === 'oxid-module') { + $this->prepareVendorDirectory($installPath); + } + return $installPath; + } + + /** + * Makes sure there is a vendormetadata.php file inside + * the vendor folder if there is a vendor folder. + */ + protected function prepareVendorDirectory(string $installPath): void + { + $matches = ''; + $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches); + if (!$hasVendorDirectory) { + return; + } + + $vendorDirectory = $matches['vendor']; + $vendorPath = getcwd() . '/modules/' . $vendorDirectory; + if (!file_exists($vendorPath)) { + mkdir($vendorPath, 0755, true); + } + + $vendorMetaDataPath = $vendorPath . '/vendormetadata.php'; + touch($vendorMetaDataPath); + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php new file mode 100644 index 0000000..714c467 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php b/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php new file mode 100644 index 0000000..439f61a --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'script' => 'web/private/scripts/quicksilver/{$name}', + 'module' => 'web/private/scripts/quicksilver/{$name}', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php new file mode 100644 index 0000000..3c970e2 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'bundle' => 'bundles/{$name}/', + 'library' => 'libraries/{$name}/', + 'framework' => 'frameworks/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php new file mode 100644 index 0000000..d53ee4f --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'extension' => 'ext/{$vendor}/{$name}/', + 'language' => 'language/{$name}/', + 'style' => 'styles/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php new file mode 100644 index 0000000..b2faf44 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php @@ -0,0 +1,28 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php new file mode 100644 index 0000000..0c06359 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php @@ -0,0 +1,28 @@ + */ + protected $locations = array( + 'plugin' => '{$name}/' + ); + + /** + * Remove hyphen, "plugin" and format to camelcase + */ + public function inflectPackageVars(array $vars): array + { + $nameBits = explode("-", $vars['name']); + foreach ($nameBits as $key => $name) { + $nameBits[$key] = ucfirst($name); + if (strcasecmp($name, "Plugin") == 0) { + unset($nameBits[$key]); + } + } + $vars['name'] = implode('', $nameBits); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/Plugin.php b/vendor/composer/installers/src/Composer/Installers/Plugin.php new file mode 100644 index 0000000..437a949 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/Plugin.php @@ -0,0 +1,28 @@ +installer = new Installer($io, $composer); + $composer->getInstallationManager()->addInstaller($this->installer); + } + + public function deactivate(Composer $composer, IOInterface $io): void + { + $composer->getInstallationManager()->removeInstaller($this->installer); + } + + public function uninstall(Composer $composer, IOInterface $io): void + { + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php new file mode 100644 index 0000000..a01d7a0 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'container' => 'app/Containers/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php new file mode 100644 index 0000000..23f156f --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php b/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php new file mode 100644 index 0000000..a7eb1ee --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php @@ -0,0 +1,23 @@ + */ + protected $locations = array( + 'module' => 'site/modules/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php new file mode 100644 index 0000000..1a0a8a3 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php new file mode 100644 index 0000000..fc58b8a --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php @@ -0,0 +1,62 @@ + */ + protected $locations = array( + 'module' => 'app/Modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Format package name. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'pxcms-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'pxcms-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * For package type pxcms-module, cut off a trailing '-plugin' if present. + * + * @param array $vars + * @return array + */ + protected function inflectModuleVars(array $vars): array + { + $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) + $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module- + $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']); // strip out -module + $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s + $vars['name'] = ucwords($vars['name']); // make module name camelcased + + return $vars; + } + + /** + * For package type pxcms-module, cut off a trailing '-plugin' if present. + * + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) + $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme- + $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']); // strip out -theme + $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s + $vars['name'] = ucwords($vars['name']); // make module name camelcased + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php new file mode 100644 index 0000000..4caae51 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php @@ -0,0 +1,26 @@ + */ + protected $locations = array( + 'bundle' => 'src/{$name}/' + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php new file mode 100644 index 0000000..a19eaaf --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'theme' => 'themes/{$name}/', + 'plugin' => 'plugins/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php b/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php new file mode 100644 index 0000000..b62c926 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'addon' => 'redaxo/src/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php new file mode 100644 index 0000000..26b3aa8 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'addon' => 'redaxo/include/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php new file mode 100644 index 0000000..7e71674 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php @@ -0,0 +1,21 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Lowercase name and changes the name to a underscores + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower(str_replace('-', '_', $vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php new file mode 100644 index 0000000..7321046 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'module' => 'Sources/{$name}/', + 'theme' => 'Themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php new file mode 100644 index 0000000..82b8e28 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php @@ -0,0 +1,66 @@ + */ + protected $locations = array( + 'backend-plugin' => 'engine/Shopware/Plugins/Local/Backend/{$name}/', + 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/', + 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/', + 'theme' => 'templates/{$name}/', + 'plugin' => 'custom/plugins/{$name}/', + 'frontend-theme' => 'themes/Frontend/{$name}/', + ); + + /** + * Transforms the names + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'shopware-theme') { + return $this->correctThemeName($vars); + } + + return $this->correctPluginName($vars); + } + + /** + * Changes the name to a camelcased combination of vendor and name + * + * @param array $vars + * @return array + */ + private function correctPluginName(array $vars): array + { + $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + if (null === $camelCasedName) { + throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error()); + } + + $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName); + + return $vars; + } + + /** + * Changes the name to a underscore separated name + * + * @param array $vars + * @return array + */ + private function correctThemeName(array $vars): array + { + $vars['name'] = str_replace('-', '_', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php new file mode 100644 index 0000000..aa2de21 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php @@ -0,0 +1,33 @@ + */ + protected $locations = array( + 'module' => '{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Return the install path based on package type. + * + * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework + * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0 + */ + public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string + { + if ( + $package->getName() == 'silverstripe/framework' + && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion()) + && version_compare($package->getVersion(), '2.999.999') < 0 + ) { + return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); + } + + return parent::getInstallPath($package, $frameworkType); + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php new file mode 100644 index 0000000..0af3239 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php @@ -0,0 +1,34 @@ + */ + protected $locations = array( + 'module' => 'modules/{$vendor}/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/' + ); + + /** + * @param array $vars + * @return array + */ + public function inflectPackageVars(array $vars): array + { + return $this->parseVars($vars); + } + + /** + * @param array $vars + * @return array + */ + protected function parseVars(array $vars): array + { + $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor']; + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php b/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php new file mode 100644 index 0000000..72afa08 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + 'custom-module' => 'app/modules/{$name}/', + 'custom-theme' => 'app/themes/{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php new file mode 100644 index 0000000..24673d2 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php @@ -0,0 +1,55 @@ + */ + protected $locations = array( + 'module' => 'app/modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Format module name. + * + * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] == 'sydes-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'sydes-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + public function inflectModuleVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/(^sydes-|-module$)/i', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/(^sydes-|-theme$)/', '', $vars['name']); + $vars['name'] = strtolower($vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php new file mode 100644 index 0000000..c82bd85 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'theme' => 'themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php b/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php new file mode 100644 index 0000000..8c1d814 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php @@ -0,0 +1,32 @@ + */ + protected $locations = array( + 'extension' => '{$name}' + ); + + public function inflectPackageVars(array $vars): array + { + $extra = $this->package->getExtra(); + + if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) { + $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME]; + return $vars; + } + + $vars['name'] = str_replace('extension-', '', $vars['name']); + $vars['name'] = str_replace('-', ' ', $vars['name']); + $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name']))); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php new file mode 100644 index 0000000..39ceae0 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php @@ -0,0 +1,85 @@ + */ + protected $locations = [ + 'module' => 'app/{$name}/', + 'extension' => 'extensions/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/', + ]; + + /** + * Format package name. + * + * Cut off leading 'ti-ext-' or 'ti-theme-' if present. + * Strip vendor name of characters that is not alphanumeric or an underscore + * + */ + public function inflectPackageVars(array $vars): array + { + $extra = $this->package->getExtra(); + + if ($vars['type'] === 'tastyigniter-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'tastyigniter-extension') { + return $this->inflectExtensionVars($vars, $extra); + } + + if ($vars['type'] === 'tastyigniter-theme') { + return $this->inflectThemeVars($vars, $extra); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectModuleVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^ti-module-/', '', $vars['name']); + + return $vars; + } + + /** + * @param array $vars + * @param array $extra + * @return array + */ + protected function inflectExtensionVars(array $vars, array $extra): array + { + if (!empty($extra['tastyigniter-extension']['code'])) { + $parts = explode('.', $extra['tastyigniter-extension']['code']); + $vars['vendor'] = (string)$parts[0]; + $vars['name'] = (string)($parts[1] ?? ''); + } + + $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']); + $vars['name'] = $this->pregReplace('/^ti-ext-/', '', $vars['name']); + + return $vars; + } + + /** + * @param array $vars + * @param array $extra + * @return array + */ + protected function inflectThemeVars(array $vars, array $extra): array + { + if (!empty($extra['tastyigniter-theme']['code'])) { + $vars['name'] = $extra['tastyigniter-theme']['code']; + } + + $vars['name'] = $this->pregReplace('/^ti-theme-/', '', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php new file mode 100644 index 0000000..896bed5 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'module' => 'local/modules/{$name}/', + 'frontoffice-template' => 'templates/frontOffice/{$name}/', + 'backoffice-template' => 'templates/backOffice/{$name}/', + 'email-template' => 'templates/email/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php new file mode 100644 index 0000000..3b5f142 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php @@ -0,0 +1,17 @@ + + */ +class TuskInstaller extends BaseInstaller +{ + /** @var array */ + protected $locations = array( + 'task' => '.tusk/tasks/{$name}/', + 'command' => '.tusk/commands/{$name}/', + 'asset' => 'assets/tusk/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php new file mode 100644 index 0000000..a646c5b --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'sprinkle' => 'app/sprinkles/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php new file mode 100644 index 0000000..06d5db3 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + 'theme' => 'themes/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php new file mode 100644 index 0000000..cf094dd --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php @@ -0,0 +1,59 @@ + */ + protected $locations = array( + 'bundle' => 'src/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type vgmcp-bundle, cut off a trailing '-bundle' if present. + * + * For package type vgmcp-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'vgmcp-bundle') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'vgmcp-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectPluginVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-bundle$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php new file mode 100644 index 0000000..91b19fd --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php @@ -0,0 +1,22 @@ + */ + protected $locations = array( + 'addons' => 'modules/addons/{$vendor}_{$name}/', + 'fraud' => 'modules/fraud/{$vendor}_{$name}/', + 'gateways' => 'modules/gateways/{$vendor}_{$name}/', + 'notifications' => 'modules/notifications/{$vendor}_{$name}/', + 'registrars' => 'modules/registrars/{$vendor}_{$name}/', + 'reports' => 'modules/reports/{$vendor}_{$name}/', + 'security' => 'modules/security/{$vendor}_{$name}/', + 'servers' => 'modules/servers/{$vendor}_{$name}/', + 'social' => 'modules/social/{$vendor}_{$name}/', + 'support' => 'modules/support/{$vendor}_{$name}/', + 'templates' => 'templates/{$vendor}_{$name}/', + 'includes' => 'includes/{$vendor}_{$name}/' + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php b/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php new file mode 100644 index 0000000..f75a681 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php @@ -0,0 +1,71 @@ + */ + protected $locations = array( + 'module' => 'modules/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type winter-plugin, cut off a trailing '-plugin' if present. + * + * For package type winter-theme, cut off a trailing '-theme' if present. + */ + public function inflectPackageVars(array $vars): array + { + if ($vars['type'] === 'winter-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'winter-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'winter-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectModuleVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^wn-|-module$/', '', $vars['name']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectPluginVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^wn-|-plugin$/', '', $vars['name']); + $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } + + /** + * @param array $vars + * @return array + */ + protected function inflectThemeVars(array $vars): array + { + $vars['name'] = $this->pregReplace('/^wn-|-theme$/', '', $vars['name']); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php new file mode 100644 index 0000000..58a9587 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php @@ -0,0 +1,11 @@ + */ + protected $locations = array( + 'plugin' => 'wolf/plugins/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php new file mode 100644 index 0000000..d46d5ab --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php @@ -0,0 +1,14 @@ + */ + protected $locations = array( + 'plugin' => 'wp-content/plugins/{$name}/', + 'theme' => 'wp-content/themes/{$name}/', + 'muplugin' => 'wp-content/mu-plugins/{$name}/', + 'dropin' => 'wp-content/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php new file mode 100644 index 0000000..d609dea --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php @@ -0,0 +1,23 @@ + */ + protected $locations = array( + 'module' => 'module/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars(array $vars): array + { + $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php new file mode 100644 index 0000000..ccfcd4a --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php @@ -0,0 +1,13 @@ + */ + protected $locations = array( + 'library' => 'library/{$name}/', + 'extra' => 'extras/library/{$name}/', + 'module' => 'module/{$name}/', + ); +} diff --git a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php new file mode 100644 index 0000000..d1fd1d7 --- /dev/null +++ b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php @@ -0,0 +1,12 @@ + */ + protected $locations = array( + 'module' => 'modules/{$vendor}-{$name}/', + 'theme' => 'themes/{$vendor}-{$name}/' + ); +} diff --git a/vendor/composer/installers/src/bootstrap.php b/vendor/composer/installers/src/bootstrap.php new file mode 100644 index 0000000..a5bb9ad --- /dev/null +++ b/vendor/composer/installers/src/bootstrap.php @@ -0,0 +1,18 @@ += 70300)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.'; +} + +if ($issues) { + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); + } elseif (!headers_sent()) { + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode(' ', $issues), + E_USER_ERROR + ); +} diff --git a/views/cache/advanced-cache.php b/views/cache/advanced-cache.php new file mode 100644 index 0000000..7880fa3 --- /dev/null +++ b/views/cache/advanced-cache.php @@ -0,0 +1,108 @@ + [ $rocket_path . 'inc/classes/Buffer/class-abstract-buffer.php' ], + 'WP_Rocket\\Buffer\\Cache' => [ $rocket_path . 'inc/classes/Buffer/class-cache.php' ], + 'WP_Rocket\\Buffer\\Tests' => [ $rocket_path . 'inc/classes/Buffer/class-tests.php' ], + 'WP_Rocket\\Buffer\\Config' => [ $rocket_path . 'inc/classes/Buffer/class-config.php' ], + 'WP_Rocket\\Logger\\HTMLFormatter' => [ + $rocket_path . 'inc/Logger/HTMLFormatter.php', + $rocket_path . 'inc/classes/logger/class-html-formatter.php', + ], + 'WP_Rocket\\Logger\\Logger' => [ + $rocket_path . 'inc/Logger/Logger.php', + $rocket_path . 'inc/classes/logger/class-logger.php', + ], + 'WP_Rocket\\Logger\\StreamHandler' => [ + $rocket_path . 'inc/Logger/StreamHandler.php', + $rocket_path . 'inc/classes/logger/class-stream-handler.php', + ], + 'WP_Rocket\\Traits\\Memoize' => [ $rocket_path . 'inc/classes/traits/trait-memoize.php' ], + ]; + + if ( isset( $rocket_classes[ $class ] ) ) { + $file_options = $rocket_classes[ $class ]; + $file = ''; + + foreach ( $file_options as $file_option ) { + if ( file_exists( $file_option ) ) { + $file = $file_option; + break; + } + } + } elseif ( strpos( $class, 'WP_Rocket\\Dependencies\\Monolog\\' ) === 0 ) { + $class = str_replace( 'WP_Rocket\\Dependencies\\Monolog\\', '', $class ); + + $file = $rocket_path . 'inc/Dependencies/Monolog/' . str_replace( '\\', '/', $class ) . '.php'; + if ( ! file_exists( $file ) ) { + $file = $rocket_path . 'vendor/monolog/monolog/src/' . str_replace( '\\', '/', $class ) . '.php'; + } + } elseif ( strpos( $class, 'WP_Rocket\\Dependencies\\Psr\\Log\\' ) === 0 ) { + $class = str_replace( 'WP_Rocket\\Dependencies\\Psr\\Log\\', '', $class ); + + $file = $rocket_path . 'inc/Dependencies/Psr/Log/' . str_replace( '\\', '/', $class ) . '.php'; + if ( ! file_exists( $file ) ) { + $file = $rocket_path . 'vendor/psr/log/' . str_replace( '\\', '/', $class ) . '.php'; + } + } else { + return; + } + + if ( file_exists( $file ) ) { + require $file; + } + } +); + +if ( ! class_exists( '\WP_Rocket\Buffer\Cache' ) ) { + if ( ! defined( 'DONOTROCKETOPTIMIZE' ) ) { + define( 'DONOTROCKETOPTIMIZE', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound + } + return; +} + +$rocket_config_class = new Config( + [ + 'config_dir_path' => $rocket_config_path, + ] +); + +( new Cache( + new Tests( + $rocket_config_class + ), + $rocket_config_class, + [ + 'cache_dir_path' => $rocket_cache_path, + ] +) )->maybe_init_process(); diff --git a/views/cpcss/activate-cpcss-mobile.php b/views/cpcss/activate-cpcss-mobile.php new file mode 100644 index 0000000..352dd16 --- /dev/null +++ b/views/cpcss/activate-cpcss-mobile.php @@ -0,0 +1,42 @@ + +

    +
    +
    +
    +
    +
    + ', + '' + ); + ?> +
    +
    + ', + '' + ); + ?> +
    +
    +
    + +
    +
    diff --git a/views/cpcss/metabox/container.php b/views/cpcss/metabox/container.php new file mode 100644 index 0000000..f59297d --- /dev/null +++ b/views/cpcss/metabox/container.php @@ -0,0 +1,30 @@ + +
    +

    +
    + +
    +
    +
    +
    + +

    + +
    +
    diff --git a/views/cpcss/metabox/generate.php b/views/cpcss/metabox/generate.php new file mode 100644 index 0000000..601fe8b --- /dev/null +++ b/views/cpcss/metabox/generate.php @@ -0,0 +1,59 @@ + +

    +', + '' + ); + ?> +

    +

    +', + '' + ); + ?> +

    +
    + +
    +
    + +
    diff --git a/views/deactivation-intent/form.php b/views/deactivation-intent/form.php new file mode 100644 index 0000000..75e18c4 --- /dev/null +++ b/views/deactivation-intent/form.php @@ -0,0 +1,94 @@ + + diff --git a/views/metaboxes/post_edit_options.php b/views/metaboxes/post_edit_options.php new file mode 100644 index 0000000..7e2d3ec --- /dev/null +++ b/views/metaboxes/post_edit_options.php @@ -0,0 +1,49 @@ + + +
    + > +
    + +
    +

    + + + > +
    + + + +

    + ', '' ); + ?> +

    +
    + + + + + + + + diff --git a/views/settings/beacon.php b/views/settings/beacon.php new file mode 100644 index 0000000..5344788 --- /dev/null +++ b/views/settings/beacon.php @@ -0,0 +1,27 @@ + + diff --git a/views/settings/buttons/button.php b/views/settings/buttons/button.php new file mode 100644 index 0000000..e338ddd --- /dev/null +++ b/views/settings/buttons/button.php @@ -0,0 +1,19 @@ + tag, e.g. class, etc. + * } + */ + +defined( 'ABSPATH' ) || exit; + +?> + diff --git a/views/settings/buttons/link.php b/views/settings/buttons/link.php new file mode 100644 index 0000000..76eb34c --- /dev/null +++ b/views/settings/buttons/link.php @@ -0,0 +1,19 @@ + tag, e.g. class, target, etc. + * } + */ + +defined( 'ABSPATH' ) || exit; + +?> +> diff --git a/views/settings/dynamic-lists-update.php b/views/settings/dynamic-lists-update.php new file mode 100644 index 0000000..13d38b9 --- /dev/null +++ b/views/settings/dynamic-lists-update.php @@ -0,0 +1,32 @@ + + +
    +
    +
    +
    + ', + '' + ); + ?> +
    +
    +
    +
    + +
    +
    diff --git a/views/settings/enable-google-fonts.php b/views/settings/enable-google-fonts.php new file mode 100644 index 0000000..548f2de --- /dev/null +++ b/views/settings/enable-google-fonts.php @@ -0,0 +1,41 @@ + +
    +
    +
    +
    +
    + ', + '' + ); + ?> +
    +
    + ', + '' + ); + ?> +
    +
    +
    + +
    +
    diff --git a/views/settings/fields/cache-lifespan.php b/views/settings/fields/cache-lifespan.php new file mode 100644 index 0000000..a550e34 --- /dev/null +++ b/views/settings/fields/cache-lifespan.php @@ -0,0 +1,39 @@ + + +
    +
    + +
    + +
    + +
    + +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    diff --git a/views/settings/fields/categorized_multiselect.php b/views/settings/fields/categorized_multiselect.php new file mode 100644 index 0000000..8d1e6fc --- /dev/null +++ b/views/settings/fields/categorized_multiselect.php @@ -0,0 +1,103 @@ + + +
    ' class="wpr-field wpr-multiple-select wpr-field--categorizedmultiselect " data-default="" > +
    +
    +

    + +

    + +

    + +

    + +
    + + $rocket_item ) { + if ( empty( $rocket_item['items'] ) ) { + continue; + } + ?> +
    +
    +
    + + +
    +
    + +
    +
    +
    +
      + +
    • +
      + ' + /> + +
      +
    • + +
    +
    +
    + +
    diff --git a/views/settings/fields/checkbox.php b/views/settings/fields/checkbox.php new file mode 100644 index 0000000..147fc03 --- /dev/null +++ b/views/settings/fields/checkbox.php @@ -0,0 +1,80 @@ + + + +
    + + +
    > +
    + + > + +
    + + +
    + +
    + +
    + + +
    +
    + +
    + +
    + +
    + + +
    + + + +
    + +
    + + + +
    + +
    +
    +
    + +
    + +
    + +
    + +
    + $url ) : // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound + ?> +
    +
    + /> +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + +
    + +
    +
    + + + +
    +
    diff --git a/views/settings/fields/hidden.php b/views/settings/fields/hidden.php new file mode 100644 index 0000000..694d2d8 --- /dev/null +++ b/views/settings/fields/hidden.php @@ -0,0 +1,18 @@ + + diff --git a/views/settings/fields/import-form.php b/views/settings/fields/import-form.php new file mode 100644 index 0000000..b27a8cc --- /dev/null +++ b/views/settings/fields/import-form.php @@ -0,0 +1,50 @@ + +

    +

    + +
    +
    + +
    + + + + +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    + + +
    + +
    + +
    diff --git a/views/settings/fields/one-click-addon.php b/views/settings/fields/one-click-addon.php new file mode 100644 index 0000000..b913467 --- /dev/null +++ b/views/settings/fields/one-click-addon.php @@ -0,0 +1,70 @@ + +
    + +
    +
    +
    +

    + +
    + > + +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + + +
    + +
    + +
    +
    +
    +
    +
    diff --git a/views/settings/fields/radio-buttons.php b/views/settings/fields/radio-buttons.php new file mode 100644 index 0000000..cb82a7e --- /dev/null +++ b/views/settings/fields/radio-buttons.php @@ -0,0 +1,77 @@ + +
    ' class="wpr-field wpr-radio-buttons " data-default="" > +
    + $option ) : // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound ?> + + +
    + $option ) : // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound ?> + +
    +
    + +
    + +
    + +
    + + +
    + + +
    + +
    + +
    + +
    + +
    + + $value, + 'sub_fields' => $option['sub_fields'], + ] + ); + ?> + +
    + +
    + diff --git a/views/settings/fields/rocket-addon.php b/views/settings/fields/rocket-addon.php new file mode 100644 index 0000000..504016f --- /dev/null +++ b/views/settings/fields/rocket-addon.php @@ -0,0 +1,77 @@ + + +
    +
    +
    +

    + +
    + > + +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + + +
    + +
    + + +
    + +
    + + + + +
    +
    +
    +
    diff --git a/views/settings/fields/rocket-cdn.php b/views/settings/fields/rocket-cdn.php new file mode 100644 index 0000000..a78712e --- /dev/null +++ b/views/settings/fields/rocket-cdn.php @@ -0,0 +1,79 @@ + +
    +
    +
    + +
    + +
    + +
    + +
    + $url ) : // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound + ?> +
    + + + + +
    + +
    + +
    + + +
    + + + + +
    + +
    + +
    + +
    +
    +
    +
    +

    +
    +
    +
    + ' . esc_html__( 'Learn more', 'rocket' ) . '' + ); + ?> +

    + render_action_button( + 'link', + 'rocket_purge_rocketcdn', + [ + 'label' => __( 'Clear all RocketCDN cache files', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-trash', + ], + ] + ); + ?> +
    diff --git a/views/settings/fields/select.php b/views/settings/fields/select.php new file mode 100644 index 0000000..57be1c9 --- /dev/null +++ b/views/settings/fields/select.php @@ -0,0 +1,43 @@ + + +
    > +
    + + +
    + + +
    + +
    + +
    diff --git a/views/settings/fields/sliding-checkbox.php b/views/settings/fields/sliding-checkbox.php new file mode 100644 index 0000000..c388d94 --- /dev/null +++ b/views/settings/fields/sliding-checkbox.php @@ -0,0 +1,36 @@ + + +
    +
    + > + +
    + + +
    + +
    + +
    diff --git a/views/settings/fields/text.php b/views/settings/fields/text.php new file mode 100644 index 0000000..be7e7e8 --- /dev/null +++ b/views/settings/fields/text.php @@ -0,0 +1,43 @@ + + +
    +
    + +
    + +
    + +
    +
    + + + + > + +
    + +
    + +
    +
    diff --git a/views/settings/fields/textarea.php b/views/settings/fields/textarea.php new file mode 100644 index 0000000..47e51e1 --- /dev/null +++ b/views/settings/fields/textarea.php @@ -0,0 +1,50 @@ + + +
    > + + + + +
    + +
    + +
    + +
    + +
    + +
    + + +
    diff --git a/views/settings/navigation.php b/views/settings/navigation.php new file mode 100644 index 0000000..7ce663f --- /dev/null +++ b/views/settings/navigation.php @@ -0,0 +1,30 @@ + + + +
    +
    +
    + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/advanced-cache.php b/views/settings/page-sections/advanced-cache.php new file mode 100644 index 0000000..90977a5 --- /dev/null +++ b/views/settings/page-sections/advanced-cache.php @@ -0,0 +1,24 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/cache.php b/views/settings/page-sections/cache.php new file mode 100644 index 0000000..db734a8 --- /dev/null +++ b/views/settings/page-sections/cache.php @@ -0,0 +1,24 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/cloudflare.php b/views/settings/page-sections/cloudflare.php new file mode 100644 index 0000000..f822ae9 --- /dev/null +++ b/views/settings/page-sections/cloudflare.php @@ -0,0 +1,54 @@ + + +
    +
    +

    + Logo Cloudflare +

    +
    + render_settings_sections( $data['id'] ); ?> +
    +

    +
    + +
    +
    + ' . esc_html__( 'Learn more', 'rocket' ) . '' + ); + ?> +

    + render_action_button( + 'link', + 'rocket_purge_cloudflare', + [ + 'label' => __( 'Clear all Cloudflare cache files', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-trash', + ], + ] + ); + ?> +
    + +
    diff --git a/views/settings/page-sections/dashboard.php b/views/settings/page-sections/dashboard.php new file mode 100644 index 0000000..2eab1c6 --- /dev/null +++ b/views/settings/page-sections/dashboard.php @@ -0,0 +1,247 @@ + +
    +
    +

    +
    + + +
    +
    +
    +

    + +
    + +

    +

    +
    + +
    +
    + + +
    +
    + +
    +

    + render_action_button( + 'button', + 'refresh_account', + [ + 'label' => __( 'Refresh info', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-infoAction wpr-icon-refresh', + ], + ] + ); + ?> +
    + + + + + render_settings_sections( $data['id'] ); + ?> +
    + +
    +
    +

    +
    + +
    +
    + +
    +

    + render_action_button( + 'link', + 'purge_cache', + [ + 'label' => (bool) get_rocket_option( 'manual_preload', false ) ? __( 'Clear and preload cache', 'rocket' ) : __( 'Clear cache', 'rocket' ), + 'parameters' => [ + 'type' => 'all', + ], + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-icon-trash', + ], + ] + ); + ?> +
    + + +
    +

    + render_action_button( + 'link', + 'rocket_generate_critical_css', + [ + 'label' => __( 'Regenerate Critical CSS', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-icon-refresh', + ], + ] + ); + ?> +
    + + + +
    +

    + render_action_button( + 'link', + 'rocket_clear_usedcss', + [ + 'label' => __( 'Clear Used CSS', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-icon-trash', + ], + ] + ); + ?> +
    + +
    +
    +
    +
    +
    +
    + render_part( 'getting-started' ); ?> +
    +

    +
    +
    +
    +
      + +
    • + +
    +
    + +
    +
    +
    +

    +

    +
    +
    + render_action_button( + 'link', + 'ask_support', + [ + 'label' => __( 'Ask support', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--blue wpr-icon-help', + 'target' => '_blank', + ], + ] + ); + ?> +
    +
    +
    + +
    +
    + +
    + render_part( 'documentation' ); ?> +
    +
    +
    diff --git a/views/settings/page-sections/database.php b/views/settings/page-sections/database.php new file mode 100644 index 0000000..3faab78 --- /dev/null +++ b/views/settings/page-sections/database.php @@ -0,0 +1,29 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    + +

    +
    + +
    diff --git a/views/settings/page-sections/file-optimization.php b/views/settings/page-sections/file-optimization.php new file mode 100644 index 0000000..0f8fc37 --- /dev/null +++ b/views/settings/page-sections/file-optimization.php @@ -0,0 +1,24 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/heartbeat.php b/views/settings/page-sections/heartbeat.php new file mode 100644 index 0000000..2daffb1 --- /dev/null +++ b/views/settings/page-sections/heartbeat.php @@ -0,0 +1,25 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/imagify.php b/views/settings/page-sections/imagify.php new file mode 100644 index 0000000..cea1efe --- /dev/null +++ b/views/settings/page-sections/imagify.php @@ -0,0 +1,49 @@ + + +
    +
    +

    +
    +
    +
    +

    + , %2$s = , %3$s = , %4$s = . + printf( esc_html__( '%1$sWP ROCKET%2$s created %3$sIMAGIFY%4$s %1$sfor best-in-class image optimization.%2$s', 'rocket' ), '', '', '', '' ); + ?> +

    +

    +

    +
      +
    • +
    • +
    • +
    + get_post_install_url() ) . '">' . esc_html( $button_text ) . ''; + } + ?> +
    +
    + +
    +
    +
    diff --git a/views/settings/page-sections/license.php b/views/settings/page-sections/license.php new file mode 100644 index 0000000..2025b01 --- /dev/null +++ b/views/settings/page-sections/license.php @@ -0,0 +1,61 @@ + + +
    +

    +
    + +
    +
    + , %4$s = . + esc_html__( '%1$s%2$s%3$stutorial%4$s', 'rocket' ), + '', + '' + ), + sprintf( + // translators: %1$s = , %4$s = . + esc_html__( '%1$s%2$s%3$ssupport%4$s', 'rocket' ), + '', + '' + ) + ); + ?> +
    +

    + +
    +
    + render_settings_sections( $data['id'] ); ?> +
    +
    diff --git a/views/settings/page-sections/media.php b/views/settings/page-sections/media.php new file mode 100644 index 0000000..0f9800f --- /dev/null +++ b/views/settings/page-sections/media.php @@ -0,0 +1,24 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/page-cdn.php b/views/settings/page-sections/page-cdn.php new file mode 100644 index 0000000..ba79706 --- /dev/null +++ b/views/settings/page-sections/page-cdn.php @@ -0,0 +1,40 @@ + + +
    +
    +

    +
    + + render_settings_sections( $data['id'] ); ?> + +
    diff --git a/views/settings/page-sections/preload.php b/views/settings/page-sections/preload.php new file mode 100644 index 0000000..550d20a --- /dev/null +++ b/views/settings/page-sections/preload.php @@ -0,0 +1,24 @@ + + +
    +
    +

    +
    + render_settings_sections( $data['id'] ); ?> +
    diff --git a/views/settings/page-sections/sucuri.php b/views/settings/page-sections/sucuri.php new file mode 100644 index 0000000..bb69526 --- /dev/null +++ b/views/settings/page-sections/sucuri.php @@ -0,0 +1,55 @@ + + +
    +
    +

    + <?php echo esc_attr( $data['title'] ); ?> +

    +
    + render_settings_sections( $data['id'] ); ?> + +
    +

    +
    +
    +
    + ' . esc_html__( 'Learn more', 'rocket' ) . '' + ); + ?> +

    + render_action_button( + 'link', + 'rocket_purge_sucuri', + [ + 'label' => __( 'Clear all Sucuri cache files', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-trash', + ], + ] + ); + ?> +
    + +
    diff --git a/views/settings/page-sections/tools.php b/views/settings/page-sections/tools.php new file mode 100644 index 0000000..84f8f57 --- /dev/null +++ b/views/settings/page-sections/tools.php @@ -0,0 +1,119 @@ +exists( Logger::get_log_file_path() ) ) { + $rocket_stats = Logger::get_log_file_stats(); + + if ( ! is_wp_error( $rocket_stats ) ) { + // translators: %1$s = formatted file size, %2$s = formatted number of entries (don't use %2$d). + $rocket_log_description .= sprintf( esc_html__( 'Files size: %1$s. Number of entries: %2$s.', 'rocket' ), '' . esc_html( $rocket_stats['bytes'] ) . '', '' . esc_html( $rocket_stats['entries'] ) . '' ); + + // translators: %1$s = opening tag, %2$s = closing tag. + $rocket_log_description .= '
    ' . sprintf( esc_html__( '%1$sDownload the file%2$s.', 'rocket' ), '', '' ); + + // translators: %1$s = opening tag, %2$s = closing tag. + $rocket_log_description .= ' - ' . sprintf( esc_html__( '%1$sDelete the file%2$s.', 'rocket' ), '', '' ); + } +} +?> + +
    +
    +

    +
    +
    +
    +
    +
    +
    +
    + render_action_button( + 'link', + 'rocket_export', + [ + 'label' => __( 'Download settings', 'rocket' ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-chevron-down', + ], + ] + ); + ?> +
    +
    + + render_import_form(); ?> + +
    +
    +
    +
    + +

    + . + printf( esc_html__( 'You can rollback to the previous major version here.%sThen send us a support request.', 'rocket' ), '
    ' ); + ?> +
    +
    +
    + render_action_button( + 'link', + 'rocket_rollback', + [ + // translators: %s = WP Rocket previous version. + 'label' => sprintf( __( 'Reinstall version %s', 'rocket' ), WP_ROCKET_LASTVERSION ), + 'attributes' => [ + 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--red wpr-icon-refresh', + ], + ] + ); + ?> +
    +
    + + + + +
    diff --git a/views/settings/page-sections/tutorials.php b/views/settings/page-sections/tutorials.php new file mode 100644 index 0000000..b894f44 --- /dev/null +++ b/views/settings/page-sections/tutorials.php @@ -0,0 +1,68 @@ + __( 'Getting Started', 'rocket' ), + 'tutorials' => [ + '7seqacq2ol' => __( 'Getting Started with WP Rocket', 'rocket' ), + 'fj42vucf99' => __( 'Finding the Best Settings for Your Site', 'rocket' ), + 'z1qxl7s2zn' => __( 'How to Check if WP Rocket is Caching Your Site', 'rocket' ), + 'j042jylrre' => __( 'How to Measure the Speed of Your Site', 'rocket' ), + '803tlui8oi' => __( 'How Preloading Works', 'rocket' ), + ], + ], + [ + 'title' => __( 'Passing the Core Web vitals', 'rocket' ), + 'tutorials' => [ + 'fj7gs031q6' => __( 'How to improve LCP with WP Rocket', 'rocket' ), + 'krqb7ckugp' => __( 'How to improve FID with WP Rocket', 'rocket' ), + '5wrdzcmj90' => __( 'How to improve CLS with WP Rocket', 'rocket' ), + ], + ], + [ + 'title' => __( 'Troubleshooting', 'rocket' ), + 'tutorials' => [ + 'frwm2xrksl' => __( 'Troubleshooting Display Issues with File Optimization', 'rocket' ), + '95z0cb0yxb' => __( 'How to Find the Right JavaScript to Exclude', 'rocket' ), + '9m1zg8p5wc' => __( 'How External Content Slows Your Site', 'rocket' ), + ], + ], + [ + 'title' => __( 'Add-ons', 'rocket' ), + 'tutorials' => [ + '09kolaz9o0' => __( 'Set Up the Cloudflare Add-on', 'rocket' ), + ], + ], +]; +?> +
    +
    +

    +
    +
    +
    + +
    +

    +
    +
    + $rocket_tutorial_title ) : ?> +
    + +
     
    +

    +
    + +
    + +
    +
    +
    diff --git a/views/settings/page.php b/views/settings/page.php new file mode 100644 index 0000000..d7b0fa0 --- /dev/null +++ b/views/settings/page.php @@ -0,0 +1,105 @@ + +
    +

    +
    + +
    + +
    + render_navigation(); ?> +
    + +
    + +
    +
    + + render_form_sections(); ?> + render_hidden_fields(); ?> + +
    + render_imagify_section(); + } + $this->render_tools_section(); + $this->render_tutorials_section(); + ?> +
    +
    + + +
    +
    + +
    + + +
    + +
    +
    +

    + +
    +
    +

    + , %2$s = . + printf( esc_html__( 'Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s', 'rocket' ), '', '' ); + ?> +

    + + +
    +

    +
    + +
    +
    +
    +
    +
    + +
    diff --git a/views/settings/partials/documentation.php b/views/settings/partials/documentation.php new file mode 100644 index 0000000..0e9a5d9 --- /dev/null +++ b/views/settings/partials/documentation.php @@ -0,0 +1,31 @@ + + +
    + +

    +

    + + render_action_button( + 'link', + 'documentation', + [ + 'label' => __( 'Read the documentation', 'rocket' ), + 'attributes' => [ + 'target' => '_blank', + 'class' => 'wpr-button wpr-button--small wpr-button--blueDark', + ], + ] + ); + ?> + +
    diff --git a/views/settings/partials/getting-started.php b/views/settings/partials/getting-started.php new file mode 100644 index 0000000..7340f64 --- /dev/null +++ b/views/settings/partials/getting-started.php @@ -0,0 +1,29 @@ + __( 'What WP Rocket Does For You By Default', 'rocket' ), + 'fj42vucf99' => __( 'Finding the Best Settings for Your Site', 'rocket' ), + 'z1qxl7s2zn' => __( 'How to Check if WP Rocket is Caching Your Site', 'rocket' ), + 'j042jylrre' => __( 'How to Measure the Speed of Your Site', 'rocket' ), +]; +?> +
    +

    +
    +
    +
    +
      + $rocket_tutorial_title ) : ?> + +
    • + +
    +
    +
    diff --git a/views/settings/partials/sidebar.php b/views/settings/partials/sidebar.php new file mode 100644 index 0000000..b32efbf --- /dev/null +++ b/views/settings/partials/sidebar.php @@ -0,0 +1,38 @@ + + +

    +
    +

    + +
    +
    +

    + + +
    +
    +

    + +
    + +
    + +

    +

    +
    + +render_part( 'documentation' ); diff --git a/views/settings/sections/addons-container.php b/views/settings/sections/addons-container.php new file mode 100644 index 0000000..c25532b --- /dev/null +++ b/views/settings/sections/addons-container.php @@ -0,0 +1,33 @@ + + +
    +

    + + + +
    + +
    +
    + +
    + render_settings_fields( $data['page'], $data['id'] ); ?> +
    diff --git a/views/settings/sections/fields-container.php b/views/settings/sections/fields-container.php new file mode 100644 index 0000000..e92cad2 --- /dev/null +++ b/views/settings/sections/fields-container.php @@ -0,0 +1,54 @@ + + + +
    +

    + + + +
    + +
    +
    + +
    + +
    + render_settings_fields( $data['page'], $data['id'] ); ?> +
    + + + + +
    + +
    + + +
    + +
    + + +
    diff --git a/views/settings/sections/nocontainer.php b/views/settings/sections/nocontainer.php new file mode 100644 index 0000000..0f1e62b --- /dev/null +++ b/views/settings/sections/nocontainer.php @@ -0,0 +1,23 @@ + + +render_settings_fields( $data['page'], $data['id'] ); diff --git a/wp-rocket.php b/wp-rocket.php new file mode 100644 index 0000000..8cf594c --- /dev/null +++ b/wp-rocket.php @@ -0,0 +1,165 @@ + '********', + 'consumer_email' => 'noreply@gmail.com', + 'secret_key' => hash( 'crc32', 'noreply@gmail.com' ), +]; +update_option( 'wp_rocket_settings', array_merge( get_option( 'wp_rocket_settings', [] ), $consumer_data ) ); +add_filter( 'pre_http_request', function( $pre, $parsed_args, $url ) { + if ( strpos( $url, 'https://wp-rocket.me/valid_key.php' ) !== false ) { + return [ + 'response' => [ 'code' => 200, 'message' => 'ОК' ], + 'body' => json_encode( [ + 'success' => true, + 'data' => $consumer_data, + ] ) + ]; + } elseif ( strpos( $url, 'https://wp-rocket.me/stat/1.0/wp-rocket/user.php' ) !== false ) { + return [ + 'response' => [ 'code' => 200, 'message' => 'ОК' ], + 'body' => json_encode( [ + 'licence_account' => '-1', + 'licence_expiration' => 1893456000, + 'has_one-com_account' => false, + ] ) + ]; + } + return $pre; +}, 10, 3 ); + +// Rocket defines. +define( 'WP_ROCKET_VERSION', '3.15.3' ); +define( 'WP_ROCKET_WP_VERSION', '5.8' ); +define( 'WP_ROCKET_WP_VERSION_TESTED', '6.3.1' ); +define( 'WP_ROCKET_PHP_VERSION', '7.3' ); +define( 'WP_ROCKET_PRIVATE_KEY', false ); +define( 'WP_ROCKET_SLUG', 'wp_rocket_settings' ); +define( 'WP_ROCKET_WEB_MAIN', 'https://wp-rocket.me/' ); +define( 'WP_ROCKET_WEB_API', WP_ROCKET_WEB_MAIN . 'api/wp-rocket/' ); +define( 'WP_ROCKET_WEB_CHECK', WP_ROCKET_WEB_MAIN . 'check_update.php' ); +define( 'WP_ROCKET_WEB_VALID', WP_ROCKET_WEB_MAIN . 'valid_key.php' ); +define( 'WP_ROCKET_WEB_INFO', WP_ROCKET_WEB_MAIN . 'plugin_information.php' ); +define( 'WP_ROCKET_FILE', __FILE__ ); +define( 'WP_ROCKET_PATH', realpath( plugin_dir_path( WP_ROCKET_FILE ) ) . '/' ); +define( 'WP_ROCKET_INC_PATH', realpath( WP_ROCKET_PATH . 'inc/' ) . '/' ); + +require_once WP_ROCKET_INC_PATH . 'constants.php'; + +define( 'WP_ROCKET_DEPRECATED_PATH', realpath( WP_ROCKET_INC_PATH . 'deprecated/' ) . '/' ); +define( 'WP_ROCKET_FRONT_PATH', realpath( WP_ROCKET_INC_PATH . 'front/' ) . '/' ); +define( 'WP_ROCKET_ADMIN_PATH', realpath( WP_ROCKET_INC_PATH . 'admin' ) . '/' ); +define( 'WP_ROCKET_ADMIN_UI_PATH', realpath( WP_ROCKET_ADMIN_PATH . 'ui' ) . '/' ); +define( 'WP_ROCKET_ADMIN_UI_MODULES_PATH', realpath( WP_ROCKET_ADMIN_UI_PATH . 'modules' ) . '/' ); +define( 'WP_ROCKET_COMMON_PATH', realpath( WP_ROCKET_INC_PATH . 'common' ) . '/' ); +define( 'WP_ROCKET_FUNCTIONS_PATH', realpath( WP_ROCKET_INC_PATH . 'functions' ) . '/' ); +define( 'WP_ROCKET_VENDORS_PATH', realpath( WP_ROCKET_INC_PATH . 'vendors' ) . '/' ); +define( 'WP_ROCKET_3RD_PARTY_PATH', realpath( WP_ROCKET_INC_PATH . '3rd-party' ) . '/' ); +if ( ! defined( 'WP_ROCKET_CONFIG_PATH' ) ) { + define( 'WP_ROCKET_CONFIG_PATH', WP_CONTENT_DIR . '/wp-rocket-config/' ); +} +define( 'WP_ROCKET_URL', plugin_dir_url( WP_ROCKET_FILE ) ); +define( 'WP_ROCKET_INC_URL', WP_ROCKET_URL . 'inc/' ); +define( 'WP_ROCKET_ADMIN_URL', WP_ROCKET_INC_URL . 'admin/' ); +define( 'WP_ROCKET_ASSETS_URL', WP_ROCKET_URL . 'assets/' ); +define( 'WP_ROCKET_ASSETS_PATH', WP_ROCKET_PATH . 'assets/' ); +define( 'WP_ROCKET_ASSETS_JS_URL', WP_ROCKET_ASSETS_URL . 'js/' ); +define( 'WP_ROCKET_ASSETS_JS_PATH', WP_ROCKET_ASSETS_PATH . 'js/' ); +define( 'WP_ROCKET_ASSETS_CSS_URL', WP_ROCKET_ASSETS_URL . 'css/' ); +define( 'WP_ROCKET_ASSETS_IMG_URL', WP_ROCKET_ASSETS_URL . 'img/' ); + +if ( ! defined( 'WP_ROCKET_CACHE_ROOT_PATH' ) ) { + define( 'WP_ROCKET_CACHE_ROOT_PATH', WP_CONTENT_DIR . '/cache/' ); +} +define( 'WP_ROCKET_CACHE_PATH', WP_ROCKET_CACHE_ROOT_PATH . 'wp-rocket/' ); +define( 'WP_ROCKET_MINIFY_CACHE_PATH', WP_ROCKET_CACHE_ROOT_PATH . 'min/' ); +define( 'WP_ROCKET_CACHE_BUSTING_PATH', WP_ROCKET_CACHE_ROOT_PATH . 'busting/' ); +define( 'WP_ROCKET_CRITICAL_CSS_PATH', WP_ROCKET_CACHE_ROOT_PATH . 'critical-css/' ); + +define( 'WP_ROCKET_USED_CSS_PATH', WP_ROCKET_CACHE_ROOT_PATH . 'used-css/' ); + +if ( ! defined( 'WP_ROCKET_CACHE_ROOT_URL' ) ) { + define( 'WP_ROCKET_CACHE_ROOT_URL', WP_CONTENT_URL . '/cache/' ); +} +define( 'WP_ROCKET_CACHE_URL', WP_ROCKET_CACHE_ROOT_URL . 'wp-rocket/' ); +define( 'WP_ROCKET_MINIFY_CACHE_URL', WP_ROCKET_CACHE_ROOT_URL . 'min/' ); +define( 'WP_ROCKET_CACHE_BUSTING_URL', WP_ROCKET_CACHE_ROOT_URL . 'busting/' ); + +define( 'WP_ROCKET_USED_CSS_URL', WP_ROCKET_CACHE_ROOT_URL . 'used-css/' ); + +if ( ! defined( 'CHMOD_WP_ROCKET_CACHE_DIRS' ) ) { + define( 'CHMOD_WP_ROCKET_CACHE_DIRS', 0755 ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals +} +if ( ! defined( 'WP_ROCKET_LASTVERSION' ) ) { + define( 'WP_ROCKET_LASTVERSION', '3.14.4.2' ); +} + +/** + * We use is_readable() with @ silencing as WP_Filesystem() can use different methods to access the filesystem. + * + * This is more performant and more compatible. It allows us to work around file permissions and missing credentials. + */ +if ( @is_readable( WP_ROCKET_PATH . 'licence-data.php' ) ) { //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + @include WP_ROCKET_PATH . 'licence-data.php'; //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged +} + +require WP_ROCKET_INC_PATH . 'compat.php'; +require WP_ROCKET_INC_PATH . 'classes/class-wp-rocket-requirements-check.php'; + +/** + * Loads WP Rocket translations + * + * @since 3.0 + * @author Remy Perona + * + * @return void + */ +function rocket_load_textdomain() { + // Load translations from the languages directory. + $locale = get_locale(); + + // This filter is documented in /wp-includes/l10n.php. + $locale = apply_filters( 'plugin_locale', $locale, 'rocket' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals + load_textdomain( 'rocket', WP_LANG_DIR . '/plugins/wp-rocket-' . $locale . '.mo' ); + + load_plugin_textdomain( 'rocket', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); +} +add_action( 'plugins_loaded', 'rocket_load_textdomain' ); + +$wp_rocket_requirement_checks = new WP_Rocket_Requirements_Check( + [ + 'plugin_name' => 'WP Rocket', + 'plugin_file' => WP_ROCKET_FILE, + 'plugin_version' => WP_ROCKET_VERSION, + 'plugin_last_version' => WP_ROCKET_LASTVERSION, + 'wp_version' => WP_ROCKET_WP_VERSION, + 'php_version' => WP_ROCKET_PHP_VERSION, + ] +); + +if ( $wp_rocket_requirement_checks->check() ) { + require WP_ROCKET_INC_PATH . 'main.php'; +} + +unset( $wp_rocket_requirement_checks );
    +

    +
    +
    +

    + +
    + , %2$s =
    . + esc_html__( 'You need an %1$sactive license%2$s to keep optimizing your CSS delivery, which addresses a PageSpeed Insights recommendation and improves your page performance.', 'rocket' ), + '', + '' + ); + ?> +

    +

    +
    +
    + +
    +
    + +